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
Matthew Flatt
b656219f8a
net/smtp: fix auth encoding to not add extra CRLFs
...
Closes PR 12501
2012-02-21 06:14:44 -07:00
Matthew Flatt
a12f9831a3
add optional newline argument to `base64-encode'
2012-02-21 06:14:44 -07:00
Robby Findler
7c3464f9d7
add marks on quoted identifiers so that, when they are used later, they bind properly
2012-02-20 21:30:24 -06:00
Sam Tobin-Hochstadt
b4af99babb
Fix types of numerics etc with expected type.
2012-02-20 18:45:33 -05:00
Robby Findler
7109e92b04
add gc2 support to random mutator
2012-02-20 15:29:00 -06:00
Robby Findler
3f5a45e904
fix broken vector->roots
2012-02-20 15:29:00 -06:00
Robby Findler
c42675f80c
adjust gc2's mutator language:
...
- give names to user functions that matches the user's names
(if the third bullet goes away, then the function
mutator-lift needs to be adjusted so that it uses
procedure-rename in order to preserve the improvement
in this bullet)
- change exn? to exn:fail? (to avoid catching break exns)
- change lang so that primitives (the ones in the
provide-flat-prims/lift declaration) are not allocated
in the user's space (treat them as if they are constants)
This change makes it easier to build up and explain the
GC api, piece by piece. That is, you can first run a program
that contains just a constant (and explain it) with only a
subset of the api. Then you can do something like (+ 1 2)
and explain it, both without getting into how procedures work.
(This is helpful for the way I run my lectures)
2012-02-20 15:29:00 -06:00
Sam Tobin-Hochstadt
a8bdb9d6ce
Speed up and improve tc-literal
. Now uses expected types more, and more sensibly.
...
Closes PR 12586.
2012-02-20 15:09:51 -05:00
Sam Tobin-Hochstadt
74c9265d66
Improve restrict
, and allow caller to control what type is returned for failure.
2012-02-20 15:09:51 -05:00
Sam Tobin-Hochstadt
99f01f5260
Fix overlap with sequences.
2012-02-20 15:09:51 -05:00
Vincent St-Amour
c7234772a4
Support relative path requires in performance report.
2012-02-20 14:02:07 -05:00
Jay McCarthy
1b054eed1b
Making change suggested by Norman Gray
2012-02-20 10:50:48 -07:00
Jay McCarthy
75a326e027
Better explanation of DrDr's behavior
2012-02-20 10:50:48 -07:00
Jay McCarthy
d7aa944eba
Squelch newline citations
2012-02-20 10:50:47 -07:00
Matthew Flatt
a884c91720
ffi/unsafe: add `array-length'
...
Closes PR 12576
2012-02-20 08:09:06 -07:00
Matthew Flatt
a79080e7ed
improve docs to match improved "-h" output
2012-02-20 08:09:06 -07:00
Robby Findler
b811adda7c
fix a bug in the collector (if 'free is a symbol used in the
...
mutator, then the 'find-free-space' functions could fail)
2012-02-20 08:56:30 -06:00
Robby Findler
b2a3b3a8a2
add xor, adjust implies following Carl's comments
2012-02-20 06:25:37 -06:00
Robby Findler
297db9b305
fix bug introduced recently by special cases for ->
2012-02-19 16:25:35 -06:00
Sam Tobin-Hochstadt
88bd4cce6c
Document `quote' et al in ISL+lambda.
...
Closes PR 12585.
2012-02-19 16:24:57 -05:00
Robby Findler
d4b176dd41
clarify nor docs
2012-02-19 15:17:29 -06:00
Matthew Flatt
9ca0c34cb2
lazy: fix or' and
and' to not force last argument
...
The `or' and `and' functions already worked correctly; this
fix is for `or' and `and' as applied directly to arguments, which
expands to the `racket/base' `or' and `and' forms.
2012-02-19 07:38:29 -07:00
Robby Findler
4b2f78477a
added nand, nor, and implies to racket/bool
2012-02-19 08:05:11 -06:00
Robby Findler
ce6d1c042c
add a test suite for racket/bool
2012-02-19 08:05:11 -06:00
Robby Findler
190d011f0d
clarify boolean=? and symbol=?
2012-02-19 08:05:10 -06:00
Robby Findler
2d76c3bcab
adjust -> contract so that (-> any/c ... any) contracts are now
...
flat contracts and using (-> any/c boolean?) uses predicate/c
without special intervention.
also, fix a bug in the opter contracts
2012-02-19 08:05:10 -06:00
Vincent St-Amour
e71fa0be88
Add typed for missing finum/flonum conversions.
2012-02-18 23:38:32 -05:00
Vincent St-Amour
240773ae6f
single-flonum? is not provided by TR's internals anymore.
2012-02-18 23:23:59 -05:00
Robby Findler
d361724607
revert the logo to the released one
2012-02-18 14:32:08 -06:00
Eli Barzilay
17133dc6bc
Ownership props.
...
Add stchang to lazy & tests; some other test directories.
2012-02-17 22:24:14 -05:00
Matthew Flatt
530b353798
racket/draw: change font face name interpretation again
...
Treat a "face" as a font description only if it has a comma,
otherwise go back to treating it as a family name.
This change fixes the problem of parsing "Times New Roman"
as "Times New, Roman".
2012-02-17 11:25:15 -07:00
Sam Tobin-Hochstadt
8378b742c7
Remove guibuilder. See mred-designer on planet for a maintained alterative.
2012-02-17 10:20:59 -05:00
Asumu Takikawa
b890f7d907
Docs: fix example in FFI intro
2012-02-17 10:02:36 -05:00
Sam Tobin-Hochstadt
89b3d0ef1c
Set eli as responsible for files in tests.
2012-02-17 08:57:54 -05:00
Sam Tobin-Hochstadt
777b7a4c00
mflatt responsible for collects/mzlib
2012-02-17 08:41:54 -05:00
Matthew Flatt
11de33d4ff
remove MysterX DLL, replace with wrapper around `ffi/com'
...
The ActiveX part of MysterX is gone. The `ffi/com' re-imeplemtnation
provides only core COM support.
The "mysssink" DLL is still needed, and its source is still
in the tree, but it is downloaded in the same way as other
pre-built DLLs. The DLL no longer needs to be registered with
regsvr32.
2012-02-17 06:37:19 -07:00
Matthew Flatt
b93eaa19f4
ffi/unsafe/alloc: releaser should be able to return a value
2012-02-17 06:36:23 -07:00
Matthew Flatt
f461d9f67d
ffi: fix _x-pointer/null' when
_x' has a supertype
...
This is more specifically a bug in `_cpointer/null', but it
shows up most easily through C structs.
2012-02-17 06:36:23 -07:00
Eli Barzilay
d379465baf
Increase default timeout to 15m.
2012-02-17 07:29:52 -05:00
Vincent St-Amour
aa85692436
Clean up compiled test files to force recompiling.
2012-02-16 11:45:51 -05:00
Matthew Flatt
084278fabc
handle-evt' cannot wrap
handle-evt'
...
The prohbition against `handle-evt' on `handle-evt' is as
document and as originally intended. I'm not sure why it
was allowed.
Existing programs that use `handle-evt' incorrectly
can break. I found and fixed one incorrect use and one
questionable use in the Racket tree (which is a small
minority of the uses of `handle-evt' in the tree).
2012-02-15 18:59:24 -07:00
Eli Barzilay
cea74ad911
Infogroep mirror is back, now in http form.
2012-02-15 11:40:48 -05:00
Robby Findler
df5e7efd5e
Made an editing pass over the redex tutorial
2012-02-15 08:29:22 -06:00
Robby Findler
b194b7791f
fix garbled command line
2012-02-15 08:01:36 -06:00
Vincent St-Amour
eca43387f6
Fix tests.
2012-02-14 18:20:35 -05:00
Vincent St-Amour
37ba3672d4
Wait for compile-time logs to be processed before running optimizer tests.
...
This should solve the log ordering problems that caused non-deterministic
test failures during the nightly builds.
2012-02-14 18:20:35 -05:00
Vincent St-Amour
84e2880715
Move post-processing of missed optimization inside Performance Report.
2012-02-14 18:20:34 -05:00
Matthew Flatt
08303d9db8
fix test to not write to stderr
2012-02-14 14:27:40 -07:00
Matthew Flatt
6cd2e3c71b
add `prop:cpointer'
...
Extend `define-cstruct' to support #:property specs, which causes
the constructor and C->Racket coercsions to wrap the pointer in
a structure instance with the specified properties. Of course,
the wrapper structure has a `prop:cpointer' property so that the
wrapper can be used transparently as a C pointer.
Add missing tests and documentation for the id`->list', `list->'id,
id`->list*', and `list*->'id bindings created by `define-cstruct'.
2012-02-14 14:25:55 -07:00
Robby Findler
88e4b59a95
adjust drracket test files to use 'gracket' instead of 'racket' in drdr
2012-02-14 13:19:18 -06:00
Robby Findler
dc6522b153
added racket/future to racket (the docs already say that it is included)
2012-02-14 12:30:23 -06:00
Robby Findler
eda4d294cc
Lost the snipclass with the name (lib "collapsed-snipclass.ss" "framework")
...
somewhere between 5.1.3 and 5.2.1. Bring it back.
closes PR 12563
2012-02-14 11:26:20 -06:00
Robby Findler
0e543fc66b
adjust the way internal errors are shown in DrRacket
...
so that printing an error no longer blocks (on user actions) but still
uses the GUI. Also: when new errors are generated while a dialog box
showing an error is still open, then just ignore those errors. Also,
if an error is generated that has been shown in the last 5 minutes, ignore
the new one.
2012-02-14 11:26:20 -06:00
Robby Findler
4763fb5189
drscheme => drracket
2012-02-14 11:26:20 -06:00
Matthew Flatt
967372c23d
make an eventspace thread survive a break exception
...
When an eventspace is created, its thread implicitly calls
`yield'. It now effectively loops with `yield' and while
catching continuation aborts.
Closes PR 12566
2012-02-13 16:28:10 -07:00
Matthew Flatt
aee0868f24
fix Windows library names
2012-02-13 16:27:52 -07:00
Matthew Flatt
2c479683d1
add --launcher'/
-l' flag to `raco exe' to create launchers
...
This addition triggered several other changes:
* -k for a Mac OS X embedding is now relative to the __PLTSCHEME
segment (which means that executables won't break if you strip
them, for example)
* the command-line no longer has a limited size for Mac OS X
launchers and embedding executables
* Mac OS X GUI and Windows launchers record the creation-time
collection path, unless they are created as "relative" launchers
2012-02-13 16:27:51 -07:00
Matthew Flatt
573ce9492a
add test for bad missing-glyph handling
2012-02-13 16:27:51 -07:00
Jay McCarthy
af9bab7426
Setting mflatt responsible for file he added
2012-02-13 11:50:38 -07:00
Robby Findler
6246df1d34
bump up the timeout for the broken up repl test
2012-02-13 07:14:56 -06:00
James Swaine
46c981bcdf
Clarified futures-enabled? documentation
2012-02-12 20:42:05 -06:00
Robby Findler
f2d244cb1f
clarify auto scrollbars & on-event interaction (ie, they don't interact)
2012-02-12 20:24:17 -06:00
Robby Findler
760ec887b9
split up the REPL test to get parallelism in drdr (and hopefully avoid timeouts)
2012-02-12 19:33:35 -06:00
Sam Tobin-Hochstadt
d0fbe825e6
Parameters can overlap with procedure types.
...
Closes PR 11993.
2012-02-12 14:30:36 -05:00
James Swaine
fd7235f94a
Updated future-event docs
2012-02-12 02:05:36 -06:00
James Swaine
7114f08c0b
Added tests for would-be-future
...
Minor fixes to would-be-future
Added futures-enabled? primitive
Added primitive name to future-event struct
2012-02-12 01:32:30 -06:00
Matthew Flatt
af62391c8c
win32: fix canvas% control border drawing
...
Use the system-supplied region to intersect with the
window region, so that drawng the border doesn't replace
the window content.
See also Kieron Hardy's post on the users' list, 2/7/12.
2012-02-11 08:45:32 -07:00
Mike Sperber
73f188c9e8
Synch German string constants with latest.
2012-02-11 14:54:21 +01:00
Ryan Culpepper
5a1badf397
syntax/parse: added template metafunctions
...
Also fixed some bugs and added simple optimizations.
2012-02-10 22:12:54 -07:00
James Swaine
a5676e9a68
Added would-be-future
2012-02-10 20:05:43 -06:00
Robby Findler
e4e4d70b6b
added define-union-language
2012-02-10 17:10:47 -06:00
Robby Findler
122625960d
adjust runtime errortraces in redex to manipulate namespaces a little more carefully
2012-02-10 17:10:47 -06:00
Robby Findler
6914c5667c
adjust test suite to match new lack-of-absolute-paths feature
2012-02-10 17:10:47 -06:00
Robby Findler
b93ff24fee
add two links to redex docs
2012-02-10 17:10:47 -06:00
Sam Tobin-Hochstadt
4d21ab1019
Make inference understand the relationship between Vector' and
Vectorof'.
...
Closes PR 12495.
2012-02-10 17:39:41 -05:00
Matthew Flatt
577f38f649
change `raco demod' test to write to temporary drectory
...
Also add `-o' option to `raco demod'.
2012-02-10 14:02:12 -07:00
Matthew Flatt
ecc4f4bbbe
make a sandbox test much less likely to fail
...
Give it 20 seconds to run out of memory insteda of 2 seconds. The
test is still non-deterministic, though.
2012-02-10 14:02:12 -07:00
Vincent St-Amour
593e4a4f1d
Provide require/typed/provide and require-typed-struct/provide from TR.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
03ebf0d3de
Update tests for new log format.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
ddb1982e01
Emit optimization logs as we optimize, instead of accumulating them.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
46b9b6ea58
Explain duplicate removal.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
4b84e56fa6
Don't compute the logs if no-one's reading the logs.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
e134e7cd38
Simplify TR log processing and move part of it to Performance Report.
...
More messages get logged, but if no-one is listening, doesn't matter.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
0452a5983f
Use trusted sandbox for Performance Report.
...
Solves permission problems.
2012-02-10 11:30:20 -05:00
Vincent St-Amour
8080669dd9
Fix typo.
2012-02-10 11:30:20 -05:00
Matthew Flatt
6abb87069c
fix error-message formatting
...
Closes PR 12565
2012-02-10 06:17:19 -07:00
Matthew Flatt
937cdf51d7
change `current-write-relative-directory' to support more path conversions
...
In particular, allow a pair of a relative-to directory and a base
directory. Paths that syntactically extend the base directory are
recorded as relative to the relative-to directory (which must
syntactically extend the base directory).
The compilation manager now sets the parameter to a pair with
the base directory as the main collection directory, if the source
file's path extends that directory's path.
This generalization solves problems created by cross-module inlining,
where the source location of a procedure in bytecode can now be in a
different file than the enclosing module's file.
Also add a test that checks whether the build directory shows up
in any ".zo", ".dep", or documentation ".html" files.
Closes PR 12549
2012-02-10 06:17:18 -07:00
Matthew Flatt
9b569aa9a2
adjust some libraries to avoid converting paths to strings too early
...
Early conversions leave absolute paths in bytecode and rendered
documentation.
2012-02-10 06:17:18 -07:00
Ryan Culpepper
06979954fa
syntax/parse: added experimental template form
...
Also added more atomic patterns to syntax-parse (previously overlooked).
2012-02-10 05:26:13 -07:00
Eli Barzilay
5a6ed440a1
Allow `get-conf' to be used with any key.
...
Make it possible to put user settings in the configuration, with the
same benefits (auto-reloading).
2012-02-10 06:05:50 -05:00
daniel watson
9835bc2f7b
Guide typos
...
* fix cond intro 'text-expr' typo in guide
* fix quote in quote title
* for -> form in quasiquote unquote-splicing shorthand
2012-02-10 02:41:48 -05:00
Rodolfo Henrique Carvalho
19f43d27aa
Typos in turtles (code and docs).
...
The name of the mathematician is Sierpinski.
* Serpinski => Sierpinski
* Rename serp => sierp.
2012-02-10 02:41:48 -05:00
Eli Barzilay
fc0fd4b537
Fix a bug where retrieving a submission would get appended to the default #lang line.
2012-02-10 00:43:26 -05:00
Matthew Flatt
284ba01db6
errortrace: skip annotation in namespace with wrong base phase
...
Closes PR 12551
2012-02-09 17:58:28 -07:00
Matthew Flatt
77bd401a2d
fix problems with marks and module for-syntax
...
Closes PR 12538
2012-02-09 17:34:15 -07:00
Matthew Flatt
6d3a458847
fix reported arity of `map' et al.
...
Closes PR 12561
2012-02-09 16:49:34 -07:00
Matthew Flatt
8000dd78ca
doc correction
2012-02-09 16:49:33 -07:00
Sam Tobin-Hochstadt
38e7fb5eb0
Relax type of `filter'.
2012-02-09 17:08:48 -05:00
Sam Tobin-Hochstadt
a5c7175e46
improve types for literal hash tables
2012-02-09 17:08:48 -05:00
Eli Barzilay
88da3effc4
"indicies" -> "indices", as noted by Rodolfo Carvalho.
2012-02-09 13:59:20 -05:00
Rodolfo Henrique Carvalho
237f64b265
Two typos.
2012-02-09 13:54:25 -05:00
Eli Barzilay
0cd6876334
Disable Win/i386-crashing test. (See comment for the reason.)
2012-02-09 13:24:51 -05:00
Eli Barzilay
38b0451b56
Lib path typo.
2012-02-09 13:07:48 -05:00
Kevin Tew
6ababab853
fix multiple places imported into the same module
2012-02-09 10:04:57 -07:00
Kevin Tew
c2f5b7e0ed
Pretty up places test code
2012-02-09 08:52:05 -07:00
Ryan Culpepper
766790b9e4
db: clean up disconnect
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f142a1c5f2
db: clean up communication, locking
...
Disconnect on break exn within lock; other break-safety fixes.
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f5711c6cc3
db: added prepared statement cache
2012-02-08 22:32:51 -07:00
Ryan Culpepper
6fe7e65ff0
db: clean up common tx code
2012-02-08 22:32:51 -07:00
Ryan Culpepper
654ccb277f
db: added cursors
2012-02-08 22:32:51 -07:00
Ryan Culpepper
618173c97e
db: finalize close-on-exec psts within lock
2012-02-08 22:32:51 -07:00
Ryan Culpepper
4c817d0f7f
db: clean up and reogranize common impl code
2012-02-08 22:32:50 -07:00
Asumu Takikawa
5a27a8538c
Add documentation for #:opaque keyword.
2012-02-08 22:47:16 -05:00
Asumu Takikawa
db3c96a2a0
Added tests for opaque class/c contracts.
2012-02-08 22:47:16 -05:00
Asumu Takikawa
f1557bc4be
Opaque class/c should treat field opaquely too.
2012-02-08 22:47:16 -05:00
Asumu Takikawa
3eb963f62d
Add #:opaque keyword to class/c.
...
The #:opaque keyword specifies that a class/c should be opaque.
An opaque class contract raises an error if the contracted class
contains any methods not mentioned in the contract.
2012-02-08 22:47:16 -05:00
Robby Findler
09200fc7aa
actually added the images this time
2012-02-08 19:18:59 -06:00
Robby Findler
5e0f5beee5
added Racket logo by John & Neil
2012-02-08 19:17:42 -06:00
Robby Findler
678603ae24
move the 'remove all saved bug reports' menu item to the
...
end of the menu so it is not so easy to accidentally
click on
2012-02-08 16:23:13 -06:00
Robby Findler
b3a9ae9ba2
change the font in the pink highlighting to avoid some
...
bad drawing behavior on the mac (that shows up in the
amb tutorial)
2012-02-08 16:23:13 -06:00
Jay McCarthy
dc8f47b20a
Missing require in docs
...
Fixes PR 12544
2012-02-08 11:04:54 -07:00
Kevin Tew
4f3bec1792
pr# 12542 fixed - All symbol types are now allowed across place channels.
2012-02-08 10:21:59 -07:00
Robby Findler
55b3d99d78
adjust beaucoup places in redex where the source was being
...
included in the compiled files. (also, misc minor cleanups
notably a new exercise in tut.scrbl)
closes PR 12547 --- there are still a few uses left, but they do not
seem to be coming from Redex proper:
- /Users/robby/git/plt/collects/racket/private/map.rkt still appears
in a bunch of places (there is a separate PR for that I believe),
and
- /Users/robby/git/plt/collects/redex/../private/reduction-semantics.rkt
appears in tl-test.rkt, but I do not see how it
is coming in via Redex code, so hopefully one of the other
PRs that Eli submitted is the real cause. If not, I'll revisit later
2012-02-08 09:59:44 -06:00
Robby Findler
ed22a630fd
fix predicates to return booleans
2012-02-07 20:33:05 -06:00
Robby Findler
4bac243efe
put an expression to evaluate to find the path instead of the path
...
that was there when the html file was built.
closes PR 12545 (I do not agree with Eli's proposal for fixing this so I
did it differently)
2012-02-07 16:14:09 -06:00
Robby Findler
6633387827
adjust 'bitmap' so that it saves paths as a list of strings that
...
get interpreted as a collection at runtime, instead of saving a path.
closes PR 12548
2012-02-07 15:50:53 -06:00
Robby Findler
2ca0473f1c
shrink longest line down to something more reasonable
2012-02-07 15:50:53 -06:00
Robby Findler
811a9227c3
Rackety
2012-02-07 15:50:52 -06:00
Ryan Culpepper
ed1ba3a442
syntax/parse docs: use trusted sandbox config
...
closes PR 12546
2012-02-07 13:43:26 -07:00
Ryan Culpepper
679b2d3872
lazy-require: use cm-accomplice
2012-02-07 13:43:26 -07:00
Ryan Culpepper
e2404184ee
syntax/parse: fix opaque head patterns and splicing syntax classes
...
closes PR 12537
2012-02-07 13:43:26 -07:00
Kevin Tew
2de9de9b26
place-channel-put: value not allowed in a message
...
prints out just the invalid object, not the whole message
2012-02-07 13:07:02 -07:00
Jay McCarthy
078540b17c
Fixing another problem discover because of Galler
2012-02-06 09:12:42 -07:00
Robby Findler
30239514a3
clarify 'add teachpack' menu item
...
closes PR 12540
2012-02-05 19:44:56 -06:00
Robby Findler
98a0b74b4f
up the timeout for tut.scrbl
2012-02-05 18:51:55 -06:00
Robby Findler
3f6a835572
lift some work out so it happens earlier (and less often) in
...
the -> contract combinators. This speeds up the running of the (new)
file tut.scrbl by about 10%.
2012-02-05 17:24:13 -06:00
Robby Findler
794240bf67
added a amb-based redex tutorial
2012-02-05 17:24:13 -06:00
Robby Findler
8bec634dcd
adjust covered-cases so that it always returns deterministically
...
(sorting by the strings in the result)
2012-02-05 17:24:13 -06:00
Matthias Felleisen
4e075a1f63
fixed typo, closes PR 12539
2012-02-05 10:13:31 -05:00
Matthew Flatt
a5420e41fc
fix pattern match on error message that was modified in 8cf49dfdb1
2012-02-04 07:00:35 -07:00
Matthew Flatt
8cf49dfdb1
fix format of some error messages
...
Closes 12536
2012-02-04 05:32:00 -07:00
Jordan Schatz
8a2b06574a
Two typos in the rackunit docs
2012-02-04 03:05:00 -05:00
Eli Barzilay
1c841e143f
Add `procedure-rename' to the pile of things that are not used.
...
Closes PR9811 (with no fix it).
2012-02-04 03:03:18 -05:00
Eli Barzilay
9f662b6467
Fix typo and minor improvement.
2012-02-04 03:03:17 -05:00
Eli Barzilay
f023744814
Center the release text on the page.
2012-02-04 03:03:17 -05:00
Matthias Felleisen
b63cb42acf
fixed documentation for check-within
2012-02-03 10:30:23 -05:00
Vincent St-Amour
b194916ad6
Fix printing of types in instantiation error messages.
...
Closes PR 12507.
2012-02-02 16:00:16 -05:00
Vincent St-Amour
b73421f812
Enable Performance Report in typed/racket/base and typed/scheme/base.
2012-02-02 16:00:15 -05:00
Eli Barzilay
3ddf935f20
v5.2.1 stuff
2012-02-02 14:59:30 -05:00
Rodolfo Henrique Carvalho
c3f92c26b9
Update collects/scribblings/reference/stx-trans.scrbl
2012-02-02 12:46:01 -05:00
Tim Brown
496a4513d5
Small typo in 2nd paragraph of scribblings/inside/procedures.html "a" should be "as"; update for "collects/scribblings/inside/ports.scrbl".
2012-02-02 12:46:01 -05:00
Matthew Flatt
2f5430e227
update pre-built libraries
2012-02-02 08:04:12 -07:00
Matthew Flatt
c979e690a5
fix test to work right with imprecise GC
2012-02-02 06:32:55 -07:00
Neil Toronto
a94e1fc00e
Fixed plot doc tests
...
Removed contract/c from unstable/contract
2012-02-01 22:17:25 -07:00
Neil Toronto
dc677998f0
Added JPEG compression to compiled-bitmap' and
compiled-bitmap-list'
...
Added "whirl and pinch" transform
2012-02-01 22:17:25 -07:00
Eli Barzilay
999e481785
Fix apparent bug.
...
In the new-ish code for following redirections, the `strings' argument
wasn't passed along as it did before.
2012-02-01 21:51:47 -05:00
Eli Barzilay
76ab851d2a
The "foreign-test.rktl" finally work on both windows machines.
...
To get the expected contents of the various environment variables, I
used a similar approach to what the build does in `grab_batch_vars':
* Start a cmd.exe shell (not a real shell)
* Dump the env into a buffer
* Run "... Studio/VC/vcvarsall.bat" (modifies envvars, which is why cmd
is needed)
* Dump new env into a new buffer
* Sort both buffers and compare
Hopefully it still works also on Matthew's setup.
Two other small things:
* Use ".obj" suffix on windows to avoid warning.
* Catch error when trying to delete the .so file, since on the x86_64
machine it throws an error. (I'm not sure how it *doesn't* do that
with the i386 machine.)
2012-02-01 21:51:47 -05:00
Robby Findler
977659a118
fix redex's syntax pruning to not drop the #%top binding
2012-02-01 20:09:29 -06:00
Sam Tobin-Hochstadt
7c1c0c96c0
Fix type of `raise'.
...
Closes PR 12525.
2012-02-01 20:25:05 -05:00
Jay McCarthy
47d626ee8b
Fix for an error Galler found
2012-02-01 17:06:14 -07:00
Jon Rafkind
b74ad87160
[honu] wrap the condition of when expression inside parentheses. instantiate literal sets at the proper phase for honu macros
2012-02-01 16:05:41 -07:00
Jon Rafkind
712951d347
[honu] add fun as an alias to function
2012-02-01 16:05:40 -07:00
Jon Rafkind
54449d824c
[honu] use a function keyword to define procedures and make lambdas
2012-02-01 16:05:40 -07:00
Vincent St-Amour
1b6cf730c3
Fix type of expt.
...
Closes PR 12526.
2012-02-01 16:50:40 -05:00
Vincent St-Amour
87887b7a18
Optimize n-ary fixnum comparisons (correctly).
2012-02-01 16:50:39 -05:00
Vincent St-Amour
e3be061171
Only optimize fixnum comparisons in the binary case.
...
Closes PR 12479.
2012-02-01 16:50:39 -05:00
Neil Toronto
950f034936
Pushing unfinished but stable flomap transforms so Matthew can debug a segfault
2012-02-01 09:54:25 -07:00
Neil Toronto
7d28eef00d
Moved contract/c and treeof to unstable/contracts
...
Little plot doc fixes
2012-02-01 09:44:47 -07:00
Neil Toronto
ec96e37e09
Documented unstable/flonum
2012-02-01 09:44:47 -07:00
Neil Toronto
47fcdd4916
Sped up floor-log/base and ceiling-log/base, and made them correct on flonum inputs.
...
This change significantly increases the speed of number formatting, making extreme-bounds-tests.rkt run in about 1/4 the time.
Should consider moving these into racket/math, since floor-log/base generalizes order-of-magnitude.
2012-02-01 09:44:47 -07:00
Neil Toronto
713772959f
Clipping lines now uses exact arithmetic. Fixes visual issues with plotting inexact functions at very small scales. Every plot should render correctly at every scale now.
2012-02-01 09:44:47 -07:00
Robby Findler
e8902f9981
added a hack to keep DrRacket from freezing when it is unable to
...
detect if a (n online check syntax) rename would conflict with
an existing name. (This can happen because the remote place's
custodian gets shutdown due to, for example, another tab's online
check syntax running.)
2012-01-31 21:11:16 -06:00
Robby Findler
a0ef78e97b
adjust online check syntax to try to fix a bug where renaming information
...
can get "stale" and cause DrRacket to deadlock (this commit just sets
up some stuff to make one fix possible, but that fix doesn't seem to
be working, so the actual fix is disabled (see comment in commit))
2012-01-31 21:11:16 -06:00
Robby Findler
019e57b9d7
fix docs mistake
2012-01-31 21:11:16 -06:00
Vincent St-Amour
5e7d67ffa7
Include more information in TR optimizer test failures.
2012-01-31 15:43:56 -05:00
Eli Barzilay
9813ba425f
Show how the machine identifies itself.
...
This includes `uname', and trying hard to get a domain name when `uname'
doesn't include one.
2012-01-31 14:08:18 -05:00
Matthew Flatt
a3ce8bf787
doc behavior of `copy-file' and modification dates on Windows
2012-01-31 07:14:25 -07:00
Matthew Flatt
6a4d699f5f
fix sandbox test to work on Windows
2012-01-31 07:14:25 -07:00
Danny Yoo
bbab60545e
adding gvector-remove-last!
2012-01-30 16:14:22 -07:00
Eli Barzilay
d211804c3f
The "libs" files are now under a "tags" subdirectory.
...
(Related to the server auto-publishing new tags and branches, configured
to do that in "~ftp/pub/racket/libs/{heads,tags}" respectively.)
2012-01-30 13:51:58 -05:00
Matthew Flatt
6e01d1586a
racket/gui: fix refresh for right-aligned or centered paragraphs in text%
2012-01-30 11:01:18 -07:00
Matthew Flatt
6b6beb601e
add PLT_VALIDATE_COMPILE to enable extra checking of the compiler
...
Setting the environment variable causes the bytecode compiler to run
the bytecode validator (which is normally applied to input from a
bytecode file) immediately on all of the compiler's own results.
2012-01-30 10:31:37 -07:00
Matthew Flatt
706d5026ac
fix bytecode compiler bug
...
Certain `lambda'-lifting operations can cause information
about the flonumness of a variable to get lost, leading
to a mismatch between the closure's flags and flags on
a variable reference. (The bytecode validator could detect the
bug when loading the broken bytecode. The broken information,
meanwhile, was only used by the JIT.)
2012-01-30 10:30:51 -07:00
Matthew Flatt
3bed8aee43
fix docs for `syntax-id-rules'
...
Closes PR 12519
2012-01-29 06:50:35 -07:00
Matthew Flatt
323c74fd09
added docs for a&d args of slideshow's dc procedure
...
Based on John Clements's correction
Also, improve some cross references.
2012-01-29 06:50:35 -07:00
Sam Tobin-Hochstadt
c16e48a083
Fix internal constructor name for struct:' so that
struct-out' works.
...
Closes PR 12447
Related to PR 12516
2012-01-28 09:47:15 -05:00
Sam Tobin-Hochstadt
f3e3eb10ad
Fix type of `memf' to be more permissive.
2012-01-28 09:47:15 -05:00
Jon Rafkind
99daf6a9d1
[honu] fix tests
2012-01-26 15:23:20 -07:00
Jon Rafkind
42d21a9918
[honu] erase old files
2012-01-26 13:56:05 -07:00
Jon Rafkind
100d77260a
[honu] provide assignment operators
2012-01-26 13:32:52 -07:00
Jon Rafkind
b67f5e71e6
[honu] add moere assignment operators
2012-01-26 13:32:52 -07:00
Jon Rafkind
9e8a77c5c5
[honu] fix more references to :=
2012-01-26 13:32:52 -07:00
Jon Rafkind
7e5a0285d3
[honu] replace := with =
2012-01-26 13:32:52 -07:00
Jon Rafkind
d6be1fbdee
[honu] move operators to their own module
2012-01-26 13:32:52 -07:00
Jon Rafkind
1fac120cd2
[honu] move core definition of honu-syntax to another module
2012-01-26 13:32:52 -07:00
Jon Rafkind
2b6efee854
[honu] still need :=
2012-01-26 13:32:51 -07:00
Jon Rafkind
d7a35c1eb8
[honu] use = for mutation to be consistent with other uses. put where clauses of list comprehensions on the right side
2012-01-26 13:32:51 -07:00
Jon Rafkind
2af9100a5d
[honu] make "then" keyword required for if again. start to add more loop types to for
2012-01-26 13:32:51 -07:00
Jon Rafkind
a1869fa2f1
[honu] then is optional in "if". allow multiple sequences in for. add for/fold
2012-01-26 13:32:51 -07:00
Jon Rafkind
bc30a94c72
[honu] allow list comprehensions to follow expressions
2012-01-26 13:32:50 -07:00
Eli Barzilay
31746a2d9e
Revise commented code so it can replace exiting code without dependency issues.
2012-01-26 13:20:26 -05:00
Matthew Flatt
d22ff8c5e2
improve Guide info on PLTCOLLECTS' and
raco link -d'
2012-01-26 09:30:25 -05:00
Matthew Flatt
13a5b0c623
change `ffi-lib' to not make library symbols global by default
2012-01-26 09:30:25 -05:00
Matthew Flatt
ab9607b35a
adjust a doc correction
2012-01-26 09:30:25 -05:00
Jay McCarthy
8be9abf1d4
Verify that the HTML tags really do have their empty-tag behavior
2012-01-25 16:48:11 -07:00
Jay McCarthy
ce73175427
Changing the defaults for empty tag shorthand in XML
2012-01-25 16:48:11 -07:00
Jay McCarthy
41a64cbbd8
Dealing properly with rest args in svn-style commands
2012-01-25 16:48:11 -07:00
Jay McCarthy
027b09fec8
Marking release commits specially
2012-01-25 16:48:11 -07:00
Jay McCarthy
fda7e8bad5
Fix behavior on rest arguments
2012-01-25 16:48:11 -07:00
Jay McCarthy
2d0d4823a7
Throw an error when required fields are missing, rather than letting scribble error
2012-01-25 16:48:11 -07:00
Jay McCarthy
a72ca57ccc
Fixing stupidity... for now
2012-01-25 16:48:11 -07:00
Jay McCarthy
32d1060c33
Adding branch information to commits
2012-01-25 16:48:11 -07:00
Jay McCarthy
acc95cbb56
Release branch
2012-01-25 16:48:11 -07:00
Rodolfo Henrique Carvalho
7d97cbecb4
Update collects/scribblings/reference/filesystem.scrbl
2012-01-25 08:48:56 -05:00
Eli Barzilay
d69a45210c
Add `$RKTShortName' that doesn't include the version and the platform,
...
use it to improve some installer texts.
(Also update comment about required macro definitions.)
2012-01-25 08:44:39 -05:00
Eli Barzilay
5c977f3471
Removed old "***" leftover.
2012-01-25 08:44:39 -05:00
Ryan Culpepper
0b3691691a
db: fix sqlite3 #:use-place for raco exe
2012-01-24 15:28:32 -07:00
Robby Findler
7cf563c4d9
fix some typos in a comment
2012-01-24 08:29:09 -06:00
Eli Barzilay
d21e646327
Include the platform in the windows installer's "human name".
...
(Otherwise having both installed can be confusing since the uninstaller
has the same name; also, it's good to make a reminder for people who
want the other one.)
Also, just use the platform string in the registry key uniformly.
Also add a comment about detecting Win64 if it's desirable in the
future.
2012-01-24 07:23:22 -05:00
Sam Tobin-Hochstadt
f70c1b213f
`sort' now infers properly -- test passes.
...
Please merge to release.
2012-01-24 05:19:01 -05:00
Ryan Culpepper
622a947bc4
db: added #:use-sources for db/base exports
2012-01-23 16:06:14 -07:00
Neil Toronto
f966ea8876
Removed test byproducts accidentally committed in d020c75202
...
Please merge into release
2012-01-23 15:56:12 -07:00
Neil Toronto
015625e732
PLoT documentation for new renderers and plot/utils (code changes are only to move code around so a previously public function could be public again)
...
Many little doc fixes
Closes PR 12433
Closes PR 12435
Please please please merge into release
2012-01-23 15:56:11 -07:00
Eli Barzilay
3dd9001fdd
Sort out stuff around `timeout-control'.
...
1. The contract in the docs was wrong.
2. The docs used `#f' where the code was expecting 'disable, so made it
accept both.
3. Don't recommend disabling the timer -- I had a case where the
connection was left for more than a day as a result. (Probably
because there was a message after the receipt email.)
2012-01-23 17:06:19 -05:00
Matthew Flatt
01dce00271
racket/gui: correct some casts in GUI bindings
2012-01-23 11:20:21 -07:00
Matthew Flatt
877d528ed3
improve docs for `cast' with warnings about potential bugs
2012-01-23 07:36:44 -07:00
Matthew Flatt
9d48858d53
try to fix Win64 installer: "Program Files (x86)" => "Program Files"
2012-01-21 08:10:38 -07:00
Mike Sperber
f02ec48e16
Export `read' in DMdA languages.
2012-01-21 15:43:52 +01:00
Matthias Felleisen
1d9d0401df
added rcontrol to key events and docs; robby please test
2012-01-20 16:39:13 -05:00
Neil Toronto
2465b87d84
Coolified clock-icon, added stopwatch-icon
...
Updated Performance Report toolbar icon
Updated FrTime loading icon
2012-01-20 13:16:42 -07:00
Neil Toronto
07500b27f6
Fixed error in flomap gradient calculation (borders were always getting 0.0, causing erroneous lighting)
...
Inset rendered deep-flomaps by 1px to harden against future border issues
Adjusted scatter-simulating blur (finally rid of edge sparklies!)
2012-01-20 12:39:23 -07:00
Neil Toronto
f1add6929b
Added portable hash-quote-icon, updated and recolored macro stepper toolbar icon
...
Closes PR 12422
Please merge into release
2012-01-20 12:29:52 -07:00
Neil Toronto
1b0db97919
Too many changes to cherry-pick for release
...
This reverts commit b8e3e8a04b
.
2012-01-20 11:52:17 -07:00
Eli Barzilay
2a1464b49e
Move the dmg build to weatherwax (which can now deal with it. )
...
Also, remove attempt for a smart use of `fmt' -- the problem is that now
"$platform" is not set, so the conditional didn't do anything. It would
be easy to get a conditional using `uname', but better to drop the whole
thing.
2012-01-20 11:40:11 -05:00
Neil Toronto
b8e3e8a04b
Fixed error in flomap gradient calculation (borders were always getting 0.0, causing erroneous lighting)
...
Inset rendered deep-flomaps by 1px to harden against future border issues
Adjusted scatter-simulating blur (finally rid of edge sparklies!)
Added portable hash-quote-icon, stopwatch-icon
Vertical toolbar macro stepper icon now discernable
Updated Performance Report toolbar icon
Updated FrTime loading icon
Closes PR 12422
Please merge into release
2012-01-19 21:33:22 -07:00
Matthew Flatt
484803a896
gtk: fix problem wth window freeze & thaw
...
Closes PR 12496
Merge to 5.2.1
2012-01-19 16:20:45 -07:00
Matthias Felleisen
2a34cbfb85
re-added rshift to KEYEVTS, no clue how they got lost; Closes PR12500; please merge into 5.2.1
2012-01-19 17:59:43 -05:00
Matthew Flatt
481e061440
adjust `raco ctool --c-mods' and related to work with places
...
That is, the generated declare_modules() function registers the
module-declaration code so that it is run in any new place, too.
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
c723aeeb6a
fix position counting in `read-byte'
...
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
6c4cd0e9c2
fix raco ctool --c-mods' for
racket'
...
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
350d0b1edf
fix `raco make -j'
...
Closes PR 12491
Merge to 5.2.1
2012-01-19 13:14:02 -07:00
Matthew Flatt
6b6d281dee
document raco make' flags; add
--disable-constant' flag
2012-01-19 13:14:02 -07:00
Matthew Flatt
eb0cbcb3c4
sort out for-require' vs. for-
load' paths to a sandbox evaluator
...
The two became tangled in commit f7c16fc8
, and then 952ae06105
adjusted the tangling in a way that broke code. This commit
further adjusts tangling in a way that hopefully causes fewer
compatibility problems, but it also splits inputs to
`make-evaluator' so that a programmer can choose more explicitly.
2012-01-19 13:14:02 -07:00
Robby Findler
c9e4c88b7c
fix a bug in check syntax where it would attempt to (as part of the
...
coloring for blame assignment in check syntax) try to color
the right-hand side of a binding that actually comes from
a lambda-bound variable (and thus crash for not finding the
right-hand side)
2012-01-19 13:20:41 -06:00
Eli Barzilay
fb46b12836
Adjust the installer tests to the removal of libfit.
2012-01-19 13:59:47 -05:00
Robby Findler
3b2cf3f7a4
make the tooltips for the drracket toolbar buttons go away when they
...
get any events (this shouldn't be necessary unless one gets lost
somehow, but apparently that can happen)
2012-01-19 12:14:35 -06:00
Matthias Felleisen
0a5a949d1a
fixed an old wheel-event bug and added version number to history, please propagate
2012-01-19 11:39:05 -05:00
Robby Findler
a41dbf5d7f
added a clarification to the freeze docs
2012-01-18 20:04:30 -06:00
John Clements
481bc2f00f
make sure initial update goes on eventspace thread
2012-01-18 14:51:42 -08:00
John Clements
758523bdf3
put status bar update on stepper frame eventspace
2012-01-18 14:51:42 -08:00
Jon Rafkind
276cb4150d
[honu] replace = with in
2012-01-18 14:15:54 -07:00
Jon Rafkind
ae3ff467b0
[honu] already have integer, dont need int
2012-01-18 14:10:48 -07:00
Jon Rafkind
1b81ed5d8d
[honu] add != operator. provide some other basic functions
2012-01-18 12:34:51 -07:00
Jon Rafkind
9d11622968
[honu] add a filtering clause to list comprehensions
2012-01-18 12:34:51 -07:00
Jon Rafkind
6552d3f2cd
[honu] allow classes to accept 0 constructor parameters. add 'to' as a binary operator that creates a list of numbers
2012-01-18 12:34:51 -07:00
Matthew Flatt
a823986281
doc clarifications on `frtime'
2012-01-18 10:10:28 -07:00
Matthew Flatt
47c2fb8ba9
doc clarification on SRFI-1 exports
2012-01-18 09:50:32 -07:00
Eli Barzilay
f184222e2b
Add a syntax for making lines in the status text linked.
2012-01-18 07:22:09 -05:00
Eli Barzilay
cf35df172a
Make the bg-log files available on the web page too.
2012-01-18 07:17:48 -05:00
Eli Barzilay
cfa5938092
Better solution to using "$platform" -- do that only in DO_BUILD.
2012-01-18 07:17:48 -05:00
Matthew Flatt
b51b36869e
win64: fix `raco dist'
...
Merge to 5.2.1
2012-01-17 21:07:07 -07:00
Eli Barzilay
cabd6fabc7
Remove robots meta tags.
...
Indexing index pages is harmless, and also "nofollow" is appropriate for
public lists with lots of junk, advertising etc. We have nearly zero
spam, so following links in posts is fine.
2012-01-17 22:30:48 -05:00
Robby Findler
71595a55e6
adjust the names of the dot/neato binaries to be platform-specific
2012-01-17 12:42:42 -06:00
Matthew Flatt
ddd246232e
fix JIT-generated code in case of arity mismatch
...
The generated code was checking arity after potentially copying
arguments to the start of the runstack (i.e., if the arguments
were not already there). If too few arguments are provided, then
the copy might access past the end of the given array.
The redundant arity check removed in commit f7c506471b
had previously masked this problem. (Or the check wasn't redundant
in that sense, but it's better this way.)
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Matthew Flatt
2c88b12913
add some missing acks
...
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Eli Barzilay
52382442f0
Have a default "" platform so kauai can still be used to make the dmgs.
...
(This is just a hack, $platform should really be used only in the build
functions instead of at the toplevel.)
2012-01-17 09:27:06 -05:00
Neil Toronto
695583e90b
Added clock icon
...
Fixed faulty bilinear interpolation in shadow intersection, removed blurring hack
Fixed caching bug (for some reason, generate-temporaries didn't create a unique symbol - note, not *identifier*; used gensym instead)
Please merge into release
2012-01-16 22:30:52 -07:00
Neil Toronto
aa0851bc45
Exposed simple rendering API (can at least render simple icons given a pict now)
...
Please merge into release
2012-01-16 16:39:18 -07:00
Neil Toronto
f45843d58e
Added docs for images/compile-time
...
Added `is-a?' and `list?' tests to `compiled-bitmap' and `compiled-bitmap-list'
Please merge into release
2012-01-16 16:39:17 -07:00
Ryan Culpepper
f711f3385c
macro-stepper: fix relative require bug (set current-directory)
...
related to PR 12486
2012-01-16 14:55:43 -07:00
Matthias Felleisen
f173b9977c
fixing silly mistake, plus test; please merge
2012-01-16 16:21:25 -05:00
Matthias Felleisen
54c1f496e8
this creates a repeatable cored dump in drracket
2012-01-16 15:41:48 -05:00
Neil Toronto
ea68677d2f
Icon fixes:
...
Split images/icons/misc into images/icons/symbol and images/icons/misc
Updated tests
Fixed Gtk assertion failure in Macro Stepper (came from "about" dialog being created before the stepper window was shown; fixed by creating it on demand)
Changed Stepper similarly (though there was no assertion failure)
Put a quote in the Macro Stepper logo
Portable recycle-icon
Removed recycle unicode from the docs (was causing PDF build to fail)
Internal API fixes
Please merge into release
2012-01-16 12:45:48 -07:00
Matthias Felleisen
10f8222bf4
added documentation for pad-handler facility
2012-01-16 12:41:15 -05:00
Matthias Felleisen
f9233bce47
added pad-handler facility
2012-01-16 12:41:13 -05:00
Robby Findler
aaeb3db534
clear the "what was the last language?" state when moving out of the module language
...
so that things get initialized properly when moving back into the module language.
closes PR 12493
2012-01-16 09:09:58 -06:00
Robby Findler
5d946329ca
adjust two 2htdp test files so they don't run in drdr (they are interactive)
...
please merge to the release branch
2012-01-16 08:56:59 -06:00
Eli Barzilay
7fa08391a0
XREPL fixes
...
* Avoid using readline on windows (segfaults, and anyway mostly not
useful)
* Don't try to read init file if it doesn't exist.
* Improve asking questions in the `install!' command.
2012-01-16 08:18:30 -05:00
Danny Yoo
a1da6af22d
correction for performance.scrbl
2012-01-16 08:18:30 -05:00
daniel watson
75d5b42640
Guide proofread
...
* fix content of REPL output in quote example
* fix indentation on tail-recursive my-map code
2012-01-16 08:18:30 -05:00
Eli Barzilay
252221246d
Debian squeeze is back, and a typo.
...
(The lenny build will not be back.)
2012-01-16 08:18:30 -05:00
Neil Toronto
f66aab8057
Removed the animated GIF of the running stickman :(
...
Please merge into release
2012-01-15 22:19:55 -07:00
Neil Toronto
4a09c04581
Lightened icon outlines
...
Added lambda icon, foot icon, search forward/back icons
Doc fixes
Stepper: icons on buttons, logo and about dialog
Macro stepper: icons on buttons, logo and about dialog
Please merge into release
2012-01-15 22:19:55 -07:00
Robby Findler
b068d9583c
Remove accidentally pushed commits
...
For the curious, this was an attempt to change the way context
matching works. Currently, when matching a pattern, if 'hole' is
encountered, the match succeeds and the result just includes the term
at that point. This means that when matching (in-hole p1 p2), p1
generally returns multiple results and then those results are thinned
out by matching p2 against the thing actually at the hole.
Instead, one could pass along the function that does the matching and
then, when matching a hole pattern, it could decide right at that
point whether or not the match works.
This seems like it would be a win overall, but it interferes with
caching. Specifically, most reduction systems have lots of rules
that all begin
(--> (in-hole E ...) ...)
and, in the strategy first described above, that matching can be cached.
But in the second, it cannot. Overall, this turns out to be a slight
lose in the current version of Redex. Maybe if other things change, however,
this tradeoff will change.
Revert "IN PROGRESS: more context speedup attempt"
This reverts commit 0134b8753d
.
Revert "IN PROGRESS: a possible speed up attempt; match the thing in the hole before returning the context matches instead of afterwards"
This reverts commit 11059e2b5c
.
2012-01-15 21:02:48 -06:00
Eli Barzilay
4b17fe731a
Disable some builds.
...
* The darwin build on kauai (the machine is no longer maintained, and
has no cairo installed).
* The two debian builds (also no cairo).
* Remove comment from osx64 build (which is now done on Robby's
machine).
2012-01-15 20:48:10 -05:00
Eli Barzilay
4d04c04aa2
New build request functionality.
2012-01-15 20:48:10 -05:00
Eli Barzilay
952ae06105
Minor bug fix: using a string as a path should be used as a path.
...
Previously, they were treated as require specs, which was likely bogus.
(This is unrelated to the discussion about the exists problem.)
2012-01-15 20:48:10 -05:00
Eli Barzilay
e8356b3b91
Tiny typo.
2012-01-15 20:48:10 -05:00
Eli Barzilay
3bdf05d7e1
Minor improvements, mainly to the header/status suffixes.
2012-01-15 20:48:10 -05:00
Matthew Flatt
96dea8c732
fix typo (patch from Gustavo Massaccesi)
...
Closes PR 12489
Merge to 5.2.1
2012-01-15 17:05:11 -07:00
Matthew Flatt
6f528c7a17
fix and generalize errortrace detection of always-ok functions
2012-01-15 17:05:11 -07:00
Robby Findler
262931bb80
adjust typesetting so the ellipsis uses the default style, not
...
literal-style (unless an atomic-rewriter is in place)
2012-01-14 21:32:16 -06:00
Neil Toronto
b78ee4258c
Finished images/icons contracts and docs
...
Please merge into release
2012-01-14 14:20:28 -07:00
Robby Findler
b3c450ffc9
add 'side-condition' to define-judgment-form (it does not have an implicit
...
unquote like the other side-condition's do, but it is still useful
for typesetting purposes)
2012-01-14 14:52:07 -06:00
Neil Toronto
599dda4745
Removed timing examples (not reliable)
...
Please merge into release
2012-01-13 22:00:06 -09:00
Neil Toronto
15f48a7b03
Documented logos
...
Please merge into release
2012-01-13 23:51:31 -07:00
Neil Toronto
0c5ea11056
Contracts for almost all icon-producing functions
...
More documentation (Now contains an animated GIF! We have achieved Web 1.0!)
Fixed stop sign double-rendering bug
Compiled logos size 256 (no rendering time for sizes < 256; intended size almost instantaneous)
Please merge into release
2012-01-13 22:49:27 -07:00
Sam Tobin-Hochstadt
b75e080aee
Document unicode case->.
2012-01-13 14:40:48 -05:00
Sam Tobin-Hochstadt
e3609cdb32
Refactor and improve fuzzy searching in completion.
2012-01-13 14:39:05 -05:00
Vincent St-Amour
ca11c2e4fa
Add an alternate name for case->.
2012-01-13 11:28:36 -05:00