Commit Graph

24628 Commits

Author SHA1 Message Date
Jay McCarthy
54298bc2fd Closing 9646 2011-12-07 06:23:25 -07:00
Jay McCarthy
12580337f2 Fixes PR9965 and a missing doc xref 2011-12-07 06:23:25 -07:00
Sam Tobin-Hochstadt
a497300fbe Drop some trivially-pure code. 2011-12-06 17:20:32 -05:00
Sam Tobin-Hochstadt
8f133964f2 Disable test that needs input. 2011-12-06 17:20:32 -05:00
Robby Findler
8f12372b17 adjust the synchronization in check syntax for reading doc results to
cope with the case where the thread has been killed (the nacks are
apparently not triggered on thread death in some cases)

(optimistically) closes PR 12427
2011-12-06 16:13:17 -06:00
Robby Findler
2899fd0903 get rid of the obscenely long menu item name
closes PR 12423
2011-12-06 15:42:57 -06:00
Robby Findler
8f7572bc5e fixup the heart bitmap so it has an alpha channel and then add it into the weekend/weekday rotation 2011-12-06 15:42:57 -06:00
Jay McCarthy
6af5b312d6 Increasing timeout for benchmark 2011-12-06 11:00:49 -07:00
Matthew Flatt
958352eefc fix futures bug related to GC
When a future is blocked on JIT generation, a lightweight closure
is captured, and then the future moves on, the runtime thread would
correctly shift the on-demand JIT argument to the captured copy
of the runstack. However, it would also add 2 to that pointer
to use as the argv array, and the captured runstack is not allocated
to allow interior pointers, so a GC during on-demand JIT could
crash. The solution is to keep an offset alongside the argv pointer
during JITting.
2011-12-06 09:31:52 -07:00
Robby Findler
7a5e90f48f use build-path to construct path segments instead of putting slashes into strings 2011-12-05 21:01:28 -06:00
Robby Findler
1d03e5f711 adjust the double clicking in racket mode so that clicks on the
(instead of sexp-based)

closes PR 12421
2011-12-05 21:01:28 -06:00
Matthew Flatt
4f669f0d7e fix futures handling of tail-call results 2011-12-05 19:11:32 -07:00
Matthew Flatt
55b6670084 mysterx patch from Antonio Menezes Leitao 2011-12-05 19:11:32 -07:00
Kevin Tew
9f7e730a77 another round of unused variable clean-ups 2011-12-05 19:11:32 -07:00
Matthew Flatt
b25d1b42d6 minor clean up 2011-12-05 19:10:22 -07:00
Matthew Flatt
8dd4f1de21 fix futures bug
When `(continuation-mark-set-first #f ...)' should produce #f and
the continuation is lightweight-captured, the result was NULL
instead of #f.
2011-12-05 19:10:22 -07:00
Robby Findler
447bd44a0c minor rackety 2011-12-05 01:14:54 -06:00
Robby Findler
f725066bf9 fix bug in the handling of side-conditions 2011-12-05 01:14:54 -06:00
Matthew Flatt
8b3fae79c2 fix no-futures, no-places build 2011-12-04 08:07:13 -07:00
Matthew Flatt
1c6354e235 fix meta/check-dists
(Also, use a hash table instead of an association list for a
query cache.)
2011-12-04 08:01:48 -07:00
Matthew Flatt
59e41ce05f simpler stack-space check for Racket thread creation 2011-12-04 06:52:33 -07:00
Matthew Flatt
885bf6555f fix future resume in runtime thread with extra stack space
Also, fix the possibility that a future can shift from RUNNING
to PENDING while the runtime thread is checking PENDING then
RUNNING.
2011-12-04 06:52:33 -07:00
Matthew Flatt
333ffd7ede JIT tweak 2011-12-04 06:52:33 -07:00
Matthew Flatt
be80e7d864 fix an over-eager reordering by the bytecode compiler
The over-eager transformation could be space-unsafe, and it
could duplicate an unsafe operation whose result is used only
once in a function that eds up being inlined multiple times.
2011-12-04 06:52:33 -07:00
Sam Tobin-Hochstadt
821ec051d0 Avoid providing internal macro. 2011-12-03 18:46:01 -05:00
Matthew Flatt
7c7135f58e Revert "typo in universe' docs for on-new'"
The documentation is correct as-is.

This reverts commit eec86cdaf2.
2011-12-03 11:21:21 -07:00
Matthew Flatt
7d2914fc8a fix `defform[*]' handling of #:id and grammar production
In @defform*[#:id x1 [(qqq x1)]], for example, `#:id x1' needs to
calcel the default treatment of `x1' within `(qqq x1)' as
a metavariable, while treating `qqq' as a meta-variable.
2011-12-03 10:03:13 -07:00
Matthew Flatt
07342303e5 scribble: fix HTML rendering of table in nested flow starting item 2011-12-03 08:41:15 -07:00
Matthew Flatt
eec86cdaf2 typo in universe' docs for on-new' 2011-12-03 08:24:32 -07:00
Matthew Flatt
db3878e309 another futures bug fix 2011-12-03 07:35:39 -07:00
Matthew Flatt
788e8bb5f4 fix demod for inline-variant 2011-12-03 06:15:58 -07:00
Matthew Flatt
61fa9fe7dc improve dist spec (where collects:' is meant instead of package:') 2011-12-03 06:06:51 -07:00
Matthew Flatt
09d4d6c507 avoid uninitialized-variable warning from C compilers 2011-12-03 05:45:41 -07:00
Matthew Flatt
829e894af2 flatten (begin ... (begin ...)) in last pass of compiler
Flattening just makes bytecode slightly smaller.
2011-12-02 20:46:00 -07:00
Matthew Flatt
787437223c remove reference to `compiler/cffi'
Closes PR 12413
2011-12-02 19:44:29 -07:00
Matthew Flatt
dd5d1c9046 another futures bug fix 2011-12-02 16:47:59 -07:00
Matthew Flatt
7ddbc95b51 clean up `set!' implementation in ASL to avoid catching failures
The code seems to pre-date the failure thunk to `syntax-local-value'.
A problem with letting an exception get raised is that it triggers
the `error-value->string' handler, which loads Slideshow pict support
in DrRacket, which loads `racket/draw' at phase 1 --- which isn't
inherenty bad, but a lot of work that can be avoided.
2011-12-02 16:02:11 -07:00
Matthew Flatt
745c4b6470 fix another way that `racket/gui' instances can leak 2011-12-02 15:48:29 -07:00
Robby Findler
ce7523f01f more atoms can be shared now, so wrap 'em up 2011-12-02 16:38:56 -06:00
Ryan Culpepper
2e4d4e21ca rackunit: change exn:test to extent exn:fail
closes PR 12393
2011-12-02 14:41:17 -07:00
Ryan Culpepper
a1c7c2b6f9 macro-stepper: fix reset/obsolete/shutdown behavior 2011-12-02 14:41:17 -07:00
Ryan Culpepper
3dc78a3d1e macro-stepper: fix display of "confusable" objects 2011-12-02 14:41:17 -07:00
Robby Findler
e9a5cf05c7 change the strategy drracket uses for the convertible? values 2011-12-02 15:19:15 -06:00
Robby Findler
1f2d0462a9 guard against strange syntax objects being passed to 'code' 2011-12-02 15:18:18 -06:00
Matthew Flatt
7397f710e2 fix reconstruction of `provide' forms in module expansion 2011-12-02 13:58:39 -07:00
Vincent St-Amour
9417503492 Fix for/sum: when summing something other than integers. 2011-12-02 15:21:14 -05:00
Vincent St-Amour
3279ea4b61 Whitespace cleanup. 2011-12-02 15:21:14 -05:00
Matthew Flatt
96330556e7 fix secondary hash-code for weak hashes 2011-12-02 12:11:52 -07:00
Matthew Flatt
67c3aa4b2d improve comments on `future_t' fields; remove a redundant field 2011-12-02 09:58:22 -07:00
Matthew Flatt
c2fac607f0 another futures bug fix 2011-12-02 09:41:59 -07:00