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
e3bba26c4a
win32: fix `find-executable-path' for an empty PATH
...
The current directory is always implicitly in PATH, but it
was added by `find-executable-path' only when PATH is
non-empty.
2012-04-04 07:29:13 -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