Commit Graph

19612 Commits

Author SHA1 Message Date
Matthew Flatt
43dd4c7ab9 path normalization in setup/scribble
Needed so that `raco setup' doesn't rebuild documents as it
decides, say, that the "games/cards" document depends on
"games/scribblings\\games.scrbl" instead of
"games/scribblings/games.scrbl".

Has this been needed for a while, or did it somehow
become needed with recent changes to `raco setup' to
support `raco link'?
2011-08-28 19:20:19 -06:00
Matthew Flatt
b02e37b0b9 restore module cache
The module cache was added in 97ce26b1 (April 16, 2011),
but it was accidentally disabled in e9721058 (May 5, 2011).

This time, I figured out a way to test whether the cache is
working (other than to benchmark examples, which is how I
discovered that it wasn't working).
2011-08-28 18:15:44 -06:00
Matthew Flatt
2d1b0172fb move Reference reader & prnter docs to the model chapel
instead of having those sections buried in the I/O chapter
2011-08-28 18:15:43 -06:00
Robby Findler
64067efb04 adjust the online check syntax so that you get a subtle indication of read errors instead of just silence 2011-08-28 12:30:41 -05:00
Matthew Flatt
2692d119be fix cross-reference 2011-08-28 11:08:33 -06:00
Matthew Flatt
4f83f7f279 allow phase 1+ references to not-yet-defined bindings
For example,

 (define-for-syntax (f x) (g x))
 (define-for-syntax (g y) y)

is now allowed. The unbound-variable check for phase 1
and up is delayed until after the module body is partially expanded.
2011-08-28 10:27:31 -06:00
Matthew Flatt
b628ae8424 remove leftover tmp file during reference build 2011-08-28 07:50:41 -06:00
Ryan Culpepper
c97b3144fa db: added note for SQL Server 2011-08-27 16:31:22 -06:00
Ryan Culpepper
19774260f7 improve Continue db code: use table-exists? instead of catch all exn? 2011-08-27 16:31:22 -06:00
Ryan Culpepper
a2f75e494d db: implemented list-tables for odbc (db2, oracle only)
added dbms field to odbc connections
2011-08-27 16:31:22 -06:00
Ryan Culpepper
78f7c4fcd4 db: fix problems found by drdr
avoid running odbc-dependent modules in drdr
  fix scribble config to use abs mod paths in eval setup
2011-08-27 16:31:22 -06:00
Ryan Culpepper
92e2d1eb6e db: split off db/util/datetime module 2011-08-27 16:31:22 -06:00
Ryan Culpepper
a91e6f6452 db: "recordset" -> "rows-result", "rows" 2011-08-27 16:31:22 -06:00
Ryan Culpepper
7bd370cd33 fixed typo in Continue tutorial 2011-08-27 16:31:22 -06:00
Robby Findler
0f534be12c oops 2011-08-27 17:25:52 -05:00
Robby Findler
7c640c5c5d add a test case for starting up drracket when there is no writing to the filesystem allowed 2011-08-27 17:25:15 -05:00
Robby Findler
9fcc12b6a0 adjust drracket to be more accomodating in the presence of hostile filesystems 2011-08-27 16:41:35 -05:00
Robby Findler
8fd388fde1 adjust put-preferences docs to match implementation 2011-08-27 16:41:34 -05:00
Robby Findler
72e5e1248f make all of the planet tests run sequentially (as they manipulate global
planet state that causes them to fail when run in parallel)
2011-08-27 16:41:33 -05:00
Robby Findler
25eb851217 Revert "add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr"
I think I know why this test is failing now; no need for this info anymore

This reverts commit e88c8dbaa0.
2011-08-27 16:41:31 -05:00
Carl Eastlund
126d8192ff Added documentation example of sequence/c for multiple-valued sequences. 2011-08-27 14:46:43 -04:00
Carl Eastlund
fe3d4c9fe6 Fixed sequence/c to work with multiple-element sequences. 2011-08-27 14:13:27 -04:00
Carl Eastlund
871ea6dc76 Added tests for sequence/c with multiple-valued sequences. 2011-08-27 12:57:26 -04:00
Jay McCarthy
5c4a5ceb81 Adding another variant of libssl for CentOS 2011-08-27 06:54:50 -06:00
Jay McCarthy
33f562c5fd Adding tgz 2011-08-27 06:54:50 -06:00
Robby Findler
e88c8dbaa0 add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr 2011-08-27 07:54:12 -05:00
Robby Findler
6823941080 adjust framework get and put file functions to use simple-form-path instead
of normalize-path (I'm unsure of the ramifications of this change ...)
2011-08-27 07:54:11 -05:00
Robby Findler
1d13d1399c adjust the framework get file dialog functions to not call normalize-path unless
they've recently checked to see if the file exists
2011-08-27 07:54:10 -05:00
Robby Findler
913883fd28 adjust include-bitmap so that it does not write to the filesystem
(also, Rackety)
2011-08-27 07:54:08 -05:00
Mike Sperber
59be05131c Synch German string constants with latest. 2011-08-27 14:10:59 +02:00
Matthew Flatt
fcf24ab586 fix bug in `raco unpack'
due to recent conversion from `mzscheme' to `racket/base'
2011-08-26 19:31:06 -06:00
Matthew Flatt
733d6b97ff make libs dir to readable by default for sandboxed code
One example use is the handin server, where the ssl library
is needed to run some programs in my class. (I didn't figure
out exactly why, but it seems reasonable.)
2011-08-26 19:31:06 -06:00
Matthew Flatt
5579b12da0 fix `raco link' collection-name checking 2011-08-26 19:31:06 -06:00
Sam Tobin-Hochstadt
005923c284 Only generalize #t, not #f. 2011-08-26 14:08:40 -04:00
Sam Tobin-Hochstadt
c7ac40f33b Repair test for boolean generalization. 2011-08-26 14:08:40 -04:00
Sam Tobin-Hochstadt
598d81671a Intern based on sequence numbers for values that have them.
20% speedup on the empty program.  Closes PR 10734.
2011-08-26 14:08:40 -04:00
Sam Tobin-Hochstadt
403bb6414e Much more infrastructure for timing typed racket passes. 2011-08-26 14:08:39 -04:00
Vincent St-Amour
62a7122744 Fix TR printing. 2011-08-26 14:06:10 -04:00
Matthew Flatt
bedd7b1671 Guide corrections 2011-08-26 10:04:19 -06:00
Matthew Flatt
85790b6611 improve description of andmap' and ormap'
Based on suggestions from Dan Grossman and Ryan Culpepper
2011-08-26 10:03:53 -06:00
Matthew Flatt
71b500b49f speed up mult/unmult in `{get,set}-argb-pixels'
Also add test cases to check consistency of the results.
2011-08-26 09:13:28 -06:00
Eli Barzilay
2ef9f5ae0e Fix a bug in resolve-module-path' to do an expand-user-path', which
`file' specs do too (in `require' etc).
2011-08-26 10:13:27 -04:00
Eli Barzilay
6e50ecad99 Add $1', $2', ..., `$5' as last-value references. 2011-08-26 09:42:56 -04:00
Eli Barzilay
15211fbb42 Fix weak box tests for optional `weak-box-value' argument; add one for the new functionality. 2011-08-26 09:20:26 -04:00
Eli Barzilay
cda4479d1e Hold the saved values weakly. 2011-08-26 09:10:46 -04:00
Matthew Flatt
cc82506be5 fix alpha mult in `set-argb-pixels' 2011-08-26 07:06:31 -06:00
Matthew Flatt
290fe066b6 add optional argument to weak-box-value' and ephemeron-value' 2011-08-26 06:24:34 -06:00
Matthew Flatt
b0245395b7 add a test for undo-clickback repair 2011-08-26 06:07:57 -06:00
lvilnis
b0d909bd8f Fixed a bug with delete, undo and clickbacks in DrRacket 2011-08-26 06:07:57 -06:00
Sam Tobin-Hochstadt
ba09e906d8 Generalize #t and #f to `Boolean'. 2011-08-26 08:05:44 -04:00
Eli Barzilay
3b13b7dfc3 Added ryan as responsible for db collection; added to distribution specs. 2011-08-26 05:26:46 -04:00
Eli Barzilay
6203f53ef6 Syntax-based implementation for saved values, finally working. 2011-08-26 05:26:46 -04:00
Eli Barzilay
1db5ad97f8 Fix another bunch of "language" typos. 2011-08-26 05:26:46 -04:00
Robby Findler
22466b4158 fix a bug where drracket was not moving the menu underscores around
properly in the case that menu keybindings were disabled
2011-08-25 22:54:50 -05:00
Sam Tobin-Hochstadt
7dd209f905 Initial support for standard optional arguments. 2011-08-25 19:00:49 -04:00
Sam Tobin-Hochstadt
717476f84d Repair type of `find-relative-path'. 2011-08-25 19:00:49 -04:00
Ryan Culpepper
26145b4655 updated Continue tutorial to use db library 2011-08-25 12:56:42 -06:00
Ryan Culpepper
93222d4fba db: improved listing of db/base exports in docs 2011-08-25 12:56:42 -06:00
Ryan Culpepper
82896bfce2 db: added list-tables, table-exists? (except for ODBC, so far) 2011-08-25 12:56:42 -06:00
Ryan Culpepper
50f0a32f9e added db library 2011-08-25 12:56:42 -06:00
lvilnis
b77b379534 The "Profile" pane in DrRacket can now be dragged to resize. 2011-08-25 13:39:28 -05:00
Sam Tobin-Hochstadt
760625c031 Revise `require/typed' docs. Closes PR 11890. 2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
3707310250 Properly parse `Values' in types.
Closes PR 11145.
2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
4185da9035 Support vector arguments to `datum->syntax'.
Related to PR 10290.
2011-08-25 14:10:05 -04:00
Robby Findler
eb56a39a50 add the roots to the links info line in the bug report form 2011-08-25 12:33:33 -05:00
Robby Findler
701ea003e7 change the menu shortcuts so that file|close becomes <menukey>-shift-w when there
are multiple tabs (instead of just going away)
2011-08-25 12:33:33 -05:00
Robby Findler
9817820e4c remove non-existent files from the 'open recent' menu (but only when the file is selected) 2011-08-25 12:33:33 -05:00
Matthew Flatt
ecc058de4a change `raco exe' to disable collection lookup by default 2011-08-25 09:15:30 -06:00
Matthew Flatt
495c0da189 fix define-runtime-paths' and raco exe'
Cross-module optimization started inlining the `#f'
value for the table that `raco exe' replaces.
2011-08-25 09:15:29 -06:00
Matthew Flatt
ce7c0d62c3 if only a Unix root is shared, don't make a path relative 2011-08-24 20:08:20 -06:00
Matthew Flatt
ec29a2d85c add `use-collection-link-paths' 2011-08-24 20:08:19 -06:00
Matthew Flatt
7299b0603e check format of collection name in `raco link' 2011-08-24 20:08:19 -06:00
Matthew Flatt
84e3ab2a20 add support for collection roots to the collection links file 2011-08-24 20:08:19 -06:00
Matthew Flatt
8f0487d8e4 make `raco link' write relative paths 2011-08-24 20:08:19 -06:00
Matthew Flatt
71e92bcecf more `raco link' command-line changes: add -u, adjust -rn 2011-08-24 20:08:19 -06:00
Matthew Flatt
96098e678c change -s `raco link' flag to -l 2011-08-24 20:08:19 -06:00
Matthew Flatt
2dbaa45e1b add `raco unpack'
Although the ".plt" format is going to be replaced, the format is
currently viable for distributing collections, and I have wanted
a raw `unpack' command for a while. It was useful today to fix
problems with `raco pack' and collection links.
2011-08-24 20:08:18 -06:00
Robby Findler
ee17f7ce47 Revert "adjust the way the execute-callback is overridden so that this mixin"
This reverts commit 7dfffb3eb8.
2011-08-24 18:07:22 -05:00
Kevin Tew
5a30aa89eb Allow TCP sockets and file ports to be communicated across places 2011-08-24 14:33:54 -06:00
Sam Tobin-Hochstadt
a7cf16d486 Propagate expected function types propertly in case-lambda.
Closes PR 10139.
2011-08-24 15:29:10 -04:00
Sam Tobin-Hochstadt
d6f1c35e1b Reuse `case-lambda' syntax in optimizer. 2011-08-24 15:29:10 -04:00
Robby Findler
92fa4a8d58 add links to the bug report form 2011-08-24 13:37:25 -05:00
Robby Findler
41e22a6e3f added the ability to tell drracket to run a program and then run something after that
used that ability to make the scribble buttons work better
2011-08-24 11:25:26 -05:00
Robby Findler
7dfffb3eb8 adjust the way the execute-callback is overridden so that this mixin
cooperates better with other mixins that might do similar things
2011-08-24 11:25:24 -05:00
Robby Findler
4923e20994 clarify precise semantics of 'raco setup -D' 2011-08-24 11:25:23 -05:00
Matthew Flatt
a7855e20a8 add `raco link'
includes a rewrite the "Module Basics" section of the Guide
2011-08-24 09:07:14 -06:00
Matthew Flatt
b7bad5cc8a fix `racketmod' file box mode 2011-08-24 09:07:13 -06:00
Matthew Flatt
fa82d70cc6 slideshow/pict: add linestyle' and #:style' argument to `pin-line' 2011-08-24 09:07:13 -06:00
Matthew Flatt
f082919f0b doc style adjustments; reorg cmdline+editors docs in Guide 2011-08-24 09:07:12 -06:00
Matthew Flatt
a0ba7eb10c doc clarifications 2011-08-24 09:06:28 -06:00
Asumu Takikawa
36d3cc69db Typo in docs. 2011-08-24 03:00:41 -04:00
Robby Findler
6c91288f2f speed up bitmap rotation (could probably revisit this to
speed up flipping (and also to do all three in one pass)
2011-08-23 18:56:51 -05:00
Robby Findler
b425ca90d2 fix bug in the loading of non-alpha bitmaps (also: minor Rackety) 2011-08-23 18:56:50 -05:00
Kevin Tew
f85c73f83d change evt? to handle-evt? 2011-08-23 14:02:01 -06:00
Kevin Tew
0f595f4882 docs cpointers over place-channels 2011-08-23 14:02:01 -06:00
Kevin Tew
8782f4c445 send ffi pointers across places 2011-08-23 13:33:06 -06:00
Kevin Tew
fa4bb9dda0 Change cpointer tag to be a symbol 2011-08-23 13:33:06 -06:00
Danny Yoo
5e16770932 Hacked #lang algol60 into place
(Patch from Danny Yoo, touched up a little.)
2011-08-23 12:20:21 -04:00
Eli Barzilay
9091fddc52 Use (here-namespace) for autoloads, (not `hidden-namespace' which is more of a user workspace thing). 2011-08-23 12:08:37 -04:00
Eli Barzilay
01a591392e Some more ;-ized printouts. 2011-08-23 12:08:37 -04:00
Eli Barzilay
db5c6e02d7 Typo fixes, thanks to David Van Horn. 2011-08-23 12:08:37 -04:00
Robby Findler
034e4f2364 add test cases for old file 2htdp/image file formats
(and fix corresponding bugs)
2011-08-23 07:12:11 -05:00
Robby Findler
1f02106318 2htdp/image
normalize the internal representation of bitmaps so it always uses an alpha
bitmap instead of sometimes using a mask bitmap and sometimes using alpha.
This also fixes a bug where the library would get consfused when it saved
a bitmap to a file, since it didn't record if it was an alpha bitmap or not.

This improves the save files that contain images, cutting the size for bitmaps
in half (bringing the drracket save file down to a mere 25x larger than the
png file format for the example I was using...)
2011-08-22 19:09:52 -05:00
Robby Findler
f22ec82d96 fix brain fart
closes PR 12126
2011-08-22 19:09:51 -05:00
Robby Findler
8ccf50b84b use the pre-multiplied alphas when comparing images for 2htdp/image 2011-08-22 19:09:50 -05:00
Stephen Chang
35f3a29020 fix lazy stepper tests
add case to annotate/module-top-level in stepper/private/annotate.rkt
2011-08-22 17:58:22 -04:00
Sam Tobin-Hochstadt
3f3f99d849 Revert "Give appropriate inferred names to `big-bang' clause RHSs."
This reverts commit 5c95e8d46d which was accidentally committed.
2011-08-22 17:37:30 -04:00
James Ian Johnson
e12472bdf7 Changed rec-id black magic to a more robust syntax parameter solution. 2011-08-22 17:04:16 -04:00
James Ian Johnson
a873675832 Fixed a hygiene issue with rep-utils. Rec-ids were in improper phase. 2011-08-22 17:04:16 -04:00
Sam Tobin-Hochstadt
5c95e8d46d Give appropriate inferred names to `big-bang' clause RHSs. 2011-08-22 17:04:16 -04:00
Jay McCarthy
cee3d251ee This file uses this-expression-source-directory to implement this-package-version-symbol, but that comes from mzlib/etc which was not required 2011-08-22 14:15:04 -06:00
Matthew Flatt
853e47f05e fix broken-link reporting by `scribble' 2011-08-22 07:58:05 -06:00
Matthew Flatt
fc5fc02e5e doc `has-alpha-channel?' method 2011-08-22 07:58:04 -06:00
Sam Tobin-Hochstadt
e39abf17da Typed version of `racket/date'.
Contracts make it hard to have this library automatically typed.
2011-08-22 09:46:12 -04:00
Eli Barzilay
2bc2050c08 Fix when showing the description of a module.
Set `current-load-relative-directory' to the path of the module file so
paths that it resolves in the description (in `describe-modeul') are not
bogus.
2011-08-22 07:49:49 -04:00
Robby Findler
e2e2cedead typo 2011-08-21 22:02:32 -05:00
Matthew Flatt
bdadc453e0 fix `compile-collection-zos' 2011-08-21 11:43:59 -06:00
Matthias Felleisen
accb677f0e write and read files in 'text' mode; Closes PR12120 2011-08-21 13:35:06 -04:00
Robby Findler
963dc808fa fix bug in the way planet was setting up the state for the installation process 2011-08-20 19:15:46 -05:00
Eli Barzilay
a0baee8ab9 Sandbox fixes
* When `accept-lang?' is #t turn the reader flag on, but otherwise don't
  change it
* turn on the `read-accept-reader' flag which is needed after all
* two refactoring typos
* some more reformatting
2011-08-20 16:14:01 -04:00
Matthew Flatt
a587f047d6 test fixes for Windows 2011-08-20 11:08:12 -06:00
Matthew Flatt
345b06838d FFI: add C arrays and unions 2011-08-20 10:24:32 -06:00
Jay McCarthy
994092ea33 Allowing paths in convert-file and changing test to not be sensitive to cwd 2011-08-20 08:14:29 -06:00
Robby Findler
9f6862d12e more time for the planet resolver thread safety test 2011-08-20 07:33:14 -05:00
Eli Barzilay
102f3636a3 The Ubuntu build is actually Karmic now. 2011-08-20 06:26:40 -04:00
Eli Barzilay
bc0c466233 Some more let' -> define' uses. 2011-08-20 06:26:40 -04:00
Eli Barzilay
da3c6c9be2 Set read-accept-lang' to #t when reading a module in make-module-evaluator'.
Also, some reformatting including uses of `define'.
2011-08-20 06:12:55 -04:00
Eli Barzilay
dc2e4352e0 Add some extra safety when using ns' for the namespace, get rid of factored away unnecessary r' binding. 2011-08-20 05:38:54 -04:00
Matthew Flatt
e61ea772bb fix `path-element?' collision
Is there a better name than `path-piece?'?
2011-08-19 19:54:36 -06:00
Jon Rafkind
758edda5ce [honu] accidentally added these files, so removing them 2011-08-19 17:21:56 -06:00
Jon Rafkind
242337286d [honu] move test to the tests collection 2011-08-19 17:13:22 -06:00
Jon Rafkind
6b766cd395 [honu] add list comprehensions 2011-08-19 17:12:14 -06:00
Jon Rafkind
816b1747e9 [honu] fix if 2011-08-19 17:12:13 -06:00
Jon Rafkind
c6e35ff665 [honu] move test file. minor cleanups to the parsing code 2011-08-19 17:12:13 -06:00
Jon Rafkind
47d613f4ec add 'exit-code as an available symbol to the status procedure returned by process 2011-08-19 17:12:13 -06:00
Jon Rafkind
60aabdc8c5 [honu] don't stop parsing the current expression after invoking a macro.
add a file to help test honu.
2011-08-19 17:12:13 -06:00
Matthew Flatt
2606c59a29 fix `call-with-file-lock/timeout' example 2011-08-19 15:58:05 -06:00
Matthew Flatt
11f5c84493 fix make-lock-file-name'; add path-element?' 2011-08-19 15:46:44 -06:00
Matthew Flatt
32da8e2b1f fix same-scaled test 2011-08-19 13:15:36 -06:00
Matthew Flatt
89581f5e21 putting the "drscheme" collection last isn't useful anymore 2011-08-19 13:09:26 -06:00
Matthew Flatt
3f447b39e2 refactor some parallel-build code
- simpler and more reliable break protocol
- use logging instead of `eprintf' for non-exception errors
- avoid runtime code duplication in parallel-do macro
- fix some non-tail calls that should be tail calls
- print relevant place in "making" lines
- minor source formatting
2011-08-19 12:56:27 -06:00
Matthew Flatt
1b0abe85c7 trivial doc fix 2011-08-19 12:52:19 -06:00
Matthew Flatt
349c54f3c0 fix optimizer test 2011-08-19 12:51:49 -06:00
Robby Findler
2f1cf64b96 adjust timeout 2011-08-19 13:45:18 -05:00
Sam Tobin-Hochstadt
ae55d5afb6 Mark place-chan-rand as random for DrDr. 2011-08-19 14:25:23 -04:00
Jay McCarthy
3cd6be5931 I believe this fixes PR12117. The teaching languages rely on syntax/struct. (I have run the teaching language tests, but do not other uses of syntax/struct.) It appears that syntax/struct has been incorrectly creating this information for some time. The problem is that it would end the static info with a #f if the selectors or setters were omitted, but reading the documentation implies that there should be a final #f in either case. I've therefore changed the boolean to an or over the flags 2011-08-19 11:30:42 -06:00
Sam Tobin-Hochstadt
292feaad43 Useful error message when `with-type' used in a typed module. 2011-08-19 11:34:37 -04:00
James Ian Johnson
7af3d35bb3 Fixed compile failure. 2011-08-19 11:09:24 -04:00
James Ian Johnson
58d84d79db Removed e from fold-pat attributes. 2011-08-19 11:09:24 -04:00
James Ian Johnson
def3834aa2 Fixed a comment inconsistency about double quotation. 2011-08-19 11:09:24 -04:00
James Ian Johnson
06edc3153f Adding clarifying comments to rep-utils.rkt 2011-08-19 11:09:24 -04:00
Robby Findler
4d5a3fa971 Rackety (indentation, let->define, mzscheme->racket/base, module -> #lang) 2011-08-19 09:26:37 -05:00
Robby Findler
5455a16f47 fix bugs in the file locking protocol for planet packages
(in particular, support re-entrancy)
2011-08-19 09:26:36 -05:00
Matthew Flatt
d185c2a0df fix optimizer bug
Also fix missing copy-propagation opportunity
2011-08-19 07:35:39 -06:00
Matthew Flatt
7eb2042bd9 fix compiler handling of top-/module-level constants
The JIT and bytecode compiler disagreed on the definition of
"constant". Now there are two levels: "constant" means constant across
all instantiations, and "fixed" means constant for a given instantation.
The JIT uses this distinction to generate direct-primitive calls
or not. (Without the distinction, a direct jump to `reverse' could
be wrong, because `racket/base' might get instantiated with the
JIT disabled or not.)

Also, fixed a bug in the JIT's `vector-set!' code in the case that
the target vector is a top-/module-level reference that is ready,
fixed, or constant.
2011-08-19 06:32:44 -06:00
Matthias Felleisen
e01e72a7ed allow left-aligned figures 2011-08-18 18:26:14 -04:00
Eli Barzilay
18e8b92fa1 `purify-http-port' returns a new port, so make it close the old one. 2011-08-18 18:11:09 -04:00
Eli Barzilay
6091a5d972 Added explicit copyleft page to the website.
...to allow inclusion of text in wikipedia.
2011-08-18 18:11:09 -04:00
Eli Barzilay
38558b5fa7 typo in the description 2011-08-18 18:11:09 -04:00
Matthew Flatt
39edc5a599 `scribble' reports broken cross references by default 2011-08-18 13:05:37 -06:00
Matthew Flatt
ab477b958c fix reader graph-notation equivalence 2011-08-18 12:54:52 -06:00
Matthew Flatt
8eefaba187 fix `regexp-match' performance for short matches on long strings
More specifically, for a string of length N and a match that
only looks at the first M characters, the complexity of
`regexp-match' is now O(M) instead of O(N). This allows
`regexp-split' to be O(N) for a string instead of O(N^2).

Also, fixed a bug in non-greedy matching that could affect
both long strings and input ports.
2011-08-18 09:26:09 -06:00
Matthew Flatt
09b4a55d87 Revert "Fix a scribble test for plural "Examples""
The test was correct, and e4729afdbf fixes the bug.

This reverts commit 4eaab11d14.
2011-08-17 20:43:12 -06:00
Matthew Flatt
e4729afdbf fix plurality of `examples' label 2011-08-17 20:43:06 -06:00
Sam Tobin-Hochstadt
bdcc63b229 Handle apply for functions with no rest arguments. 2011-08-17 18:19:47 -04:00
Vincent St-Amour
cfec4280d3 Fix DrRacket test. 2011-08-17 17:34:55 -04:00
Jon Rafkind
07715da5e9 [honu] dont remove syntaxes that end expressions from the stream so macros can consume them. add a simple cond macro 2011-08-17 13:47:58 -06:00
Jon Rafkind
85110e177b [honu] handle unary operators. add some common functions and binary operators 2011-08-17 13:47:58 -06:00
Casey Klein
53e80f6f38 Adds a syncheck:add-arrow example to the docs 2011-08-17 11:59:43 -05:00
Casey Klein
2eced78000 Fixes indentation 2011-08-17 11:59:43 -05:00
Vincent St-Amour
c8a930550e Fix DrRacket tests. 2011-08-17 12:12:54 -04:00
Vincent St-Amour
83c7abb250 Move the "other editors" section later in the guide. 2011-08-17 11:37:25 -04:00
Sam Tobin-Hochstadt
5979a42448 Use a temporary directory to eliminate DrDr races in running benchmarks. 2011-08-17 11:24:53 -04:00
Eli Barzilay
9608c0f041 When a file is missing the ftp client throws an error, catch it. 2011-08-17 10:00:55 -04:00
Eli Barzilay
cc69dfbd71 Typo in error message. 2011-08-17 10:00:55 -04:00
Eli Barzilay
4eaab11d14 Fix a scribble test for plural "Examples" 2011-08-17 10:00:55 -04:00
Matthew Flatt
dfd58a2cdd adjust sandbox to give S-expression input "original" status 2011-08-17 06:22:27 -06:00
Robby Findler
a221e4bba2 move some helper files into the private/ directory for drracket tests 2011-08-17 06:19:23 -05:00
Robby Findler
9495145ea5 add more info to try to debug planet failure 2011-08-17 06:04:07 -05:00
Stephen Chang
d0175722e8 fix lazy.scrbl so it compiles properly 2011-08-17 02:07:43 -04:00
Stephen Chang
af3e0cea01 updated Lazy Racket to use racket/base
updated Lazy Racket to use racket/base instead of mzscheme
2011-08-17 01:48:58 -04:00
Casey Klein
cee4566ed4 Makes test work when compilation strips source locations 2011-08-16 19:18:18 -05:00
Sam Tobin-Hochstadt
52fb1e3460 Add more elements to the list of things that are events. 2011-08-16 18:10:02 -04:00
Robby Findler
cc4de51fb0 - make the planet module resolver thread safe
- fixed planet to actually use the uninstalled (.plt file) cache

- linkage code was completely broken, so it now stubbed out (see the file to
  resurrect it)

- other minor cleanups
2011-08-16 15:30:55 -05:00
Casey Klein
de732dd538 DrDr-disables the Redex Check Syntax test module
run-tests.rkt runs it itself
2011-08-16 14:32:34 -05:00
Casey Klein
e485e9f348 Tests define-judgment-form and metafunction renaming
Closes PR 11469
2011-08-16 14:32:34 -05:00
Casey Klein
9e2e11e9c4 Tests metafunction Check Syntax arrows 2011-08-16 14:32:33 -05:00
Casey Klein
efa04066c6 Tests define-judgment-form's Check Syntax interaction 2011-08-16 14:32:33 -05:00
Sam Tobin-Hochstadt
5870fec9c9 Simplify definition of (legacy) `typed-scheme' language. 2011-08-16 14:54:46 -04:00
Vincent St-Amour
01bc5b2822 Add ParenFace to the other editors docs. 2011-08-16 14:53:43 -04:00
Vincent St-Amour
d05f138ed2 Add precision to sequence-fold's doc. 2011-08-16 12:09:39 -04:00
Vincent St-Amour
ff0d843a09 Fix handling of impersonated vectors when bounds are fixnums. 2011-08-16 12:09:39 -04:00
Vincent St-Amour
a6e633ae2f Formatting. 2011-08-16 12:09:38 -04:00
Vincent St-Amour
59f5f24736 Make error messages more consistent. 2011-08-16 12:09:38 -04:00
Sam Tobin-Hochstadt
39459ec9c4 Document typed/scheme' versions of require/typed' and `require-typed-struct'. 2011-08-16 12:07:53 -04:00
Matthew Flatt
8264e77585 gtk: fix frame for text-field%' and other canvas%'es 2011-08-16 08:12:31 -06:00
Matthew Flatt
099a0eebed improve codeblock' and racketblock' docs
including an explanation of the advantages and drawbacks of each
2011-08-16 08:02:50 -06:00
Matthew Flatt
4555254380 add code' to scribble/manual' 2011-08-16 07:53:05 -06:00
Matthew Flatt
c7e7d0d8ff make racket' preserve #t' versus `#true' 2011-08-16 07:53:05 -06:00
Matthew Flatt
a1eaecb337 add an #:escape' clause to all schemeblock'-like forms 2011-08-16 07:53:05 -06:00