Commit Graph

344 Commits

Author SHA1 Message Date
Stevie Strickland
5ca6b68617 slight rewording
svn: r11981
2008-10-08 16:58:58 +00:00
Stevie Strickland
77ef410ea8 Catching up
svn: r11980
2008-10-08 16:20:19 +00:00
Stevie Strickland
fb9c65e5ef Let's make this more structured so we can actually print this out nicely.
svn: r11979
2008-10-08 16:16:18 +00:00
Eli Barzilay
98975fc524 move the reader of make-module-evaluator inside the user context jail
svn: r11963
2008-10-07 14:20:18 +00:00
Eli Barzilay
bbceacae84 turn on read-accept-reader in the default-sandbox-reader
svn: r11962
2008-10-07 14:14:59 +00:00
Eli Barzilay
433819df52 Added a #:language argument to `make-module-evaluator' to enforce a
particular language module.

svn: r11954
2008-10-06 21:34:24 +00:00
Stevie Strickland
86bae10310 Get subversion running
merging in trunk today
looking for new features
and whatever comes my way

svn: r11951
2008-10-06 13:29:17 +00:00
Eli Barzilay
062152e711 fixed PR9806 and PR9807
svn: r11940
2008-10-05 04:42:48 +00:00
Matthew Flatt
086f3c3b44 fix int-def context binding problems, fix scheme/splicing, change rnrs/base-6 to use scheme/splicing
svn: r11917
2008-09-30 22:03:55 +00:00
Stevie Strickland
c9182a7ac2 Daily sync
svn: r11897
2008-09-28 22:45:31 +00:00
Eli Barzilay
d892cb243e * Move the help functionality into the search collection, so it is not
packaged with the mzscheme distribution
* Make scheme/help throw a helpful message if the file is missing

svn: r11896
2008-09-28 20:43:13 +00:00
Stevie Strickland
154f988722 More hot merging action
svn: r11891
2008-09-27 20:33:33 +00:00
Eli Barzilay
4efab4f12f removed some unnecessary old autoloading, reformat some stuff
svn: r11886
2008-09-27 02:12:02 +00:00
Eli Barzilay
59b1eea0bc fixed help with #:search, made most of the help-related overhead loaded when help is used
svn: r11885
2008-09-27 02:07:59 +00:00
Stevie Strickland
3b6d97e31d I'd merged in some slightly broken stuff, so let's merge again.
svn: r11879
2008-09-25 21:53:29 +00:00
Eli Barzilay
fa86e9ee9f minor formatting
svn: r11877
2008-09-25 20:07:07 +00:00
Stevie Strickland
e4ec7694a3 Just getting this done -- no humor today, sorry, Sam!
svn: r11833
2008-09-22 14:09:20 +00:00
Matthew Flatt
6f9b5ad586 correct error message for bad formal argument after keyword
svn: r11823
2008-09-20 11:24:53 +00:00
Stevie Strickland
41b85b19de On the plane I tried to avoid verifying the contracts when it's not needed.
svn: r11783
2008-09-17 02:52:31 +00:00
Stevie Strickland
61399c87d7 Trunkin', I'm a goin' home
Whoa whoa baby, back where I belong,
Back home, sit down and patch my bones
And get back trunkin' on

svn: r11768
2008-09-15 22:50:55 +00:00
Stevie Strickland
d424cc4ef2 This way we get rid of the phantom spaces in the fitting case.
svn: r11767
2008-09-15 22:10:17 +00:00
Robby Findler
d165c586af PR 9760
svn: r11766
2008-09-15 21:58:59 +00:00
Stevie Strickland
402deaafe5 Another error case.
svn: r11765
2008-09-15 21:52:02 +00:00
Stevie Strickland
32e0f2d318 One more slight change here.
svn: r11764
2008-09-15 21:49:13 +00:00
Stevie Strickland
e76da360e5 Rework this somewhat so you get appropriate error messages with or without
#:type.

svn: r11763
2008-09-15 21:47:24 +00:00
Stevie Strickland
deccda53ea Add duplicate checking to exports list.
svn: r11761
2008-09-15 19:53:41 +00:00
Stevie Strickland
e40c856660 Do head expansion, check to make sure exported identifiers were defined
inside the with-contract form.

svn: r11760
2008-09-15 19:41:54 +00:00
Matthew Flatt
186bf67630 msvs9-friendly patches; preliminary splicing let-syntax library; export and doc GC_resolve and GC_fixup_self
svn: r11758
2008-09-15 19:08:50 +00:00
Stevie Strickland
4ac235f534 Trunk merging, taking care to integrate Robby's changes appropriately. Only
change from what he did was that I added a name arg to the verify/contract
macro (he already has coerce-contract take a name appropriately, so this
was very simple, yay!).

svn: r11737
2008-09-13 23:17:58 +00:00
Robby Findler
fb17d339ef oops, committed too soon...
svn: r11731
2008-09-13 22:38:21 +00:00
Robby Findler
d69957455c a bunch more values are now converted into contracts automatically (added bytes)
svn: r11730
2008-09-13 22:37:16 +00:00
Robby Findler
85e489219c a bunch more values are now converted into contracts automatically
svn: r11729
2008-09-13 22:35:09 +00:00
Stevie Strickland
2d2b667bd8 Merging the changes from trunk into here. Adding back the changes that
allow for reporting the position of the contract that failed.

svn: r11728
2008-09-13 17:05:00 +00:00
Robby Findler
06a4d0df4a got rid of define-struct/prop since scheme/base has a define-struct that does all that (and more) now
svn: r11727
2008-09-13 16:29:01 +00:00
Stevie Strickland
e5539b1766 Trunk merging, check it and see
svn: r11726
2008-09-13 16:06:35 +00:00
Stevie Strickland
1d9721a406 Oh, yeah, I'm digging me that merge tracking. Trunkward, ho!
svn: r11717
2008-09-13 03:20:43 +00:00
Stevie Strickland
0870c7ae1d Actually, move the old-style define/contract to its own file in mzlib,
and change around mzlib/contract.ss appropriately.

svn: r11715
2008-09-13 02:51:09 +00:00
Stevie Strickland
16bce22386 Slight change just because we're now printing what kind of thing triggered
the broken contract.

svn: r11714
2008-09-13 02:11:05 +00:00
Stevie Strickland
ed067cb351 Be specific in what we're iterating over.
svn: r11711
2008-09-13 01:37:43 +00:00
Stevie Strickland
c484131597 Okay, here's the old stuff put back, will fix up the unit tests when I get
home.

svn: r11709
2008-09-12 23:51:51 +00:00
Stevie Strickland
41ee6c8ac7 Hello, McFly, hello?!
I can't believe there wasn't already a test in there that checked this kind
of thing.  Wait, of course there couldn't have been, because it was specific
to define/contract and with-contract, and _I'm_ writing those tests.  Ah,
well, fixed! :p

svn: r11707
2008-09-12 23:25:58 +00:00
Stevie Strickland
a343268083 Just to make sure the srcloc info is correct.
svn: r11706
2008-09-12 22:59:51 +00:00
Matthew Flatt
72055191b4 add printable<%>
svn: r11705
2008-09-12 22:50:09 +00:00
Stevie Strickland
2e22b77278 Add which argument or result caused the contract error for -> contracts
(i.e. also ->*, but not ->d or case->).

svn: r11701
2008-09-12 21:45:13 +00:00
Stevie Strickland
e83a72d6ae * Fix converting modules whose source is (list 'quote 'name) to "module 'name"
in contract messages
 * Differentiate between define/contract functions and normal definitions
 * Fix up contract tests

svn: r11700
2008-09-12 20:46:41 +00:00
Stevie Strickland
068bbd7600 Fix typo.
svn: r11699
2008-09-12 19:40:58 +00:00
Stevie Strickland
4e8064e8a5 Change it so that it uses strings instead of symbols here.
svn: r11697
2008-09-12 19:01:13 +00:00
Stevie Strickland
19cfe4e49e I hate this kind of error checking.
svn: r11696
2008-09-12 18:55:11 +00:00
Stevie Strickland
019c2c8c34 Handle strings as blame, now add a description of the type of contract
boundary that triggered the contract error.

svn: r11695
2008-09-12 18:49:08 +00:00
Stevie Strickland
b309ced851 Appropriately check the context.
svn: r11693
2008-09-12 18:17:40 +00:00