Robby Findler
b4b7340fd9
add guards so the module browser
...
status line isn't updated
anymore when it is closed
(probably) closes PR 13083
2012-11-22 14:53:31 -06:00
Robby Findler
475822b44a
fix a bug in a syntax-case keywords spec
...
closes PR 13237 (turns out not to be planet-specific)
2012-11-22 13:54:32 -06:00
Robby Findler
2253e90479
fix blubox / lock coordinate computation
...
when the blue box doesn't fit in the visible region
in one direction (either x or y) but does fit
in the other region, then it was being drawn in
the wrong place
This code is still sub-optimal, since it isn't leaving
space for the words underneath the lock in the case
the lock is near the bottom of the visible region, but
it seems better to just let that be invisible rather
than make the lock float a bit in that case.
closes PR 13142
2012-11-22 11:03:45 -06:00
Robby Findler
279e5aa0d9
move the captcha checking code inside the handler
...
that deals with expected networking errors
closes PR 13205
2012-11-22 10:35:51 -06:00
Robby Findler
316bbcb038
fix c:c;c:b so it removes {}s
...
closes PR 13211
2012-11-22 10:25:57 -06:00
Robby Findler
4f27df3179
make the f2 button go find the definitions text,
...
instead of assuming it was typed in the definitions text
closes PR 13225
2012-11-22 10:10:21 -06:00
Robby Findler
d5f605f58d
fix dynamic require for moved file
2012-11-22 09:27:07 -06:00
Danny Yoo
e4c9ad484e
Add full contracts to red-black.rkt, with extensive documention in red-black.scrbl.
...
A submodule called "uncontracted" provides the contract-free bindings,
as I suspect we'll need them for the token tree for maximum performance.OB
2012-11-22 01:25:42 -08:00
Neil Toronto
0936d8c20b
Reworked distribution API, finally happy with it (as happy as I can be without being able to partially instantiate polymorphic parent struct types)
...
Added docs for math/distributions (about 75% finished)
Started docs for math/array (very incomplete)
2012-11-21 21:16:35 -07:00
Robby Findler
c359e371bf
add a toolbar option for being on the top,
...
but with the small size buttons
closes PR 13281
2012-11-21 21:43:44 -06:00
Ryan Culpepper
07c6e89899
remove cancel box, no longer needed with ffi/unsafe/alloc
...
Also, found the source of mem corruption: the finalizer's cancel box
(from create-ssl) was shadowed by a new box put in mzssl struct.
2012-11-21 12:56:31 -05:00
Ryan Culpepper
44177ca406
use ffi/unsafe/alloc
...
Fixes a memory leak in SSL_get_peer_certificate.
Fixes a memory leak (finalizer closure refers to obj) in create-ssl
for _SSL* obj. Correcting the finalizer to run caused mem corruption
(possibly due to double-freeing in mzssl-release, despite cancel box)
but changing to allocator/deallocator seems to avoid the problem.
2012-11-21 12:56:31 -05:00
Ryan Culpepper
25847a9342
lift error checking out of atomic
2012-11-21 12:56:31 -05:00
Ryan Culpepper
df10bf3421
simpler version of make-immobile-bytes
2012-11-21 12:56:31 -05:00
Ryan Culpepper
b377976ba5
use ffi/unsafe/atomic
2012-11-21 12:56:31 -05:00
Ryan Culpepper
85fba029a5
use define-cpointer-type
2012-11-21 12:56:31 -05:00
Ryan Culpepper
a5c415d15a
change allocator wrapper to ignore #f results
...
Supports foreign functions that either allocate or return NULL
(translated to #f).
2012-11-21 12:56:30 -05:00
Ryan Culpepper
ba62b1dd57
added ssl-secure-client-connection
2012-11-21 12:39:18 -05:00
Ryan Culpepper
f446adad3f
added ssl-set-ciphers!
2012-11-21 12:39:17 -05:00
Ryan Culpepper
4b4113d528
get default CA cert locations (when available)
...
This probably doesn't work on Windows or Mac OS X.
2012-11-21 12:39:17 -05:00
Ryan Culpepper
c632a84a95
add ssl-seal-context!
...
Unsealed contexts are not safe to share, because one user may
change it in a way that ruins the security of another.
2012-11-21 12:39:17 -05:00
Robby Findler
98633665b3
extend data/queue library
...
- add enqueue-front!
- add queue-filter!
- use the predicates instead of the /c contracts
- make queue-length take constant time
- add some random tests
- note the running times of all of the operations in the docs
- make queues be sequences directly (and use make-do-sequence
to implement in-queue instead of building a list)
- added non-empty-queue? (note extra hypen as compared
to the past; this seems better since the function
wasn't exported before and we already have other
functions named "non-empty-<something>" but not
others namedn "nonempty-<something>")
2012-11-21 11:10:02 -06:00
Robby Findler
ac7c37812b
fix dequeue! to actually not hold onto queue elements
...
(the comments on line 11-13 said that it did this already,
but it didn't)
also add a test case to be sure that it stays this way
2012-11-21 11:10:02 -06:00
Asumu Takikawa
f3a95ba9c7
List provides explicitly in draw contracts
2012-11-20 17:47:13 -05:00
Asumu Takikawa
b4dd3b5e1d
Fail gracefully on TR struct arity errors
...
Closes PR 13209
2012-11-20 17:47:13 -05:00
Asumu Takikawa
7a190a41b4
Lazily init the cache for interface contracts.
...
This reduces the memory usage of very small classes.
It appears to have no real effect on large programs
such as DrRacket.
2012-11-20 17:47:13 -05:00
Vincent St-Amour
95d51fc892
Add new versions of for/hash: and co that the typechecker can handle.
...
Based on Eric Dobson's implementation.
Closes PR13248. Closes PR13249.
2012-11-20 17:45:15 -05:00
Vincent St-Amour
e2007abd7a
Heterogenous -> heterogenEous.
...
Found by Ray Racine.
2012-11-20 17:06:51 -05:00
Vincent St-Amour
d994ba1914
Fix types of variable arity functions to work with 0-argument return values.
...
Closes PR13218.
2012-11-20 16:15:20 -05:00
Matthew Flatt
df4563588e
switch raco pkg create' to
file/tar' and `file/zip'
2012-11-20 10:12:27 -07:00
Matthew Flatt
376b1f373a
switch raco pkg install' to use
file/unzip'
2012-11-20 10:12:27 -07:00
Matthew Flatt
8a77d87a30
add file/unzip
...
Based on Dave Herman's "zip.plt" Planet package.
2012-11-20 10:12:27 -07:00
Asumu Takikawa
dcf2b0f4dc
Add for-label require
2012-11-20 13:31:05 -05:00
Joe Gibbs Politz
e264e41488
Add check-match to rackunit
...
check.rkt:
Added the actual check-match macro.
test.rkt:
Just a provide statement
check-test.rkt:
7 additional tests for check-match, and a macro to help create tests
check.scrbl:
Documentation and examples for check-match
2012-11-20 13:02:31 -05:00
Matthew Flatt
31f7cfb486
racket/gui gtk: fix end-doc' for
printer-dc%'
...
Contract demands a void result.
2012-11-20 07:15:28 -07:00
Matthew Flatt
fc68d02027
JIT: more buffer-limit adjustments
...
To cut down on PPC-specific problems, make the JIT buffer's padding
larger on that platform (since instructions tend to be larger).
2012-11-20 06:27:05 -07:00
Eli Barzilay
95541928f1
New Racket version 5.3.1.8.
2012-11-20 03:30:15 -05:00
Danny Yoo
3f54afb9fd
Add rb-tree implementation in preparation for improving token-tree performance.
2012-11-19 21:06:46 -07:00
Matthew Flatt
06db2f9a74
JIT: add missing buffer-limit check
...
The missing check affected PPC especially.
2012-11-19 19:24:45 -07:00
Matthew Flatt
a9d2a8a764
file/untar: try to better accomodate Windows permissions
2012-11-19 17:11:21 -07:00
Matthew Flatt
68bdf190d7
switch raco pkg install' to use
file/untgz'
2012-11-19 17:01:01 -07:00
Matthew Flatt
0f47069f98
add file/untgz
2012-11-19 17:01:01 -07:00
Matthew Flatt
3a76581a36
add file/untar
2012-11-19 17:01:00 -07:00
Vincent St-Amour
6a7b971cd6
Only generate ->* contracts when arguments are really optional arguments.
...
Closes PR13274.
2012-11-19 17:35:07 -05:00
Vincent St-Amour
bdfd7f8d6f
Add -d0 flag to Chicken benchmarks.
...
Recommended by Mario Goulart.
2012-11-19 17:35:07 -05:00
Vincent St-Amour
29cfc48c5e
Fix citation disabiguation when authors differ.
2012-11-19 17:35:07 -05:00
Asumu Takikawa
a9201f68dd
Fix typo
...
Related to PR 13241
2012-11-19 16:29:56 -05:00
Asumu Takikawa
dc609f46f0
Fix some docs. Add an example too.
2012-11-19 15:38:13 -05:00
Matthew Flatt
3e505af4f9
remove `sirmail'
...
SirMail is moving to its own repo:
https://github.com/mflatt/sirmail
Install with
raco pkg install sirmail
2012-11-19 12:15:01 -07:00
Matthew Flatt
deb3c87c32
avoid a compiler warning
2012-11-19 09:41:32 -07:00