Commit Graph

2953 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
cb6d78698b Count pairs as having size 1, not 0, in minimizing edit distance. 2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
73dbf42e0e Better handling of `hash-*' functions, and hashes as sequences. 2010-12-08 18:22:29 -05:00
Vincent St-Amour
dc2df4882b Take into account potentially undefined values in letrec.
Closes PR11511.
2010-12-08 18:17:06 -05:00
Jay McCarthy
7ac2b8e316 Fixing tests 2010-12-08 14:08:54 -07:00
Jay McCarthy
5285dc6a16 Fixing tests 2010-12-08 14:08:54 -07:00
John Clements
5456e83ce4 massively faster due to reuse of namespace 2010-12-07 20:44:35 -08:00
John Clements
0d2a4b98db moving to another machine 2010-12-07 20:44:34 -08:00
John Clements
6f84a1c143 checkpointing progress toward applicable structs instead of hash table 2010-12-07 20:44:34 -08:00
Stevie Strickland
37349ca053 Allow uses of recursive-contract to specify the type of contract to create. 2010-12-07 18:30:20 -05:00
Jay McCarthy
d28dc2ae41 Revert "Adding dynamic/c and coerce/c"
This reverts commit cec308cc363a69d561097e978352488c996385ed.
2010-12-07 14:14:55 -07:00
Jay McCarthy
58494c125b Big bang coercion 2010-12-07 14:14:55 -07:00
Jay McCarthy
d7bd9ddc5f Adding compat0 test cases 2010-12-07 14:14:54 -07:00
Jay McCarthy
78a65f0662 More exhaustive test 2010-12-07 14:14:54 -07:00
Jay McCarthy
b5a39d03e4 Discussing compatibility 2010-12-07 14:14:54 -07:00
Jay McCarthy
d6d9f3ef8c Adding dynamic/c and coerce/c 2010-12-07 14:14:53 -07:00
Jay McCarthy
f5e9e0dad1 Fixing example 2010-12-07 14:14:52 -07:00
Jay McCarthy
4ca1dac51c write-xexpr test cases 2010-12-07 14:14:51 -07:00
Jay McCarthy
ca6c37bccf Adding header 2010-12-07 14:14:50 -07:00
Jay McCarthy
16f8b3a2a6 Adding test case and fixing un-terminated requests 2010-12-07 14:14:50 -07:00
Jay McCarthy
9b066d0f04 Correcting tests and examples 2010-12-07 14:14:49 -07:00
Jay McCarthy
419c184c94 Using response/xexpr 2010-12-07 14:14:49 -07:00
Jay McCarthy
05c9fcd412 First pass at Xexpr removal 2010-12-07 14:14:49 -07:00
Jay McCarthy
dc01f00afc New benchmarks 2010-12-07 14:14:49 -07:00
Stevie Strickland
5b8e5d6380 Extend struct/c to allow impersonator contracts for mutable fields.
Also, flat contracts for immutable fields are only evaluated at contract
wrapping time.
2010-12-07 14:29:07 -05:00
Stevie Strickland
10eb818f95 Conversion of struct/c to chaperones when appropriate. 2010-12-07 04:11:26 -05:00
Stevie Strickland
ebf01cc664 Converting case-> to chaperones and impersonators. 2010-12-06 16:12:49 -05:00
Matthew Flatt
fda0228631 fix broken inexact-reader configuration
Closes PR 11496
2010-12-04 16:22:17 -07:00
Matthew Flatt
116d88577e restore old behavior of _fixint' and _ufixint'
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
7ec0731cda don't use unsafe-string-ref' in for'
because `unsafe-string-ref' is for ASCII results, only
2010-12-03 11:10:11 -07:00
Noel Welsh
3b234010a0 Merge branch 'master' of pltgit:plt into in-vector 2010-12-03 14:36:48 +00:00
Noel Welsh
899e31e2ce Add tests for extended in-flvector and in-fxvector forms, refactoring common code to for-util.rkt 2010-12-03 14:33:38 +00:00
Noel Welsh
6e2d67e58a Fix typo 2010-12-03 12:18:04 +00:00
Noel Welsh
6761ae8618 Merge branch 'master' of pltgit:plt into in-vector 2010-12-03 10:27:34 +00:00
Stevie Strickland
778f0c9fc4 Actually turn on old object-info hack mentioned in 4e451a1. 2010-12-02 13:02:59 -05:00
Robby Findler
60d986b6df added a not-quite-right test case (drracket's test suites don't run well in gr2 yet) 2010-12-02 10:40:43 -06:00
Robby Findler
9501a9d7f8 adjustments to match gr2 2010-12-02 10:40:43 -06:00
Stevie Strickland
30afcd3bf5 Fix object=?.
Also commented out some tests of reflective operations on contracted objects.
I've added a note that describes how we might be able to fix this, if
we decide it's worth doing.
2010-12-01 15:11:25 -05:00
Stevie Strickland
2bd7760412 Conversion of object/c and object-contract to use impersonators. 2010-12-01 15:11:20 -05:00
Matthew Flatt
082515d6db fix namespace-anchor on non-module namespaces 2010-12-01 06:52:11 -07:00
Jon Rafkind
cf3b9680ba remove 0 arg set-union. add workaround to docs 2010-11-29 00:34:57 -07:00
Jon Rafkind
46244f81fc make set-union with 0 args return an empty set 2010-11-28 23:08:28 -07:00
Robby Findler
eabbb7dff2 improve the leak test a little by looking to see tabs get gc'd and so do the user's namespaces. 2010-11-28 19:26:38 -06:00
Matthew Flatt
0b19c6e798 fix bug in composable continuations
--- as deiscovered by Casey's random tester
2010-11-27 09:52:11 -07:00
Matthew Flatt
abcaa1775c add width' and height' arguments to post-script-dc% and pdf-dc%
and document the change that the PS bounding box is no longer
 inferred from drawing operations
2010-11-26 20:40:43 -07:00
Jay McCarthy
ee2b11630f Adding containers 2010-11-26 19:59:32 -05:00
Jay McCarthy
eee5c6b14a Adding response/port 2010-11-26 19:59:32 -05:00
Jay McCarthy
8320517192 Adding page 2010-11-26 19:59:32 -05:00
Matthew Flatt
2edadd6113 add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui 2010-11-26 10:35:05 -07:00
Matthew Flatt
7da127227a gtk & cocoa: frame iconize repairs
In the "windowing.rktl" tests, for Gtk there are still race conditions
 between the program and the window manager. But for the first
 time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00
Matthew Flatt
1f61bbdc51 win32: frame size and iconize fixes 2010-11-26 08:10:58 -07:00
Robby Findler
4c9794acc6 drracket frames leak; add a test case 2010-11-26 08:51:37 -06:00
Matthew Flatt
8e8844641c fix `draw-bitmap-section-smooth' method of bitmap-dc<%> 2010-11-25 11:00:32 -07:00
Jay McCarthy
bd7ffb282f This code appears to have been copied from the other 2010-11-25 12:03:10 -05:00
Jay McCarthy
6474b519bb Fixes usage of argb-pixels 2010-11-25 12:01:44 -05:00
Jay McCarthy
e081af2aef This test relied on the old source location losing behavior of Rackunit 2010-11-25 11:38:43 -05:00
Matthew Flatt
347869fc9e fix some racket/gui tests and fix cocoa frame centering 2010-11-25 08:03:33 -07:00
Jay McCarthy
eecbc539c1 Fixing problem with previous "fix" to mutator-begin 2010-11-24 23:33:42 -05:00
Jay McCarthy
c9dcbb9edb Failing test 2010-11-24 23:33:42 -05:00
Jay McCarthy
b686cc84a9 Removing test because we reintroduced gensym 2010-11-24 23:33:42 -05:00
Matthew Flatt
1034c9be4e fix hashing on C pointers and missing tests 2010-11-24 15:44:18 -07:00
Jay McCarthy
e3153e6d21 Adding normalization display 2010-11-23 15:42:39 -07:00
Vincent St-Amour
102419f009 Fixed command-line options for gambit in benchmarks. 2010-11-19 12:10:42 -05:00
Jay McCarthy
24dbffaf3b Fixing problem found at Brown 2010-11-17 04:58:09 -07:00
Jon Rafkind
5f2d18c1f9 add in-queue 2010-11-16 23:09:19 -07:00
Jon Rafkind
27b32464c5 add test for sequence used as an expression 2010-11-16 23:09:19 -07:00
Matthew Flatt
1762a9a872 fix set!' of define-for-syntax'ed varable in `let-syntax' RHS 2010-11-16 20:18:11 -07:00
Jon Rafkind
7b24eaf58e rename queue-count to queue-length 2010-11-16 14:36:49 -07:00
Jon Rafkind
73be67942d add queue->list 2010-11-16 14:36:49 -07:00
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