Robby Findler
2d08319b6c
mirror an earlier optimization in opt/c whereby (-> any/c ... any)
...
just turns into an arity check
2012-04-13 20:04:23 -05:00
Robby Findler
9344a7a242
fix chaperone-contract? on opt/c-produced contracts
2012-04-13 10:09:55 -05:00
Robby Findler
35e818ae50
the autosave file might be deleted by the user after it is created
...
the first time but before the file is actually saved. guard against that.
closes PR 12698
2012-04-13 10:04:25 -05:00
Robby Findler
5e03c7cf99
Added struct/dc and cleaned up a bunch of stuff in the contract
...
library (mostly in opt/c)
Specifically:
- add inlining declaration for ->i helper function
- modernized the opt/c contracts and improved them so that mutually
recursive define-opt/c functions recognize each other instead of
bailing out to the slow path.
- added =/c as an optimized contract
- improve the error message for the between and comparison opt
contracts
- adjust the blame struct so the name is created lazily, since opt/c
contracts just stick a copy o the contract into the thunk that
creates the name and we don't want to run those effects twice if we
can help it.
2012-04-12 22:49:50 -05:00
Sam Tobin-Hochstadt
fdb70316f1
Fix documentation for `implies'.
2012-04-12 16:28:52 -04:00
Jon Rafkind
c390d96780
[honu] only allow semicolons in expression sequence position
2012-04-12 12:50:44 -06:00
Jon Rafkind
fa8377883d
[honu] explicitly check for commas when parsing a comma separated expression sequence
2012-04-12 12:50:44 -06:00
Matthew Flatt
c695727aec
ffi/unsafe/com: fix arrays of 'any
2012-04-11 19:12:32 -06:00
Matthew Flatt
89307edbce
ffi/unsafe/com: avoid inclusion of no-error result code in error messages
...
Merge to 5.3
2012-04-11 17:55:12 -06:00
Matthew Flatt
bcb22a3adb
ffi/unsafe/com: repair for optional `any' arguments
...
Merge to 5.3
2012-04-11 17:49:08 -06:00
Matthew Flatt
c5e5a0349a
add #:line-number-sep' to
codeblock'
2012-04-11 11:49:01 -06:00
Matthew Flatt
7b322c151d
fix `record-dc%' test
...
Merge to 5.3
2012-04-11 11:49:01 -06:00
Eli Barzilay
76bbc1a89f
New Racket version 5.3.0.1.
2012-04-11 03:30:17 -04:00
Matthew Flatt
3ecf06a8ba
generalize `xml/plist' to read/write any plist value
...
Merge to 5.3
2012-04-10 16:38:54 -06:00
Matthew Flatt
1914345af4
fix submodule re-`expand' problem
...
Closes PR 12691
Merge to 5.3
2012-04-10 15:57:50 -06:00
Matthew Flatt
c64c55b86f
fix mzlib contract name test
...
Merge to 5.3
2012-04-10 15:57:50 -06:00
Ryan Culpepper
211e382a70
syntax/parse: update phase discussion with begin-for-syntax
...
merge to 5.3
2012-04-10 15:50:32 -06:00
Ryan Culpepper
096e3d689b
increase drdr timeout for template stress test
...
merge to 5.3
2012-04-10 15:50:32 -06:00
Ryan Culpepper
b19c982faf
change db collect to be part of "mz" ("textual") distribution
...
merge to 5.3
2012-04-10 15:50:32 -06:00
Jon Rafkind
76632c7914
[honu] ignore parse-error tokens when building the first syntax tree
2012-04-10 13:33:06 -06:00
Ryan Culpepper
48c2a63d7f
Post-release version for the v5.3 release
2012-04-10 11:27:59 -06:00
Kevin Tew
e3c54d6510
[Distributed Places] white space fixes
2012-04-09 13:20:27 -06:00
Kevin Tew
823c091e8b
[Distributed Places] cleanup docs
2012-04-09 13:15:00 -06:00
Kevin Tew
033cdc1413
[Distributed Places] add solo connections and tcp-connection-died handler
2012-04-09 13:15:00 -06:00
Kevin Tew
ee463056a8
[Distributed Places] fully connected network patch
2012-04-09 13:15:00 -06:00
Kevin Tew
394373ab2d
[Distributed Places] Merge place and connection
2012-04-09 13:15:00 -06:00
Jay McCarthy
4f8a13062f
Fixing PR 12690
2012-04-09 12:53:30 -06:00
Matthew Flatt
104e70bf65
fix JIT bug related to list-ref' and
list-tail'
...
Closes PR 12688
2012-04-08 17:16:36 -06:00
Matthew Flatt
f968ca3db6
add `gc-info' to doc index
2012-04-08 17:16:36 -06:00
Vincent St-Amour
f3bbe1914d
Improve type for expt.
2012-04-08 13:08:17 -04:00
Asumu Takikawa
c40ce285cf
Tweak snip/draw contracts for better error messages.
...
This commit names some intermediate class contracts,
which now print better due to a recent change by Robby.
2012-04-08 12:45:42 -04:00
Asumu Takikawa
a376725c77
Move draw/snip contracts to private/
2012-04-08 12:28:22 -04:00
Matthew Flatt
5a04be6445
streamline chaperoned struct field reference
...
The usual techniques: shortcut around generic scheme_apply() for
chaperone-triggered slow path, shortcut around scheme_apply() for
application of a native-code interposition function, and shortcut
`chaperone-of?' test by trying `eq?' first.
2012-04-07 09:28:49 -06:00
Matthew Flatt
2bdcdbb197
racket/draw, racket/gui: modernize contracts, mostly in documentation
...
Use `or/c' instead of `one-of/c', `#f' instead of `false/c'.
2012-04-06 18:51:10 -06:00
Matthew Flatt
971bee1d4b
fix docs for `dump-memory-stats'
2012-04-06 18:51:10 -06:00
Matthew Flatt
351e82735b
move and rename pict `convert' support
...
Renamed `convert' to `pict-convert', etc., to avoid confusion
with `file/convert' bindings.
Moved out of `slideshow/pict' to `slideshow/pict-convert', because
most `slideshow/pict' clients do not need it.
2012-04-06 18:51:10 -06:00
Robby Findler
1a9ab0b018
made class/c use the name from the context for the name of the contract, when available
2012-04-06 16:21:10 -05:00
Robby Findler
483dde9ea8
add keywords as values that coerce into contracts
...
adjust 'one-of/c' and 'symbols' so they just use or/c (when possible)
improve or/c's stronger check so that, in the case that or/c is
getting eq or equal contracts, or/c's stronger check is as good as
'symbols'/'one-of/c's stronger check is.
2012-04-06 16:21:07 -05:00
Jon Rafkind
bbc806732c
[honu] always reparse the output of honu-expression. provide honu-comma so that it works with literal sets
2012-04-06 12:36:19 -06:00
Jon Rafkind
6531ce7547
[honu] use a local macro inside a where expression
2012-04-06 12:36:18 -06:00
Sam Tobin-Hochstadt
0b3ac2b378
Add Mozilla to supporters, add links.
2012-04-06 10:24:58 -04:00
Sam Tobin-Hochstadt
1abb027fc7
Fix Typed Racket build with contracts enabled.
2012-04-06 10:24:49 -04:00
Robby Findler
23b9d8472f
removed printf
2012-04-06 07:51:03 -05:00
Robby Findler
aaa15946fc
contract stronger fix for contract structs
2012-04-05 23:18:22 -05:00
David Van Horn
f6a8024aed
Fix documentation link for provide in eopl (mzscheme => racket).
...
Closes PR12681.
2012-04-05 23:24:43 -04:00
Vincent St-Amour
e26201b4f6
Fix type of * with no arguments.
...
Closes PR 12679.
2012-04-05 19:18:20 -04:00
J. Ian Johnson
3caf0aca23
Sort bibliographies by authors' last names.
...
(Tweaked by Vincent.)
2012-04-05 19:04:54 -04:00
Robby Findler
a475c078e2
add splicing-syntax-parameterize to the default indentation prefs
2012-04-05 17:34:45 -05:00
Robby Findler
ada5382bea
adjust the docs for response/xexpr so that it shows up as coming from
...
web-server as well as web-server/http/xexpr
2012-04-05 17:08:47 -05:00
Matthew Flatt
9d563c786a
racket/gui, win32: fix problem with modal dialogs
...
Although most events in other frames were blocked, it was
possible to bring other frames to the front and to select
menu items in other frames.
2012-04-05 06:58:53 -06:00