Commit Graph

26893 Commits

Author SHA1 Message Date
Matthew Flatt
b223ad2d90 x86_64 JIT: use 32-bit jumps until forced to allocate far away
The JIT was pessimistically using 64-bit jumps for long branches
or any jump between code that is allocated at different times.
Normally, though, code allocation stays within the same 32-bit
range of the heap, so stick to 32-bit jumps until forced by
allocation addresses to use 64-bit jump targets.
2012-11-11 09:38:15 -07:00
Matthew Flatt
e217aaa507 remove accidental declaration 2012-11-11 09:38:15 -07:00
Robby Findler
b822efb9e5 add a check when switching between tabs to only do the required
work when the current tab isn't the one we're switching to
2012-11-11 08:53:13 -06:00
Robby Findler
0e655f8e79 only clear out the (offline) check syntax error message
panel when there is something definitely in the panel,
insert of doing on every insertion to the editor
2012-11-11 08:53:12 -06:00
Robby Findler
6704346db1 adjust the bluebox record-keeping code so that if there
is no bluebox information, then we can just bypass updating
it on insertions (especially important when loading a big
file into drracket, as there is a lot of insertion but no
blue boxes (yet))
2012-11-11 08:53:12 -06:00
Robby Findler
2626824aef detect when tracing:reset doesn't need to happen and skip it 2012-11-11 08:53:12 -06:00
Asumu Takikawa
90f6f1b300 Adjust benchmark test driver for TR 2012-11-10 19:28:56 -05:00
Asumu Takikawa
7c5db431a0 Add typed version of collatz benchmark 2012-11-10 19:28:56 -05:00
Robby Findler
c5330194a9 improve drracket's response to an unhappy aspell program
Specifically, two things:

 - make drracket more careful to not crash when aspell
   doesn't behave, and

 - have a more careful test when clicking the menu item
   (it now does a trial run of aspell instead of just
    looking for the binary)

closes PR 13242 (I realize there is still a feature
request mentioned in the audit trail of that PR, but
since the main problem is fixed, I'll consider that
to just be something separate)
2012-11-10 13:00:09 -06:00
Asumu Takikawa
b4a98af319 Fix whitespace in test 2012-11-10 12:03:47 -05:00
Asumu Takikawa
d22532db16 Fix Custodian type 2012-11-10 11:12:06 -05:00
Robby Findler
4421e227ff when changing the error arrows, only invalidate the editor
when the arrows are actually different (just using eq? here)
2012-11-10 08:51:58 -06:00
Robby Findler
867f2d3a43 use the real rectangles-intersect? predicate, not a broken one 2012-11-10 08:51:58 -06:00
Mike Sperber
59d378ce1e Synch German string constants with latest. 2012-11-10 09:18:50 +01:00
Mike Sperber
114f47fad6 Merge branch 'master' of git.racket-lang.org:plt 2012-11-10 08:57:48 +01:00
Claire Alvis
2f426943f0 Implementation of #:defaults keyword for define-generics 2012-11-09 20:14:56 -05:00
Danny Yoo
7618a6a737 Drop dead code. 2012-11-09 13:08:41 -07:00
Danny Yoo
641e855786 Translate uses of display with write-string.
Eli recommends that write-string should be faster in http://lists.racket-lang.org/dev/archive/2012-November/010764.html
2012-11-09 13:08:40 -07:00
Asumu Takikawa
daca1c0d5b Fix a free variance bug
Commit ffe45ecce had introduced a regression with some
polymorphic functions imported between typed modules due to
miscommunicated variance information.
2012-11-09 01:43:57 -05:00
Robby Findler
87dae0df7a add support for collecting backtraces 2012-11-08 07:45:19 -06:00
Jay McCarthy
fae660b0e4 Release Planet 2 (beta)
This was developed in a different repository, so the history will be
archived there:

https://github.com/jeapostrophe/galaxy
2012-11-08 06:16:42 -07:00
Eli Barzilay
5589bcb278 New Racket version 5.3.1.5. 2012-11-08 03:30:18 -05:00
Robby Findler
d20f9a8866 should have been removed in an earlier commit, but I wrote
the wrong git commandline
2012-11-07 21:52:14 -06:00
Danny Yoo
5cb2f3eb58 Avoid regexp-replace* unless the string really contains escapable characters. 2012-11-07 16:09:28 -07:00
Danny Yoo
40116eb16d Lift out empty-tag-shorthand parameter lookup out of the hot spot. 2012-11-07 16:09:27 -07:00
Danny Yoo
6d189287a9 Add let loop for recursion and slight performance increase. 2012-11-07 16:09:27 -07:00
Danny Yoo
fb3a95f9d5 Replace fprintf with explicit display for performance.
Replace fprintf with explicit display for performance.
2012-11-07 16:09:27 -07:00
Robby Findler
741be85f07 make the log follower always available in DrRacket 2012-11-07 16:07:07 -06:00
Matthew Flatt
7b04571fac racket/gui: add `get-current-mouse-state' 2012-11-07 14:37:39 -07:00
Eli Barzilay
d15059ada7 v5.3.1 stuff 2012-11-07 14:50:24 -05:00
Danny Yoo
5c6498b355 Fix for PR 13234. xexpr-core: added more test cases to
correct-xexpr?.  Inverted the logic and replaced the
continuation-passing style with simpler test-for-error logic.  Also
corrected typo in attribute symbol checker that could otherwise lead
to a contract error.  (taking the cadr of a non-cadrable value)
2012-11-07 11:46:32 -07:00
Robby Findler
facea9fe43 make the position and position-token structs transparent
(these seem to only not be transparent because that is
the default)
2012-11-07 11:57:07 -06:00
Sam Tobin-Hochstadt
0a0ac35ee6 Correctly bind place? for contract generation. 2012-11-07 12:21:09 -05:00
Sam Tobin-Hochstadt
056c1aaff4 Chars are compared with eqv?. 2012-11-07 12:21:09 -05:00
Eli Barzilay
1e55f71f8a Two more #lang racket' -> #lang racket/base'. 2012-11-07 11:34:33 -05:00
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Eli Barzilay
d2256e23e0 Another email for Matthew. 2012-11-07 11:22:19 -05:00
Matthew Flatt
891932074c adjust run length of short R5RS benchmarks 2012-11-07 07:46:26 -07:00
Matthew Flatt
ab5bbb5b37 flatten simple `define-values' within a module
This flattening is useful for the definition of `assq', for example.
2012-11-07 07:46:25 -07:00
Matthew Flatt
8033900674 add ad hoc optimization of car' to unsafe-car', etc.
In `(if (pair? x) E1 E2)', convert `(car x)' in E1 to
`(unsafe-car x)', and similarly for `(cdr x)'. Also,
`(begin (car x) (cdr x))' converts to `(begin (car x)
(unsafe-cdr x))' since `(car x)' implies a `pair?' test
on `x'.
2012-11-07 07:46:25 -07:00
Eli Barzilay
b786a49b5b #lang racket' -> #lang racket/base' conversions in frtime. 2012-11-07 08:03:46 -05:00
Eli Barzilay
6e4cad01e6 #lang racket' -> #lang racket/base' conversions in stepper. 2012-11-07 08:03:46 -05:00
Eli Barzilay
586b323430 #lang racket' -> #lang racket/base' conversions in net/websocket. 2012-11-07 08:03:46 -05:00
Eli Barzilay
f7dd4317a1 #lang racket' -> #lang racket/base' conversions in future-visualizer. 2012-11-07 08:03:46 -05:00
Eli Barzilay
4c8d1f67b2 #lang racket' -> #lang racket/base' conversions in demodularizer. 2012-11-07 08:03:45 -05:00
Eli Barzilay
bffe336220 #lang racket' -> #lang racket/base' conversions in plot and in images. 2012-11-07 08:03:45 -05:00
Eli Barzilay
26045a27fb #lang racket' -> #lang racket/base' conversions in drracket and in redex. 2012-11-07 08:03:44 -05:00
Eli Barzilay
39a0ab60a7 Some more #lang racket' -> #lang racket/base' conversions
(And some other related minor racketisms.)
2012-11-07 08:03:44 -05:00
Robby Findler
bc59cc43d4 fix the draw contract (and change some one-of/c's to or/c's) 2012-11-06 21:55:36 -06:00
Robby Findler
261700ef2c whoops, forgot to add this file in my last commit 2012-11-06 20:57:15 -06:00