Commit Graph

24617 Commits

Author SHA1 Message Date
Eli Barzilay
e2e2a1e3e1 Some cleanups to "script.html".
Closes PR 12464.
2012-04-19 16:02:03 -04:00
Matthew Flatt
659ff05143 refine some contracts related to submodule paths
Merge to 5.3
2012-04-19 12:45:28 -06:00
Matthew Flatt
1a981d1cc2 Add missing compatibility items to the Racket change log
Merge to 5.3
2012-04-19 12:45:28 -06:00
Matthew Flatt
8600e7fe31 fix misplaced phase shift in submodule expansion
Merge to 5.3
2012-04-19 12:45:28 -06:00
Sam Tobin-Hochstadt
fdb4ab7025 Handle `check-expect' in non-application form.
Closes PR 12710.
2012-04-19 12:50:25 -04:00
Matthew Flatt
f27c023247 bump version
mainly due to Planet resolver change
2012-04-19 08:15:12 -06:00
Matthew Flatt
862e1628a6 fix Planet resolver for submodule tests
For example, `(module-declared? '(submod (planet dyoo/bf) reader) #t)'
shouldn't fail if there's no "main.rkt" to hold a `reader' submodule;
it should return #f.

Merge to 5.3, but updating cstartup.inc will require a manual merge.
2012-04-19 08:15:11 -06:00
Matthew Flatt
81eb15f655 doc correction 2012-04-19 08:15:11 -06:00
Stevie Strickland
95d784db84 Fix a ->d contract example in the reference. 2012-04-18 17:42:14 -04:00
Sam Tobin-Hochstadt
0b7674cb06 Describe `cl' syntax class in match.
Closes PR 12657. Merge to 5.3.
2012-04-18 17:03:17 -04:00
Stevie Strickland
d76b0dac78 Fix contract names for ->m, ->*m, case->m, and ->dm contracts.
This should be merged into the 5.3 release branch.
2012-04-18 15:27:36 -04:00
Matthew Flatt
62408cc727 fix typo 2012-04-18 05:49:24 -06:00
Matthew Flatt
df0651c277 convert functional hash tables from red--black to AVL trees
AVL trees to tend to be shorter, which means a faster
search and insertion. The potential benefit of a red--black
tree's fewer rotations doesn't matter, I think, for a functional
variant, where you have to reconstruct a spine to the root,
anyway. The difference is small for typical tables, though it
can be as much as 50% for a large table with keys inserted in
order. And since the AVL code is also much simpler, why not?
2012-04-18 05:49:24 -06:00
Robby Findler
81252541dc add context to blame error messages
This is using the same idea that Stevie had, more than two
years ago(!). Sorry for not picking up on this earlier
2012-04-17 22:57:57 -05:00
Eli Barzilay
1c9de39348 Rename #:gap-select' -> #:gap-select?' and some minor doc fixes. 2012-04-17 15:56:10 -04:00
Eli Barzilay
a14569bfe3 Web pages tweaks.
* Add a reference from the community page to the bug reports page.

* Make it possible to subscribe to lists right from the community page.
  Improve the email input boxes with placeholder text and a short
  explanation on hovering.
2012-04-17 14:04:57 -04:00
Eli Barzilay
115a3dfbac Make it possible to run each scribble test file by itself. 2012-04-17 14:04:57 -04:00
Eli Barzilay
7360c4c3c2 Add a blurb on names in the json library. 2012-04-17 14:04:57 -04:00
Vincent St-Amour
8cbd26899f Include both float zeroes in Non-Negative and Non-Positive types.
Closes PR12706.
2012-04-16 17:51:04 -04:00
Matthew Flatt
1bcf56f5e9 fix problem with continuations and `call-in-nested-thread'
Closes PR 12705

Merge to 5.3
2012-04-16 13:33:50 -06:00
Matthew Flatt
38e628be80 ffi/com: add support for type descriptions on values 2012-04-16 08:47:13 -06:00
Matthew Flatt
c321608856 fix a problem with continuation allocation
i.e., fix commit 2ad41bb669

Merge to 5.3
2012-04-15 08:23:10 -06:00
Matthew Flatt
ff378d12ce fix interaction of delimited continuations and stack overflow
Closes PR 12702, 12704

Merge to 5.3
2012-04-15 05:37:45 -06:00
Matthew Flatt
2ad41bb669 fix potential GC problem with continuation copies
Merge to 5.3
2012-04-15 05:37:45 -06:00
Matthew Flatt
b09870cf7e racket/draw: fix result on non-void `record-dc%' methods
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
4179cbfa63 enforce ranges on all integer types
DO NOT merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
57f101c74c fix contract in docs
Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
6566bf5d15 fix most-negative number and _int64 on a 64-bit platform
Closes PR 12703

Merge to 5.3
2012-04-15 05:37:44 -06:00
Matthew Flatt
2d6073f59f docs: will executors are synchronizable events
Merge to 5.3
2012-04-15 05:37:35 -06:00
Ryan Culpepper
9f492c10a7 db: fix mysql large blobs, other changes
MySQL:
 - support multi-packet data rows
 - fixed very old length-coding bug (24 vs 32 bit length)
 - support large params via long-data packets
 - 'any' pseudo-type for parameters
 - distinguish 'blob'/'text', 'var-string'/'var-binary'
 - read 'text' results as string, not bytes
SQLite3:
 - enabled sql types tests
2012-04-14 19:47:32 -06:00
Ryan Culpepper
2dadc4dbac syntax/parse: increase timeout for stress-template 2012-04-14 19:47:31 -06:00
Ryan Culpepper
5d49663b83 added begin-on-demand (combo of module* and lazy-require) 2012-04-14 17:16:01 -06:00
Robby Findler
7bd1d5ed9b fix the contract-name accessor for struct/dc contracts 2012-04-14 15:14:21 -05:00
Robby Findler
0b71ebecaf adjust the way 'new' is laid out in the documentation to be more DrRacket-like 2012-04-14 14:54:19 -05:00
Robby Findler
2d08319b6c mirror an earlier optimization in opt/c whereby (-> any/c ... any)
just turns into an arity check
2012-04-13 20:04:23 -05:00
Robby Findler
9344a7a242 fix chaperone-contract? on opt/c-produced contracts 2012-04-13 10:09:55 -05:00
Robby Findler
35e818ae50 the autosave file might be deleted by the user after it is created
the first time but before the file is actually saved. guard against that.

closes PR 12698
2012-04-13 10:04:25 -05:00
Robby Findler
5e03c7cf99 Added struct/dc and cleaned up a bunch of stuff in the contract
library (mostly in opt/c)

Specifically:

- add inlining declaration for ->i helper function

- modernized the opt/c contracts and improved them so that mutually
  recursive define-opt/c functions recognize each other instead of
  bailing out to the slow path.

- added =/c as an optimized contract

- improve the error message for the between and comparison opt
  contracts

- adjust the blame struct so the name is created lazily, since opt/c
  contracts just stick a copy o the contract into the thunk that
  creates the name and we don't want to run those effects twice if we
  can help it.
2012-04-12 22:49:50 -05:00
Sam Tobin-Hochstadt
fdb70316f1 Fix documentation for `implies'. 2012-04-12 16:28:52 -04:00
Jon Rafkind
c390d96780 [honu] only allow semicolons in expression sequence position 2012-04-12 12:50:44 -06:00
Jon Rafkind
fa8377883d [honu] explicitly check for commas when parsing a comma separated expression sequence 2012-04-12 12:50:44 -06:00
Matthew Flatt
c695727aec ffi/unsafe/com: fix arrays of 'any 2012-04-11 19:12:32 -06:00
Matthew Flatt
89307edbce ffi/unsafe/com: avoid inclusion of no-error result code in error messages
Merge to 5.3
2012-04-11 17:55:12 -06:00
Matthew Flatt
bcb22a3adb ffi/unsafe/com: repair for optional `any' arguments
Merge to 5.3
2012-04-11 17:49:08 -06:00
Matthew Flatt
c5e5a0349a add #:line-number-sep' to codeblock' 2012-04-11 11:49:01 -06:00
Matthew Flatt
7b322c151d fix `record-dc%' test
Merge to 5.3
2012-04-11 11:49:01 -06:00
Eli Barzilay
76bbc1a89f New Racket version 5.3.0.1. 2012-04-11 03:30:17 -04:00
Matthew Flatt
3ecf06a8ba generalize `xml/plist' to read/write any plist value
Merge to 5.3
2012-04-10 16:38:54 -06:00
Matthew Flatt
1914345af4 fix submodule re-`expand' problem
Closes PR 12691

Merge to 5.3
2012-04-10 15:57:50 -06:00
Matthew Flatt
c64c55b86f fix mzlib contract name test
Merge to 5.3
2012-04-10 15:57:50 -06:00