Jon Rafkind
58188ad0c6
add queue-count
2010-11-15 22:32:08 -07:00
Matthew Flatt
c3e0a7af13
manual tests for refresh behavior
2010-11-12 20:47:07 -07:00
Matthew Flatt
42a4465fb0
fix bytecode compiler bugs in tracking known-flonum arguments
2010-11-12 15:28:57 -07:00
Eli Barzilay
5c1bd77b9e
Add shuffle' to
racket/list'.
2010-11-12 17:21:11 -05:00
Noel Welsh
2b799e2714
Merge branch 'master' of pltgit:plt
2010-11-12 10:30:08 +00:00
Robby Findler
5a9c469b0f
added forall to go along with exists contracts
2010-11-11 14:39:43 -06:00
Matthew Flatt
27752c4695
plot bug fixes, including new images and a more forgiving image-equality test
2010-11-10 09:18:50 -07:00
Matthew Flatt
8d1827222c
improve docs in 'interior allocation mode and improve 'interior-atomic
2010-11-10 09:18:31 -07:00
Matthew Flatt
a0a414465d
fix problem with multiple captures of the same continuation
...
--- a bug introduced when enabling full continuations
to escape past continuation barriers in v5.0.1
Closes PR 11409
2010-11-09 16:48:23 -07:00
Matthew Flatt
0a179481a5
fix continuation capture in continuation transferred to a thread
...
where the prompt is the implicit one at the thread's creation
Closes PR 11382
2010-11-08 18:06:07 -07:00
Matthew Flatt
90ac279096
add 'can-impersonate option to `make-struct-type-property'
2010-11-08 14:00:59 -07:00
Eli Barzilay
f5f1243b33
Move "fuzz.rkt" test to "tests/racket/stress".
2010-11-08 09:48:00 -05:00
Matthew Flatt
7f67b6569c
v5.0.99.2: proxy' ->
impersonator'
2010-11-08 06:23:16 -07:00
Matthew Flatt
bc2c95f564
fix cm test that used gl-info_rkt.zo (which is now gone)
2010-11-07 19:21:03 -07:00
Matthew Flatt
39596efef5
cocoa and gtk: fix combo% `on-popup' method
2010-11-05 15:54:56 -06:00
Matthew Flatt
e033d9edf1
cocoa & gtk: fix some test failures
2010-11-05 15:54:54 -06:00
Matthew Flatt
4f2e59e7a6
some fixes prompted by the test suite
2010-11-05 15:54:48 -06:00
Matthew Flatt
d2275f4179
level-2 finalization from ffi/unsafe and late-weak references
2010-11-05 15:54:47 -06:00
Matthew Flatt
73dd8cc697
fix gc handling of ephemeron chains
2010-11-05 15:54:47 -06:00
Matthew Flatt
ca64c25cf9
cocoa: control fonts
2010-11-05 15:54:43 -06:00
Matthew Flatt
16b34c236a
gtk: misc fixes
2010-11-05 15:54:41 -06:00
Matthew Flatt
b4fafc1888
cocoa: printer-dc%
2010-11-05 15:54:38 -06:00
Matthew Flatt
70b26a5885
win32: more menus and widgets
2010-11-05 15:54:32 -06:00
Matthew Flatt
604afc1803
win32 widgets, mouse events, and cursors
2010-11-05 15:54:32 -06:00
Matthew Flatt
5809bc7790
fix slider value display and 'plain option
2010-11-05 15:54:27 -06:00
Matthew Flatt
c3fa1f01e8
cocoa mouse event and cursor fixes
2010-11-05 15:54:22 -06:00
Matthew Flatt
a747047145
special-option-key for cocoa
2010-11-05 15:54:19 -06:00
Matthew Flatt
a7a629e45b
showkey as module
2010-11-05 15:54:18 -06:00
Matthew Flatt
40c1c2ffef
cocoa cursors
2010-11-05 15:54:16 -06:00
Matthew Flatt
b020c2f858
fix gtk widget size info for sizing and positioning
2010-11-05 15:54:12 -06:00
Matthew Flatt
cc55bd7e93
restore auto-scroll canvases; fix text-rotation bug
2010-11-05 15:54:12 -06:00
Matthew Flatt
b69d4322af
fix canvas dc size reporting
2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e
auto-scroll canvases and frame status lines
2010-11-05 15:54:10 -06:00
Matthew Flatt
626ceef11b
misc repairs
2010-11-05 15:54:06 -06:00
Matthew Flatt
d7289c253f
support general transformation matrix
2010-11-05 15:54:04 -06:00
Matthew Flatt
049e4dbdcb
fix clipping
2010-11-05 15:54:00 -06:00
Matthew Flatt
dc00e22b85
fix drawing bugs and improve backward compatibility
2010-11-05 15:53:58 -06:00
Matthew Flatt
88606ae251
drawing repairs
2010-11-05 15:53:58 -06:00
Vincent St-Amour
4c081c127a
Fixed a fixnum typechecking issue.
2010-11-04 17:27:34 -04:00
Casey Klein
bd0ebc7511
Adds auto-completion to LaTeX and TeX inspired keybindings
2010-11-02 22:34:05 -05:00
Jay McCarthy
6d2042fbd9
The stacks appear to be different, so maybe the JIT is different on Linux and disabling it will get stable output?
2010-11-02 15:44:35 -06:00
Jay McCarthy
7c452ad7ea
Maybe the DrDr error is related to flushing?
2010-11-01 10:20:31 -06:00
Eli Barzilay
a7220062de
old typo
2010-11-01 08:25:35 -04:00
Jay McCarthy
690ed259ad
Wrapping standalone tests so that no stderr is produced
2010-10-29 22:35:20 -06:00
Jay McCarthy
ec7157744f
Repairing tests
2010-10-29 21:32:31 -06:00
Blake Johnson
783418ce37
only creating zo file
2010-10-29 19:50:12 -06:00
Blake Johnson
b2b5875e3e
replacing self modidx refs and tests
2010-10-29 19:50:12 -06:00
Blake Johnson
0688c18593
fixing logging and running code in zo-exs
2010-10-29 19:50:11 -06:00
Blake Johnson
77c46d07ee
debugging
2010-10-29 19:50:11 -06:00
Jay McCarthy
ac4fb05f0c
Correct error in mutator quote
2010-10-28 11:18:28 -06:00
Jay McCarthy
05832af083
Correct handling of procedure env roots in mutator
2010-10-28 11:18:27 -06:00
Sam Tobin-Hochstadt
561fdc8db5
Avoid dumb parsing bugs in require/typed.
2010-10-26 18:09:45 -04:00
Matthew Flatt
5d8e000d6d
swap vector*-ref' and
vector-ref', etc.
...
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Matthew Flatt
c512dbd6d3
fix bogus reordering of floating-point args in unboxing mode
...
Merge to 5.0.2
Closes PR 11272
2010-10-22 21:19:18 -06:00
Stevie Strickland
2847ac86bd
Rearrange ->d appropriately to use proxies/chaperones.
...
Also remove the old tests for tail-call behavior with ->d.
I think it was a faulty way of doing the optimization, and we can't even
do it in the same way now, since we can't get the original "raw" arguments
to the right place via continuation marks.
->i has a much better chance of having this optimization where possible,
and when I start converting ->i, I'll make sure to add appropriate tests.
2010-10-22 16:06:56 -07:00
Robby Findler
31f4a120f1
added two stress tests for ->i performance
2010-10-22 14:07:30 -05:00
Jon Rafkind
4ee161b296
dont require core files
2010-10-22 10:48:09 -06:00
Jon Rafkind
a3fefc1c35
add struct example
2010-10-22 10:48:07 -06:00
Jon Rafkind
a998a57000
add function tests
2010-10-22 10:48:06 -06:00
Sam Tobin-Hochstadt
dcd3f9a9aa
Flush output in fuzz testing.
2010-10-21 23:40:12 -07:00
Jay McCarthy
c2f8e4c0fe
Adding attributes to select-input
2010-10-21 22:29:28 -07:00
Eli Barzilay
aebf9e77ef
Fix require in test suite
2010-10-21 20:25:37 -04:00
Eli Barzilay
2f5265854a
Rename seqn-*' to
stream-*'.
...
Later this will grow, to include a few kinds of streams in a unified
way, and possibly change the sequence protocol to a point where these
functions are not causing such big runtime penalties.
2010-10-21 19:49:39 -04:00
Stevie Strickland
b272c02548
Have unconstrained-domain-> do tail checks as well.
2010-10-21 16:22:51 -07:00
Stevie Strickland
84f3cb115b
Add proxies for -> and ->*.
...
Attempt to do a recently intelligent job by using more specific lambdas
when possible (i.e., when the arity of the function matches the arity
specified by the contract).
Also, change testcases that test creation of proxy contracts to stop
depending on the proxy-ness of -> contracts. This also uncovered a bug
in the testcase that checks that proxy contracts aren't allowed for
the domain in hash/c.
2010-10-21 15:03:42 -07:00
John Clements
b37187da59
added universe-test
2010-10-21 07:19:10 -07:00
John Clements
d18f43a488
cosmetic changes only
2010-10-20 12:05:06 -07:00
Vincent St-Amour
a15236ea4f
Fix opt-lambda:. Merge to 5.0.2.
2010-10-20 14:32:37 -04:00
Robby Findler
b91a0da469
fixed and ->i bug that could cause expressions to be evaluated twice
2010-10-20 08:37:26 -05:00
John Clements
70898379c5
copied 'mzlib/convert-prop attachment from outer layer to inner layer.
2010-10-19 23:28:45 -07:00
Sam Tobin-Hochstadt
9cc35d59fe
Fix fuzz tester prop.
2010-10-19 17:58:29 -07:00
John Clements
0536d52efd
looks like a fix for cond
2010-10-19 17:50:35 -07:00
Robby Findler
ea985a81d6
added some more information to the error messages when a syncheck test case fails
2010-10-19 18:41:20 -05:00
Sam Tobin-Hochstadt
50bf3dc1be
Add zo-read/parse/run fuzz tester.
2010-10-19 14:51:13 -07:00
John Clements
2083181d2e
got testing harness working again.
2010-10-19 14:37:44 -07:00
Jay McCarthy
afd3a90607
Adding preamble to make-xexpr-response
2010-10-19 11:29:49 -07:00
Matthew Flatt
ddca8cd29b
fix non-inlined `in-vector' sequence on proxied vectors
...
Merge to 5.0.2
Closes PR 11225
2010-10-18 13:48:22 -07:00
Mike Sperber
32455894bc
Unbreak the test-engine-test.rkt test suite.
...
- signatures are only in ASL now
- the error messages for the DMdA languages are different
2010-10-18 09:37:48 +02:00
Matthew Flatt
caa747e5c6
fix an interaction of `dynamic-wind' pre thunks and composable continuations
...
Merge to 5.0.2
2010-10-16 19:44:33 -06:00
Jay McCarthy
e6b2965d39
Re-enabling tests
2010-10-15 13:08:39 -06:00
Jay McCarthy
f6fbc85d1b
Adding test printing tests
2010-10-15 13:08:38 -06:00
Jay McCarthy
e8ceade2a5
Little stress tests
2010-10-15 13:08:38 -06:00
Vincent St-Amour
12a5454b14
Removed logging when no optimization actually happens.
2010-10-14 14:13:06 -04:00
Robby Findler
dac011bc9f
move the signature coverage test to ASL since signatures are now only in ASL
2010-10-14 11:45:04 -05:00
Robby Findler
61188f3e44
adjusted to new error messages
2010-10-14 10:06:26 -05:00
Vincent St-Amour
3f5ea8a5be
Fixed a test to reflect implicit let in cond instead of implicit begin.
2010-10-14 10:53:43 -04:00
Robby Findler
3e9858b001
added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed.
2010-10-13 15:55:17 -05:00
Robby Findler
798e35bb4c
fixed a bug in the test suite so that test errors are now (all) reported to stderr instead of stdout
...
also added a test suite for teh 'language in the source' language
2010-10-13 15:55:17 -05:00
Matthew Flatt
6e23fcda5f
fix _short' and other non-
_int' integer types, and add `_intptr' test
2010-10-13 08:50:47 -06:00
Matthias Felleisen
df62ca47e9
added 'function', Closes PR 11283
2010-10-13 10:31:00 -04:00
Mike Sperber
bb098fc77c
Added rudimentary test suite for test engine.
2010-10-13 14:01:07 +02:00
Vincent St-Amour
27e722f27b
Inexact-Complex -> Float-Complex
2010-10-12 16:47:46 -04:00
Vincent St-Amour
a59a99c42d
Changed the TR numeric tower to use the new flonums.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
f3ae9c73b0
Changed the interface for running single optimizer tests.
2010-10-12 16:47:45 -04:00
Matthew Flatt
bf4fc2574c
fix syntax colorer for #true and #false
2010-10-12 08:22:12 -06:00
Matthew Flatt
99df8e1267
allow internal definitions in when',
unless', cond,
case', `match'
2010-10-12 06:41:49 -06:00
Eli Barzilay
6295824851
Some additional tests, and use () instead of {} for racket sexprs
2010-10-11 15:07:28 -04:00
Matthew Flatt
fe301b1ff4
print-boolean-long-form, #true, #false, read-accept-lang, flonum?
2010-10-08 15:13:04 -06:00
Mike Sperber
219c91d8e7
Check parametric struct/record signatures eagerly.
2010-10-08 17:01:47 +02:00
Mike Sperber
87da2f35b9
Provide English and German versions of deinprogramm/signature/signature.
2010-10-08 11:19:38 +02:00
Vincent St-Amour
db0046101c
Improved TR's error messages when all domains but one have been eliminated.
2010-10-07 18:30:35 -04:00
Matthew Flatt
65ad6aee20
fix `touch' to run a suspended future in the runtime thread
...
if no future thread is running the future; also adjust the
policy for suspending a future so that even synchronized
operations can suspend if there's other work to be done;
also also fix `current-future' for nested `touch'es and when
parallel futures are disabled
2010-10-07 14:58:53 -06:00
Matthew Flatt
15302dc844
adjust futures to decouple blocked futures from worker threads
...
which required adding a notion of "lightweight continuation" to
the runtime system, where a lightweight continuation involves
only frames from JIT0generated code (so that details of the stack
layout are known, for example)
2010-10-07 07:39:16 -06:00
Vincent St-Amour
3ec9503da9
Changed the typed benchmark harness to reflect optimization on by default.
2010-10-06 17:32:31 -04:00
Vincent St-Amour
abcbce129b
Changed the optimizer's test harness for optimization on by default.
2010-10-06 17:32:30 -04:00
Jon Rafkind
2f730f479c
add keyword argument to eli-tester that allows for silent successes
2010-10-06 11:10:43 -06:00
Jay McCarthy
57d27373ac
Fixing struct pattern optimization
2010-10-05 09:55:16 -06:00
Matthew Flatt
5a7ef5ee3f
some unsafe-...* fixes on chaperones
2010-10-05 06:29:47 -06:00
Matthew Flatt
649242ac86
fix JIT-inlined vector-set!' and
set-box!' to not mutate immutable
2010-10-05 06:29:47 -06:00
Eli Barzilay
8709715bf4
Add a test file to check the hack that errortrace uses.
...
(Makes it easy to know when it breaks, and hopefully to fix it when that
happens)
2010-10-04 22:22:24 -04:00
Jay McCarthy
0c47e572c0
Using unsafe operations in racket/match
2010-10-04 15:54:59 -06:00
Ryan Culpepper
ad76c9ea7b
fixed splay-tree bug
2010-10-04 11:54:03 -06:00
Ryan Culpepper
4aef03795d
added ordered-dict test
2010-10-04 11:54:03 -06:00
Vincent St-Amour
5a67535a95
Got rid of a broken subtyping rule.
2010-10-01 17:48:47 -04:00
Vincent St-Amour
f7436b59fb
Delete compiled benchmarks when testing.
2010-10-01 17:48:46 -04:00
Matthew Flatt
d6684dad8c
fix cstruct alignment handling
2010-10-01 10:49:40 -06:00
Matthew Flatt
4b120e5d86
add `proxy-prop:application-mark'
2010-09-29 12:26:46 -04:00
Robby Findler
2649e21e4b
fixed race-condition in hangman test case
2010-09-24 20:33:58 -05:00
Matthew Flatt
c1aa594657
add fvectors and unsafe-{s,u}16-{ref,set!}
2010-09-24 16:32:07 -06:00
Stevie Strickland
d2a3cbf6d0
Add better first-order checking for ->d and ->i.
...
Closes PR 11247.
2010-09-23 14:35:45 -04:00
Matthew Flatt
3d16dd698a
fix JIT-generated code for `vector-length' on a fixnum
...
and also code for operations like `fl<' on fixnums in
certain build modes (CGC, PPC)
2010-09-23 06:46:10 -06:00
Mike Sperber
593f8588fe
Implement lazy signature checking for ordinary pairs.
2010-09-22 11:03:01 +02:00
Robby Findler
8499a4e65d
added a test suite for the hangman teachpack
2010-09-21 15:27:49 -05:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Kevin Tew
faa0c86f50
Places: fix asynchronous receive
2010-09-20 08:42:55 -06:00
Matthew Flatt
fa7dd9b522
rename file to avoid :, which is not allowed under Windows
2010-09-20 03:31:18 -06:00
Stevie Strickland
3325350026
At Robby's request, remove the check for proxy-of?.
...
Due to the bad interaction between procedure-rename and getting the
contract info from the proxy/chaperone, this will cause a failure in
the contract test cases. I'm submitting a bug report for that issue.
2010-09-18 13:55:09 -04:00
Matthew Flatt
d92c4e44e2
fix make-reader-graph on proxied vectors
2010-09-17 18:42:29 -06:00
Ryan Culpepper
0d76f8ecbf
added data/order, docs
...
changed splay-tree, skip-list constructors to take orders
2010-09-17 16:54:54 -06:00
Ryan Culpepper
b74f3461e1
added general order functions
2010-09-17 16:54:54 -06:00
Matthew Flatt
f663307252
fix problem with procedure-chaperone, keywords, and proxy properties
2010-09-17 16:29:15 -06:00
Matthew Flatt
3866c3e450
generalize `flvector-copy' to support start and end indices
2010-09-17 13:35:01 -06:00
Will M. Farr
beb2175456
Added flvector-copy (with tests and docs).
2010-09-17 13:35:01 -06:00
Robby Findler
c6fc7137ee
Adjusts the contract system so that it preserves the names of functions.
...
closes PR 11220
Altho, this does not fix the case where a function is being passed thru
another contracted function. Eg, when you give the identity function
this contract: (-> (-> integer? integer?) (-> integer? integer?))
if you pass some function with a name in there, it won't come
back with a name anymore (indeed, it won't even have the name
anymore in the body of the function).
For that, the fix would have to be put into each of the function
contract combinators.
2010-09-17 11:30:04 -05:00
Matthew Flatt
232a580e53
add prop:proxy-of'; Fix
chaperone-of' on keyword-accepting procedures
2010-09-17 08:55:46 -06:00
Jay McCarthy
2447d8d07c
Adding test case to clarify student's error
2010-09-16 21:00:05 -06:00
Jay McCarthy
01a41a812e
Closing pr11216. Adding one armed check-error to teaching languages.
...
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]
Here is an example:
(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)
Here is the output:
Ran 4 tests.
2 of the 4 tests failed.
No signature violations.
Check failures:
check-error encountered the following error instead of the expected divide by zero
:: /: division by zero
in ex.rkt, line 2, column 0
check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
Stevie Strickland
a930719a87
Add the contract information to chaperoned boxes, hashes, and vectors.
2010-09-16 20:49:04 -04:00
Jay McCarthy
afcc7c818d
Fixing redirectget test
2010-09-16 13:42:47 -06:00
Ryan Culpepper
1a03a47842
updated splay-tree & skip-list interfaces, docs, tests, performance tests
2010-09-16 13:20:07 -06:00
Ryan Culpepper
19be445d89
contracts for gvector, skip-list
...
reorganized tests
2010-09-16 13:20:06 -06:00
Stevie Strickland
2677cbf1a4
Cleanups to first-order checking for box/vector/hash contracts.
...
* We no longer capture a contination when we have blame information.
* We perform first-order checks more eagerly in the mutable case.
2010-09-16 15:04:41 -04:00
Stevie Strickland
b416b7e5bb
Now migrate vector/c and vector-immutable/c.
...
Also add old-style vector/c to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
3028f2d142
Convert vectorof/vector-immutableof to the new regime.
...
Also add old-style vectorof to mzlib/contract.
2010-09-16 15:04:41 -04:00
Blake Johnson
c88eb704c7
removing indirects from zo handling
2010-09-16 12:45:37 -06:00
Jay McCarthy
4f49658835
Fixing problem reported by Robby.
...
Contracts intefere with safety marks.
2010-09-16 12:45:37 -06:00
Jay McCarthy
ab5a9ff1e8
Removing extra run-tests
2010-09-16 12:45:37 -06:00
Jay McCarthy
1f4c525245
Fixing pr11214
2010-09-16 12:45:37 -06:00
Jay McCarthy
4a89ccea5d
Fixing an annoyance with eli-tester when the error string contains ~
2010-09-16 12:45:36 -06:00
Vincent St-Amour
7e2094f2d7
Added a test for optional let annotations.
2010-09-16 13:24:10 -04:00