Jay McCarthy
b20ffdbe95
Fixing breakage from push 23693
2011-10-10 08:27:34 -06:00
Jay McCarthy
354283132d
Fixing PR 12271
2011-10-10 06:45:42 -06:00
Matthew Flatt
c805728d3e
fix compiler confusion: non-mutating vs reorderable unsafe ops
...
Reordering `unsafe-vector-ref' past an `unsafe-vector-set!' was
particularly bad. Meanwhile, some non-mutating operations like
`unsafe-mcar' were treated too conservatively.
Merge to 5.2
2011-10-09 19:46:24 -06:00
Matthew Flatt
1bc80310e3
fix compiler bug that could cause infinite inlining loop
...
The bug was that a procedure could be incorrectly marked as
a "leaf" procedure, which could in turn cause the compiler
to keep inlining a very small procedure that calls itself.
Closes PR 12270
Merge to 5.2
2011-10-08 16:40:34 -06:00
Stephen Chang
79dd7df945
fix lazy stepper bug: annota of non-identifier fns
...
- fix lazy stepper bug where delaying of non-identifier fns
wasnt being properly hidden
- add test case for this bug
include in 5.2
2011-10-08 15:59:32 -04:00
Matthew Flatt
379991c5bb
fix text% `get-paragraph-{start,end}-position' bug and doc bugs
...
Merge to 5.2
2011-10-08 09:12:30 -06:00
Robby Findler
1eaf53d4cb
adjust the module lexer so that it treats the entire range that
...
'read-language' uses as a single token in the case that read-language
fails. This helps it to deal with things like s-exp and at-exp
properly
closes PR 12260
2011-10-08 08:08:36 -05:00
Ryan Culpepper
a100395626
rackunit: prevent test case from killing test-runner thread
...
closes PR 11586
2011-10-07 19:40:48 -06:00
Robby Findler
a40f288e48
relaxed the restrictions on planet requires in the teaching languages to allow the new forms
2011-10-07 11:48:24 -05:00
Matthew Flatt
b6a9330bf1
more `raco exe' cycle repairs
2011-10-07 10:32:49 -06:00
Matthew Flatt
f02ea92250
fix compiler bug related to `#%variable-reference' on local
...
The first compiler pass didn't properly shift the stack offset
when adjusting the context of a varref of a local.
Closes PR 12258
2011-10-07 09:42:33 -06:00
Sam Tobin-Hochstadt
463a34ec90
Revert "Fixing racket/match by removing errorneous optimization with test that shows it is broken"
...
This reverts commit 41307f1346
.
2011-10-06 18:32:05 -04:00
Sam Tobin-Hochstadt
1d9ac41772
Use unsafe-vector* instead of unsafe-vector in a few benchmarks.
2011-10-06 18:17:45 -04:00
Robby Findler
5829673215
adjust the scheme-lexer test suite so that it complains to stderr to fit
...
with drdr
also change two of the failing tests so they pass, but incorrectly and
add a note there to that effect so if someone does fix that eventually
they won't be confused (I hope)
2011-10-06 12:00:23 -05:00
Jay McCarthy
41307f1346
Fixing racket/match by removing errorneous optimization with test that shows it is broken
2011-10-05 16:29:16 -06:00
Neil Toronto
d3b5e21cae
Added new plot library and old libfit (which plot still depends on)
2011-10-05 10:26:49 -06:00
Matthew Flatt
fe1909581b
remove `raco exe' plot test
2011-10-05 09:40:27 -06:00
Eli Barzilay
515c8dc6c1
Fix for `make-module-evaluator' with a file.
...
It used to work, but now it fails since when it runs "/foo/bar/baz.rkt"
racket uses 'exists with "/foo/bar". See the comment for the fix that I
used.
2011-10-05 07:20:59 -04:00
Eli Barzilay
e01e46b772
Removed the `plot' collection, in preparation for adding the new one instead.
2011-10-05 04:09:10 -04:00
Robby Findler
11a3d9b0ac
add support for redirections to get-pure-port and add get-pure-port/headers
2011-10-03 13:21:30 -05:00
Robby Findler
1fa6129afc
adjust the "Transfer-Encoding: chunked" code to re-use bytes more
...
agressively
2011-10-03 13:21:29 -05:00
Matthew Flatt
a0378d956a
fix place refcount
...
Originally, the refcount was either 0, 1, or 2, so a `char' was
enough. It's not enough now that place channels increment the
refcount.
2011-10-03 06:39:18 -06:00
Robby Findler
57042de4da
add a test case that ensures that the default values of optional arguments
...
are not subject to the argument on the contract
2011-10-01 16:03:28 -05:00
Kevin Tew
e650764a4c
place-channel? returns #t for place descriptors, doc clarification
2011-09-30 17:15:11 -06:00
Sam Tobin-Hochstadt
88c7bf649c
Parallel version of k-nucleotide.
...
2x faster on very big inputs, slower on small inputs.
2011-09-30 11:42:58 -04:00
Ryan Culpepper
1c6b8bd68e
syntax/parse: lazily load most macro transformers and compile-time support
2011-09-30 04:13:09 -06:00
Matthew Flatt
99fe14b080
fix problems with phase-1 syntax definitions
...
Closes PR 12234
2011-09-29 16:54:08 -06:00
Matthew Flatt
a857e9e041
fix JIT bug in `fl->fx'
...
For the case that the argument is unboxed.
Closes PR 12240
2011-09-29 16:54:08 -06:00
Sam Tobin-Hochstadt
d279593c15
Parallel spectral-norm shootout benchmark.
2011-09-29 17:51:00 -04:00
Sam Tobin-Hochstadt
2d3a713f0d
More shootout optimization.
2011-09-29 17:51:00 -04:00
Robby Findler
2c018a749c
PR 5440 requests that the 'electric' > in XML boxes work properly in
...
this situation:
<a x="<b
and, in particular, not do this:
<a x="<b></b>
Looking into this a bit, it isnt' clear how to do this without actually
parsing the whole buffer, something that doesn't seem to be worth
the effort with the amount of use that the XML boxes seem to get
So, for now: closes PR 5440
2011-09-29 12:03:58 -05:00
Matthew Flatt
ac8990d519
add date*' and
exn:fail:syntax:unbound'
...
The `date*' structure type is an extension of `date' with
`nanosecond' and `time-zone-name' fields.
The `seconds->date' function now accepts a real and returns a
`date*'. The fractional part of its argument goes into the
`nanosecond' field.
2011-09-29 09:22:10 -06:00
Robby Findler
1c630063c5
remove debugging edit
2011-09-28 19:56:37 -05:00
Robby Findler
c8cbe81e51
fix problems with the autosave recovery gui and add a drdr test for it
2011-09-28 17:06:30 -05:00
Matthew Flatt
2ae6d0c55f
fix expand of `#%variable-reference' on local variable
...
Closes PR 12231
2011-09-27 18:53:28 -06:00
Matthew Flatt
ec49225112
fix expand-imports' for renamed
quote'
...
Closes PR 12235
Thanks to Carl for the report and test case
2011-09-27 17:45:18 -06:00
Robby Findler
0baa32bcf8
fix the way that the set of identifiers to rename is calculated so that
...
macros that do strange things like the one below are treated better
(define-syntax-rule (m q)
(begin (lambda (q) q)
(define q 1)))
(m x)
x
2011-09-26 13:00:23 -05:00
Robby Findler
ae34e1a960
fix a race (suggested by drdr test results)
2011-09-26 06:08:58 -05:00
Matthew Flatt
e226dd7e26
add `contract-out'
2011-09-24 22:30:56 +09:00
Robby Findler
abda257295
moved the 'send to repl' keystrokes to the manual (and added a test
...
suite to make sure the example code in the manual doesn't get stale)
2011-09-23 16:37:18 -05:00
Vincent St-Amour
ef2acecb96
Forbid non-productive recursive types.
2011-09-23 14:40:17 -04:00
Sam Tobin-Hochstadt
a55e86d93b
Initial parallel versions of Shootout benchmarks.
2011-09-22 15:48:22 -04:00
Ryan Culpepper
7cc1476170
syntax/parse: fix bug: integrated stxclass might not bind pvar to syntax
2011-09-21 16:58:52 -06:00
Robby Findler
d654d3e09b
add the place creation memory use to the memory-log test
...
(this required rearranging a bunch of local-member-names)
2011-09-20 17:15:02 -05:00
Robby Findler
5ce47fe988
adjust a syncheck test so hopefully to avoid mutating datastructures from the wrong thread
2011-09-20 17:14:57 -05:00
Matthew Flatt
0ab6637539
remove obsolete and unused Racket-to-C compiler
...
Removes `raco ctool -e/-c', `mzc -e/-c', `compile-extensions',
`compile-extensions-to-c', `compile-c-extensions', `compiler/cffi',
`compiler/comp-unit', `compiler:inner^', and most options in
`compiler/option'.
2011-09-20 15:26:39 -06:00
Ryan Culpepper
2111f136aa
updated macro-debugger tests
2011-09-20 14:49:50 -06:00
Ryan Culpepper
43d3b5d8bc
rackunit: added #:wait? arg to test/gui
2011-09-20 14:49:49 -06:00
Matthew Flatt
0197902309
add var-ref->mod-decl-insp' and switch
cur-code-insp' uses
...
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.
The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Matthew Flatt
a7c607a708
fix module expand bug
2011-09-20 09:48:48 -06:00