Commit Graph

568 Commits

Author SHA1 Message Date
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
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
413c90c0dc fix single-html scribble builds by planet; fix up teachpack docs; add Dave to acks; add a #:use-sources in errortrace docs
svn: r10139
2008-06-05 00:21:36 +00:00
Matthew Flatt
7c3962720e add uti-exports support (thanks to Dave Gurnell for help)
svn: r10129
2008-06-04 14:16: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
ed3dcd6ecd fixed bugs in check syntax wrt embedded editors and renaming
svn: r9954
2008-05-25 19:45:08 +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
Matthew Flatt
b56df5be44 fix multi-file regex search
svn: r9851
2008-05-15 16:48:03 +00:00
Matthew Flatt
4728ffe303 change DrScheme to set current-print
svn: r9850
2008-05-15 16:31:51 +00:00
Robby Findler
0dbc57a309 PR 9387
svn: r9841
2008-05-15 02:28:27 +00:00
Robby Findler
cf6c45e0c3 added get-language-menu
svn: r9820
2008-05-13 02:37:36 +00:00
Robby Findler
9afde2887c oops
svn: r9802
2008-05-11 02:14:15 +00:00
Robby Findler
a3da1f8158 moved recon.ss into drscheme/private (where it should have been all along)
svn: r9798
2008-05-10 21:29:45 +00:00
Robby Findler
0752311937 finally got the drscheme:language:object/c contract to render in the documentation properly
svn: r9797
2008-05-10 21:15:30 +00:00
Robby Findler
26e78df5f5 svn: r9785 2008-05-10 02:01:10 +00:00
Robby Findler
5b3a61460b adjusted the tools docs that the contracts on the tool units are extracted from the same place that the documentation is extracted from, namely tool-lib.ss
svn: r9777
2008-05-09 22:15:50 +00:00
Robby Findler
acdbe038c6 forgot to remove a reference to oc.ss
svn: r9772
2008-05-09 16:43:31 +00:00
Robby Findler
9f5e4a6dd9 improved docs, fixed bug in toolbar button shifting around business
svn: r9770
2008-05-09 16:14:13 +00:00
Robby Findler
1eacde0927 converted a bunch of tex-isms to scribble-isms and other small improvements in the docs
svn: r9761
2008-05-09 02:14:40 +00:00
Robby Findler
694a0d732b converted a bunch of tex-isms to scribble-isms and other small improvements in the docs
svn: r9760
2008-05-09 02:14:27 +00:00
Robby Findler
233e8431bc a tools manual that contains all of the bindings (but with lots of editing still to go)
svn: r9752
2008-05-08 21:16:28 +00:00
Matthew Flatt
548e45408b regexp-replace* handles empty matches; empty-match handling documented
svn: r9751
2008-05-08 20:29:56 +00:00
Robby Findler
79cc0c2942 PR 9368
svn: r9744
2008-05-08 16:24:13 +00:00
Robby Findler
2491bfed70 moved legacy languages
svn: r9731
2008-05-08 06:37:05 +00:00
Robby Findler
06463490f3 a little progress on the tools manual
svn: r9724
2008-05-07 17:57:14 +00:00
Matthew Flatt
42dcfbc79a string constants for new R5RS/PrettyBig option
svn: r9723
2008-05-07 17:15:53 +00:00
Matthew Flatt
fad08fcd84 more drscheme repairs and tests
svn: r9721
2008-05-07 16:31:20 +00:00
Matthew Flatt
860c41d749 drs bug and test-suite fixes
svn: r9709
2008-05-06 23:27:23 +00:00
Robby Findler
83d60cbfac toolbar can now be on the right or on the left
svn: r9588
2008-05-02 12:49:45 +00:00
Robby Findler
0fe4de70ac fixed a bug in the way the resize-corner for the defs/ints was working
svn: r9584
2008-05-02 03:11:41 +00:00
Robby Findler
ee9fc4a8d7 reworked the buttons along the top of drscheme
svn: r9578
2008-05-01 23:15:06 +00:00
Robby Findler
e5fba85ed0 fixed a bug in check syntax and a bug in the contract system
svn: r9524
2008-04-28 22:12:21 +00:00
Robby Findler
457bf61732 improved the performance of check syntax some more
svn: r9495
2008-04-26 17:34:16 +00:00
Matthew Flatt
0483294762 fix JIT abs (on least fixnum), fix some R6RS bugs and pull in some R6RS test cases from Ikarus
svn: r9477
2008-04-25 17:18:44 +00:00
Robby Findler
00eb1303e4 optimized drawing a little bit
svn: r9474
2008-04-25 13:52:21 +00:00
Robby Findler
88ac43f545 sped up check syntax
svn: r9473
2008-04-25 13:39:20 +00:00
Robby Findler
e3a13be4a0 added shortcut for collapse that works on the mac
svn: r9462
2008-04-24 19:27:30 +00:00
Robby Findler
7262a7a19d used to depend on unique #() but not anymore
svn: r9425
2008-04-23 13:37:59 +00:00
Robby Findler
f0f27e2e2c removed mz,mred,slideshow languages and made module language's initial REPL be scheme/base instead of mzscheme
svn: r9384
2008-04-21 19:00:18 +00:00
Robby Findler
cee0f72df5 PR 9300, realized the transitive closure operation is actually crazy expensive, interim commit so no one suffers thru that while I think about this
svn: r9345
2008-04-17 12:07:07 +00:00
Robby Findler
0fe065e1b7 PR 9300, cotd
svn: r9344
2008-04-17 11:55:57 +00:00
Robby Findler
c9e313648a PR 9300
svn: r9343
2008-04-17 11:49:53 +00:00
Robby Findler
0676cfed88 renamed r5rs language
svn: r9338
2008-04-16 21:06:49 +00:00
Robby Findler
320068fc89 PR 9290
svn: r9283
2008-04-13 13:35:59 +00:00
Robby Findler
3b09127a48 PR 9289
svn: r9259
2008-04-11 17:56:18 +00:00
Matthew Flatt
0153e122b7 change -q to config option, fix unlikely race condition in wake-on-signal, add path->url and url->path, and adjust URL parsing
svn: r9239
2008-04-10 19:05:35 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Matthew Flatt
53cc426d30 expans #reader/#lang protocol so that a #lang result can have more appropriate srclocs; fix up syntax/module-reader to use the new protocol; re-enable arrows to the language position in Check Syntax
svn: r9174
2008-04-06 23:31:58 +00:00
Robby Findler
e6872b07a0 PR 9248
svn: r9158
2008-04-04 03:33:58 +00:00
Robby Findler
067f39713b fixed PR 9257
svn: r9080
2008-03-25 01:37:22 +00:00
Matthew Flatt
c58820e30d vyzo's thread mailboxes (3.99.0.19)
svn: r9010
2008-03-18 00:38:36 +00:00
Matthew Flatt
b64d03d932 fix mac sdk support; change initial namespace to not have 'module'; set up mzc --c-mods (still need docs)
svn: r8997
2008-03-16 23:08:53 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Robby Findler
362f16b411 the paren matcher now works for previous interactinos with the REPL and hitting return up above copies the text down to the next prompt
svn: r8840
2008-03-01 21:49:31 +00:00
Robby Findler
551d980774 PR 9217
svn: r8801
2008-02-25 18:19:09 +00:00
Robby Findler
871bb0bac5 part of PR 9217
svn: r8797
2008-02-25 13:37:55 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Matthew Flatt
ca1a9dc8bf docs form David Van Horn; Slideshow tweaks
svn: r8661
2008-02-14 14:07:57 +00:00
Robby Findler
ff9938a87f added check ala PR 9185
svn: r8647
2008-02-13 17:34:40 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Robby Findler
a1b8ba51ad PR 9186
svn: r8601
2008-02-09 14:52:01 +00:00
Matthew Flatt
d83e62b71c generate-search-results renamed to perform-search (I think)
svn: r8563
2008-02-07 11:49:57 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Matthew Flatt
60f7074bab doc fixes and rendering tweaks
svn: r8453
2008-01-28 22:43:50 +00:00
Robby Findler
eda72235bd check syntax now (silently) copes with an exception raised by the documentation xref loading
svn: r8439
2008-01-28 02:11:31 +00:00
Robby Findler
288fb78029 made memory limits be on by default and improved 'killed' dialog to turn up the limits
svn: r8424
2008-01-26 14:37:55 +00:00
Robby Findler
765a40a2ea fixed test case coverage and debugging (the latter only when the file isn't saved)
svn: r8423
2008-01-26 13:52:20 +00:00
Robby Findler
58d6285752 fixed PR 9157
svn: r8378
2008-01-21 03:37:34 +00:00
Robby Findler
d219107a0a fixed PR 9140
svn: r8374
2008-01-21 00:33:28 +00:00
Robby Findler
2e3c05b14e removed the dependency between the string-constants library and mrlib
svn: r8369
2008-01-19 20:13:02 +00:00
Robby Findler
2be06881d0 fixed a bug in check syntax
svn: r8359
2008-01-18 02:44:45 +00:00
Matthew Flatt
739fde15cb add contributed scribbling for 'lazy'
svn: r8349
2008-01-16 14:39:56 +00:00
Matthew Flatt
134474805d add Danny to acks
svn: r8324
2008-01-14 19:56:22 +00:00
Matthew Flatt
d532fe4781 finish up main page: release notes, etc.; add Yavuz's errortrace scribbling
svn: r8314
2008-01-13 14:53:54 +00:00
Robby Findler
1fe5e608b4 fixed a bug in non-debug language levels
svn: r8270
2008-01-09 15:10:15 +00:00
Robby Findler
379f2a162b searching in help desk now says 'no results' if there are no results, and the help desk menu item in drscheme opens the front page of the manuals
svn: r8227
2008-01-05 22:39:32 +00:00
Matthew Flatt
7fc41024c0 3.99.0.9: binding links in docs use nominal import sources
svn: r8196
2008-01-03 19:07:02 +00:00
Robby Findler
cbcb5bf57b added searching to the keybindings dialog
svn: r8194
2008-01-03 16:56:46 +00:00
Robby Findler
8b20d62969 fixed some bugs so that long names still allow drs to start up and limited the name message in the upper-left to be at most 200 pixels wide
svn: r8176
2008-01-01 17:00:56 +00:00
Robby Findler
16ed718c71 fixed error reporting and brought back the red arrows for the stack trace
svn: r8172
2008-01-01 01:55:04 +00:00
Matthew Flatt
1d8b21f53b disallow empty application; rename regexp-match/fail-without-reading to regexp-try-match
svn: r8152
2007-12-29 13:51:32 +00:00
Robby Findler
7459da43ce renamed the Special menu to Insert
svn: r8141
2007-12-27 20:39:51 +00:00
Matthew Flatt
396dd54b06 call-with-exception-handler change, plus some configure/Makefile changes that didn't help fix the built-on-10.5-for-10.4 problem but are still healthier in the long run
svn: r8102
2007-12-22 12:41:48 +00:00
Robby Findler
4cd7477c85 converted to scheme/base
svn: r8087
2007-12-21 01:57:50 +00:00
Robby Findler
937a656d68 updated the insert large letter dialog
svn: r8078
2007-12-20 02:46:43 +00:00
Danny Yoo
9a4d947174 added framework:gui-utils:quote-literal-label and framework:gui-utils:format-literal-string to escape ampersands in string labels. Updated drscheme/syncheck and drscheme/private/unit to use these functions.
svn: r8073
2007-12-19 21:38:55 +00:00
Matthias Felleisen
deca1bd57f matrix
svn: r8067
2007-12-19 17:45:31 +00:00
Robby Findler
02bd5d4a66 fixed PR 9113
svn: r8040
2007-12-17 23:16:23 +00:00
Robby Findler
92081b685d move docs to scribblings directory
svn: r8037
2007-12-17 16:34:17 +00:00
Robby Findler
ae17f72c1d fixed a bug int he way the menu for the documentation links was constructed
svn: r8030
2007-12-16 14:01:25 +00:00