Vincent St-Amour
36ae5a9d50
Fix nightly running of TR tests.
2011-01-27 16:49:45 -05:00
Jay McCarthy
0714c7222c
Fixing PR11661
2011-01-27 13:38:16 -07:00
Robby Findler
419ca0a36d
adjust the test-engine test suite to use the new preferences location
2011-01-27 11:00:49 -06:00
Matthew Flatt
3448767f97
fix SRFI-14 test
2011-01-27 08:04:39 -07:00
Stephen Chang
f60957282f
fix (take 0 nonemptylist) test in tests/lazy/langimpl.rkt
2011-01-26 18:14:34 -05:00
Stephen Chang
1ab22f7c2b
add tests for push#22080
2011-01-26 17:26:44 -05:00
Vincent St-Amour
2bd0145603
Generalize hash table literals and subtypes of symbol.
...
Closes PR 11670.
2011-01-26 14:23:19 -05:00
Robby Findler
85c955fad6
tweak to move interactions fetch to the eventspace handler thread
2011-01-25 20:58:39 -06:00
Matthew Flatt
60335d9b23
fix `vector-copy' range checking for starting position
2011-01-25 15:46:52 -07:00
Stevie Strickland
a04b8d9899
Change instanceof/c to allow more contracts.
...
Now instanceof/c no longer checks explicitly for a class/c contract, so
or/c or and/c of class/c contracts succeed.
2011-01-25 14:07:30 -05:00
Robby Findler
45a635339e
refactored to make testing check syntax renaming possible
...
made sure to remove duplicates from the list before doing renaming
closes PR 11659
2011-01-21 22:27:18 -06:00
Matthew Flatt
b112fd76df
add reparent' to
subwindow<%>'
2011-01-21 20:21:21 -07:00
Jay McCarthy
aadb1b60bb
Repenting of misunderstanding docs
2011-01-20 20:53:11 -07:00
Robby Findler
8c513f2b32
drracket tests: dont' insist on a stacktrace for break exceptions
2011-01-20 19:05:43 -06:00
Matthew Flatt
0c193a599a
fix uncaught-exception-handler handling of non-escaping escape handler
...
and change the emergency error display handler to log and error
Closes PR 11630
2011-01-20 14:01:33 -07:00
Kevin Tew
bc580ac125
call-with-file-lock/timeout
2011-01-20 13:33:02 -07:00
Jay McCarthy
87865cb1bd
Fixing PR11649
2011-01-20 12:13:13 -07:00
John Clements
d675c7b12a
updated PLAI (and test cases) to use racket language rather than scheme
2011-01-20 10:21:22 -08:00
Matthew Flatt
d5fdee7e06
add argument to `regexp-try-match' to match docs
...
Closes PR 6579 --- which was actually about the
now next-to-last argument, but close enough
2011-01-17 15:18:05 -07:00
Robby Findler
70e3074baf
found another place in the framework test suite where operations weren't happening on the eventspace handler thread
2011-01-17 15:35:35 -06:00
Robby Findler
ff800c997e
make the example-test private file's work be behind a thunk (so more drdr friendly)
2011-01-17 15:04:00 -06:00
Matthew Flatt
21eee45a48
fix `read-language' when input has only comments
2011-01-16 19:01:45 -07:00
Matthew Flatt
113e49aa5b
extend date->seconds' and
find-seconds' to work with UTC
...
Closes PR 6137
2011-01-16 17:53:30 -07:00
Robby Findler
6c974f6c5f
add missing require
2011-01-15 15:14:57 -06:00
Matthew Flatt
c2afc03b3b
fix interaction of `continuation-mark-set-first' and prompts
...
including a documentation fix
2011-01-15 08:05:55 -07:00
Robby Findler
90b8400d50
make up a new temp dir instead of using C:\tmp
2011-01-15 06:44:42 -06:00
Mike Sperber
d2aa1c1138
Make test-engine tests work with new gracket.
2011-01-15 12:25:39 +01:00
Robby Findler
255cb84b87
add an example tool (that actually does something) to the docs and make a test suite that sets that tool up and runs it
2011-01-13 20:11:55 -06:00
Matthew Flatt
2097e944b7
fix `regexp-replace*' with procedure and #f matches
2011-01-13 11:01:46 -07:00
Robby Findler
b8459737f0
disable the trace of all of the messages in the framework tests
2011-01-12 17:32:26 -06:00
Carl Eastlund
803ac4a412
Added a sample package to test Planet scribblings. No automated tests yet.
...
Currently one just has to build the package and "eyeball" its documentation.
2011-01-11 18:00:40 -05:00
Matthew Flatt
6afffb329c
add `svg-dc%'
2011-01-10 16:41:16 -07:00
Robby Findler
0411cddba5
added set/c and made sets print as set, seteq, or seteqv
...
closes PR 11454
2011-01-08 13:49:01 -06:00
Stevie Strickland
9ffb204682
Rename instanceof' to
instanceof/c'.
2011-01-08 11:24:25 -05:00
Jay McCarthy
f2a9aebba5
Fixing contract formatting change
2011-01-07 19:53:00 -07:00
Stevie Strickland
92775c5e4e
Add instanceof.
...
The instanceof contract combinator takes a class contract. The resulting
contract protects objects using the external field and method contracts
in the class contract.
2011-01-07 18:22:24 -05:00
Robby Findler
bf031be73e
what happened here?
2011-01-07 09:23:51 -06:00
Robby Findler
a32adbe7db
make the framework test suite only modify gui objects on the eventspace handler thread
2011-01-07 06:39:27 -06:00
Robby Findler
31a629ff9c
make provide/contract work properly when it is the only thing in a module body
...
closes PR 11596
2011-01-07 05:19:16 -06:00
Matthew Flatt
655f6045a2
fix shared' for
#:auto' fields and constructors without `make-'
...
Closes PR 11588
Closes PR 11591
2011-01-05 13:52:11 -07:00
Vincent St-Amour
b32287fa2d
Fixed a bug with complex numbers made from floats of differing precision.
...
It used to be that constructing complex numbers from a float and a
double sometimes caused incorrect coercions.
2011-01-05 14:42:31 -05:00
Vincent St-Amour
cb723092e2
Fix portable fixnum size.
2011-01-05 14:42:31 -05:00
Robby Findler
51ad306af2
changed real-in to be an alias for between/c
2011-01-04 15:40:32 -06:00
Matthew Flatt
553723627c
gradients: refine checking and docs to fit various conventions
2011-01-04 12:44:36 -07:00
Matthew Flatt
cd676fe81c
another context-cache repair
2011-01-03 18:04:11 -07:00
Robby Findler
d1e0e7e254
fixed a few places in the repl-test where it was accessing gui stuff on a non-GUI thread
2011-01-03 17:41:08 -06:00
Robby Findler
fbe6e06957
give up on predicting the stack trace contents when yield is used
2011-01-03 07:15:03 -06:00
Robby Findler
6fb6fca73b
make the test suite less picky about the contents of the stack (but not if it has content or not)
2011-01-02 19:53:39 -06:00
Matthew Flatt
241bb79cb0
allow a button% to have both a string and a bitmap for its label
2011-01-01 13:54:45 -07:00
Matthew Flatt
55693e090f
add port-try-file-lock?' and
port-file-unlock'
2010-12-31 14:40:27 -07:00
Robby Findler
699058d3a4
do a little bit better job keeping the manipulation of the gui state on the eventspace handler thread (in the syncheck test)
2010-12-31 15:29:23 -06:00
Eli Barzilay
3fb871586f
Removed some exe bits that look redundant.
2010-12-31 15:59:39 -05:00
Robby Findler
e75d6b3fae
replace one inherently racecondition-prone test with two others that approximate it
2010-12-31 10:50:27 -06:00
Robby Findler
6f9bcf0001
Rackety
2010-12-31 09:58:54 -06:00
Robby Findler
3dc5bbd0eb
moved interactive panel test into its own file
2010-12-31 09:58:53 -06:00
Robby Findler
900d74714e
fixed up panel:dragable so that it actually does the right thing now
...
adjusted the framework test suite so that it runs under windows
closes PR 10880
2010-12-31 09:58:51 -06:00
Matthew Flatt
a974dad8bf
add alpha value to `color%'
2010-12-30 07:05:25 -07:00
Robby Findler
fb25dc9a42
adjusted drracket test suites so that it is (more) careful to keep all manipulation of GUI objects (text% objects seem to have been the important one) on the drracket eventspace main thread in an effort to make the test suites more stable.
2010-12-29 20:31:40 -06:00
Matthew Flatt
d3fd1ba013
add `set-padding' to text%
2010-12-29 13:42:58 -07:00
Sam Tobin-Hochstadt
2431f8f706
Fix TR tests for new contract error messages.
2010-12-29 13:46:57 -05:00
Matthew Flatt
3b032893c1
don't JIT-inline `values' in a single-value position
2010-12-28 17:47:03 -07:00
Matthew Flatt
5339be7594
make language test work with cgc
2010-12-28 10:52:17 -07:00
Matthew Flatt
0b1f1a4f4e
add missing test case for premultiply-alpha fix
2010-12-27 19:34:59 -07:00
Matthew Flatt
705b11f2b8
a prompt-test fix like the previous one, but for post thunks
2010-12-27 15:24:33 -07:00
Robby Findler
6fe8643194
adjust teaching languages so that print works properly
2010-12-27 09:16:09 -06:00
Matthew Flatt
0d3fbb11fa
supress a prompt test that doesn't apply to composable continuations
2010-12-26 16:21:28 -06:00
Matthew Flatt
e77917db8c
fix another continuation bug discovered by Casey's random testing
2010-12-25 17:12:33 -06:00
Robby Findler
dd531dde9e
check syntax does not call eval-compile-time-part-of-top-level when
...
checking programs in the module language.
closes PR 10908
2010-12-25 15:38:08 -06:00
Matthew Flatt
e7b52bf10f
fix ffi handling of non-GCable pointers with offsets
...
Closes PR 11567
2010-12-25 09:34:07 -06:00
Robby Findler
bb9bd1b07a
new attempt at contract violation error messages
2010-12-22 10:39:59 -06:00
Robby Findler
53509bef5f
made module lang tests Windows friendly & Rackety
2010-12-20 08:43:28 -06:00
Sam Tobin-Hochstadt
491eeaa759
Move mred/private/wxme/style to racket/snip/private/style.
...
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Mike Sperber
79600e15a6
Merge remote branch 'origin'
2010-12-19 11:21:41 +01:00
Mike Sperber
fa854f62fc
Add vector signatures, and `vector-of' to the HtDP signature syntax.
2010-12-19 11:20:51 +01:00
Sam Tobin-Hochstadt
e9e45fdc2c
Fix test require.
2010-12-18 00:10:25 -05:00
Matthew Flatt
4195cf3297
more fixes for weird draw-bitmap mask and mode combinations
2010-12-17 05:51:23 -07:00
Matthew Flatt
98f6415c59
another fix to drawing a color bitmap to a monochrome target
2010-12-17 05:29:50 -07:00
Matthew Flatt
8a10c3d3db
fix use of color bitmap as mask when drawing after previous use
2010-12-16 21:02:11 -07:00
Matthew Flatt
f8ec47cdeb
test for draw-bitmap repairs
2010-12-16 19:36:13 -07:00
Noel Welsh
8040100eff
Merge branch 'master' of pltgit:plt into in-vector
2010-12-13 13:43:05 +00:00
Noel Welsh
cfa7b727f4
Fix some errors with in-vector and derived forms:
...
- Range checking was inconsistent between the sequence and macro forms
- The macro form could crash due to unsafe vector refs
Fixes involved refactoring the range checks so they are shared between both versions, and changing the contract slightly so start and stop are checked before the sequence runs. This allows unsafe vector refs and earlier error notifications at the cost making some valid programs (e.g. those using some condition to stop a comprehension hitting an invalid index) now be invalid. Only crazy people would rely on the old behaviour, so it isn't a problem in practice.
2010-12-13 13:38:35 +00:00
Matthew Flatt
965e8f96d1
fix get-char-height' and
get-char-width' in dc<%>
...
Closes PR 11526
2010-12-10 20:37:51 -07:00
Matthew Flatt
2ae9f14f9e
fix exn raised in refab-struct read errors
...
Closes PR 11530
2010-12-10 18:33:44 -07:00
Matthew Flatt
2b4f1a6908
extend `sync/timeout' to allow a tail-position fail thunk for polling
2010-12-10 18:06:21 -07:00
Carl Eastlund
5b18305e11
New test case for formatting bug in TR error messages.
2010-12-10 17:26:17 -05:00
Vincent St-Amour
09ffb70492
Update TR tests to reflect new contract error messages.
2010-12-10 16:59:13 -05:00
Vincent St-Amour
b9d67eea2f
Allow running individual TR tests.
2010-12-10 16:59:12 -05:00
Vincent St-Amour
407d9b5f07
Error when running TR's test harness with no tests.
2010-12-10 13:44:47 -05:00
Stevie Strickland
7ab53d8ddb
Fix unit contract tests due to new contract error format.
2010-12-10 13:06:56 -05:00
Robby Findler
94ebb1f317
update the mzlib contract test suite to the new error messages
2010-12-10 06:57:27 -06:00
Eli Barzilay
de4daa8d81
Add a hack to get the environment variables from the visual studio batch
...
file.
Also change the version number in the foreign tests to make them work.
Also fix getting the `test_gui' configuration.
2010-12-10 05:15:14 -05:00
Robby Findler
18dacad6c8
a first attempt at a rewording of the blame error messages to admit the possibility that the contract was wrong and also to claim that fixing the blamed module or the contract is all that is required
...
note that two test cases are failing, but only because they depend on the wording of the error messages; once that is set, I'll fix them.
2010-12-09 15:50:15 -06:00
Vincent St-Amour
365d272666
Test for errors in rhs.
2010-12-08 20:32:20 -05:00
Vincent St-Amour
81ef5f9418
Typecheck body of letrec using original types instead of potentially undefined type.
2010-12-08 20:32:20 -05:00
Vincent St-Amour
b045153177
letrec: consider outside bindings safe.
2010-12-08 20:32:19 -05:00
John Clements
368f345901
more stepper cleanup
2010-12-08 16:37:15 -08:00
John Clements
ff973b628b
stepper refactoring and cleanup
2010-12-08 16:37:15 -08:00
Sam Tobin-Hochstadt
87eab889d6
Allow arbitrary filter specification in function types.
...
Allow (A -> B -> C) for curried function types.
2010-12-08 18:22:29 -05:00
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