Robby Findler
723ad6207c
add opening a file (and (hopefully) waiting for the coloring to finish)
...
and run the test three times, instead of just once
2012-04-22 08:57:50 -05:00
Robby Findler
17a723a63e
Improve the contract error messages:
...
- add context information, so we can see which part of the contract failed
- re-arrange some of the information in the contracts
2012-04-21 16:55:03 -05:00
Eli Barzilay
6f215759ae
Add string-trim' and
string-normalize-spaces'.
2012-04-19 16:02:03 -04:00
Matthew Flatt
8600e7fe31
fix misplaced phase shift in submodule expansion
...
Merge to 5.3
2012-04-19 12:45:28 -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
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
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
115a3dfbac
Make it possible to run each scribble test file by itself.
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
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
4179cbfa63
enforce ranges on all integer types
...
DO NOT 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
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
Robby Findler
7bd1d5ed9b
fix the contract-name accessor for struct/dc contracts
2012-04-14 15:14:21 -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
Matthew Flatt
7b322c151d
fix `record-dc%' test
...
Merge to 5.3
2012-04-11 11:49:01 -06: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
Matthew Flatt
104e70bf65
fix JIT bug related to list-ref' and
list-tail'
...
Closes PR 12688
2012-04-08 17:16:36 -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
6531ce7547
[honu] use a local macro inside a where expression
2012-04-06 12:36:18 -06:00
Robby Findler
aaa15946fc
contract stronger fix for contract structs
2012-04-05 23:18:22 -05: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
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
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
3bf5389237
racket/gui: fix `slider%' range checking
...
Closes PR 12669
2012-04-02 15:25:47 -06:00
Jay McCarthy
1d19a844f4
Moving tests re: Sam
2012-03-30 23:54:42 -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
7e86c04847
update module language part of language-test.rkt for submodules
2012-03-30 10:44:42 -05: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
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
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
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
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
Matthew Flatt
4b36e708a3
fix `record-dc%' problem with regions
...
Closes PR 12655
2012-03-28 06:26:58 -06:00