Robby Findler
6ae9dcae4a
rewrote uses of mzlib/contract into racket/contract
...
(and other minor rackety when the occasion arose)
original commit: e8eea05afc79e82b465ce5d95cefc36b59ea42eb
2011-03-31 18:21:11 -05:00
Robby Findler
124283c808
removed the re-providing from internal files in the contract impl.
...
original commit: b8c7a753d3e6c06190cbe3560610710c48131960
2011-03-28 23:04:36 -05:00
Eli Barzilay
5bd3e1f45a
Clarify licensing of deflate code.
...
A similar comment holds for inflate.rkt in the same place, but since
that file says "Not copyrighted ..." then there doesn't seem to be an
issue that needs clarification.
original commit: f6f7e4eb3502d92569c362b4fb41f45a587fd544
2011-03-03 11:10:11 -05:00
Matthew Flatt
b3ab363c7e
racket/system: fix problems with checking and empty-string arguments
...
original commit: 33d01a681e248dfdbef767d631bed75a02395e41
2011-02-20 11:25:25 -07:00
Eli Barzilay
5100aad081
Fix error message, use a faster regexp test to search for NULs, forbid empty byte strings.
...
original commit: fca0ed2111300dcbdb3825bdd319ae284d4ac22f
2011-02-20 12:47:53 -05:00
Matthew Flatt
5b012ac355
racket/system: fix argument checking with 'exact
...
original commit: 010e6fc2a43ad458f167a6e7d7b55f590b2a42a8
2011-02-19 08:43:06 -07:00
Matthew Flatt
99de1ca5e8
generalizations to `subprocess' & company
...
- allow byte strings in more places
- allow stderr spec to be 'stdout to redirect stderr to stdout
Closes PR 11711
original commit: b4056373be7f869e50e14122c9cd39eaad5148df
2011-02-19 08:30:34 -07:00
Stephen Chang
92dc246a0e
add 125 to list of expected return codes when receiving data in net/ftp
...
original commit: c52b70244d23d77f1813b981939d69a8cea0b125
2011-02-08 13:17:14 -05:00
David Van Horn
5181e32581
Fixes more spelling errors.
...
original commit: 760a58b65df2b91010d2bcc2739ddab2a4489729
2011-02-04 19:44:13 -07:00
David Van Horn
61f9f1203b
Fixed various spelling errors.
...
original commit: c9519fd11300b07292df8619e86f48533eff6e4d
2011-02-03 17:42:33 -05:00
Matthew Flatt
ef64dab201
add filter-read-input-port' to
racket/port'
...
original commit: ce2d6030c73e0a04a2a5661a035c0e0d86d9c999
2011-01-24 19:47:20 -07:00
Matthew Flatt
7c4fa8d61b
add argument to `regexp-try-match' to match docs
...
Closes PR 6579 --- which was actually about the
now next-to-last argument, but close enough
original commit: d5fdee7e0691f36f2d102aea81f74f579d28fe03
2011-01-17 15:18:05 -07:00
Matthew Flatt
fafa721d56
extend date->seconds' and
find-seconds' to work with UTC
...
Closes PR 6137
original commit: 113e49aa5b3282332952aad551e8ad7456079715
2011-01-16 17:53:30 -07:00
Matthew Flatt
587e9e6f82
fix shared' for
#:auto' fields and constructors without `make-'
...
Closes PR 11588
Closes PR 11591
original commit: 655f6045a286f405f3635357795e68a47c57d21d
2011-01-05 13:52:11 -07:00
Robby Findler
54b7b650cc
changed real-in to be an alias for between/c
...
original commit: 51ad306af256fe6a1742c99d2caffc062cdfc6e0
2011-01-04 15:40:32 -06:00
Robby Findler
709cffad7a
new attempt at contract violation error messages
...
original commit: bb9bd1b07a29fd8773f7891e0923c89db20a5397
2010-12-22 10:39:59 -06:00
Robby Findler
2794f54cab
update the mzlib contract test suite to the new error messages
...
original commit: 94ebb1f31745b9969774e37753e77137223029fc
2010-12-10 06:57:27 -06:00
Stevie Strickland
6d0079b4bd
Conversion of struct/c to chaperones when appropriate.
...
original commit: 10eb818f953a4160b7f3c91193739f1451bf192c
2010-12-07 04:11:26 -05:00
Stevie Strickland
de3c2dcc8a
Actually turn on old object-info hack mentioned in 4e451a1.
...
original commit: 778f0c9fc4af1c36c378e3e7bbedeb47b27feeb7
2010-12-02 13:02:59 -05:00
Stevie Strickland
d860b1a18a
Fix object=?.
...
Also commented out some tests of reflective operations on contracted objects.
I've added a note that describes how we might be able to fix this, if
we decide it's worth doing.
original commit: 30afcd3bf5cc272f1642449989628024bedc41eb
2010-12-01 15:11:25 -05:00
Stevie Strickland
615c94f72f
Clean up first-order checking in object/c and object-contract.
...
Use let/ec only when needed (i.e. when raise-blame-error is not used).
Also remove some of the old checking functions from mzlib's object-contract
code that are no longer needed now that we have unified the first-order
checking.
original commit: 96db670d8c5453173b9bf92375512fc57cafbfcd
2010-12-01 15:11:25 -05:00
Stevie Strickland
d0a35ce51a
Conversion of object/c and object-contract to use impersonators.
...
original commit: 2bd7760412ec9c8e4af8936193cb3a6cb95518b0
2010-12-01 15:11:20 -05:00
Eli Barzilay
866da10d6e
Improved `get-bindings' using regexps etc.
...
(But note that it looks like it reimplements `form-urlencoded->alist'.)
original commit: 76c07dd594160bd37b49aff654055aa28ed2fe93
2010-11-23 10:27:46 -05:00
Matthew Flatt
f5c7a9f7a5
v5.0.99.2: proxy' ->
impersonator'
...
original commit: 7f67b6569c780f554bfeb8b9641ec59005c775c4
2010-11-08 06:23:16 -07:00
Matthew Flatt
ea1269a0c2
define-runtime-module-path-index and racket/gui/dynamic fixes
...
original commit: dee93e625984f3f92cb699a4e131eb34aee94874
2010-11-05 15:54:46 -06:00
Matthew Flatt
cb9880c410
improve runtime-path support for building stand-alone gui exes
...
original commit: 75a6bfe119d97ef81a28626bebe2b33799d41c06
2010-11-05 15:54:44 -06:00
Eli Barzilay
27f087f38f
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
original commit: ee138cf2cba3ee32cd755a7b242ec10051180adf
2010-09-20 15:38:18 -04:00
Stevie Strickland
0ddfa81da3
Convert unconstrained-domain-> to chaperones.
...
original commit: 05e714881d95f2347bd71899acc20f95d726e7cc
2010-09-17 23:08:05 -04:00
Stevie Strickland
f3f84db494
Now migrate vector/c and vector-immutable/c.
...
Also add old-style vector/c to mzlib/contract.
original commit: b416b7e5bbac1c75dba6611cc96d7f821d0ec4f2
2010-09-16 15:04:41 -04:00
Stevie Strickland
a4087991e3
Convert vectorof/vector-immutableof to the new regime.
...
Also add old-style vectorof to mzlib/contract.
original commit: 3028f2d1424123d076a95572a7564b8fb069a86e
2010-09-16 15:04:41 -04:00
Stevie Strickland
d41ec9e051
Separate out vector-related contract combinators into a new file.
...
original commit: c8737d5615db678b93784794ec6f55109b9d46d5
2010-09-16 15:04:41 -04:00
Stevie Strickland
7271481c49
Now change box/c to use proxies or chaperones appropriately.
...
Create a mzlib/contract compatible version of the old box/c and use that
for mzlib/contract. Change the docs so that the docs for mzlib/contract
contain the right information.
Fix the typed-scheme implementation to only force flat box (or hash)
contracts when it already is required to be flat. Otherwise, allow
non-flat contracts for the element contract (or domain/range contracts).
original commit: 994ad6d10fc817a5ceca2f9f4874dac5c14c0aab
2010-09-15 16:57:17 -04:00
Stevie Strickland
71d6d2f101
Initially just move the box-related combinators to a new location.
...
original commit: b8fb6dae9a54d89389ebf282f4f15011dbef36b0
2010-09-15 16:53:18 -04:00
Stevie Strickland
561af43eda
Separate out hash/c code into a separate module.
...
original commit: f5b62ececdef53f18bde3ab140351f10313f94a2
2010-09-15 11:22:57 -04:00
Eli Barzilay
cffcd4f2d7
* Use #lang & reformat
...
* Remove no longer relevant references to `macos'
* Fix some type errors (that weren't reachable)
* Make streamify-* always return the thread (`get-thread?' was always #t)
original commit: a69d7c00c138b2efd8e298e1cc4e060917672a8c
2010-09-13 01:56:50 -04:00
Eli Barzilay
cd4dbaad6a
More "~n" -> "\n" changes
...
original commit: 8e0f8dd39c3744472b450021f003f9cbe8cbcb62
2010-08-26 12:11:00 -04:00
Eli Barzilay
bfeb87cacd
Lots of "~e" to "~.s" changes.
...
original commit: 606b7f60dc597a6870efc11364e1dd3e1a8b4a1b
2010-08-25 17:17:01 -04:00
Robby Findler
8258184a9a
added contract-struct (like define-contract-struct, but with a
...
maker whose name does not begin with 'make-')
original commit: 367779fd27ba98422d288dd3b0c0db70f31bb4ca
2010-08-10 22:20:33 -05:00
Robby Findler
7019af6167
fixed a bug in the mzlib contracts test suite
...
original commit: 26187fed8f3d3df4e7edd8bfb435ced0c323d910
2010-08-10 19:27:17 -05:00
Matthew Flatt
546e09e0d9
add collection-file-path and splace collection trees at the file level
...
original commit: 5f1aa418f30f4df086c85ed18dfc5395468b1638
2010-07-25 11:01:09 -05:00
Ryan Culpepper
b9de711d8a
Added uses of internal-definition-context-apply from unstable/syntax
...
original commit: 79a06deb79fd0cdb5864543e6154502d8404a84e
2010-07-13 12:07:48 -06:00
Sam Tobin-Hochstadt
f163787145
Update `trace' docs.
...
- Move trace implementation to racket/trace.
- Move documentation to new Debugging section in Reference.
- Add example.
original commit: 12f30cf4782d6baa4707f05f95c9e19021685d66
2010-06-27 19:17:04 -04:00
Jay McCarthy
fbdc41a561
Fixing PR 10970
...
original commit: 428412036f6f6e4652cff10f84cc000f9e075c01
2010-06-23 16:29:23 -06:00
Eli Barzilay
a14cc164fa
Use `exact-integer?'.
...
original commit: 412fd4ff792935122c2b9a932a2d3eefd4040bc6
2010-06-20 18:34:06 -04:00
Stevie Strickland
79f7ee6472
Fix first-order cons/c check in mzlib contract tests.
...
original commit: 7b38cef4e89ec1b537cf06c643379a67d6d39f07
2010-06-09 15:52:29 -04:00
Matthew Flatt
7ad10fe4d0
improve expansion of some unit forms to limit expansion size
...
Merge to 5.0
original commit: c3fdf47cc7052a617913f45153f6b75fbe1ce6da
2010-06-03 11:07:44 -06:00
Jay McCarthy
6e7dd7db19
Fixing an innoculous test case failure I introduced, by override the platform's time zone.
...
Relaxing the contract on date->string to accord with previous documentation.
Changing web-server example to use more restrictive contract
Please include in 5.0
original commit: 50fd0278bae0fd18a016e5c0dde63513c2cff088
2010-05-25 06:54:28 -06:00
Jay McCarthy
12a888f33d
Adding date->seconds
...
original commit: 1b6b721aee3bd26c9fcb2cf985815f584e2b20a0
2010-05-24 14:25:35 -06:00
Jay McCarthy
4d0091213c
Adding current-date
...
original commit: 009ae0588ecb4387b73dfe6d807c7b5a4e27e243
2010-05-24 14:23:53 -06:00
Jay McCarthy
1f7868ea09
Using modern style a little
...
original commit: 991e2a4064b48402dc272f5cad40be50c560fd08
2010-05-24 14:23:52 -06:00