Commit Graph

23525 Commits

Author SHA1 Message Date
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
Robby Findler
1ca79003f1 remove ? from German string constant to match similar removal from the English
(checked with Mike Sperber first)
2011-12-01 07:22:08 -06:00
Eli Barzilay
9f1de12e82 New Racket version 5.2.0.5. 2011-12-01 04:02:03 -05:00
Eli Barzilay
e0eccf7019 Make "icons" into a package, to include its documentation. 2011-12-01 03:55:44 -05:00
Eli Barzilay
a9b1f993d4 Remove redundant execution bit from some files, convert one CRLF file to LFs. 2011-12-01 03:54:32 -05:00
Eli Barzilay
fac07b964d Make get-libs retry downloads if they look stuck.
This resolves a problem with the osx64 machine, where downloads seem to
just get stuck after a while, without timeout errors.  Re-enable that
build.
2011-12-01 03:40:27 -05:00
Eli Barzilay
51787cab5a Make the version tool use "Racket". 2011-12-01 03:39:13 -05:00
Robby Findler
d1c29f8621 make the names of procedures with optional arguments be basedn on the
lexical name instead of "core" (this only shows up in stacktraces, as
far as I can tell)
2011-11-30 16:55:55 -06:00
Robby Findler
7f96ee19e0 When opening a new file, first load the file into the definitions text
before wiring up / initializing the new tab.  This means that the
file's name is not asked for, and thus a new "untitled" number is not
allocated too early

closes PR 12361 (and hopefully introduces no new ones)
2011-11-30 16:55:55 -06:00
Robby Findler
7b9cb97654 eliminate the word "online" from the description of
"instant check syntax" in the docs
2011-11-30 16:55:54 -06:00
Robby Findler
1717fb74cd adjust the drawing of the online check syntax dot when switching languages
closes PR 12366 (if it wasn't closed before, that is)
2011-11-30 16:55:54 -06:00
Robby Findler
082978effe improve the double-click-on-word behavior for scribble (generally when
double clicking inside a string) and when clicking on close
parentheses (specifically, only special case close parens that are
actually parentheses according to the colorer, rather than special
casing all close parens).
2011-11-30 16:55:54 -06:00
Robby Findler
f07095283d remove ? from string constant that should not have been there 2011-11-30 16:55:54 -06:00
Vincent St-Amour
c720d0f6f7 Add regexp-filter to unstable/string. 2011-11-30 17:54:28 -05:00
Vincent St-Amour
29bea4863e Add group-by to unstable/list. 2011-11-30 17:54:28 -05:00
Vincent St-Amour
8509b81f47 Allow integers as sequences in TR. 2011-11-30 17:54:27 -05:00
Ryan Culpepper
5c20a46c3a macro-stepper: better styling of errors, reduction steps 2011-11-30 09:24:24 -07:00
Ryan Culpepper
df3a9d8c7f macro-stepper: fix value of absent evaluations (local actions) on error
related to PR 12316
2011-11-30 09:24:24 -07:00
Ryan Culpepper
0db96352bf macro-stepper: temp fix for drracket tool
closes PR 12349, closes PR 10396

The macro stepper tool broke when DrRacket started doing expansion
earlier, before eval handler gets control. This commit changes the
macro stepper to just expand module contents. No REPL, no evaluation.

The long-term fix might be to make the macro stepper cooperate more
closely with the module language.
2011-11-30 09:24:24 -07:00
Ryan Culpepper
7fbd232c77 macro-stepper: display binding info for phases -5 to 5, clean up 2011-11-30 09:24:24 -07:00
Ryan Culpepper
7ebd15c4b0 db: export and document exn:fail:sql 2011-11-30 09:24:24 -07:00
Matthew Flatt
779b419c03 first cut at cross-module function inlining
Inline only trivial functions, such as `(empty? x)' -> `(null? x)',
to avoid generating too much code.

Bytecode includes a new `inline-variant' form, which records a
version of a function that is suitable for cross-module inlining.
Mostly, the variant let the run-time system to retain a copy
of the bytecode while JITting (and dropping the bytecode of)
the main variant, but it may be different from the main variant
in other ways that make it better for inlining (such a less loop
unrolling).
2011-11-30 07:39:36 -07:00
Matthew Flatt
1ebde53db7 fix `compiler-sizeof' docs and error message 2011-11-30 07:39:36 -07:00
Matthew Flatt
fa685207a3 add explicit `void's in some prototypes
Closes PR 12384
2011-11-30 07:39:36 -07:00
Robby Findler
c338e5bfe3 remove now-unneeded debugging printfs from drracket's module-lang test suite 2011-11-30 08:24:20 -06:00
Robby Findler
458e2c2282 some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
Robby Findler
9db206b231 add in keymap mixin 2011-11-29 18:43:37 -06:00
Robby Findler
dd4f307a47 use an aug-keymap instead of a keymap for the scheme mode keymap container 2011-11-29 14:27:51 -06:00
Robby Findler
1c2f9cd721 adjust the handling of the scheme mode keymap so that it can go
before the plain text-mode keymap.

Add a doubleleftclick binding to the scheme mode keymap so that
we can have sexp-sensitive double clicking in the drracket editor
2011-11-29 13:46:23 -06:00
Robby Findler
e935b1fa8e change the framework & drracket so that they still use the colorer
methods (paren matching, mostly) when the colorer is frozen
(but continue to avoid using them when the colrer is stopped)

closes PR 12374
2011-11-29 13:46:23 -06:00