Matthew Flatt
c3266ef685
fix `sync/[timeout/]enable-break' semaphore shortcut
...
The shortcut could be triggered in a bad case (first
argument as `#f' in non-timeout mode) and returned the
wrong result (void instead of the semaphore).
2013-03-25 05:15:24 -06:00
Matthew Flatt
b041a151e6
racket/gui: fix auto-scrollbars for editor GUI
...
It's possible to go from a state where one scroll bar is needed
(vertical or horizontal) to a state where each scrollbar is
needed iff the other scrollbar is needed. In that case, the
auto-scrollbar algorithm couldn't find either fixpoint and
would loop forever.
2013-03-25 05:15:24 -06:00
Eric Dobson
87facb736f
Check for structure binding and raise good error if it is not there.
...
Closes PR 13588.
2013-03-24 18:35:22 -07:00
Eric Dobson
bb0b071f38
Remove legacy require/typed form.
2013-03-24 18:35:21 -07:00
Robby Findler
7b0608ca42
fix a leak in DrRacket
...
It was leaking threads at about the rate of 2 per online expansion
that had a syntax error (or otherwise aborted without finishing
expansion)
2013-03-24 18:03:33 -05:00
Robby Findler
5937bcbbf5
fix a race-condition
2013-03-24 17:05:50 -05:00
Robby Findler
57f857b45a
fixed more calls to error (that should be raise-argument-error) in the contract library
2013-03-24 08:09:08 -05:00
Robby Findler
64849bddd2
update mzlib contract test suite to recent changes to racket/contract
2013-03-24 07:24:32 -05:00
Robby Findler
6e4d483403
adjust contract library to call raise-argument-error instead of error
...
and a few other changes nearby to clean up various things
closes PR 13623
2013-03-23 22:00:29 -05:00
Eric Dobson
0e42a791a7
Typecheck (lambda args body) as (arg1 -> result).
2013-03-23 13:18:05 -07:00
Eric Dobson
8d080b74cb
Fix Struct-Type-Property.
...
Closes PR 13593.
2013-03-23 08:24:05 -07:00
Carl Eastlund
4ebf53e919
Add error checking to ensure blame-source produces a srcloc? as documented.
2013-03-23 01:06:25 -04:00
Carl Eastlund
c8f79dacbb
Added tests for blame object source locations being srcloc structs.
2013-03-23 01:06:24 -04:00
Burke Fetscher
fe0fd0d152
Redex: remove some now extraneous code
2013-03-22 16:14:03 -05:00
Burke Fetscher
ddf4945125
Redex: corrections for disequations in generator
...
- handle parameters correctly when simplifying disequations
- rework term generation/disequation checking for parameters
- fix define-extended-metafunction w/r/t the above
2013-03-22 15:28:36 -05:00
Burke Fetscher
40fc96cacf
Redex: rework metafunction compilation/search for parameters
2013-03-22 15:28:35 -05:00
Burke Fetscher
bdf1866e80
Redex: parameterized disequations
...
refactor the pattern unifier and tests to handle
disequations with parameters correctly
2013-03-22 15:28:35 -05:00
John Clements
564d244039
polarity flip in type error messages
2013-03-22 10:20:40 -07:00
Eli Barzilay
f1e5bd8fd4
Undo no-op change.
...
As discussed:
http://lists.racket-lang.org/users/archive/2013-March/056907.html
2013-03-22 11:22:49 -04:00
Eli Barzilay
9f057857e5
Fix props order.
2013-03-22 11:21:04 -04:00
Jay McCarthy
04d723eea8
Fixing broken rackunit tests
2013-03-22 07:45:14 -06:00
Jay McCarthy
9f337c632a
Removing the planet2 name from the code
2013-03-22 07:45:14 -06:00
Robby Findler
431efb40d1
Argh, sorry again.
...
Revert "IN PROGRESS: working on syntax error messages for 2d"
This reverts commit 04ada66741
.
2013-03-21 22:48:47 -05:00
Robby Findler
04ada66741
IN PROGRESS: working on syntax error messages for 2d
2013-03-21 22:48:05 -05:00
Robby Findler
092d98656c
fix plai/gc2/mutator for the case where a lambda-bound
...
variable is shadowing something
2013-03-21 22:48:05 -05:00
Robby Findler
0e6975fb2c
add 'values' to plai/gc2/mutator language
2013-03-21 22:48:05 -05:00
Robby Findler
13bcb73050
typo in test suite
2013-03-21 18:59:23 -05:00
Tony Garnock-Jones
0399babc85
pretty-format returns a String, not Void
2013-03-21 18:11:28 -04:00
Matthew Flatt
3886b7702e
fix for `syntax-local-value/immediate'
...
The source locaiton on the second result was mangled.
Closes PR 12477
2013-03-21 14:29:40 -06:00
Robby Findler
f166934700
adjust check syntax to deal properly with submodules at non-zero phases
...
Thanks to Matthew for sorting this out.
(Also removed a bunch of line-ended space chars since git
yelled at me.)
2013-03-21 13:08:34 -05:00
Matthew Flatt
30a4b481dd
fix submodule declarations nested in phases > 1
2013-03-21 11:51:46 -06:00
Matthew Flatt
111799ec94
Mac OS X: use IPV6_V6ONLY
...
As of 10.8, Mac OS X seems to behave more like Linux in the way
that IPv6 and IPv4 binding interact.
Closes PR 13193
2013-03-21 11:51:46 -06:00
Robby Findler
fe721eaef4
adjust options tests to match new multi-party blame printouts
2013-03-21 10:22:27 -05:00
Matthew Flatt
acd6764019
support boxes in syntax patterns and templates
...
Also, `datum-case' and `datum' from `syntax/datum'.
2013-03-21 09:06:15 -06:00
Matthew Flatt
899c742c56
slideshow: add `--clock' option
2013-03-21 08:51:09 -06:00
Jay McCarthy
804791b011
Adding test logging facility to rackunit and eli-tester, with its own test and docs
2013-03-21 07:02:50 -06:00
Eli Barzilay
0b31cb9168
Minor typo, reported by Dorai.
2013-03-21 00:17:40 -04:00
Robby Findler
8085707a8c
adjust the multiple parties of blame printouts
2013-03-20 22:51:39 -05:00
Robby Findler
e5d91baa2c
add interaction/no-prompt and clarify that interaction-eval
...
doesn't catch errors
2013-03-20 22:51:39 -05:00
Robby Findler
a29f37f18b
added scribble-exn->string
2013-03-20 22:51:39 -05:00
Robby Findler
2792cd7b5f
remove redundant check and minor cleanup
2013-03-20 22:51:39 -05:00
Matthew Flatt
e0486a7cf0
racket/gui: add warp-pointer' to
window<%>'
...
Removed the method from `canvas<%>', where it was never implemented
with the `racket/gui' reimplementation.
2013-03-19 15:53:13 -07:00
Matthew Flatt
31964a11dc
reference: improve docs on peeking
2013-03-19 15:48:22 -07:00
Matthew Flatt
dfcf50e165
scribble/manual: add a #:key' argument to
deftech'
2013-03-19 15:48:21 -07:00
Robby Findler
496331498f
add some random testing into the lexer option contract
2013-03-19 16:04:57 -05:00
Robby Findler
6c2ea3acbb
add missing provides
2013-03-19 14:08:28 -05:00
Jay McCarthy
41e07b0cc6
Removing even/odd reading hack and just protecting parser from eof-ing ports
2013-03-19 08:58:41 -06:00
Ryan Culpepper
829a640299
reorganize code, expose stxclass rhs->parser helper
2013-03-18 19:14:05 -04:00
Ryan Culpepper
8f8b16e2ec
fix "one term at a time" mode for lifts
...
closes PR 13597
2013-03-18 19:14:05 -04:00
Ryan Culpepper
ab9207dbc7
split out pattern optimization code
2013-03-18 19:14:04 -04:00