Ryan Culpepper
1dade8ee1d
db: added support for postgresql arrays
2011-10-30 18:51:16 -06:00
Ryan Culpepper
e2e63684de
data/order: added support for transparent structs, added tests
2011-10-30 18:51:16 -06:00
Matthew Flatt
d9b9cbe16a
fix space-safety bug in composable continuations
2011-10-29 09:37:12 -06:00
Sam Tobin-Hochstadt
706198c059
Add `typecheck-fail' form for explicit type errors.
2011-10-25 12:10:58 -07:00
Robby Findler
fb02a0a5cd
make list/c produce chaperone contracts, as appropriate
...
closes PR 12319
2011-10-24 08:16:49 -05:00
Robby Findler
a1654f1532
adjust the implementation of 'contract-out' so that it does some
...
checking of the syntax (that it can) and then just throws everything
to the end of the module, instead of trying to have it figure out
what the actually provided variables are at the beginning.
closes PR 12295
2011-10-24 08:16:48 -05:00
Jon Rafkind
6b519f7b64
[honu] remove extra semicolon from cond
2011-10-23 14:06:12 -06:00
Jon Rafkind
dccdcb0550
[honu] wrap expressions with a semicolon at the end of them in (%semicolon ...)
2011-10-23 14:06:06 -06:00
Vincent St-Amour
edacae9082
Fix benchmark graphs in the presence of the coefficient of variation.
2011-10-22 20:56:18 -04:00
Vincent St-Amour
a40723d14d
Don't run benchmarks when only showing what's available.
2011-10-22 20:52:38 -04:00
Vincent St-Amour
a0b987bc1e
Improve Guile benchmarking.
...
Thanks to Andy Wingo for pointers.
2011-10-22 20:52:38 -04:00
Sam Tobin-Hochstadt
da5b68fd4d
Fix wrapping of null' when provided as
Any'.
...
Reported by 'dingfeng' on #racket.
Please merge to 5.2.
2011-10-21 10:55:57 -04:00
Robby Findler
7acc5b7852
adjust HtDP teaching languages' first and rest so that they accept circular lists.
...
This commit fix an unintentional change introduced by this commit:
c7d67f9bab
(and it also adds in test cases for what that commit appears to have
been doing)
Assuming everyone agrees that the behavior for first rest from back
in 2010 is the behavior we still want (and the lack of release notes
on the subject makes me believe that we do), then:
Please include in 5.2.
2011-10-21 08:09:34 -05:00
Matthew Flatt
a81054fef4
fix a marshaling bug for syntax objects
...
Closes PR 12300
Merge to 5.2
2011-10-18 20:53:43 -06:00
Matthew Flatt
c514fd3470
fix an identifier binding bug
...
Merge to 5.2
2011-10-16 07:11:34 -07:00
Ryan Culpepper
1695d73f5b
rackunit: fixed test
...
merge to 5.2
2011-10-16 02:40:41 -06:00
Ryan Culpepper
18b3899e6a
rackunit: fix tests
...
merge to 5.2
2011-10-16 02:40:41 -06:00
Matthew Flatt
6d608e392c
add missing test for text% tab fix
...
Merge to 5.2
2011-10-13 06:03:10 -06:00
Matthew Flatt
5c0956d7b1
more memory accounting fixes for places
...
Fix memory accounting to detect when messages pile up in a
place channel and when shared values (such as the result of
`make-shared-bytes') pile up. Also fix problems where a GC
or free-page purge needs to be triggered.
The implementation causes a minor API change, which is that
a place channel sent multiple times as a message generates
values that are `equal?' but no longer eq?'.
Closes PR 12273
[Do not merge to 5.2]
2011-10-11 11:26:11 -06:00
Matthew Flatt
32b5390ad2
add missing GC registration for places
...
Merge to 5.2
2011-10-11 06:45:14 -06:00
Robby Findler
90304687f1
improve the strategy for check syntax's tail arrow information collection
...
In particular, instead of trying to collect all of the arrows and do some kind
of a smart transitive closure (that tries to avoid adding links that would "skip"
expressions but doesn't always manage it), the new code tries instead to build
the right links directly while traversing the fully expanded expression
This also seems to have been a minor performance improvement. When running the
information collection phase of check syntax (ie, not counting the time for
expansion) on a 1.8 GHz core i7, for collects/framework/private/text.rkt,
the times went from:
cpu time: 7347 real time: 7413 gc time: 211
cpu time: 7328 real time: 7393 gc time: 239
cpu time: 7356 real time: 7418 gc time: 240
to:
cpu time: 7562 real time: 7632 gc time: 265
cpu time: 7555 real time: 7618 gc time: 269
cpu time: 7552 real time: 7617 gc time: 262
closes PR 11835
do not include in 5.2
2011-10-10 14:18:01 -05:00
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
Matthew Flatt
5351d4c7b9
fix gc and stack-overflow problems in JIT, module expansion & run
...
The GC problem was related to generational GC and the way constant
values are associated to JIT-generated code. See `retaining_data'.
The stack-overflow problems affects the JIT, module expansion,
and module invocation.
2011-09-20 08:34:29 -06:00
Matthew Flatt
f280fb14b4
places: doc repair, refine error checking, fix a test
2011-09-17 07:29:07 -06:00
Matthew Flatt
48fdcdd65d
fix a path test for windows
2011-09-17 07:29:07 -06:00
Matthew Flatt
376efea754
doc clarifications and tests for some file-locking corners
2011-09-17 07:29:07 -06:00
Matthew Flatt
33831cbd8a
add test to run test suite in multiple places
...
This is something we've done in the past, but it doesn't seem
to be in the tree anywhere.
Also, repair old "parallel.rktl" test.
2011-09-16 16:19:04 -06:00
Eric Dobson
7fcf28bef2
Gave subprocess and similar functions more precise types.
2011-09-16 17:20:31 -04:00
Kevin Tew
a605a97132
place* throw error on closed port
2011-09-16 13:24:39 -06:00
Robby Findler
443434fd01
adjust hangman test suite strategy; instead of waiting for a hangman frame to get teh focus,
...
instead wait for a frame in the user's eventspace that has the name "Hangman".
also, some minor rackety
2011-09-16 12:24:39 -05:00
Eli Barzilay
c5b3317daf
Make `enter!' go into a module even if there was an error when it was instantiated.
...
Previously, when trying to `enter!' into a module, an exception would
abort the whole thing, leaving the repl where it was. This behavior can
be very confusing:
> (module foo racket/base (define x 123) (error "bleh!"))
> (enter! 'foo)
bleh!
> x
reference to undefined identifier: x
> (enter! 'foo)
> x
123
Things are a little better with xrepl, since the prompt always indicates
the module that you're in. Still, it's unfortunate that a module with
an error is more likely to be something you'd want to debug -- and most
people are likely to miss the fact that entering a second time will work.
So make `enter!' catch exceptions when requiring the module, change the
namespace, and then re-raise the exception so the user sees it and is
left in the expected namespace.
2011-09-16 11:31:41 -04:00
Eli Barzilay
f02d19553c
Protect against bad values in `current-module-declare-name'.
...
Closes PR 12125
2011-09-16 10:48:18 -04:00
Eli Barzilay
370678abf6
Avoid compiling wxme test files.
...
Since that requires `racket/draw', which requires libcairo, which is
missing on some build machines. It might be needed in the future, but
for now it's better to make it easier to add build machines.
2011-09-16 10:48:18 -04:00
Eli Barzilay
623c7493ed
Some selective #:when (not ...)' ->
#:unless ...'.
2011-09-16 10:48:18 -04:00
Eli Barzilay
26857abe43
Preserve thread values.
...
This avoid problems with tests that are broken by changing environment,
like the TR tests that implicitly rely on a specific printer.
2011-09-16 10:48:17 -04:00
Jon Rafkind
0b4e630b8c
[honu] return currently parsed form if a macro is seen
2011-09-15 16:01:54 -06:00
Jon Rafkind
18b18aaded
[honu] add string comparison. add test.xml file for linq example
2011-09-15 16:01:54 -06:00
Jon Rafkind
0790efd585
[honu] add order-by clause
2011-09-15 16:01:54 -06:00
Jon Rafkind
aaed60493a
[honu] recognize linq literals
2011-09-15 16:01:53 -06:00
Kevin Tew
b6972a3b7f
dynamic-place now pipes standard io to standard out and error much like system.
2011-09-15 14:53:58 -06:00
Matthew Flatt
039f9c10f3
fix calculation for hash code of a hash table
2011-09-15 14:23:44 -06:00
Matthew Flatt
051d677f0f
place-channel fixes
...
Finalization for a place channel used a recursive, non-atomic
function, which meant that a thread switch could happen during
place-channel finalization, leaving the new thread with the
master GC and generally confused. (The random-message test
found the bug right away on my machine.)
We already have a non-recursive, non-atomic function to traverse
place messages, so collapse all modes into that one implementation.
Along the way, problems with empty structs (found by random tester)
and checking of file descriptors (test added) also fixed.
2011-09-14 20:43:36 -06:00
Mike Sperber
bbb38c0ff9
Report signature violations in the REPL.
...
In the course of this, revamp the logic that controls when the
test-results window pops up and when it doesn't.
Closes PR 12185
2011-09-14 22:00:42 +02:00
Robby Findler
437d654cc1
add some more snips to the test suite
2011-09-13 20:46:05 -05:00
Vincent St-Amour
e61d472ed3
Fix xrepl tests.
2011-09-13 17:29:47 -04:00
Robby Findler
89ef65a746
fix the collapsed snipclass so that it cooperates with the wxme library and
...
thus saved files with collapsed snips can be required in non-GUI contexts
2011-09-13 14:58:39 -05:00
Robby Findler
cbaa25c2b0
add a test so that the current version of files with collapsed snips in them
...
continue to work going forward
2011-09-13 14:56:33 -05:00
Jon Rafkind
386d3f4e1f
[honu] add example of for form for iterating over lists
2011-09-13 12:15:47 -06:00
Jon Rafkind
501efef8a1
[honu] dont produce an extra void expression in a block. add a for form to iterate over a list. add an example of linq with xml
2011-09-13 12:15:47 -06:00
Jon Rafkind
1650294a83
[honu] add simple class form. share the function parsing syntax class
2011-09-13 12:15:47 -06:00
Vincent St-Amour
40456b4fd8
Add a field to base types to indicate if they are numeric types or not.
2011-09-13 11:22:24 -04:00
Jay McCarthy
78151e073b
Fixing the handling of request bodies on non-POST methods
2011-09-13 08:57:58 -06:00
Matthew Flatt
b7bef3b3aa
add syntax-transforming-module-expression?',
variable-reference->module-base-phase'
2011-09-12 17:08:50 -06:00
Matthew Flatt
c352ef8fce
allow different phases for `free-identifier=?' arguments
2011-09-12 17:08:50 -06:00
Sam Tobin-Hochstadt
d0bf047121
Add test of behavior like the "module" language in DrRacket.
2011-09-12 12:14:50 -04:00
Robby Findler
cd1c96d596
adjust check syntax to work with the new begin-for-syntax
2011-09-10 22:10:59 -05:00
Robby Findler
e947df4359
finally fixed up the syncheck tests so they run under windows
2011-09-10 22:10:51 -05:00
Stephen Chang
3a44c34b39
Merge branch 'master' of pltgit:plt
2011-09-09 02:30:24 -04:00
Stephen Chang
65dbdafa92
add strictness tests for lazy
2011-09-09 02:30:06 -04:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
Sam Tobin-Hochstadt
cd073ad549
Switch to racket/base to fix bizarre bug.
2011-09-07 16:08:00 -04:00
Eric Dobson
c62f09ac5b
Fixed subtyping for StructTop. Closes PR11099.
2011-09-07 09:17:04 -04:00
Eric Dobson
32becc2e0a
Change overlap for structs in TR. Closes PR11390.
2011-09-07 09:17:04 -04:00
Eric Dobson
53ce20d3f9
Resolve names in overlap in TR. Closes PR11392.
2011-09-07 09:17:03 -04:00
Jon Rafkind
6b2c251b24
[honu] remove old test file
2011-09-06 17:33:13 -06:00
Jay McCarthy
e9a9d79490
Better solution to pr12145
2011-09-06 15:42:12 -06:00
Ryan Culpepper
69a56ef683
db: clean up test suite, (test conditional) => (conditional test), timing
2011-09-06 12:41:03 -06:00
Kevin Tew
f44337e28e
Change stderr output to logging, to please drdr
2011-09-06 11:13:13 -06:00
Jay McCarthy
b2570bee3c
Fixing allowance of multiple headers
2011-09-06 10:06:23 -06:00
Robby Findler
c30122d1fc
more adjustments to try to get the drracket test suites running in drdr
2011-09-05 20:19:17 -05:00
Robby Findler
09e65716d5
add missing require
2011-09-05 20:19:15 -05:00
Matthew Flatt
6d944453a7
make memory accounting and places work together
...
The `current-memory-use' function's result now includes the memory
use of places created from the calling place, and custodian memory
limits apply to memory use by places (owned by the custodian).
This change is relevant to PR 12004 in that DrRacket will no longer
crash on the example if a memory limit is in effect, but plain
Racket starts with no such limit and will exhaust all memory.
2011-09-05 13:24:22 -06:00
Robby Findler
cda12b39ed
more adjustment of the drracket test suites to avoid using os-given focus information
...
also increase the timeout of the io.rkt test
2011-09-05 14:13:49 -05:00
Eli Barzilay
9c77ea7155
Actually run the strictness-tests.
2011-09-05 13:58:33 -04:00
Robby Findler
a67f509f90
add frame:focus-table-mixin & related things to be able to make drracket
...
test suites that don't depend on the OS giving any focus messages
2011-09-05 08:30:49 -05:00
Matthew Flatt
ee6104b4fc
fix `subprocess-status' when places are enabled
...
Closes PR 12158
2011-09-04 15:55:26 -06:00
Sam Tobin-Hochstadt
c0b4743b40
Tests for all Typed Racket languages, and add missing ones.
2011-09-04 12:58:13 -04:00
Eli Barzilay
6ebf3ab32d
Revert "Abolish "typed-scheme"."
...
This reverts commit 49a89da818
.
(Will be redone later today.)
2011-09-04 10:27:58 -04:00
Eli Barzilay
49a89da818
Abolish "typed-scheme".
2011-09-04 08:46:03 -04:00
Sam Tobin-Hochstadt
d2e1cc02dc
Move typed-scheme to typed-racket collection.
...
Compatibilty typed-scheme collection left.
2011-09-03 20:49:39 -04:00
Sam Tobin-Hochstadt
4c9c02905d
Add tests for non-linearity in `match-let'.
2011-09-03 18:13:34 -04:00
Matthew Flatt
a53f51d92d
fix HtDP local' to work better with macros that expand to
begin'
...
In particular, the forms within `begin' need to be partially
expanded before checking whether they're allowed.
2011-09-03 15:15:24 -06:00
Matthew Flatt
20a1440dcf
fix build-struct-generation' to work with
racket/base'
...
and also still works with `mzscheme'
2011-09-03 07:49:22 -06:00
Kevin Tew
dbcf70db30
Fix check for interactively defined module paths.
2011-09-01 15:17:22 -06:00
Kevin Tew
81f9bf4e1d
Fix dup errors, bignum deserialization, and port names across place channels
...
Fix bignum deserialization
Error reporting for failed dups during place channel communications
communicate socket port names across place channels
2011-09-01 12:02:21 -06:00
Kevin Tew
261f002ce2
Error messages for using places with symbol module paths
2011-09-01 12:02:20 -06:00
James Ian Johnson
3f23a67d57
Fixed the duplicate identifier bug in match-define-values and changed identifiers to conform to naming conventions.
2011-08-31 22:27:02 -04:00
James Ian Johnson
dc61372f3c
Implemented Sam's suggested changes for new forms, and added a new match/values form.
2011-08-31 21:45:21 -04:00
Sam Tobin-Hochstadt
36219c4b93
Use reference implementation for srfi/11.
...
Closes PR 12147.
2011-08-31 12:38:38 -04:00
Ryan Culpepper
19b1ff101c
db: fixed kill-safe-connection, improved tests
2011-08-31 05:40:24 -06:00
Ryan Culpepper
96663d4fa4
db: added #:use-place arg for ffi-based connections
...
SQLite and ODBC connections can use places to avoid blocking all
Racket threads.
2011-08-31 05:40:24 -06:00
Jon Rafkind
5f0a221a03
[honu] allow already parsed expression to pass through
2011-08-30 21:11:11 -06:00
Jon Rafkind
5dab69cf4b
[honu] new macro test
2011-08-30 17:19:17 -06:00
Kevin Tew
4d8833eab2
abandon unused scheme_socket_to_ports during place copy
2011-08-30 16:21:32 -06:00
Vincent St-Amour
0510bb0949
Have drdr run the missed opts tests.
2011-08-30 17:00:25 -04:00
Ryan Culpepper
b706fc1ebc
db: cleaned up testing script, run sqlite tests by default
2011-08-30 12:04:25 -06:00
Ryan Culpepper
397702808a
db: fixed virtual-statement
...
Eliminated interface test (shallow) in favor of method test
(correct, recursive). Also made vstmts work with virtual-connections.
2011-08-30 12:04:24 -06:00
Ryan Culpepper
1c6817426e
db: added group-rows, #:group arg to query-rows
2011-08-30 12:04:24 -06:00
Sam Tobin-Hochstadt
534d89b983
Fix type of `make-temporary-file'.
2011-08-30 11:33:40 -04:00
Sam Tobin-Hochstadt
3e1eb67336
Make environments much lazier about computing types; remove useless requires.
...
Allow duplicate type annotations when they are the same type.
2011-08-30 11:33:40 -04:00
Jay McCarthy
2dc0098d86
Changing test phase
2011-08-30 08:52:54 -06:00
Robby Findler
61aaf584c5
adjust the threading protocol for compilings files to be kill safe
2011-08-30 07:59:33 -05:00
Stephen Chang
8d962c0b4f
add strictness tests for Lazy Racket
2011-08-30 02:31:05 -04:00
Eli Barzilay
0f84202f78
This test can fail when running with the CGC.
2011-08-29 23:36:08 -04:00
Eli Barzilay
4ae7e05632
Finally there should be no temp file leftovers now.
2011-08-29 22:12:25 -04:00
Robby Findler
d4f4f754f1
make make-temporary-file use the source location for its template argument
...
(This involves making make-temporary-file be a macro instead of a procedure.)
2011-08-29 19:36:33 -05:00
Eli Barzilay
f3f3af124f
Removed SrPersist.
...
Blessed-by: Ryan
2011-08-29 16:55:42 -04:00
Eli Barzilay
1b05a2968c
Quick fix
...
(Didn't realize that tool names are relative to the info file.)
2011-08-29 16:48:15 -04:00
Eli Barzilay
e788903d0e
Remove a bunch of no-longer-needed `compile-omit-paths', and move the
...
few ones into the subcollections.
2011-08-29 16:33:12 -04:00
Eli Barzilay
d8029e4fca
Organize the errortrace tests.
2011-08-29 16:33:12 -04:00
Matthew Flatt
b02e37b0b9
restore module cache
...
The module cache was added in 97ce26b1
(April 16, 2011),
but it was accidentally disabled in e9721058
(May 5, 2011).
This time, I figured out a way to test whether the cache is
working (other than to benchmark examples, which is how I
discovered that it wasn't working).
2011-08-28 18:15:44 -06:00
Matthew Flatt
4f83f7f279
allow phase 1+ references to not-yet-defined bindings
...
For example,
(define-for-syntax (f x) (g x))
(define-for-syntax (g y) y)
is now allowed. The unbound-variable check for phase 1
and up is delayed until after the module body is partially expanded.
2011-08-28 10:27:31 -06:00
Ryan Culpepper
92e2d1eb6e
db: split off db/util/datetime module
2011-08-27 16:31:22 -06:00
Ryan Culpepper
a91e6f6452
db: "recordset" -> "rows-result", "rows"
2011-08-27 16:31:22 -06:00
Robby Findler
0f534be12c
oops
2011-08-27 17:25:52 -05:00
Robby Findler
7c640c5c5d
add a test case for starting up drracket when there is no writing to the filesystem allowed
2011-08-27 17:25:15 -05:00
Robby Findler
72e5e1248f
make all of the planet tests run sequentially (as they manipulate global
...
planet state that causes them to fail when run in parallel)
2011-08-27 16:41:33 -05:00
Robby Findler
25eb851217
Revert "add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr"
...
I think I know why this test is failing now; no need for this info anymore
This reverts commit e88c8dbaa0
.
2011-08-27 16:41:31 -05:00
Carl Eastlund
871ea6dc76
Added tests for sequence/c with multiple-valued sequences.
2011-08-27 12:57:26 -04:00
Robby Findler
e88c8dbaa0
add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr
2011-08-27 07:54:12 -05:00
Sam Tobin-Hochstadt
c7ac40f33b
Repair test for boolean generalization.
2011-08-26 14:08:40 -04:00
Matthew Flatt
71b500b49f
speed up mult/unmult in `{get,set}-argb-pixels'
...
Also add test cases to check consistency of the results.
2011-08-26 09:13:28 -06:00
Eli Barzilay
2ef9f5ae0e
Fix a bug in resolve-module-path' to do an
expand-user-path', which
...
`file' specs do too (in `require' etc).
2011-08-26 10:13:27 -04:00
Eli Barzilay
6e50ecad99
Add $1',
$2', ..., `$5' as last-value references.
2011-08-26 09:42:56 -04:00
Eli Barzilay
15211fbb42
Fix weak box tests for optional `weak-box-value' argument; add one for the new functionality.
2011-08-26 09:20:26 -04:00
Eli Barzilay
cda4479d1e
Hold the saved values weakly.
2011-08-26 09:10:46 -04:00
Matthew Flatt
290fe066b6
add optional argument to weak-box-value' and
ephemeron-value'
2011-08-26 06:24:34 -06:00
Matthew Flatt
b0245395b7
add a test for undo-clickback repair
2011-08-26 06:07:57 -06:00
Sam Tobin-Hochstadt
ba09e906d8
Generalize #t and #f to `Boolean'.
2011-08-26 08:05:44 -04:00
Eli Barzilay
6203f53ef6
Syntax-based implementation for saved values, finally working.
2011-08-26 05:26:46 -04:00
Eli Barzilay
1db5ad97f8
Fix another bunch of "language" typos.
2011-08-26 05:26:46 -04:00
Sam Tobin-Hochstadt
7dd209f905
Initial support for standard optional arguments.
2011-08-25 19:00:49 -04:00
Ryan Culpepper
50f0a32f9e
added db library
2011-08-25 12:56:42 -06:00
Matthew Flatt
ce7c0d62c3
if only a Unix root is shared, don't make a path relative
2011-08-24 20:08:20 -06:00
Kevin Tew
5a30aa89eb
Allow TCP sockets and file ports to be communicated across places
2011-08-24 14:33:54 -06:00
Sam Tobin-Hochstadt
a7cf16d486
Propagate expected function types propertly in case-lambda.
...
Closes PR 10139.
2011-08-24 15:29:10 -04:00
Kevin Tew
8782f4c445
send ffi pointers across places
2011-08-23 13:33:06 -06:00
Eli Barzilay
2bc2050c08
Fix when showing the description of a module.
...
Set `current-load-relative-directory' to the path of the module file so
paths that it resolves in the description (in `describe-modeul') are not
bogus.
2011-08-22 07:49:49 -04:00
Matthew Flatt
bdadc453e0
fix `compile-collection-zos'
2011-08-21 11:43:59 -06:00
Matthew Flatt
a587f047d6
test fixes for Windows
2011-08-20 11:08:12 -06:00
Matthew Flatt
345b06838d
FFI: add C arrays and unions
2011-08-20 10:24:32 -06:00
Jon Rafkind
242337286d
[honu] move test to the tests collection
2011-08-19 17:13:22 -06:00
Matthew Flatt
11f5c84493
fix make-lock-file-name'; add
path-element?'
2011-08-19 15:46:44 -06:00
Matthew Flatt
32da8e2b1f
fix same-scaled test
2011-08-19 13:15:36 -06:00
Matthew Flatt
349c54f3c0
fix optimizer test
2011-08-19 12:51:49 -06:00
Jay McCarthy
3cd6be5931
I believe this fixes PR12117. The teaching languages rely on syntax/struct. (I have run the teaching language tests, but do not other uses of syntax/struct.) It appears that syntax/struct has been incorrectly creating this information for some time. The problem is that it would end the static info with a #f if the selectors or setters were omitted, but reading the documentation implies that there should be a final #f in either case. I've therefore changed the boolean to an or over the flags
2011-08-19 11:30:42 -06:00
Matthew Flatt
d185c2a0df
fix optimizer bug
...
Also fix missing copy-propagation opportunity
2011-08-19 07:35:39 -06:00
Matthew Flatt
8eefaba187
fix `regexp-match' performance for short matches on long strings
...
More specifically, for a string of length N and a match that
only looks at the first M characters, the complexity of
`regexp-match' is now O(M) instead of O(N). This allows
`regexp-split' to be O(N) for a string instead of O(N^2).
Also, fixed a bug in non-greedy matching that could affect
both long strings and input ports.
2011-08-18 09:26:09 -06:00
Matthew Flatt
09b4a55d87
Revert "Fix a scribble test for plural "Examples""
...
The test was correct, and e4729afdbf
fixes the bug.
This reverts commit 4eaab11d14
.
2011-08-17 20:43:12 -06:00
Sam Tobin-Hochstadt
bdcc63b229
Handle apply for functions with no rest arguments.
2011-08-17 18:19:47 -04:00
Vincent St-Amour
cfec4280d3
Fix DrRacket test.
2011-08-17 17:34:55 -04:00