Jay McCarthy
50fd0278ba
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
2010-05-25 06:54:28 -06:00
Jay McCarthy
1b6b721aee
Adding date->seconds
2010-05-24 14:25:35 -06:00
Jay McCarthy
009ae0588e
Adding current-date
2010-05-24 14:23:53 -06:00
Jay McCarthy
991e2a4064
Using modern style a little
2010-05-24 14:23:52 -06:00
Jay McCarthy
581458f0be
Converting to racket and with contracts
2010-05-24 14:23:52 -06:00
Matthew Flatt
e4aab34656
Fix `at-exp' syntax colorer to handle non-text input
...
- added 'special-filter-input-port' to `racker/port'
Merge to v5.0
2010-05-21 19:40:32 -06:00
Eli Barzilay
41ea7311f3
Use "main.rkt" instead of "main.ss" in constructed path
2010-05-17 09:55:48 -04:00
Eli Barzilay
939af28a4c
Some random ".ss" -> ".rkt"s
2010-05-17 05:58:19 -04:00
Eli Barzilay
a46743211b
A lot of "plt-scheme.org" -> "racket-lang.org"s.
2010-05-17 00:53:12 -04:00
Eli Barzilay
7f6efdc8be
A lot of "MrEd" -> "GRacket"s.
2010-05-16 23:46:05 -04:00
Eli Barzilay
2d9601089d
A lot of "MzScheme" -> "Racket"s.
2010-05-16 18:26:26 -04:00
Sam Tobin-Hochstadt
3965eab9c8
Add `racket/block'
2010-05-11 12:01:15 -04:00
Matthew Flatt
eb15dceb34
rackety misc docs
2010-05-07 09:13:51 -06:00
Matthew Flatt
43027a8d9b
switch printer to constructor+quote style
2010-05-06 10:33:42 -06:00
Matthew Flatt
882b7dce0e
move tests/mzscheme to tests/racket
2010-04-27 18:28:39 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Matthew Flatt
616080c7c4
change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc.
2010-04-25 12:10:36 -06:00
Matthew Flatt
d7e4db3efd
fix some tests and docs after racket move
2010-04-20 17:28:07 -06:00
Matthew Flatt
c95a398754
move most of the 'scheme' collection to the 'racket' collection
2010-04-20 15:24:48 -06:00
Matthew Flatt
0f0a59732e
create core binaries as 'racket' and 'gracket'
2010-04-15 21:15:57 -04:00
Matthew Flatt
b4aa4d4afb
add define-values-for-export to scheme/unit; sort out different unit-signature 'struct' forms for mzlib vs. scheme vs. racket
...
svn: r18792
2010-04-12 13:54:40 +00:00
Matthew Flatt
65d3d3240b
racket: keep old 'define-struct', include new form as 'struct'
...
svn: r18789
2010-04-11 21:08:37 +00:00
Matthew Flatt
bdb71498e3
module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
...
svn: r18788
2010-04-11 16:55:18 +00:00
Matthew Flatt
2cb9f378aa
Racket experiments
...
svn: r18725
2010-04-02 21:29:59 +00:00
Stevie Strickland
bf60da75e1
Refactor out new has-contract?/value-contract functionality so that it's
...
the responsibility of the (higher-order) contract to add the contract
(plus possibly more in the future) to the wrapped value.
svn: r18469
2010-03-04 21:10:44 +00:00
Stevie Strickland
3404c0e27a
Factor out _all_ the first-order checks into a single procedure, and rework
...
that procedure so that you feed it #f instead of a (no longer possible) dummy
blame value for the first-order case.
svn: r18452
2010-03-03 20:49:37 +00:00
Stevie Strickland
f37f81cdb2
Maintain source locations appropriately.
...
svn: r18422
2010-03-01 23:47:31 +00:00
Sam Tobin-Hochstadt
1c1a2dde38
Fix pconvert of hashtables.
...
svn: r18414
2010-03-01 20:27:55 +00:00
Robby Findler
d7f8c62371
fixed immutable boxes and vectors
...
svn: r18407
2010-03-01 14:47:38 +00:00
Stevie Strickland
e54f1c3a5e
scheme/contract => scheme/contract/base
...
svn: r18371
2010-02-27 01:03:55 +00:00
Stevie Strickland
70b5fe6294
Of course, it would help if this was correct.
...
svn: r18289
2010-02-23 04:18:29 +00:00
Stevie Strickland
e9a6aa31ca
Remove a load of crap from mzlib's object-contract that's no longer needed.
...
svn: r18287
2010-02-23 04:03:39 +00:00
Carl Eastlund
1d6111c532
Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
...
svn: r18259
2010-02-22 02:51:16 +00:00
Stevie Strickland
95438db40f
Add set-field!. Because it's useful, because we have get-field, so why
...
not it, and because it's an easy way to later test external field contracts.
svn: r18199
2010-02-19 23:55:39 +00:00
Jay McCarthy
8f7e5b3803
Making the atomic renaming truly atomic with an option to rename I didn't realize existed. :'(
...
svn: r18134
2010-02-17 22:04:57 +00:00
Robby Findler
66e329c21b
updated pconvert to use the new arguments to make-hash and friends
...
svn: r18128
2010-02-17 21:20:39 +00:00
Jay McCarthy
8e0addc8c7
Adding more race condition protection to the compiler for DrDr and parallel setup-plt
...
svn: r18103
2010-02-16 20:17:15 +00:00
Carl Eastlund
fe40d3e888
Merged changes from trunk.
...
svn: r18007
2010-02-06 19:23:24 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Carl Eastlund
1d4cdbeb45
Exports from scheme/contract/private/blame: removed constructor; fixed confusing selector names.
...
svn: r17909
2010-01-31 03:03:30 +00:00
Carl Eastlund
d00e3432d9
Replaced #%variable-reference with quote-module-path for unit contract blame.
...
svn: r17781
2010-01-23 18:31:10 +00:00
Carl Eastlund
7f58c26709
Replaced uses of quote-srcloc with quote-syntax.
...
svn: r17757
2010-01-19 23:25:07 +00:00
Carl Eastlund
934c775c25
Fixed an expected contract message.
...
svn: r17749
2010-01-19 09:25:02 +00:00
Carl Eastlund
ad9968493e
Fixed a missing blame swap.
...
svn: r17748
2010-01-19 09:24:48 +00:00
Carl Eastlund
2633965c91
Fixed missing keyword to simple-contract.
...
svn: r17740
2010-01-19 06:29:43 +00:00
Carl Eastlund
5606c590bd
Updated quote-syntax to quote-srcloc in mzlib unit contracts.
...
svn: r17735
2010-01-19 04:57:33 +00:00
Carl Eastlund
722fae41a8
Ported more code to new contract tools.
...
svn: r17733
2010-01-19 03:42:45 +00:00
Carl Eastlund
2bad47fd0f
Ported more code to use new contract bindings.
...
svn: r17727
2010-01-19 01:01:28 +00:00
Carl Eastlund
7763a4079a
Ported mzlib units to new contract system.
...
svn: r17718
2010-01-18 18:26:02 +00:00
Carl Eastlund
bb7bd9de51
Typos and type errors in new property stuff.
...
svn: r17700
2010-01-17 07:23:47 +00:00
Carl Eastlund
1f969b8831
Ported a lot of mzlib contracts to new properties.
...
svn: r17699
2010-01-17 07:07:06 +00:00
Stevie Strickland
73d68593af
Moving unit system from mzscheme->scheme/base, reformatting and small changes
...
as necessary. Ran the quiet testsuite, unit tests, and setup-plt, all good.
svn: r17582
2010-01-08 21:44:42 +00:00
Stevie Strickland
c8c66bfe7f
Need to handle what happens when there's no contracts to speak of.
...
svn: r17574
2010-01-08 18:52:57 +00:00
Stevie Strickland
ea20ee160f
Add a dummy lambda expansion to signature compilation to ensure that the
...
expressions only refer to locally-bound names or names that are part of the
signature itself.
svn: r17573
2010-01-08 18:47:51 +00:00
Stevie Strickland
9e0f2a3c5f
Identifiers in signature contracts don't use whatever prefixing or such may be
...
in play in the body of a unit, so we need to rename the "external" version to
the "internal" version. This fixes PR 10246.
svn: r17571
2010-01-08 17:20:19 +00:00
Stevie Strickland
e2f50af66c
If a contracted import doesn't have a pair value (because we haven't run
...
the corresponding unit body yet), then result in a useful error instead of
leaking internal implementation details.
svn: r17541
2010-01-07 19:36:08 +00:00
Eli Barzilay
bbb4228d44
use scheme/base, move from mzlib/md5 to file/md5
...
svn: r17365
2009-12-20 09:49:31 +00:00
Matthew Flatt
87f05fed95
add #:save-errno option for foreign-function types
...
svn: r17299
2009-12-14 23:52:23 +00:00
Jay McCarthy
ae7482d572
Converting to scheme/base. Adding atomic renaming of compiled zos. Simplifying some parts with library functions. Using a low-tech continuation barrier, re: robby. Using define to reduce left creep. Adding commentary on design choices. Tested on Linux and Mac OS X. Based on code from Petey Aldous.
...
svn: r17166
2009-12-02 20:45:59 +00:00
Matthew Flatt
1a8539f647
fix mzlib/string exports
...
svn: r16405
2009-10-22 01:09:48 +00:00
Eli Barzilay
6c33216f0a
move to scheme/base
...
svn: r16404
2009-10-21 21:08:57 +00:00
Matthew Flatt
9e4657b7da
fix file modes for scheme/base
...
svn: r16323
2009-10-15 02:57:01 +00:00
Sam Tobin-Hochstadt
32eb932858
Fix some scribble link errors.
...
svn: r16291
2009-10-09 16:01:16 +00:00
Eli Barzilay
ac39ffe739
undo revision 16179, which had some junk included by mistake
...
svn: r16180
2009-09-30 03:57:08 +00:00
Eli Barzilay
38388b1d34
typo in DFlag
...
svn: r16179
2009-09-30 03:55:22 +00:00
Robby Findler
75a5e0c23a
removed extraneous export
...
svn: r16165
2009-09-29 14:34:57 +00:00
Eli Barzilay
6d2bdb9e1c
forgot this rename in last commit
...
svn: r16164
2009-09-29 13:40:17 +00:00
Eli Barzilay
6cea680b62
* Reorganize macro code.
...
* Change `trace-apply' to accept keyword arguments by being a keyworded
function itself
* Renamed `trace-apply' to `trace-call' -- since it's not following the
calling convention of `apply'.
svn: r16161
2009-09-29 07:33:07 +00:00
Jon Rafkind
1c129b829b
update trace. use > for new stack frames and < for return values. prefixes are parameterized
...
svn: r16055
2009-09-17 21:52:07 +00:00
Stevie Strickland
8c01eb975a
We don't need the full scheme/contract here.
...
svn: r16053
2009-09-17 20:59:32 +00:00
Stevie Strickland
636adcc142
Refactoring all the private contract stuff into its own playpen.
...
svn: r16052
2009-09-17 20:55:37 +00:00
Stevie Strickland
70e8f21ba2
Refactoring scheme/private/contract into reasonably sized pieces.
...
svn: r16049
2009-09-17 19:45:56 +00:00
Stevie Strickland
aca0bcf82e
First moving private/contract.ss to a different name. The diaspora from
...
that file into others will happen next.
svn: r16048
2009-09-17 17:42:45 +00:00
Matthew Flatt
374a70d9f1
move pretty-print implementation from mzlib to scheme
...
svn: r15990
2009-09-13 13:56:22 +00:00
Stevie Strickland
538cc8862f
Changing from stxclass to syntax/parse.
...
svn: r15979
2009-09-11 19:47:27 +00:00
Robby Findler
5c73253e03
changed the low-level api for contracts so the projections accept an extra argument indicating if the contract is being used positively or negatively
...
svn: r15850
2009-09-01 16:25:08 +00:00
Stevie Strickland
7d551aa0f2
Small change so that failures due to the implicit compound-unit/infer (like
...
init-depend failures) will show define-values/invoke-unit/infer as the
original source of the problem.
svn: r15780
2009-08-18 23:22:32 +00:00
Matthew Flatt
84f56f8af6
allow multiple arguments to shift-captured continuation
...
svn: r15472
2009-07-17 11:09:07 +00:00
Robby Findler
5adb4eb004
changed the meaning of one of the pretty-print parameters slightly and used that to fix redex's stepper
...
svn: r15419
2009-07-09 15:55:11 +00:00
Eli Barzilay
a70bf64fd9
Newlines at EOFs
...
svn: r15380
2009-07-04 02:28:31 +00:00
Eli Barzilay
201a12d75b
Moved tar' from mzlib to file, and use
scheme/base' now.
...
svn: r15346
2009-06-30 21:06:53 +00:00
Jay McCarthy
10dc764398
Fixing problem report 10261 by stopping when ip is closed
...
svn: r15095
2009-06-05 17:36:50 +00:00
Eli Barzilay
e2c5ff30ed
stupid typo in #:flag
...
svn: r15090
2009-06-05 13:03:44 +00:00
Stevie Strickland
732e93b9dc
Fix open so that it respects contracts.
...
svn: r14902
2009-05-21 16:36:36 +00:00
Eli Barzilay
44848d349c
comment typo
...
svn: r14894
2009-05-21 02:35:00 +00:00
Matthew Flatt
f08649a007
further improve procedure? and procedure-arity-includes? optimization on procedure names bound in a module top-level
...
svn: r14725
2009-05-05 23:08:24 +00:00
Matthew Flatt
4623a1ac07
some improvement in eliminating procedure? and procedure-arity-includes? statically
...
svn: r14723
2009-05-05 19:22:55 +00:00
Eli Barzilay
4b28ee8d34
reformat
...
svn: r14714
2009-05-04 21:04:37 +00:00
Matthew Flatt
83cd3964f4
fix file-descriptor leak in process[*]/ports (PR 10229)
...
svn: r14710
2009-05-04 12:22:01 +00:00
Eli Barzilay
c0a8a01222
Changed @itemize{...} to @itemize[...] (done after comparing the doc
...
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)
svn: r14427
2009-04-05 17:46:20 +00:00
Ryan Culpepper
eb349682c3
scheme/signature: fixed to recognize scheme require forms
...
svn: r14396
2009-04-01 03:14:34 +00:00
Stevie Strickland
99aac7d745
Sam and I did some work to allow automatic inferred linking in
...
(define-values/)invoke-unit/infer.
svn: r14315
2009-03-27 13:47:12 +00:00
Matthew Flatt
2109cec2f4
free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3)
...
svn: r14191
2009-03-19 20:22:18 +00:00
Eli Barzilay
977b08c5c4
Fix bug in calling put_short with a bad value
...
svn: r14166
2009-03-18 01:20:42 +00:00
Ryan Culpepper
3d5377d8f8
pretty-printer: changed 'module' printing
...
svn: r14082
2009-03-13 01:44:30 +00:00
Robby Findler
283c1819a9
a bunch of improvements to the splash screen (loads less code before the splash appears, got rid of a bunch of dynamic-requires that were not necessary, fixed the lack of special screen on prince kuhio and king kamehameha days, got rid of the flicker in the tools icons)
...
svn: r13980
2009-03-06 16:35:04 +00:00
Eli Barzilay
3931fb7e35
gzvector is gone, have gzbytes instead, (almost?) all input buffers are bytes
...
svn: r13972
2009-03-05 22:38:26 +00:00
Eli Barzilay
4b7ec27191
fix a really stupid bug that I introduced in r4490
...
svn: r13971
2009-03-05 20:55:15 +00:00
Matthew Flatt
b4f6c524a1
added prop:print-converter
...
svn: r13938
2009-03-04 02:54:22 +00:00
Stevie Strickland
44523232e4
While this gets us most of the way there, it doesn't get us all the way,
...
because signature identifiers are shown as quoted. I'll think about this
a little longer.
svn: r13904
2009-03-03 02:07:30 +00:00