Commit Graph

497 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Robby Findler
4f06b9e5da fixed PR 9515
svn: r10408
2008-06-21 14:54:52 +00:00
Robby Findler
b24674c889 PR 9510
svn: r10388
2008-06-20 06:05:52 +00:00
Robby Findler
707315b1b4 restored Eli's syntax error improvements
svn: r10370
2008-06-19 06:19:16 +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