Commit Graph

29322 Commits

Author SHA1 Message Date
Asumu Takikawa
e53b0858c3 Fix printing of tc-any-results in type errors.
In the long run, these error messages should get
simplified so that this printing is not necessary.

Closes PR 13577 and PR 13526
2013-05-03 15:13:18 -04:00
Asumu Takikawa
64e1b68c8d Refactor and add purpose statements/contracts 2013-05-03 15:13:18 -04:00
Vincent St-Amour
0690ccd90f Fix race condition in `delay/thread'.
There's mutual dependence between promises and their threads. This may
cause a thread to start running before its promise is fully initialized,
in which case it will be `#<undefined>', which causes errors down the road.

This was the cause of an intermittent failure in the TR test harness.
2013-05-03 13:21:53 -04:00
Asumu Takikawa
7c96321cd4 Fix docs for Opaque
Closes PR 13531
2013-05-03 13:10:31 -04:00
Robby Findler
cf8ec30bee some random tests to try to stress the immutable hash table implementation 2013-05-03 11:58:15 -05:00
Matthew Flatt
03b35cd846 raco setup: allow foreign-lib and man-page installation
This change hopefully fills out the things that a distribution
can do and that packages should be able to extend.
2013-05-03 09:13:41 -06:00
Matthew Flatt
717eacf90d fix bytecode validator bug
If a function is bound by a `letrec' (or internal definition)
that cannot be simplified to `let' or lifted to a constant or
top-/module-level function, and if the `letrec' binding is used in
a non-application position, and if the function has in its closure
a typed binding (i.e., boxed, fixnum, flonum, or extflonum),
then the validator was incorrectly rejecting the function's
bytecode --- because the validator didn't distinguish between typed
arguments and typed closure content.

File under "surprised that we didn't hit this one earlier".
2013-05-03 09:13:41 -06:00
Tobias Hammer
e278d43e22 use correct value for (processor-count) on QNX 2013-05-03 09:13:41 -06:00
Asumu Takikawa
c3b80bee41 Clean up struct: and disallow unsupported options
Related to PR 13562
2013-05-02 18:31:58 -04:00
Jay McCarthy
ccf1119b68 Adding summary mode, quiet program mode and changing tests/eli-tester to cooperate so it adds useful information in summary mode 2013-05-02 14:49:58 -06:00
Matthew Flatt
413ca68435 raco setup: add --doc-index; raco pkg: use --doc-index
This combination of changes moves the decision about rebuilding
"scribblings/main" and "scribblings/main/user" to `raco setup',
which is in a better position to know whether documentation should
be built at all.
2013-05-02 12:18:40 -06:00
John Clements
a2dfe1ba46 added stepper-complete string constant 2013-05-02 09:09:43 -07:00
Eli Barzilay
a4cb954e27 New Racket version 5.3.4.7. 2013-05-02 03:30:13 -04:00
Eric Dobson
9c71dafb63 Fix require/untyped-contract to generate better names in contracts.
Related to PR 13716.
2013-05-01 20:35:20 -07:00
Matthew Flatt
4e6e18119c add advice on cross-compiling for Android 2013-05-01 20:41:40 -06:00
Matthew Flatt
69c417e55b work around Android dlsym() bug 2013-05-01 20:41:40 -06:00
Matthew Flatt
5d653e52ba configure: fix ar' and as' inference for cross-compile 2013-05-01 20:41:40 -06:00
Matthew Flatt
61ca229a57 add GC-stress mode
Stress mode forces a GC on every N allocation attempts, and it makes
JIT-generated code always take a slow path.

This mode uncovered only a bad test case and some boring start-up
bugs (boring because start-up is deterministic enough that they
never happen), so far.
2013-05-01 20:41:40 -06:00
Matthew Flatt
93b1f3ef2c repairs for when set_locale() always return NULL
... as it does on Android
2013-05-01 20:41:39 -06:00
Matthew Flatt
ae570e843e reference: expand notation section
Also, move it after the language-model section.
2013-05-01 20:41:39 -06:00
Robby Findler
7611e295f4 fix typesetting for empty reduction relations
closes PR 13346
2013-05-01 17:37:22 -05:00
Robby Findler
79e10348b3 add an error check
related to PR 13346
2013-05-01 17:37:22 -05:00
John Clements
27503c3ae9 specified match precedence in lexer... hope I'm right 2013-05-01 09:02:33 -07:00
John Clements
df319c2ee8 fixing error message in rewrite-side-conditions.rkt 2013-05-01 09:02:33 -07:00
Robby Findler
c9045abf4d add stub for enumeration support to Redex 2013-05-01 10:46:11 -05:00
Asumu Takikawa
62a207a71f Fix Guide typo
Closes PR 13695
2013-05-01 10:18:52 -04:00
Robby Findler
c9724446e6 adjust check syntax keyboard shortcuts
- make them use the same names as the context menu items
- add c:x;a to tack/untack arrows
2013-05-01 07:18:12 -05:00
Robby Findler
0c9f16a829 add c:x;m keyboard shortcut for renaming bound variables 2013-04-30 18:52:10 -05:00
Matthew Flatt
d4c63af3d6 use new `defmodule' in the Reference notation section 2013-04-30 09:36:48 -06:00
Matthew Flatt
eb924d75b6 scribble/manual: make `defmodule' more flexible 2013-04-30 09:36:48 -06:00
Matthew Flatt
176ff287a8 fix `read-syntax' on a vector with a size and no given elements
Closes PR 13720
2013-04-30 08:46:47 -06:00
Eric Dobson
de96643fbe Fix contract generation for mutable structures. 2013-04-29 20:45:49 -07:00
Robby Findler
8706ac286e adjust -> opter so that it avoids stacking up range checks
(using continuation marks, just like the un opt/c version of ->)
2013-04-29 19:45:59 -05:00
Danny Yoo
6edfc0cc9d Correct for-label binding: should be binding racket and not scheme. 2013-04-29 18:10:54 -06:00
Danny Yoo
08dc0e10d9 Improve introductory prose of ports to avoid confusing use of the term 'stream'.
Addresses PR 13718.
2013-04-29 15:07:57 -06:00
Asumu Takikawa
16d3ad7fe5 Note that Markdown mode now uses ```racket in docs 2013-04-29 17:06:02 -04:00
Asumu Takikawa
db1141b564 Scheme -> Racket in docs 2013-04-29 17:05:55 -04:00
Jay McCarthy
5aed43de52 Fixes PR13659. There's nothing wrong with an empty zip file, so zip shouldn't error 2013-04-29 15:02:38 -06:00
Jay McCarthy
a12d516d94 Adding RSS feed 2013-04-29 15:02:38 -06:00
Jay McCarthy
eb40bf7332 Finished curation interface 2013-04-29 15:02:38 -06:00
Jay McCarthy
4b84fc7b48 Ignoring some bad network errors re Robby 2013-04-29 15:02:38 -06:00
Jay McCarthy
bbd24edb54 Making github API keys part of the remote-package-checksum API so that the official catalog won't be blocked during routine updates 2013-04-29 15:02:38 -06:00
Jay McCarthy
568a621799 Don't always dump memory 2013-04-29 15:01:33 -06:00
Jay McCarthy
4f2c94442f Use a single evt for the whole connection 2013-04-29 15:01:33 -06:00
Jay McCarthy
270581377b Adding some debugging notes 2013-04-29 15:01:33 -06:00
Asumu Takikawa
86b0595795 Fix Reference typos 2013-04-29 01:06:17 -04:00
Robby Findler
3dbc3060f6 minor field contract clarifications 2013-04-28 18:19:42 -05:00
Matthew Flatt
60610b737d add some comments to help explain the compiler's space-safety pass 2013-04-28 15:26:36 -06:00
Matthew Flatt
0754f79d61 adjust the new "notation" section of the reference 2013-04-28 15:26:36 -06:00
Matthew Flatt
05c0299be4 switch DrRacket's "Install Package..." to the new package manager GUI 2013-04-28 15:26:36 -06:00