Commit Graph

7194 Commits

Author SHA1 Message Date
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
Eli Barzilay
b33cd21717 avoid using ">" in css -- so it works on IE too
svn: r10443
2008-06-24 18:17:37 +00:00
Sam Tobin-Hochstadt
97c5444b88 Check number of type errors. 2008-06-24 14:05:24 -04:00
Eli Barzilay
a1a53524c0 no arguments => start page
svn: r10441
2008-06-24 17:35:10 +00:00
Sam Tobin-Hochstadt
12b7c6c459 Fix handling of dotted <: starred hard case 2008-06-24 11:43:30 -04:00
Sam Tobin-Hochstadt
d7cf0a10c0 new test 2008-06-24 11:43:06 -04:00
Matthew Flatt
0e69bbc893 update latex styles for new tech links
svn: r10437
2008-06-24 15:16:47 +00:00
Matthew Flatt
80505abf29 render tech links as gray underline, turn blue on hover
svn: r10436
2008-06-24 15:12:45 +00:00
Matthew Flatt
bad978a277 make techlink blue
svn: r10435
2008-06-24 11:49:42 +00:00
Eli Barzilay
7febe63ce9 * Fix compiled and dep files path
* Comment out dep file since it's not used
* Fix checking of the `compile?' argument
* Print a "recompiling" message and a warning the file is not found

svn: r10434
2008-06-24 01:25:46 +00:00
Danny Yoo
d6ee81feba Making separate find-syntax-source-editor file.
svn: r10432
2008-06-23 22:15:35 +00:00
Danny Yoo
6965dfd86c Got internal error highlighting when exception source is in embedded editor.
svn: r10431
2008-06-23 22:15:22 +00:00
Matthew Flatt
6f8dbf0ec5 make tech links gray; fix-ups in reference manual
svn: r10430
2008-06-23 21:03:10 +00:00
Matthias Felleisen
fb517e049e doc bug, right instead of left
svn: r10429
2008-06-23 21:01:07 +00:00
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Danny Yoo
9431017d18 Generalized click-forwarding-editor to work on text%s as well as pasteboards%
svn: r10427
2008-06-23 18:22:03 +00:00
Eli Barzilay
3fdde8a603 Welcome to a new PLT day.
svn: r10426
2008-06-23 14:59:52 +00:00
Eli Barzilay
648286fa52 more numbers
svn: r10425
2008-06-23 14:58:10 +00:00
Eli Barzilay
04b97ff977 Make promise.ss use #%kernel directly -- this way mzscheme does not
depend on scheme/base.

svn: r10424
2008-06-23 14:32:27 +00:00
Eli Barzilay
3619ab2062 * USe a thunk for caught values, not just the exception value, since
(as Mathew notes as a bug) any value can be raised
*  Actually use an applicable struct, so we can printout something
   sensible.  The current printout is:
     #<promise!exn!...exn-message...> for exceptions
     #<promise!(raise val)> for other values

svn: r10423
2008-06-23 13:57:18 +00:00
Matthew Flatt
b1c561f917 free_history_entry not available in OS X libreadline
svn: r10422
2008-06-23 13:31:15 +00:00
Matthew Flatt
c8509c8390 fix typo
svn: r10421
2008-06-23 12:40:45 +00:00
Eli Barzilay
f032880256 seven... I counted them.
svn: r10420
2008-06-23 07:05:06 +00:00
Eli Barzilay
1ffd3f5ba0 type (PR9535)
svn: r10419
2008-06-23 06:42:43 +00:00
Eli Barzilay
24f54b8dcc document lazy restriction, try to improve description a little.
svn: r10418
2008-06-23 04:36:05 +00:00
Eli Barzilay
b7839a4ec3 removed redundant syntax hack
svn: r10417
2008-06-23 04:33:25 +00:00
Eli Barzilay
945dc376d2 * Removed `with-handlers*' that was causing a problem in some long
nested streams example (from Jos Koot).
* Replaced with `call-with-exception-handler' which is (intentionally)
  not tail-recursive, but it seems to work fine now.
* The `lazy' form is restricted to single-valued expressions only.

svn: r10416
2008-06-23 04:07:12 +00:00
Eli Barzilay
3e0de8592d * Now removing all duplicates by default, not only consecutive ones
* Use multi-line history elements when a multi-line expression is entered

svn: r10415
2008-06-23 04:04:40 +00:00
Eli Barzilay
4ca2fb8c00 removed latex-induced-typos
svn: r10414
2008-06-23 04:03:18 +00:00
Eli Barzilay
36d9dfc816 Welcome to a new PLT day.
svn: r10411
2008-06-22 21:07:16 +00:00
Stevie Strickland
e4a0dc82b3 Let's also try out the abstracted version of this function. 2008-06-21 21:09:03 -04:00
Eli Barzilay
d4b93a22f3 Welcome to a new PLT day.
svn: r10409
2008-06-22 00:24:14 +00:00
Robby Findler
4f06b9e5da fixed PR 9515
svn: r10408
2008-06-21 14:54:52 +00:00
Robby Findler
a367e81f3a removed some latexisms
svn: r10407
2008-06-21 14:44:47 +00:00
Matthew Flatt
8b68ced640 slight clarification on 'with-handlers*'
svn: r10406
2008-06-21 13:13:45 +00:00
Stevie Strickland
705685af8b Add stuff that isn't useful yet, but might be useful for a lattice for future
work.
2008-06-20 20:03:56 -04:00
Stevie Strickland
48961eb551 Remove the bits and pieces used to diagnose the original file, and add the
non-outer-apply versions (that have no reason not to work).
2008-06-20 17:50:15 -04:00
Stevie Strickland
6a8b7e2e14 We should infer on the dotted var also, for the case where the underlying
function's type and/or the arguments to said function use it.
2008-06-20 17:49:43 -04:00
Stevie Strickland
a6ea8d7954 Revert last change. 2008-06-20 15:47:56 -04:00
Stevie Strickland
ce58c4c676 Revert last change. 2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
b2edd9d197 Remove no-longer-needed inst. 2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
0366745cbf Use the X from cgen/list to create the empty cmap.
This allows (vector) to have type (Vectorof (U))
2008-06-20 15:27:46 -04:00
Sam Tobin-Hochstadt
b57519d398 Be AR about order of arguments to cgen* (cgen/list took X V, not V X) 2008-06-20 14:52:53 -04:00
Sam Tobin-Hochstadt
a6cd9ea2cd * Fixed calls to infer that didn't give must-vars argument
* Fixed promote/demote so they check the dotted bound, not free vars of type
 * Stopped promote/demote from promoting/demoting away dotted bound
 * Stopped promotion/demotion of dotted bound in cgen/arr
 * Improved debug macro
2008-06-20 14:48:47 -04:00
Sam Tobin-Hochstadt
89cb3a4b09 Small changes needed after changes to infer. 2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
bec9c11fd4 Correct and incorrect uses of dotted identity 2008-06-20 13:07:42 -04:00
Sam Tobin-Hochstadt
6296ffbfcf * Added code to check that substitution gets rid of all appropriate
variables (and fails if not)
 * Added weird dotted as subtype of * case (dcon-exact)
2008-06-20 13:07:08 -04:00
Matthias Felleisen
e60a2cddee svn: r10393 2008-06-20 15:15:14 +00:00
Matthias Felleisen
32f514f78e commented out tests
svn: r10392
2008-06-20 14:41:19 +00:00
Robby Findler
b8edbf8336 fixed tab handling for docked mode
svn: r10390
2008-06-20 13:26:55 +00:00
Eli Barzilay
0c23336cbf Welcome to a new PLT day.
svn: r10389
2008-06-20 08:24:17 +00:00
Robby Findler
b24674c889 PR 9510
svn: r10388
2008-06-20 06:05:52 +00:00
Stevie Strickland
654d7e2f46 * Add the ability to substitute in starred types for dotted when
we've inferred it.
 * Try and consolidate a lot of the error printing with domain mismatches.
2008-06-19 19:14:32 -04:00
Stevie Strickland
a1f078fb59 Another change. 2008-06-19 19:12:39 -04:00
Stevie Strickland
af12feb729 Another example, putting in starred for dots. 2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
2bf691991c New test 2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
0f142d97e3 Do substitution properly from dmap. 2008-06-19 18:04:19 -04:00
Sam Tobin-Hochstadt
e62598ef08 More tests! 2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
b9e1676a55 * Add constraints when matching t1...a to t2...b
* Do inference when you have (apply f ... xs), f and xs are dotted,
   and on different bounds.
 * Add fold-right to extra-procs and its type to base-env
2008-06-19 16:55:06 -04:00
Kathy Gray
1ff835d4b3 Fix PR#9526
svn: r10380
2008-06-19 20:43:51 +00:00
Sam Tobin-Hochstadt
2a7dbe2a80 Add unit test for dotted instantiation, and add version of
fold-left/fold-right that explicitly instantiates the
recursive call.
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
bb8d8e23d8 * Split apart identifier typechecking and type instantiation
* Add dotted instantiation (replacing bounds with different bounds)
 * Fix some macro issues, including syntax locations
 * Fix more effect inference
2008-06-19 14:57:35 -04:00
Sam Tobin-Hochstadt
36408a32d5 Fix test to expecte effects.
Remove useless annotation.
2008-06-19 13:23:27 -04:00
Sam Tobin-Hochstadt
1af866586e Fix tests, add filter tests. 2008-06-19 12:41:06 -04:00
Sam Tobin-Hochstadt
1880eb4afb Fix filter type.
svn: r10374
2008-06-19 16:07:12 +00:00
Sam Tobin-Hochstadt
3fd969651f Fix type of filter, and inference w/ effects. 2008-06-19 11:57:07 -04:00
Sam Tobin-Hochstadt
23aeff8c3b Fix macro impl. 2008-06-19 11:12:32 -04:00
Kathy Gray
08015efba8 Indenter bug corrections; indented files according to indenter
svn: r10371
2008-06-19 13:40:25 +00:00
Robby Findler
707315b1b4 restored Eli's syntax error improvements
svn: r10370
2008-06-19 06:19:16 +00:00
Stevie Strickland
f68efe9e31 Lift out the recursive call, since that'll be shared across all substitutions. 2008-06-18 23:48:31 -04:00
Greg Cooper
4dadad2d71 add support for arc-drawing to animation library
svn: r10366
2008-06-19 00:33:00 +00:00
Stevie Strickland
51ec643172 I'm not sure what to do about this, given the recursive sb call. 2008-06-18 18:53:46 -04:00
Stevie Strickland
8256f922f9 Instantiation... seems to be broken. Adding unit tests to alert us to that
fact.
2008-06-18 18:22:16 -04:00
Stevie Strickland
052849c1bb Otherwise we don't handle nesting. 2008-06-18 18:09:50 -04:00
Sam Tobin-Hochstadt
082545adc9 Just handle PolyDots of stuff not involving dots like the other cases. 2008-06-18 17:36:38 -04:00
Sam Tobin-Hochstadt
8a66c759dc Fix identifier issues in fold-left/fold-right. 2008-06-18 17:36:12 -04:00
Sam Tobin-Hochstadt
b5bfb18961 Tests in here that now succeed 2008-06-18 17:22:16 -04:00
Sam Tobin-Hochstadt
7f0a330c0c Adding drest capability to lambda formal checking. 2008-06-18 17:21:53 -04:00
Sam Tobin-Hochstadt
e77ad12feb Add debug macro, and fix check-below to return appropriate values. 2008-06-18 16:52:04 -04:00
Stevie Strickland
f1211df156 I don't know why this wasn't caught before, but with recent changes, it's now
caught correctly.
2008-06-18 16:16:11 -04:00
Stevie Strickland
3e4e5af03c Thinkoed, all of them should have -lst added. 2008-06-18 16:10:54 -04:00
Stevie Strickland
449a784c1d Remove this, as it isn't needed. 2008-06-18 16:03:45 -04:00
Stevie Strickland
6986b12618 Fix extra -lst call that shouldn't be there. 2008-06-18 16:03:33 -04:00
Stevie Strickland
5299c9fd5a Consolidate errors so they only happen once (could get rest arg-related
error and formal number mismatch error), and then consolidate code.
2008-06-18 15:57:41 -04:00
Stevie Strickland
f80711bc9e Split this out into what should succeed and what should fail. 2008-06-18 15:07:00 -04:00
Stevie Strickland
0c6ad7f08b Forgot to add stars here. 2008-06-18 15:06:48 -04:00
Stevie Strickland
467b138cda New test for lambda formal list mismatches. 2008-06-18 15:03:12 -04:00
Stevie Strickland
948286f0c6 Rework how lambda formals are handled to try and guess something more
correct when there's a mismatch.
2008-06-18 15:02:54 -04:00
Stevie Strickland
17937f5451 Fix up lambda formal handling so that if we get too many or too few formals
for the appropriate type, we associate the correct types with the formals
we do have.  If we have more formals than types, then a rest-arg function
will have the extra formals as the type of the rest-arg, else we will just
make them bottom.
2008-06-18 13:39:58 -04:00
Eli Barzilay
6864cae36f Welcome to a new PLT day.
svn: r10346
2008-06-18 17:13:24 +00:00
Stevie Strickland
4b3508a890 Add * where appropriate. 2008-06-18 13:01:43 -04:00
Stevie Strickland
4010a39c2d * Should have used star (bound in syntax-case), not just * in type-of-formals
* I'm pretty sure ann should never get a starred or dotted type, since those
   can't appear outside of an arrow context.
2008-06-18 12:57:52 -04:00
Stevie Strickland
6a30c9dec9 No need for this, it's handled by a case lower down (and correctly, so why
force changes in two positions?)
2008-06-18 12:45:08 -04:00
Stevie Strickland
c2a53b316b * Enforce the use of a '*' in list-like rest args.
* Abstract out annotation errors so that we can report it in the other case
   where it's useful.
2008-06-18 12:31:08 -04:00
Kathy Gray
488f8c210e Corrected bug introduced by the introduction of match-let
svn: r10339
2008-06-18 12:51:22 +00:00
Kathy Gray
1862bffc93 Testengine test file (in wrong directory, probably).
svn: r10338
2008-06-18 12:20:17 +00:00
Robby Findler
c1217de228 fixed problem with completions
svn: r10337
2008-06-18 05:48:16 +00:00
Eli Barzilay
b93d242aa5 restore unmodified version
svn: r10336
2008-06-18 04:53:31 +00:00
Eli Barzilay
f4926472b8 remove changed code
svn: r10335
2008-06-18 04:50:58 +00:00
Greg Cooper
88edb0e088 fix small doc bug
svn: r10332
2008-06-18 02:15:05 +00:00
Matthias Felleisen
55604117e4 world with lang scheme
svn: r10331
2008-06-18 02:13:42 +00:00
Stevie Strickland
2b4f1691fa Add an informative comment here. 2008-06-17 22:09:04 -04:00
Matthias Felleisen
420263b569 svn: r10329 2008-06-18 02:05:59 +00:00
Stevie Strickland
bd43b23f74 Both of these have the same errors right now, so factor that out into a
function.
2008-06-17 22:01:57 -04:00
Stevie Strickland
f86702122d Fix up error messages to take drests into account. 2008-06-17 21:47:10 -04:00
Stevie Strickland
8bb0890184 I dunno if I like this, but we really shouldn't delay this error, as
it should get caught when we attempt dotted vars for testing.
2008-06-17 21:38:05 -04:00
Sam Tobin-Hochstadt
8e498458aa More tests. Not all of them pass yet, but we are hopeful. 2008-06-17 18:10:41 -04:00
Sam Tobin-Hochstadt
dfdfae95d7 Checkpoint. 2008-06-17 18:10:17 -04:00
Sam Tobin-Hochstadt
c8a2810742 Don't produce extra errors for top-level defines.
Lots more error message improvements for application.
Work on polydots apply.
Extend environment only in the proper place in plambda.
Don't let a variable unify with a dotted variable.
2008-06-17 16:28:34 -04:00
Sam Tobin-Hochstadt
3f180f88da New tests 2008-06-17 16:24:30 -04:00
Sam Tobin-Hochstadt
ddbb045a3e Handle polymorphic apply with more args than fixed formals. 2008-06-17 14:29:05 -04:00
Sam Tobin-Hochstadt
59e2dc4dea New tests 2008-06-17 14:28:41 -04:00
Eli Barzilay
e3fa49cdff keep the language repl if we get a syntax error
svn: r10319
2008-06-17 17:45:53 +00:00
Matthew Flatt
4868fa672d EOPL quote and pair fixes
svn: r10318
2008-06-17 17:36:53 +00:00
Eli Barzilay
2c94de20aa hack: use a special value with exit to avoid popup message (no need for it now)
svn: r10317
2008-06-17 17:25:30 +00:00
Sam Tobin-Hochstadt
93c937f909 Adding testcases for dotted function application to rest args via apply. 2008-06-17 12:58:15 -04:00
Sam Tobin-Hochstadt
1bef5f9d0b Add handling of dotted functions when not wrapped with a big lambda. 2008-06-17 12:57:29 -04:00
Eli Barzilay
b6827d2d0b Now all module syntax errors kill the repl
svn: r10314
2008-06-17 16:06:35 +00:00
Eli Barzilay
8e4e964a65 Announce no interactions, kill repl on malformed module expression too
svn: r10313
2008-06-17 15:53:09 +00:00
Eli Barzilay
45bdf4e76d kill the running thread when there is no module (or bad module) so further interactions are disabled
svn: r10312
2008-06-17 15:38:13 +00:00
Eli Barzilay
819964baba Use "Module Language" for all error messages
svn: r10311
2008-06-17 15:26:42 +00:00
Sam Tobin-Hochstadt
c7733e5e34 Use map instead of map* 2008-06-17 10:46:39 -04:00
Sam Tobin-Hochstadt
8bf60f9faf Mask exn's where necessary. 2008-06-17 10:46:28 -04:00
Sam Tobin-Hochstadt
8d810160f2 Only use free-identifier=? when it's an identifier. 2008-06-17 10:43:37 -04:00
Stevie Strickland
bcb205a930 Add examples of each. 2008-06-16 19:02:45 -04:00
Sam Tobin-Hochstadt
cf33d49c26 add 2008-06-16 17:52:47 -04:00
Sam Tobin-Hochstadt
223c822154 It lives! 2008-06-16 17:46:13 -04:00
Sam Tobin-Hochstadt
1b998d7eb8 Definition (but not use) of ... vars 2008-06-16 16:47:08 -04:00
Sam Tobin-Hochstadt
055eb3cd0b Source location in synthetic module begin. 2008-06-16 16:34:09 -04:00
Sam Tobin-Hochstadt
b952c54803 Fix code gen for PolyDots defs. 2008-06-16 16:32:34 -04:00
Matthias Felleisen
9276a46dc4 is-end-of-world added to world
svn: r10300
2008-06-16 19:52:40 +00:00
Matthias Felleisen
993d3f970c docs for is-end-of-world
svn: r10299
2008-06-16 19:52:04 +00:00
Eli Barzilay
6b940c07de simplified code by separating two steps instead of one
svn: r10298
2008-06-16 19:25:28 +00:00
Eli Barzilay
cb410d1f87 descriptive error message
svn: r10297
2008-06-16 19:16:19 +00:00
Eli Barzilay
e7b2ca7c60 Improved code that analyzes the module expression
svn: r10296
2008-06-16 18:56:23 +00:00
Eli Barzilay
559517497b minor
svn: r10295
2008-06-16 17:59:55 +00:00
Eli Barzilay
fbb652713b use a single printf
svn: r10294
2008-06-16 17:55:13 +00:00
Sam Tobin-Hochstadt
a43b2f5681 Change map* to map. 2008-06-16 13:28:27 -04:00
Sam Tobin-Hochstadt
fdb780fb00 Remove map* 2008-06-16 13:27:59 -04:00
Sam Tobin-Hochstadt
2ad4403108 Fix for-each type.
Improve ... error messages.
2008-06-16 13:26:15 -04:00
Stevie Strickland
c4e253d2d1 Change over some of the base environment over to dotted types. 2008-06-16 13:01:16 -04:00
Eli Barzilay
1386b63116 * Misc reformatting and improvements (using for loops now)
* Removed (unused) toplevel op/oprintf, and switch to scheme/unit
  (=> code outdented, but remember `-x -w' for svn diff/blame/etc)
* Remove unused `get-module-name-prefix'

svn: r10289
2008-06-16 15:49:07 +00:00
Eli Barzilay
76b90e7947 Made "t" a key for the "recent" menu item
svn: r10288
2008-06-16 15:31:02 +00:00
Eli Barzilay
922842d9d8 Change `bad module name' error message to use "syntax" instead of
"object", and make it use the syntax object so the error points at the
right place in the definitions window.

svn: r10287
2008-06-16 15:02:07 +00:00
Eli Barzilay
495588eabf Misc reformatting, mostly using new stuff that make things easier.
svn: r10286
2008-06-16 14:42:14 +00:00
Eli Barzilay
86cdf405ee Move the "show recent files in a dialog" to the bottom, since it's
much less frequently used than the actual files.  (Even for people who
do use it -- since they'd usually use it once, and then use the dialog.)

svn: r10285
2008-06-16 14:22:24 +00:00
Eli Barzilay
ba22d2a6e6 Replace remove-suffix' by path-replace-suffix'
svn: r10284
2008-06-16 14:08:59 +00:00
Matthias Felleisen
269595665c added sort as duplicate of quicksort
svn: r10283
2008-06-16 13:56:35 +00:00
Matthias Felleisen
913fa9408f fixed doc for member to -> boolean
svn: r10282
2008-06-16 12:54:56 +00:00
Robby Findler
ffaadf6a31 adjusted test for the hopeless repl
svn: r10281
2008-06-16 12:49:09 +00:00
Matthew Flatt
921c703b2d snipi% doc corrections
svn: r10280
2008-06-16 12:10:19 +00:00
Kathy Gray
4222b03e6d More de-mzscheme; and taking out stm for the release-let
svn: r10279
2008-06-16 11:29:23 +00:00
Eli Barzilay
3488803ab1 Welcome to a new PLT day.
svn: r10278
2008-06-16 08:57:22 +00:00
Greg Cooper
db2624b9e3 create namespace for expansion of require'd modules (to fix multi-file debugging problem)
svn: r10277
2008-06-15 21:45:40 +00:00
Danny Yoo
7fbb4dab2a Fixed more scribl typos with #t.
svn: r10276
2008-06-15 20:51:39 +00:00
Danny Yoo
e8201a7d35 Fixed more scribl typos.
svn: r10275
2008-06-15 20:47:04 +00:00
Danny Yoo
854211592a Fixed references to text% in editor-canvas docs.
svn: r10274
2008-06-15 20:34:12 +00:00
Danny Yoo
abcfc65bc9 Correcting canvas typo in draw-overview.scrbl.
svn: r10273
2008-06-15 20:16:36 +00:00
Danny Yoo
6d36289f79 Correcting top-level-window typo in draw-overview.scrbl.
svn: r10272
2008-06-15 20:12:15 +00:00
Danny Yoo
522ee8e93a fixed typo in gui scribblings
svn: r10271
2008-06-15 19:57:04 +00:00
Stevie Strickland
14da71b5c2 I don't see how this isn't a bug. 2008-06-15 15:56:44 -04:00
Matthew Flatt
bba93038ed 'for' macro certification needs to propagate certs
svn: r10269
2008-06-15 16:03:14 +00:00
Matthew Flatt
e352b41265 fix cleanse-path doc
svn: r10268
2008-06-15 11:41:34 +00:00
Matthew Flatt
91d73e4c30 more __isinf variants in xform (PR 9505)
svn: r10267
2008-06-15 11:31:21 +00:00
Matthew Flatt
ebe5138cfc doc match-let as 'destructuring bind'
svn: r10266
2008-06-15 11:25:05 +00:00
Eli Barzilay
cdbfcc1283 improved code some
svn: r10265
2008-06-15 05:56:46 +00:00
Robby Findler
9ca7c1e2fe another attempt a friendlier first message
svn: r10264
2008-06-15 01:41:27 +00:00
Matthew Flatt
9355b39761 fix SRFI 1 docs on set-car! and set-cdr! (PR 9504)
svn: r10263
2008-06-14 21:04:55 +00:00
Eli Barzilay
c9f5e15ee0 use expand-user-path so "~"s work again
svn: r10262
2008-06-14 03:48:50 +00:00
Robby Findler
c4ac2429bb some improvements to the repl in the module language when there is no module there
svn: r10261
2008-06-14 02:58:30 +00:00
Sam Tobin-Hochstadt
52ed6fe0ca All examples now work. 2008-06-13 17:04:31 -04:00
Sam Tobin-Hochstadt
27073e07fd More testing. 2008-06-13 17:04:22 -04:00
Matthew Flatt
1d34ff568a check-expect tests for HtDP languages
svn: r10258
2008-06-13 17:40:20 +00:00
Matthew Flatt
938df1800c improve error reporting ands doc for check-expect (PR 9499 and 9500)
svn: r10257
2008-06-13 17:24:24 +00:00
Robby Findler
63311353d7 some windows keyboard didn't work with the old settings since the keybindings were taking over too much
svn: r10256
2008-06-13 17:17:05 +00:00
Eli Barzilay
f6c68334a6 use evaluator-message as a generic function-application-in-user-context tool
svn: r10255
2008-06-13 17:06:33 +00:00
Eli Barzilay
87bb5ee526 use proper tmp directory, remove temp file
svn: r10254
2008-06-13 17:06:05 +00:00
Stevie Strickland
df91f204d2 Test cases that should succeed and fail for star/dots mixes. 2008-06-13 12:08:43 -04:00
Stevie Strickland
9e78f5d0c0 Stars and dots living together, mass hysteria. 2008-06-13 11:59:30 -04:00
Carl Eastlund
4baccff55a scheme/sandbox:
Updated get-output and get-error-output to function properly regardless of user
language.  Previously, it relied on #%app and #%datum behaving similarly to the
scheme language.

svn: r10251
2008-06-13 14:41:28 +00:00
Eli Barzilay
b27b77f18f Welcome to a new PLT day.
svn: r10250
2008-06-13 14:33:40 +00:00
Stevie Strickland
1a7629ea3b Pretty sure clist is going the way of the dodo, so I want this to
break for now if we use it.  Also abstracting out the way you say
"Here's a variable with no constraints," though this might not end up
being used anywhere else anyway, so I'll not export it yet from
constraints^..
2008-06-13 09:59:43 -04:00
Sam Tobin-Hochstadt
34315ea7b3 Shortcut funs and remove first arg to cset-meet* 2008-06-13 09:56:21 -04:00
Sam Tobin-Hochstadt
7cecac2579 Use dmap code. 2008-06-13 09:55:03 -04:00
Matthew Flatt
d750ba0009 corrected: planet version-comparison repair from Danny
svn: r10246
2008-06-13 13:18:30 +00:00
Matthew Flatt
ce6395129c planet version-comparison repair from Danny
svn: r10245
2008-06-13 13:16:28 +00:00
Robby Findler
c2fa893403 set up a namespace around the call to compile
svn: r10244
2008-06-13 01:43:27 +00:00
Kathy Gray
b9516aa543 More indenting support for Java mode, including ( and [ support
svn: r10243
2008-06-12 22:32:58 +00:00
Sam Tobin-Hochstadt
e2c0b4e642 Implement dmap operations.
Remove lots of unneeded requires.
Add in-list-forever and extend to utils.ss
Add optional variable argument to c-meet.
2008-06-12 17:10:31 -04:00
Sam Tobin-Hochstadt
49be490b51 Unitize some more. 2008-06-12 15:43:42 -04:00
Sam Tobin-Hochstadt
bf61e29fac Unitize infer.ss 2008-06-12 15:39:19 -04:00
Stevie Strickland
6da5171b28 Add fixed-args mismatch between starred/dotted functions. 2008-06-12 14:08:23 -04:00
Matthew Flatt
2b1aebca19 add missig path normalization for 'enter!' (PR 9491)
svn: r10237
2008-06-12 16:55:46 +00:00
Matthew Flatt
7efe50775a typos and links (PR 9488)
svn: r10236
2008-06-12 16:37:12 +00:00
Matthew Flatt
638e458541 fix Latex rendering of subsubsubsections (PR 9487)
svn: r10235
2008-06-12 16:22:18 +00:00
Matthew Flatt
864570d484 fix doc bug (PR 9489)
svn: r10234
2008-06-12 16:13:33 +00:00
Robby Findler
c5680137bb removed references to non-existent module
svn: r10233
2008-06-12 15:13:15 +00:00
Kathy Gray
7f085f7e2b Switching to scheme/base instead of mzscheme
Addition of support for stm (to-scheme.ss only)

svn: r10232
2008-06-12 14:46:43 +00:00
Matthew Flatt
64147e45ab fix module-path-index->taglet bug that is mainly exposed when the current directory is a root directory
svn: r10231
2008-06-12 13:39:23 +00:00
Matthew Flatt
20fcb6314c honu-module -> honu; misc doc and slideshow tweaks
svn: r10230
2008-06-12 13:02:41 +00:00
Matthew Flatt
930650491f fix mod-collapse bug with 'up' elements relative to planet paths
svn: r10229
2008-06-12 12:18:30 +00:00
Sam Tobin-Hochstadt
eb9147a0fa Add new tests 2008-06-11 17:16:58 -04:00
Sam Tobin-Hochstadt
457339d9a8 Fix case-lambda type printing.
Begin work on handling case-lambda/varargs in ... inference.
Implement hash-union, and use to fix big bugs.
2008-06-11 17:16:40 -04:00
Eli Barzilay
4785e86907 * Updated `valid-version?' to restrict ranges of subparts
* Added `version<=?' and `alpha-version?'
* updated checker for new file location, update code

svn: r10224
2008-06-11 19:17:02 +00:00
Sam Tobin-Hochstadt
1900cf10f4 Hook up new inference to tc-app.
Fix cset-meet handing of var maps and generated variables.
2008-06-11 14:40:34 -04:00
Eli Barzilay
56acfb51f2 Welcome to a new PLT day.
svn: r10221
2008-06-11 17:36:09 +00:00
Sam Tobin-Hochstadt
07760164f0 * Split off cgen/arr into a named function
* Adding coersion for dotted arg types.
   (Still need coersion between dotted<->starred.)
2008-06-11 12:22:33 -04:00
Sam Tobin-Hochstadt
dce8566c89 * Fixed variable promotion/demotion for dotted rest args
* Fixed constraint generation for starred functions with
   different fixed arg lengths
2008-06-11 11:45:25 -04:00
Sam Tobin-Hochstadt
97847c32c4 Added new test for constraint solving on starred functions with different fixed arg lengths. 2008-06-11 11:41:46 -04:00
Matthew Flatt
7a03dfbecf make DrScheme's debugger work on mzscheme programs
svn: r10217
2008-06-11 13:03:49 +00:00
Robby Findler
c90b4a3260 added \skull
svn: r10216
2008-06-11 12:55:09 +00:00
Eli Barzilay
f7b146d8a0 fix bug when there are no cookies at all
svn: r10215
2008-06-11 05:53:52 +00:00
Jay McCarthy
c22038fd3f up
svn: r10214
2008-06-11 03:19:14 +00:00
Eli Barzilay
2b1507220f partial match explanation
svn: r10213
2008-06-11 02:45:32 +00:00
Eli Barzilay
532b9924d1 document S+C+Enter
svn: r10212
2008-06-11 02:39:04 +00:00
Sam Tobin-Hochstadt
4ae4141257 Changes to tests for ... 2008-06-10 16:40:05 -04:00
Sam Tobin-Hochstadt
975f26b93d Use new * syntax in prims.
Handle extra tables in infer.
2008-06-10 16:38:14 -04:00
Sam Tobin-Hochstadt
e29d4eb881 Add syntax for ... 2008-06-10 15:41:56 -04:00
Sam Tobin-Hochstadt
606ef69d20 Switch subtype to use infer.ss for unification. 2008-06-10 15:05:13 -04:00
Sam Tobin-Hochstadt
37c2f7f2c9 Move infer-ops to infer 2008-06-10 14:29:05 -04:00
Sam Tobin-Hochstadt
6afcb9aa96 Remove infer.ss 2008-06-10 14:27:49 -04:00
Sam Tobin-Hochstadt
e912818f86 Instantiation appears to work. 2008-06-10 14:10:40 -04:00
Sam Tobin-Hochstadt
5c8c2d3d96 Instantiate w/ dots 2008-06-10 12:29:53 -04:00
Sam Tobin-Hochstadt
a7f81d931d Substituion now works 2008-06-10 12:21:59 -04:00
Sam Tobin-Hochstadt
017f756c77 Fix instantiate and abstract to handle bounds properly.
NEW INVARIANT - only use instantiate w/ names
2008-06-10 11:29:56 -04:00
Robby Findler
6be1c69e32 fixed some portos
svn: r10200
2008-06-09 22:49:06 +00:00
Robby Findler
9120268b36 PR 9471
svn: r10199
2008-06-09 22:44:40 +00:00
Sam Tobin-Hochstadt
a7c63840e4 Add new datastructures for dots work. 2008-06-09 17:07:41 -04:00
Sam Tobin-Hochstadt
dc47e25c44 Refer to tech terms correctly.
svn: r10196
2008-06-09 16:08:04 +00:00
Sam Tobin-Hochstadt
3765c3591c Use deftech instead of defterm for a bunch of terms.
svn: r10195
2008-06-09 16:07:52 +00:00
Matthew Flatt
f1bacbb166 ignore failures when writing the commentary-window position/size to the preferences file, mainly because a security guard might disallow it for nested slideshows
svn: r10194
2008-06-09 14:23:12 +00:00
Matthew Flatt
05d06d0c99 lower priority of Jewel screen refresh, in case the machine (like my Vista machine) is too slow to keep up
svn: r10193
2008-06-09 14:06:54 +00:00
Jacob Matthews
3ca9a0ab25 * fix incorrect planet client reporting
* clarify a contract

svn: r10192
2008-06-08 23:48:57 +00:00
Eli Barzilay
db98d5f66d Welcome to a new PLT day.
svn: r10191
2008-06-08 17:25:57 +00:00
Matthew Flatt
6b721a04f0 fix index output where exporting module's name is not just an identifier
svn: r10190
2008-06-08 15:23:51 +00:00
Matthew Flatt
ec714113a4 fix uses of _ in foreign docs, and document the _ escape in 'schemblock'
svn: r10189
2008-06-08 11:46:07 +00:00
Matthew Flatt
31d9571a47 handle symbolic module names property in module-path-index->taglet
svn: r10188
2008-06-08 11:31:07 +00:00
Robby Findler
c9485454a9 liberalized the XML snips so they dont require the framework
svn: r10187
2008-06-08 03:43:33 +00:00
Matthew Flatt
301a91e0ad fix moddep test for Windows
svn: r10186
2008-06-07 12:15:06 +00:00
Matthew Flatt
76732257c7 fix typo
svn: r10185
2008-06-06 21:21:27 +00:00
Matthew Flatt
b5ce45a15c doc #:doc for 'techlink'
svn: r10184
2008-06-06 21:21:04 +00:00
Eli Barzilay
36809f291e typo
svn: r10183
2008-06-06 19:46:56 +00:00
Eli Barzilay
3718da39a8 Welcome to a new PLT day.
svn: r10182
2008-06-06 19:30:28 +00:00
Eli Barzilay
05e530f443 Allow using `doc-path' for main docs only.
svn: r10181
2008-06-06 18:46:04 +00:00
Sam Tobin-Hochstadt
d9134861c4 Run tests in new namespaces.
svn: r10180
2008-06-06 17:19:53 +00:00
Matthew Flatt
26d4346984 moddep tests
svn: r10179
2008-06-06 15:57:56 +00:00