Commit Graph

489 Commits

Author SHA1 Message Date
Robby Findler
bd6ed2dfc2 changed serching text notification from pull-style to push-style, ie the text now notifies the frame when it wants to be actived for searching instead of waiting for the frame to ask
svn: r10858
2008-07-22 03:51:26 +00:00
Danny Yoo
67bc4f3f0c Revert "Adding checks for get-port-name in object interface before method call."
svn: r10807
2008-07-17 02:16:45 +00:00
Danny Yoo
93c1b92c7b Adding checks for get-port-name in object interface before method call.
svn: r10804
2008-07-17 00:52:53 +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
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
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
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
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
9f31b56f4d fix egg
svn: r10640
2008-07-07 03:24:28 +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
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
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
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
Eli Barzilay
f4926472b8 remove changed code
svn: r10335
2008-06-18 04:50:58 +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
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
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
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
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
ba22d2a6e6 Replace remove-suffix' by path-replace-suffix'
svn: r10284
2008-06-16 14:08:59 +00:00
Robby Findler
ffaadf6a31 adjusted test for the hopeless repl
svn: r10281
2008-06-16 12:49:09 +00:00
Robby Findler
9ca7c1e2fe another attempt a friendlier first message
svn: r10264
2008-06-15 01:41:27 +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
Robby Findler
9120268b36 PR 9471
svn: r10199
2008-06-09 22:44:40 +00:00
Robby Findler
ff9ed5c64b fixed profiling
svn: r10151
2008-06-05 16:52:44 +00:00
Robby Findler
995bab2d5c cant figure out what the real bug is, so added in this defensive thing
svn: r10150
2008-06-05 16:38:22 +00:00
Robby Findler
a3c2d438de fixed a bug in the teaching languages highlighting
svn: r10148
2008-06-05 16:29:43 +00:00
Robby Findler
b8773a6a47 removed forcing of the xref collections ..
svn: r10145
2008-06-05 15:06:30 +00:00
Matthew Flatt
2a728cdf3c fix bug in namespace-require/constant that caused a Check Syntax bug; fix DrScheme's source location for module forms; tweak help output to use right font for class names
svn: r10113
2008-06-03 22:01:10 +00:00
Robby Findler
8f10fbe17d removed order-manuals method and the optional argument to language-dialog that shows help-desk manual ordering
svn: r10106
2008-06-03 03:01:36 +00:00
Eli Barzilay
df62a12b07 extended help-desk to construct custom queries
svn: r10102
2008-06-03 00:21:55 +00:00
Eli Barzilay
00043aaaae perform-search expects a single string, at least for now
svn: r10101
2008-06-03 00:07:37 +00:00
Danny Yoo
516231c1f9 Fix for auto-language.ss: if first line of program contains a snip, read-line fails and needs to be handled.
svn: r10074
2008-06-01 02:23:55 +00:00
Matthew Flatt
0ef9d76ad3 remove HtUS and Slideshow web sites in the Help menu
svn: r10057
2008-05-30 19:10:27 +00:00
Matthew Flatt
6cc0a9b046 change default file extension in DrScheme from .scm to .ss
svn: r10054
2008-05-30 18:44:21 +00:00
Robby Findler
240900bef2 made the repl printer use current-print
svn: r10053
2008-05-30 18:36:08 +00:00
Robby Findler
d40b191eb7 removed current-print from the language dialog
svn: r10027
2008-05-30 02:08:59 +00:00
Robby Findler
612f26972e improved the error reporting in the REPL and misc other minor changes
svn: r10014
2008-05-29 04:55:43 +00:00
Robby Findler
758f6bb839 cleaned up the rest of the executable creation code
svn: r9949
2008-05-25 02:26:29 +00:00
Robby Findler
14c50faac0 new error icons
svn: r9942
2008-05-23 13:55:27 +00:00
Robby Findler
094cbcff19 fixed a bug noticed by SamTH
svn: r9931
2008-05-22 21:48:12 +00:00
Robby Findler
c5f4bc9e20 emptied the namespace when executing a module
svn: r9923
2008-05-21 17:43:14 +00:00
Robby Findler
a8fd2e018c added an explicit registration for the toolbar switchable-buttons
svn: r9882
2008-05-18 22:59:02 +00:00
Robby Findler
1a3f3799b2 minor tweak to about box and fixed executable generation for teaching languages
svn: r9866
2008-05-16 18:35:33 +00:00
Robby Findler
d6f114ff73 renamed button
svn: r9863
2008-05-16 12:36:02 +00:00
Robby Findler
25ca892f55 some cleanup of the help-desk / drscheme interaction and the about-drscheme dialog
svn: r9862
2008-05-16 02:53:41 +00:00
Robby Findler
2bf1a2cde9 fixed read errors, ala PR 9387
svn: r9861
2008-05-16 02:28:16 +00:00