Commit Graph

12130 Commits

Author SHA1 Message Date
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