Commit Graph

27628 Commits

Author SHA1 Message Date
Eli Barzilay
e713ccd885 New Racket version 5.3.1.1. 2012-10-08 03:40:14 -04:00
Ryan Culpepper
42d2e60a2f Post-release version for the v5.3.1 release 2012-10-08 02:33:53 -04:00
Sam Tobin-Hochstadt
0feb2a45e9 Move to fix build. 2012-10-07 21:44:47 -04:00
Sam Tobin-Hochstadt
724aee0188 Add type for in-directory. 2012-10-07 17:45:09 -04:00
Sam Tobin-Hochstadt
630a77cea8 Improve type specifications for bitmap handling functions.
Fixes build issue.
2012-10-06 14:32:08 -04:00
Matthew Flatt
6edcc4b20f fix error message
Closes PR 13166
2012-10-05 19:43:23 -06:00
Matthias Felleisen
6a1f50226e typo fixed with (lambda () ..); Closes PR 13164 2012-10-05 18:00:07 -04:00
Sam Tobin-Hochstadt
6fde63007e Allow invoking thunks on the untyped side of an Any. 2012-10-05 17:09:07 -04:00
James Swaine
f38bd159d2 Add frame options to show-pict 2012-10-05 16:04:13 -05:00
Sam Tobin-Hochstadt
b6b5043ff9 Add typed interface for the futures visualizer. 2012-10-05 16:11:16 -04:00
Matthew Flatt
fcfff27c31 ffi/com: implement vardesc-based dispatch
The `title' property of IE9 triggers the new code, which wasn't
implemented before because I didn't have an example.
2012-10-05 12:26:14 -06:00
Matthew Flatt
7c5174d54e ffi/com: faster when calling methods on many objects of same type
Move the method-type cache to the type-info object, instead of
the instance.
2012-10-05 11:05:42 -06:00
Matthew Flatt
5c2b00ea78 ffi/com: try to reduce overhead on `com-invoke'
Also, fix a potential memory bug: the exception-record value
passed to Invoke() as synthesized by `_ptr' was GCable and
movable.
2012-10-05 11:05:41 -06:00
Sam Tobin-Hochstadt
962f2472e1 Revamp handling of Any as a contract.
The contract now has two major differences:
 - It raises an error when it would have to wrap.
 - It uses chaperones to delay errors as long as possible

In general, using `Any` as a type when exporting to untyped
code will now just work, unless the untyped code tries to
communicate values back to the typed side, in which case an
immediate error will be raised.

Much of the implementation comes from the membrane design
from [Strickland et al, OOPSLA 2012].
2012-10-05 12:39:11 -04:00
Sam Tobin-Hochstadt
b3c640870e Simplify fast path for typechecking simple function applications.
Also, minorly revise subtyping code.
2012-10-05 12:12:39 -04:00
Eli Barzilay
73526b449b Fix json treatment of eof, plus tests.
(Also, no need for a keyword in the interna function.)
2012-10-05 11:48:31 -04:00
Asumu Takikawa
c26faaebfa redex: export documented but missing predicate 2012-10-05 11:42:32 -04:00
Asumu Takikawa
16b15c89f7 redex: doc fixes 2012-10-05 11:42:32 -04:00
Manu
e7db0bdac4 Added CSS rules for printing. 2012-10-05 11:15:59 -04:00
Marc Burns
25bc661a03 Fix socket leak on redirected `*-pure-port' calls.
A port over which a redirection is served to get-pure-port is not closed
if `get-pure-port' follows the redirection.  This leaks file descriptors
on the host machine.
2012-10-05 11:14:38 -04:00
Marc Burns
fa0336bfad Call close-output-port' on abandoned port in ssl-abandon-port'.
This change causes the abandoned output port to be properly shutdown,
when the `shutdown-on-close' option is set, and decrements the mzssl
struct reference count when a port is abandoned.

Previously, the `*-[im]pure-port' methods from `net/url' would fail to
close the SSL socket associated with the connection when
`close-input-port' was called on the port object returned.  This patch
causes the underlying socket to be closed when `close-input-port' is
called on SSL-based ports returned by functions in `net/url'.
2012-10-05 11:13:20 -04:00
Jon Rafkind
cb42b7ed6a [honu] clean up requires by separating code into modules 2012-10-04 23:53:03 -06:00
Jon Rafkind
c758069a09 [honu] remove unused embedding of racket code inside a honu expression via %racket 2012-10-04 23:53:03 -06:00
Jon Rafkind
8210acc696 [honu] add postfix keyword for unary definitions 2012-10-04 23:53:03 -06:00
Jon Rafkind
afdd5c4393 [honu] support postfix unary operators 2012-10-04 23:53:03 -06:00
Jon Rafkind
84b334168b docs for items-slide 2012-10-04 23:53:02 -06:00
Jon Rafkind
fbf153a435 add items-slide 2012-10-04 23:53:02 -06:00
Jon Rafkind
6c20513587 [honu] add binary_operator and unary_operator forms for plain expression-based operators 2012-10-04 23:53:02 -06:00
Sam Tobin-Hochstadt
8bb697108e Fix contract-min/max base case. 2012-10-04 16:13:21 -04:00
Robby Findler
8b92ec5677 linebreaking adjustments for typographical reasons 2012-10-04 10:17:28 -05:00
Matthew Flatt
b4b723df4e fix `in-directory'
Closes PR 13163
2012-10-04 06:40:36 -06:00
Matthew Flatt
683e72e9e3 scribble: make `linebreak' work more for Latex/PDF rendering 2012-10-04 06:40:36 -06:00
Robby Findler
ec05ecf558 change the dir field of the multi file search dialog
into a combo-field

Initial version of this commit from Kieron Hardy
2012-10-03 22:49:20 -05:00
Sam Tobin-Hochstadt
86522a1804 This pattern of typed submodules exposes Racket bugs. 2012-10-03 12:24:16 -04:00
Mike Sperber
41d6d8f579 Provide `provide' in the DMdA languages.
(The course at U Kiel needs this for the term project following the
intro course.)
2012-10-03 17:28:19 +02:00
Robby Findler
58c9905eff adjust tooltip windows so they go away whenever
they get a mouse event

related to PR 13139
2012-10-02 20:56:34 -05:00
Matthew Flatt
4b6a57bd2e add info on building Racket to the "Inside" document
Closes PR 13156
2012-10-02 15:06:27 -06:00
Samuel Bronson
1dce7e587f scribble/private/manual-form: Implement racketgrammar in terms of racketgrammar*
This is just a refactoring for readability.
2012-10-02 15:06:27 -06:00
Carl Eastlund
bc681836bc Updating read-json to produce eof when appropriate. 2012-10-02 13:46:31 -04:00
Vincent St-Amour
937c901ce7 Add separator before Optimization Coach right-click menu entry. 2012-10-02 11:24:07 -04:00
Vincent St-Amour
69873c8db8 Fix Optimization Coach's handling of paths with spaces. 2012-10-02 10:45:29 -04:00
Vincent St-Amour
6ba0c1416e Remove out of date comment. 2012-10-02 10:18:48 -04:00
Vincent St-Amour
61b83045fc Fix loop detection heuristic based on self-out-of-fuel. 2012-10-02 10:18:48 -04:00
Matthew Flatt
7ddd99cf52 racket/gui win32: fix duplicate pre- events for controls 2012-10-02 07:26:25 -06:00
Matthew Flatt
a5d7812732 racket/gui: skip some redundant 'enter & 'leave events 2012-10-02 07:26:25 -06:00
Robby Findler
d6a8ac85b4 added some pretty-print using term formatters and fixed the
docs for term->pict.

closes PR 13150
2012-10-01 23:27:48 -05:00
Robby Findler
d0f981f9cb fix a bug in color padding code
closes PR 13153
2012-10-01 22:53:58 -05:00
Matthew Flatt
64bac4e573 racket/draw: fix return value of load-file' from bitmap%' 2012-10-01 18:14:19 -06:00
Matthew Flatt
efcad101d1 win32: fix coordinates of non-client mouse events
Closes PR 13141
2012-10-01 13:08:24 -06:00
Jon Rafkind
dcc853e841 add docs for revealing-slide 2012-10-01 12:11:58 -06:00