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
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