Commit Graph

12387 Commits

Author SHA1 Message Date
Jon Rafkind
bee5af120b add more operators
svn: r17773
2010-01-22 22:14:28 +00:00
Jon Rafkind
3e4221b410 cleanup
svn: r17771
2010-01-22 21:11:26 +00:00
Jon Rafkind
91e3bc001f use a macro for generating infix precedence table
svn: r17770
2010-01-22 19:55:02 +00:00
Eli Barzilay
b3b63bf25f Welcome to a new PLT day.
svn: r17769
2010-01-22 08:50:27 +00:00
Matthew Flatt
178777234d notes on improving 2htdp/universe
svn: r17766
2010-01-21 18:51:08 +00:00
John Clements
03368f8fc6 added index for unsafe context term
svn: r17764
2010-01-21 18:34:43 +00:00
Eli Barzilay
25fb4d9ac0 Welcome to a new PLT day.
svn: r17763
2010-01-21 08:50:36 +00:00
Jon Rafkind
21aab7e99c generalize infix operator definition
svn: r17762
2010-01-21 00:53:13 +00:00
Jon Rafkind
94f0edd8d2 parse + expressions
svn: r17761
2010-01-21 00:19:23 +00:00
Jon Rafkind
8f4853a3ae replace ; with semicolon
svn: r17760
2010-01-21 00:06:21 +00:00
Matthias Felleisen
6220900756 porting guide, please propagate to release
svn: r17759
2010-01-20 09:30:31 +00:00
Eli Barzilay
ef922d8e0d Welcome to a new PLT day.
svn: r17758
2010-01-20 08:50:24 +00:00
Carl Eastlund
7f58c26709 Replaced uses of quote-srcloc with quote-syntax.
svn: r17757
2010-01-19 23:25:07 +00:00
Ryan Culpepper
ef138249f4 syntax/parse: fixed bugs (thanks samth)
Please propagate this to the release branch.

svn: r17756
2010-01-19 21:03:51 +00:00
Carl Eastlund
87645ebd11 Updated typed scheme to use a module path for blame.
svn: r17754
2010-01-19 10:44:27 +00:00
Carl Eastlund
791178a549 Fixed printing of blame error messages to use display and write appropriately.
svn: r17753
2010-01-19 09:28:28 +00:00
Carl Eastlund
51983e3829 Fixed simple-contract stronger check.
svn: r17752
2010-01-19 09:28:08 +00:00
Carl Eastlund
6a0469b680 Fixed detection of printable contracts in dependent struct contracts.
svn: r17751
2010-01-19 09:27:51 +00:00
Carl Eastlund
ad7976079f Kept syntax-parse expr/c error message consistent with define/contract.
svn: r17750
2010-01-19 09:26:42 +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
6d8b3a2e84 Added customization for unknown srclocs to source-location->prefix/string
svn: r17747
2010-01-19 09:24:15 +00:00
Eli Barzilay
a86337375d Welcome to a new PLT day.
svn: r17746
2010-01-19 08:50:22 +00:00
Carl Eastlund
e5c74e7a25 Fixed bug I introduced when changing make-proj-contract to simple-contract.
svn: r17744
2010-01-19 07:33:03 +00:00
Carl Eastlund
9506494416 Fixed a shadowed name
svn: r17743
2010-01-19 07:28:06 +00:00
Carl Eastlund
35a716d5d3 Fixed blame detection regexp.
svn: r17742
2010-01-19 07:14:17 +00:00
Carl Eastlund
d01e61508f Fixed a blame assignment typo.
svn: r17741
2010-01-19 07:14:00 +00:00
Carl Eastlund
2633965c91 Fixed missing keyword to simple-contract.
svn: r17740
2010-01-19 06:29:43 +00:00
Carl Eastlund
9d7ca20eeb Replaced guilty-party with equivalent.
svn: r17739
2010-01-19 06:29:15 +00:00
Carl Eastlund
5d7774e7b2 Fixed test for procedure?, which now recognizes flat contracts, and typo for contract-projection.
svn: r17738
2010-01-19 05:59:47 +00:00
Carl Eastlund
888045dcf9 Replaced make-proj-contract with simple-contract in tests.
svn: r17737
2010-01-19 05:31:18 +00:00
Carl Eastlund
e94bef6938 Updated more contracts in the mzlib collection.
svn: r17736
2010-01-19 04:57:47 +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
4b739b5f62 Removed obsolete build-src-loc-string
svn: r17734
2010-01-19 03:43:00 +00:00
Carl Eastlund
722fae41a8 Ported more code to new contract tools.
svn: r17733
2010-01-19 03:42:45 +00:00
Carl Eastlund
3921e16aa1 Updated lingering use of old src-info format.
svn: r17732
2010-01-19 03:41:30 +00:00
Carl Eastlund
4de3ee3a9e Re-enabled 4-argument contract macro, and added more output to misuse messages.
svn: r17731
2010-01-19 03:41:03 +00:00
Carl Eastlund
2f2068356c Replaced mistaken #f with srcloc.
svn: r17730
2010-01-19 03:39:28 +00:00
Carl Eastlund
9fbf023d90 Took collection path simplification out of this file.
svn: r17729
2010-01-19 03:38:55 +00:00
Carl Eastlund
d57b5fff61 Made source-location->string shorten collection paths.
svn: r17728
2010-01-19 03:38:14 +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
a03454ec69 Replaced make-proj-contract in poly/c
svn: r17726
2010-01-19 00:21:43 +00:00
Carl Eastlund
9e540043bc Updated local-expand of contract forms in require/contract.
svn: r17725
2010-01-19 00:20:54 +00:00
Carl Eastlund
0edd786361 Removed more occurrences of old source info representation.
svn: r17724
2010-01-18 23:24:34 +00:00
Carl Eastlund
167c9cb1a8 Changed contract source locations to perform module resolution in advance.
svn: r17723
2010-01-18 23:11:12 +00:00
Carl Eastlund
f346bc7f1a Added a module for statically computing source locations and module paths.
svn: r17722
2010-01-18 23:10:10 +00:00
Carl Eastlund
54d5b0ac7f Updated predicate list in scheme/exists/lang based on contract library changes.
svn: r17721
2010-01-18 18:53:06 +00:00
Carl Eastlund
2a5f883a4c Updated contracts in XML collection.
svn: r17720
2010-01-18 18:49:39 +00:00
Carl Eastlund
6ac7fe78e6 Ported object contracts to new properties.
svn: r17719
2010-01-18 18:32:26 +00:00
Carl Eastlund
7763a4079a Ported mzlib units to new contract system.
svn: r17718
2010-01-18 18:26:02 +00:00
Carl Eastlund
1014dd2da4 Converted provide.ss to use new contract form and deference variable-reference.
svn: r17716
2010-01-18 17:05:06 +00:00
Carl Eastlund
124050d54e Converted current-contract-region to dereference variable-reference.
svn: r17715
2010-01-18 17:04:44 +00:00
Carl Eastlund
b0c93342d9 Fixed type error in source location conversion.
svn: r17714
2010-01-18 17:04:01 +00:00
Eli Barzilay
d8b7906fd5 f9 build moves to f12
svn: r17713
2010-01-18 06:11:51 +00:00
Robby Findler
ea92d688e8 work on the porting guide
svn: r17709
2010-01-18 02:01:30 +00:00
Carl Eastlund
4d22b7a5f4 Allowed path values in blame s-expressions.
svn: r17708
2010-01-17 18:50:55 +00:00
Carl Eastlund
4e3874a1c5 Moved path pretty-printing into blame module.
svn: r17707
2010-01-17 18:50:40 +00:00
Carl Eastlund
19873777e1 Set srcloc processing to use syntax-source-module if possible.
svn: r17706
2010-01-17 18:50:11 +00:00
Carl Eastlund
00d79083e3 Slight changes to new contract protocol.
svn: r17705
2010-01-17 18:35:19 +00:00
Carl Eastlund
b24b946155 Added explicit checks for saner contract protocol.
svn: r17704
2010-01-17 18:02:39 +00:00
Robby Findler
5af38568a5 removed my broken attempt to fix the test; this is (I believe) an actual bug in the library
svn: r17703
2010-01-17 13:53:44 +00:00
Eli Barzilay
01a05c2ddf Welcome to a new PLT day.
svn: r17701
2010-01-17 08:50:47 +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
Carl Eastlund
e408fd464b Propagated guts exports through scheme/contract/base and scheme/contract.
svn: r17698
2010-01-17 06:18:13 +00:00
Carl Eastlund
7716e58f61 Ported basic-opters.ss to new properties.
svn: r17697
2010-01-17 06:12:59 +00:00
Carl Eastlund
336dd1b808 Ported ds.ss to new properties.
svn: r17696
2010-01-17 06:10:29 +00:00
Carl Eastlund
41bd96f6aa Made blame objects transparent to allow equal?
svn: r17695
2010-01-17 06:10:09 +00:00
Carl Eastlund
da89b2146f Reindented.
svn: r17694
2010-01-17 05:58:43 +00:00
Carl Eastlund
2ed1f852aa Ported misc.ss to new properties.
svn: r17693
2010-01-17 05:44:54 +00:00
Carl Eastlund
41565a3869 Ported exists.ss to new properties.
svn: r17692
2010-01-17 05:24:00 +00:00
Carl Eastlund
ee944b575a Ported base.ss to new properties.
svn: r17691
2010-01-17 05:18:49 +00:00
Carl Eastlund
42b3b8820b Added simplification of collects paths to blame error printing.
svn: r17690
2010-01-17 05:18:37 +00:00
Carl Eastlund
18e33c2ce1 Exported source->name function.
svn: r17689
2010-01-17 05:18:13 +00:00
Carl Eastlund
ed47b31635 Updated arrow.ss to new properties.
svn: r17688
2010-01-17 04:17:40 +00:00
Carl Eastlund
d10eea83e7 Ported opt-guts.ss and opt.ss to use new properties.
svn: r17687
2010-01-17 03:54:22 +00:00
Carl Eastlund
1d9b4a79b7 Reimplemented guts based on new properties.
svn: r17686
2010-01-17 03:36:56 +00:00
Carl Eastlund
05c4296eca Fixed evaluation order.
svn: r17685
2010-01-17 03:36:17 +00:00
Carl Eastlund
ff00fefb2d Core implementation of new contract datatypes.
svn: r17684
2010-01-17 02:54:55 +00:00
Robby Findler
a9597eeb8b fixed up the docs for the base shapes to reflect the new pen arguments; added a section about pixels
svn: r17683
2010-01-17 02:50:41 +00:00
Robby Findler
3046afea04 added an code to avoid a race
svn: r17682
2010-01-17 02:29:29 +00:00
Robby Findler
4189297063 added in missing require
svn: r17676
2010-01-16 20:06:27 +00:00
Robby Findler
7d34a9ecd5 fixed path problem
svn: r17675
2010-01-16 17:28:31 +00:00
Matthew Flatt
2dcfe69763 fix doc typo
svn: r17673
2010-01-16 14:23:16 +00:00
Eli Barzilay
8a190a4ab4 Welcome to a new PLT day.
svn: r17671
2010-01-16 08:50:45 +00:00
Robby Findler
ddf0b4ec01 added finer control over pens
svn: r17670
2010-01-16 02:03:54 +00:00
Jon Rafkind
b3d41faa68 parse function calls and definitions
svn: r17669
2010-01-15 21:44:56 +00:00
Ryan Culpepper
6eb51f9402 macro-stepper: yet another local-expansion fix
svn: r17668
2010-01-15 21:33:36 +00:00
Ryan Culpepper
9a2408f267 macro-debugger: fixed module & local-expansion bug
svn: r17666
2010-01-15 20:13:09 +00:00
Sam Tobin-Hochstadt
3fc133a0b8 Correct typing for `or'.
svn: r17665
2010-01-15 19:39:46 +00:00
Matthew Flatt
5f3b90943b JIT fast path for setting global/module variable; repair fix for PR 10693
svn: r17663
2010-01-15 14:02:57 +00:00
Eli Barzilay
59ba9df1c8 Welcome to a new PLT day.
svn: r17662
2010-01-15 08:50:52 +00:00
Sam Tobin-Hochstadt
5e1b355e32 Syntax for predicates with non-empty paths
svn: r17660
2010-01-14 23:17:56 +00:00
Sam Tobin-Hochstadt
d69c96cf06 update to the final version of this code
svn: r17658
2010-01-14 22:09:31 +00:00
Sam Tobin-Hochstadt
104adf9c62 Types for the other `check-expect'-style forms.
svn: r17657
2010-01-14 21:24:47 +00:00
Sam Tobin-Hochstadt
1ab2a41092 Paths for first' and rest'
svn: r17654
2010-01-14 20:00:37 +00:00
Sam Tobin-Hochstadt
33592b4f6c Typecheck `or' correctly.
svn: r17653
2010-01-14 19:53:28 +00:00
Robby Findler
902dfc17ae a few cleanups to the porting guide
svn: r17652
2010-01-14 18:39:23 +00:00
Matthias Felleisen
9a50b999e2 hack for 2:image added to make sure it displays completely
svn: r17650
2010-01-14 18:05:11 +00:00
Matthias Felleisen
be76ed2add fixed small bug in draw check; eliminated the 'equal' optimization
svn: r17649
2010-01-14 17:43:44 +00:00
Eli Barzilay
d65aa1ca83 Welcome to a new PLT day.
svn: r17647
2010-01-14 08:50:42 +00:00
Robby Findler
619cfa79d2 redid the image doc examples on the mac
svn: r17645
2010-01-14 01:26:07 +00:00
Robby Findler
246bd182df forgot to update part of the docs
svn: r17644
2010-01-14 01:20:50 +00:00
Robby Findler
96c717473a revised the coordinates for place-image and fixed up the docs a bit
svn: r17643
2010-01-14 01:15:31 +00:00
Ryan Culpepper
97135f112c macro-debugger: fixed bug re local-expansion and macro hiding
svn: r17642
2010-01-13 23:41:23 +00:00
Robby Findler
7fb9f51e62 tweaks to docs & example images
svn: r17640
2010-01-13 21:54:51 +00:00
Robby Findler
0eaa68c7c4 re-ran the image example generation on mac os x
svn: r17639
2010-01-13 21:46:49 +00:00
Robby Findler
fc8f84d616 fixed a bug I introduced
svn: r17638
2010-01-13 20:18:48 +00:00
Casey Klein
c8b8775805 Further clarified documentation
svn: r17636
2010-01-13 18:35:27 +00:00
Casey Klein
a47d38e15d Improved docs and error messages for define-metafunction/extension
svn: r17635
2010-01-13 18:21:27 +00:00
Robby Findler
8c9088a770 changed the overlaying functions so they default to putting the images overlay'd on their centers, not upper lefts
svn: r17632
2010-01-13 16:32:21 +00:00
Robby Findler
8838d90cd5 removed extra depenencies
svn: r17630
2010-01-13 15:12:46 +00:00
Matthew Flatt
70b3d5abcb fix r6rs library-body handling (PR 10693)
svn: r17628
2010-01-13 12:59:15 +00:00
Eli Barzilay
eb9e007048 Welcome to a new PLT day.
svn: r17626
2010-01-13 08:50:40 +00:00
John Clements
1a9e2c8df1 ormap docs didn't say what it returned (earlier fix fluffed, IIUC)
svn: r17624
2010-01-13 01:20:48 +00:00
Jay McCarthy
a1d7945958 PR10689
svn: r17621
2010-01-12 21:51:35 +00:00
Jon Rafkind
9c2ea4c1cf use syntax/parse for parsing honu forms
svn: r17620
2010-01-12 21:51:34 +00:00
Sam Tobin-Hochstadt
91629fd31a Reject some cases of nested types.
svn: r17619
2010-01-12 20:36:30 +00:00
Mike Sperber
4ea713a87a Typo fix.
svn: r17617
2010-01-12 12:38:42 +00:00
Eli Barzilay
77ab3bb426 Welcome to a new PLT day.
svn: r17616
2010-01-12 08:50:17 +00:00
Jay McCarthy
c22810cef1 Fixing two typos found by pdedede
svn: r17615
2010-01-12 02:37:22 +00:00
Matthew Flatt
331c6d2f5f fix bignum expt (PR 10690); also fixed a doc typo
svn: r17614
2010-01-12 02:16:12 +00:00
Jon Rafkind
e9165f30fe document latest scheme/generator functions
svn: r17613
2010-01-11 22:22:51 +00:00
Sam Tobin-Hochstadt
81e963bd46 `reverse' is special on all tuples
svn: r17612
2010-01-11 22:13:22 +00:00
Sam Tobin-Hochstadt
4fa4f6fd2d Propogate expected type through `reverse'.
New loop special case for `for/list'.

svn: r17609
2010-01-11 20:48:26 +00:00
Robby Findler
607b72d560 fixed a typo
svn: r17608
2010-01-11 17:14:14 +00:00
Matthias Felleisen
bea9d06b21 adding port doc for universe from world
svn: r17606
2010-01-11 16:38:21 +00:00
Matthias Felleisen
7cee96d6e4 adding port doc for universe from world
svn: r17605
2010-01-11 16:29:50 +00:00
Matthias Felleisen
584286f8c5 small typos in place-image/align
svn: r17604
2010-01-11 15:16:03 +00:00
Eli Barzilay
038ed5bea3 Welcome to a new PLT day.
svn: r17603
2010-01-11 08:50:30 +00:00
Eli Barzilay
55d4ac93b3 another case of this
svn: r17602
2010-01-11 06:38:19 +00:00
Eli Barzilay
384cadd579 express expected result of []s using []s, so these tests make sense for readers that use []s in a different way too
svn: r17601
2010-01-11 06:31:01 +00:00
Eli Barzilay
bfc59751f1 some minimal explanations
svn: r17600
2010-01-11 02:30:18 +00:00
Eli Barzilay
01536ba44e switch to "#lang setup/infotab"
svn: r17598
2010-01-11 02:24:24 +00:00
Eli Barzilay
c8e7825afe nothing in here
svn: r17597
2010-01-11 02:22:10 +00:00
Eli Barzilay
995d1f0d68 use #f so the default browser will be used
svn: r17596
2010-01-10 16:00:35 +00:00
Eli Barzilay
84f55d9647 remove redundant find-exe
svn: r17595
2010-01-10 15:46:54 +00:00
Robby Findler
887aef7e76 changed the external browser default preference so that it doesn't crash drscheme on startup (in future releases, if more browsers come out)
svn: r17594
2010-01-10 15:07:52 +00:00
Robby Findler
708d4c10d6 fixed image equality for zero width & zero height images
svn: r17593
2010-01-10 13:55:11 +00:00
Eli Barzilay
7d27dafa77 Welcome to a new PLT day.
svn: r17592
2010-01-10 08:50:38 +00:00
Eli Barzilay
b33455dc8e case-fold username in servlet when needed
svn: r17591
2010-01-10 04:12:48 +00:00
Matthew Flatt
349c15d478 replae module->compiled-module-expression with module->imports and module->exports
svn: r17588
2010-01-09 14:42:18 +00:00
Eli Barzilay
eb8a60a235 Welcome to a new PLT day.
svn: r17587
2010-01-09 08:50:42 +00:00
Eli Barzilay
6b7c199326 * Some reorganization of code
* Rename `make-repeated-sequence-generator' -> `sequence->repeated-generator'
* Several tests for `sequence->generator'

svn: r17586
2010-01-09 04:45:39 +00:00
Eli Barzilay
3993f30dec typed/test-engine goes with test-engine
svn: r17585
2010-01-09 03:54:55 +00:00
Jon Rafkind
a0ba9a7649 add sequence->generator and change make-repeated-sequence-generator to use that instead of infinite-generator
svn: r17583
2010-01-08 22:02:42 +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
Ryan Culpepper
d846d22b9e macro-debugger:
fixed local-expand not within macro transformation
  removed dead forms (eg require-for-syntax)
  fixed module-level begin-splicing highlighting

svn: r17581
2010-01-08 21:32:49 +00:00
Stevie Strickland
ab3dd78cb1 Removing scheme/load I used for editing this.
svn: r17580
2010-01-08 21:04:21 +00:00
Stevie Strickland
1c47ecc346 Just fixing the unit testcases so that they don't error.
svn: r17579
2010-01-08 21:03:17 +00:00
Matthew Flatt
4fedeeaf7a add module->compiled-module-expression, which is used in Scribble's traversal of module paths to find documented bindings
svn: r17576
2010-01-08 19:53:04 +00:00
Sam Tobin-Hochstadt
f13453e889 `andmap' now works as a predicate in Typed Scheme
svn: r17575
2010-01-08 19:05:58 +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
Matthias Felleisen
e0509fa28e placed deprecated message atop world.scrbl
svn: r17570
2010-01-08 17:15:46 +00:00
Sam Tobin-Hochstadt
05a0e722f9 use of member, memq, memv as predicates working properly
svn: r17568
2010-01-08 15:55:32 +00:00
Sam Tobin-Hochstadt
0d46fcb48a Create new `typed/test-engine' collection.
Remove dependence of `typed-scheme' on `test-engine'.

svn: r17567
2010-01-08 15:38:17 +00:00
Matthew Flatt
dff26c2e22 doc fixes (PRs 9971, 10168)
svn: r17566
2010-01-08 14:14:16 +00:00
Matthew Flatt
d1e979c4c5 check arguments of scheme/math functions (PR 10197)
svn: r17565
2010-01-08 13:50:21 +00:00
Matthew Flatt
1086cefc7a add empty to the list of things that are not structs for HtDP langs
svn: r17563
2010-01-08 13:38:48 +00:00
Eli Barzilay
01b42b6ba3 Welcome to a new PLT day.
svn: r17562
2010-01-08 08:50:42 +00:00
Robby Findler
179f3615e2 added fast path for image equality that covers the case where the images have the same structure (roughly)
svn: r17560
2010-01-08 02:25:11 +00:00
Jon Rafkind
db44bb9e7a add infinite-generator and make-repeated-sequence-generator
svn: r17559
2010-01-07 23:23:56 +00:00
Jon Rafkind
b497787b89 one more name change
svn: r17556
2010-01-07 22:31:29 +00:00
Jon Rafkind
f5ea84cbb4 add infinite-generator macro. change name infinite to make-repeat-generator
svn: r17555
2010-01-07 22:28:37 +00:00
Sam Tobin-Hochstadt
b7f9899439 `member' can now be used a predicate.
svn: r17554
2010-01-07 22:11:54 +00:00
Jon Rafkind
9fc7b4c445 add infinite generator test
svn: r17553
2010-01-07 21:54:07 +00:00
Jon Rafkind
db6a9de7ed add 'infinite' generator
svn: r17552
2010-01-07 21:53:37 +00:00
Sam Tobin-Hochstadt
eaad64d612 Better error message for functions that don't have the same arity as
the expected.
Add some tests for errors.

svn: r17551
2010-01-07 21:45:57 +00:00
Eli Barzilay
cf60eec875 forgot to comment this out
svn: r17550
2010-01-07 21:28:13 +00:00
Sam Tobin-Hochstadt
62653d3c41 Error on duplicate type annotations.
svn: r17549
2010-01-07 21:20:45 +00:00
Eli Barzilay
727d1542ba Create a tree from a subversion repository.
svn: r17548
2010-01-07 20:48:18 +00:00
Eli Barzilay
133f378991 Reorganize module and function names to reflect file tree work.
svn: r17547
2010-01-07 20:47:41 +00:00
Sam Tobin-Hochstadt
6199fc8867 Fix error messages on malformed All.
svn: r17546
2010-01-07 20:31:23 +00:00
Sam Tobin-Hochstadt
a40d5c5569 Improve error messages.
svn: r17545
2010-01-07 20:16:05 +00:00
Robby Findler
f9311ff9dc minor changes so that things run in drdr
svn: r17544
2010-01-07 20:10:59 +00:00
Robby Findler
0eb5178ca8 svn: r17543 2010-01-07 20:06:18 +00:00
Sam Tobin-Hochstadt
08457d35e3 Improve error messages in the simple case.
Change 'typecheck to Type Checker in error messages.

svn: r17542
2010-01-07 19:41:42 +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
Sam Tobin-Hochstadt
0044d86271 fix extend to handle negative lengths
svn: r17540
2010-01-07 19:10:43 +00:00
Sam Tobin-Hochstadt
7c9d1b47cf fix docs typo
svn: r17539
2010-01-07 19:10:27 +00:00
Robby Findler
52eee4547b fixed PR 10684 and fixed up some old, broken tests and fiddled with the test suite infrastructure
svn: r17536
2010-01-07 18:10:28 +00:00
Sam Tobin-Hochstadt
e9165339b8 add debugging macro to unstable
svn: r17534
2010-01-07 17:09:35 +00:00
Sam Tobin-Hochstadt
b71b196764 More type names
Fixes PR 10646 (as it evolved)

svn: r17533
2010-01-07 16:48:05 +00:00
Matthew Flatt
f7f6b972fd fix problem with flmin/flmax and cgc
svn: r17532
2010-01-07 16:33:26 +00:00
Sam Tobin-Hochstadt
bcee60dfd8 fix typo
svn: r17530
2010-01-07 15:14:33 +00:00
Eli Barzilay
daa1c0b338 Moved FS code into plt-tree.ss
svn: r17529
2010-01-07 10:28:11 +00:00
Eli Barzilay
ecb1f6525d Welcome to a new PLT day.
svn: r17528
2010-01-07 08:50:36 +00:00
Eli Barzilay
5fe14f70b6 * Including full path for each node in the tree -- this means that any
subtree is complete with no need to rehack its root.  Simplifies a
  bunch of code, and makes some utilities redundant.
* Using a single struct for all nodes, with subs=#f to mark files
* Names of struct is generic, no relation to actual files and dirs
* Added more tests

svn: r17527
2010-01-07 04:05:21 +00:00
Eli Barzilay
220801c80c typo in error message
svn: r17526
2010-01-07 03:39:33 +00:00
Eli Barzilay
39595d2d05 faster version of the code
svn: r17525
2010-01-07 03:38:23 +00:00
Matthew Flatt
41261c6047 fill out fl and fx operations; repair fixnum-overflow bug in quotient
svn: r17524
2010-01-07 03:30:33 +00:00
Robby Findler
911123bf94 added add-curve
svn: r17523
2010-01-07 01:56:46 +00:00
Sam Tobin-Hochstadt
a8e1c829c2 Fix `type-apply'
Fix duplicate filters

svn: r17522
2010-01-07 00:55:51 +00:00
Sam Tobin-Hochstadt
8b7fb01692 fix lots of numeric types
svn: r17520
2010-01-06 23:21:31 +00:00
Sam Tobin-Hochstadt
c7cb124c95 Put dynamic behavior of `check-expect' into functions.
Give those functions types.

svn: r17519
2010-01-06 23:03:08 +00:00
Ryan Culpepper
7b866a7cf3 syntax/parse: fixed error message (PR 10683)
svn: r17517
2010-01-06 22:20:25 +00:00
Sam Tobin-Hochstadt
582ca03d18 Use syntax-parse and syntax-classes for type annotation macros.
Add `let-values:' and `let*-values:', fixes PR 9793

svn: r17516
2010-01-06 22:15:18 +00:00
Robby Findler
b5e54fe2eb applied Ian's patch to the bitmap rotation code
svn: r17513
2010-01-06 21:43:34 +00:00
Robby Findler
ccacf5a651 svn: r17509 2010-01-06 21:25:00 +00:00
Robby Findler
d014e0d0d8 improved along the lines of Eli's suggestions
svn: r17507
2010-01-06 21:22:29 +00:00
Robby Findler
c8410ef36d svn: r17506 2010-01-06 21:16:49 +00:00
Robby Findler
cabdfc25f2 render-o fixup for htdp/image
svn: r17505
2010-01-06 20:43:37 +00:00
Robby Findler
68efb4008a normalized the results of procedure-arity
svn: r17504
2010-01-06 19:34:29 +00:00
Robby Findler
07fcfd8eee fixed the bug uncovered by the test in the previous commit (to 2htdp/tests/test-image.ss)
svn: r17499
2010-01-06 18:43:51 +00:00
Robby Findler
01c507c1ff added a test
svn: r17498
2010-01-06 18:42:52 +00:00
Sam Tobin-Hochstadt
a45c788749 remove useless code
svn: r17496
2010-01-06 16:52:07 +00:00
Sam Tobin-Hochstadt
ac9d2d8d9e Support prefab struct literals in quasipatterns.
Fixes PR 10050.

svn: r17495
2010-01-06 16:41:17 +00:00
Robby Findler
b54876e91c moved #lang line to top of the file
svn: r17493
2010-01-06 16:27:11 +00:00
Eli Barzilay
7bf329fb43 Welcome to a new PLT day.
svn: r17492
2010-01-06 08:50:29 +00:00
Robby Findler
0b3c30f18e added place-image and fixed a bunch of bugs related to equality, rotating and other things
svn: r17491
2010-01-06 05:12:48 +00:00
Matthew Flatt
6151119d5e JIT tweak for flonum comparisons; better bytecode-compiler transformations for expressions used as branch tests
svn: r17486
2010-01-05 20:24:59 +00:00
Matthew Flatt
3902824d88 adjust inlining algorithm again; better JIT compilation of nested branches; better JIT handling of literal floating-point numbers
svn: r17484
2010-01-05 15:13:03 +00:00
Sam Tobin-Hochstadt
1cca4008f7 update match grammar
svn: r17482
2010-01-05 14:48:30 +00:00
Eli Barzilay
214f85ca03 don't use for/list in tree-for-each
svn: r17481
2010-01-05 12:16:02 +00:00
Eli Barzilay
01858d2989 remove old commented code, minor tweak
svn: r17480
2010-01-05 11:59:27 +00:00
Eli Barzilay
acb214f2a2 provide structs, comment headers
svn: r17479
2010-01-05 09:24:47 +00:00
Eli Barzilay
078208b9b7 Welcome to a new PLT day.
svn: r17478
2010-01-05 08:50:45 +00:00
Robby Findler
63c917fd8f made the image sizing functions always return exact, positive integers
svn: r17476
2010-01-04 12:36:04 +00:00
Eli Barzilay
5b17c403d4 Welcome to a new PLT day.
svn: r17475
2010-01-04 08:50:26 +00:00
Robby Findler
f5bb840950 added cropping to 2htdp/image
svn: r17474
2010-01-04 01:39:09 +00:00
Sam Tobin-Hochstadt
b802c7dfd0 Fix PR 10140
svn: r17473
2010-01-04 01:12:58 +00:00
Eli Barzilay
b50ae83a27 switch from scheme to scheme/base
svn: r17472
2010-01-03 21:24:39 +00:00
Matthew Flatt
1dec25d99d remove stx-cert transparency on scheme/base lambda expansion
svn: r17471
2010-01-03 18:06:52 +00:00
Matthew Flatt
1e2cb09f39 fix HtDP advanced docs for random
svn: r17470
2010-01-03 18:04:44 +00:00
Robby Findler
9d7607c229 removed image equality discussion from docs (as it is no longer relevant)
svn: r17469
2010-01-03 16:23:30 +00:00
Eli Barzilay
958710559b Welcome to a new PLT day.
svn: r17468
2010-01-03 08:50:36 +00:00
Robby Findler
ca96ddd889 switched to a bitmap-based image comparison
svn: r17466
2010-01-02 22:32:44 +00:00
Matthias Felleisen
9a11ad1d67 svn: r17465 2010-01-02 22:04:26 +00:00
Matthias Felleisen
7df292b701 fixed typos
svn: r17464
2010-01-02 21:57:52 +00:00
Matthias Felleisen
261aa3937a performance bug, more fixes
svn: r17463
2010-01-02 21:47:08 +00:00
Robby Findler
719b72ca7e added missing require
svn: r17462
2010-01-02 20:42:46 +00:00
Matthew Flatt
38d7e8fea2 built-in fixnum ops; bug fix related to misuse of flonum ops; questionable attempt to improve inlining algorithm
svn: r17461
2010-01-02 16:33:28 +00:00
Eli Barzilay
69cc17370a Welcome to a new PLT day.
svn: r17460
2010-01-02 08:50:36 +00:00
Eli Barzilay
3727ec4f9a better text
svn: r17459
2010-01-01 20:59:04 +00:00
Robby Findler
17937627e1 clarified the message docs
svn: r17458
2010-01-01 20:35:30 +00:00
Eli Barzilay
9dc3ae4493 Welcome to a new PLT day.
svn: r17457
2010-01-01 08:50:37 +00:00
Eli Barzilay
8cdb172e7f Made `not:' produce predicates tagged as negated -- and for these, an
empty directory is *not* dropped.  This finally makes the results more
intuitive, and can now also express queries like only directories,
without their content.  (See comments and new tests.)

svn: r17456
2010-01-01 05:54:47 +00:00
Matthias Felleisen
560234138c error docs fixed
svn: r17455
2009-12-31 19:08:19 +00:00
Robby Findler
ddf8a2e264 fixed a bug in my last commit that made the define popup show up in vertical toolbar mode
svn: r17454
2009-12-31 17:18:19 +00:00
Matthias Felleisen
7f2bce0130 added with-in/out from/to string for Bloch
svn: r17453
2009-12-31 14:50:47 +00:00
Robby Findler
0d16beda3c made the define popup and the file popup appear when the toolbar is on the left/right
svn: r17452
2009-12-31 13:27:49 +00:00
Eli Barzilay
8bf1c46483 Welcome to a new PLT day.
svn: r17451
2009-12-31 08:50:24 +00:00
Eli Barzilay
d5f1f59d77 The `https-port-number' configuration is meaningless, removed and
replaced with `use-https' which defaults to #t.  If the web server is
disabled, run a tiny "server" that spits out a message -- to avoid
students complaining that something is broken.

Configuration files with `https-port-number' will throw an error, and
should be upgraded.

svn: r17450
2009-12-31 07:43:23 +00:00
Eli Barzilay
e423ae7e71 adjust to the protocol change: send "handin\n" first
svn: r17449
2009-12-31 07:18:11 +00:00
Eli Barzilay
237682244c The embedded web server works now on the same port as the handin server.
Small change to protocol: the client should send "handin" first

svn: r17448
2009-12-31 07:17:18 +00:00
Eli Barzilay
a0ff244a81 allow the extra argument in ssl-addresses
svn: r17447
2009-12-31 02:59:04 +00:00
Matthias Felleisen
7025f6dad4 prelim fix for performance bug #10613
svn: r17446
2009-12-31 01:21:16 +00:00
Matthias Felleisen
97b41d5985 fix for 10667
svn: r17445
2009-12-30 23:42:59 +00:00
Matthias Felleisen
5296a0a877 added gensym, current-millisecond, sleep, assoc, with-i/o-from-to
svn: r17444
2009-12-30 22:45:12 +00:00
Matthew Flatt
e68aabd67a change expand and local-expand to lift certificates
svn: r17439
2009-12-30 17:27:38 +00:00
Matthias Felleisen
e9be5c92fe added (random) to ASL
svn: r17438
2009-12-30 15:26:28 +00:00
Matthew Flatt
2200ef17f5 fix problem with expansion to lambda in class form; better certficate transparency in splicing-let forms
svn: r17436
2009-12-30 12:35:21 +00:00
Eli Barzilay
c7653ad43b still, should return the web server controller function
svn: r17435
2009-12-30 11:24:09 +00:00
Eli Barzilay
de80d826df report after the web server started
svn: r17434
2009-12-30 11:20:05 +00:00
Eli Barzilay
66aa708427 use log-line for connection errors, announce shutting down and kill web-server when it happens
svn: r17433
2009-12-30 11:01:36 +00:00
Eli Barzilay
1f4184206a Welcome to a new PLT day.
svn: r17432
2009-12-30 08:50:28 +00:00
Eli Barzilay
1d7f3ff2f4 better messages, clarify comment
svn: r17431
2009-12-30 04:16:32 +00:00
Robby Findler
e821a0c461 separated 2htdp/universe from htdp/image, allowing either htdp/image or 2htdp/image to be used
svn: r17430
2009-12-29 23:59:39 +00:00
Eli Barzilay
2e4926ebb3 Remove code that serves static files, it's not doing anything anyway if
the servlet is used for all paths.

svn: r17429
2009-12-29 16:09:04 +00:00
Eli Barzilay
8aa62e22b2 * Move namespace specs back to main code, and pass them through a
`#:namespace' keyword
* More robust error handler -- use the url that initiated the
  interaction

svn: r17428
2009-12-29 16:02:59 +00:00
Eli Barzilay
9660490922 use tail recursion, not because of speed, but because breaking code would always have bad context dumps
svn: r17427
2009-12-29 15:56:05 +00:00
Mike Sperber
a00d93e4cc Synch German string constants with latest.
svn: r17426
2009-12-29 09:10:48 +00:00
Eli Barzilay
380e6fff0a Welcome to a new PLT day.
svn: r17425
2009-12-29 08:50:22 +00:00
Eli Barzilay
d4a3cb3a10 moved new code to a separate file
svn: r17424
2009-12-28 22:26:32 +00:00
Eli Barzilay
fa13292033 reorganize web-starting code, to make it possible to separate it
svn: r17423
2009-12-28 22:14:26 +00:00
Eli Barzilay
38a7fcceec no need for #:indices too
svn: r17422
2009-12-28 22:05:41 +00:00
Eli Barzilay
e813d1aa8b no need for the runtime path too
svn: r17421
2009-12-28 22:04:45 +00:00
Eli Barzilay
8d246defb5 Removed #:stateless?', #:stuffer', and mime stuff, since they were the
defaults.

svn: r17420
2009-12-28 22:02:24 +00:00
Eli Barzilay
e15f8b06f4 removed old version of the code
svn: r17419
2009-12-28 22:00:23 +00:00
Eli Barzilay
976e208d05 Implemented the functionality of `serve/servlet', to get a hold on the
`tcp@' argument

svn: r17418
2009-12-28 21:56:06 +00:00
Eli Barzilay
98c2e2d3a6 more minor stuff
svn: r17417
2009-12-28 19:23:33 +00:00
Robby Findler
0dbbb5d73d tried to give a hint when people get confused the way I just did
svn: r17416
2009-12-28 18:39:28 +00:00
Eli Barzilay
a297f940d4 improved error message
svn: r17415
2009-12-28 18:35:19 +00:00
Eli Barzilay
211530e9df minor
svn: r17414
2009-12-28 18:32:31 +00:00
Robby Findler
590cf99637 added the port number to the startup messsage (this helped me figure out hwat I'd done wrong, so I thouht it generally useful)
svn: r17413
2009-12-28 18:25:27 +00:00
Robby Findler
8d3eb3c9b9 svn: r17412 2009-12-28 16:47:24 +00:00
Robby Findler
19bcc4da54 suggested a regexp that allows hyphens in people's real names, and fixed a typo
svn: r17411
2009-12-28 16:41:58 +00:00
Eli Barzilay
a5c89f6e0f Welcome to a new PLT day.
svn: r17410
2009-12-28 08:50:27 +00:00
Robby Findler
7d79bbf10a added some debugging information and some recovery from an error (that, frustratingly, I can't seem to fix )
svn: r17409
2009-12-28 01:17:37 +00:00
Robby Findler
0093bd2f1c changed the module language one-line-summary
svn: r17408
2009-12-28 01:15:06 +00:00
Robby Findler
2ec790424b added section symbol
svn: r17407
2009-12-27 22:09:43 +00:00
Eli Barzilay
53c3f8239b Use "name/" for directories, which makes things a little saner and a
little faster.

svn: r17406
2009-12-27 15:44:14 +00:00
Eli Barzilay
e8b07f1cfc Welcome to a new PLT day.
svn: r17405
2009-12-27 08:50:24 +00:00
Eli Barzilay
6b33d9e429 Welcome to a new PLT day.
svn: r17404
2009-12-26 08:50:29 +00:00
Eli Barzilay
4ce6a630e8 Tree utilities, with fast filtering.
svn: r17403
2009-12-26 04:42:35 +00:00
Robby Findler
913dde245c added google-chrome
svn: r17402
2009-12-25 21:24:49 +00:00
Robby Findler
37613b0bde fixed use of random for 64 bit machines
svn: r17401
2009-12-25 20:03:32 +00:00
Matthew Flatt
a7d4b7467d fix dist-spec checker to export proprty utils
svn: r17398
2009-12-25 13:18:47 +00:00
Matthew Flatt
b18ba4a4e5 fix use of 'random' in fixnum test suite
svn: r17397
2009-12-25 13:14:57 +00:00
Eli Barzilay
c3de991a60 Welcome to a new PLT day.
svn: r17396
2009-12-25 08:50:52 +00:00
Robby Findler
6304641e70 PR 10674
svn: r17395
2009-12-24 23:51:19 +00:00
Robby Findler
fb6daf8c0c added caveat about slowness
svn: r17394
2009-12-24 18:37:02 +00:00
Matthew Flatt
3a127f04bd another repair for bundle script
svn: r17393
2009-12-24 14:38:41 +00:00
Matthias Felleisen
ed6e20220b svn: r17392 2009-12-24 01:47:26 +00:00
Robby Findler
195d608fe5 added scheme/fixnum
svn: r17391
2009-12-23 15:41:40 +00:00
Ryan Culpepper
7a32bda7c9 unstable: added consistent doc headers
svn: r17390
2009-12-23 05:07:59 +00:00
Matthew Flatt
2e5e66486d fix bin-files list for distibution specs
svn: r17389
2009-12-23 01:39:07 +00:00
Eli Barzilay
5681037aff Some improvements to `install-readline!', make it report what it did, and make
it add a comment before the new expression.

svn: r17387
2009-12-22 19:35:13 +00:00