Commit Graph

4247 Commits

Author SHA1 Message Date
Eli Barzilay
026d81bb88 Post-release version for the v5.3.5 release 2013-06-15 16:37:57 -04:00
Eli Barzilay
04c43b6b58 New Racket version 5.3.4.12. 2013-06-12 03:30:23 -04:00
Asumu Takikawa
64807beaf6 Fix cstartup and the build.
Somehow this got messed up in c305dba though I'm
not sure how.
2013-06-11 14:05:40 -04:00
Asumu Takikawa
c305dba649 Remove memq, memv, member from #%kernel
These are now implmented purely in Racket on all
platforms.
2013-06-11 11:57:22 -04:00
Asumu Takikawa
7ad6d23657 Add an equality checking argument to member 2013-06-11 11:57:22 -04:00
Matthew Flatt
0f96a6634b fix `hash-copy' on weak hash tables
Closes PR 13838
2013-06-10 21:09:34 -07:00
Matthew Flatt
8a350a7dfd fix interaction of shadower, rename trasnformer, and free-id=? 2013-06-05 07:23:08 -06:00
Eli Barzilay
24110b3394 New Racket version 5.3.4.11. 2013-05-30 03:30:15 -04:00
Matthew Flatt
6b2a4ff54d include source-location in "missing module" exceptions
Also, add `current-directory-for-user' and `srcloc->string', and
adjust the way that source-location paths are reported to be
relative to `current-directory-for-user'.
2013-05-29 11:01:12 -06:00
Robby Findler
334052cb51 fix check in memory limit in drr's GUI (and fix
error message in custodian-limit-memory)

closes PR 13778
2013-05-25 10:06:21 -05:00
Matthew Flatt
7681cb0887 fix `tcp-listen' error-message construction 2013-05-24 14:55:38 -06:00
Matthew Flatt
a48154a665 fix problem in `free-identifier=?'
Renamings created by a rename-transformer binding were not treated
correctly by `free-identifier=?'.

Closes PR 12623
2013-05-20 14:36:54 -06:00
Matthew Flatt
d350869d10 fix thread-creation problem
When starting a thread, the thread was created and partially
initialized before trying to get a name for the thread from the given
thunk, but getting a name for the thunk could trigger scheduler
descisions, which could get confused by the partially initialized
thread.
2013-05-15 09:18:46 -06:00
Matthew Flatt
f8622080bb fix build for Windows 2013-05-12 16:59:28 -06:00
Eli Barzilay
aa933891c5 New Racket version 5.3.4.10. 2013-05-09 03:35:18 -04:00
Matthew Flatt
eb46eacad9 raco exe: enable on-demand parsing of embedded bytecode
Creating a stand-alone executable could slow down a program,
because bytecode embedded in an executable was not treated
in the same way as bytecode loaded from files. The difference
was in on-demand parsing of bytecode --- and now it's enabled
for embedded bytecode, too.
2013-05-08 12:31:34 -04:00
Matthew Flatt
7946c73c42 avoid a constant folding that can use too much memory
Closes PR 13738
2013-05-08 10:24:16 -04:00
Matthew Flatt
53efe920b3 Move explode-path' from racket/path' to `racket/base'
The revised `explode-path' runs in time proportional to the
length of the path, instead of quadratic in the number of
path elements. The difference doesn't matter much in my
program, but I'm reluctant to leaving the implementation
as quadratic (which is forced by using `split-path').
2013-05-08 09:54:30 -04:00
Matthew Flatt
2310eb367f remove dead code
The removed line was added due to a misreading of a failure
path as a slow path.

Thanks to Jon Zeppieri.
2013-05-08 09:54:29 -04:00
Eli Barzilay
36e40ed340 New Racket version 5.3.4.9. 2013-05-08 03:30:15 -04:00
Matthew Flatt
7339074741 racket/place: keywords as place messages 2013-05-07 14:48:21 -04:00
Juan Francisco Cantero Hurtado
2ba4a9891a Add urls with the info about deps to README. 2013-05-07 10:48:53 -04:00
Richard Hopkins
af1bf7188e Correct typos in src/README 2013-05-07 10:44:14 -04:00
Matthew Flatt
e75393a59b bump version 2013-05-07 09:07:40 -04:00
Matthew Flatt
169e801803 switch rascket/base' and scheme/base' to submodule language style
The `#%module-begin' of `racket/base' and `scheme/base' now introduces
a suitable `configure-runtime' submodule, instead of using the
`module->language-info' path.

A submodule is a lot easier to work with, as illustrated by the
removal of the `racket/private/lang' and `scheme/private/lang'
languages.

Also, add `#%printing-module-begin', which is the old `#%module-begin'
(i.e., the one that doesn't introduce a `configure-runtime' submodule).
2013-05-07 08:31:16 -04:00
Matthew Flatt
27f1b39294 add `configure-runtime' submodule support
A language can now introduce a `configure-runtime' submodule that
is `dynamic-require'd before the enclosing module.

This new submodule protocol provides a more general and
easier-to-understand way of configuring the run-time environment for
a module's language, as compared to the `module->language-info'
path (through a `get-info' function, via a 'configure-runtime value,
and finally loading the specified module).

The `module->language-info' path remains in place, and it is
checked after a `configure-runtime' submodule is run, since
that order is likely to be the most backward compatible.
2013-05-07 08:31:16 -04:00
Matthew Flatt
34d0037b37 fix `module' non-simplification of syntax during expansion
This change affects the time required to `expand' a module.
2013-05-07 08:31:16 -04:00
Matthew Flatt
717eacf90d fix bytecode validator bug
If a function is bound by a `letrec' (or internal definition)
that cannot be simplified to `let' or lifted to a constant or
top-/module-level function, and if the `letrec' binding is used in
a non-application position, and if the function has in its closure
a typed binding (i.e., boxed, fixnum, flonum, or extflonum),
then the validator was incorrectly rejecting the function's
bytecode --- because the validator didn't distinguish between typed
arguments and typed closure content.

File under "surprised that we didn't hit this one earlier".
2013-05-03 09:13:41 -06:00
Tobias Hammer
e278d43e22 use correct value for (processor-count) on QNX 2013-05-03 09:13:41 -06:00
Eli Barzilay
a4cb954e27 New Racket version 5.3.4.7. 2013-05-02 03:30:13 -04:00
Matthew Flatt
4e6e18119c add advice on cross-compiling for Android 2013-05-01 20:41:40 -06:00
Matthew Flatt
69c417e55b work around Android dlsym() bug 2013-05-01 20:41:40 -06:00
Matthew Flatt
5d653e52ba configure: fix ar' and as' inference for cross-compile 2013-05-01 20:41:40 -06:00
Matthew Flatt
61ca229a57 add GC-stress mode
Stress mode forces a GC on every N allocation attempts, and it makes
JIT-generated code always take a slow path.

This mode uncovered only a bad test case and some boring start-up
bugs (boring because start-up is deterministic enough that they
never happen), so far.
2013-05-01 20:41:40 -06:00
Matthew Flatt
93b1f3ef2c repairs for when set_locale() always return NULL
... as it does on Android
2013-05-01 20:41:39 -06:00
Matthew Flatt
176ff287a8 fix `read-syntax' on a vector with a size and no given elements
Closes PR 13720
2013-04-30 08:46:47 -06:00
Matthew Flatt
60610b737d add some comments to help explain the compiler's space-safety pass 2013-04-28 15:26:36 -06:00
Matthew Flatt
e468d1f6a5 minor code improvement 2013-04-28 15:26:35 -06:00
Robby Findler
ad323e5081 typos 2013-04-28 15:13:49 -05:00
Eli Barzilay
ec52a0e51d New Racket version 5.3.4.6. 2013-04-27 03:30:11 -04:00
Matthew Flatt
7ad1ddab64 fix bytecode compiler safefor-space, tigher bytecode validation
The safe-for-space pass could add clearing operations on "typed"
stack positions, which are known to contain a fixnum, flonum, or
extflonum. Non-clearing references, however, were not annotated to
indicate that clearing references were present, since clearing is
not expected on typed positions.

Along the lines of not expecting clearing, the bytecode validator's
encoding of the stack doesn't accomodate both "has a type" and "claims
never to be cleared", so it couldn't detect the bytecode compiler
bug. (Also, this problem didn't show up in the HOSC paper's model of
the validator, because the model pre-dates type tracking.)

Fix the bytecode compiler's space-safety pass so that it never inserts
clearing operations for typed stack positions. Then, the validator can
simply reject any attempt to clear a typed position.

Also, annotate applications generated by lifting as safe-for-space
tail calls.

Merge to v5.3.4
2013-04-26 22:47:42 -06:00
Matthew Flatt
06fe68b834 JIT: fixnum comparison on known-fixnum arguments needs no slow path 2013-04-26 22:47:42 -06:00
Matthew Flatt
400e461d75 fix a parameter check 2013-04-26 07:12:21 -06:00
Matthew Flatt
d977a2c65d update kernel parameter checks to new error-message format 2013-04-25 16:46:23 -06:00
Matthew Flatt
fa297566f1 libffi fix
Closes PR 13707
2013-04-25 08:27:03 -06:00
Matthew Flatt
749c0842a8 fixes for Windows related to missing-module exceptions 2013-04-24 12:53:38 -06:00
Matthew Flatt
fd883dbf32 fix a JIT bug related to inlined structure constructors
Merge to v5.3.4
2013-04-24 06:35:53 -06:00
Eli Barzilay
d123e09686 New Racket version 5.3.4.5. 2013-04-24 03:30:16 -04:00
Matthew Flatt
dc19b8f4e2 ffi/unsafe: fix memory-management problem in recent change
Fixes a problem with bba223a9fe.
2013-04-23 19:07:07 -06:00
Matthew Flatt
3779cf6192 fix `exn:fail:filesystem:missing-module-path' 2013-04-23 15:06:26 -06:00