Commit Graph

468 Commits

Author SHA1 Message Date
Robby Findler
717895e087 makes the default name selection thing use .ss instead of .scm
svn: r11195
2008-08-12 00:05:40 +00:00
Eli Barzilay
84d781aabb fix ignoring auto-inserted text
svn: r11140
2008-08-08 10:41:53 +00:00
Eli Barzilay
a7248560da Protect against user code changing the namespace, plus tests. (PR9644)
svn: r11138
2008-08-08 08:56:00 +00:00
Eli Barzilay
372bbefdb3 * Added a `call-without-reset-highlighting' to "rep.ss"
* When the language does not have #%top-interaction binding, don't
  throw an error, just disable the repl (useful, for example, with
  setup/infotab as a langauge)
* To do that, used the above new method so that the original error
  highlighting is kept
* Updated tests, and added a test for using setup/infotab, verifying
  that no error is displayed.

svn: r11137
2008-08-08 08:25:17 +00:00
Eli Barzilay
e1f7ee507a Moved time-keystrokes to tests/drscheme
svn: r11120
2008-08-07 05:57:25 +00:00
Eli Barzilay
3ae6db6f65 Another improvement + test
svn: r11116
2008-08-07 00:38:36 +00:00
Eli Barzilay
78170587c2 * Fixed a minor bug in the module language
* More test improvement, remove test-debugging `sleep'
* Add tests for new module language behavior with misc errors

svn: r11115
2008-08-06 21:16:51 +00:00
Eli Barzilay
ea64d1d488 better error message(?)
svn: r11102
2008-08-06 06:32:08 +00:00
Eli Barzilay
ceda363c12 Much better code now -- directly setting up the user's environment
instead of constructing syntax expressions to do so.  This is all done
with the new `front-end/finished-complete-program' hook.

svn: r11099
2008-08-06 04:44:02 +00:00
Danny Yoo
cfdb51a745 Adding whitespace trimming around the URL used in Install .plt file...
svn: r11097
2008-08-06 01:53:05 +00:00
Robby Findler
7d8d1bc37b added front-end/finished-complete-program
svn: r11084
2008-08-05 17:28:16 +00:00
Eli Barzilay
ee2a6f7ceb Use front-end/interactions to perform the language require if there
was a syntax error in the module.  This means that things are a little
odd: we only try to require the language after the user hits enter.  A
solution might be for drscheme to always call the
front-end/interactions method immediately on an empty input port.

svn: r11079
2008-08-05 13:35:01 +00:00
Eli Barzilay
12390fb891 improvements
svn: r11078
2008-08-05 11:36:33 +00:00
Robby Findler
b9fb8b5155 removed buggy change that I accidentally committed when experimenting with SamTH's comments
svn: r11076
2008-08-05 03:12:56 +00:00
Robby Findler
8d53a2ec34 adjusted searching a little bit
svn: r11072
2008-08-04 20:19:10 +00:00
Eli Barzilay
87cd09f376 * More convenient code for front-end/complete-program to send a
sequence of expressions and actions, and improved its code in
  general
* Comment about the hackiness of front-end/complete-program
* Improved strategy for having a working repl after a syntax error

svn: r11060
2008-08-04 09:07:42 +00:00
Robby Findler
0f9964e875 changing wording of kill/break in menus
svn: r11046
2008-08-03 13:29:17 +00:00
Robby Findler
fceb977f7b performance improvement when the stacks are huge
svn: r11000
2008-07-31 03:14:37 +00:00
Eli Barzilay
bc435dc640 Use context queries based on language capabilities.
svn: r10955
2008-07-29 06:59:43 +00:00
Eli Barzilay
3bcbdc1924 * set svn:eol-style
* This commit also adds drscheme:help-context-term capability for the
  teaching languages, with a couple of #|!!!|# comments that will go
  away soon.  (This part was committed by mistake.)

svn: r10940
2008-07-28 04:01:15 +00:00
Robby Findler
b088ac9c74 more adjustments to searching and related things
svn: r10939
2008-07-28 03:48:23 +00:00
Robby Findler
f6714c551c changed menu keybinding for find so that it toggles the keyboard focus back and forth with the searching window
svn: r10934
2008-07-27 13:57:33 +00:00
Robby Findler
49e46e0ae1 fixed up the keymap that's used when the menu bindings are disabled
svn: r10932
2008-07-27 04:03:38 +00:00
Robby Findler
12d18d8107 adjusted the keybindings for search a little bit
svn: r10931
2008-07-27 03:43:36 +00:00
Robby Findler
a3c0e93324 improved searching (docs not yet quite done, but I want to test on other platforms ... another commit to follow)
svn: r10921
2008-07-26 20:06:23 +00:00
Robby Findler
bd2d93096e an initial checkin; not yet used
svn: r10920
2008-07-26 20:05:14 +00:00
Eli Barzilay
ebd393c2a8 use #f as the default context
svn: r10917
2008-07-26 03:03:20 +00:00
Eli Barzilay
63ecb0ec4d added search context capability
svn: r10916
2008-07-26 03:00:12 +00:00
Eli Barzilay
629cbc1d92 possible fix for PR9628 and PR9615
svn: r10913
2008-07-25 14:23:34 +00:00
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