Commit Graph

647 Commits

Author SHA1 Message Date
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
Stevie Strickland
2f065df887 Instead of just using the quoted versions of the contracts, actually evaluate
them, with signature elements rewritten to quoted versions of the same, so
that we get a better result for the name of the contract used by contract
errors.

svn: r13903
2009-03-03 02:00:31 +00:00