Commit Graph

6970 Commits

Author SHA1 Message Date
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
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
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
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
Eli Barzilay
b33cd21717 avoid using ">" in css -- so it works on IE too
svn: r10443
2008-06-24 18:17:37 +00:00
Eli Barzilay
a1a53524c0 no arguments => start page
svn: r10441
2008-06-24 17:35:10 +00: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
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
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
Kathy Gray
1ff835d4b3 Fix PR#9526
svn: r10380
2008-06-19 20:43:51 +00:00
Sam Tobin-Hochstadt
1880eb4afb Fix filter type.
svn: r10374
2008-06-19 16:07:12 +00: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
Greg Cooper
4dadad2d71 add support for arc-drawing to animation library
svn: r10366
2008-06-19 00:33:00 +00:00
Eli Barzilay
6864cae36f Welcome to a new PLT day.
svn: r10346
2008-06-18 17:13:24 +00: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
Matthias Felleisen
420263b569 svn: r10329 2008-06-18 02:05:59 +00: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
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
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