Commit Graph

34009 Commits

Author SHA1 Message Date
Vincent St-Amour
ceaecb9a44 RacketCon Logistics info. 2014-09-18 23:19:53 -04:00
Vincent St-Amour
3891d52dbb Change RacketCon title and abstract. 2014-09-18 08:40:58 -04:00
Matthew Flatt
43d6684ab9 avoid stack-overflow in scheduler-triggered foreign calls
While a foreigh call is normally guarded by a check on the amount
of available stack space, a callbacks triggered by the
scheduler will first put Racket in no-stack-overflow mode, and
then it's too late to check stack space before making further
foreign calls. With Cocoa, there's some chance that the process
will run out of space. Avoid the mismatch by checking the stack
availability at the start of a scheduler iteration.
2014-09-18 06:06:21 -05:00
Burke Fetscher
bb116e476a redex: fix recursive calls to use premises clauses 2014-09-17 11:48:01 -05:00
Asumu Takikawa
089e6387de Fix type for text:line-numbers-mixin 2014-09-16 16:35:51 -04:00
Phil Nguyen
2cfe0ddcdb Add more typed bindings for framework and for GUI 2014-09-16 15:55:15 -04:00
Burke Fetscher
a3e00ac87c redex: favor recursive rules above the bound 2014-09-16 14:19:12 -05:00
Matthew Flatt
a3412354b8 fix "r6rs-test" dependency declaration 2014-09-14 17:01:23 +02:00
Matthew Flatt
7304420691 fix peek implementation in R6RS input ports
The peek operation must not block, otherwise the port behaves
badly for `sync`.

Based on a bug report from Brett Stahlman.
2014-09-14 16:39:28 +02:00
Mike Sperber
9dbc4842f7 Unbreak the build on FreeBSD 10.
isnan expands into a use of a function called _Generic.

Tell xform not to worry about it.
2014-09-14 09:09:45 +02:00
Asumu Takikawa
98e88d615c Fix the TR fix in efd482c30f
My fix had just patched over a contract violation in a different
function. This commit fixes the root of the problem.
2014-09-13 11:41:02 -04:00
Matthias Felleisen
9810539a63 fixed docs for integer-sqrt, as reported on users, take 2 2014-09-12 19:02:41 -04:00
Matthias Felleisen
11d811ac17 fixed docs for integer-sqrt, as reported on users 2014-09-12 19:02:40 -04:00
Matthias Felleisen
73afc90e68 updated history 2014-09-12 19:02:40 -04:00
Robby Findler
9ceae2fb1a unbreak macro stepper
bug introduced in d495f74648
2014-09-12 17:30:04 -05:00
Asumu Takikawa
efd482c30f Fix unannotated defines with bad number of values 2014-09-12 18:21:58 -04:00
Robby Findler
d495f74648 adjust drracket's online expansion to terminate out-of-memory expansion attempts 2014-09-12 17:14:34 -05:00
Robby Findler
c05bd45dae add a string-constant for out memory during background expansion 2014-09-12 17:14:34 -05:00
Asumu Takikawa
290cc2dd7e Fix TR reference discussion of filters
Thanks to Anthony Carrico
2014-09-12 16:54:20 -04:00
Robby Findler
cb52c50646 fix PLTSTRINGCONSTANTS printouts
also, Rackety
2014-09-12 15:31:40 -05:00
Matthew Flatt
ad2243ee01 restore accidentally removed GC check
Fixes a mistake in commit 768b93be82, which dropped a check that is
needed to trigger GCs during a sequence of large-block allocations.

Closes PR 14738
2014-09-12 12:22:55 -06:00
Matthew Flatt
c627b0fc6f pict: make hc-append, etc., match the docs
Allow pict arguments, with or without a separation-size
argument.

The recently added contract has rules out providing a
separation size with no arguments, which had been allowed
before. The underlying problem, though, was an inconsistency
in the implementation that allowed 0 pict arguments only
in the case that a separation size is provided.
2014-09-12 12:22:55 -06:00
Vincent St-Amour
1938005240 Fix more doc links. 2014-09-12 11:10:01 -04:00
Javier Olaechea
dfb227ed32 Include syntax/parse in defmacro.scrbl
So that can be hyperlinked
2014-09-12 10:58:56 -04:00
Vincent St-Amour
938dc7d41e Fix contract. 2014-09-11 10:42:42 -04:00
Robby Findler
dcfe7ede67 make some arity error messages for ->i contracted functions
slightly less terrible

... but ->i still doesn't do as good a job as -> and ->* do for arity
errors (specifically, ->i is still letting the blame-less errors that
application constructs thru when it could be assigning blame)
2014-09-10 16:57:52 -05:00
Robby Findler
c7e23b867e fix color-frame docs
closes PR 14733
2014-09-10 16:57:51 -05:00
Vincent St-Amour
5d6ecd7754 Fix the fix to type queries.
Should have been included in the original commit.
2014-09-10 14:30:22 -04:00
Vincent St-Amour
08178c1ec2 Fix type queries. 2014-09-09 16:24:09 -04:00
Vincent St-Amour
3ae6d2aa46 Merge clauses even when no clause is consistent with the expected type.
Closes PR14731.
2014-09-09 10:48:03 -04:00
Matthias Felleisen
4ddaa40e33 fixed error message according to Oliver Flatt's suggestion, take 2 2014-09-08 22:32:52 -04:00
Matthias Felleisen
9957fbd7f3 fixed error message according to Oliver Flatt's suggestion; Rackety 2014-09-08 22:32:52 -04:00
Jay McCarthy
8fb3e3b6eb Fix some typos 2014-09-08 21:35:40 -04:00
Jay McCarthy
891db224a0 Including build status and docs on pkgs. 2014-09-08 21:35:40 -04:00
William J. Bowman
c6b3f337e9 Added trace-define, trace-let, trace-lambda
In racket/collects/racket/trace.rkt
2014-09-08 16:36:16 -04:00
Asumu Takikawa
3905334f28 Fix opt-lambda property on opt-lambda methods
Related to PR 14726
2014-09-08 16:30:27 -04:00
Robby Findler
863f7d6669 improve parametric->/c's cooperation with a few bells and whistles in contract error reporting 2014-09-08 09:29:11 -05:00
Robby Findler
e281eecc1f add a test case for parametric->/c that tests that the
polymorphic variables are actually instantiated when the
function is called
2014-09-08 09:29:11 -05:00
Gustavo Massaccesi
1542398822 optimizer: move more things inside let and begin
Refactor the code to move inside 'let' or 'begin'.

Also, in the test position of a 'if', recognize the 'not' inside a 'let' or 'begin'.
For example, transform (if (begin ... (not p)) x y) => (if (begin ... p) y x)
Previously, this conversion was made only when
the 'not' was the outermost expression.

And use the refactored code to move application inside 'let' or 'begin' in a single step
For example, transform ((let (...) ... (let (...) ... f) x) => (let (...) ... (let (...) ... (f x))
In the conversion, it's necessary to shift x to the new coordinates inside the 'let's.
In the new version x is shifted only once.
2014-09-07 19:33:46 -06:00
Matthew Flatt
cddfdca835 JIT: fix problem with arity checking with >= 25 arguments 2014-09-07 18:41:16 -06:00
Matthew Flatt
f99d6840a6 download web pages: notes on source distributions
Closes 14694
2014-09-07 18:41:16 -06:00
Matthew Flatt
9dd8e68c40 plt-web: leave the tt font alone 2014-09-07 18:41:16 -06:00
Matthew Flatt
d64976b7bb web pages: change "Source" to "Unix Source" for non-minimal source 2014-09-07 18:41:16 -06:00
Asumu Takikawa
ab47d1bb25 Handle methods that have opt args but no kws
Closes PR 14726
2014-09-07 17:26:05 -04:00
Robby Findler
bc83e9b778 Open Require Path: ignore .bak files under windows, but ~ files elsewhere
instead of ignoring ~ files everywhere
2014-09-07 15:34:48 -05:00
Robby Findler
f4d66ad4d1 fix magic-open-paren bug
also, replace some eq?s with equal?s.
2014-09-07 15:34:48 -05:00
Asumu Takikawa
df3c56fae2 Fix use of tc-literal 2014-09-07 15:44:19 -04:00
Marc Burns
467786fc1c Handle data descriptor signatures in file/unzip
http://www.pkware.com/documents/casestudies/APPNOTE.TXT specifies that a data
descriptor signature may be placed after the compressed data and before the
data descriptor. file/unzip now handles this case.
2014-09-07 07:47:20 -06:00
Marc Burns
478b01b0e3 unzip: Handle non-seekable input ports.
Before this commit:
  - unzip would attempt to seek the input port via file-position in some cases

After this commit:
  - unzip reads and discards bytes as needed to skip forward
2014-09-07 07:47:20 -06:00
Matthew Butterick
c9692b113f fix docs for image 2014-09-07 07:47:19 -06:00