Commit Graph

22276 Commits

Author SHA1 Message Date
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
Eli Barzilay
41ae2b57b6 New Racket version 5.1.3.3. 2011-08-21 03:50:12 -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
c908d77be1 history note 2011-08-20 11:10:35 -06: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
Eli Barzilay
2fbfe341b9 New Racket version 5.1.3.2. 2011-08-20 03:50:14 -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
dc1a97cec7 another subprocess fix like d7a996ee0b 2011-08-19 16:56:10 -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
d7a996ee0b fix for subprocess management (when places are enabled) 2011-08-19 13:57:28 -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
6073ef5ff5 fix `place-break' on a terminated place 2011-08-19 12:52:19 -06:00
Matthew Flatt
0c7b1925a5 change bad code to an assertion that's never needed 2011-08-19 12:52:08 -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