Commit Graph

12996 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
08e10674ea new TS guide
svn: r18309
2010-02-23 22:09:40 +00:00
Stevie Strickland
f60645da2c ARGHGHGHGHGHGHGHGGHGH
svn: r18308
2010-02-23 21:43:08 +00:00
Sam Tobin-Hochstadt
1616e27b4b fix comment, add test
svn: r18307
2010-02-23 21:36:53 +00:00
Stevie Strickland
e1cd160a40 Now that the C code is back at a compile-ready point, I'll check in.
svn: r18306
2010-02-23 20:57:22 +00:00
Jay McCarthy
a4dfbfb1d6 Fixing mutator-cond
svn: r18305
2010-02-23 19:43:36 +00:00
Stevie Strickland
472ef1e873 Other cleanups.
svn: r18303
2010-02-23 15:59:22 +00:00
Stevie Strickland
1eeb27fc30 Small fixes in make-wrapper-class/object.
svn: r18302
2010-02-23 15:58:00 +00:00
Stevie Strickland
aa7062a35e Fix up kernel.ss to include unwrapper, also fix arity check now that it takes
one more.

svn: r18300
2010-02-23 15:01:04 +00:00
Stevie Strickland
6583b0b77c My first foray into the C side of things.
svn: r18299
2010-02-23 14:55:24 +00:00
Stevie Strickland
88a6038705 Grab Matthew's addition of objscheme_unwrap so I can see about making
object contracts work even for primitive things.

svn: r18298
2010-02-23 14:10:34 +00:00
Stevie Strickland
09425bc801 Keep the original class in the supers list. Also, copy over the no-super-init?
flag.

svn: r18296
2010-02-23 12:51:27 +00:00
Robby Findler
05efd5be38 brought back the diamond prefix on the tabs for when files arent saved; changed the default choince to star for linux
svn: r18295
2010-02-23 12:36:55 +00:00
Stevie Strickland
ff065ca1d8 Grab the fix for get-tab-count.
svn: r18294
2010-02-23 10:30:29 +00:00
Stevie Strickland
1c31d939d4 There's no check that frame isn't #f here, and this seems to be the root of
the failure I was noticing whenever popup windows were triggered (e.g., hitting
the backtrace button or trying to submit a bug report).

svn: r18293
2010-02-23 10:24:09 +00:00
Eli Barzilay
2406ac6011 Welcome to a new PLT day.
svn: r18292
2010-02-23 08:50:34 +00:00
Stevie Strickland
8cc22294ff Sync up to trunk.
svn: r18291
2010-02-23 07:25:24 +00:00
Stevie Strickland
6326731a15 Fix the tests that break due to semantic changes in object-contract.
svn: r18290
2010-02-23 04:34:05 +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
e4f7f0032e Get rid of the loop that's no longer a loop, and also add in the necessary
object unwrapping.

svn: r18288
2010-02-23 04:13:09 +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
Stevie Strickland
978a9586f5 We no longer need the #:error thing here, because we've fixed object-contract
for real now.

svn: r18286
2010-02-23 04:02:03 +00:00
Stevie Strickland
14ab0175c3 Okay, expanding field accesses and mutations to basically inline the
unwrapping operation helps a bit, especially with inherited fields.
Unfortunately, as one might expect, TANSTAAFL applies here.  In order
to make sure that we keep the contracted objects around as much as
possible to make sure there are no holes, we end up making local and
inherited field access codes 2-3x more than they did before.  However,
this is still something on the order of 5x faster than external
access.  But blah.

CONTRACTS ARE NOT FREE.  Just ask your local lawyer.

svn: r18285
2010-02-23 03:15:43 +00:00
Sam Tobin-Hochstadt
f2ee3aa7b6 Fix bad hashtable type inference.
svn: r18284
2010-02-23 02:05:40 +00:00
Matthias Felleisen
2e791579ad fixed small typo in on-tick for universe
svn: r18283
2010-02-23 02:01:18 +00:00
Stevie Strickland
53381bbf03 Remove unwrapping in find-method/who until I figure out what I actually need
to do.

Also fix up is-a? and subclass? so that they should work the same when
contracts are removed from a program.

svn: r18282
2010-02-23 01:15:11 +00:00
Stevie Strickland
f1b0bfdd79 Yeah, accessors need arguments.
svn: r18281
2010-02-23 00:46:47 +00:00
Stevie Strickland
cfdb9dd39b Time to unveil object/c.
svn: r18280
2010-02-23 00:43:25 +00:00
Stevie Strickland
ab2561e08a Now we don't need to recur down to unwrap something, but if we get a wrapped
primitive object in a method send, we need to unwrap all objects for its
method.

svn: r18279
2010-02-23 00:40:59 +00:00
Sam Tobin-Hochstadt
88817e6bd3 fix obvious bogosity
svn: r18278
2010-02-23 00:01:47 +00:00
Stevie Strickland
2af44afb17 Now I see -- I was handling local fields in an incorrect manner. We don't
want later projections to affect local accesses or mutations -- so we just
have to add the unwrap check in case it's a wrapped object.

svn: r18277
2010-02-22 22:43:47 +00:00
Stevie Strickland
0e3af71176 So now object-contract works again, but we seem to have introduced a bug
in the class/c inherit-field form, so now time to fix that.

svn: r18276
2010-02-22 22:26:27 +00:00
Stevie Strickland
a3a1d0d9c7 Fix shadowing in make-wrapper-class. Now delay lookup for
accessors/mutators used for internal field access.  This fixes public
fields, but not private fields.  Next should fix that up.

Will definitely need to benchmark all this delay though.

svn: r18275
2010-02-22 22:10:30 +00:00
Stevie Strickland
d820493feb First cut of converting object-contract to share a common base that
object/c will also use.

svn: r18274
2010-02-22 21:55:32 +00:00
Eli Barzilay
275de1b3f4 typo (PR10671)
svn: r18273
2010-02-22 21:27:20 +00:00
Eli Barzilay
177f572cda Russian and Ukranian translation files from Sergey Semerikov
svn: r18272
2010-02-22 21:27:17 +00:00
Ryan Culpepper
d4b0f917df rewrote schemeunit test
svn: r18271
2010-02-22 21:12:11 +00:00
Stevie Strickland
815dd80923 Sync up to catch my fix.
svn: r18270
2010-02-22 20:58:53 +00:00
Stevie Strickland
11b8fd4204 Fix vector creation for internal field access.
svn: r18269
2010-02-22 20:57:36 +00:00
Ryan Culpepper
d4eee108f4 schemeunit:
added ryanc to plt:responsible
  test-suite list trampoline, make-test-suite

svn: r18268
2010-02-22 20:48:31 +00:00
Sam Tobin-Hochstadt
8a11336b51 revert this change, since it breaks insert large letters
svn: r18267
2010-02-22 20:06:34 +00:00
Robby Findler
18e8f00572 added a preference to remember the log viewer's setting
svn: r18266
2010-02-22 19:45:17 +00:00
Stevie Strickland
c2fcdbba65 Class Contracts Phase 2: Object/c Boogaloo
This isn't just a copy of trunk r18264 -- it has a slight difference in how
local field accessors and mutators are handled that will eventually play a
larger role.

svn: r18265
2010-02-22 19:09:42 +00:00
Robby Findler
f1e7c7e4b0 Probably fix for PR 10773
svn: r18264
2010-02-22 18:04:04 +00:00
Sam Tobin-Hochstadt
e417da3598 Switch to the current version of schemeunit.
svn: r18263
2010-02-22 17:58:18 +00:00
Jay McCarthy
1eea5163cc Supporting byte-regexps and boxes in tester. Improving speed/allocation of parser and noting places where we could do better. Updating struct contracts in code and docs.
svn: r18262
2010-02-22 15:47:57 +00:00
Mike Sperber
21ca9596b5 Synch German string constants with latest.
svn: r18261
2010-02-22 10:20:30 +00:00
Eli Barzilay
e946fffe90 Welcome to a new PLT day.
svn: r18260
2010-02-22 08:50:35 +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
Matthew Flatt
ed2010bd70 fix text renderer
svn: r18255
2010-02-21 13:04:06 +00:00
Robby Findler
1d378bc6d7 fixed a broken reference
svn: r18254
2010-02-21 12:37:06 +00:00
Eli Barzilay
cbb86e58c2 Welcome to a new PLT day.
svn: r18253
2010-02-21 08:50:54 +00:00
Ryan Culpepper
48ea3224f8 schemeunit: fixed some properties and dangling requires
svn: r18252
2010-02-21 04:49:09 +00:00
Stevie Strickland
6f3b676fa5 Syncing up.
svn: r18249
2010-02-21 03:37:21 +00:00
Stevie Strickland
a0769da5ea Add the contract shorthands for -> and ->* to use for methods where we don't
care about properties of this.

svn: r18248
2010-02-21 02:54:06 +00:00
Robby Findler
71b4df4a29 removed some more one-of/c's in favor of or/c
svn: r18247
2010-02-21 02:29:12 +00:00
Robby Findler
ad352387c9 added string constants for the menus added in the previous commit
svn: r18246
2010-02-21 02:09:25 +00:00
Robby Findler
95debe6353 added keyboard shortcuts for the first 9 tabs to the windows menu (on the mac)
svn: r18245
2010-02-21 02:06:57 +00:00
Robby Findler
5ad04e3b2c changed some defconstructor/make's into defconstructor's
svn: r18244
2010-02-21 02:06:28 +00:00
Ryan Culpepper
3b630af6f9 schemeunit:
moved internal modules to schemeunit/private
  moved tests to tests/schemeunig
  added schemeunit/gui

drscheme:
  fixed bug in show-backtrace-window

svn: r18243
2010-02-21 01:03:42 +00:00
Stevie Strickland
e72928d444 Yeah, I should add augride here.
svn: r18242
2010-02-21 00:26:58 +00:00
Stevie Strickland
c6e671581f Want to call this something more generic, as method contracts have specific
restrictions, but contracts on fields do not.

svn: r18241
2010-02-21 00:22:37 +00:00
Stevie Strickland
ffa34e1f7d Add augride, which is like augment but enables the contract writer to give
subclasses an idea of whether a method can be augmented (augment) or whether
a method augmentation can be overridden (augride).

svn: r18240
2010-02-21 00:17:42 +00:00
Stevie Strickland
5df617e4d4 Forgot to add this to the literals list.
svn: r18239
2010-02-20 23:45:55 +00:00
Stevie Strickland
d67058c1ac Document inherit.
svn: r18238
2010-02-20 22:58:21 +00:00
Stevie Strickland
f72ca7bb1b Now inherit works (and tests!)
svn: r18237
2010-02-20 22:54:11 +00:00
Stevie Strickland
370792b881 Refactoring done, and I think that's actually cleaned up things a bit. Now
to handle inherit.

svn: r18236
2010-02-20 22:44:53 +00:00
Stevie Strickland
b589c3c230 More preparation to move all the int-method/dynamic-proj expansion into
class/c-proj instead of compose-class.

svn: r18235
2010-02-20 22:00:45 +00:00
Stevie Strickland
66ce493ede Adding original class field (we'll see what this is for in a sec.)
svn: r18234
2010-02-20 21:48:00 +00:00
Stevie Strickland
a0fdeff509 First order checks.
svn: r18233
2010-02-20 21:34:57 +00:00
Stevie Strickland
a4d6252d16 Start inherit contracts (which are useful for mixins). Tests, plus parsing.
svn: r18232
2010-02-20 21:28:20 +00:00
Stevie Strickland
6ae1a713df One more small edit.
svn: r18231
2010-02-20 21:06:59 +00:00
Stevie Strickland
50482d7016 Small fixes, go back to the original section title.
svn: r18230
2010-02-20 21:06:22 +00:00
Stevie Strickland
7e5e4a50fa Check in an initial cut of class/c documentation.
svn: r18229
2010-02-20 20:32:17 +00:00
Stevie Strickland
a169105ed0 Sync up to trunk, because keeping up to date is the right thing to do (and
hopefully it'll get rid of the issues in tests/future/future.ss).

svn: r18228
2010-02-20 19:36:15 +00:00
Robby Findler
92717e0f0b used stderr when tests fail
svn: r18226
2010-02-20 17:16:54 +00:00
Robby Findler
ac2c537b8f clarified bitwise-bit-field and bitwise-bit-set?
svn: r18225
2010-02-20 15:20:27 +00:00
Matthew Flatt
eb46f95246 doc corrections
svn: r18224
2010-02-20 14:58:10 +00:00
Matthew Flatt
457a2da675 try again to fix tests
svn: r18223
2010-02-20 13:39:51 +00:00
Matthew Flatt
e38e8d88e0 basic set library
svn: r18222
2010-02-20 13:00:48 +00:00
Matthew Flatt
d2bdc2eca8 fix test problems
svn: r18221
2010-02-20 12:23:01 +00:00
Stevie Strickland
c59805ab9e Syncing up to trunk before I go to bed, so setup-plt can run while I
sleep.

svn: r18220
2010-02-20 10:59:49 +00:00
Stevie Strickland
c5c22e117c Tests to make sure the first-order parts of method contracts are attributed
to the correct source upon failure.

svn: r18219
2010-02-20 10:46:54 +00:00
Stevie Strickland
cd4aa4c6f6 Forgot about the no-contract forms, so needed to add tests for those, also.
svn: r18218
2010-02-20 10:40:50 +00:00
Stevie Strickland
7830d55b42 Okay, that does it for augment, which means I'm done with coding. Now just
documentation and benchmarking, then this can go on trunk.

svn: r18217
2010-02-20 10:09:37 +00:00
Stevie Strickland
37e1cd2e2c A few more tests to make sure we have everything right for augment once
implemented.

svn: r18216
2010-02-20 09:48:38 +00:00
Stevie Strickland
67d47e0a1d Fixes in override ctcs and test suite. I thought I ran it, so I find it
weird that I found these on a subsequent run when adding some quick augment
tests to start the next batch.  (Oh, those are included also.)

svn: r18215
2010-02-20 09:40:41 +00:00
Stevie Strickland
b5e2d5f93e Okay, now override contracts are done, so only augments remain.
svn: r18214
2010-02-20 09:30:40 +00:00
Stevie Strickland
3c1004fd05 Okay, we should be fixed up in compose-class, now we just need to start
handling the projections in class/c-proj.

svn: r18213
2010-02-20 09:14:14 +00:00
Eli Barzilay
190af1efe9 Welcome to a new PLT day.
svn: r18212
2010-02-20 08:50:36 +00:00
Stevie Strickland
28046b832b Another step towards it -- here we're extending the int-methods vector
appropriately on subclassing after a contract boundary.  Next is adding
in the projections.

svn: r18211
2010-02-20 08:43:54 +00:00
Stevie Strickland
a7017afe5a Step 1: Cut a ...
Wait, no.  Here we add the dynamic idxs, which will get incremented whenever
we pass through a contract boundary with an override (or later, augment)
contract.

svn: r18210
2010-02-20 08:21:09 +00:00
Stevie Strickland
3b125d58fc Tests for internal dynamic dispatch (Java-only)
svn: r18209
2010-02-20 08:08:17 +00:00
Stevie Strickland
90d8d3763a Forgot to put this here.
svn: r18208
2010-02-20 06:36:28 +00:00
Stevie Strickland
ead01c9232 There's an app... err, function for that.
svn: r18207
2010-02-20 05:32:13 +00:00
Stevie Strickland
98e3695a20 Also change some old code to use vector-copy! as appropriate.
svn: r18206
2010-02-20 05:25:36 +00:00
Stevie Strickland
7b7d70a993 I should just use vector-copy! where applicable.
svn: r18205
2010-02-20 05:20:15 +00:00
Stevie Strickland
aaf9a5aeac Apply the inherit-field projections appropriately.
svn: r18204
2010-02-20 04:18:49 +00:00
Stevie Strickland
fcee6788d7 Parsing and first order checks for internal field access contracts.
svn: r18203
2010-02-20 04:02:59 +00:00
Stevie Strickland
d87794a8d2 External field contracts FTW!
svn: r18202
2010-02-20 03:52:47 +00:00
Stevie Strickland
1688a6c3f7 Change how fields are accessed in prep for contract wrapping.
svn: r18201
2010-02-20 01:35:46 +00:00
Stevie Strickland
30864fc1d0 I dunno why, but this reads much better to me.
svn: r18200
2010-02-20 00:08:49 +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
Sam Tobin-Hochstadt
33c18b3985 providing static struct information to untyped code works
svn: r18198
2010-02-19 23:27:06 +00:00
Sam Tobin-Hochstadt
d9fabc314b add map/values from carl, and `debug' prints exceptions
svn: r18197
2010-02-19 23:25:14 +00:00
Robby Findler
f7447ee6ae added alt-1 thru alt-9 as keyboard shortcuts to switch between tabs
svn: r18196
2010-02-19 23:15:29 +00:00
Stevie Strickland
de859a8879 Fix up Sam's use of make-provide/contract-transformer after Robby's change
to it for bug 10645.

svn: r18195
2010-02-19 21:57:03 +00:00
Jay McCarthy
7d1a739df5 Adding comments and specs to parser.
Clarifying comments in marshaller. Supporting small numbers, small symbols, small marshalleds, small (proper) lists, small svectors, all-from-module long form

Improving inequality detector in tester: regexps and uninterned symbols

Correcting doc contract

svn: r18194
2010-02-19 19:47:15 +00:00
Robby Findler
7aa6ea4c76 PR 10645
svn: r18193
2010-02-19 19:43:14 +00:00
James Swaine
9170687148 moved futures random tests into /collects/tests/future
svn: r18192
2010-02-19 19:26:55 +00:00
James Swaine
cb12a81daf added test notes to futures test suite
svn: r18191
2010-02-19 19:21:03 +00:00
James Swaine
a7332c09a2 moved futures tests to collects/tests/future directory
svn: r18190
2010-02-19 19:17:59 +00:00
Stevie Strickland
e9264b1fac Syncing up before class.
svn merge ^/trunk

svn: r18188
2010-02-19 16:43:03 +00:00
Robby Findler
47b5892c92 probable fix to problems with this file (make sure find-relative-path's first argument is a directory)
svn: r18187
2010-02-19 15:29:54 +00:00
Robby Findler
94880b4733 changed some one-of/c's to or/c's
svn: r18185
2010-02-19 15:03:12 +00:00
Eli Barzilay
94666a89cd Welcome to a new PLT day.
svn: r18183
2010-02-19 08:50:39 +00:00
Ryan Culpepper
cb16dde709 macro-debugger: some work on syntax snips
svn: r18182
2010-02-19 05:45:54 +00:00
Stevie Strickland
6777fc31a3 Rewrite this a little to make it clear that we're now only checking the
super class's beta-methods vector to make sure this is even an overrideable
method.

svn: r18181
2010-02-19 04:59:05 +00:00
Stevie Strickland
55d39b0035 It was a good thing I decided to add some super/inner mixed examples here,
because it pointed out a bug in my implementation where we weren't getting
the right version of the super method (which gets the projection).

svn: r18180
2010-02-19 04:40:10 +00:00
Stevie Strickland
5cc68fdd0f In some ways, I'm still trying to decide exactly what some of these forms mean.
For example, if we're in the java part of a beta-java chain, can we still add
an inner contract?  If so, it should affect each java-style overriding method
until we reach the next beta-style augmenting method.

It can just be confusing, because one might thing that inner in a
contract => needs an augmenting method in the subclass, super => needs
an overriding method in the subclass.  The latter is true, since only
the next immediate method can reach the super class's implementation,
but inner jumps to the next augmenting method, so the former isn't
necessarily true.

svn: r18179
2010-02-19 04:27:44 +00:00
Matthias Felleisen
982820fba2 fixed double-def of empty-scene
svn: r18177
2010-02-19 01:06:11 +00:00
Stevie Strickland
b59955bc01 Ah, that'd be the issue. THE TESTS WERE WRONG. All's well, and I've even
added a couple more tests to make sure we apply the projections in the right
order.

svn: r18176
2010-02-19 00:34:27 +00:00
Stevie Strickland
7fe863e792 Inner tests! They almost all fail! BUT WE SHALL CHANGE THAT.
svn: r18175
2010-02-19 00:09:47 +00:00
Stevie Strickland
2b92ea9225 Start inner projections work. Next, test cases, then I'll fix the test
cases by implementing the rest.

svn: r18174
2010-02-18 23:54:56 +00:00
Stevie Strickland
da7473b867 TEST DRIVEN DEVELOPMENT.
svn: r18173
2010-02-18 23:35:58 +00:00
Stevie Strickland
6fcb61cc11 Add some test cases for super.
svn: r18172
2010-02-18 23:34:35 +00:00
Stevie Strickland
f8d5234148 Simplify the test case. Also, spam both my and Sam's inboxes.
svn: r18171
2010-02-18 23:24:15 +00:00
Stevie Strickland
38522f0dca A tricky case, this.
svn: r18170
2010-02-18 23:22:51 +00:00
Stevie Strickland
301ac0e5f3 The simplest of all the contract features to handle.
svn: r18169
2010-02-18 23:17:48 +00:00
Stevie Strickland
cc52bcd197 Start throwing in higher-order checks.
svn: r18168
2010-02-18 23:09:42 +00:00
Stevie Strickland
8d9eda1459 I think that finishes all the first order tests.
svn: r18167
2010-02-18 22:53:35 +00:00
Ryan Culpepper
b68494250f scheme/pretty: added quasisyntax reader macro
macro-debugger: added change layout menu items

svn: r18166
2010-02-18 22:53:11 +00:00
Stevie Strickland
b15dd9e689 You'll gasp, you'll cheer, you'll scream! MORE TESTS.
svn: r18165
2010-02-18 22:44:58 +00:00
Stevie Strickland
ce04db35a0 Rename tests to be more specific, start inner tests, fix introduced bug.
svn: r18164
2010-02-18 22:27:34 +00:00
Stevie Strickland
690b82da14 Check lots of crazy special cases for super contracts.
svn: r18163
2010-02-18 22:16:29 +00:00
Stevie Strickland
a7d8507e3c Actually, these have slightly different conditions. super contracts require
an overrideable method (augride is okay), whereas override contracts require
a method which has never been augmentable (i.e. no pubments or overments).

svn: r18162
2010-02-18 22:11:01 +00:00
Stevie Strickland
87c5e94fc3 Filter out overrideable checks for both super and override contracts, add
check against final methods (and change check for augmentable ones).

svn: r18161
2010-02-18 22:06:41 +00:00
Stevie Strickland
7abafad8b1 Tests of super contracts. Failing test here, because we're not checking for
non-final public methods when adding super (or later, override) contracts.
We should check for that in both cases, as the contract suggests that the
method in question is overrideable.

svn: r18160
2010-02-18 21:54:27 +00:00
Stevie Strickland
0971d37b70 Add first order checks for public fields and methods for both class/c
and object/c.

svn: r18159
2010-02-18 21:50:55 +00:00
Stevie Strickland
6e462ecb38 Forgot to quote the test expressions, which showed up once I added a
testcase for a blame error.

svn: r18158
2010-02-18 21:42:20 +00:00
Stevie Strickland
eeb2b52731 Start the MASSIVE TESTSUITE.
svn: r18157
2010-02-18 21:37:55 +00:00
Sam Tobin-Hochstadt
d9f24d94e7 disable contracts
svn: r18156
2010-02-18 21:25:06 +00:00
Jay McCarthy
fb73b168d1 Adding testing for zo parser/marshaller/decompiler
svn: r18155
2010-02-18 21:07:05 +00:00
Robby Findler
8424dea37b avoid doing mac os x-specific tests unless under mac os x
svn: r18154
2010-02-18 20:36:03 +00:00
Stevie Strickland
126c3958b2 Add in different method tables for super calls and internal dynamic dispatch.
Eventually the latter will become a table to vectors of methods instead, but
until I start handling override/augment contracts, we can use the simplified
version.

svn: r18153
2010-02-18 19:50:59 +00:00
Stevie Strickland
ebb065aca8 Before I start moving stuff over today...
svn merge ^/trunk

svn: r18152
2010-02-18 19:45:16 +00:00
Kevin Tew
202c056c53 tests file.ss use random port
svn: r18151
2010-02-18 18:54:53 +00:00
Jay McCarthy
25dbc6a418 Test cleanup
svn: r18150
2010-02-18 16:14:41 +00:00
Robby Findler
b51f3e0940 more debugging information printed
svn: r18148
2010-02-18 13:54:39 +00:00
Eli Barzilay
3ec0cb2731 Welcome to a new PLT day.
svn: r18146
2010-02-18 08:50:32 +00:00
Stevie Strickland
b18283b626 Keeping up with trunk.
svn merge ^/trunk

svn: r18145
2010-02-18 04:34:09 +00:00
Stevie Strickland
eea685c1cf I didn't fix object-contract from mzlib/contract, just from scheme/contract.
I don't plan on fixing the former at the moment, so I'll just add back these
two accessors so that it's happy.

svn: r18144
2010-02-18 04:22:45 +00:00
Stevie Strickland
43613389a7 Add class/c and object/c forms, including first-order checks and basic
projections that only perform first-order checks.  To add full projections,
also need to change the class struct.

svn: r18143
2010-02-18 04:02:12 +00:00
Robby Findler
2eab591c0f added schemeunit to the distribution
svn: r18142
2010-02-18 02:02:35 +00:00
Ryan Culpepper
f4321256a5 compiler/zo-parse: fixed to work on Mac/PPC
zo writer seems to always write integers in little-endian order

svn: r18141
2010-02-17 23:36:58 +00:00
Robby Findler
124dbe9b93 added empty-scene
svn: r18138
2010-02-17 23:21:57 +00:00
Robby Findler
a7dbbc2fa6 minor tweaks to the language dialog that were mentioned a while back, but that I only just got to
svn: r18137
2010-02-17 23:10:10 +00:00
Robby Findler
12dc4f3421 PR 10728
svn: r18136
2010-02-17 23:07:44 +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
Jay McCarthy
c2bfa60e31 Adding documentation for symbol-unreadable?
svn: r18133
2010-02-17 22:02:24 +00:00
Jay McCarthy
2ffa8cb34f Forgot to add a file
svn: r18131
2010-02-17 21:38:06 +00:00
Jay McCarthy
a8d00cc3b3 Added new primitive: symbol-unreadable?
Updated Scheme implementation of zo parsing and marshaling
- Separated the structs into a different file and added contracts
- Implemented stxobj marshalling
- Fixed many small bugs in parser and marshaller
- Added new structs for new parser cases

Done by Blake Johnson (BYU)
Committed by Jay

svn: r18130
2010-02-17 21:33:00 +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
Matthew Flatt
746b85fa6b fix cm problem related to new race-condition avoidance
svn: r18127
2010-02-17 21:10:05 +00:00
Robby Findler
5763cc0104 added some debugging printouts to try to find out how to make this work in drdr
svn: r18123
2010-02-17 20:38:07 +00:00
Stevie Strickland
fa5ed2c160 Fix object-contract's first-order property to do some reasonable first-order
checking, instead of always failing.

svn: r18121
2010-02-17 19:09:49 +00:00
Matthew Flatt
91d725fbb9 add optional initialization argument to make-hash (and variants)
svn: r18120
2010-02-17 17:44:29 +00:00
Jay McCarthy
0cab35fdcb Adding names to datatype generated contracts
svn: r18119
2010-02-17 16:24:01 +00:00
Jay McCarthy
c503baac47 Fixing inferred names by using stx-param to track original binding
svn: r18118
2010-02-17 16:10:37 +00:00
Jay McCarthy
9a468dd9d0 Fixing error message re Robby and rearranging tests a little
svn: r18117
2010-02-17 16:04:13 +00:00
Robby Findler
d2d84ae674 oops, missed one spot
svn: r18116
2010-02-17 16:00:13 +00:00
Jay McCarthy
a627c56fb5 Removing DrScheme tool and rearranging docs
svn: r18115
2010-02-17 15:53:11 +00:00
Robby Findler
445ec5c145 refactored the mutator test case generator to make testing more tractable and added some tests (and fixed a bug)
svn: r18113
2010-02-17 15:37:27 +00:00
Robby Findler
6565005468 checking this in to be able to show it to Jay
svn: r18111
2010-02-17 15:14:49 +00:00
Robby Findler
589377d885 moved (without using svn mv) random-mutator.ss into private/random-mutator.ss in order to set up better tests
svn: r18110
2010-02-17 14:28:10 +00:00
Eli Barzilay
526c76ddca Welcome to a new PLT day.
svn: r18108
2010-02-17 08:50:32 +00:00
Sam Tobin-Hochstadt
1039e68e03 New representation for free variables, now stored in struct.
Interning now merely used to create key, eq? not = for types.

svn: r18107
2010-02-17 00:09:38 +00:00
Sam Tobin-Hochstadt
0920b493c8 Improve some framework contracts, and provide scheme/base at phase 1 from typed/scheme.
svn: r18106
2010-02-17 00:02:44 +00:00
Jay McCarthy
136531d1e2 Fixing a stupid typo. I has a dumb.
svn: r18105
2010-02-16 23:04:48 +00:00
Jay McCarthy
50af456c38 Normalizing PLAI wrt tree
svn: r18104
2010-02-16 20:23:32 +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
Stevie Strickland
35afebaea3 Change object-contract to use find-method/who (already exported for Typed
Scheme) to look for the appropriate method to wrap, which makes Robby's
object-contracts appropriately translucent during contract wrapping.

svn: r18102
2010-02-16 19:58:07 +00:00
Jay McCarthy
520b4feedc Adding PLAI software to the core
svn: r18101
2010-02-16 18:56:44 +00:00
Matthew Flatt
6f0d6b28de some mz and ffi changes from the mr2 branch
svn: r18099
2010-02-16 17:55:28 +00:00
Eli Barzilay
da6b25befa Welcome to a new PLT day.
svn: r18096
2010-02-16 08:50:31 +00:00
Mike Sperber
d64254f49f DMdA Contract bug fix: In yet another place, make sure that the
enforcer calls `contract-violation' in tail position.

svn: r18095
2010-02-16 07:51:02 +00:00
Mike Sperber
30e8c7d039 Zap obsolete comment.
svn: r18094
2010-02-16 07:39:22 +00:00
Carl Eastlund
52f2ec2e30 Corrected types of hash-update and hash-update!
svn: r18093
2010-02-16 00:55:03 +00:00
Carl Eastlund
08b53c715d Added types for full exception hierarchy.
svn: r18092
2010-02-15 23:22:40 +00:00
Robby Findler
b73613460b added a test that saves and reopens a file in the teaching languages
svn: r18088
2010-02-15 18:39:15 +00:00
Sam Tobin-Hochstadt
89da613073 remove debugging code
svn: r18087
2010-02-15 18:36:26 +00:00
Eli Barzilay
cdaad4819d Welcome to a new PLT day.
svn: r18086
2010-02-15 08:50:38 +00:00
Carl Eastlund
400abdf455 Language level switching works with type enforcement turned off.
Contracts for Any and polymorphic types are proving problematic.

svn: r18085
2010-02-15 02:39:33 +00:00
Eli Barzilay
0e587c15ca Welcome to a new PLT day.
svn: r18082
2010-02-14 08:50:31 +00:00
Eli Barzilay
925862ef7d Welcome to a new PLT day.
svn: r18078
2010-02-13 08:50:31 +00:00
Carl Eastlund
1b28ea1a6c Added automatic blame-tracking to poly/c contract in unstable (and updated use in Typed Scheme).
svn: r18075
2010-02-12 23:03:11 +00:00
Sam Tobin-Hochstadt
90c8fcff11 Generate proper contracts for polymorphic struct types.
Document `Nothing'.

svn: r18074
2010-02-12 21:57:58 +00:00
Casey Klein
b3d9330672 Improved syntax error handling and cleaned up syntax error tests.
svn: r18070
2010-02-12 18:51:14 +00:00
Ryan Culpepper
ab71219408 syntax/parse: removed conventions debugging output
svn: r18067
2010-02-12 18:31:30 +00:00
Casey Klein
02f88787ff Fixed pattern parsing so that the components of variable-except,
variable-prefix, and cross patterns are treated as identifiers, not
arbitrary patterns.

svn: r18064
2010-02-12 16:34:38 +00:00
Sam Tobin-Hochstadt
e99b1d028c Fix printing of `Number' - reported by Noel.
Provide `assert' from `typed/scheme'

svn: r18062
2010-02-12 15:49:58 +00:00
Eli Barzilay
5143cfcd1c Welcome to a new PLT day.
svn: r18061
2010-02-12 08:50:41 +00:00
Eli Barzilay
bffce26ded Welcome to a new PLT day.
svn: r18047
2010-02-11 08:50:46 +00:00
Matthew Flatt
38a0f6d89a fix the actual result value for unboxed flmin and flmax
svn: r18045
2010-02-11 04:00:18 +00:00
Sam Tobin-Hochstadt
8bf908d106 More restrictive handling of contracts for the `Any' type.
svn: r18043
2010-02-10 20:45:50 +00:00
Sam Tobin-Hochstadt
39a8c288ec Better error message when definition is missing. Fixes PR 10751.
svn: r18042
2010-02-10 20:32:53 +00:00
Sam Tobin-Hochstadt
c224d2ebfc More precise types for typed MrEd wrappers.
More precise types in auto-language.ss

svn: r18041
2010-02-10 20:23:59 +00:00
Casey Klein
c0ce0debbe Improved documentation of `check-metafunction'
svn: r18039
2010-02-10 18:33:53 +00:00
Jon Rafkind
21b98bb2fa add example for "with-syntax"
svn: r18038
2010-02-10 17:49:26 +00:00
Robby Findler
8f5d2e1864 apparently the 1 pixel circle under linux draws in exactly one pixel when not in smoothed mode, which broke a test case; so that's changed now
svn: r18037
2010-02-10 17:40:21 +00:00
Stevie Strickland
c1f7ba9042 Add ellipses to the compound-unit, compound-unit/infer grammars for the
import parts of link clauses.

svn: r18036
2010-02-10 16:15:45 +00:00
Eli Barzilay
c87f516327 Welcome to a new PLT day.
svn: r18035
2010-02-10 08:50:31 +00:00
Matthew Flatt
aad22e2c3e restore scheme/future
svn: r18032
2010-02-09 17:19:58 +00:00
Robby Findler
8228482d86 fixed up the regexp-match contracts to make them more specific
svn: r18030
2010-02-09 16:03:03 +00:00
Robby Findler
419a50860c probable fix to the runtime error seen in drdr
svn: r18029
2010-02-09 15:15:11 +00:00
Robby Findler
e581ac7bfd made room for some tests in here and added them
svn: r18028
2010-02-09 14:53:09 +00:00
Eli Barzilay
f4f0ffabff Welcome to a new PLT day.
svn: r18027
2010-02-09 08:50:41 +00:00
Robby Findler
2ba641e05b PR 10748
svn: r18026
2010-02-09 01:00:27 +00:00
Sam Tobin-Hochstadt
2276cb10d5 Fix subtyping for keywords.
svn: r18025
2010-02-08 23:03:55 +00:00
Jon Rafkind
e5fd8a904c document latest generator functionality
svn: r18022
2010-02-08 19:47:41 +00:00
Robby Findler
4e92d54b28 possible fix to module lang test suite
svn: r18020
2010-02-08 19:44:01 +00:00
Ryan Culpepper
c1373f8214 syntax/parse:
allow forward references from conventions
  fix progress comparison bug

svn: r18019
2010-02-08 18:39:56 +00:00
Sam Tobin-Hochstadt
89eb249b00 fix dumb typo
svn: r18018
2010-02-08 18:21:43 +00:00
Sam Tobin-Hochstadt
55a48ca594 Fix a number of bugs reported by eli
svn: r18017
2010-02-08 18:17:15 +00:00
Robby Findler
49702f8f59 moved temp files into the temp directory
svn: r18015
2010-02-08 17:40:46 +00:00
Ryan Culpepper
0f08499e54 syntax/parse: started support for backtracking into syntax classes
incomplete, need to separate descriptions from failure handlers

svn: r18013
2010-02-08 09:47:52 +00:00
Eli Barzilay
9791384b79 Welcome to a new PLT day.
svn: r18012
2010-02-08 08:50:26 +00:00
Eli Barzilay
a08f9b3d42 Welcome to a new PLT day.
svn: r18011
2010-02-07 08:50:34 +00:00
Carl Eastlund
86f0d92c26 Updated documentation for unstable/srcloc; added it for unstable/location.
svn: r18010
2010-02-06 22:44:07 +00:00
Carl Eastlund
fe40d3e888 Merged changes from trunk.
svn: r18007
2010-02-06 19:23:24 +00:00
Matthias Felleisen
2c602a08c4 svn: r18006 2010-02-06 19:05:35 +00:00
Robby Findler
75a60162b0 another attempt to get the drscheme gui test suite in shape to be run by drdr
svn: r18004
2010-02-06 17:13:49 +00:00
Mike Sperber
43e74725bf Synch German string constants with latest.
svn: r18003
2010-02-06 16:05:32 +00:00
Eli Barzilay
ecb9961bc0 Welcome to a new PLT day.
svn: r18002
2010-02-06 08:50:38 +00:00
Sam Tobin-Hochstadt
bf77c690f4 fix let/ec: and let/cc:
svn: r18000
2010-02-05 23:00:07 +00:00
Carl Eastlund
17f83a5a54 Corrected contract of datum->syntax source locations.
svn: r17997
2010-02-05 20:49:10 +00:00
Eli Barzilay
44445c3210 Welcome to a new PLT day.
svn: r17992
2010-02-05 08:50:44 +00:00
Carl Eastlund
f9ae636aea Oops, got the types of char->integer and integer->char backwards.
svn: r17991
2010-02-05 06:24:44 +00:00
Carl Eastlund
f2852257bb Added types for char->integer and integer->char.
svn: r17990
2010-02-05 05:22:49 +00:00
Carl Eastlund
578637c691 Added types for missing hash table operations.
svn: r17989
2010-02-05 04:49:49 +00:00
Eli Barzilay
0725ba7608 Reformat
svn: r17988
2010-02-05 03:22:26 +00:00
Eli Barzilay
2cc4429c62 When constructing code, use the `object-name' of the input port *only*
if it's coming from a file -- not when it's a string.  In that case, use
`#f' for the name, so other code (specifically, `input->code') will use
'program.

svn: r17987
2010-02-05 03:22:23 +00:00
Eli Barzilay
a4954b774d Use optional arguments instead of `case-lambda'.
svn: r17986
2010-02-05 03:22:21 +00:00
Eli Barzilay
536d0266df Use unsafe operations in `sort'. It has been running in safe mode for a
while with no errors reported, and this change is done now when there's
time before the next release.

svn: r17985
2010-02-05 03:22:17 +00:00
Eli Barzilay
2368290cdb Test now that the generator is not in a running state when it's called.
The previous problem was just a bug.

svn: r17984
2010-02-05 03:22:15 +00:00
Eli Barzilay
d5822a3ee5 Remove the special case hack for getting zero values at the end of a
generator.  This will make this:

  (generator (yield 1) (yield))

also repeat #<void> when it's done which will be very confusing.  Better
just add a note in the docs on (generator (yield 1)) returning no values
when it's done.

Also, remove some of the `case-lambda' optimizations...

svn: r17983
2010-02-05 03:22:12 +00:00
Eli Barzilay
3a08648dab Added a `running' state, which is visible only from inside the
generator.  (Also considered making it an error when the generator is
called while it is running, but that doesn't allow (yield (yield X))
fun.)

svn: r17982
2010-02-05 03:22:09 +00:00
Eli Barzilay
2f62cb192e Allow using `yield' with any number of arguments which will be returned
as multiple values.  (These `case-lambda's are for making it fast, which
is probably stupid given how slow this is anyway.)

svn: r17981
2010-02-05 03:22:07 +00:00
Eli Barzilay
f1dcf49d38 Added `generator-state', implemented using a local state (which also
simplifies the code that raises an error from the last change).

svn: r17980
2010-02-05 03:22:04 +00:00
Eli Barzilay
505034ea26 The generator function can now be used to send values to the generator.
For example,

  (define g (generator (yield (yield (yield 1)))))
  (list (g) (g 2) (g 3) (g 4) (g) (g))

evaluates to '(1 2 3 4 4 4).  This is something that Python does (as a
generator.send method), which might be useful for using generators as
co-routines, and it is actually easy to implement since sending values
is exactly what we get when the generator call is actually calling the
saved continuation.  So most of the change is dealing with the
technicalities of throwing an error when the generator is called with
some arguments, when that's done after it's terminated (at the stage
where it's repeating the last value for ever).

A few tests added for this.

svn: r17979
2010-02-05 03:22:01 +00:00
Eli Barzilay
18c8e41fac Make it possible for the last expression in the body of a generator to
return any number of values.  They will be collected and used as the
repeat-forever result of calling the generator again.

Note: there's an exception for using no values -- instead of returning
no values forever, use void, since no values can be more surprising, and
it can happen when someone uses something like

  (generator (yield 1) (yield 2) (yield 3))

since the result of `yield' is (values).  (This will change in a
following commit, but even then it will be popular since people will
usually invoke the generator with no arguments which leads to the zero
values.  Could be solved if you use (g (void)) -- but that's awkward, I
think.)

svn: r17978
2010-02-05 03:21:59 +00:00
Eli Barzilay
5c54f3a5ac Use readline-input' for the port name, since readline' makes error
messages confusing.

svn: r17977
2010-02-05 03:21:56 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Carl Eastlund
2e3ea3d0de Merged latest changes from the trunk.
svn: r17974
2010-02-05 02:41:24 +00:00
Matthias Felleisen
dda81dc80d fixed bug 10733
svn: r17973
2010-02-05 01:11:05 +00:00
Matthew Flatt
3812f8ca72 improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
svn: r17972
2010-02-05 00:16:06 +00:00
Sam Tobin-Hochstadt
318833f422 Add supertypes for mutable types, so that predicates work correctly.
svn: r17971
2010-02-04 23:39:15 +00:00
Robby Findler
1b39d29640 clean up temporary files
svn: r17970
2010-02-04 20:31:51 +00:00
Eli Barzilay
a3c9b87652 Welcome to a new PLT day.
svn: r17965
2010-02-04 08:50:37 +00:00
Carl Eastlund
3eb1e46eeb Merged a few more changes from the trunk.
svn: r17964
2010-02-04 03:26:31 +00:00
Carl Eastlund
137f9a3279 Fixed bugs in contract construction examples.
svn: r17963
2010-02-04 02:17:15 +00:00
Matthias Felleisen
823bbd18c9 opaque iworld structure
svn: r17962
2010-02-03 22:49:12 +00:00
Carl Eastlund
a4a25ba1e9 Wrote documentation for new contract interface. Still needs proofreading, etc.
svn: r17961
2010-02-03 21:02:02 +00:00
Carl Eastlund
2e64069d14 Re-disabled legacy (contract ...) form.
svn: r17960
2010-02-03 17:08:26 +00:00
Sam Tobin-Hochstadt
492cab22cb fix some contract errors 2010-02-03 11:44:10 -05:00
Stevie Strickland
8bc420da4c The contract on sequencer:make requires arguments that conform to
dispatcher/c, which #f does not.

svn: r17958
2010-02-03 16:39:18 +00:00
Carl Eastlund
73407bed63 Merged a few more changes from the trunk (which I think will affect planet package compatibility).
svn: r17957
2010-02-03 16:11:05 +00:00
Robby Findler
0bda2f0e18 moved the debugging options in the details part of the module panel so they are side-by-side, which should make the dialog more likely to fit on a netbook screen
svn: r17955
2010-02-03 15:34:11 +00:00
Carl Eastlund
d7a7409fe0 Merged changes from the trunk.
svn: r17954
2010-02-03 15:15:11 +00:00
Ryan Culpepper
ffa97036a8 macro-stepper: removed drscheme,etc dep on macro-debugger
(changed capability to normal symbol constant)

svn: r17953
2010-02-03 14:43:23 +00:00
Eli Barzilay
c581b6b575 Welcome to a new PLT day.
svn: r17951
2010-02-03 08:50:28 +00:00
Sam Tobin-Hochstadt
1e6aaf5928 new files 2010-02-02 20:42:53 -05:00
Sam Tobin-Hochstadt
536b94c305 new branch 2010-02-02 20:42:22 -05:00
Robby Findler
76f41c2a1c fixed a bug and added some race-condition insurance
svn: r17946
2010-02-02 21:32:20 +00:00
Robby Findler
e74e46d9ca drdr-ized the rest of the drscheme test suite
svn: r17945
2010-02-02 21:06:07 +00:00
Ryan Culpepper
8d2f32efed syntax/parse:
fixed bug: splicing-stxclass immediately within ellipses
  added tests, docs for local-conventions

svn: r17944
2010-02-02 19:48:08 +00:00
Sam Tobin-Hochstadt
9939f4b619 Stop using eq? for types.
More contracts.
Fix some contract errors.

svn: r17943
2010-02-02 18:09:25 +00:00
Robby Findler
319a4a7ef0 fixed a bug revealed by drdr (but stil cant make this bad case happen on my machine, frustratingly
svn: r17942
2010-02-02 18:01:55 +00:00
Matthew Flatt
db1533fa78 fix Scribble rendering problem with 'aux tables hidden within compound paragraphs (so some inherited-method tables didn't appear in the GUI docs)
svn: r17940
2010-02-02 17:19:29 +00:00
Eli Barzilay
e02335e425 Welcome to a new PLT day.
svn: r17939
2010-02-02 08:50:29 +00:00
Ryan Culpepper
82e1e3308f syntax/parse:
fixed docs bug in ...+
  fixed bug in rep constraint messages

svn: r17938
2010-02-02 07:22:35 +00:00
Ryan Culpepper
cb7600607b syntax/parse:
added nested ~or ellipsis-head patterns
  added ~between, ...+
  cleaned up declenvs
  fixed kernel-literals (include template phase binding)
  pattern variables may not start with ~ (tilde)
  first cut of syntax-class-possible-errors

svn: r17937
2010-02-02 02:28:32 +00:00
Carl Eastlund
87712b0dd2 Clarified the recursive behavior of datum->syntax on hash tables and prefab structs.
svn: r17936
2010-02-02 01:33:39 +00:00
Sam Tobin-Hochstadt
8b120675bc most of the way to real printing
svn: r17935
2010-02-02 01:24:06 +00:00
Jon Rafkind
a1d5573613 move bindings to different modules
svn: r17934
2010-02-01 22:57:42 +00:00
Carl Eastlund
79f537d50c Updated the macro stepper to detect steppable languages via a "capability".
svn: r17932
2010-02-01 20:39:46 +00:00
Robby Findler
8aac682691 hierlist now has the scrollbar
svn: r17931
2010-02-01 19:52:05 +00:00
Jay McCarthy
2e4c8e102a pr10727
svn: r17930
2010-02-01 19:51:06 +00:00
Matthew Flatt
09ef762e3f add accept-tab-focus to editor-canvas%
svn: r17929
2010-02-01 19:30:59 +00:00
Robby Findler
102b03311e made the check syntax tests more drdr friendly
svn: r17928
2010-02-01 17:46:17 +00:00
Robby Findler
402886bc18 fixed the macro stepper so that it shows up in the new module language
svn: r17927
2010-02-01 17:09:22 +00:00
Robby Findler
f4cd110b1a another strategy for sizing the text in the languages dialog
svn: r17926
2010-02-01 16:47:43 +00:00
Matthias Felleisen
9664c79320 mouse leave/enter behavior was wrong; failure of SPC?
svn: r17925
2010-02-01 16:05:37 +00:00
Sam Tobin-Hochstadt
94029a06c9 Progress on Rep.
svn: r17924
2010-02-01 15:51:32 +00:00
Robby Findler
6f4c164793 improved the implementation of error in the teaching languages, added test casees
svn: r17923
2010-02-01 15:39:33 +00:00
Robby Findler
bf67e34e87 fixed up module language test suite for new language dialog, plus misc cleanups based on last release
svn: r17922
2010-02-01 15:18:28 +00:00
Robby Findler
9d34139659 use the basic-style method instead of the name of the basic style
svn: r17921
2010-02-01 15:15:22 +00:00
Casey Klein
db0ec3eb07 Special typesetting for metafunction `where' clauses in which the
right-hand side is a call to `variable-not-in' or `variables-not-in'

svn: r17920
2010-02-01 13:46:32 +00:00
Eli Barzilay
99bebecd75 Welcome to a new PLT day.
svn: r17919
2010-02-01 08:50:38 +00:00
Carl Eastlund
2e0cb8226e Replaced every "langauge" (note swapped vowels) with "language".
svn: r17918
2010-02-01 01:41:51 +00:00
Matthew Flatt
5433c57504 wrap each top-level form in a module with a prompt
svn: r17917
2010-01-31 17:04:55 +00:00
Matthew Flatt
e8c97a5102 more readable mandelbrot-unsafe; minor benchmark harness fixes
svn: r17915
2010-01-31 14:58:26 +00:00
Matthew Flatt
a5da3f327f use MrEd:default-font-size preference
svn: r17914
2010-01-31 14:55:07 +00:00
Robby Findler
6a3518e369 used the new support for selection-less hierlists in the language menu
svn: r17913
2010-01-31 13:32:48 +00:00
Robby Findler
540f43327d added a little more error checking
svn: r17912
2010-01-31 13:32:19 +00:00
Eli Barzilay
3a0518e6f8 Welcome to a new PLT day.
svn: r17911
2010-01-31 08:50:29 +00:00
Carl Eastlund
a2226c965a Updated documentation for "contract" form.
svn: r17910
2010-01-31 04:30:55 +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
d5329eb2a6 Make contract form more permissive; import make-blame.
svn: r17908
2010-01-31 01:48:08 +00:00
Carl Eastlund
bf308563d2 Hide make-blame; remove blame-positive and blame-negative; make blame objects transparent (but allow equal?).
svn: r17907
2010-01-31 01:47:48 +00:00
Carl Eastlund
f8df3608d4 Hide "make-blame" from normal export.
svn: r17906
2010-01-31 01:47:07 +00:00
Matthew Flatt
bcadf5ac69 doc improvements: some details on reachability for weak references; module example in insidemz; clarification for 'read-language' related to readtables and #reader
svn: r17905
2010-01-31 01:10:56 +00:00
Carl Eastlund
0e697067cb Uniformly "unpack" contract blame party names.
svn: r17904
2010-01-31 00:30:00 +00:00
Carl Eastlund
29b628cb0a Fixed legacy projections to allow 4 or 5 arguments.
svn: r17903
2010-01-31 00:29:37 +00:00
Casey Klein
d9e5d3aa98 Another generator optimization
svn: r17902
2010-01-30 22:36:44 +00:00
Carl Eastlund
7d577d9d02 Removed an unnecessary require.
svn: r17901
2010-01-30 21:45:52 +00:00
Carl Eastlund
2772ffccba Restored legacy functions for custom contracts.
svn: r17900
2010-01-30 21:14:27 +00:00
Robby Findler
aa67a279ab added a little more information
svn: r17899
2010-01-30 21:02:26 +00:00
Robby Findler
32faba2964 added more debugging information to try to figure out if the 'window with no button' error is a bug or not
svn: r17898
2010-01-30 20:53:03 +00:00
Robby Findler
30c5d37b81 fixed a bug found by the random testing from randomly-click-language-dialog.ss
svn: r17897
2010-01-30 20:50:18 +00:00
Casey Klein
425dbf5af5 The first component of a `name' pattern is not an identifier, not a
pattern.

svn: r17896
2010-01-30 17:41:39 +00:00
Robby Findler
6f17b84706 improved the module langauge's name printing
svn: r17895
2010-01-30 16:51:24 +00:00
Casey Klein
0e6c28e4b1 Improved performance of the test case generator
svn: r17894
2010-01-30 16:38:19 +00:00
Eli Barzilay
dc93732d6f Welcome to a new PLT day.
svn: r17893
2010-01-30 08:50:31 +00:00
Carl Eastlund
2513e7d6e0 Merged changes from the trunk.
svn: r17892
2010-01-30 04:59:20 +00:00
Jon Rafkind
f980cf9462 use new syntax-parse primitive to enable macro invocation during expression parsing
svn: r17891
2010-01-30 01:42:14 +00:00
James Swaine
68c197d02f added basic test suite for the parallel futures module
svn: r17890
2010-01-29 21:44:46 +00:00
Robby Findler
16e6a8156e a few more tweaks to the language dialog
svn: r17889
2010-01-29 21:44:22 +00:00
Matthew Flatt
73a1675286 fix select #f for hierlist
svn: r17888
2010-01-29 20:30:46 +00:00
Robby Findler
be5b6cd32e some improvements to the new language dialog
svn: r17886
2010-01-29 18:29:03 +00:00
Matthew Flatt
d620177619 fix benchmark readme
svn: r17885
2010-01-29 17:49:25 +00:00
Matthew Flatt
42e68c8ff1 even more benchmark scaffolding
svn: r17884
2010-01-29 16:33:15 +00:00
Casey Klein
2d2a95de1e Made counterexample structure transparent
svn: r17882
2010-01-29 13:42:13 +00:00
Eli Barzilay
da79980114 Welcome to a new PLT day.
svn: r17881
2010-01-29 08:50:05 +00:00
Matthew Flatt
ea87c95d95 adjust futures impl to use mzrt; fix MrEd build to work with futures
svn: r17879
2010-01-29 00:15:43 +00:00
Matthew Flatt
5270fcbc6c fix name of Basic style in style-list<%>
svn: r17878
2010-01-29 00:14:06 +00:00
Sam Tobin-Hochstadt
9789615ed9 merge to trunk
svn: r17877
2010-01-29 00:08:15 +00:00
Robby Findler
a6d89438a7 fixed one of those 'the callbacks are the initial state arent being set up together properly' gui bugs
svn: r17876
2010-01-28 21:48:07 +00:00
Sam Tobin-Hochstadt
bbc195c0fb progress on refactoring rep
svn: r17875
2010-01-28 21:47:05 +00:00
Robby Findler
6848b8f6fe first attempt at a new language dialog
svn: r17874
2010-01-28 21:41:04 +00:00
Ryan Culpepper
f14118c075 syntax/parse: added syntax/parse/experimental
svn: r17873
2010-01-28 21:08:02 +00:00
Robby Findler
076d680faa escape no longer quits during splash screen, not control-q does
svn: r17869
2010-01-28 20:34:07 +00:00
Matthew Flatt
b5cada4811 suppress setup-plt scribble 'using' messages, unless in verbose mode
svn: r17868
2010-01-28 18:56:21 +00:00
John Clements
11c87c75e1 minor typo fix an/and
svn: r17866
2010-01-28 18:09:52 +00:00
Matthew Flatt
a09e671f34 allow radio-box% to have no selected buttons
svn: r17865
2010-01-28 17:51:30 +00:00
Eli Barzilay
6bf7c9287f Welcome to a new PLT day.
svn: r17863
2010-01-28 08:50:24 +00:00
Matthew Flatt
2c192f5297 support inlining of procedures with rest args
svn: r17860
2010-01-28 01:31:37 +00:00
Eli Barzilay
f8c78cb752 typo (PR10722)
svn: r17859
2010-01-28 01:30:55 +00:00
Casey Klein
1b22ce82cd A flag to make the random testing forms return results instead of
printing on stdout.

svn: r17858
2010-01-28 01:12:54 +00:00
Casey Klein
3b5d13f229 Fixed bug in generate-term's error handling.
svn: r17856
2010-01-27 20:03:57 +00:00
Robby Findler
d6c94df670 changed the fonts used under linux for the bitmap test cases
svn: r17855
2010-01-27 19:23:37 +00:00
Robby Findler
97a04321fc escape in the splash screen quits drscheme
svn: r17854
2010-01-27 18:33:36 +00:00
Casey Klein
8454db8115 Rename #:attempts to #:attempt-num in `generate-term'.
Added a second form of `generate-term' that produces a procedure.
Improved the docs for `generate-term'.

svn: r17853
2010-01-27 17:45:01 +00:00
Ryan Culpepper
0cea5eb390 macro-debugger: fixed breakage of stepper-text, expand-only
Please propagate to release branch if possible.

svn: r17852
2010-01-27 17:31:22 +00:00
Casey Klein
4271b7970c Dropped the "preferred productions" heuristic and the failed prototype
supporting accumulator-style generators.

svn: r17851
2010-01-27 15:52:15 +00:00
Matthew Flatt
980d48ce19 fix karen and psyntax benchmarks
svn: r17850
2010-01-27 12:56:51 +00:00
Eli Barzilay
4b1fdd9bc0 added places
svn: r17849
2010-01-27 09:58:48 +00:00
Eli Barzilay
865e550174 Welcome to a new PLT day.
svn: r17847
2010-01-27 08:50:34 +00:00
Jay McCarthy
364e4ff3d5 The closure library was designed just for the Web language, which operates after expansion, so it never saw normal lambdas. The documentation, however, advertises it for general use and it disallowed keyword arguments. This fixes that problem.
svn: r17844
2010-01-26 21:59:22 +00:00
Eli Barzilay
024f635203 * Remember values in "install .plt" dialog
* Add "http://" prefix to a url if it looks like it's missing
* Focus on the text field when switching tabs

svn: r17843
2010-01-26 20:55:13 +00:00
Robby Findler
cba82db678 added in unix versions of the bitmap tests
svn: r17842
2010-01-26 20:28:57 +00:00
Robby Findler
bf451cbc0b fixed a problem John identified on the plt mailing list
svn: r17841
2010-01-26 20:24:25 +00:00
Matthew Flatt
f07c19b268 update benchmark harness
svn: r17840
2010-01-26 20:17:44 +00:00
Casey Klein
3068ae4bd5 This file should have been moved to tests instead of copied.
svn: r17839
2010-01-26 19:53:10 +00:00
Robby Findler
812a049b5b svn: r17838 2010-01-26 19:47:44 +00:00
Casey Klein
8fe66b9935 Somehow managed to copy the tests instead of moving them!
svn: r17837
2010-01-26 17:33:38 +00:00
Casey Klein
9c6fdd86c8 Moved tests into a separate directory. Changed run-tests.ss to suppress the diffs window when bitmap-test.ss fails, to avoid tripping up DrDr.
svn: r17836
2010-01-26 17:29:39 +00:00
Eli Barzilay
4cb01a48b3 only for programs
svn: r17835
2010-01-26 15:04:51 +00:00
Eli Barzilay
be9d5787b4 Welcome to a new PLT day.
svn: r17834
2010-01-26 08:50:05 +00:00
Jon Rafkind
794efa5ebb s/trigraph/ternary
svn: r17833
2010-01-26 00:25:45 +00:00
Jon Rafkind
9ee9280485 support commas in function calls
svn: r17832
2010-01-26 00:10:01 +00:00
Jon Rafkind
6f26a0ffeb add trigraph expression
svn: r17831
2010-01-25 23:21:26 +00:00
Robby Findler
f54ccdc9d5 probable fix to error seen in drdr
svn: r17827
2010-01-25 21:51:52 +00:00
Eli Barzilay
04725539c7 Propagate path to syntax source of evaluated files when applicable
Set `current-load-relative-directory' based on path when it names a directory.

svn: r17826
2010-01-25 21:02:15 +00:00
Sam Tobin-Hochstadt
8ccbe74e5e don't open url twice
svn: r17824
2010-01-25 20:00:32 +00:00
Sam Tobin-Hochstadt
af2ef07d05 Fix the handling of with-handlers that returns multiple values
svn: r17823
2010-01-25 19:51:16 +00:00
Sam Tobin-Hochstadt
c9b246a8d2 use syntax-parse
support #:predicate option to `define-typed-struct-internal'

svn: r17822
2010-01-25 19:35:56 +00:00
Jon Rafkind
9dccfcbe28 factor out common expressions for better performance. thanks to ryan
svn: r17821
2010-01-25 18:51:34 +00:00
Sam Tobin-Hochstadt
bb541fd03f Improve `internal-forms'
First step to custom predicates in `define-typed-struct-internal'

svn: r17820
2010-01-25 18:38:56 +00:00
Sam Tobin-Hochstadt
e493ba5c6a improve internal error messages
svn: r17819
2010-01-25 17:23:19 +00:00
Kevin Tew
7114cdf51e Inital places documentation
svn: r17818
2010-01-25 16:11:34 +00:00
Robby Findler
5f69c8ed4e now using redex check to generate random examples (and with more variety than before)
svn: r17816
2010-01-25 16:04:34 +00:00
Sam Tobin-Hochstadt
674e40a212 Re-enable unexpanded syntax printing. Merge to release.
svn: r17815
2010-01-25 15:44:48 +00:00
Sam Tobin-Hochstadt
e65535c880 work on new guide
svn: r17814
2010-01-25 15:36:56 +00:00
Sam Tobin-Hochstadt
e071050f7f new doc branch
svn: r17813
2010-01-25 14:48:11 +00:00
Sam Tobin-Hochstadt
2cd7fe5499 Simplify pattern for expressions in type env.
Attempt to avoid doing local-expansion repeatedly.

svn: r17812
2010-01-25 14:46:34 +00:00
Matthew Flatt
530a3eb5e8 change R5RS to allow splicing unquote at tail when expression is not a list; merge to 4.2.4
svn: r17811
2010-01-25 13:33:42 +00:00
Robby Findler
aee10699ae made the splash screen always be a dialog box
svn: r17810
2010-01-25 12:39:38 +00:00
Eli Barzilay
fee5ed923d Welcome to a new PLT day.
svn: r17809
2010-01-25 08:50:06 +00:00
Robby Findler
cf4294a280 changed the internal representation of normalized images so that crop structs do no have to be duplicated, improved test suites
svn: r17808
2010-01-24 20:22:58 +00:00
John Clements
bef818b2be test changes, goes in release 4.2.4
svn: r17806
2010-01-24 19:31:29 +00:00
John Clements
2098a19291 fixed dmda stepper bug: goes in 4.2.4 release
svn: r17805
2010-01-24 19:28:57 +00:00
John Clements
100fe8520d took bad require out
svn: r17803
2010-01-24 18:21:56 +00:00
Matthew Flatt
4ce8dfa7da fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
svn: r17802
2010-01-24 15:30:16 +00:00
Casey Klein
bbc654c69e Typesetting now recognizes carets (^) in the underscore component of a
non-terminal reference, applying the non-terminal-superscript-style to
the text following the caret.

svn: r17801
2010-01-24 11:36:29 +00:00
Eli Barzilay
efc980768b Welcome to a new PLT day.
svn: r17797
2010-01-24 08:50:21 +00:00
John Clements
25cd6766fa test files, for release if it matters..
svn: r17795
2010-01-24 07:23:59 +00:00
John Clements
a18447e970 srfi 19 tests, not for release
svn: r17794
2010-01-24 07:23:09 +00:00
John Clements
ba18a93fa6 fixed bug involving certificates appearing in different places
svn: r17793
2010-01-24 07:01:25 +00:00
Robby Findler
c0cea48170 random testing found bugs (please include in release)
svn: r17792
2010-01-24 02:02:56 +00:00
Robby Findler
5f9a774880 fixed error message reporting bugs (merge to release branch)
svn: r17790
2010-01-23 23:07:34 +00:00
Carl Eastlund
a197b98706 Fixed permissive/c, which I had ported to the wrong kind of contract.
svn: r17787
2010-01-23 21:33:06 +00:00
Carl Eastlund
ae54797717 Fixed use of (contract ...) in web-server collects where I got arguments in wrong order.
svn: r17786
2010-01-23 21:06:29 +00:00
Robby Findler
3c1d7e9aca simple fix to deal with performance problem noticed by jpr (this is not a complete fix, but should work in the common case of lots of repeated place-image calls)
svn: r17783
2010-01-23 20:36:54 +00:00
Carl Eastlund
bd9b6e9e97 Made unit contract test regular expressions more robust.
svn: r17782
2010-01-23 18:31:32 +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
88aba214c9 Merged changes from trunk. No conflicts.
svn: r17780
2010-01-23 17:44:27 +00:00
Robby Findler
ebb815cc68 added a comment to describe all-string-snips
svn: r17778
2010-01-23 16:43:08 +00:00
Robby Findler
5dfed472c7 svn: r17777 2010-01-23 16:03:50 +00:00
Eli Barzilay
57868b0bc7 Welcome to a new PLT day.
svn: r17775
2010-01-23 08:50:40 +00:00
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