Commit Graph

24442 Commits

Author SHA1 Message Date
Eli Barzilay
cffed0fab4 Test suite for `known-module', should have been included in the xrepl change. 2012-03-25 21:01:57 -04:00
Eli Barzilay
592d23f5b5 Minor improvement: use `make-rename-transformer' instead of a macro. 2012-03-25 20:57:53 -04:00
Eli Barzilay
cd4121548e Improve intro to the concept of phases, fix some scribble typos, reformat. 2012-03-25 20:57:52 -04:00
Eli Barzilay
acfe585c93 Some cleanups, mainly around badly indented CPP directives. 2012-03-25 20:57:52 -04:00
Eli Barzilay
89dee6f6c1 Xrepl improvements, mainly around the treatment of module names.
* Get rid of the concept of `modspec': `getarg' now has `require' for
  require specs and `module' for a module name (the latter is what all
  previous uses of 'modspec except for ,require really needed); command
  descriptions use "<require-spec>" and "<module>", documentation
  adjusted as well.

* `module-name?' etc turn to `known-module' and `known-module-name',
  with a saner behavior, and tests to keep it sane.

* This cleans up a lot of things.  Two specific points: ,switch works
  better with toplevel-defined modules (see the corresponding change in
  the test suite), and also fixes PR 12148.

* Ensure that ,sh commands return void.

* Add tests for ,r with non-atomic require spec, and for use of $F in
  ,sh commands.

* Improved the test suite, including uses of `module+' so each file can
  be run by itself to perform a subset of the tests.
2012-03-25 20:57:52 -04:00
Robby Findler
5280ef1517 clear the interactions text's undos from the drracket thread, not from the user thread 2012-03-25 17:25:48 -05:00
Robby Findler
0d6b825377 add a preference to control whether or not there is an extra
pixel of space in between lines in DrRacket.

This change is based on Matthew's experience having a look
at the font setup on the three platforms.

He writes:
>  * Mac OS X: the convention seems to be to add space between lines.
>   TextEdit, for example, looks like DrRacket: the maze has spaces.
>
>   (I can't find a font that makes the maze look right, actually, even
>   if I adjust the line spacing.)
>
>  * Windows: the convention seems to be that space is built into the
>   font. DrRacket (and SirMail) draw lines more sparsely than Notepad.
>
>   Perhaps consistent with the differing conventions, the height of
>   "Courier New" at 11-pixel size is 14 on Windows, 13 on Mac OS X.
>
>  * Unix: the convention seems to be to add space. DrRacket looks like
>   the default Terminal and Text Editor programs on Ubuntu.
>
>   The maze nevertheless looks right everywhere, because the glyphs
>   extend an extra pixel above the declared bounding box!
2012-03-24 20:20:05 -05:00
Sam Tobin-Hochstadt
c5e30d8af5 Use the correct #%app for applications of `local' bound identifiers in the student languages. 2012-03-24 16:04:08 -04:00
Sam Tobin-Hochstadt
a39001911c Improve filter for `path-string?'. 2012-03-24 16:04:08 -04:00
Matthew Flatt
ed05c385e8 coerce picts to PS/PDF in 'smoothed mode 2012-03-24 11:04:17 -06:00
Eli Barzilay
4469b669fc New Racket version 5.2.900.2. 2012-03-24 03:35:16 -04:00
Matthew Flatt
6e3c3d8b71 MSVC project fixes for various Debug and SGC modes 2012-03-23 17:58:39 -06:00
Matthew Flatt
0b783f80b7 fix problem with measuring text and font substitutions 2012-03-23 15:55:35 -06:00
Jay McCarthy
dfb4bc112d Removing the thread previously introduced which is now no longer necessary given the real problem 2012-03-23 10:47:56 -06:00
Jay McCarthy
9b579d8c2a Fixing the error message from PR12443 2012-03-23 10:44:43 -06:00
Jay McCarthy
99f1cc44df redex-match violates its documented contract
This patch fixes the problem that the hole matcher may return an empty
list rather than a #f that gets sent to the caller of redex-match. I
re-ran the Redex tests and found no violations. However, I am not
confident that there isn't a more correct place to put this '() -> #f
replacement.

I will be immediately forwarding this push email to Robby to have him
check it.
2012-03-23 06:39:14 -06:00
Matthew Flatt
523ccff762 minor doc improvements 2012-03-22 19:19:33 -06:00
Matthew Flatt
ae89e210fb allow (submod "..")' as a shorthand for (submod "." "..")'
Also, `(submod ".")' is allowed as a module path; it's not useful,
but it makes the grammar slightly more regular.
2012-03-22 18:43:11 -06:00
Matthew Flatt
876bc6f02b doc corrections and improvements related to submodules
In particular, add `module+' to the Guide.
2012-03-22 15:12:55 -06:00
Kevin Tew
d4d5ca70fb Hold reference to original thread during BEGIN_ESCAPABLE in place-channel sync
Fixes several bugs related to killed threads that were in the middle of
syncing on place-channels.
2012-03-22 14:52:48 -06:00
Matthew Flatt
c1dbaff6b8 revise phases section in small ways to match the guide's style 2012-03-22 12:41:55 -06:00
Matthew Flatt
16ef341e98 fix JIT bug related to inlining `variable-reference-constant?' 2012-03-21 19:37:46 -06:00
Matthew Flatt
5cb3422ea9 semi-export ability to extract multiple images from gif 2012-03-21 19:37:46 -06:00
Robby Findler
1b0df5d48d fix rotate so that it can accept non-integral arguments
closes PR 12632
2012-03-21 19:45:45 -05:00
Ryan Culpepper
74ca931f5a more template improvements
- loosen pattern variable depth rules (now compatible with syntax)
- generalize ?? form to head-templates
- doc improvements
- propagate paren-shape property
2012-03-21 17:48:10 -06:00
Ryan Culpepper
df265ddc67 syntax/parse: eliminate old minimatch struct syntaxes 2012-03-21 17:33:08 -06:00
Ryan Culpepper
6c369f2563 updates to syntax/parse/experimental/template
- changed substitute to use closure-compilation
- added stress/perf test for templates
- updated minimatch with vector patterns
- split substitute into separate file, minimize dependencies
- do ellipsis optimization dynamically
- validate guides: check var indexes
2012-03-21 17:33:08 -06:00
Robby Findler
f77467311a specify 'angle's range 2012-03-21 16:59:53 -05:00
Jon Rafkind
a606f6614b [honu] add two more tests 2012-03-20 11:32:46 -06:00
Jon Rafkind
918c87e96b [honu] return the current expression when a semicolon is parsed 2012-03-20 11:32:46 -06:00
Matthew Flatt
47ae2b387a fix shaodwing problem in `module*' 2012-03-20 07:28:35 -06:00
Matthew Flatt
5551e287da fix typo 2012-03-19 14:34:33 -06:00
Sam Tobin-Hochstadt
56120d9697 Fix types for regexp-match*' and regexp-match-positions*'.
Note that the keyword arguments themselves are not yet typed.
2012-03-19 15:59:34 -04:00
Vincent St-Amour
999de5a488 Fix bug in autobib's handling of urls. 2012-03-19 11:10:22 -04:00
Robby Findler
9bc1684c9b fix problems with user-defined keybindings and the example in the docs
as reported on the dev mailing list by António Menezes Leitao
2012-03-19 09:58:59 -05:00
Ryan Culpepper
8392f20b8f db: fix async test for mysql 2012-03-18 04:57:41 -06:00
Ryan Culpepper
c10bf245c5 db: fix mysql close-on-exec slowdown (TCP issue) 2012-03-18 03:31:17 -06:00
Ryan Culpepper
6b02b507a9 macro-debugger: fix parser for local-actions in mod pass 2 2012-03-18 03:31:17 -06:00
Ryan Culpepper
71772ba6c0 macro-debugger: internal debugging improvements 2012-03-18 03:31:17 -06:00
Robby Findler
4fe8cd344c disable the drracket toolbar buttons for scribble/lp files 2012-03-17 19:24:33 -05:00
Robby Findler
9d43203990 adjusted the render-* functions so they produce .pdf if the given
filename ends with #rx#"[.]pdf".
2012-03-17 08:36:34 -05:00
Jay McCarthy
145efa622e Adding #lang web-server/base 2012-03-16 11:54:46 -06:00
Jay McCarthy
a55029cf76 Fixes PR12638 2012-03-16 11:54:46 -06:00
Kevin Tew
9be864b2f8 Fix sync/timeout hang due to place channels - forgot to git add 2012-03-16 08:39:58 -06:00
Kevin Tew
666c0fdb57 Fix sync/timeout hang due to place channels 2012-03-16 08:18:05 -06:00
Eli Barzilay
f3a21c6aba Remove typed versions of the cgi exceptions. 2012-03-16 03:45:35 -04:00
Eli Barzilay
9d239170cf Add to/from bytes functions to the json library.
Also add a distribution specs line.
2012-03-16 02:55:35 -04:00
Eli Barzilay
818e434c60 Remove no-longer used net/cgi exceptions. 2012-03-16 02:55:35 -04:00
Jay McCarthy
03d3a8f429 Clarifying what #lang web-server has 2012-03-15 12:03:34 -06:00
Ryan Culpepper
e13cce267d macro-debugger: workaround for instrumentation problem in provide
The expansion observer is not propagated to expand_all_provides.
2012-03-14 23:19:25 -06:00