Commit Graph

24504 Commits

Author SHA1 Message Date
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
Matthew Flatt
58d01d0d12 fix dist specs for "icons" change 2011-12-02 09:03:57 -07:00
Matthew Flatt
efe165aeac futures bug fix 2011-12-02 08:04:52 -07:00
Robby Findler
2e54a89773 adjust drracket's repl so that it renders convertible things by turning them into .png's. 2011-12-02 08:10:32 -06:00
Stephen Bloch
39629e8e99 map-image and map-image/extra now give their function argument x and y
coordinates, or not, depending on the arity of that function.  This
enables one to write a simple function from color -> color and
immediately map it on an image.  For the situation in which the
function is location-dependent, one can still write a function from
x,y,color -> color and map this on the image.
2011-12-02 07:09:37 -05:00
Neil Toronto
29ad6b36b6 Replaced PLaneT logo
Replaced stop sign icons

Fixed some icons (esp. borders on shiny)
2011-12-01 23:04:27 -07:00
Neil Toronto
076453dacc Use bitmap' instead of icon->pict'
Rename `pict->icon' to `pict->bitmap' and put in `slideshow/pict'
2011-12-01 17:04:31 -07:00
Sam Tobin-Hochstadt
daf371059d Add link. Closes PR 9325. 2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
04b8962542 Fix doc mistake.
Close PR 9508.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
e9a045c695 Fix doc typo.
Related to PR 9501.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
6df35ce132 Fix doc typo.
Closes PR 12395.
2011-12-01 16:54:52 -05:00
Matthew Flatt
48524906d8 fix bug in cross-module inliner 2011-12-01 14:05:42 -07:00
Kevin Tew
78c2d7b9ab fix variables assigned but not referenced 2011-12-01 14:05:42 -07:00
Neil Toronto
73615de58f Precision improvements for user functions that return flonums
Performance: 2d-plot-area% now uses flonums internally as much as possible
2011-12-01 13:26:36 -07:00
Robby Findler
1c9c31efd1 drop the weekend condition for the default icon style 2011-12-01 13:45:26 -06:00
Robby Findler
301631c0d6 add a contract for slideshow/pict's bitmap function 2011-12-01 13:45:25 -06:00
Matthew Flatt
545b37ff0d add racket/performance-hint' with begin-encourage-inline' 2011-12-01 10:26:48 -07:00
Matthew Flatt
1bc2441b5a switch to syntax property for 'compiler-hint:cross-module-inline 2011-12-01 10:26:48 -07:00
Kevin Tew
903eb9ec32 Added place_obj->dead to detect places that terminate normally 2011-12-01 09:54:39 -07:00
Kevin Tew
288e84ff8d Dead code removal 2011-12-01 09:54:39 -07:00
Kevin Tew
d1ee222d19 Fix place.c typos 2011-12-01 09:54:39 -07:00
Kevin Tew
3b0568b39c Allow instanciation of places with resolved module paths 2011-12-01 09:54:39 -07:00
Kevin Tew
958ad908ab place scrbl fix 2011-12-01 09:54:38 -07:00
Robby Findler
45c72d0837 add a compiler-hint:cross-module-inline hint.
Calling this function:

(provide
 (contract-out
  [f (-> integer? integer?)]))
(define (f x) x)

from another module seems to speed up by about 8% with the annotation
in this commit.
2011-12-01 10:33:30 -06:00
Matthew Flatt
99032a75d0 inline map', for-each', andmap', and ormap'
More generally, support a
 (define _id (begin 'compiler-hint:cross-module-inline _proc-expr))
hint, which is how the compiler determines that `map', etc., are
candidates for inlining.
2011-12-01 06:59:27 -07:00