Matthew Flatt
19d474d045
fix some tests related to the make-color' and
make-pen' addition
2012-05-03 19:22:58 -06:00
Matthew Flatt
0d88a08c48
implement branch mode JIT generation for `box-cas!'
...
Also, move slow path into common code
2012-05-03 19:22:46 -06:00
Matthew Flatt
23d46620f2
documentation tweaks
2012-05-03 19:22:46 -06:00
Aaron Turon
868dcb6d57
Add box-cas!' and
unsafe-box*-cas!'.
...
These primitives atomically update a box to a new value, as long
as the current value is the same as a provided value. They also
are future-safe.
When futures are enabled, they use low-level hardware instructions
to perform the change atomically.
2012-05-03 19:19:24 -06:00
Asumu Takikawa
b211782bcd
Lift the use of (quote-module-name) by the default current-contract-region.
2012-05-03 19:47:24 -04:00
Stevie Strickland
b2bfbad240
Add special typechecking rule for expansion of (quote-module-name).
2012-05-03 19:38:47 -04:00
Asumu Takikawa
4651ccc0ad
Fix a TR issue with syntax-local-lift-expression
2012-05-03 19:36:32 -04:00
John Clements
9f9468f7c2
check-= uses magnitude to compare number differences
2012-05-03 10:55:49 -07:00
John Clements
721af649d7
reformatting
2012-05-03 10:55:49 -07:00
Matthew Flatt
5ffb9389ac
fix `raco setup' for splicing collections
...
Closes PR 12676
2012-05-03 11:11:38 -06:00
Matthew Flatt
1b0f6cc995
doc repair
...
Closes PR 12708
2012-05-03 11:11:38 -06:00
Robby Findler
f2816e72b4
fix proc-doc/names documentation
...
closes PR 12739
2012-05-03 11:36:09 -05:00
Jay McCarthy
0e628037ab
Changes re: jGc
2012-05-03 08:51:49 -06:00
Eli Barzilay
2fa345ef9e
Revise license page with the clarification text that was sent on the list.
...
(Slightly revised.)
2012-05-03 10:25:34 -04:00
Eli Barzilay
ed2b579e3c
Fail early on a non-pair input to `list-ref'.
...
There's no index that works with non-pairs, and the generic error
message in such cases is confusing.
Closes PR12740.
2012-05-03 10:24:05 -04:00
Eli Barzilay
1eed0c3d92
Improve the windows text a bit.
2012-05-03 10:24:05 -04:00
Eli Barzilay
97850b5002
No need to use a new 'at-exp-prop property to identify newlines
...
The information is already present in the 'scribble property, so use it
instead.
2012-05-03 10:24:05 -04:00
Eli Barzilay
5fd13c82c3
Recommend using racket' rather than
gracket-text' in the handin quickstart.
2012-05-03 10:24:05 -04:00
Eli Barzilay
68544f55c1
Link to racketcon from the community page.
2012-05-03 10:24:03 -04:00
Asumu Takikawa
efc581e831
Revise Getting Started based on feedback.
2012-05-02 22:59:06 -04:00
Asumu Takikawa
420b66ca4e
Add an example to scriblib/autobib docs.
2012-05-02 22:39:06 -04:00
Stevie Strickland
4d99b83df8
Removing mzlib/class-traced.
...
Both Carl and Matthias have signed off on removing this code.
2012-05-02 19:15:53 -04:00
Vincent St-Amour
376b31cf28
Use icons to distinguish optimizations from missed optimizations.
2012-05-02 17:54:29 -04:00
Vincent St-Amour
d04a1be7ea
Add lines to separate popup entries.
2012-05-02 17:48:57 -04:00
Vincent St-Amour
a2a60cb924
Fix TR test for new contract error message format.
2012-05-02 15:14:39 -04:00
Vincent St-Amour
a62444fa3e
Optimize integers used as sequences.
2012-05-02 15:14:37 -04:00
Matthew Flatt
68e005fb2c
racket/draw: make-immutable-{color,brush,pen} => make-{color,brush,pen}
...
Also, use keywords for `make-pen' and `make-brush'.
Adding `make-pen' and `make-color' creates many conflicts among
teaching libraries, such as `2htdp/image'. These are easy to fix
up in the tree, but adding such obvious names to `racket/draw'
may create other compatibility problems, so we might have to reconsider
the names.
In consultation with Asumu.
2012-05-01 21:04:40 -06:00
Asumu Takikawa
86a976531c
Fix plot to use immutable constructors.
2012-05-01 21:20:52 -04:00
Asumu Takikawa
8db45eb557
Add immutable constructors for color%, brush%, pen%
...
- Make set-immutable a local method and document
is-immutable? as a public method
- Add some racket/draw tests
2012-05-01 21:20:52 -04:00
Matthew Flatt
466ffadb12
racket/draw: use libpng15.so.15 when available
...
E.g., Mageia 2 has libpng15, not libpng12
2012-05-01 16:48:29 -06:00
Matthew Flatt
54a6ba8d36
racket/sandbox: change syntax-object wrappers generated for locations
...
Generate wrappers consistent with a reader-level absence of `.'s,
instead of wrapping every pair. This change fixes the `syntax-e'
example in the Guide's description of syntax objects.
2012-05-01 16:48:15 -06:00
Matthew Flatt
23296615ec
scribble/eval: change string or byte-string expression handling
...
Use `datum->syntax' instead of `begin' to protect the string or byte
string. Danny Yoo suggested this change.
2012-05-01 16:48:15 -06:00
Matthias Felleisen
e04b74f22a
fix mistake in memf documentation, Closes PR 12745
2012-05-01 16:48:17 -04:00
Asumu Takikawa
3db6d1c5b2
Fix REPL hyperlink in Getting Started.
2012-05-01 15:20:28 -04:00
Asumu Takikawa
1406354869
Update Getting Started page.
2012-05-01 14:57:47 -04:00
Asumu Takikawa
db02ad9b75
Add pointers to the Guide in Reference docs.
2012-05-01 14:57:14 -04:00
Matthew Flatt
4ac4e2e8d6
fix a problem with the "self" module path index
...
This bug was introduced recently by changes to support submodules.
Closes PR 12744 (and Robby had reported it earlier)
2012-04-30 23:37:20 -06:00
Neil Toronto
be49a59e4d
Added plot-x-tick-label-angle, plot-x-tick-label-anchor, and similar for y and far axes
2012-04-30 16:12:12 -06:00
Neil Toronto
3862faee64
Fixed discrete-histogram gap and bounds calculation, expanded docs
2012-04-30 14:15:18 -06:00
Robby Findler
05859765ad
change the contract opter so that unknown contracts don't pretend to be flat
2012-04-30 14:39:27 -05:00
Robby Findler
4694a9874f
added line numbers to the syncheck test cases (and removed bogus comment)
2012-04-30 14:39:27 -05:00
Vincent St-Amour
cda496d4ed
Doc fixes.
...
One is from Eric Hanchrow.
2012-04-30 14:13:32 -04:00
Matthew Flatt
eee60c7d47
fix a test suite to work on its own
2012-04-30 06:55:20 -06:00
Matthew Flatt
da103ddc16
remove obsolete and unused MysterX doc sources
2012-04-30 06:53:17 -06:00
Robby Findler
b66f716374
adjust the unit contract tests for the new contract error messages
2012-04-29 21:45:07 -05:00
Robby Findler
8739f15057
Adjusted contract error messages to say given/produced appropriately
...
(and generally cleaned up the way values are actually put into the
code, replacing some ~a's with ~e's and some Rackety)
2012-04-29 21:29:37 -05:00
Robby Findler
33613a75a6
add an example from Neil \bot to the discrete-histogram docs
2012-04-29 21:29:37 -05:00
Matthew Flatt
393a1f441a
scribble: for Latex, pick tt encoding of <, >, and | explicitly
2012-04-29 11:23:37 -06:00
Matthew Flatt
fc1089c842
scribble: change Latex rendering of empty hidden part titles
2012-04-29 10:37:11 -06:00
Stephen Bloch
c769481d9d
Previous commit mistakenly exposed a debugging function "show-cache".
...
It is no longer exported.
2012-04-29 07:31:17 -04:00
Stephen Bloch
ddde53bed4
Documentation for fold-image and fold-image/extra.
2012-04-28 18:09:57 -04:00
Stephen Bloch
2df9ca8789
Added fold-image and fold-image/extra functions, as well as tests for
...
them.
2012-04-28 18:09:57 -04:00
Stephen Bloch
656713cbcf
Enlarged cache for get-pixel-color from one image to 3, so you can
...
alternate among three images without thrashing and re-rendering.
2012-04-28 18:09:57 -04:00
Matthias Felleisen
f95798c7b5
use deprecated from manual for teachpacks
2012-04-28 13:25:33 -04:00
Matthias Felleisen
2992fa122d
use deprecated from manual, deprecate 'deprecate' in common
2012-04-28 13:25:32 -04:00
Matthias Felleisen
9ef66b80ea
add a form to declare a module/library deprecated
2012-04-28 13:25:32 -04:00
Robby Findler
98e06248b5
properly deal with menu shortcuts that are symbols (e.g., 'f1) in
...
the "Show Active Keybindings" menu item
closes PR 12737
Thanks to Laurent Orseau for the fix!
2012-04-28 08:52:13 -05:00
Danny Yoo
a067380622
small typo
2012-04-28 05:27:34 -04:00
Eli Barzilay
16d40c3170
Fix command-line for the demodularizer.
...
Closes PR 12731.
2012-04-28 05:23:43 -04:00
Eli Barzilay
890de3af6c
Move the honu code for vim to collects/meta.
2012-04-28 05:23:43 -04:00
Eli Barzilay
904d2666aa
Completions for zsh.
2012-04-28 05:23:43 -04:00
Eli Barzilay
de98df327c
Typo (but these requirements should be eliminated eventually).
2012-04-28 05:23:43 -04:00
Robby Findler
9288fda689
set the timeout for the easter-egg test to double what it takes on my machine
2012-04-27 14:52:19 -05:00
Robby Findler
1ff580d06a
add deprecation note to htdp/image
2012-04-27 14:52:09 -05:00
Asumu Takikawa
cd67536738
class/c: allow local method names
...
Prior to this change, a method/field name defined with
define-local-method-name was not contractable.
2012-04-27 13:00:48 -04:00
Matthew Flatt
393e8b90b2
fix sorting bug in bytecode submodule table
2012-04-26 21:45:00 -06:00
Matthew Flatt
f099eec2af
save modidx submodule path in bytecode form
...
This change should have been part of 9ba663aa77
.
2012-04-26 21:45:00 -06:00
Jon Rafkind
976be2b8c9
[honu] typo in parenthesis name for the color lexer
2012-04-26 21:11:56 -06:00
Jon Rafkind
565e844228
[honu] add vim syntax file for honu
2012-04-26 18:00:46 -06:00
Matthew Flatt
e1b180ee17
honu: add `error' to compile time
2012-04-26 17:59:19 -06:00
Matthew Flatt
563909c328
scribble/bnf: add `BNF-seq-lines'
2012-04-26 17:59:19 -06:00
Asumu Takikawa
0ea558a463
class/c: fix interaction w/ absent and #:opaque
2012-04-26 14:45:50 -04:00
Asumu Takikawa
841b190ef7
Fix local member info leak due to opaque class/c
...
Prior to this change, the use of opaque class contracts
could reveal the printed names of local members names
in a class.
2012-04-26 14:45:50 -04:00
Matthew Flatt
5e4b9e3aca
racket/draw: pens and brushes from lists should be immutable
...
Closes PR 12732
2012-04-26 08:45:17 -06:00
Matthew Flatt
a8ca75b773
fix documentation example for `protect-out'
...
The example relied on the current code inspector affecting
syntax object created during `eval', but since the switch
from certificates to taints, the relevant code inspector is
determined by the namespace, and a namespace gets its code
inspector at creation time.
Closes PR 12717
2012-04-25 19:54:00 -06:00
Matthew Flatt
fc7f6bbe0f
racket/gui: add a 'no-icon style for `message-box'
2012-04-25 19:32:58 -06:00
Matthew Flatt
d6a57e073c
racket/draw win32: change default font for 'script
2012-04-25 19:17:16 -06:00
Matthew Flatt
9c025210aa
racket/gui win32: font fallback for labels
...
When the requested font isn't available, fall back to
the default font at the requested size and style
2012-04-25 19:17:16 -06:00
Matthew Flatt
418a3cd83b
racket/draw cocoa: adjust default 'script font
...
Also, adjust the way a font is converted for control labels to
strp away Pango descriptions.
2012-04-25 19:17:16 -06:00
Stephen Bloch
2d2f013465
Updated some comments; no effect on running code.
2012-04-25 17:05:56 -04:00
Stephen Bloch
924d510746
Changed the transparency of some bundled images.
2012-04-25 17:04:39 -04:00
Jay McCarthy
5c64e251e1
Fix PR 12694
2012-04-25 06:57:24 -06:00
Matthew Flatt
ffea2b2c02
ffi/unsafe/com: infer 'any type for `com-omit'
2012-04-25 00:11:57 -06:00
Matthew Flatt
9ba663aa77
preserve submoduleness in module path index for expanded submodules
...
The preserved path is exposed by a new `module-path-index-submodule'
function, and `module-path-index-join' now accepts an optional
submodule path.
Also, fixed a problem with `collapse-module-path-index' when
a module path indx is built on a resolved module path that
is a submodule path.
In addition to the main repair, `collapse-module-path[-index]' is
correctly documented to allow '(quote <sym>) rel-to paths.
Finally, `collapse-module-path-index' changed to use a symbolic
resolved module path that appears as the base of a module path
index, rather than falling back to the given rel-to path. It's
possble that the old beavior was intentional, but it wasn't tested,
and it seems more likely to have been a bug.
Closes PR 12724
2012-04-24 21:10:28 -06:00
Matthew Flatt
3c615e434b
fix resolution of relative module path in a submodule
...
Closes PR 12729
2012-04-24 16:15:29 -06:00
Robby Findler
57cae5c85b
added a skeleton 2htdp/image guide section
2012-04-24 16:11:17 -05:00
Jay McCarthy
ae38ecc564
Adding new options re Galler
2012-04-24 14:49:33 -06:00
Asumu Takikawa
555f85ac3a
Add missing method contracts for color%
2012-04-24 10:08:46 -04:00
Asumu Takikawa
1207ca77c4
Hide internal fields in color% and point%.
2012-04-24 10:08:46 -04:00
Stephen Bloch
ba8684cb63
provide provide, so it's possible to use provide and require in
...
student languages. This will be a problem if somebody writes a
function in BSL or BSLLA, provides it, requires it in a non-student
language, and uses it as an argument to a higher-order function
that isn't declared as a "higher order primitive". That is,
not very often. Even if so, just re-open the BSL or BSLLA source
file, switch languages to ISL, save it, and the problem goes away.
2012-04-24 06:37:51 -04:00
Matthias Felleisen
3e1e9c8763
removed code:comment hack that clearly never should have been there
2012-04-23 20:01:58 -04:00
Jon Rafkind
40a3161570
[honu] always keep parsing a unary operator
2012-04-23 17:18:12 -06:00
Jon Rafkind
4799d08022
[honu] dont splice the output of a macro directly into the output
2012-04-23 17:18:12 -06:00
Robby Findler
80d57148d1
fix bug in docs; closes PR 12716
2012-04-22 21:54:19 -05:00
Robby Findler
723ad6207c
add opening a file (and (hopefully) waiting for the coloring to finish)
...
and run the test three times, instead of just once
2012-04-22 08:57:50 -05:00
Robby Findler
fa7d78949e
improve recursive-contract so that it doesn't expand into as much code
...
and it has a more accurate stronger? predicate (as the new blame info
tracking stuff broke its earlier stronger? predicate)
2012-04-21 22:03:41 -05:00
Robby Findler
0621c150ec
added opters for real?, listof, and non-empty-listof
2012-04-21 16:56:24 -05:00
Robby Findler
17a723a63e
Improve the contract error messages:
...
- add context information, so we can see which part of the contract failed
- re-arrange some of the information in the contracts
2012-04-21 16:55:03 -05:00
Jon Rafkind
32a2339d04
[honu] dont create unique ids for struct fields
2012-04-20 14:08:36 -06:00
Jon Rafkind
9858ec72d2
[honu] allow syntax() form to accept a single term. provide some hash stuff
2012-04-20 14:08:36 -06:00
Jon Rafkind
b51ab5802a
[honu] replace $ with honu-$ just to be safe
2012-04-20 14:08:36 -06:00
Jon Rafkind
79b6e5611e
[honu] dont confuse identifiers with $. use = in with-syntax
2012-04-20 14:08:36 -06:00
Jon Rafkind
bb57412242
[honu] check for definitions before continuing to parse. completely parse the left hand side of an operator
2012-04-20 14:08:36 -06:00
Matthew Flatt
6dc3fbb72c
fix doc picto
2012-04-20 12:27:29 -06:00
Eli Barzilay
457908061f
Typo in the name for x86_64-osx-mac.
2012-04-19 21:53:42 -04:00
Asumu Takikawa
0b90dc49cf
Fix docs for render-term.
2012-04-19 17:37:12 -04:00
Eli Barzilay
2b76d9e5b0
A bunch of scheme' ->
racket' conversions.
...
I think that there are no user-visible changes from these changes.
2012-04-19 16:02:03 -04:00
Eli Barzilay
6f215759ae
Add string-trim' and
string-normalize-spaces'.
2012-04-19 16:02:03 -04:00
Eli Barzilay
e2e2a1e3e1
Some cleanups to "script.html".
...
Closes PR 12464.
2012-04-19 16:02:03 -04:00
Matthew Flatt
659ff05143
refine some contracts related to submodule paths
...
Merge to 5.3
2012-04-19 12:45:28 -06:00
Matthew Flatt
8600e7fe31
fix misplaced phase shift in submodule expansion
...
Merge to 5.3
2012-04-19 12:45:28 -06:00
Sam Tobin-Hochstadt
fdb4ab7025
Handle `check-expect' in non-application form.
...
Closes PR 12710.
2012-04-19 12:50:25 -04:00
Matthew Flatt
862e1628a6
fix Planet resolver for submodule tests
...
For example, `(module-declared? '(submod (planet dyoo/bf) reader) #t)'
shouldn't fail if there's no "main.rkt" to hold a `reader' submodule;
it should return #f.
Merge to 5.3, but updating cstartup.inc will require a manual merge.
2012-04-19 08:15:11 -06:00
Matthew Flatt
81eb15f655
doc correction
2012-04-19 08:15:11 -06:00
Stevie Strickland
95d784db84
Fix a ->d contract example in the reference.
2012-04-18 17:42:14 -04:00
Sam Tobin-Hochstadt
0b7674cb06
Describe `cl' syntax class in match.
...
Closes PR 12657. Merge to 5.3.
2012-04-18 17:03:17 -04:00
Stevie Strickland
d76b0dac78
Fix contract names for ->m, ->*m, case->m, and ->dm contracts.
...
This should be merged into the 5.3 release branch.
2012-04-18 15:27:36 -04:00
Robby Findler
81252541dc
add context to blame error messages
...
This is using the same idea that Stevie had, more than two
years ago(!). Sorry for not picking up on this earlier
2012-04-17 22:57:57 -05:00
Eli Barzilay
1c9de39348
Rename #:gap-select' ->
#:gap-select?' and some minor doc fixes.
2012-04-17 15:56:10 -04:00
Eli Barzilay
a14569bfe3
Web pages tweaks.
...
* Add a reference from the community page to the bug reports page.
* Make it possible to subscribe to lists right from the community page.
Improve the email input boxes with placeholder text and a short
explanation on hovering.
2012-04-17 14:04:57 -04:00
Eli Barzilay
115a3dfbac
Make it possible to run each scribble test file by itself.
2012-04-17 14:04:57 -04:00
Eli Barzilay
7360c4c3c2
Add a blurb on names in the json library.
2012-04-17 14:04:57 -04:00
Vincent St-Amour
8cbd26899f
Include both float zeroes in Non-Negative and Non-Positive types.
...
Closes PR12706.
2012-04-16 17:51:04 -04:00
Matthew Flatt
1bcf56f5e9
fix problem with continuations and `call-in-nested-thread'
...
Closes PR 12705
Merge to 5.3
2012-04-16 13:33:50 -06:00
Matthew Flatt
38e628be80
ffi/com: add support for type descriptions on values
2012-04-16 08:47:13 -06:00
Matthew Flatt
ff378d12ce
fix interaction of delimited continuations and stack overflow
...
Closes PR 12702, 12704
Merge to 5.3
2012-04-15 05:37:45 -06:00
Matthew Flatt
b09870cf7e
racket/draw: fix result on non-void `record-dc%' methods
...
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
4179cbfa63
enforce ranges on all integer types
...
DO NOT merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
57f101c74c
fix contract in docs
...
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
6566bf5d15
fix most-negative number and _int64 on a 64-bit platform
...
Closes PR 12703
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
2d6073f59f
docs: will executors are synchronizable events
...
Merge to 5.3
2012-04-15 05:37:35 -06:00
Ryan Culpepper
9f492c10a7
db: fix mysql large blobs, other changes
...
MySQL:
- support multi-packet data rows
- fixed very old length-coding bug (24 vs 32 bit length)
- support large params via long-data packets
- 'any' pseudo-type for parameters
- distinguish 'blob'/'text', 'var-string'/'var-binary'
- read 'text' results as string, not bytes
SQLite3:
- enabled sql types tests
2012-04-14 19:47:32 -06:00
Ryan Culpepper
2dadc4dbac
syntax/parse: increase timeout for stress-template
2012-04-14 19:47:31 -06:00
Ryan Culpepper
5d49663b83
added begin-on-demand (combo of module* and lazy-require)
2012-04-14 17:16:01 -06:00
Robby Findler
7bd1d5ed9b
fix the contract-name accessor for struct/dc contracts
2012-04-14 15:14:21 -05:00
Robby Findler
0b71ebecaf
adjust the way 'new' is laid out in the documentation to be more DrRacket-like
2012-04-14 14:54:19 -05:00
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
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
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
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
Matthew Flatt
20256a3f15
scribble: add 'block style for `table'
2012-04-05 06:58:53 -06:00
Robby Findler
526b659616
account for long search strings when opening the results window
...
in "search in files"
closes PR 12673
2012-04-05 07:29:40 -05:00
Robby Findler
aa8b280f1c
adjust the splay tree implementation so that it creates fewer cons
...
cells when searching in the tree
Two tricks: represent lists of nodes as improper lists so singleton
lists don't allocate a cons and pass around two accumulators that
correspond to the hd & tl of a path, instead of cons'ing that up
into a list and them immediately taking it apart again
measurement: when starting up drracket with
collects/drracket/private/unit.rkt and then waiting for the colorer to
finish, and then inserting an open quote right before the first open
quote in the file (and waiting again for the colorer to finish)
creates 249000 cons cells before this change and 116000 after this
change
After a little more work, I'm pretty much convinced that this was
the wrong approach and that the splaying implementation should just
change to not allocate the paths into lists at all, thus removing
the other 116k cons cells. (I plan to get to this another day;
it should not be difficult now that I roughly understand how these
things work.)
I also looked into top-down splaying and found these notes to
be illuminating:
http://digital.cs.usu.edu/~allan/DS/Notes/Ch22.pdf
They essentially convinced me that we cannot use top-down splaying
here, since the "reassembling" stage requires moving some arbitrary,
unexplored subtree from a right-child to a left-child, and thus the
left-subtree-length cannot be updated properly.
2012-04-05 07:14:52 -05:00
Matthew Flatt
a984f68a46
gui-debugger: update for submodules
...
Closes PR 12668
2012-04-04 07:50:41 -06:00
Matthew Flatt
16d65ed251
fix `raco demod' for new submodule fields in zo structs
2012-04-04 07:37:30 -06:00
Matthew Flatt
e62f812941
ffi/com: fix another GC problem, this time related to custodians
2012-04-04 07:16:50 -06:00
Matthew Flatt
522a92970e
ffi/com: fix GC issue related to COM events
2012-04-04 07:00:25 -06:00
Eli Barzilay
8934b64beb
Remove bold leftover reference to "search.html".
...
(This was using the custom google search, which is no longer maintained.)
Closes PR 12671.
2012-04-04 02:52:51 -04:00
Danny Yoo
8f2ea07ec5
Optimize cpt-table-lookup
...
(Tweaked by Eli.)
2012-04-04 02:52:51 -04:00
Rodolfo Henrique Carvalho
b87c2a18a4
Fix typo.
2012-04-04 02:52:51 -04:00
Matthew Flatt
6afc9d5e8c
racket/gui: fix reparent' with a
pane%' target
2012-04-03 18:36:28 -06:00
Matthew Flatt
89ef600b6e
ffi/unsafe/com: com-object->eq?' implies
equal?'
2012-04-03 18:36:27 -06:00
Matthew Flatt
e05e549021
streamline `vectorof' contact implementation
...
Saves about 10% in a benchmark that applies a
`vectorof' contract frequently.
2012-04-03 18:36:27 -06:00
Robby Findler
5dad811a5d
rackety
2012-04-03 17:08:00 -05:00
Robby Findler
404b4da138
avoid allocation for 'paren' structs
2012-04-03 17:08:00 -05:00
Stevie Strickland
f37ff698b4
Rewrite hash-keys so that only keys, not values, are accessed.
...
This distinction is important after the introduction of chaperones and
impersonators, since accessing a key and accessing its corresponding value
may have different effects, and hash-keys should only trigger the former.
2012-04-03 12:52:03 -04:00
Matthew Flatt
d635b93644
slideshow/pict: sync text' size limit with
font%'
2012-04-02 16:45:37 -06:00
Matthew Flatt
3bf5389237
racket/gui: fix `slider%' range checking
...
Closes PR 12669
2012-04-02 15:25:47 -06:00
Matthew Flatt
cb7200295e
ffi/unsafe/com: fix custodian and multi-instance problems
2012-04-02 14:36:23 -06:00
Robby Findler
f5449f38e8
adjust url-exception so it recognizes the same exceptions it used to
2012-04-01 22:16:35 -05:00
Matthew Flatt
2bf05a8df3
ffi/unsafe/com repairs
2012-04-01 12:58:16 -06:00
Asumu Takikawa
4c022046d5
Fix contract on set-argb-pixels
2012-04-01 01:54:33 -04:00
Robby Findler
4360e62c22
improve the gui for specifying the submodules to run
2012-03-31 22:46:44 -05:00
Robby Findler
033536e746
select the contents of the search string in the 'search in files' dialog
...
closes PR 12667
2012-03-31 12:12:50 -05:00
Asumu Takikawa
f13d9a56d2
Update racket/draw contracts.
2012-03-31 11:46:04 -04:00
Asumu Takikawa
94a837fcc8
Remove dynamic checks from racket/draw.
...
Now that this code has contracts, these checks are
redundant. The contracts are at least as precise as the
checks are.
2012-03-31 11:46:04 -04:00
Asumu Takikawa
c758f65a0b
Uncomment & fix racket/draw contracts
...
Use dummy values (see also racket/snip) to avoid cycles.
2012-03-31 11:46:04 -04:00
Matthew Flatt
c83df32440
try to improve docs for `make-keyword-procedure'
2012-03-31 07:45:53 -06:00
Mike Sperber
cb438298cd
Synch German string constants with latest.
2012-03-31 14:06:08 +02:00
Jay McCarthy
1d19a844f4
Moving tests re: Sam
2012-03-30 23:54:42 -06:00
Asumu Takikawa
0f5f611f12
Fix docs for get-selected-text-color
method.
2012-03-31 00:43:43 -04:00
Asumu Takikawa
5340309080
Make has-alpha-channel? return a boolean.
...
This method used to violate the documented contract.
2012-03-30 23:34:35 -04:00
Asumu Takikawa
2e1d59f7b2
Class contracts for racket/snip.
2012-03-30 23:34:35 -04:00
Asumu Takikawa
303110583b
Class contracts for racket/draw.
2012-03-30 23:34:35 -04:00
Asumu Takikawa
d7fefc848b
Fix requires to avoid circular dependencies.
2012-03-30 23:34:34 -04:00
Robby Findler
8e35fd01a5
forgot the result contract
2012-03-30 20:57:53 -05:00
Robby Findler
4b57482298
adjust DrRacket submodule-running options so the user
...
has more control over which ones get run
2012-03-30 16:42:34 -05:00
Robby Findler
92e8740105
add the #:validate argument to get-text-from-user
2012-03-30 16:42:34 -05:00
Kevin Tew
f777020eef
[Distributed Places] Renamed uses of vm to node, removed export of coercion functions
2012-03-30 11:58:39 -06:00
Robby Findler
97b76d474e
some cleanups, thanks to Eli
2012-03-30 10:44:42 -05:00
Robby Findler
7e86c04847
update module language part of language-test.rkt for submodules
2012-03-30 10:44:42 -05:00
Matthew Flatt
2785f9cf9a
fix priority of refresh for SGL example
...
While it looks this example was always broken in a sense, the
`racket/gui' make the problem more prominent.
Closes PR 12662
2012-03-30 07:56:43 -06:00
Robby Findler
5c7a299c04
make DrRacket run test submodules (in the module language) by default.
...
Add an option in the language dialog to disable that behavior
2012-03-29 22:12:14 -05:00
Jay McCarthy
1ce1277d1e
Set the name statically re: Robby
2012-03-29 18:51:02 -06:00
Robby Findler
86572cc8c3
adjust the contract on string->url so that it actually catches all of
...
the errors that would be signalled by the body. also, remove
url-regexp from the exports (it was only recently added)
I believe this eliminates two of Eli's concerns:
- the contract is no longer so painful to read
- the performance is more reasonable.
Specifically, for the performance, here are the times I see to call
string->url on "http://www.racket-lang.org ":
no contract: any/c
cpu time: 564 real time: 566 gc time: 3
weak contract: (-> (or/c string? bytes?) url?)
cpu time: 590 real time: 590 gc time: 3
strong, regexp-based contract:
(-> (or/c (not/c #rx"^([^:/?#]*):") #rx"^[a-zA-Z][a-zA-Z0-9+.-]*:") url?)
cpu time: 632 real time: 633 gc time: 5
This appears to be about a 10% slowdown for the regexp-based contract
over the weaker contract.
related to PR 12652
2012-03-29 19:31:32 -05:00
Jay McCarthy
1fd8865e23
Fixing PR12658
2012-03-29 16:06:32 -06:00
Jay McCarthy
13e36fbec4
Autobib errors with no authors or dates on a bib entry. Test included.
2012-03-29 15:44:27 -06:00
Matthew Flatt
d67997293d
switch places tests to raco test' instead of
racket -tm' protocol
2012-03-29 14:55:14 -06:00
Matthew Flatt
63a4414863
make --run-if-absent' the default mode for
raco test'
...
This convention makes it easier to deal with a set
of ".rkt" files that implement tests, while a `test'
module implements a `main'-like split for some of the
files.
2012-03-29 14:55:14 -06:00
Matthew Flatt
96e4fa0d13
promote raco test'; demote
raco unpack'
2012-03-29 14:55:14 -06:00
Matthew Flatt
738cac3d24
generalize `malloc' to allow a 0-sized request
...
Past experience suggests that this is generally better than adding
`zero?' tests at various places that might otherwise call `malloc'.
2012-03-29 14:55:14 -06:00
Siddharth Agarwal
a73b9bb788
ffi: extend _list and _vector to support zero-length output
2012-03-29 14:55:14 -06:00
Danny Yoo
0cfb3f1d39
fix flush for `make-pipe-with-specials'
...
Closes PR 12659
2012-03-29 14:55:13 -06:00
Matthew Flatt
f301838511
fix a syntax-object problem related to module bindings
...
The immediate symptom was that `(provide (all-defined-out))'
didn't work in a `module+'-based submodule, but there were
also non-submodule ways to expose the problem.
2012-03-29 14:55:13 -06:00
Vincent St-Amour
69899c33fc
Fix type of expt.
...
Closes PR 12660.
2012-03-29 15:39:24 -04:00
Vincent St-Amour
054f4d9b56
Fix optimization of first, rest, etc.
2012-03-29 15:39:24 -04:00
John Clements
fd6dddb8d0
deleted test-docs-complete.rkt
2012-03-29 10:10:01 -07:00
Matthew Flatt
dfca7d89d9
documentation clarification
2012-03-29 06:46:58 -06:00
Matthew Flatt
140a50d04e
fix a problem with submodule expansion
2012-03-29 06:46:58 -06:00
Robby Findler
cd576ffb3c
adjust the easter egg test suite so it can be loaded by Sam's lib
...
to run all kinds of days.
also fix a bug so that it properly resets the prefs back to the
defaults (and thus has to explicitly set the language)
2012-03-29 07:32:18 -05:00
Kevin Tew
7fde2894d1
Distributed place cleanup due to feedback from Matthew
...
Removed use of (get-current-module-path)
Removed /2s
Removed use of vm and compute adjetives
2012-03-28 18:53:37 -06:00
Kevin Tew
bba967144b
quote-module-name and quote-module-path now take an optional submodule path
...
(quote-module-name "..")
(quote-module-path ".." 'A 'B)
2012-03-28 18:52:02 -06:00
Jay McCarthy
f6b2913b26
Moving the place where formlet tech links go from the technical description to the tutorial
2012-03-28 14:37:40 -06:00
Robby Findler
a90d48975a
use regexp-match? instead of regexp-match in regexp-based contracts
2012-03-28 10:59:31 -05:00
Matthew Flatt
6e5cf70c95
draw picts in DrRacket with 'aligned smoothing
2012-03-28 06:41:00 -06:00
Matthew Flatt
e7f286b87d
fix `make-handle-brush' to retain original pointer
...
In case there's a finalizer attached to the pointer object.
2012-03-28 06:26:58 -06:00
Matthew Flatt
4b36e708a3
fix `record-dc%' problem with regions
...
Closes PR 12655
2012-03-28 06:26:58 -06:00
Robby Findler
a1446a037b
be a bit more systematic with tabbing and magic square-bracket-ing for 'for's
...
also, add in for/sum and for/product
2012-03-28 07:21:09 -05:00
Jay McCarthy
86c1504c19
Removing an error message from dropping HTTP connections
2012-03-27 22:46:38 -06:00
Matthew Flatt
4f197f4ba9
racket/draw: add get-handle' to
bitmap%'; add `make-handle-brush'
...
The `get-handle' method provides the underlying Cairo surface for
a bitmap, while the unsafe `make-handle-brush' function supports the
use of a Cairo surface as a `brush%'.
Also, add `racket/draw/unsafe/cairo-lib', which simplifies access
Cairo from external libraries. Documenting `racket/draw/unsafe/cairo'
might be better, but that's a lot more work.
2012-03-27 18:14:26 -06:00
Matthew Flatt
4735666cd9
scribble: for Latex/PDF output, use \makebox for precise pict widths
...
Otherwise, the width of a pict is implicitly rounded up, since
the PDF bounding box is an integer.
2012-03-27 13:14:54 -06:00
Robby Findler
676f744c1d
add 'match-pattern?'
2012-03-27 12:21:17 -05:00
Robby Findler
fdf3fa6492
apply Andy's diff (and adjust the documentation correspondingly)
...
closes PR 12652
2012-03-27 12:21:17 -05:00
Matthew Flatt
b3002cfab0
add hinting configuration to `font%'
...
The default is that hiniting is enabled, which causes some text
metrics (notably width) to be rounded to integer values, which makes
spacing more consistent. This default is backward-compatible. The
non-default 'unaligned mode refrains from rounding, which makes metric
information scale correctly and improves output for PS/PDF (such as
Redex output).
The `text' function from `slideshow/pict' defaults to
disabling hinting --- which is consistent with its default to combine
text instead of drawing character-by-character -- so slides and Redex
inherit the improvement.
2012-03-27 11:16:27 -06:00
Sam Tobin-Hochstadt
2eeff9d1fc
Revise `Path-String' wording. Thanks Robby.
2012-03-27 12:27:30 -04:00
Sam Tobin-Hochstadt
8968979422
Document relation between Path-String' and
path-string?'.
2012-03-27 10:35:37 -04:00
Matthias Felleisen
1711ab96ba
added vector->list
2012-03-27 10:19:52 -04:00
Robby Findler
e777796a74
fix recently introduced bug in drracket test suites
2012-03-26 17:13:42 -05:00
Robby Findler
617df05ef7
added a test suite for DrRacket that checks to make sure the Dear Dr
...
starts up on all of the days that have easter eggs (well, except 7/2,
since that one is hard to interpose on and hasn't changed in a long
time)
2012-03-26 15:43:56 -05:00
Robby Findler
b640b6b41c
fix splash screen error handling code
2012-03-26 15:43:55 -05:00
Eli Barzilay
8203cf3769
v5.2.1 re-built installer sizes
2012-03-26 15:51:22 -04:00
Robby Findler
bef9e11272
re-unbreak DrRacket
2012-03-26 07:51:57 -05:00
Matthew Flatt
704c320131
unbreak DrRacket
2012-03-26 06:33:37 -06:00
Matthew Flatt
9143c1c7df
fix `syntax/loc' to preserve properties
2012-03-25 19:25:35 -06:00
Matthew Flatt
2d87d48ebd
make HTML rednering work when a `part' has not tags
2012-03-25 19:25:35 -06:00
Matthew Flatt
6c1e1635ab
add missing "jfp.css"
2012-03-25 19:25:35 -06:00
Eli Barzilay
cffed0fab4
Test suite for `known-module', should have been included in the xrepl change.
2012-03-25 21:01:57 -04:00
Eli Barzilay
592d23f5b5
Minor improvement: use `make-rename-transformer' instead of a macro.
2012-03-25 20:57:53 -04:00
Eli Barzilay
cd4121548e
Improve intro to the concept of phases, fix some scribble typos, reformat.
2012-03-25 20:57:52 -04:00
Eli Barzilay
89dee6f6c1
Xrepl improvements, mainly around the treatment of module names.
...
* Get rid of the concept of `modspec': `getarg' now has `require' for
require specs and `module' for a module name (the latter is what all
previous uses of 'modspec except for ,require really needed); command
descriptions use "<require-spec>" and "<module>", documentation
adjusted as well.
* `module-name?' etc turn to `known-module' and `known-module-name',
with a saner behavior, and tests to keep it sane.
* This cleans up a lot of things. Two specific points: ,switch works
better with toplevel-defined modules (see the corresponding change in
the test suite), and also fixes PR 12148.
* Ensure that ,sh commands return void.
* Add tests for ,r with non-atomic require spec, and for use of $F in
,sh commands.
* Improved the test suite, including uses of `module+' so each file can
be run by itself to perform a subset of the tests.
2012-03-25 20:57:52 -04:00
Robby Findler
5280ef1517
clear the interactions text's undos from the drracket thread, not from the user thread
2012-03-25 17:25:48 -05:00
Robby Findler
0d6b825377
add a preference to control whether or not there is an extra
...
pixel of space in between lines in DrRacket.
This change is based on Matthew's experience having a look
at the font setup on the three platforms.
He writes:
> * Mac OS X: the convention seems to be to add space between lines.
> TextEdit, for example, looks like DrRacket: the maze has spaces.
>
> (I can't find a font that makes the maze look right, actually, even
> if I adjust the line spacing.)
>
> * Windows: the convention seems to be that space is built into the
> font. DrRacket (and SirMail) draw lines more sparsely than Notepad.
>
> Perhaps consistent with the differing conventions, the height of
> "Courier New" at 11-pixel size is 14 on Windows, 13 on Mac OS X.
>
> * Unix: the convention seems to be to add space. DrRacket looks like
> the default Terminal and Text Editor programs on Ubuntu.
>
> The maze nevertheless looks right everywhere, because the glyphs
> extend an extra pixel above the declared bounding box!
2012-03-24 20:20:05 -05:00
Sam Tobin-Hochstadt
c5e30d8af5
Use the correct #%app for applications of `local' bound identifiers in the student languages.
2012-03-24 16:04:08 -04:00
Sam Tobin-Hochstadt
a39001911c
Improve filter for `path-string?'.
2012-03-24 16:04:08 -04:00
Matthew Flatt
ed05c385e8
coerce picts to PS/PDF in 'smoothed mode
2012-03-24 11:04:17 -06:00
Matthew Flatt
0b783f80b7
fix problem with measuring text and font substitutions
2012-03-23 15:55:35 -06:00
Jay McCarthy
dfb4bc112d
Removing the thread previously introduced which is now no longer necessary given the real problem
2012-03-23 10:47:56 -06:00
Jay McCarthy
9b579d8c2a
Fixing the error message from PR12443
2012-03-23 10:44:43 -06:00
Jay McCarthy
99f1cc44df
redex-match violates its documented contract
...
This patch fixes the problem that the hole matcher may return an empty
list rather than a #f that gets sent to the caller of redex-match. I
re-ran the Redex tests and found no violations. However, I am not
confident that there isn't a more correct place to put this '() -> #f
replacement.
I will be immediately forwarding this push email to Robby to have him
check it.
2012-03-23 06:39:14 -06:00
Matthew Flatt
523ccff762
minor doc improvements
2012-03-22 19:19:33 -06:00
Matthew Flatt
ae89e210fb
allow (submod "..")' as a shorthand for
(submod "." "..")'
...
Also, `(submod ".")' is allowed as a module path; it's not useful,
but it makes the grammar slightly more regular.
2012-03-22 18:43:11 -06:00
Matthew Flatt
876bc6f02b
doc corrections and improvements related to submodules
...
In particular, add `module+' to the Guide.
2012-03-22 15:12:55 -06:00
Kevin Tew
d4d5ca70fb
Hold reference to original thread during BEGIN_ESCAPABLE in place-channel sync
...
Fixes several bugs related to killed threads that were in the middle of
syncing on place-channels.
2012-03-22 14:52:48 -06:00
Matthew Flatt
c1dbaff6b8
revise phases section in small ways to match the guide's style
2012-03-22 12:41:55 -06:00
Matthew Flatt
5cb3422ea9
semi-export ability to extract multiple images from gif
2012-03-21 19:37:46 -06:00
Robby Findler
1b0df5d48d
fix rotate so that it can accept non-integral arguments
...
closes PR 12632
2012-03-21 19:45:45 -05:00
Ryan Culpepper
74ca931f5a
more template improvements
...
- loosen pattern variable depth rules (now compatible with syntax)
- generalize ?? form to head-templates
- doc improvements
- propagate paren-shape property
2012-03-21 17:48:10 -06:00
Ryan Culpepper
df265ddc67
syntax/parse: eliminate old minimatch struct syntaxes
2012-03-21 17:33:08 -06:00
Ryan Culpepper
6c369f2563
updates to syntax/parse/experimental/template
...
- changed substitute to use closure-compilation
- added stress/perf test for templates
- updated minimatch with vector patterns
- split substitute into separate file, minimize dependencies
- do ellipsis optimization dynamically
- validate guides: check var indexes
2012-03-21 17:33:08 -06:00
Robby Findler
f77467311a
specify 'angle's range
2012-03-21 16:59:53 -05:00
Jon Rafkind
a606f6614b
[honu] add two more tests
2012-03-20 11:32:46 -06:00
Jon Rafkind
918c87e96b
[honu] return the current expression when a semicolon is parsed
2012-03-20 11:32:46 -06:00
Matthew Flatt
47ae2b387a
fix shaodwing problem in `module*'
2012-03-20 07:28:35 -06:00
Matthew Flatt
5551e287da
fix typo
2012-03-19 14:34:33 -06:00
Sam Tobin-Hochstadt
56120d9697
Fix types for regexp-match*' and
regexp-match-positions*'.
...
Note that the keyword arguments themselves are not yet typed.
2012-03-19 15:59:34 -04:00
Vincent St-Amour
999de5a488
Fix bug in autobib's handling of urls.
2012-03-19 11:10:22 -04:00
Robby Findler
9bc1684c9b
fix problems with user-defined keybindings and the example in the docs
...
as reported on the dev mailing list by António Menezes Leitao
2012-03-19 09:58:59 -05:00
Ryan Culpepper
8392f20b8f
db: fix async test for mysql
2012-03-18 04:57:41 -06:00
Ryan Culpepper
c10bf245c5
db: fix mysql close-on-exec slowdown (TCP issue)
2012-03-18 03:31:17 -06:00
Ryan Culpepper
6b02b507a9
macro-debugger: fix parser for local-actions in mod pass 2
2012-03-18 03:31:17 -06:00
Ryan Culpepper
71772ba6c0
macro-debugger: internal debugging improvements
2012-03-18 03:31:17 -06:00
Robby Findler
4fe8cd344c
disable the drracket toolbar buttons for scribble/lp files
2012-03-17 19:24:33 -05:00
Robby Findler
9d43203990
adjusted the render-* functions so they produce .pdf if the given
...
filename ends with #rx#"[.]pdf".
2012-03-17 08:36:34 -05:00
Jay McCarthy
145efa622e
Adding #lang web-server/base
2012-03-16 11:54:46 -06:00
Jay McCarthy
a55029cf76
Fixes PR12638
2012-03-16 11:54:46 -06:00
Kevin Tew
666c0fdb57
Fix sync/timeout hang due to place channels
2012-03-16 08:18:05 -06:00
Eli Barzilay
f3a21c6aba
Remove typed versions of the cgi exceptions.
2012-03-16 03:45:35 -04:00
Eli Barzilay
9d239170cf
Add to/from bytes functions to the json library.
...
Also add a distribution specs line.
2012-03-16 02:55:35 -04:00
Eli Barzilay
818e434c60
Remove no-longer used net/cgi exceptions.
2012-03-16 02:55:35 -04:00
Jay McCarthy
03d3a8f429
Clarifying what #lang web-server has
2012-03-15 12:03:34 -06:00
Ryan Culpepper
e13cce267d
macro-debugger: workaround for instrumentation problem in provide
...
The expansion observer is not propagated to expand_all_provides.
2012-03-14 23:19:25 -06:00
Ryan Culpepper
4b6c71eaae
macro-debugger: improve internal error debugging support
2012-03-14 23:03:47 -06:00
Ryan Culpepper
57bdb62547
macro-debugger: fix deriv parser for begin-for-syntax
2012-03-14 22:25:42 -06:00
Jay McCarthy
aaf53cb1d2
Fixing recent errors
2012-03-14 13:04:30 -06:00
Jay McCarthy
240dbc3c3d
Renaming slice usage
2012-03-14 12:46:25 -06:00
Ryan Culpepper
a564110c08
syntax/parse: change expectstack rep to reduce/consolidate allocations
2012-03-13 19:50:09 -06:00
Ryan Culpepper
5db8553ea1
syntax/parse: expect:thing stores stx being matched
2012-03-13 19:50:09 -06:00
Ryan Culpepper
6cf3127cf9
syntax/parse: put failure information in syntax exn
2012-03-13 19:50:08 -06:00
Ryan Culpepper
e41ff8609c
db: trim todo file
2012-03-13 19:50:08 -06:00
Ryan Culpepper
1b7368f80c
db: fix memory leaks
...
- sqlite3: table prevented pst gc unless close-on-exec
- statement cache wrongly disabled close-on-exec
(not a leak, just gc'd very slowly)
- limit statement cache size
2012-03-13 19:50:08 -06:00
Matthew Flatt
01f1fd56b4
adjust cm to not cmopile when it's not supposed to use source
2012-03-13 18:46:28 -06:00
James Ian Johnson
6e7fb4e7ef
Bibliographies had a nondeterministic render order. Fixed. Added tests for disambiguation.
2012-03-13 18:38:31 -04:00
James Ian Johnson
337be4a677
It was possible for a multi-citation to be ambiguous and mention a something not referenced anywhere else. Added a safeguard so that the citation hash is properly populated.
2012-03-13 18:38:30 -04:00
James Ian Johnson
2c63ce2286
Added the ability to disambiguate between citations using autobib.
2012-03-13 18:38:30 -04:00
James Ian Johnson
f3dc5796be
Better disambiguation for autobib. Delays rendering bib elements because the disambiguation must be accounted for.
2012-03-13 18:38:30 -04:00
James Ian Johnson
6f1c6b7d92
Added the ability to disambiguate between citations using autobib.
2012-03-13 18:38:30 -04:00
Robby Findler
ac99b732fa
fix missing #:eval in redex tutorial
2012-03-13 16:44:38 -05:00
Matthew Flatt
99639c1999
errortrace repair
...
Closes PR 12629
2012-03-13 14:35:49 -06:00
Matthew Flatt
415b1eabc4
more load[/use-compiled] handler fixes for submodules
...
Closes PR 12630
2012-03-13 14:31:40 -06:00
Matthew Flatt
e01ebf6095
try module+' in place of
slice'
2012-03-13 14:31:40 -06:00
John Clements
8d6e9e79a4
cleanup and refactoring of run-teaching-program, minor teachpack stepper fix
...
It looks like run-teaching-program hasn't been touched in quite a while.
To begin with, the "rewrite-module" function used to add code to print
out values of non-define exprs, but this is no longer necessary. In fact,
the only thing that it does now is to discard "provide" statements, and
even this may be unnecessary. I rewrote big chunks of this (short) file
to introduce defines, eliminate unnecessary functions, and add stepper-
skip-completely annotations to the requires associated with teachpacks.
Also, it appears that the 'rep' argument to expand-teaching-program
was entirely superfluous; I removed it from the argument list, and also
from the three places in the main tree (deinprogramm, lang, and the stepper)
that call this function.
Let me know of any problems seen with teachpack requires....
2012-03-13 12:09:41 -07:00
Robby Findler
4b18db1809
special case string snips that contain only newlines. This gets an
...
extra 1/2 megabyte is savings when opening up unit-size.rkt
2012-03-13 10:15:07 -05:00
Eli Barzilay
b2d2e533f9
More changes to platform names.
2012-03-13 10:29:14 -04:00
Matthew Flatt
1228770550
Modernize platform names, especially for Mac OS X.
2012-03-13 10:29:14 -04:00
Eli Barzilay
540213236a
Major code revision for the json library.
...
* Modernize, improve, reformat, reorganize, etc.
* Use 'null as the default translation for json `null'. Add keyword
`#:null' arguments to control it, and a `json-null' parameter to
change the default. (Note that there is no ambiguity: symbols are
used in hash keys, and JSON restricts them to always be strings, so
`null' can never be a hash key.)
* Properly decode double \u-escape sequences (as UTF-16 surrogate
pairs).
* Add a keyword option to do more string encoding of all non-ASCII
characters.
* Rename `json->jsexpr' (and other way) to `string->jsexpr'. This is
because (a) after using it for a while I still can't remember which
side is which and a `string' in the name makes it clear, (b) it
follows the similar `xexpr' functions.
2012-03-13 10:29:14 -04:00
Eli Barzilay
a4ba7c8ebc
Some semi-quick tests for the json code.
...
(With some items that need to be done.)
2012-03-13 10:29:14 -04:00
Eli Barzilay
b35d1b01b2
Initial import of Dave Herman's json library.
...
This commit has the unmodified original.
2012-03-13 10:29:14 -04:00
Eli Barzilay
0eb5f09e23
Add #:match-select' and
#:gap-select' keyword arguments to
...
`regexp-match*', and the two `-positions' variants.
2012-03-13 10:29:14 -04:00
Eli Barzilay
f538c2e076
Fix a macro problem in "racket/private/string.rkt".
...
`port-success-k' is used in a single place, and instead of a simple
`lambda' expression it was used with (and ... (lambda ...)), which lead
to duplication of code. Instead, move the question into the
`regexp-loop' macro. (The compiled zo file is indeed smaller after this
change.)
2012-03-13 10:29:14 -04:00
Tom McNulty
14084d560d
Add function binding-assq-all to request-structs.rkt
2012-03-13 10:29:14 -04:00
James McCoy
89234bde9e
racket/draw: Check for libjpeg.so.8 on unix
2012-03-13 10:29:14 -04:00
Eli Barzilay
f3bb8c7104
This text is not linked from anywhere, and superseded by the guidelines
...
that Matthias maintains.
2012-03-13 10:29:14 -04:00
Eli Barzilay
43ef402274
Don't compile test files.
...
(Didn't touch the tiny "test-docs-complete" tests.)
2012-03-13 10:29:13 -04:00
Eli Barzilay
db2da10894
Improvements to the "support" section of the community page.
2012-03-13 10:29:13 -04:00
Eli Barzilay
3391aea5b4
Improve git intro text.
...
Add a description of the `insteadOf' option and a common github setup
that uses it.
2012-03-13 10:29:13 -04:00
Matthias Felleisen
0df7ef4d73
remove debugging
2012-03-13 07:19:45 -04:00
Matthew Flatt
facc8db712
change module-path?' to subsume
path?'
...
Although th eoriginal idea was to distinguish "text" paths
from derived filesystem paths, practically everythign that accepts
a module path also accepts a path. Building the generalization into
`module-path?' makes it easier to support `submod' wrappers on paths,
and it seems to fix things rather than break them.
2012-03-12 21:08:54 -06:00
Matthew Flatt
060515b9cd
extend string-literal syntax to allow surrogate-style \u pairs
...
For example, "\uD834\uDD1E" is another way to write "\U01D11E",
while "\uD834", "\uDD1E" or "\uDD1E\uD834" are still errors.
2012-03-12 21:03:20 -06:00
Matthias Felleisen
abfc3de9ba
error handler now uses Guillaume's rewrites
2012-03-12 22:49:46 -04:00
Matthias Felleisen
1d894852a4
updated todo list
2012-03-12 22:49:45 -04:00
Jay McCarthy
a75a18637d
Fixing an error in DrDr
2012-03-12 16:16:19 -06:00
Jay McCarthy
b1aae4a12d
Outputing with chunked encoding
2012-03-12 16:16:19 -06:00
Jay McCarthy
1e80084c97
Reading chunked requests
2012-03-12 16:16:19 -06:00
Jay McCarthy
04fdfbb012
Preparing for implementing chunked encoding
2012-03-12 16:16:19 -06:00
Matthew Flatt
8b5a11a39d
fix bug in `apply' expansion
2012-03-12 15:03:33 -06:00
Matthew Flatt
5dc08cbe03
decompiler repairs related to changes for submodules
2012-03-12 09:04:37 -06:00
Robby Findler
a7cb8fdc84
small improvements to the memory usage for files opened in DrRacket.
...
Before this commit, opening collects/drracket/private/unit.rkt required
about 17.5 megabytes of memory and after this commit, it is down to
about 15 megabytes.
The precise measurement I did was to create a frame and a scheme:text%
object in it, record the result of current-memory-use, open the file,
and record current-memory-use again.
For comparison, using a text:standard-style-list% object instead of
the scheme:text% requires only about 4.1 megabytes. One difference
being that there are about 3x more snips (10,204 vs 33,901 (after the
commit)), since we have one snip for each region that has a different
color in the scheme:text version, and the text:standard-style-list has
no colors and thus about two per line (there are 5006 lines in the
file).
2012-03-10 20:18:49 -06:00
Matthew Flatt
2811af1e59
fix test
2012-03-10 10:54:29 -07:00
Matthew Flatt
8eef24be87
mzlib/traceld: show submodule
2012-03-10 10:51:56 -07:00
Matthew Flatt
6e6086293c
drdr: skip traceld
...
If loaded, it prints to stderr as a load of its `main' submodule
is attempted.
2012-03-10 10:48:04 -07:00
Matthew Flatt
537f194c4e
net/imap: add TLS support
...
Based on a patch from Thomas Spurden
2012-03-10 10:47:22 -07:00
Matthew Flatt
97a64b1166
no callback for `tab-panel%' tab additions and deletions
2012-03-10 10:07:37 -07:00
Matthew Flatt
34314c1e7a
fix JIT bug
...
The bug happens with n-ary uses of arithmetic operations that
have constant arguments but couldn't be constant-folded ---
maybe due to a divide-by-zero.
2012-03-10 08:30:01 -07:00
Jay McCarthy
f8325776cf
racket/slice, expand raco test, remove begin-for-testing
2012-03-09 19:51:42 -07:00
Jay McCarthy
b73444a0f3
Adding module**, when-testing, and raco test
2012-03-09 15:54:18 -07:00
Vincent St-Amour
3f74319f46
Add mflatt to the people responsible for the tests of the syntax collect.
2012-03-09 15:19:53 -05:00
Kevin Tew
2584cb71c1
Remove /opt/plt paths from docs
2012-03-09 12:46:14 -07:00
Kevin Tew
5e20081b69
[Distributed Places] added ability to launch remote threads
2012-03-09 12:16:57 -07:00
Neil Toronto
54c8b51c32
Refactoring
2012-03-09 11:30:34 -07:00
Matthew Flatt
a81f7f289a
fix typo?
2012-03-09 10:52:29 -07:00
Matthew Flatt
85802f45f2
raco exe' uses a
main' submodule, if any
2012-03-09 10:34:57 -07:00
Matthew Flatt
6743900fc7
get-module-code repair
2012-03-09 10:34:57 -07:00
Matthew Flatt
a6a1b02de5
more doc updates for submodules
2012-03-09 10:34:57 -07:00
Matthew Flatt
54a441c0e3
DrRacket default `module*' indentation
2012-03-09 10:34:57 -07:00
Matthew Flatt
72ec4070bd
drracket: run `main' submodule
2012-03-09 10:34:56 -07:00
Matthew Flatt
3a1e8803ff
fix errortrace for submodules
2012-03-09 10:34:56 -07:00
Matthew Flatt
566759a5fa
progress on submodule docs; bug fixes
2012-03-09 10:34:56 -07:00
Matthew Flatt
3d69dfab86
first cut at submodules
2012-03-09 10:34:56 -07:00
Matthew Flatt
d74793a5f9
fix race condition on GetLastError() call
2012-03-09 10:34:56 -07:00
Robby Findler
5cb1a844fb
add ack to our sponsors
2012-03-09 10:23:38 -06:00
Robby Findler
a4b721ef3a
make some private methods actually be private methods (instead of fields)
2012-03-09 10:23:38 -06:00
Kevin Tew
c46cdf63bc
Comment out ssh to localhost example.
2012-03-08 21:50:45 -07:00
Jay McCarthy
4c9738effe
Solve copyright problems wrt James Clarks' XML tests
2012-03-08 14:19:50 -07:00
Matthias Felleisen
ad50f144df
fixed error message for shadowing clause names; Closes PR 12621
2012-03-08 11:12:42 -05:00
Ryan Culpepper
fb7c7e3793
syntax/parse: added roles, other updates/fixes
...
expr/c uses role for contract label when avail
export ~peek-not (previously missed)
fixes for integrable stxclasses
2012-03-08 07:39:42 -07:00
Ryan Culpepper
a0065b9efa
syntax/parse: cut-prompt is inherited, not threaded
2012-03-08 01:17:47 -07:00
Ryan Culpepper
14089e0ac6
syntax/parse: clean up integrable stxclass code
2012-03-08 01:17:47 -07:00
Kevin Tew
cc716392da
Distributed Places add runtime-paths, turn off tests.
2012-03-07 12:07:25 -07:00
Kevin Tew
09bed0d61e
Initial Distributed Places commit
...
Distributed Places allows the spawning of remote racket processes and
places. Distributed Places communicate transparently over TCP sockets.
2012-03-07 09:36:13 -07:00
Robby Findler
922857489a
add an example to the racket/draw guide
2012-03-06 19:14:30 -06:00
Jon Rafkind
a94b7b9260
[honu] fix some tests. always reparse the right hand side of an operator
2012-03-05 13:48:52 -07:00
Jon Rafkind
249c7b02ca
[honu] use syntax properties to differentiate parsed syntax from unparsed
2012-03-05 13:48:52 -07:00
Jon Rafkind
89f511fb3e
[honu] bind all attributes from a syntax class. allow multiple expressions in a match list
2012-03-05 13:48:52 -07:00
Robby Findler
ac568d7b3f
try using make-bitmap for the bitmaps under unix to see if drdr
...
likes that better
2012-03-05 13:48:34 -06:00
Robby Findler
519550d291
save a new set of unix bitmaps for the redex bitmap test
...
and (optimistically) turn the bitmap tests back in on in drdr
(also improve the GUI a little bit that shows the errors in
the test)
2012-03-05 11:44:45 -06:00
Robby Findler
3997eaefde
clean up redex bitmap tests (under mac os x)
2012-03-05 08:52:17 -06:00
Robby Findler
4a304643d3
Rackety
2012-03-05 08:12:02 -06:00
Robby Findler
b7caf411ae
added define-extended-judgment-form to Redex
2012-03-03 16:41:53 -06:00
Robby Findler
a0bb0430f2
separated the define-judgment-form implementation (and bind-withs)
...
into its own file
2012-03-03 16:41:52 -06:00
Neil Toronto
568828d491
Fixed graphical glitches:
...
plots too small to render margin decorations (i.e. axis and tick labels) now render without them;
plots in frames now initially render with full detail
2012-03-03 15:39:16 -07:00
Neil Toronto
610280225c
Added unstable/gui/snip (provides snip-canvas%) and docs
...
Changed plot-frame to use snip-canvas%, so resizing the frame resizes the plot; added Escape handler (closes the frame)
2012-03-03 12:37:09 -07:00
Neil Toronto
bf97780eda
Fixed an internal function contract
2012-03-03 12:37:09 -07:00
Asumu Takikawa
6edf9c16d4
turtles: better error message and improve docs
...
When uninitialized, turtles was giving a poor internal error.
Now it should tell the user to initialize. Also, added a note
in the docs about initialization.
2012-03-03 14:17:53 -05:00
Matthew Flatt
06e94d510a
openssl: another attempt to get SSL_shutdown right
2012-03-02 10:33:36 -07:00
Matthew Flatt
5630a3a1ca
racket/sandbox: use `gui-available?' at sandbox creation
...
Previously, sandbox creation used `gui?', which is the result of
`gui-available?' at the time that `racket/sandbox' is instanited.
This change makes sandbox behavior less sensitive tothe order in
which modules `require'd into a program are intiantiated.
The change depends on a new `sandbox-make-namespace' default
function for `sandbox-namespace-specs'. The new function uses
either `make-base-namespace' or `make-gui-namespace', depending
on whether the GUI library is available at that point.
A new `sandbox-gui-enabled' parameter can disable use of the
GUI library even if it is available.
The `gui?' binding is still exported for backward compatibility,
but it shouldn't be used anymore.
2012-03-02 07:47:16 -07:00
Matthew Flatt
a976c56cb9
openssl: more little fixes
...
Fix an error message broken by earlier debugging, and also
fix long-standing shutdown problems. Move basic tests to more
standard location.
2012-03-01 20:34:53 -07:00
Matthew Flatt
fc2eb1c11c
openssl: fix error handling
...
The recent thread-safety change wasn't right.
2012-03-01 15:43:04 -07:00
Sam Tobin-Hochstadt
8055d9f5f8
Allow multiple right hand sides in match/values.
...
Closes PR 12613.
2012-03-01 15:05:51 -05:00
Asumu Takikawa
04f7bdbb02
framework: add missing methods to interface and docs
...
The set-replace-start and get-replace-search-hit methods were
missing in the text:searchable<%> interface. The latter was
also undocumented.
2012-03-01 13:17:48 -05:00
Matthew Flatt
14f03bcf5b
openssl: thread safety
...
There are many SSL_() functions that produce return codes with more
information from SLL_get_error() and/or ERR_get_error(). Those need
to be grouped in an atomic section to ensure thread safety at the
level of Racket threads.
2012-03-01 11:02:48 -07:00
Matthew Flatt
1032ce8afe
openssl: make ssl-set-verify!' and
ssl-try-verify!' work on ports
...
Using the functions on a port triggers renegotiation of the
connection, which s useful for cases such as a web server that
requires a certificate only for certain paths. This functionality
also allows better testing of the SSL library.
2012-03-01 11:02:48 -07:00
Matthew Flatt
efcb607865
fix openssl problem
...
Read and write actions on an SSL port can trigger internal write
and read actions (i.e., the opposite direction). On the read side,
write pumping was performed too early before returning a "wait
for new input" event; SSL operations between the pumping and
return could trigger the need for pumping, but it never happened
because the socket was waiting for new input before taking any
new actions.
The problem would shows up specifically when Apache renegotiates
a connection to demand certificates from a client after first
determining the target of the request (i.e., when a certificate
is required ony for specific locations on the server).
Thenks to Sergey Pinaev, Timur Sufiev, and Neil Van Dyke.
2012-03-01 11:02:47 -07:00
Robby Findler
51207a2f68
Revert "topologically sort collections based on the dependencies between"
...
This reverts commit 79c6a2b1e5
.
Sorry--- I didn't mean to push this commit
2012-03-01 11:43:54 -06:00
Robby Findler
e256a396ba
add a little more discussion based on comment from mailing list
2012-03-01 11:41:00 -06:00
Robby Findler
79c6a2b1e5
topologically sort collections based on the dependencies between
...
them and use that to order 'raco setup'
The dep-list.rkt file contains code that reads .dep files
and computes the topological sort; this result is expected
to be copied over into setup-unit.rkt
2012-03-01 11:41:00 -06:00
Matthew Flatt
facb411a63
fix problems with place termination
2012-02-29 20:20:55 -07:00
Matthew Flatt
ab9f63a3a0
fix error message
2012-02-29 20:20:55 -07:00
Sam Tobin-Hochstadt
3267738425
Sort paths before fuzzing, to make drdr runs reproducible.
2012-02-29 12:01:37 -05:00
Robby Findler
a23f6dbca2
move the redex scrbl files into a scribblings subcollection and adjust timeouts
2012-02-29 07:13:36 -06:00
Eli Barzilay
f7c67b49a4
Big newline at EOF scan.
2012-02-29 00:28:11 -05:00
Robby Findler
0243b50368
Make the "F" in "Search in Files" get the underline in the menu
...
closes PR 12607
2012-02-28 21:53:03 -06:00
Robby Findler
7d683c7faf
fix error in blame assignment for -> with dot-args.
...
closes PR 12608
2012-02-28 20:15:58 -06:00
David Van Horn
b8d3219b1b
Fix contract on filebox to reflect documentation.
2012-02-28 19:40:21 -05:00
David Van Horn
68b225c992
Rename scratch to avoid running by DrDr.
2012-02-28 19:06:14 -05:00
Matthew Flatt
6e42c92a50
add some interpreter vs. closure compiler benchmarks
...
Mostly for amusement, including the contrast between
the benefits of closure compilation for a host interpreter
versus the benefits for a host compiler.
2012-02-28 15:35:39 -07:00
Matthew Flatt
70ab6d482a
fix problem with continuations
...
The problem was a misplaced allocation that could cause a GC
when the thread is in an unstable state in the process of
applying a continuation.
2012-02-28 15:35:38 -07:00
Vincent St-Amour
249c1cc666
Remove dependency on unstable/port.
2012-02-28 16:26:21 -05:00
Jay McCarthy
ffcda4741f
Fixing a safe-for-space error that Robby found
2012-02-28 14:15:07 -07:00
Jay McCarthy
eb0e188b63
Clarify error message
2012-02-28 14:15:07 -07:00
Ryan Culpepper
94ae918b0f
setup "images" collection earlier, "drracket" at end
...
This change cuts real time of "raco setup -D" almost in half
on a 4-core machine.
2012-02-28 05:27:58 -07:00
Ryan Culpepper
3e6069a70f
syntax/parse: optimize common ellipsis patterns
2012-02-28 05:27:58 -07:00
Ryan Culpepper
2a3d6d5c31
syntax/parse: add attribute-prefix check to template form
...
(template x.y) raises an error if x an attribute but x.y is not.
2012-02-28 05:27:57 -07:00
Vincent St-Amour
4a8f447dae
Remove unstable/port.
...
`port->list' does all it can do.
2012-02-27 22:03:39 -05:00
Matthew Flatt
012ef60cd5
fix non-tail loop in parallel `raco setup'
...
Deep recursion with too-few recognizable JIT frames caused
trouble with `current-continuation-marks'.
2012-02-27 14:46:03 -07:00
Jay McCarthy
172c6379d1
Test is sensitive to heap locations
2012-02-27 12:20:49 -07:00
Vincent St-Amour
f420edc5ee
Add range to racket/list.
2012-02-27 13:40:31 -05:00
Vincent St-Amour
b323acb999
Only check chaining for missed optimizations.
2012-02-27 13:40:30 -05:00
Kevin Tew
3e0e4a3f6b
Allow hashes across place channels.
2012-02-27 10:11:04 -07:00
Jay McCarthy
f29a2c0e61
Setting responsibility on EOPL test to dvh
2012-02-27 09:16:47 -07:00
Jay McCarthy
b51bd062a8
Adding indexing terms re: PR9893
2012-02-27 09:15:28 -07:00
Robby Findler
c5193f7da7
fix a bug in define-union-language
...
(this bug was somehow already covered by the existing test suites
and also make pretty much every define-union-language break)
2012-02-27 10:00:23 -06:00
Robby Findler
bd08e09b12
fix up the repl test now that picts dont render as bitmaps
...
(following up commits
ad65164c5e
and
72b9199976
)
2012-02-27 10:00:23 -06:00
Matthew Flatt
0dcc96c5eb
fix JIT, `unsafe-struct-ref', chaperone, and procedure property
2012-02-27 06:57:44 -07:00
Matthew Flatt
f9247ff3a5
fix zip/gzip bug
...
Closes PR 12605
2012-02-27 08:34:26 -05:00
Eli Barzilay
6d63c1f548
Make it possible to nest HTML outputs.
...
(This is the actual fix for PR 12604)
2012-02-27 06:46:26 -05:00
Robby Findler
fffafbab18
edit wxme docs to clarify the text-only? argument passed to read-snip
2012-02-26 21:43:44 -06:00
Matthew Flatt
188c6fdc66
add `log-max-level'
...
As suggested by Tobias Hammer
2012-02-26 22:13:02 -05:00
Matthew Flatt
2d7b97ece9
doc and terminology fix
2012-02-26 22:13:02 -05:00
Matthew Flatt
bf5ab2a1c9
fix test to be reliable
...
The original variant depended on floating-point precision of pow().
2012-02-26 22:13:02 -05:00
Matthew Flatt
21a07ae9d6
fix problems with `(_fun #:in-original-place? #t ....)'
...
The old implementation could cause deadlock by blocking on a semaphore
while waiting for the original place to run a callback, but a master
GC might be needed (and the blocked place wouldn't get the signal).
Beside fixing that problem, a potential memory leak is fixed in
calling an ffi funcition and having a Racket->C unmarshaling fail.
Also, the GC marking routine for a `place' value didn't reference the
place's underlying `place_obj' value.
2012-02-26 22:13:01 -05:00
Matthew Flatt
f79e2b4ee0
fix problems with `record-dc%' and composition
...
Recorded clipping, transformations, and alpha didn't compose with
the target DC's existing clipping, transformations, and alpha.
2012-02-26 22:13:01 -05:00
Matthew Flatt
40fb54248d
add missing docs for transform' method of
dc-path%'
2012-02-26 22:13:01 -05:00
Eli Barzilay
069e917cca
Fix a very old typo in the pre-built "binaries" directory index.
...
Closes PR 12604.
2012-02-26 18:58:24 -05:00
Jens Axel Søgaard
ac9c155feb
Bugfix for `graphics/turtles'
...
The orange triangle is now updated after each turtle command. The erase
pen is now 2 pixels wide: before this, (draw 100) (erase 100) didn't
erase the line, but gave a grey line.
2012-02-26 15:55:30 -05:00
Neil Toronto
50df61fc4e
Fixed typo in introduction
2012-02-25 22:47:09 -07:00
Neil Toronto
3ed1a78713
Made plot snips resizeable
2012-02-25 22:47:09 -07:00
Matthew Flatt
dc1d4e80dd
fix incorrect GC decls hard-wired into xform
...
Closes PR 12602
2012-02-26 03:58:21 +00:00
Robby Findler
36323cf3be
added a pict-snip test case
2012-02-25 21:42:40 -06:00
Robby Findler
ad65164c5e
added a snipclass for pict-snip
2012-02-25 21:25:09 -06:00
Robby Findler
72b9199976
use record-dc% for drawing picts in the DrRacket repl
2012-02-25 17:59:07 -06:00
Robby Findler
f61f0830e5
change register-toolbar-button so that it accepts a number
...
argument and uses that to order the buttons in the DrRacket
panel.
Also, order all of the buttons via these numbers in
a more sane way
2012-02-25 16:57:49 -06:00
Robby Findler
df504d482e
fixed bug in list/c's first-order checking code
2012-02-25 16:57:49 -06:00
Matthew Flatt
645ca02e92
racket/draw: add `record-dc%'
2012-02-25 20:57:56 +00:00
Sam Tobin-Hochstadt
678941ce5a
Pass temporary value for Un' along in recursive call in
substitute'.
...
Closes PR 12600.
2012-02-24 20:25:53 -05:00
Ryan Culpepper
fa5e57335c
macro-debugger: right-click also changes syntax selection
...
fixes PR 12442
2012-02-24 17:51:41 -07:00
Ryan Culpepper
d4ac5e11ef
ryanc is responsible for tests/data
2012-02-24 16:59:22 -07:00
David Van Horn
7491e172ea
EOPL test suite re-written in Racket-based #lang eopl and rackunit
...
The eopl language is now racket-based rather than mzscheme-based. This
test-suite, which was originally distributed on the book's web-site has
been re-written in the new language. Changes include dropping all
drscheme-init.scm and top.scm files. Remaining files were renamed to
use the .rkt extension and edited to use the #lang syntax (instead of
modulue). Require and provide forms were changed to reflect racket's
syntax instead of mzscheme's (eg, only-in vs. only). Several
occurrences of one-armed ifs were changed to use when and unless. All
tests have been run successfully.
2012-02-24 14:46:18 -05:00
David Van Horn
b5a4ffcd55
Import allcode.zip into test suite.
2012-02-24 14:46:17 -05:00
Eli Barzilay
0de95a0a79
Do a timeout for http polls too.
...
(Turns out that some network problems can lead to a timeout after
several hours...)
2012-02-24 14:46:17 -05:00
Robby Findler
4eba0862cf
fix struct-info related bug in provide/contract
...
that John Clements pointed out on the Racket
mailing list
2012-02-24 13:10:12 -06:00
Robby Findler
ca9e8d742f
add missing defaults to calls to syntax-local-value
2012-02-24 11:31:06 -06:00
Matthew Flatt
60c1bc6638
fix problem with `get-module-code'
...
As reported and fixed by Timur Sufiev
2012-02-24 17:06:20 +00:00
Robby Findler
df4dbe615f
add a convertible interface to texpict that lets
...
values be convertiable to picts.
use that interface in DrRacket, but via the suboptimal
screen-bitmap route (for now)
2012-02-24 10:48:19 -06:00
Robby Findler
868cc4388f
go back to make-bitmap for pict turned into bitmaps via file/convertible
...
the lack of alpha (under windows) seems to outweigh the various
font drawing bugs/shortcomings
2012-02-24 08:15:05 -06:00
Robby Findler
9ffc18a000
adjust plai's gc2/mutator so that primitive applications are
...
special and primtives not in an application position is a syntax error
2012-02-24 08:15:03 -06:00
Asumu Takikawa
f092a96333
gui-debugger: closing the debugger should break
2012-02-23 19:52:29 -05:00
Asumu Takikawa
8170da3d10
gui-debugger: Racketize
2012-02-23 19:52:29 -05:00
Asumu Takikawa
41f60ac95f
gui-debugger: update icons using Neil's icon set.
2012-02-23 19:52:29 -05:00
Asumu Takikawa
4f982fddfd
gui-debugger: add a close button
2012-02-23 19:52:29 -05:00
Matthew Flatt
eb032c2fef
improvements to the bitmap docs
2012-02-23 07:12:22 -06:00
Robby Findler
d476d3f21a
fix a bug I thought I'd fixed a while back...?
2012-02-22 16:51:48 -06:00
Robby Findler
914f9feebc
lighten some check syntax arrow colors in white-on-black mode
...
closes PR 12594
2012-02-22 16:41:46 -06:00
Matthew Flatt
a025f7e9c8
fix bug in bytecode optimizer
...
The bug is triggered by unsafe flonum operations, a
conversion that tries to make the arguments more unboxable,
and a `lambda' form within an argument to the unsafe
operation.
Closes PR 12587
2012-02-22 06:54:26 -07:00
Matthew Flatt
c1759243d4
fix a problem with the interaction of Pango and AppKit
2012-02-22 06:54:26 -07:00
Matthias Felleisen
190fbcd7ce
fixed docs for quotient; Closes PR 12593
2012-02-22 08:33:16 -05:00
Jon Rafkind
4852904035
[honu] wrap expressions with let so local macro parsers can be defined. replace more usages of %racket with racket-syntax
2012-02-21 16:19:10 -07:00
Jon Rafkind
7379684c5b
[honu] use syntax properties to differentiate racket syntax from honu syntax instead of the %racket identifier
2012-02-21 16:19:10 -07:00
Jon Rafkind
bb85c06df4
[honu] use honu->racket in more builtin forms
2012-02-21 16:19:09 -07:00
Jon Rafkind
782664316d
[honu] honu forms implemented in racket must call honu->racket on the parsed output. add an example to do ocaml style pattern matching
2012-02-21 16:19:09 -07:00
Jon Rafkind
549a7522e3
[honu] add syntactic patterns. parse the output of macros using a local define-syntax (kind of hackish)
2012-02-21 16:19:09 -07:00
Robby Findler
1945ff2709
add make-platform-bitmap
...
also: use it in pict's rendering and
remove redex's platform-specific font choice
(going back to using 'modern on all platforms)
closes PR 12554
2012-02-21 16:19:45 -06:00
Eli Barzilay
c007c345f9
A bunch of more typos like the ones in David's commit.
2012-02-21 14:21:43 -05:00
David Van Horn
f029117266
Fixes spelling errors in reference.
2012-02-21 14:21:43 -05:00
David Van Horn
49064bc802
EOPL mzscheme => racket; closes PR10478.
2012-02-21 14:21:43 -05:00
Eli Barzilay
bfb731e065
Add robots.txt, to avoid spiders hammering the server via gitweb.
2012-02-21 14:21:43 -05:00
Robby Findler
bdd82c1b45
chop up the planetcute image
...
closes PR 12584
2012-02-21 12:21:07 -06:00
Matthew Flatt
b9012a2504
COM doc and error fixups
2012-02-21 06:14:44 -07:00