Commit Graph

7339 Commits

Author SHA1 Message Date
Stevie Strickland
b991505297 Just tried the following program:
#lang typed-scheme

(require/typed
  srfi/1
  (fold (All (a b) ((a b -> b) b (Listof a) -> b))))

And got an error because (orig-module-stx) was #f.  I'm not sure whether
it should have been or not, but I've fixed up this to handle that case
(having it just use the normal error message when that's #f, as I'm not
sure whether the error message would be correct otherwise).

However, it might just be that (orig-module-stx) should have not been
#f, in which case this should be checked out.
2008-07-13 21:47:36 -04:00
Matthew Flatt
71a2648851 explain what a box is in the reference, and add cross references to the guide
svn: r10753
2008-07-14 00:05:37 +00:00
Matthew Flatt
7af044e2ce allow multiple uses of an .icns filein .filetypes
svn: r10752
2008-07-13 23:06:24 +00:00
Matthew Flatt
0f97bbcd9e improve regexp to see through certain groupings to pick a 'regmust' string to speed up match failures (PR 9602)
svn: r10750
2008-07-13 21:36:58 +00:00
Sam Tobin-Hochstadt
2456dcc18b Fix handling of mutable structs (setters != getters)
Allow use of #:mutable as define-typed-struct arg
Fix types of random andmap ormap
2008-07-13 17:31:58 -04:00
Stevie Strickland
4e7f527cb8 Put the beginnings of documentation here. 2008-07-13 16:50:05 -04:00
Stevie Strickland
d6f527a96f Starting to expand out the documentation in preparation of merging this
branch back to trunk.
2008-07-13 16:07:29 -04:00
Stevie Strickland
28bf6141b5 Add .scrbl files as DrScheme-handled files in OS X.
svn: r10746
2008-07-13 19:26:36 +00:00
Eli Barzilay
914a2b05f9 Welcome to a new PLT day.
svn: r10745
2008-07-13 17:13:55 +00:00
Eli Barzilay
4cd2614c21 scribble fixes -- nested @scheme and a few other similar problems
svn: r10744
2008-07-13 17:13:20 +00:00
Stevie Strickland
421df42d00 Switch these over to for/for*. Avoid the hash-copy calls as well, since
we either end up doing the traversal wholesale or throwing some of that
work away by removing items.
2008-07-13 12:14:15 -04:00
Matthew Flatt
e180452d8f adjust the way out.sxref is saved/loaded so that less is kept in memory across doc builds
svn: r10742
2008-07-13 15:51:31 +00:00
Eli Barzilay
5860cb892a fix problems in unbox doc (nested @scheme and shadowed box)
svn: r10740
2008-07-13 13:50:14 +00:00
Stevie Strickland
fdfc8d7b78 Add comment explaining what's going on here. 2008-07-13 06:14:23 -04:00
Stevie Strickland
e0bad1987d Was thinking of doing some cleanups here, but at the very least I can
get rid of this useless remove, since it's just going to overwrite it
anyway if we don't remove it first.
2008-07-13 06:12:06 -04:00
Stevie Strickland
05e54f0dfe I thought I checked this in, but apparently not! Oops. 2008-07-13 04:35:54 -04:00
Stevie Strickland
9f6427ac34 This makes the change mentioned in the log message for r10735 (the previous
revision). So what we'll get here is the following:

Dotted + Dotted = Dotted (from the first case)
Dotted + x      = x      (since x refers to a free use of the dotted var)
x      + Dotted = x      (same)

I think this is correct.
2008-07-12 22:33:04 -04:00
Stevie Strickland
f3eb315425 I'm not sure if this is correct, but this handles the cases where we're
instantiating dotted pre-types where the bound is _not_ free in the
pre-type base.  I checked in a test case for this, that's something like:

(inst (plambda: (a ...) [ys : (Number ... a -> Number)] (apply + ys))
      Integer Boolean String)
 =
(Number Number Number -> Number)

These changes introduce no extra test failures, and we really have to
account for the bound here, and really even if the variable _does_
appear free within the pre-type base, it shouldn't be counted as a
"regular" variable outside of that scope.

Actually, maybe Dotted should behave like Constant, where it just
propogates until there's a separate free use that we're merging with,
in which case we just treat it like the free use (which will
eventually get fix-bound applied to it anyway).  I think I'll make
that change next.
2008-07-12 22:30:00 -04:00
Stevie Strickland
9b289bea27 Actually, I want to be careful with this.
For example, we don't want the result type of the function to be free,
so it's more like:

G, D + {a}, S |- f : (t1 t2 -> t)
G, D, S |- t

(i.e. {a} not free in t)

Hmm.
2008-07-12 22:20:10 -04:00
Stevie Strickland
274814e6aa There's no reason we can't allow foldl on a rest arg, as long as the types
match up appropriately.  Let's do it!
2008-07-12 22:13:44 -04:00
Stevie Strickland
ab2360384f We have to be careful here -- for example, one of the test cases was failing
because the last thing in the instantiate was a function type, which is
a cons.  Look for a cons whose cdr is an identifier.
2008-07-12 22:11:23 -04:00
Eli Barzilay
bdb4f18b21 Welcome to a new PLT day.
svn: r10731
2008-07-13 01:29:42 +00:00
John Clements
e34d52fbfe fixed consistency
svn: r10730
2008-07-12 23:02:21 +00:00
Danny Yoo
47bed6d1e7 Added port name source to the input port returned by framework text's get-in-port; this addresses the bug of the source highlighting not showing when the source stx comes from interaction window.
svn: r10729
2008-07-12 22:46:47 +00:00
Mike Sperber
af71ab0e4f Synch with latest.
svn: r10728
2008-07-12 16:00:29 +00:00
Matthew Flatt
01691d9240 adjust the way framework and tools docs extract documentation
svn: r10727
2008-07-12 15:37:31 +00:00
Kathy Gray
c459978d86 Parser bug fix.
++ on fields and arrays bug fix.

svn: r10726
2008-07-12 14:29:23 +00:00
Matthew Flatt
eff5666a39 fix HTML rendering of a table at start of itemization
svn: r10725
2008-07-12 12:28:05 +00:00
Eli Barzilay
1a64ab3af4 Better layout for the capabilities doc
svn: r10724
2008-07-12 08:20:19 +00:00
Eli Barzilay
bf86c29bb7 fixed some latex leftovers, and convenient way to make headers and include-extracted
svn: r10723
2008-07-12 07:07:19 +00:00
Eli Barzilay
7c7bc0fd06 added a space after mathimpl/mathspec header, so it can be used independent of an empty line at the beginning
svn: r10722
2008-07-12 07:02:50 +00:00
Eli Barzilay
92440b68eb this file was not used, and was bogus (referred to the "big" collection)
svn: r10721
2008-07-12 02:06:53 +00:00
Eli Barzilay
5726d77d87 fix search box path when there is no PLT_Root cookie
svn: r10720
2008-07-11 20:39:18 +00:00
Eli Barzilay
fbb80f7389 Welcome to a new PLT day.
svn: r10718
2008-07-11 10:02:50 +00:00
Eli Barzilay
bb562f9ee4 * some fixes to make-search.ss
* rename search-context.html to .htm to avoid being deleted by
  setup/scribble
* added context to help/search interface

svn: r10717
2008-07-11 09:50:29 +00:00
Eli Barzilay
dc5211f363 improve status message clearing for input fields ("" is false in javascript)
svn: r10716
2008-07-11 08:48:53 +00:00
Eli Barzilay
f44a06a4da Added an `hq' argument for a pre-filter argument, parsed on a separate
page instead of in index.html, so that it can be removed from the url
to avoid resetting the cookie on every refresh.

svn: r10715
2008-07-11 08:40:11 +00:00
Eli Barzilay
d58b1ffdac Use a different strategy to decide when to insert/delete auto-text,
one that should play nicer with the metadata thing for the teaching
languages.

svn: r10714
2008-07-11 05:03:18 +00:00
Eli Barzilay
b19301e100 warning when collection paths are empty
svn: r10712
2008-07-10 20:28:18 +00:00
Eli Barzilay
23cf600c47 Welcome to a new PLT day.
svn: r10711
2008-07-10 18:59:13 +00:00
Robby Findler
6b9690da71 forgot to add this in the last commit
svn: r10709
2008-07-10 18:03:39 +00:00
Robby Findler
1858924c50 moved the tex-table.ss file somewhere accessible and documented it
svn: r10708
2008-07-10 17:21:00 +00:00
Matthew Flatt
de3b46aa5b refine fix of equal? on immutable hash tables and add a test
svn: r10707
2008-07-10 13:50:56 +00:00
Eli Barzilay
14cd61f353 fix prefiltering
svn: r10705
2008-07-10 07:12:40 +00:00
Eli Barzilay
eab91baa97 fix remv* and remq* types (PR9599)
svn: r10704
2008-07-10 07:02:25 +00:00
Matthias Felleisen
7d2dac6fd3 world comments
svn: r10702
2008-07-09 19:41:31 +00:00
Matthias Felleisen
e5a28ba411 svn: r10701 2008-07-09 17:51:05 +00:00
Stevie Strickland
63a4e5af2e This was incorrectly syntaxed.
svn: r10700
2008-07-09 17:39:31 +00:00
John Clements
63f0e97490 doc fix on equal? for hashes
svn: r10699
2008-07-09 17:02:14 +00:00
John Clements
78075fcd25 doc fix on equal? for hashes
svn: r10698
2008-07-09 16:59:12 +00:00
Matthew Flatt
a4cc0f7890 %-encoding extension in module paths; new r6rs library name encoding
svn: r10697
2008-07-09 15:41:38 +00:00
Robby Findler
2f22ed7c41 renamed the variable bound to the collection-paths list-box object
svn: r10696
2008-07-09 11:33:38 +00:00
Robby Findler
f65e0ffeb1 added a separate debugger callback, instead of overriding execute-callback
svn: r10695
2008-07-09 11:30:26 +00:00
Eli Barzilay
e957b25ff1 Welcome to a new PLT day.
svn: r10694
2008-07-09 11:17:59 +00:00
Robby Findler
21b29aca17 use a preference to remember the sorting order for the define popup
svn: r10693
2008-07-09 11:14:52 +00:00
Eli Barzilay
d443abe50d documented on-click-always
svn: r10692
2008-07-09 09:52:20 +00:00
Eli Barzilay
a71a5bcf45 Make categories in the language dialog expand/collapse on a single
click, requires extending hierlists with `on-click-always'

svn: r10691
2008-07-09 09:47:24 +00:00
Eli Barzilay
91fb6ffce0 move sandbox-coverage to scheme/private
svn: r10690
2008-07-09 07:20:51 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Eli Barzilay
1b525f60cc Welcome to a new PLT day.
svn: r10688
2008-07-09 02:30:05 +00:00
Eli Barzilay
afad5af486 * Added a `teachpack' function to do teachpack titles
* Made it add "foo teachpack" as an index entry

svn: r10687
2008-07-09 02:28:20 +00:00
Matthew Flatt
4df95e9da7 fix unwrap for an uncaught non-&serious condition
svn: r10686
2008-07-09 01:24:32 +00:00
Matthew Flatt
9af966f378 apply (a variant of) Derick Eddington's patch to simulate an initial R6RS exception handler that returns for non-&serious conditions
svn: r10685
2008-07-09 01:17:25 +00:00
Chongkai Zhu
0536cbf54a svn: r10682 2008-07-08 17:33:00 +00:00
Eli Barzilay
970f768309 improved navset padding
svn: r10681
2008-07-08 16:15:05 +00:00
Eli Barzilay
94748ff8f8 removed unused commented-out code
svn: r10680
2008-07-08 16:06:48 +00:00
Eli Barzilay
4f76d0d589 hint when there are no results
svn: r10679
2008-07-08 15:56:19 +00:00
Eli Barzilay
5f30464c0e toc links fix
svn: r10678
2008-07-08 15:32:47 +00:00
Matthew Flatt
d406fb6dcf improved and documented new stack-registration trampoline
svn: r10677
2008-07-08 15:31:06 +00:00
Eli Barzilay
c127e5fdb7 missing space
svn: r10676
2008-07-08 15:21:56 +00:00
Eli Barzilay
c408a4d773 added some index entries
svn: r10675
2008-07-08 15:19:31 +00:00
Matthew Flatt
bdbcd1a56c doc corrections/clarifications for 'when' and 'lambda'
svn: r10674
2008-07-08 14:55:06 +00:00
Robby Findler
8de7171a37 overrides on-new-image-snip to create images with masks, by default
svn: r10672
2008-07-08 02:58:50 +00:00
Sam Tobin-Hochstadt
eed2c37495 Need to do the same for regular Poly as well. 2008-07-07 19:33:08 -04:00
Sam Tobin-Hochstadt
b835002d72 Finally found a nasty bug involving variables not appearing in the hash table. 2008-07-07 19:21:42 -04:00
Sam Tobin-Hochstadt
6a607be6a9 If there are extra effects, let them be. 2008-07-07 17:15:43 -04:00
Sam Tobin-Hochstadt
717a812835 Add new test for force/delay.
Fix tests that have errors to have appropriate parameters.
2008-07-07 17:15:10 -04:00
Sam Tobin-Hochstadt
8599321b57 Add check that effect lists have same length. 2008-07-07 17:04:09 -04:00
Sam Tobin-Hochstadt
f9c91d6b8a Constraining with bottom produces trivial constraints, not missing constraints. 2008-07-07 16:54:46 -04:00
Sam Tobin-Hochstadt
589ba9d77a Add require of scheme/promise for force.
Handle call-with-values more appropriately.
2008-07-07 16:43:12 -04:00
Sam Tobin-Hochstadt
4758c0b14d Better check for 'is this error from a macro' 2008-07-07 15:54:19 -04:00
Sam Tobin-Hochstadt
f2699abe65 Int is not a type 2008-07-07 15:36:45 -04:00
Sam Tobin-Hochstadt
2de55888f1 handle nested polymorphic types in the expected type of a lambda 2008-07-07 15:36:33 -04:00
Sam Tobin-Hochstadt
acd6664c52 Fix call with correct # of args. 2008-07-07 15:24:09 -04:00
Sam Tobin-Hochstadt
41c9a2eaf1 Fix exn-pred handling. 2008-07-07 15:19:50 -04:00
Sam Tobin-Hochstadt
477cba1b0b More failure tests. 2008-07-07 15:06:21 -04:00
Sam Tobin-Hochstadt
17dec0046f Remove debugging code. 2008-07-07 15:05:51 -04:00
Sam Tobin-Hochstadt
807336e262 Actually check that lengths are equal. 2008-07-07 15:03:23 -04:00
Sam Tobin-Hochstadt
2844dec0a1 make-Values now checks its argument for having only 1 element 2008-07-07 14:58:22 -04:00
Sam Tobin-Hochstadt
d0939ffa1e Fix up singleton values 2008-07-07 14:49:46 -04:00
Sam Tobin-Hochstadt
88cbe63879 Add failure cases. 2008-07-07 14:49:19 -04:00
Sam Tobin-Hochstadt
044bd551b0 stevie is magic 2008-07-07 14:39:10 -04:00
Sam Tobin-Hochstadt
61cefef89c More info in internal errors.
Fix substitution in nested ... case.
2008-07-07 14:25:15 -04:00
Sam Tobin-Hochstadt
3cd8878999 This shouldn't be here :p 2008-07-07 13:13:32 -04:00
Sam Tobin-Hochstadt
2714b3a84a Since this is now in a different loc, need to fix up the require. 2008-07-07 12:56:19 -04:00
Sam Tobin-Hochstadt
3dbf0f7ccc Adding Sam's test for value dots. 2008-07-07 12:54:45 -04:00
Sam Tobin-Hochstadt
e06a22c29b remove trace 2008-07-07 12:27:08 -04:00
Sam Tobin-Hochstadt
c43c3baa67 values with dots 2008-07-07 11:01:42 -04:00
Eli Barzilay
6756f05048 Welcome to a new PLT day.
svn: r10641
2008-07-07 07:26:17 +00:00
Eli Barzilay
9f31b56f4d fix egg
svn: r10640
2008-07-07 03:24:28 +00:00
Robby Findler
6d3ab9487f adjusted keybindings
svn: r10639
2008-07-07 03:12:43 +00:00
Robby Findler
e090a76187 SK requested popup menu on images to save them
svn: r10637
2008-07-07 02:53:09 +00:00
Robby Findler
d313fd72c3 fixed a bug SK reported -- when saving locked files in the teaching language, the metadata wouldnt be inserted properly
svn: r10635
2008-07-06 23:32:14 +00:00
Danny Yoo
7816a6899c Added logic to treat embedded editors differently when computing tail call arrow positions in Check Syntax.
svn: r10634
2008-07-06 21:47:54 +00:00
Eli Barzilay
d837a0e74c Welcome to a new PLT day.
svn: r10632
2008-07-06 15:58:23 +00:00
Eli Barzilay
9c4d41fb63 better vertical placement of search box
svn: r10631
2008-07-06 14:58:20 +00:00
Eli Barzilay
9629528865 Search box has same font size as the rest of the navset, and is wider.
svn: r10629
2008-07-06 05:10:52 +00:00
Eli Barzilay
45b2141fa2 * Removed contents' and index' links
* Don't show `top' link when there is none (fine now since the above
  are gone)
* Don't show right side of navbar when there are no links in it (which
  is only at the start page)

svn: r10628
2008-07-06 05:00:26 +00:00
Eli Barzilay
f4342ce47c try a different pair of characters for expanded/collapsed toc entries
svn: r10626
2008-07-06 02:55:22 +00:00
Eli Barzilay
b0ca57de3d Welcome to a new PLT day.
svn: r10624
2008-07-05 18:54:07 +00:00
Robby Findler
673101b416 lined up args properly
svn: r10623
2008-07-05 18:43:22 +00:00
Robby Findler
84600d6b99 improved docs for overlay/xy a little
svn: r10622
2008-07-05 18:42:16 +00:00
Greg Cooper
5f581afc58 add frtime/reactive language and define-reactive construct
svn: r10620
2008-07-05 15:37:04 +00:00
Robby Findler
70595ea13a fixed up rectangle, circle, and ellipse contracts
svn: r10619
2008-07-05 15:32:08 +00:00
Robby Findler
46106fb921 Probably PR 9294
svn: r10618
2008-07-05 14:17:56 +00:00
Robby Findler
6dcc576ce7 PR 9435
svn: r10617
2008-07-05 14:08:38 +00:00
Robby Findler
f830e4bc57 changed the name of the memory limit preference so people who've used v372 get a limit by default
svn: r10616
2008-07-05 13:51:20 +00:00
Eli Barzilay
4952fa6db9 simplified hopeless-exception raising
svn: r10615
2008-07-05 04:51:15 +00:00
Robby Findler
df2b02ed94 svn: r10611 2008-07-05 02:36:12 +00:00
Robby Findler
7be05fcf8b added zero size rectangles, ellipses, circles, and strings
svn: r10610
2008-07-05 01:58:36 +00:00
Eli Barzilay
39f14130e9 Welcome to a new PLT day.
svn: r10609
2008-07-05 01:54:29 +00:00
Robby Findler
8acf5f7bed added control-j
svn: r10608
2008-07-05 01:52:15 +00:00
Eli Barzilay
601a590aa5 new toc in manual pages
svn: r10606
2008-07-05 01:50:18 +00:00
Robby Findler
f4e0398c1e added a capability to enable language-specific customization of the indenter
svn: r10604
2008-07-04 21:22:39 +00:00
Robby Findler
4993e26b0a PR 9442
svn: r10603
2008-07-04 20:22:33 +00:00
Robby Findler
6117dc413f fixed race condition
svn: r10602
2008-07-04 19:33:14 +00:00
Robby Findler
489f1e732e changed linux shortcut to control-shit-z as well
svn: r10600
2008-07-04 16:54:43 +00:00
Robby Findler
c7e2c34b81 added support for specifying the modifier prefix to the standard menus class and then used it for cmd-shift-z in the redo menu (on the mac)
svn: r10599
2008-07-04 15:59:44 +00:00
Kathy Gray
6d2e46fcff More checkEffect support
svn: r10598
2008-07-04 15:56:27 +00:00
Matthias Felleisen
55f6eddfea added key-event, ke
svn: r10597
2008-07-04 14:26:19 +00:00
Matthias Felleisen
5030202099 docs for keyevent
svn: r10596
2008-07-04 14:25:28 +00:00
Kathy Gray
1e30f69c6c More checkEffect support
svn: r10595
2008-07-04 13:00:03 +00:00
Robby Findler
31407bea69 found some unchecked in changes to the cdb source and ported them
svn: r10594
2008-07-04 11:45:29 +00:00
Eli Barzilay
a32e251f97 improve title link in tocset (use tocviewselflink for the title too)
svn: r10593
2008-07-04 01:55:03 +00:00
Eli Barzilay
9700671534 avoid genarating toc-content if not needed
svn: r10592
2008-07-04 01:04:18 +00:00
Eli Barzilay
da13b5f398 Change two local definitions from local functions to private methods.
For anyone who follows these commit messages, if now try drscheme you
should notice both memory and speed improvements: it will now use 8
bytes less per window (on a 64 bit machine), and each initialization
should be aroun 60 nanoseconds faster!

svn: r10591
2008-07-04 00:45:46 +00:00
Eli Barzilay
dca304097b Welcome to a new PLT day.
svn: r10590
2008-07-03 22:24:10 +00:00
Eli Barzilay
f7d01b346c typoe (pr9575)
svn: r10583
2008-07-03 19:25:55 +00:00
Danny Yoo
843ad2b39a Highlighting regions in Check Syntax now remember which text to apply it to; behaves better with embedded editors.
svn: r10582
2008-07-03 17:37:42 +00:00
Danny Yoo
8e663a23f4 Fixing tail errors from embedded editors in Check Syntax.
svn: r10581
2008-07-03 17:30:06 +00:00
Danny Yoo
ee8f0b410f Removing source-editor-cache from Check Syntax, since text:lookup-port-name should be sufficient.
svn: r10580
2008-07-03 17:30:01 +00:00
Stevie Strickland
1aaa6995a1 Try to handle type errors in non-original syntax a bit better. 2008-07-03 12:03:18 -04:00
Chongkai Zhu
d25e834f2c uniform prefix
svn: r10578
2008-07-03 15:39:06 +00:00
Eli Barzilay
9a737ade30 minor
svn: r10577
2008-07-03 10:30:54 +00:00
Eli Barzilay
7a98aa8db2 fix empty searchbox label, again
svn: r10576
2008-07-03 09:07:48 +00:00
Eli Barzilay
3a39b112c9 add numbers to navigation link tooltips
svn: r10575
2008-07-03 08:39:55 +00:00
Eli Barzilay
12d4b12d91 make the code match the html
svn: r10574
2008-07-03 08:32:47 +00:00
Eli Barzilay
3a18f5b9a2 * always have a navbar, even at the start page
* add a "top" link to the navbar
* move search box to the left

svn: r10573
2008-07-03 07:05:20 +00:00
Eli Barzilay
d2c666f1e7 More visually noticeable navigation bar
svn: r10572
2008-07-03 05:27:01 +00:00
Robby Findler
5e0280bba4 fixed PR 9571
svn: r10571
2008-07-03 02:59:16 +00:00
Eli Barzilay
3aa1a16fa8 when there is no rep (eg, only one scheme box) just raise the error
svn: r10570
2008-07-03 01:41:04 +00:00
Eli Barzilay
ecfc0cd104 fix misuse of _
svn: r10569
2008-07-03 00:49:52 +00:00
Matthew Flatt
ec12a7f459 fix pretty-print hash table test
svn: r10568
2008-07-03 00:33:05 +00:00
Robby Findler
170788f332 fixed a few v4.0 isms
svn: r10565
2008-07-02 20:31:40 +00:00
Eli Barzilay
ed8dcade51 Welcome to a new PLT day.
svn: r10564
2008-07-02 20:06:08 +00:00
Stevie Strickland
10767bacaf Strike my last commit -- we just want a way of running slatex without
running latex afterwards.

svn: r10563
2008-07-02 19:54:14 +00:00
Danny Yoo
cc362de329 Added defensive checks for rep; no rep available when exception occurs at Check Syntax.
svn: r10562
2008-07-02 18:20:58 +00:00
Danny Yoo
e4c0c9b3b9 Added defensive checks for rep; no rep available when exception occurs at Check Syntax.
svn: r10561
2008-07-02 18:15:46 +00:00
Kathy Gray
af6f4f561b checkEffect support
svn: r10560
2008-07-02 16:57:57 +00:00
Stevie Strickland
17cd54a1ad * latex can take in tex commands (including '\nonstopmode', which is
useful), so do some... very bare-bones parsing of such so that
   we don't error if \nonstopmode + \input{foo} is used.
 * Have pdf-latex return a non-zero code to the shell if it fails
   instead of always returning 0.

svn: r10559
2008-07-02 16:57:43 +00:00
Eli Barzilay
f3559964fb Added split-at' and split-at-right', with documentation and tests,
and made srfi/1 use it.

svn: r10558
2008-07-02 13:12:26 +00:00
Matthew Flatt
0de2c454f3 fix errortrace on set! expressions (incorrectly incremented phase in recur)
svn: r10557
2008-07-02 12:53:01 +00:00
Eli Barzilay
f820f00e66 part of the previous commit (rev10555)
svn: r10556
2008-07-02 10:05:19 +00:00
Eli Barzilay
1002366103 * Implemented drop' instead of a synonym for list-tail' (so error
messages are better; speed should be comparable)
* added `take-right' and `drop-right' to scheme/list, with tests and
  documentation
* also, minor documentation bug (wrong result type for `drop' can
  return `any/c')
* drop the implementation of them from srfi/1, reprovide the
  scheme/list versions

svn: r10555
2008-07-02 10:04:57 +00:00
Eli Barzilay
f787d68b71 some interaction improvements, PR9564
svn: r10554
2008-07-02 06:48:14 +00:00
Eli Barzilay
f539581ebc typo (PR9569)
svn: r10553
2008-07-02 06:15:24 +00:00
Matthew Flatt
6cbd467e17 expand pretty-print tests (PR 9567)
svn: r10552
2008-07-02 01:45:09 +00:00
Matthew Flatt
a1c1c7e6df fix free_history_entry default
svn: r10551
2008-07-02 01:40:50 +00:00
Matthew Flatt
f3b142367d fix pretty-print bugs introduced with support for mpairs
svn: r10548
2008-07-02 00:14:35 +00:00
Eli Barzilay
8881cd9cee Welcome to a new PLT day.
svn: r10547
2008-07-01 20:49:43 +00:00
Sam Tobin-Hochstadt
c9e8f6d6f6 Refactoring. 2008-07-01 16:44:49 -04:00
Eli Barzilay
9ade6a1a06 drop prefix from srfi/48, keep it on srfi/48/format
svn: r10544
2008-07-01 20:20:47 +00:00
Eli Barzilay
1685a49f58 clarifying comment
svn: r10543
2008-07-01 19:18:13 +00:00
Eli Barzilay
b097856a72 use the module name resolver to check if the language is valid
svn: r10542
2008-07-01 19:04:00 +00:00
Eli Barzilay
bf2fe2f64c Added the auto-text feature to the module language
svn: r10541
2008-07-01 18:53:50 +00:00
Eli Barzilay
0c5f2745b5 contract line
svn: r10540
2008-07-01 18:50:12 +00:00
Stevie Strickland
b90e1505d3 Example of nested polydots. 2008-07-01 14:43:44 -04:00
Eli Barzilay
37b4cfde7a * output-style in horizontal layout
* case-sensitive can be given as a keyword arrrgument to drop it from
  the panel

svn: r10537
2008-07-01 18:30:54 +00:00
Sam Tobin-Hochstadt
4578b926c0 Add file for carl. 2008-07-01 11:58:28 -04:00
Sam Tobin-Hochstadt
bbae111229 Extra require.
Compile files first.
2008-07-01 11:27:05 -04:00
Robby Findler
6e2022b4c2 added note to say when on-execute is called
svn: r10531
2008-07-01 11:22:55 +00:00
Eli Barzilay
198bc92df2 use free() when there is no free_history_entry
svn: r10530
2008-07-01 11:03:21 +00:00
Danny Yoo
72cca8c136 Fix for PR 9555.
svn: r10517
2008-06-30 08:25:05 +00:00
Eli Barzilay
f16dd8a70f Welcome to a new PLT day.
svn: r10516
2008-06-30 07:42:55 +00:00
Eli Barzilay
aa9cc758fc go back to using insert-before no-user-evaluation-message and related changes
svn: r10515
2008-06-30 07:42:17 +00:00
Eli Barzilay
f5969e0e65 typo in normalizing spaces
svn: r10514
2008-06-30 03:51:19 +00:00
Eli Barzilay
fb027536f4 a little more readable code layout
svn: r10513
2008-06-30 01:48:23 +00:00
Eli Barzilay
ad563ad56d insert-warning always inserts at the end now
svn: r10512
2008-06-30 01:31:55 +00:00
Eli Barzilay
be1097cb20 Add warning text if the repl dies
svn: r10511
2008-06-29 23:42:09 +00:00
Eli Barzilay
9a900b37aa Optional prefix message to exception, so we dont lose information from
exceptions.  For example, in (module foo scheme/lang ...) we should
still see the real error message.

svn: r10510
2008-06-29 22:54:51 +00:00
Danny Yoo
f2fdb531a6 Typo
svn: r10509
2008-06-29 22:42:00 +00:00
Eli Barzilay
e3371b98fd * Catch errors in reading the module text and raise them as hopeless
too.
* Use `error-display-handler' instead of `let/ec' hack
* Expand the module expression, and if there's an error, try a bare
  language-only module so the repl is still working (but no
  definitions, of course)

svn: r10508
2008-06-29 22:41:15 +00:00
Matthew Flatt
3900f3b714 another errortrace doc correction
svn: r10507
2008-06-29 20:24:22 +00:00
Matthew Flatt
f08063e7b2 errortrace doc corrections
svn: r10506
2008-06-29 20:18:30 +00:00
Eli Barzilay
c3fae01528 show warning text, transform-module reorganization for hacking language
svn: r10505
2008-06-29 20:09:56 +00:00
Eli Barzilay
443a6fe233 make insert-warning public, work when the interactions are locked
svn: r10504
2008-06-29 20:00:04 +00:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Eli Barzilay
f4d5f5c085 * Moved (thread-cell-set! hopeless-repl #f) to a better place --
later, after we do some more checks
* Add a clarification comment re minor-hack needed.

svn: r10502
2008-06-29 05:07:44 +00:00
Eli Barzilay
32cb7bcdfc * Single function for syntax errors, used in all places for uniformity
* Improved some error messages and detection
* When this function is used, it also kills the repl.

svn: r10501
2008-06-29 05:00:08 +00:00
Eli Barzilay
105091bcd4 clarify reason for second (lock #t) call
svn: r10500
2008-06-29 03:37:37 +00:00
Eli Barzilay
9699450d99 very minor
svn: r10499
2008-06-29 03:08:27 +00:00
Eli Barzilay
8e7984834c * Added `set-show-no-user-evaluation-message?' to be able to avoid the
message popup
* Added a (lock #t) after the thread is detected as dead

svn: r10498
2008-06-29 02:59:36 +00:00
Eli Barzilay
85dd9b0e31 typo
svn: r10497
2008-06-29 02:52:18 +00:00
Danny Yoo
8024601262 Correcting arguments passed to open-input-text-editor.
svn: r10496
2008-06-29 01:43:50 +00:00
Danny Yoo
0e42c65d3b Adjusted xml and scheme boxes to pass in port-name as syntax source.
svn: r10495
2008-06-28 23:33:44 +00:00
Danny Yoo
a506cefeac Added text:get-port-name to framework, and used text:lookup-port-name to get at the editor in DrScheme error highlighting.
svn: r10494
2008-06-28 23:33:39 +00:00
Eli Barzilay
dcced09987 removed unused field
svn: r10493
2008-06-28 19:05:45 +00:00
Eli Barzilay
db582b778c typo in comment
svn: r10492
2008-06-28 18:39:06 +00:00
Eli Barzilay
b535037d2a use append-map
svn: r10491
2008-06-28 17:08:53 +00:00
Eli Barzilay
4f10870042 * Tweaking the search box to look a little better
* Made up/prev/next links have tooltips with targets

svn: r10490
2008-06-28 16:21:35 +00:00
Eli Barzilay
e7339d7415 shorted delays in bg search
svn: r10489
2008-06-28 12:57:11 +00:00
Eli Barzilay
8fb7e764c7 setup' and compile' skip a subdirectory if it's called "doc". This
doesn't work for scribble/doc, which is a directory with code.  So
change the check to skip "doc" only if it's in the main plt collects
tree.

svn: r10488
2008-06-28 09:32:12 +00:00
Eli Barzilay
7fa06be28d Welcome to a new PLT day.
svn: r10487
2008-06-28 05:36:40 +00:00
Eli Barzilay
f5253f5e74 added a tooltip to the search box
svn: r10486
2008-06-28 05:35:02 +00:00
Eli Barzilay
ee0632bbba * Searching happens now in the background so you can continue typing
* Searching for words in the term too
* Added clarifying tooltips for "provided from" and "in" links

svn: r10485
2008-06-28 04:32:53 +00:00
Matthew Flatt
607c65fe4c doc fixes for transplant-input-port & related
svn: r10484
2008-06-28 02:47:11 +00:00
Robby Findler
c4be4bd7a5 added note about unsupplied-arg
svn: r10483
2008-06-27 22:27:31 +00:00
Matthew Flatt
69b4ffc7c0 fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed
svn: r10482
2008-06-27 22:07:28 +00:00
Matthew Flatt
009aabf8e1 pretty-print doc corrections and clarifications
svn: r10481
2008-06-27 20:20:52 +00:00
Danny Yoo
1e1cb4d843 Revert r10469.
svn: r10480
2008-06-27 19:33:04 +00:00
Matthew Flatt
9707770ace fix phase problem in 'make-namespace' form 'mzscheme'
svn: r10478
2008-06-27 18:36:31 +00:00
Carl Eastlund
e03b419c10 Fixed documentation for make-keyword-procedure: default for plain-proc uses apply, not keyword-apply.
svn: r10477
2008-06-27 14:10:36 +00:00
Robby Findler
659ce64b11 PR 9545
svn: r10476
2008-06-27 12:11:39 +00:00
Eli Barzilay
61b77ec68a Welcome to a new PLT day.
svn: r10475
2008-06-27 06:21:19 +00:00
Danny Yoo
18701cf399 Reverting most of r10468.
svn: r10474
2008-06-27 05:20:28 +00:00
Eli Barzilay
e80141cc3d minor
svn: r10473
2008-06-27 04:46:24 +00:00
Eli Barzilay
8383a541f7 removed commented class code completely: it leads to dependency cycles
svn: r10472
2008-06-27 04:20:38 +00:00
Eli Barzilay
f283f97493 refix indentation, disable scheme/class loading
svn: r10471
2008-06-27 04:10:39 +00:00
Danny Yoo
e16ba1b779 Adjusted the module-reader to handler editor objects as object-names of ports.
svn: r10470
2008-06-27 03:26:44 +00:00
Danny Yoo
ca7188be1e Removed hack in scheme box's read-special. This fixes error highlighting under Check Syntax for embedded scheme boxes.
svn: r10469
2008-06-27 00:05:47 +00:00
Danny Yoo
072ea01f22 Maintaining text% as syntax source, so that check-syntax on an unsaved file will highlight errors correctly.
svn: r10468
2008-06-26 23:48:44 +00:00
Danny Yoo
3010e765ae Refactored helper methods into embedded-snip-utils.ss
svn: r10467
2008-06-26 21:33:42 +00:00
Danny Yoo
259b6fb87c Added defensive check for get-admin in get-enclosing-editor-frame.
svn: r10466
2008-06-26 21:12:15 +00:00
Eli Barzilay
7881ad2807 Welcome to a new PLT day.
svn: r10464
2008-06-26 20:34:06 +00:00
Danny Yoo
6624bc1dea Recommitting fix to showing error highlighting on embeded snips.
svn: r10463
2008-06-26 20:22:16 +00:00
Danny Yoo
4f56c1169b Revert "Fixed error highlighting in embedded snips."; lingering bugs
on get-canvas.

This reverts commit a12d0704e7a10e73988db57ad0e8a3d39998663e.

svn: r10462
2008-06-26 20:17:12 +00:00
Danny Yoo
448495aa0e Fixed error highlighting in embedded snips.
svn: r10461
2008-06-26 20:12:35 +00:00
Matthew Flatt
ff888bda2a fix splicing 'begin' in R5RS (PR 9548)
svn: r10458
2008-06-26 14:49:20 +00:00
Matthew Flatt
e62bb306fa fix R6RS string->number (PR 9546), document non-conformace of initial handler (PR 9547)
svn: r10457
2008-06-26 13:13:10 +00:00
Eli Barzilay
1f485c3dd8 Welcome to a new PLT day.
svn: r10456
2008-06-26 01:12:30 +00:00
Matthew Flatt
4525e63050 Add %%DocumentFonts to PS output
svn: r10453
2008-06-25 21:10:46 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Robby Findler
2528523a1f started a test suite, PR 9545
svn: r10451
2008-06-25 14:31:02 +00:00
Matthew Flatt
17ab6f6345 header-spacign refinements from Noel
svn: r10450
2008-06-25 13:02:49 +00:00
Kathy Gray
00615e98aa Turning on stm; supporting checkEffect form.
svn: r10449
2008-06-25 12:47:45 +00:00
Sam Tobin-Hochstadt
15eb016e25 Fix PR 9540
svn: r10448
2008-06-24 23:52:16 +00:00
Robby Findler
0b35fc7406 added smiley and frownie
svn: r10447
2008-06-24 22:00:15 +00:00
Eli Barzilay
4f880a99c4 darken techlink underlines a little
svn: r10446
2008-06-24 19:15:23 +00:00
Eli Barzilay
44cee570a7 minor tweaks
svn: r10445
2008-06-24 18:43:51 +00:00
Eli Barzilay
a23c84175c fix techlinks again
svn: r10444
2008-06-24 18:42:05 +00:00