Commit Graph

116 Commits

Author SHA1 Message Date
Robby Findler
244f6e4908 started requiring racket/ instead of scheme/ 2010-04-23 16:37:25 -05:00
Robby Findler
59d90b279d improved support for #lang planet (in drscheme) 2010-04-21 12:14:17 -04:00
Matthew Flatt
ce2d286586 add current-module-declare-source, variable-reference->module-source, convert soe sues of module paths to module sources
svn: r18804
2010-04-13 02:48:40 +00:00
Matthew Flatt
49f68dc6d6 fix construction of resolved module path in DrScheme (PR 10859)
svn: r18803
2010-04-12 23:28:40 +00:00
Robby Findler
bf9ae0f731 added support for opt-out buttons and then took advantage of it to do a better job with the check syntax, macro stepper, and debugger buttons
svn: r18785
2010-04-11 03:14:02 +00:00
Matthew Flatt
1621091fc1 add 'current-read-interaction' parameter
svn: r18769
2010-04-09 13:22:57 +00:00
Matthew Flatt
bebf513aa7 change 'configure-runtime to produce a list of module-spcifying vectors instead of a single vector
svn: r18763
2010-04-08 19:11:50 +00:00
Matthew Flatt
8fbd16261f adjust DrScheme to run #lang-specified runtime configuration
svn: r18762
2010-04-08 15:32:02 +00:00
Robby Findler
a7dbbc2fa6 minor tweaks to the language dialog that were mentioned a while back, but that I only just got to
svn: r18137
2010-02-17 23:10:10 +00:00
Robby Findler
0bda2f0e18 moved the debugging options in the details part of the module panel so they are side-by-side, which should make the dialog more likely to fit on a netbook screen
svn: r17955
2010-02-03 15:34:11 +00:00
Ryan Culpepper
ffa97036a8 macro-stepper: removed drscheme,etc dep on macro-debugger
(changed capability to normal symbol constant)

svn: r17953
2010-02-03 14:43:23 +00:00
Carl Eastlund
79f537d50c Updated the macro stepper to detect steppable languages via a "capability".
svn: r17932
2010-02-01 20:39:46 +00:00
Robby Findler
402886bc18 fixed the macro stepper so that it shows up in the new module language
svn: r17927
2010-02-01 17:09:22 +00:00
Carl Eastlund
2e0cb8226e Replaced every "langauge" (note swapped vowels) with "language".
svn: r17918
2010-02-01 01:41:51 +00:00
Robby Findler
6f17b84706 improved the module langauge's name printing
svn: r17895
2010-01-30 16:51:24 +00:00
Robby Findler
16e6a8156e a few more tweaks to the language dialog
svn: r17889
2010-01-29 21:44:22 +00:00
Robby Findler
be5b6cd32e some improvements to the new language dialog
svn: r17886
2010-01-29 18:29:03 +00:00
Matthew Flatt
4c8b0b8b13 change DrScheme module language to use namespace-require (like mzscheme/mred)
svn: r15963
2009-09-10 19:39:31 +00:00
Robby Findler
83728f04fe automatic compilation in drscheme now avoids the installed planet files
svn: r15928
2009-09-09 02:35:09 +00:00
Robby Findler
77a94fac04 changed defaults back to including errortrace
svn: r15769
2009-08-17 15:55:11 +00:00
Robby Findler
4c9dcdc36d moved some of the module language compiler setup code into the compiler/cm library so others can use it outside of DrScheme
svn: r15730
2009-08-13 21:09:15 +00:00
Robby Findler
485785176a drscheme now saves its compiled files in its own directory
svn: r15714
2009-08-12 19:44:14 +00:00
Robby Findler
a6624f11e2 better job of checking module language setting invariants when reading from the prefs file
svn: r15649
2009-07-31 16:00:15 +00:00
Robby Findler
b5b32d1d8e added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
svn: r15635
2009-07-30 05:17:40 +00:00
Matthew Flatt
fa6423e658 fix Create Executable to include -U and -- flags automatically
svn: r15229
2009-06-22 12:23:41 +00:00
Eli Barzilay
f51c6bbe64 Fix the leaking of internal drscheme filenames in error messages when
debugging is disabled:
* got rid of the `stacktrace-runtime-name' hack in "rep.ss", replace
  it by a more reliable capture of the context, and later cut the
  stack according to that specific context.
* the cutting is done if possible, no need for the "ACK!" error
  message if no cutting point is found.
* rename `with-stacktrace-name' -> `with-stack-checkpoint'
* add this to "module-language.ss" too, to avoid including it in error
  messages.

svn: r14777
2009-05-12 02:12:49 +00:00
Matthew Flatt
8c9bcd50c2 on second thought, PR 10185 demonstrates why the variant of dynamic-require (and namespace-attach-module) that doesn't make the phase availble is difficult to reason about; changing dynamic-require and namespace-attach-module, instead of DrScheme
svn: r14454
2009-04-08 02:11:21 +00:00
Matthew Flatt
a472a4452c fix DrScheme REPL, whose old use of dynamic-require is no longer enough to instantiate compile-time support (PR 10185)
svn: r14453
2009-04-08 01:56:37 +00:00
Robby Findler
42e64a0f23 fixed default auto text bug and added string constant for auto text
svn: r13810
2009-02-24 01:47:48 +00:00
Robby Findler
8cd0fe5e72 PR 10052
svn: r13489
2009-02-07 15:04:46 +00:00
Robby Findler
256182ecbd adjusted the automatic compilation to make it more disableable
svn: r12397
2008-11-11 23:56:54 +00:00
Eli Barzilay
518fc3b0a8 keep syntax properties at the outer module expression level
svn: r12122
2008-10-24 22:26:21 +00:00
Eli Barzilay
ec6d2a1f40 FIXEM
svn: r12120
2008-10-24 20:21:07 +00:00
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
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
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
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
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
Eli Barzilay
629cbc1d92 possible fix for PR9628 and PR9615
svn: r10913
2008-07-25 14:23:34 +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
Eli Barzilay
4952fa6db9 simplified hopeless-exception raising
svn: r10615
2008-07-05 04:51:15 +00:00
Robby Findler
6117dc413f fixed race condition
svn: r10602
2008-07-04 19:33:14 +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