Commit Graph

29557 Commits

Author SHA1 Message Date
Robby Findler
4df519d8d7 I'm responsible for 2d 2013-02-15 07:47:42 -06:00
Eli Barzilay
576a573216 New Racket version 5.3.3.2. 2013-02-15 03:30:18 -05:00
Matthew Flatt
655444ada9 racket/snip: contract repairs 2013-02-14 19:49:48 -07:00
Matthew Flatt
6a218e196a racket/enter: another submodule repair
When a submodule is required from the load handler and no such
module is available, the load handler is not supposed to raise
an exception.
2013-02-14 19:47:40 -07:00
Matthew Flatt
b22ac3b990 compiler/cm-accompice: log to a logger named 'cm-accomplice 2013-02-14 19:47:40 -07:00
Matthew Flatt
d5c1a75e38 racket/gui cocoa: fix over-eager refresh for 'gl canvas% 2013-02-14 19:47:40 -07:00
Matthew Flatt
74a3e14f9c improve `configure' tests for cross-compilation
Use compile and link tests instead of run tests, where
possible.

Based on a patch from Tobias
2013-02-14 19:47:40 -07:00
Robby Findler
ca8ad3b88b try to be slightly smarter about invalidating the green region
in the line numbers when it moves around

specifically, if the before and after green line are right
next to each other, then put it into a single edit sequence
(which unions the invalidated regions); if not, then we
may be jumping far away, so invalidate the two regions
and redraw them separately
2013-02-14 19:51:08 -06:00
Robby Findler
30ca1f0baf add syntax coloring for 2d syntax 2013-02-14 19:51:08 -06:00
chrdimo
79b8661e13 restoring the link to unix sockets docs 2013-02-14 20:27:03 -05:00
chrdimo
a4f4773597 docs for option contracts 2013-02-14 19:56:43 -05:00
chrdimo
26726ba26f tests for option contracts 2013-02-14 19:55:10 -05:00
chrdimo
ee81c98ae9 extending option contracts; now handle procedures, vectors, hashes, struct instances, adding support for invariants for vectors, hashes and struct instances 2013-02-14 19:53:26 -05:00
chrdimo
61e896c8d7 small fix in blame-update and small change in error message for multiple blame labels 2013-02-14 19:50:56 -05:00
Matthew Flatt
a96b093d97 ffi/unsafe: unbreak 2013-02-14 17:30:10 -07:00
Matthew Flatt
ccabbaa36e fix `current-subprocess-custodian-mode' for a #f argument 2013-02-14 17:30:10 -07:00
Matthew Flatt
6c49aee3a6 doc: add some links 2013-02-14 17:30:10 -07:00
Eric Dobson
5ed26e806b Make lists with minimum lengths be a subtype of sequences. 2013-02-14 18:24:52 -05:00
Eric Dobson
3c31803c19 Add a simple-Union and Bottom, and have code use them.
Requires splitting out the match expanders from base-abbrev.
2013-02-14 18:24:52 -05:00
Eric Dobson
b4beabc977 Make tc-let do unions correctly. 2013-02-14 18:24:52 -05:00
Vincent St-Amour
60959467cf Fix optimization of unary complex - and /. 2013-02-14 18:24:52 -05:00
Vincent St-Amour
c6029cacf8 Fix optimizations for complex unboxing.
Omitted parts were not used properly.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
29a181175f Improve a number of numeric function types.
Closes PR13468.
2013-02-14 18:24:52 -05:00
Asumu Takikawa
471a1e1ee6 Refactor documentation of pen%, font%, brush% 2013-02-14 18:22:48 -05:00
Asumu Takikawa
bf4e69fea9 Export racket/draw's helper contracts and document them 2013-02-14 18:22:48 -05:00
Asumu Takikawa
ed13e87734 Refactor contracts 2013-02-14 18:22:47 -05:00
Matthew Flatt
dfdc22ea12 doc repair
Closes PR 13415
2013-02-14 15:55:07 -07:00
Matthew Flatt
3cd4ee1c0d ffi/unsafe: allow multiple values for a `(_fun ... -> _racket)' result
Closes PR 13496
2013-02-14 15:45:26 -07:00
Matthew Flatt
421cb24138 add `port-counts-lines?' 2013-02-14 15:45:26 -07:00
Matthew Flatt
99d5dc95bf add ackn 2013-02-14 15:45:26 -07:00
Tobias Hammer
7e2b443fa9 Support for multiple value return from wrap-evt and handle-evt
wrap/handle-evt that receives multiple values must have a handler function with adequate arity.

struct.c:
  change contract for wrap/handle-evt from (any/c -> any) to procedure?
thread.c:
  adjust sync processing
sync.rktl:
  add test for handle-evt, wrap-evt and prop:evt
2013-02-14 15:45:26 -07:00
Ryan Culpepper
1cb6c03488 clean up socket code 2013-02-14 17:19:08 -05:00
Ryan Culpepper
b3afbdd485 added unstable/socket 2013-02-14 17:19:08 -05:00
Ryan Culpepper
7a0b100ce0 tests for unstable/macro-testing 2013-02-14 17:19:08 -05:00
Danny Yoo
9ed78f2752 Include zero-width-space in string-normalize.
Closes PR 12683.
2013-02-14 13:24:31 -07:00
Matthew Flatt
f1b4c86519 net/ftp: put temp file for download in directory of destination 2013-02-14 13:03:58 -07:00
Matthew Flatt
294bed209e macro expander fix
Repair 73e07f576b added an item to a list without incrementing a
counter for the list length, which cause a different element of
the list to be dropped, which could mess up binding resolution in
arbitrarily bad ways.

(Ths bug falls into the "how did this not get exposed earlier?"  bin,
although part of the answer is that it requires a combination of
module re-expansion and simplification of syntax objects in the
residual program.)

Closes PR 13428
2013-02-14 07:11:16 -07:00
Robby Findler
91b6525b29 adjust contour to track edit sequences better
Specifically when there is no delegate and an edit
sequence is started, track that differently in case
a delegate is set before the edit sequence ends
(in which case we don't want to end the edit
sequence in the delegate since we didn't start it
there)

related to PR 13491
(cherry picked from commit 405e51bb05)
2013-02-13 17:13:08 -05:00
Ryan Culpepper
fbee1ed9c7 change stxparse tests to use unstable/macro-testing 2013-02-13 16:14:49 -05:00
Ryan Culpepper
1ef3845873 added unstable/macro-testing 2013-02-13 16:14:45 -05:00
Ryan Culpepper
f08133733a fix error message 2013-02-13 13:43:40 -05:00
Matthew Flatt
d408ba43a8 fix submodule `expand' handling
Trying again for 4a0adb6a74.
2013-02-13 10:26:31 -07:00
Robby Findler
7dff18c385 add for/set and it's varieties to the default prefs 2013-02-13 10:50:06 -06:00
Matthew Flatt
9ff47ec1d0 Windows: propagate system error text even with format commands
For example, error 193 now says "%1 is not a valid Win32 application.",
which is ugly but better than "Unknown error".
2013-02-13 08:54:53 -07:00
Matthew Flatt
c6eb82524b fix `syntax-local-module-exports' for submodules in expand mode 2013-02-13 08:28:23 -07:00
Matthew Flatt
8c2c84f74f fix context for `#%module-begin' form in a submodule 2013-02-13 08:28:22 -07:00
Matthew Flatt
4a0adb6a74 fix syntax-local-submodules' in expand' mode 2013-02-13 08:28:22 -07:00
Jay McCarthy
6ae2c71ed5 Add raco show -d and showing package deps on failed remove 2013-02-13 07:47:59 -07:00
Robby Findler
4494788017 fix rendering of example in Guide
closes PR 13517
2013-02-13 07:25:36 -06:00
Danny Yoo
db0234fb6f Amend comment. 2013-02-12 20:18:54 -07:00