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
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
a37cfa4e08
Fix compiler warning
2012-03-30 12:18:55 -06: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
Arek Korbik
7bf475b7cc
Fix sleeping on infinite timeouts.
...
Closes PR 12661
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