Commit Graph

17712 Commits

Author SHA1 Message Date
Jay McCarthy
4e757e07fc Fixing typo reported by Marius Mateescu 2010-09-06 10:37:56 -06:00
Jay McCarthy
f2b5a454bd Fixing problem reported by Nadeem Abdul Hamid 2010-09-06 10:35:03 -06:00
Mike Sperber
df68ef4deb Synch German string constants with latest. 2010-09-06 11:02:13 +02:00
Robby Findler
c52bc4c524 removed unused method 2010-09-05 07:41:00 -05:00
Robby Findler
5e04a5c6d9 When opening a new window where the language is one of the htdp languages (via the
language dialog, not the #lang htdp/* variants), teachpacks are put into the
initial REPL (instead of just having the language primitives).

closes PR 11160
2010-09-04 19:37:02 -05:00
Matthew Flatt
081fc3bad5 fix 2htdp/image bitmap rotation direction 2010-09-04 16:43:38 -06:00
Robby Findler
a951bdcf47 rewording 2010-09-04 15:19:56 -05:00
Robby Findler
1fa6be75b5 added image->color-list and color-list->bitmap 2010-09-04 13:52:49 -05:00
Robby Findler
a2b11a0329 unbroke the test suite ... 2010-09-04 11:18:39 -05:00
Robby Findler
d5a3e08131 added docs for the check syntax / contract system interaction 2010-09-04 11:18:39 -05:00
Robby Findler
994c28d8b0 started a test suite for the check syntax coloring annotations that the contract system leaves behind 2010-09-04 11:18:38 -05:00
Greg Cooper
992de7fb10 fixes to deal with the debugger freezing drracket. 2010-09-03 20:53:18 -05:00
Matthew Flatt
26e0ad955a fix `unsafe-set-box*!' 2010-09-03 15:44:34 -06:00
Matthew Flatt
82f102bfd8 fix bug in objc-mixin #:protocols 2010-09-03 15:44:34 -06:00
Ryan Culpepper
a0b8a94d8b macro stepper: ignore track origin for now, need to coordinate with marks 2010-09-03 14:03:26 -06:00
Ryan Culpepper
fff692309e removed useless requires 2010-09-03 13:53:42 -06:00
Ryan Culpepper
b572f0c7dc removed useless requires 2010-09-03 13:53:41 -06:00
Ryan Culpepper
fa4f48a82c id-tables can work at different phases now
reduced allocation for id-table updates
2010-09-03 13:53:41 -06:00
Ryan Culpepper
cb62eeffb6 macro-stepper: better internal debugging 2010-09-03 13:53:41 -06:00
Ryan Culpepper
dbdf00c5f7 macro-stepper: track syntax-local-value and syntax-track-origin (not done) 2010-09-03 13:53:41 -06:00
Stevie Strickland
3b0de9c141 Check struct predicate before checking fields. 2010-09-02 19:59:00 -04:00
Robby Findler
365a1275ce minor changes 2010-09-02 17:13:05 -05:00
Robby Findler
ad9548db7d added a README 2010-09-02 15:41:02 -05:00
Robby Findler
b7eca6c4ee updated props for the moved files 2010-09-02 15:41:02 -05:00
Robby Findler
a12f47f506 moved the teaching language test suites to their own directory 2010-09-02 15:41:02 -05:00
Kevin Tew
55674e8427 Places: docs fixes 2010-09-02 12:25:27 -06:00
Robby Findler
7fead2875a forgot the flip check (caught by the test suites) 2010-09-02 12:20:19 -05:00
Robby Findler
09bd56081b fixed a performance bug (avoids computing the rotation of a bitmap when it isnt actually rotated...) 2010-09-02 11:01:23 -05:00
Jay McCarthy
f272acec5f Correcting bug discovered by Arjun 2010-09-02 07:04:22 -06:00
Ryan Culpepper
3097bb85b7 separated "internals & extension API" from main "RackUnit API" 2010-09-01 15:48:22 -06:00
Ryan Culpepper
c5e6580f02 added test-* shortcuts to docs, other edits 2010-09-01 15:48:22 -06:00
Matthew Flatt
962ceb6b63 fix interaction between copy prop and once-used binding elimination
in the bytecode compiler, which could cause an expression to be
 duplicated
2010-09-01 15:22:32 -06:00
Robby Findler
4c35af2eef added a note about how the max width is remembered in the splash screen 2010-09-01 14:39:16 -05:00
Robby Findler
70ea262426 duh 2010-09-01 14:27:35 -05:00
Robby Findler
44753bc690 adjusted the splash screen code so that the christmas day easter egg is optional (defaultly off) 2010-09-01 13:23:18 -05:00
Robby Findler
12ab498977 added docs for the splash screen library in the framework 2010-09-01 13:23:18 -05:00
Matthew Flatt
69658697b1 add proxies and rename chaperone properties to proxy properties
where a proxy is less constrained in its conversions but more
 constrained in where it can be used
2010-08-31 19:15:20 -06:00
Ryan Culpepper
be3ca941bb eliminated some uses of rest-args and list unpacking 2010-08-31 18:36:32 -06:00
Ryan Culpepper
bfb1eed2e9 updated test 2010-08-31 17:15:36 -06:00
Ryan Culpepper
6c42fe2766 changed static syntax class back to perform post-checks 2010-08-31 16:21:45 -06:00
Ryan Culpepper
4f41e3f79d ported example from pretty-big to racket/gui
(Why? sgl is in mr dist, pretty-big is in plt dist)
2010-08-31 16:21:45 -06:00
Ryan Culpepper
a436df02f4 fixed another reference to syntax/parse/experimental/splicing 2010-08-31 16:21:44 -06:00
Ryan Culpepper
0c4f82a434 added #:commit to TR optimizer stxclasses 2010-08-31 16:21:44 -06:00
Ryan Culpepper
712a8f60e9 updated syntax/parse/exp./splicing, updated honu use
fixed stress.rkt
2010-08-31 16:21:44 -06:00
John Clements
675cdfda58 gave myself responsibility for sndfile.rkt 2010-08-31 14:39:44 -07:00
John Clements
81a8bd3b28 updated to remove dependency on rackunit 2010-08-31 14:33:16 -07:00
John Clements
c824241a6e updates to sndfile.rkt & use-snd-file.rkt. Added an interface that doesn't
eagerly transform data into lists.  It's also very restrictive (assumes
float & 2-channel).
2010-08-31 11:42:19 -07:00
Ryan Culpepper
04a93812b4 fixed TR optimizer to work with backtracking syntax/parse update
problem was unboxed-inexact-complex-opt-expr, "non exhaustive" error variant
2010-08-31 10:55:58 -06:00
Ryan Culpepper
d7a87c79e0 Merged changes to syntax/parse
Changed backtracking algorithm, runtime representations
    - syntax classes, ~describe no longer implicitly commit
    - ~describe no longer delimits effect of cut
  Added keyword & optional args for stxclasses
  Added ~do and #:do, ~post, ~commit and #:commit,
    ~delimit-cut and #:no-delimit-cut
  Added syntax/parse/debug, syntax/parse/experimental/*
    - expr/c for contracting macro sub-expressions
      moved from syntax/parse to syntax/parse/experimental/contract
    - syntax class reflection (~reflect, ~splicing-reflect)
    - eh-alternative-sets (~eh-var)
    - provide-syntax-class/contract
      (only for params, not attrs so far)
  Changed ~fail to not include POST progress (#:fail still does)
    old (~fail _) is now (~post (~fail _))
  Made msg argument of ~fail optional
  Removed generic "repetition constraint violated" msg
  Removed atom-in-list stxclass
  Removed unnecessary datum->syntax on cdr of pair pattern
    massive improvements to long-list microbenchmarks
  Optimization: integrable syntax classes (id, expr, keyword)
    need better measurements
  Optimization: ad hoc elimination of head/tail choice point
    for (EH ... . ()) patterns
  Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
John Clements
6e31d8f2d7 editing sndfile support 2010-08-31 09:34:26 -07:00
Robby Findler
4d8cc1bc51 dont use the black-on-white preferences for redex's stepper 2010-08-31 07:33:13 -05:00
Robby Findler
a2705f101f teaching-lang-coverage prop fix 2010-08-31 06:41:55 -05:00
Matthew Flatt
e0d9d2565c fix problem with rotation on images such as bitmaps
and replace internal `bring-between' with an efficient version
 Closes PR 11124
2010-08-30 20:15:20 -06:00
Robby Findler
7e1a6ec908 fixes the mouse over problem mentioned in PR 11147.
not really sure the best way to fix the getting-smaller problem.
2010-08-30 20:41:22 -05:00
Matthew Flatt
2e29c09f96 fix wxme reader to preserve line-counting mode
Closes PR 11141
2010-08-30 16:33:03 -06:00
Matthew Flatt
036ed57000 fix *SL `define-struct' expand-time info: omit non-existent struct type 2010-08-30 16:11:08 -06:00
Matthew Flatt
76c3c76214 fix yet more ss<->rkt problems that interfered with *SL executables
Closes PR 11106
2010-08-30 14:35:18 -06:00
Matthew Flatt
8c2ba47fa5 move style guide up a section (to its own page) 2010-08-30 14:35:18 -06:00
Matthew Flatt
c1bf118cb5 new guidance in the documentation style guide 2010-08-30 14:35:17 -06:00
Matthew Flatt
e13effd07c adjust 'configure-runtime index entry 2010-08-30 14:35:15 -06:00
Jay McCarthy
052139eb4e Fixing pr11148 via documentation 2010-08-30 14:17:56 -06:00
Jay McCarthy
ef664d531f Removing error when hovering over non-heap squares. Fixes pr11147 2010-08-30 14:17:56 -06:00
Jay McCarthy
5684ba4a9c Allowing gc heap gui shrinking 2010-08-30 14:17:55 -06:00
John Clements
adc7d272a8 removed stepper's application < \ > buttons, added choice boxes instead, misc. cleanup and
racket-ification of associated file.
2010-08-30 11:31:00 -07:00
Kevin Tew
bc5d1c2011 Places: added shared-flvector and shared-byte string 2010-08-30 08:50:07 -06:00
Robby Findler
b1550d6c9b changed the expansion of the ... macro in the teaching languages so that
it cooperates with the test coverage annotations in drracket.
closes PR 11138
2010-08-30 09:23:34 -05:00
Robby Findler
cfa1c9bf43 fixed a bug in the test suite (so that now the language is only changed when needed) 2010-08-30 09:23:34 -05:00
Robby Findler
35de0b22d0 added a test coverage test suite 2010-08-30 09:23:34 -05:00
Robby Findler
ab839f9efd minor rackety 2010-08-30 09:23:34 -05:00
Robby Findler
eb75edfaa1 renamed drracket test suite 2010-08-30 09:23:33 -05:00
Jay McCarthy
b2015a3237 Adding stress to dist spec 2010-08-30 07:32:49 -06:00
Jay McCarthy
f899e03b59 Moving stress tests 2010-08-30 06:39:12 -06:00
Jay McCarthy
fe2a70a347 Adding data to mz-extras 2010-08-30 06:39:12 -06:00
Jay McCarthy
fd300bc31c Disabling other-mutator gc runs 2010-08-30 06:39:11 -06:00
Jay McCarthy
6a43e379e1 Correct test usage of port 2010-08-30 06:39:11 -06:00
Robby Findler
9b657ad53a added an index entry for configure-runtime 2010-08-29 15:10:08 -05:00
John Clements
4d1d1e5b0e removed new stepper test from automatic testing (until fixed). 2010-08-29 10:38:27 -07:00
Casey Klein
0221589e10 Increases racket-vs-redex timeout even more 2010-08-29 09:14:10 -05:00
Vincent St-Amour
e1fd445fa4 Ignored a rounding error between PPC and x86. 2010-08-29 10:17:56 -04:00
Robby Findler
7020cb6e4c adjusted the language dialog so that the output-style and fraction-style radio boxes aren't adjacent 2010-08-29 08:20:53 -05:00
Robby Findler
23739a21d8 fixed indentation 2010-08-29 05:17:41 -05:00
Robby Findler
454f8772ab unbroke Eli's change 2010-08-29 05:17:41 -05:00
Eli Barzilay
0aa659ffe5 Reindent the body, use `append-map'. 2010-08-28 23:56:55 -04:00
Eli Barzilay
82749312f6 Use racket/base', no need for begin-with-definitions'. 2010-08-28 23:56:55 -04:00
Eli Barzilay
3b609eef10 use .rkt suffix => avoid a bug when trying to show the file 2010-08-28 23:56:55 -04:00
Robby Findler
8328605c1a rendered the 2htdp/image images (has to be done on a mac) 2010-08-28 20:45:01 -05:00
Robby Findler
6c3f556194 meant to include this in the last commit 2010-08-28 20:41:58 -05:00
Robby Findler
3704e2d69f added a better explanation of pixels and fixed a bug in save-image 2010-08-28 20:41:58 -05:00
Jay McCarthy
bc15f398f2 Increasing FTP test stability 2010-08-28 18:52:39 -06:00
Casey Klein
3f8de79ba7 Increases DrDr timeout to accommodate racket-vs-redex all-outcomes test 2010-08-28 19:16:25 -05:00
Jay McCarthy
c24d6f94e7 Supporting empty programs in datalog languages, fixes pr11140 2010-08-28 15:54:38 -06:00
Robby Findler
36c2eea571 an attempt to be more windows friendly 2010-08-28 14:06:01 -05:00
Jay McCarthy
33d7eb40e3 Fixing pr11136 and adding tests and fixing old tests re extension change 2010-08-28 08:30:14 -06:00
Robby Findler
3d5843aa81 fixed pen and color so they signal errors properly 2010-08-28 08:52:59 -05:00
Robby Findler
405fded9c3 change empty scene so that it draws the border for the scene inside the scene,
instead of using the usual rectangle "right/bottom outside" drawing
(hopefully) closes PR 11139
2010-08-28 07:57:52 -05:00
John Clements
fbd4659260 updated sndfile for racket & for newer version of sndfile & other similar stuff. 2010-08-27 16:42:33 -07:00
John Clements
3b94602e2e added test case for PR 11120 2010-08-27 16:42:32 -07:00
John Clements
c636aeb840 added docs for 'type' argument to memset 2010-08-27 16:42:32 -07:00
Sam Tobin-Hochstadt
92ce3ca02d Use `any/c' for contracts for polymorphic functions. 2010-08-27 18:36:49 -04:00
Sam Tobin-Hochstadt
d38af188f6 Use the correct name in the provide. 2010-08-27 18:36:49 -04:00
Vincent St-Amour
d3ee52d451 Added annotations to plain for and for* in typed code. 2010-08-27 18:18:52 -04:00
Vincent St-Amour
b386f01ee4 Improved sandboxing with code from Eli. 2010-08-27 18:18:51 -04:00
Vincent St-Amour
f06c2d4926 Removed obsolete comment. 2010-08-27 18:18:51 -04:00
Robby Findler
7233e07ec5 typos 2010-08-27 14:30:05 -05:00
Vincent St-Amour
9f540bce01 Better way to setup the sandbox input. 2010-08-27 14:43:22 -04:00
Vincent St-Amour
9884663697 Cleanup of syntax-parse patterns. 2010-08-27 14:43:19 -04:00
Vincent St-Amour
1c9e8e05b0 Cleanup of the test harness. 2010-08-27 13:29:43 -04:00
Vincent St-Amour
7cfba9f02d Renamed tests directory to make more sense with the new structure. 2010-08-27 13:29:43 -04:00
Vincent St-Amour
ca16ac4db5 Improved logging since it's now used for testing. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
18af26ec9b Test expected optimizations by comparing optimizer logs instead of expanded code. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
6f6ec3b2bf Adapted filename logging for testing purposes. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
9b598df60a Logging can be turned on from the command-line. 2010-08-27 13:29:41 -04:00
Eli Barzilay
9227bfaf4c Comments on unsatbel code. 2010-08-27 13:21:01 -04:00
Robby Findler
c8e68e5e31 updated the docs to reflect that the various checks return void. Also added in some tests to that effect. 2010-08-27 11:27:29 -05:00
Robby Findler
a13c251e5d ugh 2010-08-27 07:25:04 -05:00
Robby Findler
797df5e72c changed back some of Eli's ~e => ~.s changes 2010-08-27 06:48:50 -05:00
Jay McCarthy
bd14fbb4ee Autosaving when Scribble buttons are clicked 2010-08-26 17:14:09 -06:00
Jay McCarthy
7190d423f7 Fixing pr11125 2010-08-26 17:14:09 -06:00
Jay McCarthy
d4e3946ba2 Adding apply stress test from Will M. Farr 2010-08-26 17:14:09 -06:00
Sam Tobin-Hochstadt
0635fc6d75 Create data/ collection.
- Initially populated with queues, skip-lists, and interval-maps from unstable/
 - Tests in tests/data, docs in data/scribblings
2010-08-26 18:22:28 -04:00
Vincent St-Amour
46b2a2113a Use sandboxes instead of duplicate files to test results when optimizing. 2010-08-26 18:08:41 -04:00
Vincent St-Amour
eadc2a7e4c Exclude directories when testing TR's optimizer. 2010-08-26 17:46:59 -04:00
Vincent St-Amour
63530ed74d Documented with-asserts. 2010-08-26 17:46:58 -04:00
Vincent St-Amour
ea472a9d57 Added with-asserts, from code from Neil Toronto. 2010-08-26 17:46:58 -04:00
Vincent St-Amour
694d2da4b3 Extend sign analysis to sqr. 2010-08-26 17:46:57 -04:00
Sam Tobin-Hochstadt
7fc38693ec Fix tests for new output. 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
52c90628ce Fixes for real/imag-part 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
3e4ddde808 Tests for new optimizer additions. 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
c40c48bd97 Avoid reboxing when computing real/imag-part. 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
fd2d37a710 Add optimization for `magnitude', fix handling of functions that return floats, not complexes. 2010-08-26 16:59:12 -04:00
Stevie Strickland
84842bafb7 Make the error for misplaced `any's more specific. 2010-08-26 12:47:58 -04:00
Jon Rafkind
7ffbe6b1f8 add a section about running r6rs inside drracket 2010-08-26 10:21:53 -06:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
2853020369 A bunch of typo fixes.
Fixes PR11131.
2010-08-26 12:11:00 -04:00
Robby Findler
dd47006c3d fixed out-of-date docs 2010-08-26 08:03:46 -05:00
Casey Klein
c66a727413 Fixes R6 tests 2010-08-26 06:04:06 -05:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Eli Barzilay
e179449d0e Switch to `racket/base', change some "~e"s to "~.s"s, also reformat and
a few minor improvements.
2010-08-25 17:17:01 -04:00
Eli Barzilay
f04a60da61 Fix some typos 2010-08-25 17:17:01 -04:00
Eli Barzilay
f5ac792625 reformat text 2010-08-25 17:17:01 -04:00
Eli Barzilay
da083f05e8 avoid relying on bash 2010-08-25 17:17:01 -04:00
Kevin Tew
19a00d887e Places: allow channels in compound data communications 2010-08-25 15:10:15 -06:00
Matthew Flatt
9be0559936 teach decompiler about literal prims from `#%futures' 2010-08-25 14:58:27 -06:00
Matthew Flatt
2a387ebba2 try to clarify the async-apply protocol for callbacks 2010-08-25 14:58:27 -06:00
Matthew Flatt
a04403a316 add GMT option to seconds->date 2010-08-25 14:58:27 -06:00
Robby Findler
bc1aeef3c0 calls gc before running each test 2010-08-25 13:37:34 -05:00
Robby Findler
1093399c1e added in a mode that prints the timing when finding all results 2010-08-25 12:56:20 -05:00
Jay McCarthy
45a8854398 Adding immutable hash operations to ASL 2010-08-25 10:36:36 -06:00
Jay McCarthy
368d711ae2 Optional arguments to hash table constructors in ASL 2010-08-25 10:36:34 -06:00
Robby Findler
1f830cc2c6 added a timing test that compares Racket and Redex 2010-08-25 10:39:49 -05:00
Robby Findler
d9e433d512 Rackety 2010-08-25 10:39:49 -05:00
Robby Findler
7955e50a3d Rackety 2010-08-25 10:39:49 -05:00
Robby Findler
283e9cfef3 oops, dont need this 2010-08-25 10:39:48 -05:00
Sam Tobin-Hochstadt
b08de170bc Add Futureof' type, types for future' and `touch' 2010-08-25 10:27:07 -04:00
Mike Sperber
00061e6bb9 Make `procedure-to-blame' applicable.
This unbreaks some applications of procedures with signature
violations.
2010-08-25 16:00:47 +02:00
Robby Findler
cda3d259ee added a file so drdr runs the test suites 2010-08-25 07:40:19 -05:00
Matthew Flatt
967ac7275f change default handin file suffix 2010-08-25 06:04:27 -06:00
Matthew Flatt
59a930f166 rackety printing for handin-server checker 2010-08-25 06:00:34 -06:00
Matthew Flatt
a662c679dc reflect bsl, etc. printer options for external use 2010-08-24 21:10:08 -06:00
Matthew Flatt
a19899898f change Scribble's interaction', etc. to use non-default current-print'
to format results, if one is installed in a sandboxed evaluator
2010-08-24 20:50:46 -06:00
Matthew Flatt
cf300b91b9 JIT-inline even?' and odd?' on fixnums 2010-08-24 19:29:20 -06:00
Robby Findler
5de6ff2ada Adjusts the prompt handling so that it submits expressions that signal
arbitrary read errors, but does not submit those that raise eof errors.
closes PR 11126
2010-08-24 20:06:45 -05:00
Vincent St-Amour
a4b0c69ec2 Fixed the type of file-position. 2010-08-24 16:58:21 -04:00
Kevin Tew
b86e48a567 Places: benchmark tests 2010-08-24 10:39:07 -06:00
Robby Findler
d98c5025cb adjusted the automatic compilation in drracket so that it only avoids compiling files in the main collects dir 2010-08-24 09:42:57 -05:00
Matthew Flatt
0b71f65ba9 fix rendering of constructor style struct value's first field 2010-08-24 07:19:15 -06:00
Matthew Flatt
0955ed6e8b fix custom printer attached to *SL structure types 2010-08-24 06:23:22 -06:00
Matthew Flatt
31f6a0da4e fix Scribble `racket' rendering of quotes
which used to trigger too much space after a quoted form
2010-08-24 06:05:29 -06:00
Matthew Flatt
68860526e5 doc x-ref clarifications 2010-08-24 05:39:47 -06:00
Matthew Flatt
434236e8c9 doc typo 2010-08-24 05:39:47 -06:00
Jon Rafkind
e077b87d50 fix PR 11123: 0-ary generator yield 2010-08-24 00:11:22 -06:00
Jon Rafkind
65c245cdc7 move purpose statements to the info files 2010-08-23 15:13:00 -06:00
Jon Rafkind
4bca9842f5 Make in-generator work when yield returns multiple values 2010-08-23 12:50:08 -06:00
Jon Rafkind
bdf98ebbe2 add README files for scribble directories 2010-08-23 10:06:45 -06:00
Robby Findler
611e04abda adjusted the expansion so that the references to "foo" in this ISL program:
(define-struct foo (x))

(: make-foo (Number -> foo))
(: foo-x (foo -> Number))

(define x (make-foo 5))
(foo-x x)

don't get colored the "not yet executed" color.
2010-08-23 10:23:34 -05:00
Kathy Gray
d3cab0a2ca Refocus window on clicking the error source. 2010-08-23 14:37:43 +01:00
Mike Sperber
a4e7ef3594 Push mixed' contracts down into lazy struct' contracts. 2010-08-23 14:40:21 +02:00
Mike Sperber
225a42b832 Pass back the procedure on certain signature violations.
Closes PR 11117.
2010-08-23 10:08:40 +02:00
Robby Findler
8d2db5f4bf fixed a bug found by random testing 2010-08-22 20:33:30 -05:00
Robby Findler
720a86052f improved crop so that it doesn't fail when the coordinates are out of range 2010-08-22 15:12:10 -05:00
Robby Findler
46e9a3b79b improved the image docs slightly 2010-08-21 15:07:43 -05:00
Robby Findler
0b1e89bb50 improved the integration between ->i and Shu-yu's contract optimization.
When calling this function:

   (contract (->i ([x integer?]
                   [y (x) (>=/c x)])
                  any)
             (λ (x y) x)
             'pos
             'neg)

before this change it took this much time (to call the function many times):

  cpu time: 1596 real time: 1606 gc time: 191

and after this change it takes this much time:

  cpu time: 791 real time: 794 gc time: 7

Of course, on the same machine, just calling (λ (x y) x) the same number of times
gives us back this:

  cpu time: 0 real time: 0 gc time: 0

sigh.

For perhaps another point of reference, this:

   (contract (-> integer? integer? any)
             (λ (x y) x)
             'pos
             'neg)

takes this much time:

  cpu time: 393 real time: 395 gc time: 0
2010-08-21 13:51:05 -05:00
Sam Tobin-Hochstadt
72f31ffec0 Use current-readtable as the base for the TR readtable.
Closes PR 1115.
2010-08-21 14:05:46 -04:00
Robby Findler
f1e38247e0 improved the error message for save-image
closes PR 11076
2010-08-20 17:39:45 -05:00
Robby Findler
32f1f1d8f1 the error window for check syntax now goes away when you Run or edit the definitions window
closes PR 11101
2010-08-20 17:39:45 -05:00
Robby Findler
d93fc805f3 maybe this will help with some of the race conditions showing up in drdr 2010-08-20 17:39:45 -05:00
Jay McCarthy
7f4aa41aac Upping check-dists timeout 2010-08-20 15:32:19 -06:00
Kevin Tew
0841b15cb8 props collects/tests/racket/benchmarks/places/place-channel.rktl 2010-08-20 12:48:43 -06:00
Jay McCarthy
d5247cd0f4 Running web page build and distribution checker in DrDr 2010-08-20 10:35:37 -06:00
Jay McCarthy
67b7961464 Making the distribution checker agnostic to the actual base name of the plt root 2010-08-20 10:35:37 -06:00
Jay McCarthy
54e16b18ff Fixing error message on different root installations 2010-08-20 10:35:36 -06:00
Jay McCarthy
9e2ee8ecc6 Fixing another print related test 2010-08-20 10:35:36 -06:00
Jay McCarthy
a8b0a7dce6 Adding zo size reporter test 2010-08-20 10:35:36 -06:00
Jay McCarthy
c9ded2d99b Being more careful with port resources 2010-08-20 10:35:36 -06:00
Robby Findler
7c3b8eadf8 adjusted the default code keywords to include racket/base 2010-08-20 09:19:14 -05:00
Robby Findler
22f2e18a99 Fixed a bug in provide/contract that caused it to lose the source location of the original contract, when .zo files were compiled 2010-08-19 23:12:33 -05:00
Sam Tobin-Hochstadt
3637073f7f Reduce require overhead. 2010-08-19 19:03:38 -04:00
Will M. Farr
82096abb1b Added interation forms for/vector, for*/vector, for/flvector, and for*/flvector and for-clause in-flvector. 2010-08-19 18:45:13 -04:00
Jay McCarthy
44b34c37a8 Small adjustment to Matthews change 2010-08-19 16:39:54 -06:00
Jay McCarthy
5eb8f181f6 Adding WebSocket stress test and improving fit output 2010-08-19 16:34:16 -06:00
Jay McCarthy
1f61e7eb7f Adding WebSocket example 2010-08-19 16:34:15 -06:00
Jay McCarthy
347e946548 Adding WebSocket support 2010-08-19 16:34:15 -06:00
Jay McCarthy
99e44effbe Exposing Web Server header helpers 2010-08-19 16:34:15 -06:00
Jay McCarthy
209d2a0cda Documenting md5 feature 2010-08-19 16:34:14 -06:00
Matthew Flatt
16f1dffe4c add `ssl-port?' and add missing docs for two other procs 2010-08-19 16:14:11 -06:00
Matthew Flatt
eb584b4ecd fix docs for tcp-addresses and udp-addresses 2010-08-19 16:13:50 -06:00
Matthew Flatt
43ecbe4837 rackety handin-server docs and other repairs 2010-08-19 15:56:07 -06:00
Matthew Flatt
7ee7106b2d fix handin-server reloading for ss<->rkt 2010-08-19 15:50:59 -06:00
Matthew Flatt
1437d47fda fix handin server's web-server wrapping to handle tcp-addresses on a listener 2010-08-19 15:01:58 -06:00
Matthew Flatt
5d584e5d26 doc typo 2010-08-19 13:21:59 -06:00
Matthew Flatt
f90c2c9b92 change PLAI test for to print values instead of write them 2010-08-19 11:52:15 -06:00
Jay McCarthy
6f272d2e6a Improving PLAI testing 2010-08-19 10:00:36 -06:00
Jay McCarthy
101026292c Typo 2010-08-19 09:17:45 -06:00
Jay McCarthy
d3f2925792 Updating guidelines 2010-08-19 08:56:46 -06:00
Jay McCarthy
d373f8eceb Setting responsible party 2010-08-19 08:56:46 -06:00
James Swaine
1a2c0546a6 current-future now returns #f if not inside a future, instead of null. Added documentation for current-future. 2010-08-19 09:36:25 -05:00
Matthew Flatt
50d5dc352e add missing test for *SL define-struct 2010-08-19 07:58:43 -06:00
Matthew Flatt
3ea28b0c72 adjust struct constructor expansion to transfer srcloc of use to expansion 2010-08-19 07:38:26 -06:00
Matthew Flatt
a7bc964c69 fix problem with binding of *SL struct-type name and application 2010-08-19 07:38:25 -06:00
Matthew Flatt
716949f499 change install-converting-printer to set print-as-expression to #f
and update docs to make sense relative to Racket's default printer
2010-08-19 07:38:25 -06:00
James Swaine
a41c9b882a Added (current-future) to the futures module (as an inlined, nonblocking primitive). 2010-08-18 23:33:22 -05:00
James Swaine
dac2bcaa20 Merge branch 'master' of pltgit:plt
Conflicts:
	src/racket/src/future.c
2010-08-18 22:23:13 -05:00
James Swaine
8675db4faa Added (current-future) as a non-blocking primitive to racket/future. 2010-08-18 22:15:19 -05:00
Robby Findler
3885223cee fixed an ->i bug 2010-08-18 19:30:36 -05:00
Matthew Flatt
e99c53eee8 change `define-type' to use #:reflection-name instead of prop:custom-write 2010-08-18 16:13:58 -06:00
Matthew Flatt
dafb9de74c add #:reflection-name option to struct form 2010-08-18 16:13:58 -06:00
Matthew Flatt
4299b12d5b fix pretty-print problems, especially related to the custom-write property 2010-08-18 16:13:57 -06:00
Robby Findler
2faca724e3 generalized the #:steps argument to play so different phases on an animation can take different amounts of time 2010-08-18 16:58:58 -05:00
Sam Tobin-Hochstadt
90eeef60d7 Provide -> in typed-scheme/no-check.
- Closes PR 10882
2010-08-18 16:37:32 -04:00
Sam Tobin-Hochstadt
510c80b700 Better printing for environments. 2010-08-18 16:37:32 -04:00
Kevin Tew
57bda136ea Places: prevent mastergc gen0.big_pages from leaking onto a places gen0.big_pages list 2010-08-18 13:53:08 -06:00
Jay McCarthy
9a31ac5363 Fixing formlet additions 2010-08-18 13:17:11 -06:00
Jay McCarthy
e6219740b8 Correcting problems in Horace's path 2010-08-18 13:17:11 -06:00
Jay McCarthy
3d43c7e7ac Initial versions from Horace Dynamite 2010-08-18 13:17:11 -06:00
Jay McCarthy
04d3a23e1c Removing unnecessary newlines and making tests newline accurate 2010-08-18 13:17:11 -06:00
Jay McCarthy
3041bc2870 Adding guidelines page, without link to it 2010-08-18 13:17:10 -06:00
Jay McCarthy
3be8e3ba86 A little documentation 2010-08-18 13:17:10 -06:00
Jay McCarthy
1aac3c8e53 Expanding stress library 2010-08-18 13:17:10 -06:00
Casey Klein
fbd2c3c86f Adds the feature requested in PR 10388 2010-08-18 13:19:12 -05:00
Casey Klein
5bbe748485 Tightens contract for reduction-relation->rule-names 2010-08-18 13:19:12 -05:00
Casey Klein
e0643611c3 Fixes "Reduce until ..." in stepper 2010-08-18 13:19:12 -05:00
Casey Klein
7daf515f65 Fixes a bug in `define-extended-language' 2010-08-18 13:19:12 -05:00
Casey Klein
85093fb536 Fixes a `plug' bug.
There are still problems with contexts, but this is an improvement.
2010-08-18 13:19:11 -05:00
Casey Klein
623925b5d7 Adds the delimited continuations model to examples 2010-08-18 13:19:11 -05:00
Casey Klein
cdf669fe5f Fixes one more bug in the model's `branch' verification 2010-08-18 13:19:11 -05:00
Casey Klein
9d022fed0d Fixes another bug in model's `branch' verification 2010-08-18 13:19:11 -05:00
Casey Klein
a858138843 Fixes a bug in model verifier's handling of `let-one' 2010-08-18 13:19:11 -05:00
Casey Klein
4cd2e8b01b Fixes a bug in model verifier's handling of `branch' 2010-08-18 13:19:11 -05:00
Robby Findler
fd109558de catch esc to close the about frame 2010-08-18 07:13:10 -05:00
Eli Barzilay
fc2ed3f8c6 Fixed extra headers being duplicated 2010-08-17 22:13:18 -04:00
Eli Barzilay
b832ff85cc Add stub description blurb 2010-08-17 22:09:35 -04:00
Eli Barzilay
219853ac6c long --force option 2010-08-17 21:58:59 -04:00
Eli Barzilay
4af01c750d Added Waterloo mirror, and some reformatting 2010-08-17 20:12:55 -04:00
Matthew Flatt
4945851df6 doc clarification 2010-08-17 17:42:11 -06:00
Matthew Flatt
d97ee68867 adjust Scribble to sync filename case with uses 2010-08-17 17:32:22 -06:00
Matthew Flatt
0d9f5016ba fix bytecode-writing inconsistencies related to syntax objects and paths
and improve organization of the docs
2010-08-17 17:18:24 -06:00
Robby Findler
2cb5de9581 added a few more contracts to those that get colored by check syntax
(and fixed a bug in the helper macros that support the coloring)
2010-08-17 11:41:21 -05:00
Robby Findler
672355f823 added for/fold to square-bracket default prefs 2010-08-17 10:40:14 -05:00
Mike Sperber
0139cfa87a Synch German string constants with latest. 2010-08-17 16:00:59 +02:00
Mike Sperber
f3c319a3f8 Follow terminology change, belatedly.
"Vertrag" -> "Signatur"
2010-08-17 15:10:11 +02:00
Matthew Flatt
9c0c42f24a fix ffi/unsafe/try-atomic interaction with exns and prompt tags 2010-08-15 11:02:30 -06:00
Robby Findler
8ece97219a a hack to work around what appears to be just a wrong way of doing things, but will ask Noel later.
The basic problem is that (with-check-info* '() (lambda () ...whatever...)) can, in some cases,
double the information that is recorded in a failed test case. Probably the right thing is
to use a parameter or something instead of using continuation marks directly.
2010-08-14 21:34:44 -05:00
Robby Findler
b56019c275 generalized check-exn so that you can supply a regular expression as the predicate (which matches the exception message) 2010-08-14 21:34:44 -05:00
Robby Findler
12b345dc99 improved the syntax error checking for ->i 2010-08-14 21:34:44 -05:00
Matthew Flatt
9dda6f5d6b doc clarification 2010-08-14 13:52:09 -06:00
Matthias Felleisen
b3525b4a2f remove the printf, closes 11094 2010-08-14 12:01:51 -04:00
Vincent St-Amour
550e07f78f Added labeled lines and arrows to unstable from Scott Owens. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
477dc43a9d Fixed typoes in the slideshow documentation. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
17e6f8a997 Added shapes with borders. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
cf692e986d Documented TR's behavior when mixing exactness. 2010-08-13 18:48:32 -04:00
Vincent St-Amour
3d071b479e Added a missing require. 2010-08-13 18:48:32 -04:00
Jay McCarthy
14fbd07b81 Setting responsibility 2010-08-13 15:06:14 -06:00
Jay McCarthy
fe91e997ee Adding stress testing library 2010-08-13 15:06:14 -06:00
Jay McCarthy
58b9c7a6e4 Fixing seqn-count 2010-08-13 15:06:14 -06:00
Jay McCarthy
7853c5c893 Making timing data more available 2010-08-13 15:06:14 -06:00
Jay McCarthy
fa576a5886 Fixing github links re samth 2010-08-13 15:06:13 -06:00
Jay McCarthy
339681018a Fixing pr11100 2010-08-13 15:06:13 -06:00
Noel Welsh
5a71a20af9 Merge branch 'master' of pltgit:plt 2010-08-13 17:54:20 +01:00
Sam Tobin-Hochstadt
6e489f8464 Fix variance of hash tables and parameters 2010-08-13 11:06:56 -04:00
Sam Tobin-Hochstadt
3359032ad5 Handle structs with special constructors and mutability.
Closes PR 11089.
2010-08-13 11:06:56 -04:00
Sam Tobin-Hochstadt
0c1dfd3c5e Require flat contracts in box/c, hash/c, and vector/c.
Closes PR 11085.
2010-08-13 11:06:56 -04:00
John Clements
215c8dc960 best guess on what keystrokes will trigger insert-()-pair under windows & unix. 2010-08-13 11:01:05 -04:00
John Clements
cfe503f1ce updated framework test framework:
- can now test multi-key sequences

- can now use tests with 'escape

- README changed .ss to .rkt

- added test cases for c:c;c:[
2010-08-13 11:01:04 -04:00
John Clements
0f0438479e modified key bindings to enable ()/[] toggling using c:c;c:[ 2010-08-13 11:01:04 -04:00
Robby Findler
a10cd9d14d improved the ->* docs 2010-08-13 09:54:51 -05:00
Robby Findler
bdd37c58f0 made the optional arguments clause itself optional for ->* 2010-08-13 08:14:13 -05:00
Robby Findler
120e6a25ee added #:pre and #:post to ->* 2010-08-13 07:05:27 -05:00
Robby Findler
4732e90b29 removed some commented out code (whose purpose was unclear) 2010-08-13 07:05:27 -05:00
Jay McCarthy
553648a5a6 Dropping _0 2010-08-12 19:51:05 -06:00
Stevie Strickland
a9f6ea69bf Fix creation of a reversed List type from ListDots substitution. 2010-08-12 17:46:39 -04:00
Jay McCarthy
debd6026f3 Fixing a few bugs from drdr 2010-08-12 14:54:48 -06:00
Jay McCarthy
fae0cb2c99 A few fixes to the documentation 2010-08-12 14:10:20 -06:00
Jay McCarthy
8c32de33c6 Adding sequence support for mlists and more sequence xrefs 2010-08-12 14:10:20 -06:00
Jay McCarthy
383465aa06 Removing reference to sequence/c 2010-08-12 14:10:20 -06:00
Jay McCarthy
2751ace762 Adding more sequence operators 2010-08-12 14:10:19 -06:00
Jay McCarthy
3fe91f0fdd Adding vector-set* and dict-set* exn tests 2010-08-12 14:10:19 -06:00
Jay McCarthy
d047557dc6 Adding dict-has-key? and updating unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
958c771ec8 Removing dict functions from unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
bdc26b53bb Adding dict-ref bang 2010-08-12 14:10:18 -06:00
Jay McCarthy
2d1787a309 Add dict-set* 2010-08-12 14:10:18 -06:00
Jay McCarthy
a8fc09b49a Adding dict-keys,values,->list 2010-08-12 14:10:18 -06:00
Jay McCarthy
f23daa3aea Rename hash-range and domain to keys and values 2010-08-12 14:10:17 -06:00
Kevin Tew
1ebdb6a90b Places: remove old code 2010-08-12 13:27:15 -06:00
Jay McCarthy
e06f0e78b2 Adding hash-set* and hash-set*bang 2010-08-11 17:39:48 -06:00
Jay McCarthy
fadfee7849 Normalizing docs a little 2010-08-11 16:49:04 -06:00
Jay McCarthy
58ad011ce9 Adding hash->list 2010-08-11 16:42:46 -06:00
Jay McCarthy
db87add6b7 Adding hash-domain and hash-range to racket/base 2010-08-11 16:37:46 -06:00
Jay McCarthy
928dfd6fa2 FTP tests without a network connection 2010-08-11 13:49:10 -06:00
Matthew Flatt
2f9431552e fix typo 2010-08-11 10:29:49 -06:00
Robby Findler
367779fd27 added contract-struct (like define-contract-struct, but with a
maker whose name does not begin with 'make-')
2010-08-10 22:20:33 -05:00
Robby Findler
ae1304789d oops 2010-08-10 19:57:22 -05:00
Robby Findler
1a3f2acf01 fixed preserve-stacktrace-information string constant; fix from Sergey Semerikov 2010-08-10 19:31:11 -05:00
Robby Findler
26187fed8f fixed a bug in the mzlib contracts test suite 2010-08-10 19:27:17 -05:00
Robby Findler
4341ce3c20 fixed props for syncheck 2010-08-10 16:52:27 -05:00
Robby Findler
58b0d8e93c added properties so that the check syntax obligation information works with ->i 2010-08-10 16:52:27 -05:00
Robby Findler
5fb1c730ba improved error message in the case where ->i is used as an identifier 2010-08-10 16:52:26 -05:00
Robby Findler
d15fc5c102 added naming to ->i contracts 2010-08-10 16:52:26 -05:00
Robby Findler
d7503195df fixed a bug where and/c (when given ho contracts) would check them in the wrong order 2010-08-10 16:52:26 -05:00
Sam Tobin-Hochstadt
02d9418f9a document match* 2010-08-10 15:56:15 -05:00
Matthew Flatt
6c8a914c80 support for speculatively atomic calls in ffi/unsafe/try-atomic 2010-08-07 20:49:23 -05:00
Matthew Flatt
8df33b629e fix default #:keep argument of _cprocedure 2010-08-07 20:40:42 -05:00
Matthew Flatt
4d1e97ec8d change start-atomic and end-atomic to disable breaks 2010-08-07 20:40:32 -05:00
Matthew Flatt
804ff115e7 fix `raco setup' reported name for Windows 2010-08-07 19:19:08 -06:00
Robby Findler
561d33fddd improved the name printing for between contracts 2010-08-07 14:35:08 -05:00
Robby Findler
98fb0e5b3a moved a bunch of tests into the official test suite. 2010-08-07 14:35:08 -05:00
Robby Findler
9d98533e23 cleaned up a few little things here and there to pass the last of the existing tests 2010-08-07 14:35:08 -05:00
Robby Findler
b5fad95e58 make the optimizer give up more agressively when it starts out with a completely unknown thing 2010-08-07 14:35:08 -05:00
Robby Findler
306ae096eb Fixed a bug in the eres handing (contracts where the dependent range variables are underscores) 2010-08-07 14:35:07 -05:00
Robby Findler
73177ceddc moving machines 2010-08-07 14:35:07 -05:00
Robby Findler
2347568a6c minor bug fixes 2010-08-07 14:35:07 -05:00
Robby Findler
9bc1b63ed4 added support for _ in range contracts
fixed a bug in blame assignment
2010-08-07 14:35:07 -05:00
Robby Findler
da9f5bd61a fixed a few bugs in the ->i implementation and the test suite. 2010-08-07 14:35:07 -05:00
Robby Findler
10b6e58dd0 added support for rest arguments 2010-08-07 14:35:07 -05:00
Robby Findler
c31de06cc0 added result contract checking (after refactoring argument checking to make that more straightforward), prepared for #:post condition checking 2010-08-07 14:35:07 -05:00
Robby Findler
88aafb52eb clarified the order of evaluation for contract expressions in ->i 2010-08-07 14:35:07 -05:00
Robby Findler
67f2a44fec changed the parsed structs to better exploit similarity between arguments and results 2010-08-07 14:35:07 -05:00
Robby Findler
6d9066eb22 got #:pre conditions working 2010-08-07 14:35:06 -05:00
Robby Findler
5922ceda74 improved parsing of #:pre and #:post for ->i (fixed bugs and added more checks to the syntax) 2010-08-07 14:35:06 -05:00
Robby Findler
c1b558e1a3 adjusted the syntax of ->i so that #:post and #:pre get a list of variables now 2010-08-07 14:35:06 -05:00
Robby Findler
3b431c6ff2 ->i now evaluates the arguments in the proper order 2010-08-07 14:35:06 -05:00
Robby Findler
d2894e7a8e added in a use of Shu-yu's opt/c to see if it helps (which it does for complex contracts) 2010-08-07 14:35:06 -05:00
Robby Findler
40cde743a9 Got to the point where I can run some timings to see how well ->i does.
Here are the results, each contract put on the same function, namely:
(λ (x y) (+ x y))

1: (-> number? (<=/c 0) any)
2: (->i ([x number?] [y (<=/c 0)]) any)
3: (->i ([x number?] [y (x) (<=/c x)]) any)
4: (->d ([x number?] [y (<=/c 0)]) any)
5: (->d ([x number?] [y (<=/c x)]) any)

Taking f1 as the baseline, these are the relative times for calling
that thing over and over in a loop, supplying -1 as both of the
arguments:

f2: 1.01x
f3: 4.15x
f4: 21.1x
f5: 21.5x
2010-08-07 14:35:06 -05:00
Robby Findler
599fe85a16 Got the first example of indy blame working 2010-08-07 14:35:06 -05:00
Robby Findler
9fcc157b0d this checkpoint causes racket to crash, with a segfault. run racket racket/contract/scratch.rkt to
see the error.
2010-08-07 14:35:06 -05:00
Robby Findler
4c240f2307 moving machines 2010-08-07 14:35:06 -05:00
Robby Findler
457248e9cc moving to a different machine (some progress on optional & keyword args) 2010-08-07 14:35:05 -05:00
Robby Findler
d14796c276 got first example working 2010-08-07 14:35:05 -05:00
Robby Findler
5217744740 rename 2010-08-07 14:35:05 -05:00
Robby Findler
efd72af3d6 switching machines 2010-08-07 14:35:05 -05:00
Robby Findler
d75536161c fixed bug in dependency checking for #:rest variables (and removed printfs) 2010-08-07 14:35:05 -05:00
Robby Findler
8f6080733f fixed some bad ->i test cases 2010-08-07 14:35:05 -05:00
Robby Findler
9e92a976a7 added in checking that dependent variables are all sensible 2010-08-07 14:35:05 -05:00
Robby Findler
8b05829717 switching machines 2010-08-07 14:35:05 -05:00
Robby Findler
64a1ddcda9 adjusted the syntax for ->i so that #:rest is not ambiguous anymore (added extra parens, deviating from ->d a little bit) and updated the test suite 2010-08-07 14:35:05 -05:00
Robby Findler
7352d86f1f improved check syntax's jump-to-definition so it scrolls to a more natural place 2010-08-07 14:35:04 -05:00
Robby Findler
79d0c581d4 moving machines 2010-08-07 14:35:04 -05:00
Robby Findler
561ac12a91 got started on the ->i parser 2010-08-07 14:35:04 -05:00
Robby Findler
3c70b9d2ab improved docs for ->i, added docs for the-unsupplied-arg and exported
and added docs for unsupplied-arg?.
2010-08-07 14:35:04 -05:00
Robby Findler
18e9d886e2 added an ->i test suite, based on the ->d one (doesn't test for indy-ness tho) 2010-08-07 14:35:04 -05:00
Robby Findler
a66fd7574d fixed a bug in the annotations for things like listof when they were used in a non-function position 2010-08-07 14:35:04 -05:00
Robby Findler
a524595af2 docs for ->i 2010-08-07 14:35:04 -05:00
Robby Findler
2b2fb3c07e renamed the contract obligation properties and added options to a few more contract combinators 2010-08-07 14:35:04 -05:00
Robby Findler
8e4b169583 check syntax now remembers the mode it was in last time and uses that next time
also, fixed a bug in the way modes were switch around (colors would not
be reset if there was nothing new to color)
2010-08-07 14:35:04 -05:00
Robby Findler
482481fff5 made a bunch of the contract combinators also propogate blame information
for use in check syntax
2010-08-07 14:35:03 -05:00
Robby Findler
18b8cde3e2 adjusted the annotations so that contracts can declare multiple parts
of themselves to be colored and then used that so that the #:pre-cond
and #:post-cond keywords on ->i contracts are colored.
2010-08-07 14:35:03 -05:00
Robby Findler
b664b04999 added property for internal contract dependencies to ->i 2010-08-07 14:35:03 -05:00
Robby Findler
74a0e49a4b Added properties so that the ->i contract now shows its obligation information 2010-08-07 14:35:03 -05:00
Robby Findler
1fd82ee28e adjusted the syntax checking to allow the new syntax of ->i (but still has the old ->d semantics) 2010-08-07 14:35:03 -05:00
Robby Findler
f5a190bf80 made a copy of the ->d contract implementation as a starting point for an implementation of ->i (sometimes, paper deadlines can be a Bad Thing...) 2010-08-07 14:35:03 -05:00
Robby Findler
4eb3df7094 various cleanups, including finishing up the client mode, string constants, and coloring of (known) identifiers 2010-08-07 14:35:03 -05:00
Robby Findler
b9ff546e83 now traverses from the bound occurrences to the binding ones for contract annotations 2010-08-07 14:35:03 -05:00
Robby Findler
e7bd94f2d2 adjusted check syntax to record the right-hand side of binding forms (when they are there) 2010-08-07 14:35:03 -05:00
Robby Findler
5a5da11314 added in unioning and a bit more coloring; checking in to prepare for some changes to the original check syntax (to support contract obligations better) 2010-08-07 14:35:02 -05:00
Robby Findler
b72a59d55c broke things up a little bit more and started in on the new contract traversal 2010-08-07 14:35:02 -05:00
Robby Findler
9b01650e83 broke up check syntax into multiple files 2010-08-07 14:35:02 -05:00
Robby Findler
f1e1887fee started on a better way to do the obligation coloring 2010-08-07 14:35:02 -05:00
Jay McCarthy
8a67fceb4a Added attributes to textarea-input based on patch from Horace Dynamite 2010-08-06 20:08:21 -06:00
John Clements
f86edf3c8e added message about OS behavior on (non-)reload of library 2010-08-06 20:44:14 -04:00
Jay McCarthy
7ec4821feb Increasing timeout 2010-08-06 12:41:04 -06:00
Vincent St-Amour
201aaa9090 Documented TR's behavior on literals. 2010-08-06 12:21:50 -04:00
Vincent St-Amour
0a45e0e361 More precise type for expt. 2010-08-06 11:09:04 -04:00
Vincent St-Amour
4d43c21565 Added a test for unboxed nested loops. 2010-08-05 17:21:54 -04:00
Vincent St-Amour
c653a8e655 Changed optimization order for reals in complex operations.
Made generated names more informative and updated tests accordingly.
2010-08-05 16:43:36 -04:00
Robby Findler
d7ff2ed665 two more adjustments (to triangle/sss examples) 2010-08-05 13:43:16 -05:00
Robby Findler
47055673e6 Adjusted the triangle examples to make them fit a little bit better in the documentation 2010-08-05 13:37:18 -05:00
Jens Axel Søgaard
657126c44e Merge remote branch 'origin' 2010-08-05 19:31:06 +02:00
Jens Axel Søgaard
a4a8af1fae Added images. 2010-08-05 19:30:43 +02:00
Jens Axel Søgaard
b83f255f30 new images for docs 2010-08-05 19:16:57 +02:00
Kevin Tew
35a65f90c2 Places: refactor place-channel use 2010-08-05 11:05:54 -06:00
Jens Axel Søgaard
08e8260449 Documentation for triangle/sss and friends 2010-08-05 18:22:21 +02:00
Jens Axel Søgaard
64c3a98e45 Added triangle/sss, triangle/ass, triangle/sas, triangle/ssa, triangle/aas, triangle/asa, and, triangle/saa. 2010-08-05 18:18:06 +02:00
Vincent St-Amour
500685c0f2 Fixed source location for for:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
b18f2353ca Generalize naturals to integers to minimize annotations on mutated variables. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
4cb7491309 Added opt-lambda:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
0b3c637f5d Added another tracing option to TR. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
416591b355 Fixed parsing of keyword types. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
b1e744b1e1 Fixed tests that used complex literals. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
1105e70b30 Unbox literals at expansion time. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
bdf84f371d Optimize coercion of integer literals. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
1fb68707fc Fixed a test. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
fb31a6556e Added optimization for make-polar 2010-08-05 09:04:22 -04:00
Vincent St-Amour
dbdbaed506 Fixed typechecking of imaginaries. 2010-08-05 09:04:21 -04:00
Matthew Flatt
80bd5c53b5 fix dist specs for source distribution 2010-08-05 06:25:44 -06:00
Blake Johnson
f4abd35f5c better traversal for more sharing in zo-marshal and some refactoring. 2010-08-04 17:09:57 -06:00
Kevin Tew
3744e224b7 Places: fix sending place channels over place channels 2010-08-04 13:23:00 -06:00
Eli Barzilay
5f5810cfea v5.0.1 stuff 2010-08-03 21:37:14 -04:00
Blake Johnson
9f571acb2d documentation for free-id-info and contract changes. 2010-08-03 15:40:41 -06:00
Blake Johnson
b062c900a1 cases for more complicated lexical renames 2010-08-03 15:40:41 -06:00
Vincent St-Amour
5fa6b1c139 Added technical term links to the optimizer documentation. 2010-08-03 14:57:42 -04:00
Vincent St-Amour
bce003fa18 Imaginaries can't be inexact complexes. 2010-08-03 14:51:24 -04:00
Matthew Flatt
656321dbcb add optional #:key' argument to tech' and `techlink'
to specify the defined technical term separate from the link content
2010-08-03 12:48:03 -06:00
Matthew Flatt
c8762ae877 add methods to text-field% to control the background color 2010-08-03 12:34:16 -06:00
Vincent St-Amour
82f976a4d9 Added a link to the optimization guide in the TR reference. 2010-08-02 21:33:31 -04:00
Vincent St-Amour
cb516081c7 Documented the optimizer. 2010-08-02 21:33:30 -04:00
Vincent St-Amour
b47a77dd57 Eliminate user-introduced boxing. 2010-08-02 21:33:30 -04:00
Blake Johnson
551ef5ba30 applying make-prefab-struct 2010-08-02 19:27:28 -06:00
Blake Johnson
7653ce037b another all-from-module fix 2010-08-02 19:26:32 -06:00
Sam Tobin-Hochstadt
39c2359006 Remove obselete docs.
Add docs for legacy forms.
2010-08-02 17:23:01 -04:00
Sam Tobin-Hochstadt
1ce4040cd2 define-struct:' -> struct:' in docs.
Fix typo.
2010-08-02 16:59:37 -04:00
Sam Tobin-Hochstadt
431ff8d794 Don't treat Error types as potentially non-regular. (Reported by SK) 2010-08-02 15:41:42 -04:00
Robby Findler
f793360586 fixed a bug reported by Todd on the mailing list (probably this is his bug anyways) 2010-08-02 13:01:27 -05:00
Robby Findler
621ccbc2b4 improved the language dialog's handling of the (quasi-) menu key shortcuts.
closes PR 11073 (hopefully)
2010-08-02 11:21:40 -05:00
Jay McCarthy
53ff7a1092 Continuing 11072 2010-08-02 10:05:17 -06:00
Jay McCarthy
00f5ffc22c Fixing typo re sk 2010-08-02 09:20:06 -06:00
Jay McCarthy
c7995e247e Fixes PR11072 2010-08-02 09:18:41 -06:00
Robby Findler
5e8e4c6ffc a change to hopefully improve the error message this file (sometimes) get in drdr 2010-07-31 10:29:07 -05:00
Robby Findler
f96ed0632a improved contract 2010-07-31 09:40:04 -05:00
Robby Findler
d2802a0ed7 whoops, PR 11065 was wrong 2010-07-31 09:39:44 -05:00
Robby Findler
ee3a837ee2 fixes the other aspect of PR 11062 2010-07-31 09:15:11 -05:00
Robby Findler
1b25f2241f closes PR 11065 2010-07-31 08:06:17 -05:00
Blake Johnson
63c6cc5d2c Added case in zo-marshal for prefab structs
Made quoted not-prefab so it isn't captured by prefab case
2010-07-30 15:44:52 -06:00
Blake Johnson
85fc01f693 documentation for zo-parse certificate information 2010-07-30 14:37:17 -06:00
Blake Johnson
80c6ba482d better certificate handling in zo-parse and zo-marshal 2010-07-30 14:37:17 -06:00
Kevin Tew
6c2e1fa34f Parallel build: improved error handling 2010-07-30 11:42:33 -06:00
Matthew Flatt
0e8af6bc5d fix acc/mut error msgs from `define-struct' in teaching languages
Merge to 5.0.1
 Closes PR 11062
2010-07-30 11:16:32 -06:00
Eli Barzilay
14de7399bd typo 2010-07-30 04:20:46 -04:00
Vincent St-Amour
c4ba6b6038 Added some reflection functions to Typed Racket. 2010-07-29 19:11:20 -04:00
Vincent St-Amour
27f8279711 Extended use-site analysis to look through trivial rebindings, to support for loops. 2010-07-29 18:29:59 -04:00
Vincent St-Amour
914f142f4f Fixed types of let loop lambdas. 2010-07-29 18:29:59 -04:00
Vincent St-Amour
260de85a6e Make sure that let-bound functions don't escape through a rhs before we change their interface. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
435407b37a Fixed over-generous pattern matching. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
b58461da2d Fixed a bug that caused the let optimizations to choke on TR-introduced code. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
f08456cf07 Extended unboxing of let-bound functions to support let loops. 2010-07-29 18:29:57 -04:00
Vincent St-Amour
855928eb7b Fixed a bug in the complex use-site analysis. 2010-07-29 18:29:57 -04:00
Vincent St-Amour
4633a2a30a Refactoring of the call-site correction code. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
29b9eb389d Changed optimization order, to avoid potential conflicts. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
eed20f7c3a Fix for escaping functions. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
3e9e5560bf Be more aggressive when unboxing let bindings. 2010-07-29 18:29:54 -04:00
Vincent St-Amour
bb14424918 More tests for unboxed args of let-bound functions. 2010-07-29 18:29:54 -04:00
Vincent St-Amour
defe96a148 Fixed a bug with functions with unboxed complex and non-complex args. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
9d471df8b9 Added unboxed arguments to let-bound functions. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
1d758ee782 Added an option to see the result of the optimizer before compiling. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
27f0e50d53 Register type of loop lambdas generated by the for macros. 2010-07-29 18:29:52 -04:00
Vincent St-Amour
b0d299d1b8 Added unboxed letrec-syntaxes+values bindings. 2010-07-29 18:29:52 -04:00
Vincent St-Amour
8dc23d43eb Added unboxed letrec bindings. 2010-07-29 18:29:52 -04:00
Matthew Flatt
78751b982a fix doc typo 2010-07-29 06:56:30 -05:00
Matthew Flatt
33e3dac94e add example to scribble/bnf docs 2010-07-29 06:56:30 -05:00
Blake Johnson
2dfd340031 added another case for all-from-module renames 2010-07-28 14:45:07 -06:00
Blake Johnson
8b195d1c3c closing stderr in zo-test 2010-07-28 14:42:48 -06:00
Robby Findler
2309856e2a from commentary following up in PR 11054 2010-07-28 15:14:08 -05:00
Casey Klein
9e41ab031f Cleans up the debugging advice section 2010-07-27 15:43:01 -05:00
Blake Johnson
53fdc09e7a Do not use CPT_ESCAPE for every CPT_QUOTE, instead if it was a protect-quote, then just put the CPT_QUOTE in. 2010-07-27 13:39:43 -06:00
Robby Findler
f8f3ddbc94 typo. closes pr 11052 2010-07-27 14:38:43 -05:00
Jay McCarthy
bc647ae828 Disabling helper running in DrDr 2010-07-27 11:57:08 -06:00
Jay McCarthy
8d36dfad81 Fixing parts of zo-marshal re protect-quote; parallelizing zo-test; there is no the path error again in zo-marshal though 2010-07-27 11:10:54 -06:00
Eli Barzilay
f46144d5d3 reader examples typo 2010-07-27 10:15:40 -04:00
Matthias Felleisen
6a7801c523 to-draw for images in universe doc; fixes 11050 2010-07-27 08:41:13 -04:00
Matthew Flatt
bd0192d22d revised docs for -j flag to `raco setup'
Glad to see the docs, but revised for the following reasons:
  * define a meta-variable like `n' before using it
  * typeset meta-variables specially, usually as a Racket variable
  * 'processor-count' needed a `for-label' import for the hyperlink
  * use @exec{} for `make install', because it's a command rather
    than plain English
  * although `PLT_SETUP_OPTIONS' was introduced for `-j', it makes
    sense in general; revising the prose and moving to the end of
    the bullet makes that more clear (but good job including the
    index entry)
  * used `env' so that the example command line works for more shells
2010-07-26 15:08:49 -05:00
Matthew Flatt
1a84aecc42 doc typo 2010-07-26 14:53:45 -05:00
Matthew Flatt
93183284f7 raco' supports relative module paths in raco-command' "info.rkt" entries 2010-07-26 14:53:45 -05:00
Kevin Tew
ae4d2639dd Parallel-build docs 2010-07-26 12:25:58 -06:00
Jay McCarthy
28432037af Fixing up a few things in zo-parse/etc 2010-07-26 12:18:01 -06:00
Blake Johnson
8eeed89982 zo-marshal wrap fixes, optional port for zo-parse 2010-07-26 12:06:02 -06:00
Robby Findler
46ce202845 adjusted German and French translations 2010-07-26 11:51:43 -05:00
Sam Tobin-Hochstadt
dba04c8aea Add @nocopyright option to scribble/sigplan. 2010-07-26 11:43:33 -04:00
Matthew Flatt
7cb461371a fix doc typo 2010-07-26 09:43:55 -05:00
Matthew Flatt
264ec77abd another fix for CM+DrRacket interaction 2010-07-26 09:43:55 -05:00
Robby Findler
a63e811126 removed "JIT" since it was wrong 2010-07-26 09:39:53 -05:00
Vincent St-Amour
4803eafa67 Fixed a bug with exact complexes. 2010-07-25 22:15:18 -04:00
Eli Barzilay
7cdb5787e5 properly fix the readme issue 2010-07-25 21:14:46 -04:00
Vincent St-Amour
1b998f25e5 Fix to tolerate complexes of unknown exactness inside inexact-complex
expressions.
2010-07-25 20:13:36 -04:00
Robby Findler
83cde5c8fb got rid of some uses of collection-path 2010-07-25 15:15:57 -05:00
Matthew Flatt
5f1aa418f3 add collection-file-path and splace collection trees at the file level 2010-07-25 11:01:09 -05:00
Matthew Flatt
4359783d8b fix CM+DrRacket cdr bug 2010-07-25 06:17:23 -05:00
Eli Barzilay
af6364a58c Fix sha1-truncation, by removing it.
Usually, the "%h" format should result in an abbreviated sha1, but it
looks like getting it through `git archive' returns the full thing
rather than the truncated version.  So avoid the substring for now, and
find out if it's a git bug or not.
2010-07-25 05:01:44 -04:00
Eli Barzilay
82cba3fad0 One more README occurrence 2010-07-25 04:13:27 -04:00
Eli Barzilay
1eac3e1d28 Show only first 10-character prefix of the sha1. 2010-07-25 04:13:27 -04:00
Eli Barzilay
9074bf1992 Typo in Matthias's name 2010-07-25 04:13:27 -04:00
Eli Barzilay
1417caac07 Minor edits & typos 2010-07-25 04:13:27 -04:00
Kevin Tew
81c4275220 Fix cross references 2010-07-24 23:06:43 -06:00
Matthew Flatt
787bd61e33 fix mismatch between five.rkt code and Guide prose
Merge to 5.0.1
2010-07-24 20:43:17 -05:00
Matthew Flatt
96d528db9e fix Scribble Latex rendering of consecutive dashes and quotes 2010-07-24 20:43:17 -05:00
Robby Findler
3db5c5173a Merge branch 'master' of git:plt 2010-07-24 19:58:27 -05:00
Robby Findler
87e502e2a3 rackety 2010-07-24 19:58:18 -05:00
Vincent St-Amour
ec39ea5f33 Added one more test for unboxed let bindings. 2010-07-24 17:01:23 -04:00
Kevin Tew
1111c48fdb Fix latex doc generation 2010-07-24 09:57:36 -06:00
Matthew Flatt
57d3dd7df7 port techreports page to Racket 2010-07-23 22:28:47 -05:00
Vincent St-Amour
80b6ef7dd1 The optimizer now ignores code that is inside a with-handlers form,
since it would be typechecked in an unusual manner.
2010-07-23 18:52:47 -04:00
Vincent St-Amour
5d86813267 Fixed a test that could not work because of shadowing in hand-optimized code. 2010-07-23 18:52:46 -04:00
Vincent St-Amour
5892ef2fad Fixed unboxing of let bindings. 2010-07-23 18:52:46 -04:00
Vincent St-Amour
12ce9abda6 Fixed typo. 2010-07-23 18:52:45 -04:00
Vincent St-Amour
82b064a520 The optimizer now ignores expressions ignored by the typechecker. 2010-07-23 18:52:44 -04:00
Vincent St-Amour
ea580e6ff8 Added a test to the optimizer. 2010-07-23 18:52:43 -04:00
Vincent St-Amour
83987fffac let bindings of inexact-complex numbers can be replaced by bindings
for each of their components.

This allows unboxing of intermediate results that are bound and only
ever used in positions where they would be unboxed.
2010-07-23 18:52:42 -04:00
Vincent St-Amour
063b87697a Optimized extracting parts of inexact complexes. 2010-07-23 18:52:42 -04:00
Vincent St-Amour
0493e6f762 Refactoring of the optimizer. 2010-07-23 18:52:41 -04:00
Matthew Flatt
82588438c2 fix `enter!' reloading on a ".ss" path 2010-07-23 14:14:42 -05:00
Sam Tobin-Hochstadt
b8df3839e6 This file sometimes errors. 2010-07-23 15:11:10 -04:00
Sam Tobin-Hochstadt
5bb730f72c Optimize (apply + (map f l)) to avoid the intermediate list. 2010-07-23 14:11:40 -04:00
Kevin Tew
d640add2b1 Parallel Build: raco setup COLLECT fix 2010-07-23 10:08:48 -06:00
Kevin Tew
d724514a74 Fix hang on error in parallel build 2010-07-22 19:32:52 -06:00
Matthew Flatt
7c4eddc708 fix `file-stamp-in-paths', which affects DrRacket's auto compilation
Merge to 5.0.1
2010-07-22 18:46:35 -05:00
Jay McCarthy
407dcee206 Adding match to ASL 2010-07-22 15:39:53 -06:00
Jay McCarthy
eeada45868 Fixing error string 2010-07-22 15:12:07 -06:00
Jay McCarthy
9eb053d4db Adding define-datatype to ASL 2010-07-22 11:36:04 -06:00
Kevin Tew
5bb2e148de Parallel docs build 2010-07-22 02:39:57 -06:00
Noel Welsh
74dd59e963 Add missing SRFI-41 and SRFI-98 to tests 2010-07-22 04:45:49 +01:00
Vincent St-Amour
ca106a4134 Replaced the safe specialized nbody benchmark by the unsafe version. 2010-07-21 21:09:43 -04:00
Vincent St-Amour
0ee0886cab Optimizations on one-argument cases of arithmetic operations. 2010-07-21 21:09:43 -04:00
Vincent St-Amour
4e944f73ab Added optimization for string-length and bytes-length. 2010-07-21 21:09:42 -04:00
Vincent St-Amour
d6ce6e664f Added box optimizations. 2010-07-21 21:09:42 -04:00
Vincent St-Amour
234e8c363c Improved closure properties of bitwise-and. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
c4ae44123f Bytes are fixnums. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
d078305a59 Improved behavior of coercions with n-ary arithmeric operations. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
a31d7b60c8 Added type signatures for operations on inexact complexes and floats. 2010-07-21 21:09:40 -04:00
Vincent St-Amour
b13075a1c0 Changed the interface to typed racket's test harness. 2010-07-21 21:09:40 -04:00
Vincent St-Amour
47195410cb Added optimization for zero?. 2010-07-21 21:09:40 -04:00
Matthew Flatt
5d7f044488 change mrlib/image-core to use pen-list% cap and join support 2010-07-21 16:19:12 -06:00
Matthew Flatt
fa68e23c37 add pen and cap support to pen-list% 2010-07-21 15:50:22 -06:00
Matthew Flatt
90ec44f65c CM: report bad dependencies clearly; fix file-stamp-in-paths
for when `use-compile-file-paths' has multiple subpaths
  Probably merge to 5.0.1
2010-07-21 15:50:22 -06:00
Matthew Flatt
f1dc3bf06e fix doc typo 2010-07-21 15:50:22 -06:00
Casey Klein
ae99d4e5bc Adds a `apply-reduction-relation*' example to the docs 2010-07-21 08:46:28 -05:00
Casey Klein
ad308e32f1 Removes undocumented, unmaintained random testing form 2010-07-21 08:46:27 -05:00
Casey Klein
541a0c4ecb Adds #:prepare keyword to random testing forms 2010-07-21 08:46:27 -05:00
Robby Findler
392d22ff3c props 2010-07-21 06:31:31 -05:00
Robby Findler
6cd277a36f fixed a bug in the saving of bitmaps (and along the way added some randomized tests that found a few other things)
Please merge to release branch.
2010-07-20 22:59:52 -05:00
Matthew Flatt
6ffa068e1e fix use of the second argument to in-bib 2010-07-20 14:02:57 -06:00
Jay McCarthy
77b6709da1 Adding fake lambdas to get arrows on clauses. 2010-07-20 13:59:38 -06:00
Matthew Flatt
b71940bfbf fix doc typo
Closes PR 10881
 Merge to 5.0.1
2010-07-20 10:36:52 -06:00
Matthew Flatt
59de3b4f5e fix doc typo
Closes PR 10905
 Merge to 5.0.1
2010-07-20 10:35:00 -06:00
Matthew Flatt
8f15f04bd5 fix error message for (cons [else])
Closes PR 10910
 Merge to 5.0.1
2010-07-20 10:33:55 -06:00
Matthew Flatt
8dfe2a6a91 fix doc typo
Closes PR 10917
 Merge to 5.0.1
2010-07-20 10:24:34 -06:00
Matthew Flatt
4bd97ae80e fix uses of `scheme' in the Scribble style guide
Closes PR 10999
 Merge to 5.0.1
2010-07-20 09:33:15 -06:00
Matthew Flatt
7cbe584fbc fix mistakes related to -X and `make install'
Merge to 5.0.1
2010-07-20 07:28:07 -06:00
Matthew Flatt
b1efcd1fc2 fix non-in-place install by propagating collects path to subprocesses
Merge to 5.0.1
2010-07-20 07:15:31 -06:00
Casey Klein
310f9ce05a Makes it a syntax error for a `where' clause to reuse a pattern variable at a different depth 2010-07-20 07:53:16 -05:00
Casey Klein
72b98b77fb Fixes a bug with `where' clauses 2010-07-20 07:53:16 -05:00
Casey Klein
8eb25bb2b9 Adds a #:attempt-size keyword to the random testing forms 2010-07-20 07:53:16 -05:00
Casey Klein
0477125354 Documents #:print? keyword for check-reduction-relation and check-metafunction 2010-07-20 07:53:16 -05:00
Casey Klein
253641a03e Fixes minor bug affecting check-reduction-relation 2010-07-20 07:53:16 -05:00
Matthew Flatt
ce03a34318 another ss->rkt repair to exe creator
Merge to 5.0.1
2010-07-20 06:37:02 -06:00
Matthew Flatt
5cc0baa01e extend decompiler to handle #%variable-reference 2010-07-20 06:35:58 -06:00
Matthew Flatt
f602d11a7f raco exe: fix missing ss->rkt conversion and remove debugging printf
Merge to 5.0.1
2010-07-19 14:00:23 -06:00
Jay McCarthy
5417d7a5b7 Fixing path-only documentation and adding new test case 2010-07-19 13:56:01 -06:00
Robby Findler
5e007f7886 added rktl and rktd as owned by drracket (under mac os x) 2010-07-17 20:38:05 -05:00
Matthew Flatt
1ea0880f65 add missing test for continuation change 2010-07-16 20:55:07 -06:00
Matthew Flatt
fd5213b0ef typo in foreignobjc docs
Closes PR 11038
2010-07-16 20:43:22 -06:00
Vincent St-Amour
8aa4fae613 Added whitespace to the typed racket test harness. 2010-07-16 19:08:21 -04:00
Vincent St-Amour
8563f02ba8 Don't abort typed racket's tests if the main tests fail. 2010-07-16 19:08:21 -04:00
Vincent St-Amour
60bfce14bc Fixed unsafe optimization that considered floats as complexes. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
01c170c52f Fixed a segfault in the nbody benchmark. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
b8b852dbc1 Added a test for inexact imaginaries. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
3dab2fbbfc Fixed benchmarks to typecheck even when not-really-dead code is typechecked. 2010-07-16 19:08:19 -04:00
Vincent St-Amour
4d5b50dee9 Further fixes in overlap checking.
Rhss of code dispatching on overlapping structs are no longer
considered dead, and as such, are now typechecked.

Had to fix a test that passed only because some not-really-dead code
was not being typechecked.
2010-07-16 19:08:19 -04:00
Stevie Strickland
654b7df1de Two fixes in overlap checking.
- Names were not being resolved, so a superstruct name and substruct name
   could be seen as non-overlapping.
 - Struct parents were not checked in the overlapping algorithm.
2010-07-16 19:08:19 -04:00
Vincent St-Amour
8d6230956d Documented the optimizer. 2010-07-16 19:08:18 -04:00
Jay McCarthy
ec487fac4c Slightly improving error message on test--> failure 2010-07-16 16:08:31 -06:00
Vincent St-Amour
fc29e7e856 Added mutable pair optimizations. 2010-07-16 12:22:16 -04:00
Vincent St-Amour
f21454e711 Fixed an infinite loop. 2010-07-16 12:22:16 -04:00
Vincent St-Amour
c587038b33 The imaginary parts of reals are ignored when doing complex division. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
443d8b9f91 Fixnums and integers can now be coerced for complex operations. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
c645aa7ebc The imaginary parts of inexact reals are ignored when doing complex multiplication. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
b0788372ea Fixed bugs in the tests. 2010-07-16 12:22:14 -04:00
Vincent St-Amour
566aeedb59 Better error reporting by the optimizer's test harness. 2010-07-16 12:22:14 -04:00
Vincent St-Amour
7fb1b41a28 The optimizer's test harness now makes sure that optimized and
non-optimized versions of the same code evaluate to the same thing.

Unfortunately, this leads to a lot of code duplication. We can't
abstract over optimization like we do for the benchmarks since the
wrapper module would interfere with testing expanded code for
equality.
2010-07-16 12:22:14 -04:00
Vincent St-Amour
748e9e47ad The imaginary parts of inexact reals are ignored when doing complex
addition or subtraction.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
025af5b815 Added coercions for floats with unboxed complex operations.
However, this generates superfluous operations involving their
imaginary part of 0.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
fff71e6a1d Enabled optimization of complex conjugate at the top level of complex operations. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
063211d922 Added unboxed complex conjugate. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
0b0da84eba Added optimizations for iterating over vectors and strings. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
1e550139aa Added dead code elimination. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
58fe07ad70 Better internal error reporting. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
b7229487a5 Various fixnum unsafe operations improvements. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
4e6fc3154b Added a test for cross-module struct optimization. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
4a8113eac6 Added types for sequence functions. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
85b96a98b3 Fixed the type for fxrshift. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
8c840a2282 Added types for byte-string I/O functions. 2010-07-16 12:22:09 -04:00
Vincent St-Amour
3dbbd6d3fc Added types for integer/bytes functions. 2010-07-16 12:22:09 -04:00
Vincent St-Amour
abee5a4db7 Added type for collect-garbage. 2010-07-16 12:22:09 -04:00
Jay McCarthy
c9ccf6d48b Adding all hash prims per SK 2010-07-16 09:43:03 -06:00
Matthew Flatt
8cb0b6fd7b fix relative URLs in single-page Scribble HTML output
Merge to v5.0.1
2010-07-16 03:38:28 -06:00
Jay McCarthy
1b62a02e5a Updating documentation for PR11036 fix 2010-07-15 15:59:15 -06:00
Blake Johnson
8df94dd746 handling top-level-renames and mark-barriers 2010-07-15 15:53:02 -06:00
Jay McCarthy
d17deb5fef Adding hash table functions to ASL 2010-07-15 15:45:54 -06:00
Jay McCarthy
caca804615 Adding subsections to HTDP language primops docs 2010-07-15 15:45:54 -06:00
Jay McCarthy
f72a71c67f Fixing advanced language prim ops 2010-07-15 15:45:54 -06:00
Jay McCarthy
1dfb50460a Revert "Do not actually use dependent contracts in provide/doc if there is no dependency"
This reverts commit 334978a8e4.
2010-07-15 10:23:06 -06:00
Jay McCarthy
80b6ceeff1 Fixes PR11024.
The problem was that when the connection is closed its custodian is shutdown, thus killing the thread that was going to bring the server down. The difference between curl and the browser was that even though they both use HTTP/1.1, the browser actually leaves the connection open longer.
2010-07-15 10:14:16 -06:00
Jay McCarthy
334978a8e4 Do not actually use dependent contracts in provide/doc if there is no dependency 2010-07-15 09:52:30 -06:00
Jay McCarthy
d9e6eb1d8b Silly test push to trigger DrDr 2010-07-14 16:14:21 -06:00
Jay McCarthy
bb94d87c30 Fixing options (bad email instructions and no docs) 2010-07-14 15:20:48 -06:00
Jay McCarthy
4c392788ee Using all available cores 2010-07-14 14:39:33 -06:00
Jay McCarthy
f5df45e835 Sending to nobody not unknown 2010-07-14 14:39:33 -06:00
Eli Barzilay
d162667da5 Use (file "...extra-file...") in `dynamic-require'. 2010-07-14 14:36:53 -04:00
Eli Barzilay
89062a4005 Clarify announce mailing list 2010-07-14 13:27:18 -04:00
Eli Barzilay
fdcc87a14d pre pages should be working now.
* Remove all uses iplt from svn, replaced with a new iplt repository in
  git.

* The previous approach to patching pre html files wasn't robust enough,
  in case of a problem in the web page build things could be left with
  the raw html pages.  Replace that with a better solution, which
  generates the web pages earlier and then uses them to patch the html
  files.

* Add the drracket.org redirection page to the distribution list.

* Fix a small bug in the git intro page css.
2010-07-14 12:34:16 -04:00
Eli Barzilay
583abebb1a Better sources (use unicode and `p*'). 2010-07-14 12:34:16 -04:00
Matthew Flatt
32552fc4c2 revert cm refactoring
Reverts commit fe60da72c8.

 Something about the recfatoring was broken. For example, modify
 "racket/contract.rkt" and then run `raco setup -D -j 1 racket'.
 Another `raco setup -D -j 1 racket' re-builds a file in
 "mred", but a second run shouldn't have built anything. (Using
 `-j 1' demonstrates that it's not related to parallel builds.)
 Reverting the refactoring fixes the problem.

 I don't know what the bug was, but Kevin says that the refactoring
 wasn't needed after all.
2010-07-14 10:05:51 -06:00
Casey Klein
2025c27475 Fixes bug with "noclear" rewind. 2010-07-14 09:52:50 -05:00
Casey Klein
f786f24ac5 Makes let-rec verification match the implementation 2010-07-14 09:52:50 -05:00
Casey Klein
bc511912a4 Makes `let-one' verification match VM 2010-07-14 09:52:50 -05:00
Casey Klein
514f4e2e4b Restricts bytecode cycles to begin with proc-consts, as in the real machine. 2010-07-14 09:52:50 -05:00
Mike Sperber
de94854243 Unbreak stepper tests.
... via a spectacularly ugly hack.
2010-07-14 14:07:13 +02:00
Matthew Flatt
90b586365f upgrade to latest libffi from git repo (between v3.0.9 and v3.0.10) 2010-07-13 21:12:59 -06:00
Matthew Flatt
a306a646e6 fix build for disabled FFI 2010-07-13 16:07:03 -06:00
Matthew Flatt
94799247ee add file/sha1 and use it in openssl/sha1 when OpenSSL fails to load 2010-07-13 16:07:03 -06:00
Matthew Flatt
95dd131e93 use msg-send table atomically 2010-07-13 16:07:02 -06:00
Ryan Culpepper
87b1ec35f3 syntax/parse: work around hiding issue in macro stepper 2010-07-13 15:34:34 -06:00
Ryan Culpepper
79a06deb79 Added uses of internal-definition-context-apply from unstable/syntax 2010-07-13 12:07:48 -06:00
Ryan Culpepper
07f57aac9b Added uses of unstable/struct 2010-07-13 12:07:47 -06:00
Ryan Culpepper
df4e37fe08 macro-stepper: small doc update 2010-07-13 09:49:46 -06:00
Ryan Culpepper
4693abf074 macro-stepper: re-enabled block test 2010-07-13 09:38:52 -06:00
Ryan Culpepper
e36c964a9a macro-stepper: updated tests 2010-07-13 09:22:52 -06:00
Ryan Culpepper
b8bf5c571a macro-stepper: add support for #%stratified-body 2010-07-13 09:22:51 -06:00
Ryan Culpepper
9b03e38409 macro-stepper: switched to racket in hiding policy, labels 2010-07-13 09:22:51 -06:00
Ryan Culpepper
cf195b633b macro-stepper: correctly render new letrec transformation 2010-07-13 09:22:51 -06:00
Mike Sperber
9abdc72dad Unbreak doc build of image.scrbl. 2010-07-13 17:16:13 +02:00
Mike Sperber
450109f061 Merge changes to scheme-tests.rkt into racket-tests.rkt. 2010-07-13 17:15:50 +02:00
Mike Sperber
5f25c239f2 Merge remote branch 'local-plt/master'
Conflicts:
	collects/deinprogramm/define-record-procedures.scm
	collects/test-engine/scheme-tests.rkt
	collects/test-engine/test-display.scm
2010-07-13 17:13:30 +02:00
Eli Barzilay
51d2417cf5 Intro text done, hopefully. 2010-07-12 21:41:34 -04:00
Eli Barzilay
fb968d1d34 Added a page for drracket.org. 2010-07-12 21:41:34 -04:00
Eli Barzilay
6158e24d84 Add a convenient macro for sections, and some sequence functions 2010-07-12 21:41:33 -04:00
Eli Barzilay
e54d7c0806 Add some newlines to make htmls more readable (and debuggable) 2010-07-12 21:41:33 -04:00
Eli Barzilay
fa8129b44d fix references to pre 2010-07-12 21:41:33 -04:00
Eli Barzilay
5b6b3f3bac Delay the generation of the button script, so it gets the right download url. 2010-07-12 21:38:53 -04:00
Eli Barzilay
bb6a109e98 guide typo 2010-07-12 21:38:52 -04:00
Eli Barzilay
14d181ddef minor typo fix 2010-07-12 21:38:52 -04:00
Eli Barzilay
0b9409d3b6 Reformat the code to be more readable. 2010-07-12 21:38:01 -04:00
Matthew Flatt
818ac8f712 fix bug in new int-def parsing 2010-07-12 18:58:38 -06:00
Matthew Flatt
768a3721f9 add async-apply support to FFI 2010-07-11 14:59:40 -06:00
Robby Findler
41cfcbe862 rewrote an ->d contract so that it would work with a let*-style scoping 2010-07-10 10:01:25 -05:00
Robby Findler
476dd36eec modified the draw-button-label contract so that it would work with a let*-style scoping for ->d 2010-07-10 10:01:25 -05:00
Robby Findler
f5c18d3300 removed more unnecessary ->d's 2010-07-10 10:01:24 -05:00
Robby Findler
f5310b2908 removed unnecessary ->d contracts (they were actually just -> contracts), plus a little Racketying that I missed in the last commit. 2010-07-10 10:01:24 -05:00
Robby Findler
1f89bea08d Rackety 2010-07-10 10:01:24 -05:00
Matthew Flatt
49ad309630 allow full continuations to escape past a continuation barrier 2010-07-10 07:31:58 -06:00
Matthew Flatt
52d04449a1 improve racket/serialize to handle cycles with mutable prefabs 2010-07-09 14:19:59 -06:00
Robby Findler
0a7c65d066 improved the code that determines if an identifier is a known predicate or if it is some unknown thing 2010-07-09 15:11:02 -05:00
Robby Findler
99c563ac50 fixed a bug in the way the gui was reset when editing the definitions window 2010-07-09 15:03:41 -05:00
Robby Findler
0d59557f3b added a (stupid) function for determining the obligations of a contract 2010-07-09 15:03:41 -05:00
Robby Findler
e381814d7e set up support for contract obligation information in drracket (altho the actual
function that computes the obligation is currently random)
2010-07-09 15:03:41 -05:00
Robby Findler
f7c1a97c0b Added syntax properties to provide/contract so that the contracts on exported variables can be recovered from the fully expanded program. 2010-07-09 15:03:41 -05:00
Sam Tobin-Hochstadt
e28b60e44f remove debugging printf 2010-07-09 14:06:46 -04:00
Sam Tobin-Hochstadt
d030d0631d Fix missing unquote 2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
a84796d8d7 add variance helper functions 2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
c6fb95d44d add `make-constant' 2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
898c92eb1e generalize inferred types for invariant positions 2010-07-09 13:52:39 -04:00
Matthew Flatt
bf6db901c6 fix props 2010-07-09 11:07:48 -06:00
Matthew Flatt
cdf67d884f fix info-domain updating to recognize "info.ss" in addition to "info.rkt"
which solves the problem of forgetting a Planet-based tool when a
 new Planet-based tool is installed (if the old tool used "info.ss"
 instead of "info.rkt")
2010-07-09 10:23:05 -06:00
Matthew Flatt
20bb4a8dfa change plt-single-installer to not create processes 2010-07-09 10:22:38 -06:00
Matthew Flatt
195b37831b fix `planet'-path bug in module-name resolver for generated eecutables 2010-07-09 09:48:41 -06:00
Matthew Flatt
41551a4987 adjust raco planet help output to fit in 80 columns 2010-07-09 06:44:34 -06:00
Matthew Flatt
c7c8f56e11 fix validation of module .zo exp-time content, and fix zo-marshal 2010-07-08 17:17:42 -06:00
Vincent St-Amour
8505bd8bca Removed a stray TODO comment. 2010-07-08 18:29:16 -04:00
Vincent St-Amour
dbda43ac6b Pushed optimizations to auxiliary syntax classes. 2010-07-08 18:29:15 -04:00
Vincent St-Amour
c3f46cc8a6 Refactoring of the optimizer. 2010-07-08 18:29:15 -04:00
Vincent St-Amour
24aad77da3 Moved Typed Scheme's optimizer to its own subdirectory. 2010-07-08 18:29:15 -04:00
Kevin Tew
85098c5290 Parallel-build fixes for ctrl-c/break 2010-07-08 15:51:10 -06:00
Kevin Tew
3a9eee936a Remove raco commands and old dag impl 2010-07-08 14:41:52 -06:00
Matthew Flatt
0eeb18f4d8 Improve the bytecode optimizer's ability to simplify `letrec's
to smaller `letrec' groups or even `let*'.
 The goal of the change is to avoid performance surprises
 when using internal definitions, especially when mixing
 experessions with definitions.
 It's a somewhat scary change. Besides the new transformation,
 the optimizer pass's coordinate system for `letrec' (and sometimes
 `let*') bindings changed.
 No standard benchmarks were harmed during the making of this
 optimization. (None were improved, either.)
2010-07-08 13:43:40 -06:00
Vincent St-Amour
ea8523bd63 Fixed pessimization of some complex code. 2010-07-07 22:08:51 -04:00
Vincent St-Amour
12a427f5ea Changed the size of the maze2 benchmark. 2010-07-07 20:46:06 -04:00
Vincent St-Amour
3334d71491 Fixed the fft benchmark. 2010-07-07 19:42:56 -04:00
Vincent St-Amour
7853d33349 Improved unboxed complex operations.
Intermediate results are kept as unboxed floats as long as we stay
within complex arithmetic code.
2010-07-07 19:42:56 -04:00
Vincent St-Amour
a46faaea40 Added format-unique-id to unstable/syntax. 2010-07-07 19:42:55 -04:00
Vincent St-Amour
7921074eef Avoid boxing intermediate results when doing multiple complex
operations in a row.

However, because of values and let-values, we lose float unboxing.
If we have a single complex operation, this is much slower than my
previous implementation (though still faster than generic
operations). With 2 complex operations, the new implementation becomes
faster.
2010-07-07 19:42:55 -04:00
Vincent St-Amour
de52d2ce9f Avoided duplicate computation in inexact complex division. 2010-07-07 19:42:55 -04:00
Vincent St-Amour
3fb69bc764 Generic inexact complex arithmetic operations are now replaced with
the right combinations of unsafe float operations.
2010-07-07 19:42:54 -04:00
Vincent St-Amour
e52d63ee68 Added an optimization for vector-length of known-length vectors. 2010-07-07 19:42:54 -04:00
Vincent St-Amour
eb7fc7a965 Have type ascriptions record the ascribed type in the type table. 2010-07-07 19:42:54 -04:00
Matthew Flatt
519d1ef8d1 make compiler slightly smarter about 0-value letrec-values bindings
which corresponds to code generated from experession that are
 mixed with internal definitions
2010-07-07 13:56:16 -06:00
Matthew Flatt
54216b5ced internal-definition contexts allow expressions mixed with definitions
while the new `#%stratified-body' form provides access to the old
 convention
2010-07-07 13:56:16 -06:00
Matthew Flatt
a8062dc37d fix docs on `raco make --no-deps'
Closes PR 11018
2010-07-07 13:56:16 -06:00
Robby Findler
070a39d902 fixed a bug in text's color argument, as noted in PR 10998 2010-07-07 13:42:40 -05:00
John Clements
c42d5c25c7 fixed typo introduced by search-and-replace 2010-07-06 18:42:47 -04:00
Robby Findler
a5d969607b fixed PR 10998 2010-07-06 15:26:26 -05:00
Robby Findler
0ab512ce8c cleaned up code example for make-root-area-container 2010-07-06 15:26:26 -05:00
Sam Tobin-Hochstadt
e865380f6f Add typeof mappings only to original form. 2010-07-06 14:09:46 -04:00
Sam Tobin-Hochstadt
692a172474 Improve interface for `find-mutated-vars', now supports mutable *and* immutable versions. 2010-07-06 14:09:46 -04:00
Matthew Flatt
63ec520885 fix problem with Windows pipe writing 2010-07-06 10:59:16 -06:00
Kevin Tew
c9e84f9f67 [Parallel-Build] remove -u, -j 1 is uniprocessor, SETUP_OPTIONTS => PLT_SETUP_OPTIONS 2010-07-06 10:07:40 -06:00
Matthew Flatt
a6723283b8 fix empty-matching lexers 2010-07-06 07:15:19 -06:00
Matthew Flatt
96a6f56572 fix problem sharing Windows file handles to subprocess 2010-07-06 06:49:59 -06:00
Matthew Flatt
04fa6c6acd add `subprocess-group-enabled' for process-group support
and fix problems with places and subprocesses
 and fix some mzrt thread setup and teardown issues
2010-07-05 17:51:26 -06:00
Kevin Tew
ecdd1ebc7a Parallel build fixes 2010-07-05 14:23:30 -06:00
Kevin Tew
c968f45d85 Parallel build by default 2010-07-05 11:58:52 -06:00
Kevin Tew
e1399f3d14 Fix early compilation of racket 2010-07-05 08:35:08 -06:00
Matthew Flatt
5c2ae50e45 add current-subprocess-custodian-mode 2010-07-04 12:42:25 -06:00
Matthew Flatt
e316fd3bf9 fix parallel build location of main executable 2010-07-04 12:42:08 -06:00
Matthew Flatt
fb730cb1c2 custodian box as synchronizable event 2010-07-04 10:42:38 -06:00
Matthew Flatt
39f57b23c4 clarify note on shell process creation 2010-07-04 09:53:12 -06:00
Matthew Flatt
809f0a4550 port old "pre" web-page stubs 2010-07-03 07:15:48 -06:00
Robby Findler
f83784452e made ->d's optional argument spec itself optional 2010-07-02 20:52:48 -05:00
Vincent St-Amour
389a20795a Added support for make-flrectangular, flreal-part, flimag-part and
their unsafe counterparts to Typed Scheme and its optimizer.
2010-07-02 20:58:30 -04:00
Vincent St-Amour
556734a223 Added coercion of fixnums to floats to the optimizer. 2010-07-02 20:58:29 -04:00
Vincent St-Amour
e8a0a26c2f Changed the optimizer's test harness to ignore type tables. 2010-07-02 20:58:29 -04:00
Vincent St-Amour
cb0e058cff Removed spectralnorm-unsafe from the shootout harness. 2010-07-02 20:58:29 -04:00
Vincent St-Amour
a6d11a1df0 Added struct optimizations. 2010-07-02 20:58:28 -04:00
Vincent St-Amour
5d61c7fab8 Ported the maze2 benchmark to typed Scheme. 2010-07-02 20:58:28 -04:00
Sam Tobin-Hochstadt
e989631d56 Add flags for running the optimizer tests and compiling the benchmarks 2010-07-02 19:00:57 -04:00
Matthew Flatt
439bc0a293 add flreal-part', flimag-part', `make-flrectangular', and unsafe variants 2010-07-02 16:08:15 -06:00
Matthew Flatt
eef7a8ba9d JIT inline real-part, imag-part, make-rectangular 2010-07-02 16:08:14 -06:00
Matthew Flatt
491ab3c12b expose internal display/write/print-limiting functionality via `printf'
addition of ~.
2010-07-02 16:08:14 -06:00
Matthew Flatt
e1112b45cd fix typos 2010-07-02 16:08:14 -06:00
Sam Tobin-Hochstadt
0e400291e7 Fix inference for heterogenous vectors. 2010-07-02 17:25:07 -04:00
Sam Tobin-Hochstadt
da3b4ed543 Use `define-type' to make docs clearer. 2010-07-02 17:25:07 -04:00
Sam Tobin-Hochstadt
219682bbbe Refactoring of tc-app.
- Move `check-below' into its own module
 - Move `tc/apply' to its own unit
 - Move `tc/funapp' and `tc/funapp1' to own module, outside of unit
2010-07-02 17:25:07 -04:00
Sam Tobin-Hochstadt
570df7d665 Generalize fixed-length lists to listofs.
Closes PR10057.
2010-07-02 17:25:07 -04:00
Kevin Tew
35c28f4f66 Parallel collects build (process-based) "raco setup -u" 2010-07-02 14:27:08 -06:00
Carl Eastlund
3d59420133 Made test-engine react gracefully to source file names of unexpected representation. 2010-07-02 16:18:48 -04:00
Vincent St-Amour
ed4f7b7bd7 Fixed make-vector's type to reflect generalization on vectors. 2010-07-02 15:48:08 -04:00
Vincent St-Amour
40988d6d54 Added support for recursive types to vector-ref and vector-set!. 2010-07-02 15:48:07 -04:00
Vincent St-Amour
458b6b65c9 Added optimization when iterating over lists. 2010-07-02 15:48:06 -04:00
Vincent St-Amour
1886572906 Added support for the 2 versions of optimizer tests to be written in
different languages.
2010-07-02 15:48:05 -04:00
Vincent St-Amour
f6077b02f1 Fixed some tests that used to test for an invalid optimization that is
now valid.
2010-07-02 15:48:04 -04:00
Vincent St-Amour
f79f617ee8 Calls to vector now return heterogenous vectors, to preserve length
information.
2010-07-02 15:48:03 -04:00
Vincent St-Amour
843621398b Fixed types for the unsafe versions of vector-length. 2010-07-02 15:48:03 -04:00
Vincent St-Amour
f469e0d8bf Changed some benchmarks to use known-length vectors. 2010-07-02 15:48:02 -04:00
Vincent St-Amour
8c25e46141 Literal vectors are now given HeterogenousVector types to preserve
length information.
2010-07-02 15:48:00 -04:00
Vincent St-Amour
25cb5ef568 Fixed some tests to reflect changes to the optimizer. 2010-07-02 15:47:59 -04:00
Vincent St-Amour
351de3f767 Fixed the behavior of the optimizer on sqrt. 2010-07-02 15:47:58 -04:00
Vincent St-Amour
816cc75654 Fixed tests for invalid optimizations to actually test something. 2010-07-02 15:47:57 -04:00
Vincent St-Amour
ae242e2f88 Propagated Sam's changes to spectralnorm to the generic and unsafe versions. 2010-07-02 15:47:56 -04:00
Vincent St-Amour
cdfbbc5476 Fixed the type of real->decimal-string. 2010-07-02 15:47:56 -04:00
Vincent St-Amour
636fca1a83 Generalization is now done on vector types. 2010-07-02 15:16:11 -04:00
Vincent St-Amour
06279de2ca Nonnegative-Floats are now generalized to Floats. 2010-07-02 15:16:10 -04:00
Matthias Felleisen
de277d5d89 Merge branch 'master' of git:plt 2010-07-02 14:54:38 -04:00
Matthias Felleisen
3656cd1972 fixed pr 11010 2010-07-02 12:47:13 -04:00
Eli Barzilay
3a8feee6ca git content works (intro not all ported yet 2010-07-02 11:38:13 -04:00
Eli Barzilay
8f69e94980 Added `get-resource-path' to get the path of any resource.
Use it to allow getting the standard resource paths from the common
layout.
2010-07-02 11:38:13 -04:00
Eli Barzilay
76300bd759 #:full-width' -> #:width', which can specify full width or a given one. 2010-07-02 11:38:12 -04:00
Eli Barzilay
6e947fef90 Comments indicating how to add an attachment field to the bugs form, if
it becomes possible to deal with the cgi side in the future.
2010-07-02 11:38:12 -04:00
Eli Barzilay
e339081fd0 Added `split-attributes+body', to make it easy to write xml-like wrapper
functions, and used it in `center-div'.
2010-07-02 11:38:12 -04:00
Eli Barzilay
c73b42325a Better place for the IRC logs. 2010-07-02 11:38:12 -04:00
Ryan Culpepper
b3bf2fa6f3 macro-stepper: obsolete on program change (like stepper), not just rerun
Closes PR 8837
2010-07-01 17:05:07 -06:00
Ryan Culpepper
f6f480053e macro-stepper: removed unnecessary partition code
downgraded secondary "partition" to simple binary predicate
2010-07-01 17:05:07 -06:00
Ryan Culpepper
856dd4e14c macro-stepper: fixed pretty-{printing => writing} 2010-07-01 17:05:07 -06:00
Ryan Culpepper
efc0356605 macro-stepper: replaced {scheme -> racket}, {*.ss -> *.rkt}, etc 2010-07-01 17:05:06 -06:00
Ryan Culpepper
5673d7b877 macro-stepper: added step count
also removed some dead code (warnings)
2010-07-01 17:05:06 -06:00
Ryan Culpepper
a543c2137e unstable: removed byte-counting-port.rkt (use open-output-nowhere instead)
updated test to verify that open-output-nowhere has same behavior
2010-07-01 17:05:06 -06:00
Ryan Culpepper
7473cf624e unstable: added comments 2010-07-01 17:05:06 -06:00
Ryan Culpepper
8c42006ad7 unstable/syntax: renamed syntax-local-values/{catch -> record}, changed uses
also added comments to some unstable/syntax functions
2010-07-01 17:05:05 -06:00
Ryan Culpepper
a91e9e7bf6 macro-stepper: clarified "from" in hiding rules, added todo list 2010-07-01 17:05:05 -06:00
Ryan Culpepper
e9a8e92585 macro-stepper: simplified partition code 2010-07-01 17:05:05 -06:00
Ryan Culpepper
472b5ecdc0 macro-stepper: fetch mark lists directly 2010-07-01 17:05:05 -06:00
Sam Tobin-Hochstadt
ed88b9dd1a Better handling of expected types for `vector' 2010-07-01 17:32:16 -04:00
Sam Tobin-Hochstadt
71bb63c128 Better typing for `make-sequence'. 2010-07-01 17:12:59 -04:00
Sam Tobin-Hochstadt
9a1c08e230 Avoid some quotes while printing types. 2010-07-01 17:12:59 -04:00
Sam Tobin-Hochstadt
6f7c0112d3 add `displayln' 2010-07-01 17:12:59 -04:00
Matthew Flatt
3de7dbd2fd add chaperone-evt 2010-07-01 14:59:01 -06:00
Sam Tobin-Hochstadt
3d347f117b Add --just flag for running tests. 2010-07-01 13:47:02 -04:00
Sam Tobin-Hochstadt
829689eb9d Fix error reporting regression. 2010-07-01 13:46:16 -04:00
Sam Tobin-Hochstadt
4f3e3625b3 Fix error spec for this test. 2010-07-01 13:45:52 -04:00
Sam Tobin-Hochstadt
c0a9704ebc Rewrote spectral-norm benchmark based on Lua version. 2010-07-01 11:35:21 -04:00
Sam Tobin-Hochstadt
75bd26d326 Better error message for multiple ->
Closes PR 10493.
2010-07-01 11:35:21 -04:00
Sam Tobin-Hochstadt
efbdfd3e6e Support syntax errors blaming multiple syntaxes. 2010-07-01 11:35:20 -04:00
Robby Findler
8a6058fa0f added some printouts to say what this file is doing. 2010-07-01 06:03:08 -05:00
Robby Findler
896bbfaabb Adding support to do memory profiling of drr startup that drdr can track. 2010-07-01 06:03:07 -05:00
Robby Findler
b4d176466a Added a logger to drdr for tracking drracket's memory use on startup 2010-07-01 06:03:07 -05:00
Vincent St-Amour
e4cd5329fb Fixed benchmarks to work with Nonnegative-Floats. 2010-06-30 19:27:18 -04:00
Matthew Flatt
f478b74ed6 fix ++lib flag for raco ctool --c-mods 2010-06-30 16:22:32 -06:00
Matthew Flatt
b37799f42c scribble/doclang extends racket/base instead of scheme/base 2010-06-30 15:49:00 -06:00
Vincent St-Amour
f14cfebddc Restored running of the optimizer's tests by drdr. 2010-06-30 14:53:23 -04:00
Vincent St-Amour
1fe70704a2 Updated build-list and build-vector's types for fixnums. 2010-06-30 14:53:23 -04:00
Vincent St-Amour
adf5c8c030 Better types for modulo and remainder involving fixnums. 2010-06-30 14:53:22 -04:00
Vincent St-Amour
62a15df3eb Added the Nonnegative-Float type. 2010-06-30 14:53:22 -04:00
Vincent St-Amour
f026da5ecf Added filters for numeric comparisons. 2010-06-30 14:53:22 -04:00
Vincent St-Amour
e8c42cd20c Extended type signatures for addition. 2010-06-30 14:53:21 -04:00
Vincent St-Amour
06b636b2e3 Updated make-vector's type for fixnums. 2010-06-30 14:53:21 -04:00
Vincent St-Amour
dcfb2d8a94 Added the Inexact-Complex type. 2010-06-30 14:53:21 -04:00
Vincent St-Amour
ef576e27c5 Fixed the type of min and max to only operate on reals. 2010-06-30 14:53:20 -04:00
Vincent St-Amour
22a652ef8e Kept track of source location better in the for: macros and got rid of
useless type ascriptions.
2010-06-30 14:53:20 -04:00
Vincent St-Amour
90252c9bd3 Fixed the type for hash-ref! 2010-06-30 14:53:20 -04:00
Vincent St-Amour
8ec6d7ff3f Added a rule for valid float promotion when dividing. 2010-06-30 14:53:19 -04:00
Vincent St-Amour
c6373ca7c0 Added special case to the typechecker for (- <positive-fixnum> 1). 2010-06-30 14:53:19 -04:00
Vincent St-Amour
f27aac552f Fixed build-vector's type. 2010-06-30 14:53:19 -04:00
Vincent St-Amour
a6872c67a7 Eliminate exact->inexact of floats. 2010-06-30 14:53:18 -04:00
Vincent St-Amour
dfafc0b295 Added fixnum optimizations. 2010-06-30 14:53:18 -04:00
Vincent St-Amour
cee39c4a38 Added fixnums to more type signatures. 2010-06-30 14:53:18 -04:00
Jay McCarthy
06844073c7 Switch to using substitutions in returns and remove old parts of the interface 2010-06-30 10:54:13 -06:00
Matthew Flatt
cd95e082d7 fix guide's use of current-directory at compile time 2010-06-30 10:40:03 -06:00
Matthew Flatt
47eb8ea815 add `identifier-prune-to-source-module' and use it in contract implementation
reduces DrRacket's initial footprint by 20-25% --- back to the v5.0 level
2010-06-30 10:40:03 -06:00
Matthew Flatt
7a7f545046 doc corrections and clarifications 2010-06-30 10:40:02 -06:00
Robby Findler
be38b69820 typo 2010-06-30 11:26:50 -05:00
Sam Tobin-Hochstadt
f763404347 Forgot to disable this yet again. 2010-06-30 12:04:23 -04:00
Vincent St-Amour
2c021dd6d2 Disabled running the optimizer's test harness by drdr, to avoid timeout. 2010-06-30 11:14:06 -04:00
Jay McCarthy
f5f46d9fe0 Changing docs re: John 2010-06-30 08:35:28 -06:00
Jay McCarthy
4e932f6c6b Fix documentation and add warning voice 2010-06-29 16:02:50 -06:00
Sam Tobin-Hochstadt
18078400b7 make subst structs transparent 2010-06-29 17:34:44 -04:00
Sam Tobin-Hochstadt
c01b239779 Refactor struct type representation.
- fields now represented by fld struct.
 - mutability on per-field basis
 - accessors are per field

This fixes lots of existing bugs, allows future #:mutable on fields.
2010-06-29 17:33:36 -04:00
Sam Tobin-Hochstadt
3c4f1f39b8 minor cleanups 2010-06-29 17:33:35 -04:00
Jay McCarthy
e46dbe3db5 Fixing bug in formlet macro 2010-06-29 15:17:13 -06:00
Jay McCarthy
fc91321f21 Close connection sooner 2010-06-29 13:49:01 -06:00
Jay McCarthy
df30cda523 Port registry and changing benchmarks to not conflict on ports 2010-06-29 13:38:36 -06:00
Jay McCarthy
2e5c04f083 Nail down port and dont conflict 2010-06-29 13:23:23 -06:00
Jay McCarthy
0062a4eb23 Fixing tests, adding provide, clarifying names 2010-06-29 13:18:04 -06:00
Jay McCarthy
10300bb63b Fixing racklog lang post datalog 2010-06-29 12:11:58 -06:00
Jay McCarthy
a6852d8f61 Adding FFI to Datalog 2010-06-29 11:09:07 -06:00
Eli Barzilay
9d97a201a4 Point at the query page (symlink) instead of the stub page. 2010-06-29 01:41:23 -04:00
Eli Barzilay
c14a945343 Post a bug -> redirect to a thanks page, when submitting with the web form.
(Submitting from DrRacket needs a simple response.)
2010-06-29 01:41:23 -04:00
Eli Barzilay
38a4f228ee bugs.racket-lang.org finally works.
Captcha files removed, and will be part of the extra web content sources
(which will hold the sources for internal.racket-lang.org too).
2010-06-29 01:41:23 -04:00
Eli Barzilay
ed5c5fcb14 Turn the distribution list into a parameter so it can be extended. 2010-06-29 01:41:22 -04:00
Eli Barzilay
95c49e138e Avoid changing the parameter value, so it is possible to extend it. 2010-06-29 01:41:22 -04:00
Eli Barzilay
fdb8751de3 Add a flag for an extra file to include for the rendering.
(The extra file is just required dynamically, and it is supposed to
register resources for rendering etc.)
2010-06-29 01:41:22 -04:00
Eli Barzilay
95577a0aad Make the mailing list pointers relative to the lists server. 2010-06-29 01:41:22 -04:00
Jay McCarthy
5cf9ff5f0d Changing ignore per Eli 2010-06-28 20:01:57 -06:00
Jay McCarthy
5d96a92f7c Adding ignore for web log 2010-06-28 19:59:28 -06:00
Jay McCarthy
b4cc683f08 Fixing output port 2010-06-28 19:58:18 -06:00
Matthew Flatt
e78b5d722e repairs to cm refactoring 2010-06-28 17:01:57 -06:00
Matthew Flatt
47c7c1a27b JIT support for inexact->exact', add unsafe-fl->fx', etc. 2010-06-28 15:57:49 -06:00
Kevin Tew
c320d63f01 get-compile-directory-srcs returns list of sources to compile 2010-06-28 14:55:33 -06:00
Kevin Tew
fe60da72c8 Refactor compile manager check-cache function 2010-06-28 14:50:50 -06:00
Jon Rafkind
ccac23d648 show example of nested syntax matching 2010-06-28 14:33:00 -06:00
Jon Rafkind
c7772cbf08 note that exe will not improve performance 2010-06-28 14:04:49 -06:00
Jon Rafkind
6d3b976375 add note about racket/base being faster than racket 2010-06-28 14:04:48 -06:00
Jay McCarthy
da7d4d4042 Adding datalog macro 2010-06-28 13:22:53 -06:00
Jay McCarthy
1f3c3df835 Strange additional 7 2010-06-28 12:51:24 -06:00
Jay McCarthy
12797fef41 Using the datalog reader for racklog 2010-06-28 11:24:01 -06:00
Jay McCarthy
3a8415e902 Fixing PR11002 2010-06-28 11:24:00 -06:00
Sam Tobin-Hochstadt
23553392df Rewrite typed common benchmark wrapper. 2010-06-28 12:12:32 -04:00
Sam Tobin-Hochstadt
26e73cf61d Remove bogus reference to 'sexpression', add docs for Sexp type, don't use Sexp where inappropriate 2010-06-28 11:12:21 -04:00
Sam Tobin-Hochstadt
a214f50812 remove unneeded export 2010-06-28 11:12:20 -04:00
Sam Tobin-Hochstadt
0bae63b516 Use get-type/infer for un-annotated defines. 2010-06-28 11:12:20 -04:00
Sam Tobin-Hochstadt
90d8a3cc13 Generalize mutated variables when inferring types. 2010-06-28 11:12:20 -04:00
Sam Tobin-Hochstadt
e7c33c2244 Rewrite shootout benchmark wrapper.
- Now only needs one wrapper, conditions on module name
 - use with #lang s-exp
 - uses typed reader
2010-06-28 11:09:59 -04:00
Matthew Flatt
559736e529 datalog in dist-specs 2010-06-28 07:37:22 -06:00
Matthew Flatt
2dd8edf73d doc typo and clarification 2010-06-28 07:18:19 -06:00
Mike Sperber
5cd0a37d5e Re-export struct:posn from lang/posn.
I hadn't checked someone is using it.
2010-06-28 15:00:32 +02:00
Mike Sperber
faf8ec358f Rename DMdA/HtDP "contract" to "signature". 2010-06-28 14:58:16 +02:00
Sam Tobin-Hochstadt
12f30cf478 Update `trace' docs.
- Move trace implementation to racket/trace.
- Move documentation to new Debugging section in Reference.
- Add example.
2010-06-27 19:17:04 -04:00
Matthew Flatt
d0dabc7136 fix pkg-install contract
Closes PR 10986
2010-06-27 11:15:53 -06:00
Matthew Flatt
84503de886 changed some 'pretty-print's to 'pretty-write's
Closes PR 11001
2010-06-27 10:13:11 -06:00
Matthew Flatt
c072373fd6 tweaks to More related to text editors and readline 2010-06-27 10:11:22 -06:00
Matthew Flatt
b4ab391fb6 fix htdp/bsl printer 2010-06-27 08:29:21 -06:00
Matthew Flatt
dc99e1992c restore support for sub-matches in `regexp-replace*' 2010-06-26 18:23:54 -06:00
Jay McCarthy
4fe07902d9 Using configure-runtime 2010-06-26 18:04:21 -06:00
Jay McCarthy
92cb668c30 Fixing pr10991 2010-06-26 15:57:23 -06:00
Jay McCarthy
c48d1b58b4 Uses a more traditional read/expand/eval pipeline 2010-06-26 15:25:22 -06:00
Jay McCarthy
6d3d135f4c Simplifying organization 2010-06-26 15:25:21 -06:00
Matthew Flatt
dc98077ca4 add 'handles-all-mouse-events snip% flag 2010-06-26 13:53:31 -06:00
Matthew Flatt
0107404cee fix typo
Closes PR 10996
2010-06-26 13:53:30 -06:00
Jay McCarthy
f7210b20cf Reader refactor 2010-06-26 13:30:59 -06:00
Jay McCarthy
07142e2305 Use capitalized letters for variables in paren version 2010-06-26 13:17:10 -06:00
Jay McCarthy
b126303628 Protecting :- outside clauses 2010-06-26 13:08:10 -06:00
Jay McCarthy
22b39b44d1 Exposing redirect-to arg in redirect/get* 2010-06-26 13:05:45 -06:00
Mike Sperber
6e1e6660c4 Synch German string constants with latest. 2010-06-26 17:58:03 +02:00
Jay McCarthy
8afc06c096 Using current-read-interaction and renabling adapted tutorial 2010-06-25 22:36:13 -06:00
Jay McCarthy
0bda9efa96 Removing old sexp library and correct docs for warning 2010-06-25 22:36:13 -06:00
Jay McCarthy
e90de7196d Moving tests 2010-06-25 22:36:12 -06:00
Jay McCarthy
30e3cd1071 Moving tests 2010-06-25 22:36:12 -06:00
Robby Findler
489d1d730f closes PR 10989 2010-06-25 20:28:38 -05:00
Robby Findler
a612830b8e added the radial-star primitive 2010-06-25 20:24:18 -05:00
Robby Findler
168434bd21 fixed an error message 2010-06-25 20:24:18 -05:00
Jay McCarthy
e8ef7dcaa5 Datalog docs 2010-06-25 17:08:14 -06:00
Jay McCarthy
c1e7bf62f7 Paren datalog 2010-06-25 17:08:13 -06:00
Jay McCarthy
8636c4ee36 Paren examples 2010-06-25 17:08:13 -06:00
Jay McCarthy
a9c32a62d4 Saving paren progress 2010-06-25 17:08:13 -06:00
Jay McCarthy
a98547b033 docs 2010-06-25 17:08:13 -06:00
Jay McCarthy
73b4059ade Tests 2010-06-25 17:08:13 -06:00
Jay McCarthy
e752682879 Typo 2010-06-25 17:08:13 -06:00
Jay McCarthy
33f5d90592 Clean up 2010-06-25 17:08:13 -06:00
Jay McCarthy
ee8477ca13 Removing tool and using new repl submit 2010-06-25 17:08:13 -06:00
Jay McCarthy
80da9872e0 Cleaning up printer 2010-06-25 17:08:12 -06:00
Jay McCarthy
353ef05902 Removing pprint dependency 2010-06-25 17:08:12 -06:00
Jay McCarthy
01bed35ca1 Typos 2010-06-25 17:08:12 -06:00
Jay McCarthy
4bb6c1ddcf Typo 2010-06-25 17:08:12 -06:00
Jay McCarthy
239af8c1c7 Removing some of planet 2010-06-25 17:08:12 -06:00
Jay McCarthy
498c3019b4 Removing some of planet 2010-06-25 17:08:12 -06:00
Jay McCarthy
09f6e5bee4 Rackety 2010-06-25 17:08:12 -06:00
Jay McCarthy
f2c4e84006 Responsible 2010-06-25 17:08:12 -06:00
Jay McCarthy
940db1ab6c Initial add of Datalog 2010-06-25 17:08:11 -06:00
Vincent St-Amour
a6c75db94f Fixed typos in the numbers reference. 2010-06-25 18:01:41 -04:00
Eli Barzilay
f5a0e6e0b8 Undo the racket/init symbolic form thing.
It needs to be (lib "racket/init") because that's the way that racket
uses the -I flag.  I think that I ran into this in the past, so drop in
a comment explaining this.

This reverts commit f58b58383f.
2010-06-25 16:05:58 -04:00
Vincent St-Amour
28acece484 Fixed Typed Scheme's optimizer's test harness to work with drdr. 2010-06-25 13:25:42 -04:00
Eli Barzilay
f58b58383f Adjust tests to requiring racket/init in symbolic form. 2010-06-25 11:01:05 -04:00
Vincent St-Amour
382a45ad6f Fixed the optimizer so that it optimizes float comparisons. 2010-06-25 11:00:26 -04:00
Vincent St-Amour
d6008f9191 Typed Scheme now optimizes (exact->inexact <Integer>) to (->fl <Integer>). 2010-06-25 11:00:25 -04:00
Vincent St-Amour
17f0d146f1 Adjusted benchmark sizes. 2010-06-25 11:00:25 -04:00
Vincent St-Amour
bc0d0a6e18 Unified the nbody-vec benchmarks so that they only differ by their use
of flonum or unsafe operations.
2010-06-25 11:00:25 -04:00
Vincent St-Amour
369ce44416 Made the default nbody benchmark unsafe. 2010-06-25 11:00:24 -04:00
Vincent St-Amour
a14c31a1de Changed dderiv to be closer to the untyped version. 2010-06-25 11:00:24 -04:00
Vincent St-Amour
b345d5f0f0 Typed Scheme now optimizes (fl)vector-length for all vectors and
vector-(ref,set!) for vectors of known length.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
fd987546b3 Wrote a test harness and a couple of tests for Typed Scheme's optimizer. 2010-06-25 11:00:23 -04:00
Vincent St-Amour
d47221c55d Added better tracing to the optimizer. 2010-06-25 11:00:23 -04:00
Vincent St-Amour
8c8dbf0895 Fixes to some benchmarks due to the new fixnum types. 2010-06-25 11:00:23 -04:00
Vincent St-Amour
cea65c195b Fixed typed wrappers for the typed versions of mandelbrot. 2010-06-25 11:00:22 -04:00
Vincent St-Amour
a4236b0b3b Propagated Eli's bugfix to the typed version of binarytrees. 2010-06-25 11:00:22 -04:00
Jay McCarthy
ba31d8c429 Fixing contracts and a little less allocation 2010-06-25 07:10:52 -06:00
Jay McCarthy
0ed6e4a396 This seems to fix pr10980 2010-06-25 07:10:51 -06:00
Jay McCarthy
27d8f5a039 Adding contracts to track down problem 2010-06-25 07:10:51 -06:00
Sam Tobin-Hochstadt
3251712ef7 More fixnum improvements. 2010-06-24 18:17:01 -04:00
Sam Tobin-Hochstadt
4b1c62c978 Add Fixnum type. 2010-06-24 18:05:55 -04:00
Sam Tobin-Hochstadt
ff91973397 fix prop 2010-06-24 18:05:55 -04:00
Eli Barzilay
b46cb492bb Reorganize as function calls, to make it easier to customize. 2010-06-24 17:17:10 -04:00
Sam Tobin-Hochstadt
a33f460b25 recreate selector table automatically. 2010-06-24 16:48:10 -04:00
Sam Tobin-Hochstadt
40ca16bc30 Types are not quotable. 2010-06-24 16:47:25 -04:00
Sam Tobin-Hochstadt
5b1118d514 More options for test runner. 2010-06-24 16:46:31 -04:00
Sam Tobin-Hochstadt
3c8952d63d Use the correct field numbers in substructs.
Maintain table of struct accessors/mutators.
2010-06-24 14:53:38 -04:00
Sam Tobin-Hochstadt
3078807757 Better handling of unsafe identifier generation. 2010-06-24 11:05:55 -04:00
Jay McCarthy
428412036f Fixing PR 10970 2010-06-23 16:29:23 -06:00
Eli Barzilay
3f36d054f6 Turn contracts on enqueue!' and dequeue!' into the usual error checks.
On a simple benchmark of:

  (let ([N 100000]
        [M 20]
        [q (make-queue)])
    (time (for ([i (in-range M)])
            (for ([i (in-range (* i N))]) (enqueue! q i))
            (unless (for/and ([i (in-range (* i N))]) (list i (dequeue! q)))
              (error "poof")))))

I get these timings:

  original version: cpu time: 24438 real time: 24439 gc time: 8164
  single-links:     cpu time: 17848 real time: 17849 gc time: 4859
  this version:     cpu time:  6519 real time:  6519 gc time: 3032

In addition, cleaned up the documentation a little, and mention the fact
that it is not thread safe.
2010-06-23 16:13:54 -04:00
Eli Barzilay
d986fed725 Uses a simpler single-linked list, about half of the meat code, and much
faster due to the removed overhead of dealing with the redundant
pointers.
2010-06-23 16:13:53 -04:00
Eli Barzilay
8a5bceece1 Various comments on problematic aspects of the code. 2010-06-23 16:13:53 -04:00
Matthew Flatt
42c7b2b9d3 fix missed parts of the hash-table hahing bug 2010-06-23 07:09:59 -10:00
Matthew Flatt
bfd769a29c fix hashing of hash-table values
the order of keys+values in the table could affect the
 hash code, due to an interation with the depth-limiting
 counter
 Closes PR 10985
2010-06-23 07:00:29 -10:00
Eli Barzilay
049913fdef Bugs page skeleton. 2010-06-23 07:35:14 -04:00
Eli Barzilay
0ffe4c1efb Revert "Adding XPM parser"
Not needed, since an XPM parser was already implemented.

This reverts commit 4d58a10ff4.
2010-06-23 07:34:40 -04:00
Eli Barzilay
28e79e5bcb Reorganize mailing lists (the server's front page, and community reference).
Similarly, shuffle around the irc text.
2010-06-23 07:34:39 -04:00
Eli Barzilay
e0c18c3a4b Remove the temporary file when done with it. 2010-06-23 07:34:39 -04:00
Eli Barzilay
acace4bc18 Fixes two bugs that I somehow missed completely.
(Also removed leftover `time'.)
2010-06-23 07:34:17 -04:00
Robby Findler
84607b057c changed the shortcut keys in the language dialog to avoid cmd-l 2010-06-22 22:30:05 -05:00
Vincent St-Amour
a063269883 Prevented drdr from running reversecomplement which needs input on stdin. 2010-06-22 20:09:04 -04:00
Vincent St-Amour
ef1da61fd0 Added S-Expression diff to unstable. 2010-06-22 18:42:28 -04:00
Vincent St-Amour
d3c5ca7537 Propagated Eli's changes to the binarytrees benchmark to the typed
version.
2010-06-22 18:42:27 -04:00
Vincent St-Amour
3c9e7e34db Switched indexing to integers in the typechecker's special cases for
heterogenous vectors and unsafe struct operations.
2010-06-22 18:42:26 -04:00
Vincent St-Amour
7d1040283e Added support for unsafe struct operations to Typed Scheme. 2010-06-22 18:42:25 -04:00
Vincent St-Amour
c9383cffc2 Propagated Eli's changes to reversecomplement and fasta to the typed
versions.
2010-06-22 18:42:08 -04:00
Vincent St-Amour
4f501726fb Fixed a bug in the shootout harness. 2010-06-22 18:29:58 -04:00
Vincent St-Amour
379d9a2125 Added support for unsafe operations on heterogenous vectors. 2010-06-22 18:29:57 -04:00
Vincent St-Amour
eea31102b0 Moved the types for some byte string operations to
base-env-indexing-abs.rkt.
2010-06-22 18:29:57 -04:00
Vincent St-Amour
bc794b443c Propagated Eli's changes to the mandelbrot benchmark to the generic
and typed versions.
2010-06-22 18:29:57 -04:00
Vincent St-Amour
192c1fa995 Fixed the types of flvector operations. 2010-06-22 18:29:56 -04:00
Vincent St-Amour
5234809baf The moments benchmark now gets floats as input. 2010-06-22 18:29:56 -04:00
Vincent St-Amour
61545c4e75 Made make-vector's type more convenient. 2010-06-22 18:29:56 -04:00
Vincent St-Amour
3bb0de0b53 Restored running of the typed shootout benchmarks by drdr. 2010-06-22 18:29:55 -04:00
Vincent St-Amour
dd858bc11f Got rid the the mandelbrot-unsafe benchmark, to reflect Eli's
changes.
2010-06-22 18:29:55 -04:00
Sam Tobin-Hochstadt
6e1954d79b Add `struct:' 2010-06-22 16:29:35 -04:00
Robby Findler
b286673c69 removed an unused style 2010-06-22 15:22:45 -05:00
Robby Findler
3fb5dbd1d3 Added another status line update to drracket for planet installations, showing when docs are being built 2010-06-22 14:22:35 -05:00
Robby Findler
9f5593c222 rackety mrlib/name-message 2010-06-22 14:22:35 -05:00
Robby Findler
c5b0c73111 added docs and minor cleanups in mrlib/name-message 2010-06-22 14:22:34 -05:00
Casey Klein
c083335ca5 Changes the matching of `where' clauses to the one most people expect. 2010-06-22 13:20:53 -05:00
Jay McCarthy
4d58a10ff4 Adding XPM parser 2010-06-22 11:33:06 -06:00
Sam Tobin-Hochstadt
bce2cedf38 Typecheck `map' expression, not just #'map. 2010-06-22 10:12:54 -04:00
Sam Tobin-Hochstadt
95c5f942e6 Initialize `infer' for tests 2010-06-22 10:11:14 -04:00
Casey Klein
c6ed9b9a12 Fixes a bug in `where' clause binding. 2010-06-22 05:42:17 -05:00
Stevie Strickland
550a8b3fa4 Handle new semantics for raco setup with no options. 2010-06-21 18:30:30 -04:00
Sam Tobin-Hochstadt
4df7d09ef1 Docs for List x ... 2010-06-21 18:30:30 -04:00
Sam Tobin-Hochstadt
0c7c722e16 support `map' over multiple ListDots with the same bound
- also support ListDots + Listof (map errors when not same length)
2010-06-21 18:30:30 -04:00
Sam Tobin-Hochstadt
b8777d20b2 allow optional specifcation of var pattern 2010-06-21 18:30:29 -04:00
Stevie Strickland
034b22d014 Generate dcon-dotted, and substitute for them.
- generated only in the case where we have two ListDots or two ValuesDots
 - or when -> with the same bound, and fixed argument lengts are identical
 - currently errors if there are any 'fixed' portions
2010-06-21 18:30:29 -04:00
Stevie Strickland
9c22701bd3 Take dcon-dotteds and create an appropriate i-subst/dotted entry. 2010-06-21 18:30:29 -04:00
Stevie Strickland
3f7ca52e37 Add fixed part to dcon-dotted. 2010-06-21 18:30:29 -04:00
Sam Tobin-Hochstadt
339add9f78 Implement substitutions as hash tables from vars to subst-rhs.
- add convenience function for generating substitutions
 - give trivial substitution for unreferenced index variables
2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
6b12757506 Add collection tab-completion for 'raco setup -l' 2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
44d46e4cd7 Refactor substitution.
- new file types/substitute
 - use structs for substitutions
2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
dcc8beb5cd This test case now passes. 2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
8990459be6 provide more information in inference failures 2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
692dc025c0 fix fail! to use the correct arguments 2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
9f99c914f3 Fix move-to-dmap functions 2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
2285e1a340 Make `debug' catch *all* exceptions 2010-06-21 18:30:27 -04:00
Stevie Strickland
b5d4d54d45 The initial shot at extending cgen and friends to take both X and Y.
This doesn't fully work, in that more test cases are broken.  However,
this is mostly due to questionable inference rules in the past, and
so fixing these errors should lead to a more correct inference algorithm.

(i.e. we need to handle things like (List X ... a) (List Y .. b),
where a and b are not the same bound.  We'd started this work before,
but never actually gone through with it, since smashing regular and
dotted type variables into the same environment meant some things
magically worked when they possibly shouldn't have.)
2010-06-21 18:30:26 -04:00
Stevie Strickland
078b57c77d Export the types provide macro. 2010-06-21 18:30:26 -04:00
Stevie Strickland
ec09139e0a Fix up subst-gen to treat vars and idxs separately. 2010-06-21 18:30:26 -04:00
Sam Tobin-Hochstadt
d886331807 Various small assorted fixes. 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
e235c837b0 The inference engine doesn't need this annotation anymore. 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
82e7d281cb More progress on refactoring infer 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
18f45c4138 Fix a bunch of uses of `infer' et al. 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
99e499a503 Change inference to take into account index vs regular vars. 2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
e8a591d291 Fix free index computation when the body refers to the bound. 2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
662f982b72 Refactor free variables.
- free-idxs no longer holds free de Bruijn indexes
   This information is not needed, and not stored anywhere
 - free-idxs holds free *index* variables, in the sense of the TOPLAS submission
2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
7b2de53733 Re-enable the printer here. 2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
fe9395fdbf Add case to be fixed 2010-06-21 18:30:23 -04:00
Sam Tobin-Hochstadt
b787c7766c Switch to using functional hash tables for free variables. 2010-06-21 18:30:23 -04:00
Sam Tobin-Hochstadt
a93aecbed7 Special case for (apply values ListDots) 2010-06-21 18:30:20 -04:00
Sam Tobin-Hochstadt
12384c6c3f Change type variable environments from hash tables to sets. 2010-06-21 18:29:59 -04:00
Sam Tobin-Hochstadt
e9f8cc9aca Refactor test harness. 2010-06-21 18:29:59 -04:00
Sam Tobin-Hochstadt
d570006db8 Add index-env.
- Remove Dotted and DottedBoth values from tvar-env
 - Abstract env extension and lookup for tvar/index-env
 - Abstract index inference
 - Remove pointless parameterizations
2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
0fb1ac66bd Properly compute Dotted variance for ListDots and ValuesDots. 2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
a9c34dae6a Remove dotted-env. 2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
f7b59f78e9 Generalize ListDots to Listof in inference of loop var types. 2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
a2af89bafd Inference for passing ListDots as Listof. 2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
fd5a662ccc Subtyping between (List T ... a) and (Listof T[Any/a]) 2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
4c3f279ab9 Eliminate expressions with dotted pre-types.
- Now looks for (List T ...) types.
 - special handling of `map', `andmap', `ormap' when list arg is dotted
 - remove tc-dots-unit
2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
4cbeb0b2f0 Change type of ... rest args to have (List T ...) types. 2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
71939d2826 Handle simple inference of ListDots. 2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
e40d1824b0 Initial ListDots test. 2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
310bdf3529 Substitution for (List T ...) 2010-06-21 18:29:56 -04:00
Stevie Strickland
62fb6f9311 Add subtyping for dotted lists with the same bound. 2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
40dbb6389c First attempts at adding ListDots (and, incidentally, List*) types. 2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
50f93b9ed7 More environment refactoring.
- rationalize naming of files
- split files by env constructed
2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
7e9763cf14 Stratify environments to only include props when needed. 2010-06-21 18:29:54 -04:00
Sam Tobin-Hochstadt
647c4eef59 Refactor environments.
- mapping stored as dict
 - use id tables for identifiers
 - use env-filter instead of filter
 - eliminate spurious use of conses
2010-06-21 18:29:54 -04:00
Robby Findler
e105d191b1 Adjusted 'raco setup' so that the arguments are collections (left setup-plt alone) 2010-06-21 16:58:32 -05:00
Sam Tobin-Hochstadt
4925e7e51f Refactor provide handling.
- use id-tables instead of lists
 - smarter iteration
 - prepare for eliminating declarations when not needed, but don't do it yet
2010-06-21 15:42:52 -04:00
Casey Klein
3eb9a6d6d0 Fixes a bug in the VM example 2010-06-21 14:41:10 -05:00
Jay McCarthy
a5d9fc0def New props for DrDr 2010-06-21 12:55:18 -06:00
Jay McCarthy
a13edb18b6 Transparent XML structs 2010-06-21 12:48:26 -06:00
Jay McCarthy
801419693a Default args to eliminate-whitespace 2010-06-21 12:48:26 -06:00
Casey Klein
d6b20a51d2 Lifts mysterious restriction on patterns that now seems unnecessary. 2010-06-21 11:24:30 -05:00
Casey Klein
daa8507e51 Fixes matcher bug 2010-06-21 10:35:05 -05:00
Robby Findler
4504678bd7 added local 2010-06-20 21:59:39 -05:00
Eli Barzilay
554f026c71 "The Great Computer Language Shootout" -> "The Computer Language Benchmarks Game"
As requested by Isaac Gouy.
2010-06-20 22:19:43 -04:00
Robby Findler
e8573d9478 change the way the prompt testing works to only supply a port, instead of giving over the actual text object 2010-06-20 20:55:04 -05:00
Eli Barzilay
ee57029a92 One more optimization, getting it to 60x. 2010-06-20 18:37:07 -04:00
Eli Barzilay
eec0f4bf66 Yet another 2x factor.
(Total ~22x.)
2010-06-20 18:37:06 -04:00
Eli Barzilay
c78f367d9f Another simple improvement, making things about twice faster.
Total speedup is now ~14x.
2010-06-20 18:37:06 -04:00
Eli Barzilay
26c89b2ac6 And one more optimization gets this to a total of 6x improvement. 2010-06-20 18:37:06 -04:00
Eli Barzilay
e975e8e0c8 Another optimization, makes the `fl->fx' issue from the last one
irrelevant since it's not using it in the tight loop, but buys a bigger
improvement anyway.
2010-06-20 18:37:06 -04:00
Eli Barzilay
96006264ad Some improved shootout benchmarks.
* An improved version of the `fasta' benchmark: ~2.5 times faster, and
  if an inlined `unsafe-fl->fx' is added it is probably going to be
  about ~3.5 times faster.

* `reversecomplement' -- revised code that is ~2.5 times faster, further
  tweaks and unsafe ops gets it to ~4.5 times.

* Doing the structs differently in `binarytrees' and a few minor tweaks
  get it to be ~1.5 times faster.  This is probably because a leaf has
  now only one field.

* `mandelbrot' improved a little (~1.2x), but the code is pretty much a
  rewrite.  (Given some more flonum inlining it can probably do much
  better.)

* Added a comment to `pidigits-gmp' saying that it was used without
  attribution.

These versions use unsafe operations, but I'm not putting them in
separate files since it's easy to turn them off.  I've also removed
"mandelbrot-unsafe.rkt", since it was identical to the safe version.
2010-06-20 18:36:25 -04:00
Eli Barzilay
412fd4ff79 Use `exact-integer?'. 2010-06-20 18:34:06 -04:00
Eli Barzilay
b0d7c9d9c1 Updated commented url to docs. 2010-06-20 18:34:06 -04:00
Eli Barzilay
7760a2eaff Minor clarifications about other editors and the Windows "terminal".
(And a few additional tweaks.)
2010-06-20 18:34:06 -04:00
Eli Barzilay
acb86d69f3 Apparently inline styles shouldn't be in comments now. 2010-06-20 18:34:06 -04:00
Eli Barzilay
1fc2a3e171 Rename "outreach+research" -> "learning".
* Move learning stuff from "community" to it.

* Set up a redirection page for "outreach+research.html".
2010-06-20 18:18:33 -04:00
Robby Findler
dd6f73255d removed robby-specific references and commented out the line that clobbers heart.png in the collects directory 2010-06-20 15:28:23 -05:00
Robby Findler
e15f6a1fb9 added a valentine's day splash screen image 2010-06-20 14:14:46 -05:00
Robby Findler
2e67f8bb9f Refactored the rotation code to support an arbitrary linear transformation 2010-06-20 14:13:16 -05:00
Robby Findler
83a95970b6 when planet installs things, it now resets the use-compiled-file-paths to its default value 2010-06-20 11:24:08 -05:00
Robby Findler
e947c36a74 removed debugging printf 2010-06-20 07:45:48 -05:00
Robby Findler
7bb8c876b6 fixed an obvious bug with the wrong arity to get-compiled-file-sha1 (but this may still be broken in a more subtle way) 2010-06-20 07:42:32 -05:00
Robby Findler
8be8c9b839 fix prop 2010-06-19 19:20:53 -05:00
Sam Tobin-Hochstadt
0a92ce7a43 fix prop 2010-06-19 19:52:49 -04:00
Robby Findler
545f473b72 fixed a mistake in previous commit 2010-06-19 17:42:57 -05:00
Robby Findler
857498e697 Some racketying. 2010-06-19 16:30:06 -05:00
Robby Findler
66d6759c4a added docs and contracts for some of the planet functions 2010-06-19 16:30:06 -05:00
Stevie Strickland
0aae2c866f Fix use of add-type-expr from commit 5d835ded. 2010-06-19 14:58:52 -04:00
Sam Tobin-Hochstadt
1e15ce1f32 Fix error message for 1-arg apply 2010-06-19 14:58:52 -04:00
Robby Findler
7a1538764e Added the ability for #lang-based languages to specify when an expression should be submitted at the prompt 2010-06-19 12:25:07 -05:00
Robby Findler
e14b330699 fixed some out of date docs 2010-06-19 12:13:48 -05:00
Vincent St-Amour
44acb3eed5 Props fix. 2010-06-19 00:16:04 -04:00
Vincent St-Amour
ad7e63aa76 Props fix. 2010-06-18 23:18:04 -04:00
Robby Findler
bc5ced58e2 More Racketying 2010-06-18 21:35:56 -05:00
Robby Findler
c940caa4d6 renamed the field scheme-menu to language-specific-menu 2010-06-18 21:35:56 -05:00
Vincent St-Amour
c7df0fab35 Props fix. 2010-06-18 20:32:57 -04:00
Vincent St-Amour
f16732adbe Fixed a typo in the shootout harness. 2010-06-18 20:30:15 -04:00
Vincent St-Amour
1e2c50ec24 Fix to make-vector's type. 2010-06-18 20:24:17 -04:00
Vincent St-Amour
051b480934 Fixed props for the shootout benchmarks. 2010-06-18 20:24:17 -04:00
Robby Findler
c1110d9056 fixed a bug in drracket language dialog (that I introduced yesterday or so) 2010-06-18 17:40:34 -05:00
Robby Findler
4cd7152b62 made the drracket test suite match the new labels in the language dialog. 2010-06-18 17:38:54 -05:00
Robby Findler
ef43830265 added the ability to specify radio button labels as regexps, not just strings 2010-06-18 17:38:26 -05:00
Robby Findler
c2ddede08e improved the docs slightly 2010-06-18 16:51:15 -05:00
Vincent St-Amour
416f4fd3c3 Added input generation for the regexmatch benchmark. 2010-06-18 17:43:06 -04:00
Vincent St-Amour
5e901b9ef2 The optimizer now promotes integers to floats when they are used as
arguments to a function whose result is a float.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
5d835ded47 Added the type of the 1 literals in expressions of the form (- x 1) to
the type table.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
894d159123 Disabled thread-ring in the harness, since it calls exit and doesn't
display its running time.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
1dc963684b Rewrote the typed partialsums benchmark to be closer to the untyped
version.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
31f285d23c Adjusted benchmark sizes. 2010-06-18 17:43:04 -04:00
Vincent St-Amour
343e9d23b4 Ported some new benchmarks and variants to Typed Scheme. 2010-06-18 17:43:04 -04:00
Vincent St-Amour
ffad1edd7a Added the fannkuch-redux benchmark, which replaced fannkuch on the
shootout roster.
2010-06-18 17:43:03 -04:00
Vincent St-Amour
ecb614849c Added type signatures for some byte-string functions. 2010-06-18 17:43:03 -04:00
Vincent St-Amour
7ccae0fb1d Got rid of assertions in the benchmarks caused by naturals as indices. 2010-06-18 17:43:02 -04:00
Vincent St-Amour
60c3067ddb Turned indexing back to using integers rather than naturals. 2010-06-18 17:43:02 -04:00
Vincent St-Amour
54eefc52ed Relaxed some type constraints on the ray tracer benchmark. 2010-06-18 17:43:01 -04:00
Vincent St-Amour
e0b880d1ea Fixed the sumcol benchmark to obey the new type for read-line. 2010-06-18 17:43:01 -04:00
Vincent St-Amour
72ec18cc68 Rewrote the moments benchmark to potentially benefit from unboxing of
loop accumulators.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
06eb544fd6 Fixes to the shootout benchmarks to reflect the new weaker promotion
rules.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
ff1c3874cc Added a coercion to inexact to avoid the case: (* <float> 0) -> exact 0
which causes a segfault when the result is used with an unsafe-fl
operation.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
cff4eef7b2 Adjusted input size for the shootout benchmarks. 2010-06-18 17:43:00 -04:00
Vincent St-Amour
31d4da6f39 Added an empty benchmark to measure Typed Scheme's startup time. 2010-06-18 17:42:59 -04:00
Vincent St-Amour
7bb8405871 Fixed a bug in the shootout harness, which threw away generated input. 2010-06-18 17:42:59 -04:00
Vincent St-Amour
3e0446d774 Modified some of the untyped shootout benchmarks to be closer to the
typed versions.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
7f3db138e7 Integrated the typed shootout benchmarks to the untyped harness. 2010-06-18 17:42:58 -04:00
Vincent St-Amour
d48f1bb6aa Racketified the untyped shootout benchmarks. 2010-06-18 17:42:58 -04:00
Vincent St-Amour
4fde1e8ccb Ported most of the shootout benchmarks to Typed Scheme. 2010-06-18 17:42:57 -04:00
Robby Findler
37ae5a338b added documentation for the flipping functions 2010-06-18 16:37:58 -05:00
Robby Findler
0c0009465e removed a bogus case in the definition of np-atomic-shape predicate 2010-06-18 16:21:14 -05:00
Robby Findler
132867518c added support for flipping bitmaps 2010-06-18 16:21:14 -05:00
Robby Findler
27bd7934d7 fixed flipping for curves 2010-06-18 16:21:13 -05:00
Robby Findler
ca7bf92054 added basic flipping (bitmaps not done yet) 2010-06-18 16:21:13 -05:00
Robby Findler
f76f711261 duh 2010-06-17 23:49:00 -05:00
Vincent St-Amour
b39f686e7e Fixed the type of unsafe-car and unsafe-cdr. 2010-06-17 19:06:24 -04:00
Vincent St-Amour
07c1f1e94f Added types for some bitwise operations. 2010-06-17 19:06:24 -04:00
Vincent St-Amour
674046f39d Fixed a mistake in the byte-string reference. 2010-06-17 18:45:28 -04:00
Vincent St-Amour
cc796a9f9a Added types for thread mailbox operations.
Can't have typed mailboxes, though.
2010-06-17 18:45:28 -04:00
Vincent St-Amour
c4e035dd67 Got rid of a reference to the non-existent channel/c. 2010-06-17 18:45:28 -04:00
Robby Findler
87f6a6bb1e added error checking for use in drdr 2010-06-17 15:54:12 -05:00
Casey Klein
dc8fc24e89 Fixes a bug in which effectful meta-function applications were cached. 2010-06-17 14:28:31 -05:00
Casey Klein
318ec585bc Fixes a bug in the VM model 2010-06-17 14:28:31 -05:00
Sam Tobin-Hochstadt
02238a7c6d Fix contract for structs 2010-06-17 15:26:13 -04:00
Robby Findler
924cee89c6 attempted to clarify the first example on eval 2010-06-17 13:02:37 -05:00
Robby Findler
0b34368d08 added keyboard shortcuts to the two radio buttons in the language dialog. 2010-06-17 13:02:37 -05:00
Sam Tobin-Hochstadt
0262ef681a handle multiple body expression properly 2010-06-17 12:50:30 -04:00
Sam Tobin-Hochstadt
77e4bbb5eb base-types-new -> base-types 2010-06-17 11:47:16 -04:00
Sam Tobin-Hochstadt
bdbb6d48e6 Try harder to find types for loop variables.
- use `find-annotation' more
 - recognize (let ([x y]) ...)
2010-06-17 11:26:33 -04:00
Sam Tobin-Hochstadt
8a0bab9fe3 Disable use of macro-debugger/emit 2010-06-16 20:04:28 -04:00
Eli Barzilay
ca3b27b810 Allow #:part-of to use symbolic names, add it to a bunch of pages.
(Using a symbolic name makes it easy to use without worrying about
circular dependencies.)
2010-06-16 16:49:02 -04:00
Eli Barzilay
f1eec03a2d Fix two places in code.rkt that could use #f as an anchor, resulting in
...##f urls.
2010-06-16 16:49:02 -04:00
Eli Barzilay
5da56167a9 Move xml->string to a more proper place 2010-06-16 16:49:02 -04:00
Eli Barzilay
8694d7b8ae Provide resources from download (so do this from all uses of
`define+provide-context'); dirlist uses that instead of www.

Also dropped redundant provides of `page'.
2010-06-16 16:49:02 -04:00
Eli Barzilay
f0c28ad0e8 Make dirlist use www resources 2010-06-16 16:49:02 -04:00
Eli Barzilay
4f6502129a Finish previously incomplete treatment of contexts with #:resource 2010-06-16 16:49:02 -04:00
Eli Barzilay
098b32b0af Add template files for browsing the installer dirs directly. 2010-06-16 16:49:02 -04:00
Eli Barzilay
1cce6c1f88 Factor our the common path computation. 2010-06-16 16:49:01 -04:00
Eli Barzilay
00bca21339 Typo in error message 2010-06-16 16:49:01 -04:00
Robby Findler
a4726678ff added documentation for the extended gui-interaction & co. operators 2010-06-16 11:58:58 -05:00
Robby Findler
22bc8f6d87 a bunch of little fixes to the 2htdp/image library (and related) for sfp submission:
- added in the htdp/image version of the performance test case
- made gui-eval work with things other than slideshow
- extended render-image so that it works on bitmaps and image-snips
2010-06-16 11:58:58 -05:00
Vincent St-Amour
765d573441 Fixed a typo in the profiler documentation. 2010-06-16 12:49:01 -04:00
Vincent St-Amour
a31a7b0718 Added mutable lists to Typed Scheme. 2010-06-16 12:49:01 -04:00
Vincent St-Amour
bb0747f589 Rewrote the indexing code. 2010-06-16 12:49:00 -04:00
Vincent St-Amour
9959f05054 Moved some indexing functions' type signatures. 2010-06-16 12:48:59 -04:00
Vincent St-Amour
8dfd7d87ec Reimplemented assert as a macro. 2010-06-15 16:39:33 -04:00
Vincent St-Amour
93e5d0e9dc Added an option to subtract the running time of the empty benchmark to
the tabulator.
2010-06-15 16:39:32 -04:00
Vincent St-Amour
a33372eb78 Added an option to display the coefficient of variation to the
tabulator.
2010-06-15 16:21:51 -04:00
Sam Tobin-Hochstadt
4cc86cc8c8 set-mc[ad]r!, inference, printing, tests for mpairs 2010-06-15 16:10:16 -04:00
Sam Tobin-Hochstadt
913179f2ed types for basic mpair ops 2010-06-15 15:58:37 -04:00
Sam Tobin-Hochstadt
f73d63e1af eq? is a predicate for eof 2010-06-15 14:59:08 -04:00
Eli Barzilay
05877f4537 All stubs are accessible through HTTP on the download server. 2010-06-15 13:17:51 -04:00
Eli Barzilay
0905701e89 Some minor tweaks to make it valid. 2010-06-15 13:17:51 -04:00
Eli Barzilay
dc0959ce05 Get our favicon to be used. 2010-06-15 13:17:50 -04:00
Eli Barzilay
5c027b6973 Fix the blog style to match other pages. 2010-06-15 13:17:50 -04:00
Sam Tobin-Hochstadt
b644ec7be4 fix types of `read' functions 2010-06-14 17:35:05 -04:00
Eli Barzilay
8ff7a162db Added a blogger template.
This required refactoring some of the layout code to make it possible to
embed pieces of it in the template.
2010-06-14 14:26:09 -04:00
Eli Barzilay
27eb374612 tweak the mailman listinfo pages 2010-06-14 14:26:09 -04:00
Eli Barzilay
b866ea4de6 README for the planet stub. 2010-06-14 14:26:09 -04:00
Sam Tobin-Hochstadt
81f262c7ca Type for `curry'.
Closes PR 10956
2010-06-14 08:24:43 -04:00
Robby Findler
3470d946ab changed the default regexp filter for the search-in-files preference
closes PR 10975
2010-06-13 18:19:09 -05:00
Sam Tobin-Hochstadt
cf5c74a2ca Generate -> instead of ->* when required by case->.
Closes PR 10977.
2010-06-13 15:01:57 -04:00
Sam Tobin-Hochstadt
d4d286d31d Allow (All (A) A -> A), dropping pair of parens. 2010-06-13 14:38:03 -04:00
Sam Tobin-Hochstadt
408d9adb5a add \rightarrow as alias for -> 2010-06-13 14:35:05 -04:00
Sam Tobin-Hochstadt
c2ac8046c4 Fix grammar for rest args in lambda:.
Closes PR 10976
2010-06-13 14:34:16 -04:00
Eric Dobson
90f015408c Added some stuff to typed scheme, mostly port and character functions. 2010-06-13 08:20:49 -04:00
Matthew Flatt
5efa036427 fix error reporting for keyword mismatches
Closes PR 10954
2010-06-12 15:55:31 -06:00
Matthew Flatt
b884b1f409 modcode: fix ss<->rkt handling for bytecode & extensions 2010-06-12 15:55:31 -06:00
Vincent St-Amour
c9a96c1d2c Added some closure and promotion type signatures. 2010-06-11 20:55:47 -04:00
Vincent St-Amour
aae1acf035 Fixed a bug in the optimizer that made it optimize where it
shouldn't have.
2010-06-11 20:53:10 -04:00
Vincent St-Amour
a4c556bc85 Made Typed Scheme's optimizer silent. 2010-06-11 20:53:09 -04:00
Vincent St-Amour
fe09ce3dee Added Jeff Siskind's ray tracer to the racket-specific benchmarks. 2010-06-11 19:48:23 -04:00
Vincent St-Amour
de0d9a27dc Fixed string-copy!'s type signature. 2010-06-11 19:48:23 -04:00
Vincent St-Amour
96c541912c Fixed a bug with eof and procedure types overlapping. 2010-06-11 19:48:22 -04:00
Vincent St-Amour
727000fbfb Fixed the common benchmark harness to compile the typed benchmarks
before running them.
2010-06-11 19:48:22 -04:00
Sam Tobin-Hochstadt
1cff0a1f85 Actually typecheck actuals even when there's a type annotation. 2010-06-11 19:35:56 -04:00
Sam Tobin-Hochstadt
7ece2a4872 Fix type of `zero?' to properly handle 0.0. 2010-06-11 18:54:05 -04:00
Sam Tobin-Hochstadt
1a80b6b044 Include "-" in last name regexp. 2010-06-11 17:49:06 -04:00
Sam Tobin-Hochstadt
c945927776 Support multiple arguments to `citet', provided that all authors are equal?
- Also refactors indexing to separately index date and author
2010-06-11 17:49:05 -04:00
Sam Tobin-Hochstadt
7c32898cb2 Print names using the name, ignoring aliases. 2010-06-11 17:48:37 -04:00
Matthew Flatt
d6d5c914f7 cases when number functions produce 0: clarify docs and fix (atan 0 x)
for positive exact x;
 also clarify docs on some cases when divide-by-zero exception is raised
2010-06-11 15:04:24 -06:00
Matthew Flatt
3638ea4963 enable longer command line for embedding 2010-06-11 15:18:00 -04:00
Matthew Flatt
ea7c34568c fix mach-o munging of 64-bit executables 2010-06-11 15:18:00 -04:00
Matthew Flatt
9597810a99 fix objc ABI for 64-bit Darwin 2010-06-11 15:18:00 -04:00
Eli Barzilay
64158fac04 Added license page, courtesy of Sam. 2010-06-11 15:01:08 -04:00
Eli Barzilay
e406dc2504 Add toplevel lists page.
Messy right now, but has all the relevant pieces.
2010-06-11 14:54:17 -04:00
Eli Barzilay
4108685a26 Bilgi mirror is on-line. 2010-06-11 14:54:16 -04:00
Eli Barzilay
d732b164aa Sort download entries according to browser platform; display a blurb
about linux installers.
2010-06-11 14:54:16 -04:00
Eli Barzilay
42e66e35eb Add a {{{HEAD}}} hole to the planet template. 2010-06-11 14:54:16 -04:00
Eli Barzilay
e24d11a03c Make it possible to have toplevel sites with absolute urls, needed for some stubs 2010-06-11 14:54:16 -04:00
Eli Barzilay
5aaf3811cf Added a `lists' toplevel page (not content, yet), and a stub for mailman pages. 2010-06-11 14:54:16 -04:00
Eli Barzilay
5093f0c32b A few more examples. 2010-06-11 14:54:16 -04:00
Eli Barzilay
5835605fe8 Lots of improvements to the front page source. 2010-06-11 14:54:16 -04:00
Eli Barzilay
9639b9ccd1 Use @page consistently. 2010-06-11 14:54:16 -04:00
Eli Barzilay
2d312484f7 Added a skeleton page for planet. 2010-06-11 14:54:16 -04:00
Eli Barzilay
6caabb92cc Another small & subtle bug in relativize. 2010-06-11 14:54:16 -04:00
Eli Barzilay
97baaf78e7 IRC client page and pointer to logs. 2010-06-11 14:54:16 -04:00
Eli Barzilay
071707f9fa Typos, tweaks, etc; split text in new-name on double newline. 2010-06-11 14:54:16 -04:00
Sam Tobin-Hochstadt
fd1b20c93d Fix optimizer for refactoring. 2010-06-11 14:21:42 -04:00
Sam Tobin-Hochstadt
b649575afc new bug with mutation 2010-06-11 11:55:22 -04:00
Sam Tobin-Hochstadt
4f2952f4b9 minor refactorings 2010-06-11 11:55:21 -04:00
Sam Tobin-Hochstadt
5f069ed4bb Refactor #%module-begin and #%top-interaction for Typed Scheme. 2010-06-11 11:55:21 -04:00
Matthew Flatt
5b33f0b951 fix docs for define-cite
Closes PR 10971
2010-06-11 04:34:22 -04:00
Robby Findler
0b55de2e6e removed the minor version number from the planet status line in drracket so as not to confuse (since planet may actually supply a later version number) 2010-06-10 20:15:18 -05:00
Robby Findler
893beb582e adjusted the universe window so that the canvas is shown in the middle of the window when the window resizes 2010-06-10 20:15:17 -05:00
Sam Tobin-Hochstadt
4ac05ce5bd Use emit-local-step with match expanders. 2010-06-10 18:58:44 -04:00
Sam Tobin-Hochstadt
490361c0fc Add types for a few more values. 2010-06-10 18:58:44 -04:00
Ryan Culpepper
3d21f97f3f macro-stepper: added emit-local-step 2010-06-10 16:40:52 -06:00
Ryan Culpepper
70fedd766f macro-stepper: added docs for macro-debugger/emit 2010-06-10 14:58:28 -06:00
Ryan Culpepper
2068acc22b macro-stepper: added api for macro "remarks" (no docs yet) 2010-06-10 12:54:09 -06:00
Ryan Culpepper
eb1a122888 macro-stepper: preserve underlining in highlights 2010-06-10 12:54:08 -06:00
Sam Tobin-Hochstadt
0379e534e3 New interface for unstable/mutated-vars
- functional hash tables
 - fix clients
2010-06-10 13:28:29 -04:00
Matthew Flatt
535c8e0a09 tweak decompiler to use a different name for boxed locals 2010-06-10 07:32:11 -04:00
Sam Tobin-Hochstadt
ed1596db9b move unstable/gui to the plt distribution 2010-06-09 17:58:17 -04:00
Matthew Flatt
66e94fe10a doc mzscheme define-syntax' and define-for-syntax'
which are no longer the same as racket/base or scheme/base
2010-06-09 17:29:10 -04:00
Sam Tobin-Hochstadt
0149a05719 Fix promise printing, add docs. Closes PR 10968. 2010-06-09 16:56:31 -04:00
Stevie Strickland
7b38cef4e8 Fix first-order cons/c check in mzlib contract tests. 2010-06-09 15:52:29 -04:00
Sam Tobin-Hochstadt
3151566125 Improve TS reference docs
- lots of examples
 - reorganize type listing
 - add Zero type
2010-06-09 15:44:46 -04:00
Vincent St-Amour
436e001b0e Fixed the implementation of Channel types. 2010-06-09 15:28:10 -04:00
Vincent St-Amour
2fd1e3ac9f Modified the numeric base type environment. 2010-06-09 14:54:39 -04:00
Vincent St-Amour
04e618388c Added some Bytes and IO-related stuff to Typed Scheme. 2010-06-09 14:54:38 -04:00
Vincent St-Amour
6b4ca4d7b0 Added tests and documentation for Thread and Channel types. 2010-06-09 14:54:37 -04:00
Vincent St-Amour
15b0c8542d Added the Thread type and related functions. 2010-06-09 14:54:36 -04:00
Vincent St-Amour
ec799fb208 Added Channel types. 2010-06-09 14:54:35 -04:00
Vincent St-Amour
0741b48c99 Modified the for: macros to use sequence types. 2010-06-09 14:54:34 -04:00
Vincent St-Amour
2cd0321a23 Took responsibility for Typed Scheme's optimizer. 2010-06-09 14:54:33 -04:00
Vincent St-Amour
f42880c320 Moved the typed common benchmarks to a separate subdirectory. 2010-06-09 14:54:33 -04:00
Vincent St-Amour
077e1d9bca Increased the size of the pseudoknot benchmark and ported it to
idiomatic racket, then to Typed Scheme.
2010-06-09 14:51:52 -04:00
Stevie Strickland
bad92f348b Avoid building unnecessary intermediate lists. 2010-06-09 14:26:26 -04:00
Stevie Strickland
99bb46d225 Fix flat immutable container ctcs so that errors pinpoint specific elements.
* Fixes immutable container contract combinators so that, if given flat
   contracts, they report blame errors in terms of the specific element
   that failed, instead of reporting the entire container as failing.

   This fixes issues seen with contracts such as (listof string?), where
   the contract is applied to a list with far too many elements to print
   all at once and the failing element is never printed.

 * Fixes vector-immutable/c so that if all the element contracts are flat,
   we create a flat contract, like the other immutable container contract
   combinators.

 * Also have more appropriate first-order checks for each combinator
   than just "Is it the right type of container?".

These changes affect:
 listof
 non-empty-listof
 vector-immutableof
 cons/c
 box-immutable/c
 vector-immutable/c
2010-06-09 13:29:04 -04:00
Matthew Flatt
d6ddbe15d5 support kw/opt args in define-syntax' and define-for-syntax' 2010-06-09 13:05:43 -04:00
Sam Tobin-Hochstadt
30fe053f78 typed/racket/no-check 2010-06-09 12:51:27 -04:00
Sam Tobin-Hochstadt
ed5b10afd2 document `assert' 2010-06-09 12:20:39 -04:00
Sam Tobin-Hochstadt
78023d08f9 Sequenceof type.
- inferencing and subtyping relation with vectors, lists, etc
- use in `make-sequence'
- add tests
2010-06-09 11:03:12 -04:00
Mike Sperber
2c964b91f0 Provide prop:print-converter propery with `define-record-procedures'.
This fixes quasiquote and constructor-style printing to not fall for
the extra lazy-contract-checking field.
2010-06-09 14:37:36 +02:00
Mike Sperber
fc879f1894 Make use of stepper-define-struct-hint' in define-record-procedures'. 2010-06-09 14:33:21 +02:00
Mike Sperber
3319fa41d0 Add properties to the HtDP teaching languages. 2010-06-09 14:16:34 +02:00
Mike Sperber
c7a7eb0a58 Export Symbol contract into HtDP teaching languages. 2010-06-09 13:57:17 +02:00
Mike Sperber
f29b6483f9 Export `posn' contract to the HtDP teaching languages. 2010-06-09 13:46:51 +02:00
Mike Sperber
744b45f470 Rename HtDP list' contract to list-of'. 2010-06-09 12:07:47 +02:00
Mike Sperber
5b4d25295d Make `define-struct' define contracts.
In particular, in

(define-struct foo (a b))

... foo is a contract, and a contract combinator `foo-of' is defined.
2010-06-09 11:07:22 +02:00
Mike Sperber
7269b2a1c1 Fix one of the test-outcome messages. 2010-06-09 10:46:56 +02:00
Sam Tobin-Hochstadt
78832fe332 Support case-lambda with multiple branches with keyword arguments. 2010-06-08 17:50:48 -04:00
Robby Findler
716aacf388 changed the framework's standard menus frame so that the quit menu is
never created under mac os x (which is the right behavior to make quit
actually work properly).
2010-06-08 16:45:15 -05:00
Sam Tobin-Hochstadt
c8732f12e4 fix prop 2010-06-08 16:55:46 -04:00
Sam Tobin-Hochstadt
ab70fed8a8 Scheme -> Racket in styles
Scribble style names.
 .tex and .css files
2010-06-08 16:40:47 -04:00
Ryan Culpepper
b6b8e29957 macro-debugger: made properties display respect inverted-colors mode 2010-06-08 14:12:34 -06:00
Ryan Culpepper
1c9bb4a72a macro-stepper: fixed colors for white-on-black display 2010-06-08 14:12:34 -06:00
Sam Tobin-Hochstadt
679967b491 PLT Scheme -> Racket 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
6d2b5569f4 Remove bogus #lang line 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
84eae2b5e3 scheme -> racket in test-engine 2010-06-08 12:34:20 -04:00
Robby Findler
e74e929a92 changed the macro stepper to be responsive to the white-on-black preference
(but there is still some work to do to actually select a reasonable set
 of colors and probably some refactoring, but at least the interface with
 the framework is there now, so the changes should not be hard from here on)
2010-06-08 11:33:29 -05:00
Sam Tobin-Hochstadt
a8593de3c1 Scheme -> Racket fixes 2010-06-08 12:23:50 -04:00
Sam Tobin-Hochstadt
16391dda3d Fix Scheme/Racket typo. Closes PR 10965. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
9fc7a1eca4 Use `assert' for casts in typed benchmarks. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
0f4db44be3 more precise type for `max' 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
e44e454b94 Predicates for numeric comparisons. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
5f5dca4c69 Undo changes to benchmarks to use `sub1'. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
7f300a2c4f Special-case (- x 1) for use in loops. 2010-06-08 12:05:56 -04:00
Mike Sperber
30f9cd0dab Merge remote branch 'local-plt/master' 2010-06-08 14:22:51 +02:00
Mike Sperber
da88f22b0e Change do-define-struct' to use make-struct-type' explicitly.
This is to enable the contracts work that is to come.
2010-06-08 14:20:07 +02:00
Mike Sperber
97a04e9f9d Fix error message to match the test suite's check for it. 2010-06-08 11:22:35 +02:00
Mike Sperber
f54dc18326 Fix file names for loading. 2010-06-08 11:19:28 +02:00
Mike Sperber
dee21e9e73 Add what's needed, delete what's in the way.
Stuff I had forgotten earlier.
2010-06-08 09:26:07 +02:00
Matthew Flatt
1b0a173b34 fix detail in name-change faq 2010-06-07 20:51:44 -04:00
Sam Tobin-Hochstadt
b1ea02d546 fix typo 2010-06-07 20:45:54 -04:00
Matthew Flatt
1712dfb7f5 fix make-gui-namespace from scheme/gui/base and racket/gui/base
so that the namespace starts with scheme/base or racket/base
 respectively
2010-06-07 20:06:51 -04:00
Matthew Flatt
6b24320ea7 fix overzealous replacement of "Scheme" with "Racket" in quick
but a more extensive rewrite is probably warranted
2010-06-07 20:06:51 -04:00
Eli Barzilay
05f93bfc28 Add version indicator. 2010-06-07 14:08:50 -04:00
Sam Tobin-Hochstadt
7df8e32793 Properly handling immutable invariant structs. 2010-06-07 14:03:06 -04:00
Eli Barzilay
57d0011d58 Put a download button on the toplevel download page too.
The download toplevel is not meant to be part of the web, but people
will still get there -- so be nice.
2010-06-07 13:41:13 -04:00
Eli Barzilay
225c94cca6 The navbar also uses the download page.
(This leaves the toplevel download page unlinked (as expected), so it's
required explicitly.)
2010-06-07 13:41:13 -04:00
Eli Barzilay
81a9bbafd6 Download platform selector 2010-06-07 13:41:13 -04:00
Eli Barzilay
54bef4cfa1 Per installer pages 2010-06-07 13:41:13 -04:00
Eli Barzilay
9338211cf6 Current installers listing 2010-06-07 13:41:13 -04:00
Eli Barzilay
7e088a324e Move the download button into the download file. 2010-06-07 13:41:13 -04:00
Eli Barzilay
c9146b38e5 Add download and version information; download page on main site. 2010-06-07 13:41:13 -04:00
Eli Barzilay
fdd1c8d003 Toplevel download links 2010-06-07 13:41:13 -04:00
Eli Barzilay
2edf998fdb No need for multiple arguments here 2010-06-07 13:41:13 -04:00
Robby Findler
00cfe953a7 removed an unecessary parameter (the function was only called in one place and the argument expression was a variable that was also bound in the body of the called function and that variable was already used in a few other places, so the parameter was confusing here, making it seem to be a different value) 2010-06-07 11:43:36 -05:00
Robby Findler
9d75530d97 removed unused import 2010-06-07 11:43:36 -05:00
Casey Klein
abd035aec2 Fixes a bug in the way Redex generates tests to exercise the LHSs of a
meta-function or reduction relation.
2010-06-07 10:52:23 -05:00
Mike Sperber
b0e6e6b55d Merge remote branch 'origin/master' 2010-06-07 17:26:34 +02:00
Mike Sperber
93d7ec9446 Don't recheck DMdA lazy contracts we've already checked.
We avoided re-applying contracts that haven't been checked, but not
those that have.  Do so now.
2010-06-07 17:06:07 +02:00
Carl Eastlund
4c1eff839d Tell DrDr to use gracket-text for new unstable/gui libraries. 2010-06-07 00:10:28 -04:00
Carl Eastlund
e67096b276 Documented path->package-version. 2010-06-06 21:19:28 -04:00
Carl Eastlund
5d212ce1bd Completed the adaptation of (planet cce/scheme:7) to collects/unstable.
Removed the staging area collects/unstable/cce.
2010-06-06 20:31:37 -04:00
Carl Eastlund
e7814b63a7 Renamed call/debug from unstable/debug to debugf. 2010-06-06 20:31:37 -04:00
Carl Eastlund
a915d7c053 Changed unstable/debug to use error printing instead of logger output. 2010-06-06 20:31:36 -04:00
Carl Eastlund
ddc889532e Replaced unstable/debug with unstable/cce/debug. 2010-06-06 20:31:36 -04:00
Carl Eastlund
5faced0c23 Moved unstable/cce/set to unstable/set. 2010-06-06 20:31:35 -04:00
Carl Eastlund
f5b58403ba Moved unstable/cce/scribble to unstable/scribble. 2010-06-06 20:31:35 -04:00
Carl Eastlund
5877732abf Moved unstable/cce/slideshow to unstable/gui/slideshow. 2010-06-06 20:31:34 -04:00
Carl Eastlund
c749b3ece5 Moved unstable/cce/planet to unstable/planet. 2010-06-06 20:31:34 -04:00
Carl Eastlund
f6a190d3f3 Moved unstable/cce/require-provide to unstable/require. 2010-06-06 20:31:33 -04:00
Carl Eastlund
7131198974 Moved unstable/cce/define to unstable/define. 2010-06-06 20:31:33 -04:00
Carl Eastlund
ce85a96978 Moved the contents of unstable/cce/syntax to multiple other modules:
unstable/syntax, unstable/contract, and unstable/planet-syntax.
2010-06-06 20:31:32 -04:00
Carl Eastlund
904f80cd44 Moved unstable/cce/drscheme to unstable/gui/language-level. 2010-06-06 20:31:32 -04:00
Carl Eastlund
fb53d5d191 Moved unstable/cce/dict to unstable/dict. 2010-06-06 20:31:31 -04:00
Carl Eastlund
86a3c3ed18 Moved unstable/cce/class to unstable/class. 2010-06-06 20:31:31 -04:00
Carl Eastlund
584fac8419 Moved unstable/cce/gui to unstable/gui/window. 2010-06-06 20:31:30 -04:00
Carl Eastlund
1360d02728 Added unstable/cce/exn to unstable/exn. 2010-06-06 20:31:30 -04:00
Carl Eastlund
402232237c Moved unstable/cce/port to unstable/port. 2010-06-06 20:31:21 -04:00
Carl Eastlund
4166a0cfe7 Moved unstable/cce/sandbox to unstable/sandbox. 2010-06-06 20:30:49 -04:00
Carl Eastlund
2db3a9d38a Moved unstable/cce/regexp to unstable/regexp. 2010-06-06 20:30:48 -04:00
Carl Eastlund
3a525b9a12 Replaced unstable/hash with unstable/cce/hash. 2010-06-06 20:30:48 -04:00
Carl Eastlund
286319d723 Added unstable/cce/contract contents to unstable/contract. 2010-06-06 20:30:47 -04:00
Carl Eastlund
70858e93e5 Moved unstable/cce/queue to unstable/queue. 2010-06-06 20:30:40 -04:00
Carl Eastlund
1d0c069a6c Moved unstable/cce/web to unstable/web. 2010-06-06 20:29:59 -04:00
Carl Eastlund
14b2daab66 Moved unstable/cce/values to unstable/values. 2010-06-06 20:29:56 -04:00
Carl Eastlund
a22a1a4c15 Added unstable/cce/match macros to unstable/match. 2010-06-06 20:29:55 -04:00
Carl Eastlund
6bcf77fe65 Moved unstable/cce/text to unstable/text. 2010-06-06 20:29:54 -04:00
Carl Eastlund
8d10a6343b Adapted unstable/cce/function to unstable/function. 2010-06-06 20:29:54 -04:00
Carl Eastlund
6f39c3fca1 Adding contents of (planet cce/scheme:7) to collects/unstable/cce.
This is a staging area; these modules will be adapted to collects/unstable.
2010-06-06 20:29:53 -04:00
Carl Eastlund
4b728da51c Added unstable/pretty with pretty-format/print, /write, and /display. 2010-06-06 20:29:38 -04:00
Carl Eastlund
e52fb81aac Renamed bindings from unstable/hash and unstable/debug that will clash
with subsequent adaptation of (planet cce/scheme) to collects/unstable.
These bindings are temporary, and will be replaced in the adaptation.
2010-06-06 19:57:15 -04:00
Carl Eastlund
c1906fd3d3 Un-clutter TOC for unstable docs. 2010-06-06 19:55:45 -04:00
Carl Eastlund
8cbd1d15f8 Exporting path->package-version for use outside planet/util. 2010-06-06 19:55:44 -04:00
Robby Findler
0126324f41 documented contract-stronger? 2010-06-06 14:57:11 -05:00
Eli Barzilay
054ce9d21c Fix a small but nasty bug, and the related problem in stubs. 2010-06-06 05:40:16 -04:00
Eli Barzilay
d5504efd05 Fix mail archive links 2010-06-06 03:52:51 -04:00
Eli Barzilay
7a1b3597ee Add the loud background 2010-06-06 03:51:52 -04:00
Eli Barzilay
502007e51b Distribute to proper place now, tweak requires. 2010-06-06 03:51:40 -04:00
Eli Barzilay
1dc36d24fc make versionpatch deal with two-part versions too 2010-06-06 00:18:31 -04:00
Matthew Flatt
347e0da798 restore and document #:collects-dest arg to create-embedding-exe
fixed `raco make'
2010-06-05 17:59:41 -06:00
Matthew Flatt
773d0f6d70 fix use of .ss when .rkt exists in executable creation
more generally, fixes anything tha uses syntax/modcode
2010-06-05 16:49:34 -06:00
Robby Findler
d981a386d5 fixed a few typos in the docs 2010-06-05 17:31:06 -05:00
Robby Findler
608f78b29f refactored the executable creation code to make it more legible 2010-06-05 17:23:40 -05:00
Robby Findler
31367705bb actually switched the language to racket/base this time 2010-06-05 17:23:40 -05:00
Robby Findler
ccfa9c254f fixed the contract for create-embedding-executable (and changed the file to the racket/base language) 2010-06-05 17:23:39 -05:00
Robby Findler
db0f73bc4f added contract to create-embedding-executable 2010-06-05 17:23:38 -05:00
Robby Findler
42563354f8 Added preferences to remember the checkboxes in the Create Executable dialog box 2010-06-05 17:23:38 -05:00
Robby Findler
89be620f17 wording clarification 2010-06-05 17:23:37 -05:00
Eli Barzilay
8603bd22b0 Distribution via rsync. 2010-06-05 16:15:39 -04:00
Eli Barzilay
1af5b69588 People page 2010-06-05 14:45:07 -04:00
Eli Barzilay
33fb2679ae Fix bugs in output directories 2010-06-05 14:37:44 -04:00
Eli Barzilay
f56532c022 Main page works. 2010-06-05 14:23:55 -04:00
Eli Barzilay
3b3bfb0719 Add a `plain', and fix the identifiers. 2010-06-05 13:55:46 -04:00
Eli Barzilay
caaa69c689 define-pager' -> define+provide-context' that also creates a
`copyfile' binding.
2010-06-05 13:26:52 -04:00
Eli Barzilay
d8f8dfe9b7 Initial web content & build script. 2010-06-05 12:44:01 -04:00
Eli Barzilay
e09d6567c8 General links module, ability to specify extra html <head> material. 2010-06-05 12:43:36 -04:00
Eli Barzilay
2cbf8c8677 Common code for PLT sites 2010-06-05 08:53:53 -04:00
Eli Barzilay
9a0b78d9ad Generic (X)HTML generation framework
(Will later move into the scribble collection.)
2010-06-05 08:53:53 -04:00
Sam Tobin-Hochstadt
6197de9a09 Scheme -> Racket 2010-06-04 18:03:31 -04:00
Sam Tobin-Hochstadt
dfb4916f10 Fix more references to Scheme. 2010-06-04 16:40:00 -04:00
Sam Tobin-Hochstadt
43b9917484 Fix references to Scheme. 2010-06-04 15:40:08 -04:00
Sam Tobin-Hochstadt
47218dcb16 Fix typo. Closes PR 10958. 2010-06-04 14:15:50 -04:00
Jay McCarthy
f53898f8e6 drdr prop 2010-06-04 10:50:31 -06:00
Jay McCarthy
eeef33fa7b Adding ignores 2010-06-04 09:43:36 -06:00
Jay McCarthy
8e10ea0fef Adding formlets to tutorial 2010-06-04 09:43:36 -06:00
Matthew Flatt
88a06c724c revise examples for bound-identifier=? and free-identifier=? 2010-06-03 17:41:08 -06:00
Matthew Flatt
32297601b6 use simple-form-path more consistently for path normalization
--- a reversal of opinion from my earlier commit; the problem
 with syntactic simplification is that it may not refer to the
 same file, due to soft links; given that true normalization is
 impossible, simplify-path and simple-form-path provide a good
 compromise between preserving paths as given and exanding
 soft links as neede
2010-06-03 17:23:14 -06:00
Jon Rafkind
53cfb15e5c add example for free-identifier=? and bound-identifier=? (from the r6rs docs) 2010-06-03 16:27:55 -06:00
Matthew Flatt
26835bedd1 change cm to accept the case of an uncompiled dependency
Merge to 5.0
2010-06-03 14:02:19 -06:00
Matthew Flatt
7e08ef7064 fix mismatched path normalizations in `raco setup'
A mixture of filesystem-insensitive `simplify-path', filesystem-sensitive
 `simplify-path', and `normalize-path' was used in different parts
 of `raco setup'. This causes a mismatch, for example, when a Planet
 hard link uses a path that is a symlink.
 In general, I think filesystem-insensitive simplification (i.e., syntactic
 simplification) is the right choice for comparing paths, so that is now
 used consistently.
2010-06-03 13:58:46 -06:00
Matthew Flatt
c3fdf47cc7 improve expansion of some unit forms to limit expansion size
Merge to 5.0
2010-06-03 11:07:44 -06:00
Ryan Culpepper
b2196cc595 syntax/parse: fixed bug in litsets at higher phases 2010-06-02 17:19:12 -06:00
Ryan Culpepper
4e54ae0c02 drracket tools manager: indicated skipped and failed tools
Closes PR 10952
2010-06-02 15:06:31 -06:00
Jay McCarthy
add2cbbbda Correcting test 2010-06-02 12:12:44 -06:00
Jay McCarthy
0748a08cd4 Using racket-lang 2010-06-02 11:21:43 -06:00
Jay McCarthy
2985001a79 Fixing PR10950 2010-06-02 10:20:20 -06:00
Jay McCarthy
3ff7b0461c Debugging 2010-06-02 10:20:19 -06:00
Sam Tobin-Hochstadt
0199e11edd Add require to base env to fix tests. 2010-06-02 11:26:48 -04:00
Robby Findler
66a97ebbac more typos 2010-06-02 09:34:11 -05:00
Robby Findler
396f348bcf Fixed some typos 2010-06-02 09:34:10 -05:00
Robby Findler
53b9b8adba brought the tool docs up to date with the new names in the info.rkt files 2010-06-02 09:34:10 -05:00
Robby Findler
ac69f11a58 improved the backwards compatibility documentation for the drscheme: names 2010-06-02 09:34:10 -05:00
Robby Findler
880fa2df0d Fixed drracket/tools-lib so that it exports drscheme:* names 2010-06-02 09:34:10 -05:00
Eli Barzilay
b47569930e Fix readme.txt -> README in unix installer 2010-06-02 10:08:14 -04:00
Matthew Flatt
4ebe2a0f52 try to fix Typed Racket after 'apply' changes 2010-06-01 21:25:54 -06:00
Matthew Flatt
61d39f2568 bytecode compiler convert (apply f .... (list arg ...)) 2010-06-01 19:22:39 -06:00
Mike Sperber
a0d82d07a6 Fix interaction between new DMdA contract representation and stepper.
- add proper hash procedures
- fix prining
2010-06-01 20:10:11 +02:00
Mike Sperber
5f8924b1d2 Fix various interaction breakage between the new DMdA records and the stepper.
Namely, attach the `stepper-ignore-completely' property to each
individual definition, rather than just to the block of definitions as a whole.
2010-06-01 20:10:11 +02:00
Sam Tobin-Hochstadt
61f6c2077d Fix for new 'raco planet' output.
- Merge to v5.0
2010-06-01 13:38:45 -04:00
Sam Tobin-Hochstadt
0e3c2b71cc Test for PR 10946. 2010-06-01 13:38:45 -04:00
Matthew Flatt
6f7c7f0496 fix Planet-packaging use of Scribble
Merge to 4.0
2010-06-01 11:25:06 -06:00
Stevie Strickland
40089cce15 Add a first-order check for recursive-contract.
Closes PR 10946.
2010-06-01 12:23:05 -04:00
Matthew Flatt
7a2ac10e0f change Scribble HTML button to set current-directory while running
Closes PR 10944
 Merge to v5.0
2010-05-31 14:02:42 -06:00
Matthew Flatt
c18603f767 add racketresultblock, etc. to Scribble 2010-05-31 13:55:16 -06:00
Matthew Flatt
5592dd1489 doc corrections
Merge to 5.0
2010-05-31 13:17:11 -06:00
Eli Barzilay
d0ecc73df5 More plt-scheme -> racket-lang, specifically for planet and bugs urls. 2010-05-31 15:11:27 -04:00
Robby Findler
733c9b9eec planet command now uses short-program+command-name properly. 2010-05-31 13:17:21 -05:00
Robby Findler
e23db50e06 Rackety planet command line tool 2010-05-31 09:00:05 -05:00
Matthew Flatt
93ec20f050 lots of gitignores for Windows 2010-05-31 06:55:04 -06:00
Matthew Flatt
3b4a950014 tweak Guide repair
Merge to v5.0
2010-05-30 15:05:00 -06:00
Robby Findler
6ed0b26f73 adjusted planet client to point to planet.racket-lang.org and updated some of the error messages to use racket-lang.org 2010-05-30 16:03:33 -05:00
Eric Hanchrow
ab025cbf47 Fix some typos 2010-05-30 04:11:57 -04:00
Eli Barzilay
1d5f34f623 Matthew uses JPRs tests 2010-05-30 04:11:57 -04:00
Vincent St-Amour
64ff5555fb Corrected some of the typed benchmarks to typecheck with Naturals as indices. 2010-05-29 14:23:11 -04:00
Vincent St-Amour
2229173b82 Changed the types of some numerical operations to be closed on naturals. 2010-05-29 11:31:47 -04:00
Sam Tobin-Hochstadt
d323a794e8 Change `typed-scheme' numerics.
- `number?' no longer `real?'
 - Number no longer Real
 - remove obsolete environments
 - Fix tests to use Real where necessary.
 - Fix typed/mred and typed/framework
 - Fix insert-large-letters to use `sub1' for type-safe loop

Merge to 5.0.
2010-05-28 19:24:46 -04:00
Vincent St-Amour
311be27422 Changed the common benchmark harness to compile benchmarks before
running them.
2010-05-28 19:05:45 -04:00
Vincent St-Amour
046d95293a Documented the for: macros. 2010-05-28 19:05:44 -04:00
Vincent St-Amour
e9a0014630 Disabled multi-valued seq-exprs in the for: macros because using them
triggers an internal error in the typechecker.
2010-05-28 19:05:44 -04:00
Vincent St-Amour
c92ae73859 Wrote tests for the for: macros. 2010-05-28 19:05:44 -04:00
Vincent St-Amour
49caa00890 Added the for*/X: macros. 2010-05-28 19:05:43 -04:00
Vincent St-Amour
08baa400c3 Punted #:when clause expansion in the for: macros to their
non-annotated counterparts, except in the case of for: itself, where
it doesn't break the semantics of the underlying macro.
2010-05-28 19:05:43 -04:00
Vincent St-Amour
1ec6bd448b Added the for/lists: and for/fold: macros. 2010-05-28 19:05:43 -04:00
Vincent St-Amour
3518428635 Better support for #:when clauses in the for: macros. 2010-05-28 19:05:42 -04:00
Matthew Flatt
f94b727118 Fix one "PLT" that should be "Racket"
Merge to v5.0 if convenient
2010-05-28 16:55:25 -06:00
John Clements
2b7797ad17 comments added, & 1 test 2010-05-28 14:57:18 -07:00
Jay McCarthy
00f143a060 Fixing one typo of David's 2010-05-28 14:47:54 -06:00
David Van Horn
22e2f3061f Various typo, spelling, and punctuation fixes in scribblings.
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
Matthew Flatt
9f7a08663d fix bug in JIT handling of with-continuation-mark
The bug was specific to the case of a wcm in tail position
  of another wcm, where its mark should replace the outer one,
  and where the outer one is not in tail position with respect
  to the enclosing function
 Merge to v5.0
2010-05-28 14:28:06 -06:00
Jay McCarthy
0a9e3da26e Renaming formlet* source 2010-05-28 14:09:07 -06:00
Jay McCarthy
c907fae871 Adding formlet* 2010-05-28 14:09:07 -06:00
Matthias Felleisen
4bcfbc0af2 fixes PR10940 2010-05-28 13:51:49 -04:00
Matthias Felleisen
4f9db0e1dd Merge branch 'master' of git:plt 2010-05-28 13:45:22 -04:00
Matthias Felleisen
a67fe14f9e preparing release 2010-05-28 13:45:15 -04:00
Matthew Flatt
3ded8c30d4 fix raco setup and raco planet removal of bytecode
Closes PR 10941
2010-05-28 10:44:14 -06:00
Matthew Flatt
eec92017c4 fix problems with distributing unix executables Merge to v5.0 2010-05-28 10:37:18 -06:00
Matthew Flatt
7f2d57e827 build changes aimed at making Sun tools work
Merge to v5.0
2010-05-28 07:17:24 -06:00
Matthew Flatt
b96fd0c468 fix problem pretty-printing hash values that need to wrap
Merge to v5.0
2010-05-28 07:17:24 -06:00
Eli Barzilay
6c7d83b8a7 Fix some bogus responsible assignments. 2010-05-27 23:26:34 -04:00
Matthew Flatt
c8de3b5d1e change `pretty-print' to accept a qq-depth argument
makes it more consistent with `print'
 fixes the htdp/bsl, etc. languages, which install a global print
  handler
 Merge to v5.0
2010-05-27 20:22:44 -06:00
Matthew Flatt
fbab6af045 fix DrDr props on JPR tests 2010-05-27 20:22:43 -06:00
Matthias Felleisen
b8dce21f22 Merge branch 'master' of git:plt 2010-05-27 18:57:20 -04:00
Matthew Flatt
d923ef135f add examples from J-P Roy's textbook to check before a release 2010-05-27 15:30:00 -06:00
Matthew Flatt
6006a4c84d fix helper file for raco ctool test 2010-05-27 13:33:51 -06:00
Jay McCarthy
7e485b8d28 Documenting make-hasheqv and using it 2010-05-27 12:35:30 -06:00
Jay McCarthy
035ee93911 Using placeholders in zo-parse for more cyclic datums 2010-05-27 12:35:26 -06:00
Jay McCarthy
4088448317 Dealing with cyclic hashes 2010-05-27 12:33:26 -06:00
Jay McCarthy
5833f7cba4 Unifying some code 2010-05-27 12:33:26 -06:00
Jay McCarthy
612bd22bfe Cyclic zo tests 2010-05-27 12:33:25 -06:00
Jay McCarthy
08a48a67a0 Making string->xexpr more permissive 2010-05-27 10:48:42 -06:00
Jay McCarthy
103d53f6ad Correcting default help desc 2010-05-27 10:48:42 -06:00
Sam Tobin-Hochstadt
8194bcc4d4 Guard type-equal? test. 2010-05-27 12:46:37 -04:00
Sam Tobin-Hochstadt
34fef6e538 Re-enable test. 2010-05-27 12:46:29 -04:00
Sam Tobin-Hochstadt
9701ae0065 Avoid requiring old base-types. 2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
bd0bcda85e Simpler has-name? implementation. 2010-05-27 10:50:15 -04:00
Sam Tobin-Hochstadt
63dbde1e9e Fix test for new `do:' behavior. 2010-05-27 10:10:26 -04:00
Sam Tobin-Hochstadt
d4a8c52c71 Fix error message for multiple values. 2010-05-27 10:10:26 -04:00
Sam Tobin-Hochstadt
40c77586a0 Better type for `round'. 2010-05-27 10:10:26 -04:00
Vincent St-Amour
44a7a71923 Corrected the typed versions of some benchmarks to be closer to the
untyped versions.
2010-05-27 09:30:49 -04:00
Eli Barzilay
4cdfbb28d7 A few minor fixes 2010-05-27 02:33:38 -04:00
Robby Findler
b5364a5875 fixed a bug in the docs typo
Not for the release (because it modifies a file that has been changed too much and because this commit is a minor change)
2010-05-26 20:55:24 -05:00
Robby Findler
c96bbe640d makes image=? work on 2htdp/image images. 2010-05-26 20:55:24 -05:00
Eli Barzilay
bc242e06f3 Some "plt" -> "racket" in distribution files and other meta stuff. 2010-05-26 21:29:27 -04:00
Eli Barzilay
5a432f3c9c Switch installation names to "Racket" 2010-05-26 21:29:26 -04:00
Vincent St-Amour
ca9e35b9be Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
Vincent St-Amour
61f6a2579b Documented the typed benchmarks. 2010-05-26 19:48:31 -04:00
Vincent St-Amour
e3b994abff Typed Scheme's optimizer now recognizes specialized (safe) float
operations.
2010-05-26 19:48:30 -04:00
Vincent St-Amour
762f108c04 Fixed a bug in typed Scheme's optimizer when using binary arithmetic
operators in a unary fashion with floats.
2010-05-26 19:48:30 -04:00
Vincent St-Amour
664ef2c0a3 Extended the type signatures of bitwise operations to be closed on naturals. 2010-05-26 19:48:29 -04:00
Vincent St-Amour
5213f54f56 Added the for:, for/list:, etc macros. 2010-05-26 19:48:15 -04:00
Vincent St-Amour
23f30af459 Rewrote do: to expand into do. 2010-05-26 19:20:32 -04:00
Matthew Flatt
7442f14305 fix problems with raco exe
Merge to v5.0
2010-05-26 17:07:09 -06:00
Matthew Flatt
923ff555d9 Fix problems with DESTDIR patching
Merge to v5.0
2010-05-26 17:07:09 -06:00
Matthew Flatt
f85b25f59f fix another typo like the one in dynext
Merge to v5.0
2010-05-26 17:07:08 -06:00
Jay McCarthy
7c294fd108 Accidentally killed the responsibility 2010-05-26 15:01:37 -06:00
Jay McCarthy
47f6b264a0 Specifying when R5RS is required for a benchmark and enabling running from other directories
Enabling running all benchmarks in DrDr
2010-05-26 14:53:15 -06:00
Jay McCarthy
225c08312a Commenting out time display I don't understand 2010-05-26 14:53:15 -06:00
Matthew Flatt
a8130eb7c3 fix typo in unixstyle-install 2010-05-26 14:27:37 -06:00
Matthew Flatt
d346575d36 fix typo in dynext linker spec for x86_64 Darwin 2010-05-26 14:19:30 -06:00
Eli Barzilay
8675dc69af The uninstaller is called "uninstall-racket", a few more "plt" leftovers. 2010-05-26 15:47:08 -04:00
Eli Barzilay
920870966f Fix the starter executable too. 2010-05-26 15:44:12 -04:00
Eli Barzilay
5c702976c2 A few more stray "racunit"s. 2010-05-26 15:21:55 -04:00
Jay McCarthy
28dce6996a Forgot one place 2010-05-26 13:18:02 -06:00
Jay McCarthy
c3d07af8d3 Fixing sloppy rename. Include in release. 2010-05-26 13:16:36 -06:00
Jay McCarthy
016a4fa12c Setting responsible 2010-05-26 10:09:01 -06:00
dvanhorn
c9d0bd10a1 Added remf to unstable/list.
Signed-off-by: Jay McCarthy <jay@racket-lang.org>
2010-05-26 10:08:29 -06:00
Jay McCarthy
7c5973cb94 Fixing graph display 2010-05-26 10:06:08 -06:00
Jay McCarthy
3619b5b2d8 Fixing typo 2010-05-26 10:06:08 -06:00
Matthias Felleisen
be256183e1 Merge branch 'master' of git:plt 2010-05-26 09:26:14 -04:00
Eli Barzilay
c9a7baaffa Change file references 2010-05-25 23:51:59 -04:00
Robby Findler
31b507aa51 Rackety 2htdp/image 2010-05-25 21:35:04 -05:00
Robby Findler
03a3270811 closes PR 10927 2010-05-25 21:35:03 -05:00
Robby Findler
48d793b099 closes PR 10929 2010-05-25 21:35:03 -05:00
Robby Findler
bae79dda0b closes PR 10930 2010-05-25 21:35:03 -05:00
Matthew Flatt
451961e596 fix `for' to track inlined sequence generators via 'disappeared-use 2010-05-25 20:27:03 -06:00
Eli Barzilay
2240e54660 Rename "plt-installer-header" -> "installer-header" 2010-05-25 22:09:52 -04:00
Eli Barzilay
af07701590 updated config path snapshot 2010-05-25 22:09:51 -04:00
Vincent St-Amour
c11a88f888 Added some indexes to the reference to make open-output-nowhere easier
to find.
2010-05-25 17:30:54 -04:00
Robby Findler
8c98f9d979 made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Robby Findler
0c1afebb5a made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Jay McCarthy
a797de8f9d Finalizing house call 2010-05-25 14:58:04 -06:00
Jay McCarthy
f9ca17aa2b Getting DrDr at home ready 2010-05-25 14:58:03 -06:00
Matthias Felleisen
265e420a92 doc bug PR10931 fixed 2010-05-25 16:19:20 -04:00
Eli Barzilay
3aa192944b Get rid of the generic "plt-" prefix 2010-05-25 15:42:31 -04:00
Eli Barzilay
72b1a3aafa Racketified windows installer 2010-05-25 15:42:31 -04:00
Eli Barzilay
49949a8421 Deal with a "~/" prefix.
A few additional improvements to the script.
2010-05-25 15:42:31 -04:00
Eli Barzilay
3ddeb6df17 Racketified unix installer. 2010-05-25 15:42:31 -04:00
Stevie Strickland
24c5a9aed8 Fix for optional keyword contracts used on make-keyword-procedure results.
This fix should go into the 5.0 release.
2010-05-25 13:01:42 -04:00
Matthew Flatt
e8fe67991e fix problem using both #:doc and #:tag-prefixes for secref
Merge to v5.0
2010-05-25 09:20:03 -06:00
Sam Tobin-Hochstadt
85b59a2f4c Fix Typed Scheme printing of types.
Merge to 5.0.
2010-05-25 07:58:06 -07:00
Jay McCarthy
2df8fac233 Fixing a bug reported by 张虎成. Original and small test case were added. I reimplemented Knuth-Morris-Pratt because I couldn't debug the existing implementation.
Please include in 5.0
2010-05-25 07:47:23 -06:00
Jay McCarthy
50fd0278ba Fixing an innoculous test case failure I introduced, by override the platform's time zone.
Relaxing the contract on date->string to accord with previous documentation.

Changing web-server example to use more restrictive contract

Please include in 5.0
2010-05-25 06:54:28 -06:00
Sam Tobin-Hochstadt
3885ba4f54 Remove `define-struct' from typed/racket.
Closes PR 10619.
2010-05-25 00:09:04 -07:00
Sam Tobin-Hochstadt
775e1b06a5 Test for former bug. Closes PR 10470. 2010-05-25 00:09:03 -07:00
Eli Barzilay
ea27521b5c Improved NSIS graphics (better font rendering, improved logo, no fadeout). 2010-05-25 02:06:47 -04:00
Sam Tobin-Hochstadt
27e971dce2 Check that at least one require spec is provided.
Closes PR 10617.
 Merge to v5.0.
2010-05-24 22:33:31 -07:00
Matthew Flatt
a9250ec4f0 Merge branch 'master' of git.racket-lang.org:plt 2010-05-24 18:55:31 -06:00
Matthew Flatt
f357216068 tweak figure and footnote rendering 2010-05-24 18:55:14 -06:00
Jay McCarthy
3f1a89b8f8 Fixing dumb bug from me 2010-05-24 18:46:31 -06:00
Casey Klein
9a1e3a5ca2 Disables DrDr testing for example that opens windows. 2010-05-24 19:31:14 -05:00
Vincent St-Amour
6e16a76b51 Revert "Added a /dev/null-like output port to unstable."
open-output-nowhere already does something similar.
2010-05-24 18:57:05 -04:00
Vincent St-Amour
9c12b7d2e7 Added a /dev/null-like output port to unstable. 2010-05-24 18:41:13 -04:00
Matthew Flatt
12f2c4fe2e adjust printer for sets from `racket/set' to print in constructor style
also cooperate with pretty-print
2010-05-24 15:15:45 -06:00
Matthew Flatt
97d078a156 adjust `pretty-printing' parameter for single-line printing
make it #f in that case, as opposed to printing in multi-line
 mode when the content doesn't fit on a single line
2010-05-24 15:15:45 -06:00
Sam Tobin-Hochstadt
3b90cdb872 Merge branch 'master' of git.racket-lang.org:plt 2010-05-24 14:05:29 -07:00
Sam Tobin-Hochstadt
460bb348e1 Better internal error messages. 2010-05-24 14:05:05 -07:00
Sam Tobin-Hochstadt
af689b2531 Tests for bug found by David Van Horn. 2010-05-24 14:04:43 -07:00
Sam Tobin-Hochstadt
b21f704086 Print empty filters as - 2010-05-24 14:04:01 -07:00
Sam Tobin-Hochstadt
986318065d Remove tc-toplevel from the typechecking unit. 2010-05-24 14:03:14 -07:00
Sam Tobin-Hochstadt
5b0f705b83 Only do abstraction of filters at `let's. 2010-05-24 14:01:00 -07:00
Sam Tobin-Hochstadt
f320d36e9c Fix parsing of All on RHS of -> 2010-05-24 13:26:29 -07:00
Jay McCarthy
1b6b721aee Adding date->seconds 2010-05-24 14:25:35 -06:00
Jay McCarthy
009ae0588e Adding current-date 2010-05-24 14:23:53 -06:00
Jay McCarthy
991e2a4064 Using modern style a little 2010-05-24 14:23:52 -06:00
Jay McCarthy
581458f0be Converting to racket and with contracts 2010-05-24 14:23:52 -06:00
Jay McCarthy
4d892983fa Adding test cases to verify changes 2010-05-24 14:23:52 -06:00
Sam Tobin-Hochstadt
fac0e197cf Improve verbose printer.
- Fewer newlines.
 - Avoid printing hidden fields.
2010-05-24 13:23:37 -07:00
Jay McCarthy
2a934cb053 Do not read the entire zo at once 2010-05-24 13:14:36 -06:00
Jay McCarthy
f67177f740 Separating bytes usage for next change 2010-05-24 13:14:36 -06:00
Jay McCarthy
758b944996 Contract was too strict 2010-05-24 13:14:35 -06:00
Jay McCarthy
40e1ba95fc Making zo-marshal more like C and not with large byte strings 2010-05-24 13:14:35 -06:00
Jay McCarthy
f44e3123b5 Adding byte counting ports 2010-05-24 13:14:35 -06:00
Jay McCarthy
325ac1ae88 Reformating 2010-05-24 13:14:35 -06:00
Jay McCarthy
cb5aac762e Adding stream output 2010-05-24 13:14:35 -06:00
Jay McCarthy
63f546a080 Reformating 2010-05-24 13:14:35 -06:00
Jay McCarthy
b892c276ff Streaming final output from zo-marshal 2010-05-24 13:14:35 -06:00
Jay McCarthy
3b98c8f9b3 Syntax objects are supported 2010-05-24 13:14:35 -06:00
Robby Findler
61f03beaee fixed problems with chat noir's h key implementation (and added a note about the new 'n' key) 2010-05-24 12:42:38 -05:00
Robby Findler
77841f0834 fixes PR 19025 2010-05-24 12:17:40 -05:00
Matthew Flatt
6dec677308 Fix problem with scribble/lp and dotted forms
Closes PR 10924
 Merge to v5.0
2010-05-24 10:03:55 -06:00
Matthew Flatt
0b8a664d78 fix minor doc bugs 2010-05-24 10:03:37 -06:00
Matthew Flatt
c3f5aed473 fix docs for in-directory to specific default argument value
Merge to v5.0
2010-05-24 10:03:36 -06:00
Jay McCarthy
85a7509034 Removing test auto run 2010-05-24 09:56:35 -06:00
Jay McCarthy
f5bddf7705 Fixing ftp-download-file 2010-05-24 09:56:35 -06:00
Jay McCarthy
15d9a7dd8a Initial ftp test cases 2010-05-24 09:56:35 -06:00
Jay McCarthy
52281d7089 rkt suffixes 2010-05-24 09:56:35 -06:00
Jay McCarthy
63df5311c5 Racketizing 2010-05-24 09:56:34 -06:00
Jay McCarthy
4349df5b6a Fixing error when no email needs to be sent and changing addresses 2010-05-24 09:56:34 -06:00
Casey Klein
cc162f3eeb Brings the Redex examples documentation up to date (for 5.0 release) 2010-05-24 09:19:48 -05:00
Matthias Felleisen
bece17d828 Merge branch 'master' of git:plt 2010-05-24 10:09:38 -04:00
Matthias Felleisen
fe67f369fa prep for debugging 2010-05-24 10:09:01 -04:00
Matthias Felleisen
f243a0e617 fixed 10922 2010-05-24 10:03:59 -04:00
Matthias Felleisen
f1d258f20b fixed 10923 2010-05-24 09:50:57 -04:00
Eli Barzilay
16affcd86d New NSIS graphics. 2010-05-24 02:59:12 -04:00
Jose Antonio Ortega Ruiz
92bbe52da0 Fixes for trivial typos in Reference sec. 1.1. 2010-05-23 23:10:36 -04:00
Sam Tobin-Hochstadt
601e693b01 Improve type of count and vector-count. 2010-05-22 18:07:50 -04:00
Sam Tobin-Hochstadt
e6d85175f3 Document Exact-Nonnegative-Integer 2010-05-22 18:03:18 -04:00
Carl Eastlund
5d6afabf5e Improved error messages for misuse of prop:dict. 2010-05-22 11:13:15 -04:00
Matthew Flatt
f5a0b9e613 fix scribble/xref 2010-05-22 08:46:43 -06:00
Robby Findler
b319039468 fixed a bug in text so that inexact integers are converted to exact ones 2010-05-22 08:58:54 -05:00
Matthew Flatt
1e9aa3b132 document scriblib/footnote 2010-05-21 19:40:33 -06:00
Matthew Flatt
18b06a9297 add `margin-note*' for putting a single-para note in the middle of a para 2010-05-21 19:40:33 -06:00
Matthew Flatt
141a37e50d Fix Scribbling and eval-result copying of hasheqv/hasheq tables
Closes PR 10918
2010-05-21 19:40:33 -06:00
Matthew Flatt
69230100e4 add scriblib/footnote library 2010-05-21 19:40:33 -06:00
Matthew Flatt
8b7c8d08bd add fix-point finding traverse pass to Scribble 2010-05-21 19:40:33 -06:00
Matthew Flatt
e4aab34656 Fix `at-exp' syntax colorer to handle non-text input
- added 'special-filter-input-port' to `racker/port'
 Merge to v5.0
2010-05-21 19:40:32 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Vincent St-Amour
fece1f6d03 Fixed a bug with Typed Scheme's do: with no finish-expr.
Include in 5.0 release.
2010-05-21 19:31:43 -04:00
Vincent St-Amour
88dc30aa3c Extended the type signatures of trigonometric operations.
Include in 5.0 release.
2010-05-21 19:31:42 -04:00
Jay McCarthy
3c19657848 Fixing precomps on OS X 2010-05-21 16:04:12 -06:00
Jay McCarthy
0ecf56090a CC output catching attempt 2010-05-21 16:04:09 -06:00
Stevie Strickland
77b4106c84 Allow the structure name to be used as a constructor.
Push to 5.0.
2010-05-21 17:16:51 -04:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Eli Barzilay
12211fff72 Various lazy-related fixes etc.
* A long-standing bug, which happened with
    (let ([x (lazy (delay 1))]) (force x) (force x))
  not being properly handled.

* Added `delay/strict', mostly for the below.

* Made srfi/45 reprovide it as `eager'.

* Also restricted the exports from srfi/45 to its interface.

All of these issues were reported by Andreas Rottmann.
2010-05-21 15:12:16 -04:00
Eli Barzilay
7424735100 Switch to the stamp directory when running git. 2010-05-21 15:12:16 -04:00
Eli Barzilay
7a380fa160 Minor git tweak 2010-05-21 15:12:15 -04:00
Mike Sperber
f899fdf15d Report the correct position for a blamed procedure.
... if the `lambda' of that procedure was the result of expanding a `define':
Attach the `define''s source location to the `lambda' expression.
2010-05-21 19:39:27 +02:00
Mike Sperber
8d39c15b17 Make contracts available in HtDP languages.
Known breakage: when blame is assigned to a procedure defined via
(define (f ...) ...), its source position isn't reported because its
lambda expression is generated.
2010-05-21 19:30:37 +02:00
Sam Tobin-Hochstadt
6b1d106285 Merge branch 'master' of git.racket-lang.org:plt 2010-05-21 10:41:48 -04:00
Sam Tobin-Hochstadt
5faab8b578 Add `debugm' to unstable/debug
- `debugm' does not parse or print the arguments to the form,
    so it works for macros, not just function application
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
188f080c79 Handle set! transformers in match expanders.
- use prop:set!-transformer
 - extract set!-transformers where necessary
 Closes PR 10481
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
230f1a59c6 More precise types for: truncate, floor ceiling 2010-05-21 10:41:24 -04:00
Matthew Flatt
0c2c992bf4 reorder and revise dialects section of guide 2010-05-21 07:16:18 -06:00
Matthew Flatt
94a55281c1 fix problems with Scribble HTML and PDF buttons 2010-05-21 07:15:39 -06:00
Mike Sperber
15ea740fa3 Merge remote branch 'origin' 2010-05-20 20:04:37 +02:00
Matthew Flatt
458b9364bd restore racket/list 2010-05-20 12:02:26 -06:00
Matthew Flatt
70089070c7 clarify that 'exec-file is not necessarily an absolute path 2010-05-20 12:02:01 -06:00
Mike Sperber
b4f010c6d5 Fix breakage due to lazy contracts.
- fix check for lazy-wrap property
- supply hash procedures for records defined with `define-record-type'
  (needed by the stepper)
2010-05-20 19:55:12 +02:00
Matthias Felleisen
2801ab2db0 Merge branch 'master' of git:plt 2010-05-20 13:26:10 -04:00
Matthias Felleisen
a106cbecbe bug in read-words/line fixed, please propagate 2010-05-20 13:25:59 -04:00
Mike Sperber
799d356871 Merge deinprogramm/contract/contract-test-display into test-engine/test-display.scm. 2010-05-20 16:57:46 +02:00
Mike Sperber
3e0d3b84ec String constants for check-property error messages. 2010-05-20 16:15:15 +02:00
Mike Sperber
2f747dfa1f Cosmetic change to new-style require. 2010-05-20 16:12:50 +02:00
Mike Sperber
5f443141f1 String constants for the remaining untranslated test-engine messages 2010-05-20 16:05:15 +02:00
Mike Sperber
8590e8cadf Merge deinprogramm contract test-engine into the regular one.
This adds support for contracts.
2010-05-20 15:31:45 +02:00
Vincent St-Amour
afdccf7a23 Used the .rktl extension for unwrapped typed benchmarks and set props
to not have drdr run the typed benchmarks.
2010-05-19 18:28:30 -04:00
Matthew Flatt
9fc5cbfa2c Fix syntax error in ASL
Closes PR 10914
 Merge to v5.0
2010-05-19 15:11:41 -06:00
Matthew Flatt
f91836e311 document Windows embedding requirement when parallelism is enabled
merge to v5.0
2010-05-19 15:10:46 -06:00
Matthew Flatt
6f733e96b7 document and index .zo extension in Guide
merge to 5.0
2010-05-19 15:10:46 -06:00
Matthew Flatt
993d80eb2a rackety shootout benchmarks 2010-05-19 15:10:46 -06:00
Sam Tobin-Hochstadt
e9ac3651a4 Add test file.
Closes PR 10594.
2010-05-19 15:22:22 -05:00
Sam Tobin-Hochstadt
9fe3747a19 Allow expected type to have weaker filters and objects.
Closes PR 10729.
2010-05-19 15:14:18 -05:00
Sam Tobin-Hochstadt
7e9313bad3 Allow recursive types in type annotations for `list'.
Closes PR 10562.
 Tests for fixed bugs.
2010-05-19 15:14:18 -05:00
Vincent St-Amour
63be1f51ed Added error checking in the graphs-typed benchmark. 2010-05-19 13:10:40 -04:00
Vincent St-Amour
1ac3f6905f Changed the typed benchmarks and the benchmark harness to use wrapper
modules to turn typed Scheme's optimization on and off.
2010-05-19 13:10:39 -04:00
Vincent St-Amour
20cd21440f Ported some more of the common benchmarks to Typed Scheme. 2010-05-19 13:10:39 -04:00
Vincent St-Amour
1e15826159 Switched from using the module form to using #lang in the typed benchmarks. 2010-05-19 13:10:39 -04:00
Vincent St-Amour
fb09e9da23 Updated some of the typed benchmarks. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
e90e37ec62 Ported some more of the common benchmarks to Typed Scheme. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
46fdef3f3f Ported some of the common benchmarks to Typed Scheme. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
3e757d0fb1 Added logging to typed Scheme's optimizer. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
7adedacf2b Extended the typed Scheme optimizer to handle all the core forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
b543177868 Extended typed Scheme's optimizer to traverse more forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
f2edae0e9a Typed Scheme's optimizer can now generate unsafe car and cdr. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
790658886b Wrote tests for the new pair accessor type signatures. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
f77e4eeb41 Added some special cases to type signatures for pair accessors. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
eb95b35a12 Fixed a typo in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
849ee86c85 Added type signatures to more pair accessors in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
b64fb126f6 Added type signatures for caar and some others to typed Scheme's base env. 2010-05-19 13:10:35 -04:00
Stevie Strickland
bb798b4ba5 Fixing the negative blame associated with provide/contracted identifiers.
The contract system now keeps track of three points of blame: the positive
blame, assigned to the provider of a contracted value; the negative blame,
assigned to the receiver of a contracted value; and the user "blame",
assigned to the party that actually misuses the value.  While the latter
is not really blame, as blame is not assigned to that party when that party
is not either the negative or positive party, it's useful information for
programmers when debugging.

For provide/contract, the negative party should be the first module to
require an identifier provided via provide/contract.  What was previously
the negative party is really the user, and is now handled as such.
2010-05-19 12:35:50 -04:00
Sam Tobin-Hochstadt
3fd5c49172 Add test for PR 10318.
Closes PR 10318.
2010-05-19 11:12:13 -05:00
Sam Tobin-Hochstadt
756bcc8a5e Documentation for heterogenous vectors.
Closes PR 10291.
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
638245e4c5 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.
2010-05-19 10:10:54 -05:00
Eli Barzilay
2c3db18852 Some git adjustments 2010-05-19 08:32:35 -04:00
Eli Barzilay
263168a165 Adjustment for release checklist. 2010-05-19 06:11:48 -04:00
Eli Barzilay
14cfb73902 "Raclog" -> "Racklog" 2010-05-18 23:47:31 -04:00
Eli Barzilay
c9f359a3c4 Fix a small problems in generating the readme file. 2010-05-18 23:30:12 -04:00
Matthias Felleisen
391444741f simulate-file for testing readers 2010-05-18 23:00:59 -04:00
Eli Barzilay
ab116a5c8b Add a generic toplevel README file, make the bundle script use it.
Also, get rid of the old readme-specs.
2010-05-18 17:28:44 -04:00
Stevie Strickland
4336f29273 Quick fix to get the right struct info out of define-struct/contract.
Closes PR 10526.  Closes PR 10561.
2010-05-18 13:14:14 -04:00
Matthew Flatt
ed1c74108f fix Scribble doc reference to element 2010-05-18 00:21:46 -06:00
Ryan Culpepper
a25996b4b8 syntax/parse: add ~var option #:attr-name-separator (no docs yet) 2010-05-17 16:33:55 -06:00
Ryan Culpepper
1572b1ece4 syntax/parse: change unbound literal error message 2010-05-17 16:33:55 -06:00
Ryan Culpepper
d43792926a racunit: add racunit menu, Lock option 2010-05-17 16:33:55 -06:00
Ryan Culpepper
3f9233a718 racunit: stop running tests when gui is closed 2010-05-17 16:33:55 -06:00
Sam Tobin-Hochstadt
535dc73fad More fixes for Vincent. 2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
d2a1470ea5 Fix repeated type ascription. 2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
7ecf424ff8 Fix internal error detected by vincent. 2010-05-17 16:06:27 -05:00
Sam Tobin-Hochstadt
0d1d61c725 rename to .rkt 2010-05-17 15:55:23 -05:00
Sam Tobin-Hochstadt
68391b2d7f Fix for git/rkt 2010-05-17 15:36:28 -05:00
Sam Tobin-Hochstadt
ce874bb0a1 rename to rkt 2010-05-17 15:29:12 -05:00
Robby Findler
b7a20594ef added \newpage to the latex-style keybindings 2010-05-17 11:39:38 -05:00
Eli Barzilay
7b14a1f585 "Racunit" -> "Rackunit" 2010-05-17 12:07:32 -04:00
Jay McCarthy
5b38155e7f Using raw response file in test 2010-05-17 11:05:22 -05:00
Eli Barzilay
28998cfe11 Remove redundant file 2010-05-17 09:57:03 -04:00
Eli Barzilay
41ea7311f3 Use "main.rkt" instead of "main.ss" in constructed path 2010-05-17 09:55:48 -04:00
Eli Barzilay
4279fe3c4f Some "org.plt-scheme" -> "org.racket-lang"s 2010-05-17 09:54:17 -04:00
Eli Barzilay
9592b91a2f Use two spaces instead of tabs, and wrap the notification lines. 2010-05-17 09:40:17 -04:00
Eli Barzilay
d0f4a5202b "revision" -> "push" on drdr pages and in emails. 2010-05-17 09:40:16 -04:00
Matthew Flatt
f0e7e40465 fix paint-by-numbers path problem 2010-05-17 07:11:04 -06:00
Eli Barzilay
939af28a4c Some random ".ss" -> ".rkt"s 2010-05-17 05:58:19 -04:00
Eli Barzilay
9c352f5704 More svn -> git changes.
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*".  (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
8450f202e9 Change the instructions to use "git" instead of "svn". 2010-05-17 04:10:56 -04:00
Eli Barzilay
1e5dbe553b Fix two random emails. 2010-05-17 04:03:28 -04:00
Eli Barzilay
bcab28e5d2 Misc tests/drracket improvements.
Removed "info.rkt", since all entries were unused; switched ".ss" to
".rkt" in both real code and tested code (except for the teachpack
tests); modernized some tests to use symbolic requires (which would also
make it easier to deal with).
2010-05-17 03:07:10 -04:00
Eli Barzilay
0940a4d813 Rename "test-drscheme.ss" -> "test-drracket.rkt"; remove the framework tests.
There's no point keeping the framework tests when drdr does a better job
with running more stuff.  But keep the drracket test, just in case, to
get an additional nag when something bad happens and it doesn't start.
2010-05-17 01:57:41 -04:00
Eli Barzilay
285e9b5279 Use ".rktc" for the C-generated foreign file. 2010-05-17 01:48:39 -04:00
Eli Barzilay
fcedc30ee4 Rename "collects/tests/mred" -> ".../gracket".
Some additional mred-related tweaks.
2010-05-17 01:44:27 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
aa7090fb25 Remove the drscheme-homepage string constant and its only use. 2010-05-17 00:56:38 -04:00
Eli Barzilay
a46743211b A lot of "plt-scheme.org" -> "racket-lang.org"s. 2010-05-17 00:53:12 -04:00
Eli Barzilay
bba676d90c Update the text message at the top of WXME files, including the URL.
Also, update the message in existing files.  Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version.  Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Eli Barzilay
2ecdc0f33a Use regexp-match*' instead of regexp-split'.
Also, explicitly make it throw an error when it's getting an empty glob.
It used to just return the root in that case, but it's unclear if this
would be the right thing, or maybe return everything, or nothing.
2010-05-16 22:59:36 -04:00
Eli Barzilay
400bd5eaad Fix this to account for not dropping empty strings at the edges. 2010-05-16 22:02:10 -04:00
Matthew Flatt
0ed8dcc020 fix some copyrights in the license doc 2010-05-16 17:35:40 -06:00
Matthew Flatt
322a045a51 improve guide chapter on language creation (based on Matthias's comments) 2010-05-16 17:28:56 -06:00
Matthew Flatt
bb26115591 add 'filebox' Scribble function 2010-05-16 17:28:55 -06:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
4b0b550e6a Rename an included file to .rktl 2010-05-16 18:26:25 -04:00
Eli Barzilay
4ab5fa7dff Fix some of the distributed paths that the compiler packages. 2010-05-16 18:26:25 -04:00
Eli Barzilay
d8fec78585 Some renames for this dusty code. 2010-05-16 18:26:25 -04:00
Eli Barzilay
a82bb41950 some prop fixes 2010-05-16 18:26:25 -04:00
Eli Barzilay
d099267b81 no tests in meta/build 2010-05-16 18:26:25 -04:00
Eli Barzilay
bb263675b6 Rename "drscheme-button*" -> "drracket-button*"; fix bad reference to "drscheme/syncheck-drracket-button". 2010-05-16 18:26:25 -04:00
Eli Barzilay
31923d045e Distribution specs should be working fine now. 2010-05-16 18:26:25 -04:00
Matthew Flatt
704f8d6b13 add two missing acks 2010-05-16 07:31:37 -06:00
Matthew Flatt
1873a6f14d fix typo 2010-05-16 07:30:43 -06:00
Eli Barzilay
020d363336 more adjustments 2010-05-16 03:08:31 -04:00
Eli Barzilay
48c9b54bea distribution seems to be working now 2010-05-16 03:06:19 -04:00
Eli Barzilay
418b05b8ff Fix a few typos 2010-05-15 21:03:35 -04:00
Eli Barzilay
86891b30a1 redex/examples/mzscheme-machine -> racket-machine 2010-05-15 18:41:08 -04:00
Eli Barzilay
c12874661f make the winvers tweaker use and modify files with the new names 2010-05-15 18:37:13 -04:00
Eli Barzilay
296818e11f Remove "-q" flags -- they're not needed. 2010-05-15 18:13:43 -04:00
Eli Barzilay
03fdd4aa15 Replace all "mzscheme"s with "racket"s, "mred"s with "gracket"s.
Also, forbid using "mred" in drdr:command-line.
2010-05-15 18:10:56 -04:00
Eli Barzilay
3219d28e9d repos-time-stamp -> repo-time-stamp 2010-05-15 16:48:04 -04:00
Eli Barzilay
8a973cde91 somehow this wasn't deleted earlier 2010-05-15 16:06:45 -04:00
Matthew Flatt
3db293a6af fix some dist-spec problems 2010-05-15 08:58:23 -06:00
Eli Barzilay
0a881a6305 drdr info file 2010-05-15 10:47:56 -04:00
Eli Barzilay
83a74c89c0 build script works with git, but still takes its own resources from iplt (svn). 2010-05-15 10:47:12 -04:00
Eli Barzilay
83c2c283fd existing version of build scripts 2010-05-15 10:45:15 -04:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Jay McCarthy
038e5f4d09 Marking all these tests as random, although not necessarily intentionally re email with Robby 2010-05-14 14:25:02 -06:00
Jay McCarthy
83abb1d223 Updating display 2010-05-14 14:25:02 -06:00
Matthew Flatt
aa9a8549ad finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
Matthew Flatt
8752e65bf8 disable check on a module's source name 2010-05-14 11:33:09 -06:00
Matthew Flatt
b072d85107 adjust Slideshow to not re-export printable<%>; improve docs for both Slideshow and Scribble 2010-05-14 11:33:08 -06:00
Matthew Flatt
88fd429eaf initial cut at language-creation chaper in guide: reader extension 2010-05-14 11:33:08 -06:00
Jay McCarthy
1d0bc61098 Updating to use new props format 2010-05-14 11:05:23 -06:00
Jay McCarthy
05c8289925 Removing self from always email 2010-05-14 11:05:23 -06:00
Jay McCarthy
b58932ba39 Off by one 2010-05-14 11:05:23 -06:00
Eli Barzilay
1f6159f0ba Change the drdr:command-line property.
It now holds a list that starts with a known symbol, and a `*' symbol
marks where the file name is supposed to be.  #f means don't run the
file.  The conversion happens when the string is converted to a value,
and at that point it will complain if ~s is missing, if there's more
than one ~s, or if the command is not one of a known few commands.
2010-05-14 11:05:23 -06:00
Sam Tobin-Hochstadt
21b5c25c90 Add annotation to test.
Fix default case for `vector-set!'
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ff36a6e8d1 sensible handling of literal vectors 2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
7ac925695f more sensible version of het vectors.
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
798a7f2a3c fix typo 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
f40000c9c7 Fix het vec with strange expected types 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
ec14f2c0b8 Finish het vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
0558d11abb more testing 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
2c03f2223b mostly done with heterogenous vectors 2010-05-14 11:00:22 -04:00
Vincent St-Amour
0837e47ce7 Fixed a typo in the regexp doc. 2010-05-13 17:12:36 -04:00
Jay McCarthy
bac7ff3bdf Fixing X11 test bugs 2010-05-13 14:34:34 -06:00
Jay McCarthy
04b035ade6 Setting props 2010-05-13 14:26:10 -06:00
Jay McCarthy
fb8e8640bb This error should not be on stderr, because it is intended 2010-05-13 14:25:39 -06:00
Jay McCarthy
dbad0093f2 Ignoring superfluous error 2010-05-13 14:14:48 -06:00
Jay McCarthy
d284d530f5 Using Elis scm-export 2010-05-13 13:37:56 -06:00
Jay McCarthy
6ee0b0585a Fixing bug in path-random access 2010-05-13 13:03:14 -06:00
Sam Tobin-Hochstadt
f44bd59b69 remove unnecessary assert 2010-05-13 14:59:45 -04:00
Sam Tobin-Hochstadt
684ae395e6 Fix w/c to handle expression form of with-contract, and disable internal contracts. 2010-05-13 14:41:59 -04:00
Sam Tobin-Hochstadt
52f5a1936c Merge remote branch 'origin/master' into samth/new-logic2 2010-05-13 14:23:58 -04:00
Stevie Strickland
27014e9147 Add myself to the list of contributors. 2010-05-13 13:57:52 -04:00
Sam Tobin-Hochstadt
814c02664e Don't generate extra filters unless they're useful. 2010-05-13 13:37:24 -04:00
Sam Tobin-Hochstadt
a893116391 fix more tests 2010-05-13 13:36:54 -04:00
Sam Tobin-Hochstadt
8d59ee77e4 Don't generate type filters for mutated variables. 2010-05-13 13:24:41 -04:00
Sam Tobin-Hochstadt
dcf8507fd6 Fix incorrect tests. 2010-05-13 12:35:14 -04:00
Eli Barzilay
e6761dc7b1 Fix checking of path existence: use the input path, not the normalized one. 2010-05-13 01:25:30 -04:00
Eli Barzilay
27f76f2da0 Adds scm-export-repo', which can be used instead of scm-checkout' to
get a clean directory.
2010-05-13 00:52:47 -04:00
Sam Tobin-Hochstadt
a7a56ce856 abstract even when out of bindings 2010-05-12 21:34:18 -04:00
Sam Tobin-Hochstadt
60aed123ce fix more tests 2010-05-12 21:33:55 -04:00
Sam Tobin-Hochstadt
264bf78559 Fix typo 2010-05-12 18:43:55 -04:00
Sam Tobin-Hochstadt
4ceda99700 Updates along useless paths are not errors. 2010-05-12 18:24:19 -04:00
Sam Tobin-Hochstadt
41f0152435 Allow dummy filtersets 2010-05-12 17:31:58 -04:00
Sam Tobin-Hochstadt
daf43d1702 more lost changes 2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
70d498beeb re-add bindings lost in merge 2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
dbe9a0f997 debugging 2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
499f36ee69 add simple test 2010-05-12 17:05:09 -04:00
Sam Tobin-Hochstadt
6f7e88cfef Descend into path elements. 2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
bc7bd9245e `debug' prints the value of the function being called 2010-05-12 17:04:18 -04:00
Ryan Culpepper
9f0d446ffd syntax/parse: added details to non-syntax attr error 2010-05-12 14:55:41 -06:00
Ryan Culpepper
6d1b2af74d syntax/parse: scheme->racket, docs for literal phases 2010-05-12 14:55:40 -06:00
Stevie Strickland
3816f9cf1a Adding .rktl as a Racket file extension. 2010-05-12 16:36:22 -04:00
Jay McCarthy
8f6c0d415c Renaming re: Eli 2010-05-12 14:33:06 -06:00
Jay McCarthy
b6abe53002 Setting GIT_DIR 2010-05-12 14:08:45 -06:00
Jay McCarthy
1d6c943114 Adding drdr:random? 2010-05-12 14:04:05 -06:00
Sam Tobin-Hochstadt
e0c82c8ac6 flatten and filters before using them 2010-05-12 15:10:37 -04:00
Jay McCarthy
4f17ec419e Changing normalize-response to be more user friendly 2010-05-12 11:26:00 -06:00
Sam Tobin-Hochstadt
e7c8ffb834 Fix contracts.
Handle improper formals lists.
2010-05-12 11:53:27 -04:00
Sam Tobin-Hochstadt
e81cdba69f Don't use raw union constructor. 2010-05-12 11:52:43 -04:00
Sam Tobin-Hochstadt
5a8fac0bdf switch to typed/ 2010-05-12 11:52:11 -04:00
Eli Barzilay
8f5b1f622c Hide stderr by combining it with the captured output => no stderr messages.
(Also, a slightly nicer string for the case of using the file timestamp.)
2010-05-12 11:15:14 -04:00
Sam Tobin-Hochstadt
ec942b6dab Merge remote branch 'origin/master' into samth/new-logic2 2010-05-12 10:59:29 -04:00
Casey Klein
cc67852317 Fixes URL typo 2010-05-12 08:48:27 -05:00
Casey Klein
7b15edee41 Racketifies Redex documentation 2010-05-12 07:58:08 -05:00
Eli Barzilay
aceeb391ad Use export-subst to tweak archive results of this file with date/sha1.
Also, make the code use these results, or if not from an archive, use
git, or if that fails, just the date of the file itself.
2010-05-12 05:43:16 -04:00
Sam Tobin-Hochstadt
4548426cd4 Merge remote branch 'origin/master' into samth/new-logic2 2010-05-11 15:19:52 -04:00
Vincent St-Amour
2435f6fe06 Changed the common benchmark wrapper to use the racket language and to
print return values.
2010-05-11 14:56:43 -04:00
Vincent St-Amour
11d8dac0bf Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
Matthew Flatt
c1abea82ec add local-require to racket/base 2010-05-11 12:31:28 -06:00
Sam Tobin-Hochstadt
c22735ea49 `block' doesn't have this limitation 2010-05-11 12:01:15 -04:00
Sam Tobin-Hochstadt
3965eab9c8 Add `racket/block' 2010-05-11 12:01:15 -04:00
Matthew Flatt
92a4106877 text% printer recognizes a line containing only a form-feed character and uses it as a page break; a form-feed character displays as ^L 2010-05-11 09:37:08 -06:00
Matthew Flatt
5b76acb4ae add racket/system to racket 2010-05-11 07:06:07 -06:00
Matthew Flatt
60119b800e document how to add a command to raco 2010-05-11 06:42:00 -06:00
Matthew Flatt
50e923b199 add 'eprintf' and 'displayln' 2010-05-11 06:38:34 -06:00
Matthew Flatt
acb98cef60 allow paths as input to regexp-matching functions 2010-05-11 06:03:39 -06:00
Eli Barzilay
0aab34154a Update handin-server docs. 2010-05-11 00:31:28 -04:00
Eli Barzilay
50753b6364 more fixes to automated tests 2010-05-10 23:36:14 -04:00
Matthew Flatt
5f2ef77c14 fix reference typo 2010-05-10 20:40:51 -06:00
Eli Barzilay
bf2b8478fd prop fixes (some removed, some renamed) 2010-05-10 22:31:05 -04:00
Eli Barzilay
8b3ff3e297 Use racket for automated tests. 2010-05-10 22:13:10 -04:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Sam Tobin-Hochstadt
a81de56b30 add test for bug found by vincent 2010-05-10 17:55:29 -04:00
Sam Tobin-Hochstadt
2d1625336e fix handling when subtype doesn't have rest arg 2010-05-10 17:53:48 -04:00
Sam Tobin-Hochstadt
a6e314d367 add #:optimize keyword 2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
c031729e4b use aux function to avoid generating useless filters 2010-05-10 17:03:21 -04:00
Carl Eastlund
93835460cb Merge branch 'master' of git:plt 2010-05-10 16:39:24 -04:00
Carl Eastlund
ff5b8da551 Adjusted list/c to stand alone, rather than using cons/c, so that it prints as itself. 2010-05-10 16:39:07 -04:00
Sam Tobin-Hochstadt
fe10457f4e more test errors 2010-05-10 16:22:41 -04:00
Sam Tobin-Hochstadt
08d0df5256 fix test suite errors 2010-05-10 16:09:58 -04:00
Sam Tobin-Hochstadt
6baef71d57 don't add to identifiers 2010-05-10 16:09:47 -04:00
Sam Tobin-Hochstadt
52c1f41a20 more contract fixes 2010-05-10 15:50:24 -04:00
Sam Tobin-Hochstadt
1bbb857b18 use racket/base 2010-05-10 15:43:03 -04:00
Sam Tobin-Hochstadt
d75232baa0 fix contract error, use the same contract for drest everywhere 2010-05-10 15:42:45 -04:00
Sam Tobin-Hochstadt
8461045e8c avoid trying to reconstruct bogus arrow type, use dummy instead 2010-05-10 15:42:23 -04:00
Jay McCarthy
10377c35f2 Merge branch 'master' of git.racket-lang.org:plt 2010-05-10 11:41:49 -06:00
Jay McCarthy
b1276f237b Adjust run/collect and adding test 2010-05-10 11:41:20 -06:00
Sam Tobin-Hochstadt
b1a49470ee fix `implied-atomic?' 2010-05-10 11:51:18 -04:00
Sam Tobin-Hochstadt
82ee73ab51 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/scribblings/begin.scrbl
	collects/typed-scheme/scribblings/quick.scrbl
	collects/typed-scheme/scribblings/ts-guide.scrbl
	collects/typed-scheme/scribblings/ts-reference.scrbl
	collects/typed-scheme/scribblings/varargs.scrbl
2010-05-10 10:36:21 -04:00
Sam Tobin-Hochstadt
ea8ffb460b completion for 'raco help' 2010-05-10 10:03:13 -04:00
Sam Tobin-Hochstadt
8836b85cb7 fix drdr timeout due to gui window 2010-05-10 09:49:50 -04:00
Sam Tobin-Hochstadt
6c7ef76995 fix drdr error 2010-05-10 09:38:33 -04:00
Matthew Flatt
68fee973de have 'raco make' require an argument so that it doesn't silently do nothing when no files are supplied 2010-05-10 06:27:57 -06:00
Matthew Flatt
41e1fe958f test repairs 2010-05-10 06:23:37 -06:00
Matthew Flatt
20c732b795 fix search sort order 2010-05-10 06:21:16 -06:00
Eli Barzilay
87a5c3bfa2 use a more common short for repository 2010-05-10 06:52:14 -04:00
Matthias Felleisen
461c39b979 universe in line with syntax-parse 2010-05-09 19:33:25 -04:00
Matthew Flatt
ed1d7f81c9 move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
Sam Tobin-Hochstadt
9ccd44e8fd rackety TS docs 2010-05-09 12:35:59 -04:00
Sam Tobin-Hochstadt
820040abc1 add typed/racket and typed/racket/base 2010-05-09 11:44:38 -04:00
Matthew Flatt
f24d66f02f improve docs on printer modes 2010-05-09 07:05:20 -06:00
Eli Barzilay
d9917b27a0 Attempt to properly documents the `external-browser' mess.
Hopefully fixing PR10900.
2010-05-08 23:32:54 -04:00
Robby Findler
155cc4ac05 fixed the way preference file restoration works in the case that there is no preferences file to start with 2010-05-08 16:22:56 -05:00
Robby Findler
a470b44f83 Merge branch 'master' of git:plt 2010-05-08 16:18:31 -05:00
Robby Findler
eb5c839b97 changed an ss to a rkt 2010-05-08 16:18:04 -05:00
Matthew Flatt
1a5e662433 doc corrections and completions 2010-05-08 11:46:14 -06:00
Matthew Flatt
b26bf5e225 fix DrRacket printing styles and distinguish 'print' vs. 'write' 2010-05-08 10:18:50 -06:00
Matthew Flatt
311fef30a5 use traditional printing for R5RS, EoPL, and Pretty Big 2010-05-08 07:57:19 -06:00
Matthew Flatt
6563ef6812 rackety framework and tools docs 2010-05-08 07:37:08 -06:00
Matthew Flatt
6cfc0b481d fix decompiler 2010-05-08 07:37:07 -06:00
Mike Sperber
47d16bbb82 Synch German string constants with latest. 2010-05-08 10:42:23 +02:00
Matthew Flatt
1d854085d6 dist-spec repairs 2010-05-07 13:52:46 -06:00
Jay McCarthy
8c918c489a Fixing test re printing output... again :) 2010-05-07 12:44:12 -06:00
Matthew Flatt
c023c460bc misc racket renamings 2010-05-07 11:03:02 -06:00
Matthew Flatt
eb15dceb34 rackety misc docs 2010-05-07 09:13:51 -06:00
Matthew Flatt
e5a259bdf0 document latest printing convention 2010-05-06 18:01:21 -06:00
Matthew Flatt
b2e0d92098 restore 'print-reader-abbreviations' support 2010-05-06 17:45:04 -06:00
Matthew Flatt
420ea6ee09 convert racket value printer to constructor+quote style; update Guide and Quick 2010-05-06 14:57:15 -06:00
Matthew Flatt
43027a8d9b switch printer to constructor+quote style 2010-05-06 10:33:42 -06:00
Matthew Flatt
6027eb9627 fix raco setup handling of info.rkt by adding a namespace argument to get-info 2010-05-06 07:21:54 -06:00
Sam Tobin-Hochstadt
62af50867a produce the correct type 2010-05-05 17:50:20 -04:00
Matthew Flatt
c13d65d23d misc rackety docs 2010-05-05 12:09:14 -06:00
Sam Tobin-Hochstadt
1146ffa76d Merge branch 'master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/private/parse-type.rkt
	collects/typed-scheme/typecheck/tc-app.rkt
2010-05-05 13:35:29 -04:00
Matthew Flatt
947bf8e109 misc doc fixes 2010-05-05 11:07:34 -06:00
Matthew Flatt
f3a20562cf rename plt-help GUI app 2010-05-05 11:07:25 -06:00
Matthew Flatt
0b9370bc5e fix pretty-print bug for transparent structs that span lines 2010-05-05 10:32:48 -06:00
Matthew Flatt
625c35f892 fix props after renamings and additions 2010-05-05 10:32:18 -06:00
Matthew Flatt
7c02baafc7 move release-note files to rackety names 2010-05-05 10:30:40 -06:00
Matthew Flatt
8f8c3d2533 minor fix to license page 2010-05-05 10:10:46 -06:00
Matthew Flatt
f643c7aa4b add section to Scheme compatibility manual on old executables 2010-05-05 10:06:56 -06:00
Matthew Flatt
27cd77c16c fix problem with chaperone of chaperoned hash 2010-05-05 09:23:40 -06:00
Sam Tobin-Hochstadt
a60a083802 fix references to syncheck-drracket-button 2010-05-05 11:13:48 -04:00
Sam Tobin-Hochstadt
d7adf2e347 remove duplicate file, per RBF 2010-05-05 10:34:56 -04:00
Sam Tobin-Hochstadt
5b97a0d6d2 Merge branch 'master' of git.racket-lang.org:plt 2010-05-05 10:26:26 -04:00
Sam Tobin-Hochstadt
2c315742d8 fix warning on `define-record-procedures-parametric' 2010-05-05 10:14:53 -04:00
Sam Tobin-Hochstadt
0efb3ae22a update some drdr props 2010-05-05 10:14:25 -04:00
Matthew Flatt
7c52a82216 fix another hash chaperone bug 2010-05-05 07:52:48 -06:00
Matthew Flatt
60446bcd95 fix racket/vector test and doc typo 2010-05-05 06:18:52 -06:00
Matthew Flatt
bf5967f30b adjust (provide/contract (struct ....)) to work with new constructor-name convention 2010-05-04 18:25:11 -06:00
Eli Barzilay
2f2bdce759 improve prop mv 2010-05-04 20:01:56 -04:00
Eli Barzilay
ec7a4cdd7e check that given paths exist (when specified on the command line and not in del/mv) 2010-05-04 20:01:55 -04:00
Sam Tobin-Hochstadt
90f7f522f8 minor test edits 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
ad537cce84 Remove unnecessary requires which caused bizarre errors 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
646bc0ecab avoid error when not transforming 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
a728bae3cb use racunit better to get expected/actual info 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
d7d157b441 checks can sometimes return #t 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
27a8ac62f6 use [] 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
087c5129e3 Require '#%paramz at the correct phase (thanks ryan) 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
08ca97bf9e Don't wrap booleans, print typed values 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
d678e7657d use `test-begin' in test 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
9ab4887e58 add type for 2-arg `atan' 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
4183a3f32a doc fix 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
9ec2e41db0 don't make an alias just for `raise' 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
4984345657 handle full generality of extend-parameterization 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
b00b72a73a use hairy macro rewriting to make more of racunit work 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
3ebd04550a typed/racunit:
- fix more contracts
- make test tests not fail
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
0a2b16f804 fix some racunit types, add test case 2010-05-04 19:47:37 -04:00
Eli Barzilay
91e00efcf0 slightly better script 2010-05-04 19:36:38 -04:00
Eli Barzilay
521dab3243 recommend using this as a script rather than an alias 2010-05-04 17:38:43 -04:00
Matthew Flatt
282bc9d787 compile/use info.rkt bytecode same as for setup implementation, instead of always disabling bytecode for info.rkt 2010-05-04 14:48:15 -06:00
Ryan Culpepper
d0cc31b35e syntax/parse: reverted error message, fixed error test 2010-05-04 14:12:49 -06:00
Ryan Culpepper
eff9147ddc syntax/parse: literals, literal-sets, and phases (todo: docs)
typed-scheme: added missing import for literal
2010-05-04 14:12:49 -06:00
Ryan Culpepper
f42adad3f8 syntax/parse: allow phase spec for literals 2010-05-04 14:12:48 -06:00
Matthew Flatt
8af4134991 move result-chaperoning procedure to start of chaperioning procedure's results 2010-05-04 13:56:21 -06:00
Matthew Flatt
9350df36b6 fix cm sha1 problem 2010-05-04 12:36:02 -06:00
Matthew Flatt
525b559e91 Merge branch 'master' of git.racket-lang.org:plt 2010-05-04 12:25:35 -06:00
Jay McCarthy
2bb3f5f6d7 Fix off by one error, thanks mflatt 2010-05-04 12:22:45 -06:00
Jay McCarthy
c2c72ce7a9 Longer make timeouts 2010-05-04 12:04:42 -06:00
Jay McCarthy
e6df143aac New program names 2010-05-04 12:04:10 -06:00
Matthew Flatt
0f8c152b6d drscheme manual -> drracket manual; speed up raco setup pre-bootstrap 2010-05-04 11:49:41 -06:00
Jay McCarthy
bfc43a7ebd More permissive cookie parser 2010-05-04 11:20:22 -06:00
Jay McCarthy
3f19ad6fce Including version in cookie output 2010-05-04 10:42:57 -06:00
Sam Tobin-Hochstadt
6685b67033 increase timeout 2010-05-04 09:27:30 -04:00
Jay McCarthy
ccef8f8f37 Naturally the git prop script does the wrong thing 2010-05-03 22:35:37 -06:00
Jay McCarthy
54d0797c7c Setting props. Oh and the last commit also added check-not-eqv? for symmetry 2010-05-03 22:32:03 -06:00
Jay McCarthy
445a143f51 Adding typed/racunit and fixing racunit exports vis a vis documentation 2010-05-03 22:30:32 -06:00
Matthew Flatt
a097b2ef6a fix chaperone-hash to be more consistent with key handling 2010-05-03 17:59:54 -06:00
Matthew Flatt
fae14aed03 doc repairs 2010-05-03 17:59:54 -06:00
Sam Tobin-Hochstadt
105a560698 add some vector functions 2010-05-03 18:13:12 -04:00
Sam Tobin-Hochstadt
d5776a1266 use `vector-member' 2010-05-03 18:03:01 -04:00
Sam Tobin-Hochstadt
14d1a394f1 remove section so that docs render properly 2010-05-03 17:42:27 -04:00
Sam Tobin-Hochstadt
b752370a57 use @racket instead of @scheme in vector docs 2010-05-03 17:13:14 -04:00
Sam Tobin-Hochstadt
46828541a5 docs for vector-member etc 2010-05-03 17:11:55 -04:00
Sam Tobin-Hochstadt
69e2122af6 vector-mem{ber,q,v} 2010-05-03 17:08:36 -04:00
Sam Tobin-Hochstadt
baca007fc0 fix PR 10890 2010-05-03 15:14:17 -04:00
Sam Tobin-Hochstadt
34e64b650f Add test for bug 10868
Add 'unit' command line arg to 'run.rkt' command to just run the unit tests
2010-05-03 15:13:33 -04:00
Sam Tobin-Hochstadt
92a3085658 rename 2010-05-03 13:18:56 -04:00
Sam Tobin-Hochstadt
996405af9c fix problem reported by Sigrid on plt-scheme 2010-05-03 13:15:19 -04:00
Sam Tobin-Hochstadt
8c22099aec fix PR 10868 2010-05-03 13:07:30 -04:00
Sam Tobin-Hochstadt
d022260a69 Merge branch 'master' of git.racket-lang.org:plt 2010-05-03 13:02:18 -04:00
Sam Tobin-Hochstadt
6b5305afe7 run .rkt files 2010-05-03 13:01:58 -04:00
Jay McCarthy
e123befc39 Merge branch 'master' of git.racket-lang.org:plt 2010-05-03 10:13:48 -06:00
Jay McCarthy
661aeb6cc9 Use rktl to load 2010-05-03 10:13:18 -06:00
Sam Tobin-Hochstadt
55929072bb change error message for `define:' (fixes PR 10883) 2010-05-03 11:35:30 -04:00
Sam Tobin-Hochstadt
abc83496b3 fix literal hashtables and pairs 2010-05-03 11:31:27 -04:00
Matthew Flatt
6a7aaf48cc rackety readline doc 2010-05-02 12:25:21 -06:00
Matthew Flatt
b5705d9d96 fix doc title case 2010-05-02 12:20:27 -06:00
Matthew Flatt
ce21cf9fd8 rackety slideshow doc 2010-05-02 12:19:25 -06:00
Matthew Flatt
fb4af54436 rackety Scribble doc 2010-05-02 12:00:44 -06:00
Matthew Flatt
26a92b1cfe rackety racket/gui doc 2010-05-02 11:29:45 -06:00
Matthew Flatt
166b92f9c8 replace mzc and setup-plt docs with raco doc (which refers to the still-separate planet doc) 2010-05-02 11:04:48 -06:00
Matthew Flatt
5a93e8c5e0 more test repairs 2010-05-02 08:31:12 -06:00
Matthew Flatt
e504acb726 use .rktl suffix for files meant to be 'load'ed 2010-05-01 09:58:16 -06:00
Matthew Flatt
cb5c83c5a7 add custom-print to printable<%>; redirect printable<%> to writable and pretty-print to pretty-write in 'scheme' 2010-05-01 08:43:20 -06:00
Matthew Flatt
835ebc0785 add in-directory 2010-05-01 08:29:53 -06:00
Matthew Flatt
9b4853dbca fix ctool prop 2010-05-01 08:28:39 -06:00
Matthew Flatt
043f97df97 fix more test files 2010-05-01 07:23:05 -06:00
Matthew Flatt
77a99f6aa0 rackety inside doc 2010-04-30 21:58:08 -06:00
Matthew Flatt
81ba669237 change 'raco c-ext' to 'raco ctool' 2010-04-30 21:55:14 -06:00
Matthew Flatt
fa538620e8 fix cm test 2010-04-30 20:19:53 -06:00
Matthew Flatt
e42758eb2a fix a cm problem with the SHA-1-based shortcut transitive dependencies 2010-04-30 19:12:22 -06:00
Matthew Flatt
17c1dc1ab9 SHA-1-based checking of doc dependencies 2010-04-30 16:30:11 -06:00
Matthew Flatt
259edc0780 tweak way that setup-plt forces GCs 2010-04-30 16:30:11 -06:00
Matthew Flatt
3db8dd7c26 SHA1-based shortcut for compiler/cm 2010-04-30 16:30:10 -06:00
Jay McCarthy
d1d760415f Allow racket 2010-04-30 16:29:23 -06:00
Sam Tobin-Hochstadt
85fad33c4c loadtest.ss -> loadtest.rkt 2010-04-30 16:35:48 -04:00
Sam Tobin-Hochstadt
9a170047f4 .ss -> .rkt 2010-04-30 16:29:10 -04:00
Sam Tobin-Hochstadt
53560317ab set drdr prop 2010-04-30 16:27:03 -04:00
Sam Tobin-Hochstadt
113fa13171 remove dead code 2010-04-30 16:21:18 -04:00
Stevie Strickland
5d020d0765 .ss -> .rkt 2010-04-30 16:16:26 -04:00
Sam Tobin-Hochstadt
96da427659 don't need d/c/p any more 2010-04-30 16:04:22 -04:00
Sam Tobin-Hochstadt
b308a52240 fix to work w/ racket renamings 2010-04-30 16:04:03 -04:00
Jay McCarthy
b0d03b8a9c Dead file 2010-04-30 13:19:21 -06:00
Jay McCarthy
e40f89fed2 Adding mark params 2010-04-30 13:06:55 -06:00
Jay McCarthy
f3305dc6eb Fixing doc contract 2010-04-30 11:58:58 -06:00
Sam Tobin-Hochstadt
5e9ae84b15 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/tests/typed-scheme/unit-tests/typecheck-tests.rkt
2010-04-30 13:48:49 -04:00
Jay McCarthy
e3a9aa8162 Fixing test of pprint 2010-04-30 11:07:02 -06:00
Jay McCarthy
645b0b06fe Merge branch 'master' of git.racket-lang.org:plt 2010-04-30 10:57:38 -06:00
Jay McCarthy
bc5cf30ebe Renaming rktunit to racunit 2010-04-30 10:57:32 -06:00
Matthew Flatt
162058036e fully rackety guide 2010-04-30 08:02:57 -06:00
Matthew Flatt
783e309b4d add serializable-struct 2010-04-30 08:02:56 -06:00
Stevie Strickland
5e4386ba13 Change legacy commands to correctly use negative blame also for user blame. 2010-04-30 09:52:53 -04:00
Sam Tobin-Hochstadt
459a675b90 rename to rkt 2010-04-30 09:51:32 -04:00
Sam Tobin-Hochstadt
04f58cab86 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/drscheme/private/insert-large-letters.ss
	collects/tests/typed-scheme/unit-tests/typecheck-tests.ss
2010-04-30 09:34:31 -04:00
Matthew Flatt
f20d3db75f fix some DrDr tests 2010-04-29 19:55:39 -06:00
Matthew Flatt
ea880541de fix pretty-print in qq mode when a list starting in non-quoted mode is broken across lines 2010-04-29 19:38:56 -06:00
Robby Findler
4671dc47f3 Merge branch 'master' of git:plt 2010-04-29 20:15:45 -05:00
Casey Klein
ddfdea90f6 Merge branch 'master' of git:plt 2010-04-29 19:30:50 -05:00
Casey Klein
026553c6f7 Fixes more failing Redex tests 2010-04-29 19:27:41 -05:00
Robby Findler
d1d99bd633 Merge branch 'master' of git:plt 2010-04-29 19:06:11 -05:00
Matthew Flatt
2f5b166073 more rackty guide, through the contracts section 2010-04-29 17:11:42 -06:00
Matthew Flatt
7ed0d4e00a futures: protect use of mfence by processor count 2010-04-29 17:11:42 -06:00
Matthew Flatt
43cb91e6ee rackety "more" tutorial 2010-04-29 17:11:42 -06:00
Robby Findler
84f0e307dd adjusted the initial what-language-do-you-want dialog 2010-04-29 17:28:44 -05:00
Robby Findler
073d947a4c adjusted the way anchored search works so that swithing tabs in drscheme starts you with a new anchor 2010-04-29 17:03:32 -05:00
Jay McCarthy
198850eb9f Using tagged continuations and aborts rather than heavy conts 2010-04-29 15:31:31 -06:00
Jay McCarthy
cf68210bd0 Fixing pr10879 2010-04-29 15:02:46 -06:00
Jay McCarthy
7f2c2965b2 Merge branch 'master' of git.racket-lang.org:plt 2010-04-29 15:00:06 -06:00
Jay McCarthy
f70ffca756 Renaming schemeunit to rktunit and adding compat layer 2010-04-29 15:00:02 -06:00
Casey Klein
9f5ec7da47 Fixes my earlier mistake (take 2) 2010-04-29 15:38:09 -05:00
Jay McCarthy
3b23f74fc7 Merge branch 'master' of git.racket-lang.org:plt 2010-04-29 13:41:26 -06:00
Jay McCarthy
5cb8f4e3d9 Renaming logic/schelog to raclog, supporting unification for all racket datatypes 2010-04-29 13:41:12 -06:00
Robby Findler
99708f0b7f fixed PR 10872 2010-04-29 13:41:44 -05:00
Stevie Strickland
484be3cf02 Add new argument to apply-contract/make-blame for the "user" blame label.
The new blame label gives us the location of the "use" of the value.
This blame label describes the location where we actually did the
contract wrapping, which may differ from the negative blame label.
2010-04-29 13:41:03 -04:00
Robby Findler
9b2987d7fb improved the suggest-a-language dialog that you get in the there-is-no-language-picked-yet language 2010-04-29 12:21:10 -05:00
Robby Findler
66f51b9478 changed a capability value's name from drracket:<something> back to drscheme:<something> 2010-04-29 11:48:27 -05:00
Robby Findler
350fc70fc1 fixed PR 10878 2010-04-29 11:24:58 -05:00
Robby Findler
f46ad89200 fixed a preference setting 2010-04-29 11:06:27 -05:00
Robby Findler
fbf52d6957 renamed the preferences to drracket: 2010-04-29 11:03:06 -05:00
Casey Klein
2dfe132862 Fixes (hopefully) the bad merge I accidentally made 2010-04-29 06:58:45 -05:00
Casey Klein
fe2c11c059 Merge branch 'master' of git:plt 2010-04-29 06:46:11 -05:00
Casey Klein
7d0a83b983 Updates tests for quasiquote printing and .rkt extension 2010-04-29 06:42:53 -05:00
Matthew Flatt
039036a92b fix props for teachpack .ss unrenaming 2010-04-28 20:22:44 -06:00
Jay McCarthy
d559ec72a4 Undoing racket rename, because DrDr runs an older version of Racket. And removing boring commits from pages 2010-04-28 14:05:38 -06:00
Jay McCarthy
123672d897 Sam's advice 2010-04-28 13:39:27 -06:00
Jay McCarthy
7cd703f034 Renaming schelog to logic and racketing 2010-04-28 13:37:57 -06:00
Jay McCarthy
8a6cdfe582 Merge branch 'master' of git.racket-lang.org:plt 2010-04-28 13:21:53 -06:00
Jay McCarthy
7d1c7d874b Changing unstable, xml, html, and web-server to be rackety 2010-04-28 13:21:30 -06:00
John Clements
3f4f013a7b Merge branch 'master' of git:plt 2010-04-28 11:49:22 -07:00
John Clements
f81ebbfbf7 Exported save-image per Matthias' request, wrote conservative documentation 2010-04-28 11:48:07 -07:00
Matthew Flatt
6a28bd0e4b fix some tests for drdr 2010-04-28 11:02:31 -06:00
Matthew Flatt
79b943b2ef fix tools doc 2010-04-28 11:02:30 -06:00
Carl Eastlund
8879f4a61d Updated unstable/srcloc tests for racket. 2010-04-28 12:30:25 -04:00
Matthew Flatt
32de6647dc fix HtDP language printing 2010-04-28 08:55:16 -06:00
Matthew Flatt
1bb773ba29 fix compatibility drscheme tool linking 2010-04-28 08:52:31 -06:00
Matthew Flatt
2c54268228 move pref file to .rtkd extension, and automatically read from the old PLT Scheme path if the new one doesn't exist 2010-04-28 07:24:39 -06:00
Matthew Flatt
de863643d5 fix scheme/foreign docs 2010-04-28 07:01:43 -06:00
Matthew Flatt
fd43c22dea change teachpack names (visible to students) back to .ss 2010-04-28 06:56:26 -06:00
Matthew Flatt
b61a99c433 add defidform/inline and use it to document on-draw 2010-04-28 06:41:43 -06:00
Matthew Flatt
65f4bcb9dc fix doc start page 2010-04-28 06:30:02 -06:00
Matthew Flatt
79e52c67bc make 'raco help <command>' work 2010-04-28 06:28:39 -06:00
Matthew Flatt
9347295c5b fix raco setup PDF-rendering banner 2010-04-28 06:14:02 -06:00
Matthew Flatt
cf44b9cf16 fix batch-io teachpack doc rendering, especially for PDF 2010-04-28 06:13:29 -06:00
Matthias Felleisen
ad00bccecd Merge branch 'master' of git:plt 2010-04-27 22:31:49 -04:00
Matthew Flatt
7708109ea5 have raco setup create launchers before docs 2010-04-27 19:56:20 -06:00
Matthew Flatt
32d2a9c548 fix scheme/load and racket/load 2010-04-27 19:09:27 -06:00
Matthew Flatt
882b7dce0e move tests/mzscheme to tests/racket 2010-04-27 18:28:39 -06:00
Sam Tobin-Hochstadt
b5acbe3168 move d/c/p
fix tc-e/t
2010-04-27 19:29:10 -04:00
Sam Tobin-Hochstadt
27b0c01cdd Split filter operations into their own file.
Take into account the type of arguments in filter generation.
2010-04-27 19:12:06 -04:00
Matthias Felleisen
32347bfb56 Merge branch 'master' of git:plt 2010-04-27 19:07:18 -04:00
Matthias Felleisen
2613ce6c09 fixed tests for batch io 2010-04-27 19:06:31 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Jay McCarthy
94a6aac517 failure-prefix form and failure-format parameter in eli-tester 2010-04-27 16:12:32 -06:00
Matthew Flatt
1fedf04739 partly rackety guide 2010-04-27 14:09:51 -06:00
Robby Findler
4537240f1f Merge branch 'master' of git:plt 2010-04-27 14:00:52 -05:00
Jay McCarthy
5b779d22ac slatex test, slatex contracts and props 2010-04-27 11:00:24 -06:00
Jay McCarthy
e258476748 Supporting multiple value returns in formlets 2010-04-27 10:41:56 -06:00
Robby Findler
761f778361 Merge branch 'master' of git:plt 2010-04-27 11:22:07 -05:00
Jay McCarthy
77aa7b041c Rewriting in a different order 2010-04-27 09:47:39 -06:00
Jay McCarthy
bed4bcf093 Merge branch 'master' of git.racket-lang.org:plt 2010-04-27 09:45:35 -06:00
Jay McCarthy
f638850de9 Fixing some DrDr props 2010-04-27 09:45:10 -06:00
Jay McCarthy
dbe00ce0b4 Fixing test re banner change 2010-04-27 09:44:57 -06:00
Sam Tobin-Hochstadt
35f090cde8 substitute in the dtype 2010-04-27 11:39:31 -04:00
Sam Tobin-Hochstadt
826eeab7cb fix the fold for Class types 2010-04-27 11:39:15 -04:00
Jay McCarthy
5823da1710 Moving error output to stderr 2010-04-27 09:35:01 -06:00
Jay McCarthy
306e67f3ab Fixing test finding 2010-04-27 09:31:05 -06:00
Jay McCarthy
e8d581db0d Setting responsiblity based on commit history and volunteering 2010-04-27 09:19:39 -06:00
Jay McCarthy
86be73f78f Using sls suffix 2010-04-27 09:19:21 -06:00
Matthew Flatt
95e1ae20f8 Merge branch 'master' of git.racket-lang.org:plt 2010-04-27 09:04:22 -06:00
Jay McCarthy
96a3f47ea0 Fixing cookie regex 2010-04-27 08:48:07 -06:00
Robby Findler
ea66649dfd Merge branch 'master' of git:plt 2010-04-27 09:32:49 -05:00
Sam Tobin-Hochstadt
f1401ad9b6 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-27 10:27:26 -04:00
Matthias Felleisen
67d804af62 changed the names for batch-io functions following SK's suggstion 2010-04-27 10:26:24 -04:00
Sam Tobin-Hochstadt
53a4e4a2e4 remove debugging printfs, comment out fail test 2010-04-27 10:23:30 -04:00
Robby Findler
05df75f935 Merge branch 'master' of git:plt 2010-04-27 09:20:17 -05:00
Matthew Flatt
737b6fac01 rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
Robby Findler
1f5f0fb760 started updating the docs to say drracket: instead of drscheme: 2010-04-27 09:19:44 -05:00
Sam Tobin-Hochstadt
83c1671972 strnum? works 2010-04-27 10:16:21 -04:00
Sam Tobin-Hochstadt
d935b63290 so close 2010-04-27 09:50:39 -04:00
Matthew Flatt
3d5e933d9e .rkt extension in DrRacket exe 2010-04-27 06:18:32 -06:00
Robby Findler
3ac0ba56f8 added support for tools that use drracket: prefixed names and change DrScheme to DrRacket in the tools function docs 2010-04-27 06:42:34 -05:00
Robby Findler
a228fa6527 made get-info/full work with info.rkt files 2010-04-26 20:49:13 -05:00
Matthew Flatt
b7c184632b racket/unsafe/ffi -> ffi/unsafe, etc. 2010-04-26 18:05:29 -06:00
Matthew Flatt
0acbb358ce Merge branch 'master' of git.racket-lang.org:plt 2010-04-26 17:11:12 -06:00
Matthew Flatt
4acba84b5b reorganize and extend FFI under racket/unsafe/ffi 2010-04-26 17:10:55 -06:00
Matthew Flatt
e4f736c6a5 fix scheme/sandbox docs 2010-04-26 16:07:19 -06:00
Jay McCarthy
9e96937027 Merge branch 'master' of git.racket-lang.org:plt 2010-04-26 16:04:51 -06:00
Jay McCarthy
97f5e690b5 Rearranging docs and renaming assert 2010-04-26 16:04:02 -06:00
Jay McCarthy
8cbfe949be Unit tests 2010-04-26 15:44:20 -06:00
Matthew Flatt
e6e06bb1a3 remove racket/nest, since 'nest' didn't catch on 2010-04-26 15:41:39 -06:00
Jay McCarthy
33583fd5ca Unit tests 2010-04-26 15:34:26 -06:00
Matthew Flatt
327408c12f drop suffix from pref-file name 2010-04-26 15:33:58 -06:00
Matthew Flatt
dbc4ea6e82 racketify reference more 2010-04-26 14:42:33 -06:00
Matthew Flatt
db2ed4cef3 change printer to not quote ellipsis in partially opaque structure 2010-04-26 14:18:43 -06:00
Jay McCarthy
a8027280b5 Merge branch 'master' of git.racket-lang.org:plt 2010-04-26 13:42:54 -06:00
Jay McCarthy
b072cd48a0 More contracts 2010-04-26 13:42:13 -06:00
Jay McCarthy
78eab1a245 Adding predicates and using alists 2010-04-26 13:15:29 -06:00
Jay McCarthy
3a1ecdc577 Changing style, use stxparam for cut, removing inline docs 2010-04-26 12:52:51 -06:00
Jay McCarthy
e0b684c2f0 chkpt 2010-04-26 12:29:00 -06:00
Jay McCarthy
e0b571618a Changing style 2010-04-26 12:26:16 -06:00
Jay McCarthy
ca987f9020 New test 2010-04-26 12:26:08 -06:00
Jay McCarthy
9fce3c6963 Automated tests 2010-04-26 11:54:09 -06:00
Jay McCarthy
3cf1dc3440 Moving examples to tests 2010-04-26 11:36:52 -06:00
Sam Tobin-Hochstadt
884375ce96 fix contract error 2010-04-26 12:19:11 -04:00
Sam Tobin-Hochstadt
10c23b0002 Merge branch 'master' into samth/new-logic2 2010-04-26 11:50:15 -04:00
Sam Tobin-Hochstadt
8047e32662 Treat static struct info as pattern constructor. 2010-04-26 11:44:37 -04:00
Casey Klein
1cf22896ce Further increases DrDr timeout for Redex tests 2010-04-26 09:39:04 -05:00
Sam Tobin-Hochstadt
df2291b955 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-26 10:12:50 -04:00
Sam Tobin-Hochstadt
2889f37ed4 Merge branch 'samth/new-logic2' of git.racket-lang.org:plt into samth/new-logic2 2010-04-26 10:05:19 -04:00
Matthew Flatt
5e001f0be1 fix on-this-page ToC rendering with tag prefixes (PR 10871) 2010-04-26 07:20:12 -06:00
Matthew Flatt
a6694a08b7 fix make-base-namespace in scheme/base (PR 10870) 2010-04-26 06:47:02 -06:00
Eli Barzilay
4fe5353dc3 don't distribute the places doc sources 2010-04-26 05:15:41 -04:00
Sam Tobin-Hochstadt
a46461d4f7 racket/base instead of scheme/base, see PR 10870 2010-04-25 18:43:10 -04:00
Matthias Felleisen
2a5b43a321 removed tests from universe syntax parse 2010-04-25 18:41:02 -04:00
Robby Findler
9fbfa9bfc3 adjusted drracket to use drracket: prefixed names everywhere (the names are rewriten to drscheme: when tools are invoked) 2010-04-25 15:20:03 -05:00
Robby Findler
d08b0a8dc8 adjusted drracket to use drracket: prefixed names everywhere (the names are rewriten to drscheme: when tools are invoked) 2010-04-25 15:19:51 -05:00
Matthew Flatt
616080c7c4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc. 2010-04-25 12:10:36 -06:00
Casey Klein
1d9757df02 Increases DrDr timeout for Redex tests 2010-04-25 06:30:00 -05:00
Robby Findler
f7ac9f9546 switched all of the names inside drracket to be drracket: instead of drscheme: (this breaks the tools, tho) 2010-04-24 16:16:06 -05:00
Stevie Strickland
4aa4b82000 Adding the slatex Python module for rubber to contrib. 2010-04-24 16:22:21 -04:00
Stevie Strickland
1cfc644afa Adjusting tab completion script for rico->raco rename. 2010-04-24 12:26:09 -04:00
Matthew Flatt
f60c178964 change defstruct rendering 2010-04-24 08:29:45 -06:00
Matthew Flatt
ee24953dde Merge branch 'master' of git.racket-lang.org:plt 2010-04-24 08:28:45 -06:00
Matthew Flatt
139faf9160 fix contract error message to use pretty-write for contract forms 2010-04-24 08:22:57 -06:00
Matthias Felleisen
77bff11a14 clean up from svn 2010-04-24 10:18:20 -04:00
Sam Tobin-Hochstadt
0f9d50fa23 Merge branch 'master' into samth/new-logic2 2010-04-24 09:53:10 -04:00
Matthew Flatt
22470e4147 racket-tool -> raco 2010-04-24 07:46:56 -06:00
Matthew Flatt
b0deb8affb more doc and scribble repairs 2010-04-24 07:18:11 -06:00
Matthew Flatt
76754c5443 set-subset? to subset? 2010-04-24 07:18:11 -06:00
Robby Findler
975f6445f0 renamed drscheme collections files to .rkt 2010-04-24 08:01:33 -05:00
Eli Barzilay
72431fda2d only warn when there is an invalid path when getting a prop 2010-04-23 21:01:37 -04:00
Eli Barzilay
f4c08ccb08 Preserve the executable bit of the file 2010-04-23 21:01:36 -04:00
Ryan Culpepper
2434220fa5 Merge branch 'master' of git:plt 2010-04-23 17:31:56 -06:00
Matthew Flatt
051282877e fix drracket tools doc build 2010-04-23 17:15:40 -06:00
Jay McCarthy
c1789e1b8e Small provide list 2010-04-23 17:07:32 -06:00
Jay McCarthy
44274f9dd2 cut 2010-04-23 17:02:35 -06:00
Matthew Flatt
3b9b650187 Merge branch 'master' of git.racket-lang.org:plt 2010-04-23 17:02:02 -06:00
Matthew Flatt
7cb13860ee reference racket conversions and scribble qq repairs 2010-04-23 17:00:53 -06:00
Matthew Flatt
d824fef4f7 add set-subset? 2010-04-23 17:00:51 -06:00
Jay McCarthy
1b4cd42d5c Rewrote documentation and working on cut 2010-04-23 17:00:38 -06:00
Ryan Culpepper
227aa7be73 syntax/parse: allow action patterns within list patterns 2010-04-23 16:49:40 -06:00
Sam Tobin-Hochstadt
b173f70ad1 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-23 18:36:46 -04:00
Sam Tobin-Hochstadt
f7bf6d8a22 more progress towards let 2010-04-23 18:36:15 -04:00
Robby Findler
244f6e4908 started requiring racket/ instead of scheme/ 2010-04-23 16:37:25 -05:00
Robby Findler
6272d0511a dont bother running collects/help/help.ss 2010-04-23 15:43:57 -05:00
Sam Tobin-Hochstadt
788630d26a progress towards let 2010-04-23 16:40:05 -04:00
Robby Findler
950fcf14da Merge branch 'master' of git:plt 2010-04-23 14:56:03 -05:00
Robby Findler
8dc93d9877 Fixed check syntax so it deals with the .rkt and .ss conflation properly 2010-04-23 14:55:13 -05:00
Jay McCarthy
3653883b02 Fixing prop usage, using rkt suffix, and better commit urls 2010-04-23 12:22:12 -06:00
Matthew Flatt
9f1ea7e9ea Merge branch 'master' of git.racket-lang.org:plt 2010-04-23 12:19:45 -06:00
Matthew Flatt
845ebfbeb8 hash, hasheq, hasheqv, and hash-equal? 2010-04-23 12:18:42 -06:00
Robby Findler
256e3fedd2 fixed a bug with zero-sized htdp/image images interactive with 2htdp/image primitives 2010-04-23 12:34:17 -05:00
Sam Tobin-Hochstadt
2d88d698c2 implication works 2010-04-23 12:31:22 -04:00
Matthew Flatt
ab7f9acee2 add for/set 2010-04-23 08:26:20 -06:00
Matthew Flatt
0fe701a837 add for/hasheqv for completeness 2010-04-23 08:19:21 -06:00
Matthew Flatt
12b95ece4c decent Scribble rendering of hash tables 2010-04-23 08:11:56 -06:00
Sam Tobin-Hochstadt
a61ce0be19 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-23 10:09:03 -04:00
Sam Tobin-Hochstadt
64a6f7c3d5 better filter printing 2010-04-23 09:59:00 -04:00
Matthew Flatt
909f43f9a2 work on racketing reference 2010-04-22 20:18:53 -06:00
Sam Tobin-Hochstadt
3311b2bb3a fix asym pred not to use identifiers 2010-04-22 18:27:08 -04:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Matthew Flatt
82eb64451d switch default configuration to have qq printing enabled, add runtime-config for scheme languages 2010-04-22 15:10:25 -06:00
Matthew Flatt
fbea19f35c toward scriblle qq 2010-04-22 15:10:24 -06:00
Sam Tobin-Hochstadt
35c0c28e40 Merge branch 'master', remote branch 'origin/master' into samth/new-logic2 2010-04-22 16:55:44 -04:00
Sam Tobin-Hochstadt
b0918cd8b9 add first steps in real solving 2010-04-22 16:46:06 -04:00
Jay McCarthy
8e37ccb1bc Adding .git to ignore list 2010-04-22 14:40:23 -06:00
Jay McCarthy
2436c638fa Updating FAQ 2010-04-22 13:53:44 -06:00
Jay McCarthy
3df194f523 Fixing future rev link 2010-04-22 13:18:21 -06:00
Jay McCarthy
e49e9b2a9c Merge branch 'master' of git.racket-lang.org:plt 2010-04-22 13:08:13 -06:00
Jay McCarthy
09164a2027 Finalizing git transition 2010-04-22 13:06:40 -06:00
Jay McCarthy
b5d2496544 Unifying tmp files 2010-04-22 11:42:02 -06:00
John Clements
9f87f58a55 Looks clean. Ready to merge. 2010-04-22 10:20:02 -07:00
John Clements
58991ebe95 Names changed, looks like everything builds except the files in dialects/ 2010-04-22 10:17:18 -07:00
John Clements
3a1fe8722f Updates to files, about to reshuffle names 2010-04-22 09:52:48 -07:00
Jay McCarthy
5119987409 Working version of Git scm functions and render front page 2010-04-22 10:44:40 -06:00
John Clements
c8d5f5cc12 Initial add of all schelog files 2010-04-22 09:31:30 -07:00
Sam Tobin-Hochstadt
946f5c54d3 Merge branch 'master' of git.racket-lang.org:plt 2010-04-22 11:13:10 -04:00
Sam Tobin-Hochstadt
49a42fd089 fix to handle multiple value return 2010-04-22 10:50:29 -04:00
Sam Tobin-Hochstadt
457a6c16c3 make completion work for racket-tool 2010-04-22 10:50:14 -04:00
Sam Tobin-Hochstadt
302c78b1f2 make completion work for racket-tool 2010-04-22 10:48:58 -04:00
Sam Tobin-Hochstadt
48fb828c58 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-22 10:16:40 -04:00
Matthias Felleisen
3833459d4f added [htp] to begin{figure} 2010-04-22 10:10:40 -04:00
Matthew Flatt
c0c80683c9 DrScheme -> DrRacket 2010-04-22 07:51:36 -06:00
John Clements
78aa87368e Fixed typo in doc paragraph (also changed to active voice, take that languagelog), updated
srfi 19 to be in #lang racket.
2010-04-22 00:03:52 -07:00
Matthew Flatt
5d6ae2b4b9 rackty start page 2010-04-21 19:32:33 -06:00
Matthew Flatt
cd01c7138d no more master index 2010-04-21 19:24:21 -06:00
Matthew Flatt
ab4e349e06 rackety quick doc 2010-04-21 19:16:01 -06:00
Matthew Flatt
51fb2b4a31 doc improvement 2010-04-21 19:15:20 -06:00
Matthew Flatt
7503f8c6e9 change #:module-info to #:language-info for consistency with module->language-info 2010-04-21 18:50:16 -06:00
Sam Tobin-Hochstadt
277a453608 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-21 19:04:59 -04:00
Sam Tobin-Hochstadt
9c59782a37 progress, fix some dumb bugs 2010-04-21 19:00:12 -04:00
Jay McCarthy
3c76137124 Moving to Git 2010-04-21 16:24:59 -06:00
Sam Tobin-Hochstadt
0804e64695 everything but or and implies works 2010-04-21 18:13:13 -04:00
Sam Tobin-Hochstadt
2bb2ffc513 fix to handle multiple value return 2010-04-21 16:55:30 -04:00
Matthew Flatt
895ca49f9c fix racket-tool scribble command description 2010-04-21 14:38:19 -06:00
Matthew Flatt
c862eb8121 rico -> racket-tool 2010-04-21 14:24:07 -06:00
Sam Tobin-Hochstadt
bff6400fb4 rename scheme to racket 2010-04-21 16:06:44 -04:00
Sam Tobin-Hochstadt
c50cb0ff18 Merge branch 'master' into samth/new-logic2 2010-04-21 15:19:36 -04:00
Sam Tobin-Hochstadt
a979bbdbdf typecheck-tests compiles 2010-04-21 15:07:53 -04:00
Sam Tobin-Hochstadt
5b5a6980d5 annotated eta works 2010-04-21 14:57:05 -04:00
Robby Findler
59d90b279d improved support for #lang planet (in drscheme) 2010-04-21 12:14:17 -04:00
Sam Tobin-Hochstadt
86c6f3e9c0 icfp-examples no longer errors 2010-04-21 11:41:26 -04:00
Sam Tobin-Hochstadt
462b7f1b92 eta abstraction seems to work 2010-04-21 11:34:04 -04:00
Eli Barzilay
525032ae7b cleanup backup file 2010-04-21 01:14:45 -04:00
Matthias Felleisen
6bc3484ae0 added member? as an alias for member to BSL 2010-04-20 22:48:41 -04:00
Matthias Felleisen
0e6ab6745f matrix suggestions 2010-04-20 22:16:26 -04:00
Matthias Felleisen
ae5c682e10 fixed 10866 for _first-order_ abuse of clauses 2010-04-20 18:57:17 -04:00
John Clements
0e632187a0 deleting test file 2010-04-20 16:35:10 -07:00
John Clements
377aa7031d Merge branch 'master' of git:plt 2010-04-20 16:31:36 -07:00
Matthew Flatt
d7e4db3efd fix some tests and docs after racket move 2010-04-20 17:28:07 -06:00
John Clements
eda81847a5 made a change to foo.ss 2010-04-20 16:14:53 -07:00
John Clements
385f96e502 pardon me for experimenting on the master tree... 2010-04-20 16:00:42 -07:00
Matthew Flatt
88820fc4a4 Merge branch 'master' of git.racket-lang.org:plt 2010-04-20 15:47:14 -06:00
Matthew Flatt
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
Jay McCarthy
1abbff5ea4 Merge branch 'master' of git.racket-lang.org:plt 2010-04-20 15:11:06 -06:00
Jay McCarthy
782f6c71ee Getting build start time from somewhere else so it is monotonic 2010-04-20 14:56:27 -06:00
Jay McCarthy
b065d86b37 Fresh home dir per file and rewriting of more random paths 2010-04-20 14:52:42 -06:00
Sam Tobin-Hochstadt
8bea31d725 finished with the examples 2010-04-20 15:30:07 -04:00
Sam Tobin-Hochstadt
5f0597b834 add tests for occurrence typing work 2010-04-20 14:49:38 -04:00
Sam Tobin-Hochstadt
99cfb23f22 simple-occur now works 2010-04-20 13:07:38 -04:00
Sam Tobin-Hochstadt
7b875d58a9 relocate object subst code, work on fixing for indexes 2010-04-20 12:39:25 -04:00
Sam Tobin-Hochstadt
613f02a266 use the provide infrastructure for arr 2010-04-20 12:38:00 -04:00
Sam Tobin-Hochstadt
c3304b20f0 re-enable abstract-filter 2010-04-19 19:42:08 -04:00
Sam Tobin-Hochstadt
f57ef37a66 Everything now compiles without names 2010-04-19 18:42:25 -04:00
Sam Tobin-Hochstadt
df1572231e start removing names 2010-04-19 17:52:10 -04:00
Sam Tobin-Hochstadt
c3eb495627 Fix this file to delete output.txt when it's done. 2010-04-19 17:20:07 -04:00
Sam Tobin-Hochstadt
fca1044972 Merge branch 'master' into samth/new-logic2 2010-04-19 16:14:11 -04:00
Sam TH
bf5be735e5 Ignore this generated file 2010-04-19 15:36:51 -04:00
Sam Tobin-Hochstadt
97f246d147 Use racket to compute tools rather than parsing 'rico --help' output. 2010-04-19 09:04:12 -04:00
Sam TH
5384fef66e forgot to add this file 2010-04-18 22:06:02 -04:00
Sam TH
89dc7afd02 Create separate module for listing all rico tools. 2010-04-18 22:06:02 -04:00
Eli Barzilay
80001744b8 Ignores in launcher 2010-04-18 11:12:14 -04:00
Eli Barzilay
5640fe77c5 Ignores that are roughly the same as the ones in svn 2010-04-18 10:47:32 -04:00
Eli Barzilay
d78928f18d Welcome to a new PLT day. 2010-04-17 03:50:33 -04:00
Stevie Strickland
0e681d3869 Remove already outdated comment. 2010-04-16 21:06:36 -04:00
Stevie Strickland
ff100e6a94 Only run external commands as necessary, also make sure we only recognize
commands in the right places (for example, 'rico planet planet ' shouldn't
cause planet tab-completion).
2010-04-16 21:05:42 -04:00
Stevie Strickland
4718f1657b Only execute the planet commands if we're tab-completing after 'rico planet'. 2010-04-16 20:52:45 -04:00
Sam Tobin-Hochstadt
1321a766c0 lots more smarts 2010-04-16 18:40:39 -04:00
Sam Tobin-Hochstadt
29b7ae4f9f fix comments and props 2010-04-16 17:52:58 -04:00
Matthias Felleisen
6d1d3da1fe bug eliminated from _words_ reading 2010-04-16 17:37:59 -04:00
Matthew Flatt
9ca5f6b340 fix regexp-replace* 2010-04-16 17:27:53 -04:00
Sam Tobin-Hochstadt
9eaa749f5e more like zsh 2010-04-16 17:23:32 -04:00
Sam Tobin-Hochstadt
531598c145 move per eli 2010-04-16 17:10:33 -04:00
Sam Tobin-Hochstadt
3596c04b3e Add comment on how to enable tab completion 2010-04-16 16:59:54 -04:00
Sam Tobin-Hochstadt
da1b53707a add bash completion script 2010-04-16 16:40:47 -04:00
Robby Findler
f664758896 added 'rico docs' 2010-04-16 16:30:33 -04:00
Robby Findler
b317a8ae89 . 2010-04-16 16:19:48 -04:00
Robby Findler
a04a5b32d1 changed a message so that it doesn't register as an error according to drdr 2010-04-16 16:15:31 -04:00
Robby Findler
1c114c3e94 made the file work when the cwd is not the files directory 2010-04-16 14:43:41 -04:00
Jay McCarthy
2d39a9e104 Using props file rather than SVN for properties 2010-04-16 13:22:17 -04:00
Robby Findler
eb7c8daead . 2010-04-16 11:42:35 -04:00
Matthias Felleisen
a2af09a445 one more reader, plus shortened the names of the functions 2010-04-16 10:49:21 -04:00
Eli Barzilay
da312ac680 Welcome to a new PLT day. 2010-04-16 03:50:27 -04:00
Robby Findler
bcbdcc2eaf added the #:generator argument to the contract property maker 2010-04-15 23:29:39 -04:00
Robby Findler
4587795d40 added 'Scribble' as a prefix to the scribble drscheme buttons 2010-04-15 23:11:38 -04:00
Robby Findler
d4c0aa1daf added guard against passing #f to the make-button procedure 2010-04-15 23:07:27 -04:00
Matthias Felleisen
10c6213a8f making drdr happy with here path 2010-04-15 22:22:14 -04:00
Matthew Flatt
840ea4f4f5 simplify [g]racket startup banner 2010-04-15 22:15:43 -04:00
Matthew Flatt
03099f4aa2 remove require of pconvert in racket runtime-config 2010-04-15 21:44:16 -04:00
Matthew Flatt
ccee3d4d9e fix mzschemecgc name (to not overwrite mzscheme) 2010-04-15 21:40:28 -04:00
Matthew Flatt
cea92a1737 fix accidental change to Racket prompt 2010-04-15 21:21:34 -04:00
Matthew Flatt
0f0a59732e create core binaries as 'racket' and 'gracket' 2010-04-15 21:15:57 -04:00
Matthias Felleisen
a8999166d7 one more test for batch-io 2010-04-15 20:39:26 -04:00
Matthias Felleisen
2727d5f0ba batch-io finished 2010-04-15 20:34:26 -04:00
Matthew Flatt
2fb34bcfdc fix Scribble reader test regexp-split pattern 2010-04-15 19:15:53 -04:00
Matthias Felleisen
2e77afe5da . 2010-04-15 18:38:09 -04:00
Jay McCarthy
918f2caf34 Adding generics 2010-04-15 16:33:31 -04:00
Matthias Felleisen
f04addd104 support several keywords per clause 2010-04-15 12:35:01 -04:00
Matthew Flatt
249a9e38f7 minor regexp clean-ups 2010-04-15 10:10:19 -04:00
Eli Barzilay
f1fdeb3bff Welcome to a new PLT day. 2010-04-15 03:50:33 -04:00
Matthew Flatt
4bc155905a Perl-like handling of empty matches in regexp-match*, etc., though without Perl-like filtering of empty strings in the result of regexp-split (PR 10855) 2010-04-14 22:53:14 -04:00
Matthias Felleisen
5abf8bb530 docs for new forms and functions in batch-io 2010-04-14 22:50:16 -04:00
Matthias Felleisen
ed21a85d9d added csv reading to batch-io 2010-04-14 18:58:29 -04:00
Matthew Flatt
1c34ccec44 improve regexp support (PR 10855, halfway) 2010-04-14 18:40:08 -04:00
Sam Tobin-Hochstadt
41e469d7ae Update structure types to have constructor ids.
Use constructor to generate better contracts for poly structs.
2010-04-14 15:06:14 -04:00
Carl Eastlund
d03aed44fd * unstable/srcloc.ss
Added `update-source-location', which provides keyword-based functional update
for source location representations.

Removed automatic collection-relative printing for source locations.

* unstable/location.ss

Made `quote-srcloc' and its related forms all automatically use source locations
relative to collections and/or planet, where appropriate, and to compute
source locations dynamically if they cannot be made relative.

Removed #:module-source argument from `quote-srcloc'.

Changed `quote-module-path' and `quote-module-name' to use source file name
extensions.

Removed `quote-module-source'.  I'm not sure what the use case is for
generating a resolved module path that doesn't correspond to a real module.

* unstable/dirs.ss

Implemented `path->directory-relative-string' for rendering a path to a string
that is relative to one of a list of given directories, with associated
abbreviations for each.

* unstable/scribblings/unstable.scrbl
* unstable/scribblings/srcloc.scrbl
* unstable/scribblings/dirs.scrbl

Documented the above changes.

* scheme/contract/private/provide.ss
* scheme/contract/private/base.ss

Changed contract forms to always blame a module path where appropriate.

Removed use of #:module-source option for `quote-srcloc'.

* setup/private/path-utils.ss

Updated `path->name' to use more general `path->directory-relative-string'.

svn: r18816
2010-04-14 17:49:29 +00:00
Sam Tobin-Hochstadt
0c730ae50a test improvements
svn: r18814
2010-04-14 17:11:21 +00:00
Eli Barzilay
68a9ceaf08 Welcome to a new PLT day.
svn: r18813
2010-04-14 07:50:27 +00:00
Sam Tobin-Hochstadt
376f307a01 Bug fix for `sequence-lift'.
Doc fixes.
Improve `make' error message.

svn: r18812
2010-04-13 20:59:32 +00:00
Robby Findler
a5a8bf953f added docs for the extra-repl-information method of drscheme:language:language<%>
svn: r18811
2010-04-13 19:45:17 +00:00
Matthew Flatt
536fcacc42 more module source versus module path adjustments, especially for contracts
svn: r18809
2010-04-13 17:12:51 +00:00
Matthias Felleisen
11f6859cb2 more api for batch-io
svn: r18808
2010-04-13 15:34:09 +00:00
Matthias Felleisen
8d1871b4c9 improved error message in response to 10854
svn: r18807
2010-04-13 14:17:29 +00:00
Mike Sperber
9d20fd713d Lazy contract checking for DMdA's `define-record-procedures-parametric'.
svn: r18806
2010-04-13 07:57:57 +00:00
Eli Barzilay
a12018874e Welcome to a new PLT day.
svn: r18805
2010-04-13 07:50:43 +00:00
Matthew Flatt
ce2d286586 add current-module-declare-source, variable-reference->module-source, convert soe sues of module paths to module sources
svn: r18804
2010-04-13 02:48:40 +00:00
Matthew Flatt
49f68dc6d6 fix construction of resolved module path in DrScheme (PR 10859)
svn: r18803
2010-04-12 23:28:40 +00:00
Sam Tobin-Hochstadt
25a817e4aa Fix thinko in subtyping.
svn: r18802
2010-04-12 22:23:39 +00:00
Robby Findler
e333734867 got rid of some bouncing
svn: r18796
2010-04-12 15:52:15 +00:00
Robby Findler
69b42edc38 svn: r18795 2010-04-12 15:51:47 +00:00
Matthew Flatt
0da70a905b R6RS SRFI patches from Andreas Rottmann
svn: r18794
2010-04-12 14:06:24 +00:00
Matthew Flatt
f6d62763b4 fix typo (PR 10856)
svn: r18793
2010-04-12 14:00:23 +00:00
Matthew Flatt
b4aa4d4afb add define-values-for-export to scheme/unit; sort out different unit-signature 'struct' forms for mzlib vs. scheme vs. racket
svn: r18792
2010-04-12 13:54:40 +00:00
Eli Barzilay
e49cbbfd4d Welcome to a new PLT day.
svn: r18790
2010-04-12 07:50:30 +00:00
Matthew Flatt
65d3d3240b racket: keep old 'define-struct', include new form as 'struct'
svn: r18789
2010-04-11 21:08:37 +00:00
Matthew Flatt
bdb71498e3 module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788
2010-04-11 16:55:18 +00:00
Robby Findler
e672c022c9 added a missing import
svn: r18787
2010-04-11 12:12:22 +00:00
Eli Barzilay
30eef711d7 Welcome to a new PLT day.
svn: r18786
2010-04-11 07:50:29 +00:00
Robby Findler
bf9ae0f731 added support for opt-out buttons and then took advantage of it to do a better job with the check syntax, macro stepper, and debugger buttons
svn: r18785
2010-04-11 03:14:02 +00:00
Robby Findler
06da8a6468 svn: r18784 2010-04-10 19:43:50 +00:00
Eli Barzilay
20c12b6deb somehow this change was not included with the last; also set drdr property for robby
svn: r18783
2010-04-10 19:22:19 +00:00
Robby Findler
e4e3d71299 checking in a fix for the previous revision
svn: r18782
2010-04-10 18:43:17 +00:00
Robby Findler
1671102fdc checking in a broken chat-noir-literate to make sure I've set the drdr properties right
svn: r18781
2010-04-10 18:42:33 +00:00
Matthew Flatt
1a9b89f5ba more mutable pair clarifications
svn: r18780
2010-04-10 14:22:18 +00:00
Matthew Flatt
0f9cac182d improve docs to calrify that mutable pairs are not pairs
svn: r18779
2010-04-10 14:13:41 +00:00
Eli Barzilay
c4dfc1df05 Welcome to a new PLT day.
svn: r18777
2010-04-10 07:50:33 +00:00
Robby Findler
8242847c7a svn: r18775 2010-04-09 20:23:44 +00:00
Robby Findler
9ad5210bb4 oops, bugfix
svn: r18774
2010-04-09 20:10:56 +00:00
Sam Tobin-Hochstadt
0b55e34853 Enable proper reader and repl config for typed/scheme
svn: r18773
2010-04-09 20:06:53 +00:00
Robby Findler
c7606115e1 added support for the stepper button appearing automatically in the teaching languages (in the module language with #lang htdp/* prefix)
svn: r18771
2010-04-09 19:28:02 +00:00
Robby Findler
dcaa17e860 refactored so that the chat-noir tests run in drdr
svn: r18770
2010-04-09 19:19:14 +00:00
Matthew Flatt
1621091fc1 add 'current-read-interaction' parameter
svn: r18769
2010-04-09 13:22:57 +00:00
Eli Barzilay
8c6bbb43cb Welcome to a new PLT day.
svn: r18768
2010-04-09 07:50:38 +00:00
Casey Klein
52c6b4ef15 Adds a term-equivalence predicate to the test--> and test-->> forms.
svn: r18767
2010-04-09 00:08:39 +00:00
Matthias Felleisen
26b3cb7eb2 batch io expanded
svn: r18766
2010-04-08 22:14:36 +00:00
Sam Tobin-Hochstadt
24ad4005e8 fix doc bugs reported by danny
svn: r18765
2010-04-08 20:11:39 +00:00
Matthew Flatt
bebf513aa7 change 'configure-runtime to produce a list of module-spcifying vectors instead of a single vector
svn: r18763
2010-04-08 19:11:50 +00:00
Matthew Flatt
8fbd16261f adjust DrScheme to run #lang-specified runtime configuration
svn: r18762
2010-04-08 15:32:02 +00:00
Matthew Flatt
8b31b1b552 fix racket runtime-config info; reduce boilerplate for HtDP and Scribble language families
svn: r18761
2010-04-08 13:53:59 +00:00
Eli Barzilay
4410b5adf6 Welcome to a new PLT day.
svn: r18760
2010-04-08 07:50:36 +00:00
Matthew Flatt
b559c9db9b initial cut at HtDP languages via #lang; syntax/module-reader: split compiled-module info from reader info, reorganize and complete docs, don't export read-properties or get-info-getter for now
svn: r18759
2010-04-08 02:30:00 +00:00
Matthew Flatt
d436f1deb3 fix setup-plt doc rendering
svn: r18758
2010-04-08 02:06:02 +00:00
Eli Barzilay
96332e5f8d Fixing some broken drdr:command-line strings that had no "~s".
svn: r18757
2010-04-08 01:42:57 +00:00
Eli Barzilay
e3e5fcdc16 Changing drdr:command-line to have "~s"s instead of "$path"s
svn: r18756
2010-04-08 01:41:46 +00:00
Eli Barzilay
befa088b6e Parse/unparse strings to/from props; separate drdr props to cmdline and
timeout; provide some missing bindings

svn: r18755
2010-04-08 01:38:54 +00:00
Casey Klein
e99bbaf88b Fixes DrDr property
svn: r18754
2010-04-07 20:03:58 +00:00
Casey Klein
0975798b31 Fixes PR 10842
svn: r18753
2010-04-07 19:57:52 +00:00
Casey Klein
ea2861b03a Fixes PR 10843
svn: r18752
2010-04-07 15:33:36 +00:00
Eli Barzilay
52e2b31408 new drdr props from Matthew
svn: r18751
2010-04-07 13:44:46 +00:00
Eli Barzilay
5e55dc1000 more clarifications
svn: r18750
2010-04-07 13:41:02 +00:00
Eli Barzilay
e2e2c1e802 no flags now
svn: r18749
2010-04-07 13:16:59 +00:00
Eli Barzilay
45904a4a16 clarify comment, add git alias
svn: r18748
2010-04-07 13:15:35 +00:00
Eli Barzilay
6473b9581f Add new props script+storage
svn: r18747
2010-04-07 13:06:55 +00:00
Matthew Flatt
5e22bb81f5 constant-folding repairs to some unsafe operations
svn: r18745
2010-04-07 12:48:15 +00:00
Matthew Flatt
abebb1c1f4 fix problem with per-registry locking of available-module visit & instantiation
svn: r18744
2010-04-07 12:34:50 +00:00
Eli Barzilay
da7d9485f1 Welcome to a new PLT day.
svn: r18743
2010-04-07 07:08:07 +00:00
Matthew Flatt
2c36427b20 fix compiler bug with unsafe-c[ad]r and constant folding (PR 10850)
svn: r18742
2010-04-07 02:25:27 +00:00
Kevin Tew
63b819ce74 [setup-unit] cleanup ccs-to-compile, move invocations to bottom of unit
svn: r18741
2010-04-06 20:56:28 +00:00
Matthew Flatt
aec586d2be fix a GC problem related to future and wcm; also fix a race condition related to JITing a delay-loaded procedure (and maybe specific to future-demanded JITting)
svn: r18739
2010-04-06 16:44:53 +00:00
Kevin Tew
19ed8d9bbf refactor setup-unit make-zo
svn: r18738
2010-04-06 16:35:28 +00:00
Matthew Flatt
c5ac9f23ec better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
svn: r18737
2010-04-06 15:52:36 +00:00
Eli Barzilay
90acb35315 optimize null and one-argument lists
svn: r18736
2010-04-06 15:26:15 +00:00
Eli Barzilay
cc3c334026 Welcome to a new PLT day.
svn: r18735
2010-04-06 07:50:28 +00:00
Eli Barzilay
9af8fb2195 Welcome to a new PLT day.
svn: r18734
2010-04-05 07:40:03 +00:00
Matthew Flatt
fdba97b1c0 rico
svn: r18733
2010-04-04 15:08:35 +00:00
Eli Barzilay
a360b554ce Welcome to a new PLT day.
svn: r18732
2010-04-04 07:50:36 +00:00
Ryan Culpepper
fdd42be5d9 syntax/parse:
fixed bug (thanks Jay!)
  some internal additions/changes

svn: r18731
2010-04-03 23:00:37 +00:00
Matthew Flatt
3cc95b31ef add prop:struct-info
svn: r18730
2010-04-03 13:08:39 +00:00
Matthew Flatt
6cd548b0f3 fix module-laguage info from scribble/doc
svn: r18729
2010-04-03 11:59:26 +00:00
Eli Barzilay
8e36e8e3eb Welcome to a new PLT day.
svn: r18728
2010-04-03 07:50:06 +00:00
Casey Klein
3d9806a606 Forces sequences to have length zero when the depth is zero
svn: r18726
2010-04-03 00:54:55 +00:00
Matthew Flatt
2cb9f378aa Racket experiments
svn: r18725
2010-04-02 21:29:59 +00:00
Jay McCarthy
2a87df9e5c Supporting arguments in dispatch pattern arguments
svn: r18724
2010-04-02 20:55:36 +00:00
Jay McCarthy
7b61ba023d New library formlets
svn: r18720
2010-04-02 18:53:29 +00:00
Eli Barzilay
2a2562aa87 Welcome to a new PLT day.
svn: r18718
2010-04-02 07:28:09 +00:00
Stevie Strickland
664cfa2e31 Given the other uses of #:mode public-final in this file, I assume that the
quote was a mistake.

svn: r18717
2010-04-02 00:15:24 +00:00
Kevin Tew
191b111109 Communciate Structs
svn: r18715
2010-04-01 17:03:51 +00:00
Matthew Flatt
b2d65a1b95 fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
svn: r18711
2010-04-01 13:14:50 +00:00
Eli Barzilay
853db0ae55 forgot examples
svn: r18709
2010-04-01 08:27:15 +00:00
Eli Barzilay
05fca5df14 Documented () thing
svn: r18706
2010-04-01 07:46:01 +00:00
Eli Barzilay
581cbb461b Change `generator' to have a form of (generator () body ...). The empty
place will have initial input names, so having this first will make
existing code break with an easy to fix syntax error, rather than having
confusing failures.  (Also made it throw a very clear error message if
there is no () now.)

svn: r18705
2010-04-01 07:45:41 +00:00
Eli Barzilay
6977f08878 typo (PR 10754)
svn: r18704
2010-04-01 07:33:55 +00:00
Matthias Felleisen
eaa7303113 the proper fix
svn: r18703
2010-04-01 02:01:05 +00:00
Matthias Felleisen
7a4cd2a706 appeasing drdr
svn: r18702
2010-04-01 00:57:36 +00:00
Matthias Felleisen
3f20bc5eb6 fixes 10836
svn: r18700
2010-03-31 21:59:07 +00:00
Eli Barzilay
6234c57b69 places docs in user directory since its not on by default.
svn: r18698
2010-03-31 21:38:02 +00:00
Eli Barzilay
ba57548bc7 loa is gone
svn: r18697
2010-03-31 21:36:56 +00:00
Casey Klein
a9096f2e07 Adds to examples directory and cleans up tests
svn: r18693
2010-03-31 16:02:24 +00:00
Robby Findler
6cc7e81db8 updated to match new error message
svn: r18691
2010-03-31 14:36:58 +00:00
Robby Findler
860f81bcef updated the unix bitmaps
svn: r18690
2010-03-31 12:36:44 +00:00
Eli Barzilay
658fc0717d Hack for chrome: catch errors when reading/writing cookies
and just treat it as if there is no cookie.  This is what
chrome effectively did until recently -- so the relying on
cookies for the return path to the user-specific pages was
and still is broken.

svn: r18684
2010-03-31 06:36:58 +00:00
Casey Klein
6886f6540a Fixes handling of where/hidden and side-condition/hidden clauses in reduction-relation.
svn: r18683
2010-03-31 01:03:25 +00:00
Robby Findler
62fb1bed65 svn: r18682 2010-03-30 22:30:37 +00:00
Matthew Flatt
164e998cbd fix syntax-case docs on how the exception is raised
svn: r18679
2010-03-30 21:33:59 +00:00
Matthew Flatt
417be5d8e2 move definedness check for imported variable to link time instead of access time; add errortrace meta-language; tweak errortrace to avoid an unnecessary and loop-obscuring annotation; improve slightly bytecode optimizer's handling of w-c-m; improve JIT handling of w-c-m
svn: r18678
2010-03-30 20:21:28 +00:00
Jay McCarthy
cafd092994 Adding another kind of error in xexpr
svn: r18677
2010-03-30 19:55:56 +00:00
Jay McCarthy
0289edf0cb Repairing SchemeUnit tests re: DrDr
svn: r18673
2010-03-30 17:42:16 +00:00
Matthias Felleisen
0b33e15553 committed rest of fix
svn: r18672
2010-03-30 17:41:31 +00:00
Jay McCarthy
04d1fa6a26 Parsing patch from Dave Gurnell
svn: r18671
2010-03-30 17:05:51 +00:00
Jay McCarthy
18276161b8 - Limiting the size of DrDr emails
svn: r18670
2010-03-30 15:26:08 +00:00
Matthias Felleisen
3c1d0b079c 10834 fixed
svn: r18668
2010-03-30 13:43:47 +00:00
Noel Welsh
cfab7a8d97 Add type definition for unsafe-vector*-ref and unsafe-vector*-length, which have recently been introduced, and a test case for in-vector (which uses the above).
svn: r18667
2010-03-30 13:33:45 +00:00
Philippe Meunier
3a0b16d4ce Fixed some weird unicode double-quotes which I can't produce on my computer.
svn: r18666
2010-03-30 08:39:54 +00:00
Philippe Meunier
ef2c882562 Quaterly update...
svn: r18665
2010-03-30 04:06:55 +00:00
Matthew Flatt
25ede3dc50 fix reporting for some syntactic misuses of syntax-case
svn: r18662
2010-03-29 20:39:42 +00:00
Matthew Flatt
baab09fc1b drop the uglier half of the Mac OS X thread-local variable hack; thread GC state through mark functions (to avoid overhead of thread-local accesses); fix some procedure-arity bugs and work toward fixing chaperones and some other procedure operations on keyword procedures
svn: r18661
2010-03-29 15:06:47 +00:00
Sam Tobin-Hochstadt
2bda6af6b0 Fix obvious bug.
svn: r18660
2010-03-29 15:01:29 +00:00
Noel Welsh
f655a38ead Fix the SchemeUnit test suite so it runs without error following changed introduced in r18618.
svn: r18659
2010-03-29 12:58:13 +00:00
Eli Barzilay
8de7c3615a Welcome to a new PLT day.
svn: r18658
2010-03-29 07:50:18 +00:00
Sam Tobin-Hochstadt
4336e1fed0 fix bug in `sequence-lift'
svn: r18657
2010-03-29 02:53:57 +00:00
Matthew Flatt
b8c3112b98 fix chaperones on parameters
svn: r18654
2010-03-28 15:56:04 +00:00
Eli Barzilay
73e22ed867 Welcome to a new PLT day.
svn: r18652
2010-03-28 07:50:40 +00:00
Matthew Flatt
73807aef24 chaperones (v4.2.5.3)
svn: r18650
2010-03-28 01:10:33 +00:00
Robby Findler
895b207916 likely fixed an initialization problem (but I only saw the problem once so Im not sure); pls. include in release
svn: r18649
2010-03-27 15:55:50 +00:00
Sam Tobin-Hochstadt
d4e0c16d55 a new branch of the whole tree
svn: r18648
2010-03-27 14:49:58 +00:00
Robby Findler
5c2f79a3fa removed a now-bogus test case; pls. include this commit in the release
svn: r18647
2010-03-27 14:26:26 +00:00
Mike Sperber
19793ca54b Disable a test that exposes a hard-to-fix problem in the image
primitives.

svn: r18645
2010-03-27 13:52:49 +00:00
Eli Barzilay
81c374d0f3 Welcome to a new PLT day.
svn: r18644
2010-03-27 07:50:35 +00:00
Sam Tobin-Hochstadt
752e93fc88 add simple tests
svn: r18638
2010-03-27 00:31:29 +00:00
Jay McCarthy
3e546fee60 Correct the cookie contract function
svn: r18630
2010-03-26 16:45:42 +00:00
Jay McCarthy
e69a18eefd Stricter cookie contracts
svn: r18629
2010-03-26 16:07:35 +00:00
Noel Welsh
302555cf01 Add types for most of Byte and String Output (Section 12.3 of the Reference). Only functions that need an Event type (i.e. matching evt?) are missing. They are commented out as a placeholder for future additions.
svn: r18628
2010-03-26 14:48:33 +00:00
Eli Barzilay
b119cd0c8b Welcome to a new PLT day.
svn: r18626
2010-03-26 07:50:20 +00:00
Matthew Flatt
72db535760 fix optimizer bug for inlining procedures under 'let' in rator position
svn: r18622
2010-03-25 20:09:41 +00:00
Robby Findler
99ee6c468f fixed a bug found by random testing
svn: r18621
2010-03-25 19:32:22 +00:00
Jay McCarthy
55c3176934 Adding a work around for the compiler bug... plus I like it better. And adding a regression test for the compiler.
svn: r18619
2010-03-25 18:14:11 +00:00
Jay McCarthy
26a502d762 SchemeUnit will now display errors on stderr.
This seemed like the simplest way to do it. Only errors have output anyways, so I made the error port the output port and caught everything.

svn: r18618
2010-03-25 17:56:07 +00:00
Eli Barzilay
0429158546 Welcome to a new PLT day.
svn: r18617
2010-03-25 07:50:08 +00:00
Stevie Strickland
290a73b56b Check and unwrap instead of grabbing the property value, then using it to
unwrap.

svn: r18610
2010-03-24 21:32:32 +00:00
Noel Welsh
af84b331a1 Add the fx to fl conversion functions to Typed Scheme
Add tests for flonum operations to Typed Scheme test suite

Fix the compiler bug tests above uncovered

svn: r18609
2010-03-24 13:18:37 +00:00
Eli Barzilay
4c547721dd Welcome to a new PLT day.
svn: r18608
2010-03-24 07:50:28 +00:00
Matthew Flatt
0550cc3680 htdp language readers introduce explicit #%module-begin (for consistency with other #lang-based languages, as requested by JPR); merge to4.2.5
svn: r18605
2010-03-23 13:34:00 +00:00
Noel Welsh
7c55242179 Add the full suite of fl and unsafe-fl operations to Typed Scheme
Correct an error in documentation of flmin and flmax -- they were documented as taking a single argument when in fact they take two.

svn: r18604
2010-03-23 12:24:50 +00:00
Noel Welsh
cf017110a9 Fix a problem generating contracts for FlVector exports. Add test for problem.
svn: r18603
2010-03-23 10:30:24 +00:00
Matthew Flatt
fb37601b55 bug fixes from random testing
svn: r18602
2010-03-23 01:49:08 +00:00
Sam Tobin-Hochstadt
4f456a2b6e fix some references
svn: r18595
2010-03-22 14:17:18 +00:00
Robby Findler
52186197c7 whoops
svn: r18594
2010-03-21 22:58:42 +00:00
Robby Findler
c74849dc2e added support for the 10pt option to the sigplan scribble support
svn: r18593
2010-03-21 22:56:26 +00:00
Eli Barzilay
40444fc087 Stupid $%^#*&!*ing typo. It has been in this code since the major code
reorganization that was included in v4.2.3. Cost me most of the night to
track down.

svn: r18592
2010-03-21 10:00:58 +00:00
Eli Barzilay
236b0249a7 Welcome to a new PLT day.
svn: r18590
2010-03-21 07:50:47 +00:00
Robby Findler
580f105792 fixed a bug in the initialization of the language dialog
svn: r18589
2010-03-21 01:37:53 +00:00
Eli Barzilay
09cfe5f626 Welcome to a new PLT day.
svn: r18588
2010-03-20 07:51:04 +00:00
Robby Findler
dbe66de3af fix for a bug discovered via random testing
svn: r18587
2010-03-19 20:36:39 +00:00
Robby Findler
ff10493a0e fix to a bug detected by random testing
svn: r18586
2010-03-19 19:55:02 +00:00
Sam Tobin-Hochstadt
23d16b904f fix embed-in-c
svn: r18584
2010-03-19 15:27:47 +00:00
Casey Klein
a004964297 Fixed another bug found with random testing
svn: r18583
2010-03-19 14:08:48 +00:00
Robby Findler
1c72ed7a20 a bug found via random testing
svn: r18582
2010-03-19 13:20:30 +00:00
Casey Klein
854a902cbd Fixed bugs found with random testing
svn: r18581
2010-03-19 11:39:02 +00:00
Eli Barzilay
4e30b8dc6b Welcome to a new PLT day.
svn: r18580
2010-03-19 07:50:34 +00:00
Stevie Strickland
dde2011ec7 Add ->dm and case->m, which are the implicit method versions of ->d and
case->.

This should be included in the release.

svn: r18579
2010-03-18 21:28:41 +00:00
Kevin Tew
dedb261ea8 [Places] place-channels are syncable events, place-channel-send/recv, #t and #f are now communicated
svn: r18578
2010-03-18 16:53:16 +00:00
Kevin Tew
8299803e06 [Places] channel tests
svn: r18577
2010-03-18 16:42:14 +00:00
Kevin Tew
e9693b7d9d [Places] channels can send fixnums, strings, lists, and vectors
svn: r18576
2010-03-18 16:42:05 +00:00
Matthew Flatt
92487ed9e2 better error reporting when a top-level form is wrong
svn: r18575
2010-03-18 14:43:38 +00:00
Robby Findler
d761a0236a fixed a typo, please include in release
svn: r18574
2010-03-18 13:38:59 +00:00
Eli Barzilay
442a505be7 Welcome to a new PLT day.
svn: r18571
2010-03-18 07:50:16 +00:00
Jay McCarthy
a1156ec3d3 Fix broken documentation examples
svn: r18569
2010-03-17 19:34:59 +00:00
Sam Tobin-Hochstadt
d58bf1521b added (disabled) optimization
svn: r18567
2010-03-17 19:25:21 +00:00
Sam Tobin-Hochstadt
e1eb4a4b93 Fix bug in match reported by jay.
svn: r18563
2010-03-17 18:21:09 +00:00
Sam Tobin-Hochstadt
31911dba55 add FlVector as a type
svn: r18559
2010-03-17 17:00:14 +00:00
Sam Tobin-Hochstadt
fe68168e3d these operations do not exist
svn: r18558
2010-03-17 16:51:04 +00:00
Noel Welsh
5f6aeb364f Check that the FlVector type is exported. Currently this test fails.
svn: r18557
2010-03-17 15:26:30 +00:00
Noel Welsh
39a1489403 Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
svn: r18555
2010-03-17 14:49:29 +00:00
Eli Barzilay
2804c57264 Welcome to a new PLT day.
svn: r18553
2010-03-17 07:50:33 +00:00
Carl Eastlund
d9b7609e1e Fixed splicing-syntax-parameterize to splice require and provide forms.
svn: r18551
2010-03-16 23:04:46 +00:00
Eli Barzilay
123cd387f4 Welcome to a new PLT day.
svn: r18549
2010-03-16 07:50:36 +00:00
Kevin Tew
e7b6b4a3da place holder for place-channel tests
svn: r18548
2010-03-15 21:28:57 +00:00
Sam Tobin-Hochstadt
b9902e5145 Actual contracts for classes. Yay sstrickl!
svn: r18547
2010-03-15 18:21:15 +00:00
Stevie Strickland
4795a5bbc2 Sync to trunk, even though it's minor
svn: r18545
2010-03-15 11:13:15 +00:00
Stevie Strickland
5145638ac5 Since we're handling initialization and the result of this wrapper is a
real (sub)class, we need this to be #f.

svn: r18544
2010-03-15 09:19:50 +00:00
Stevie Strickland
bf56a108fe Need scheme/class's init for use in class/c form.
svn: r18543
2010-03-15 09:04:10 +00:00
Stevie Strickland
5a488ae7cb Add handling of by-name inits to commented-out class/c use in typed-scheme.
Also, fix class/c section of reference slightly by mentioning the role of
external contracts in class instantiation.

svn: r18542
2010-03-15 08:57:41 +00:00
Stevie Strickland
c7c8f7061e Add documentation, and also add tests for appropriate init-field behavior.
svn: r18541
2010-03-15 08:47:09 +00:00
Stevie Strickland
924842d9e9 * Fix inits so that we either call the previous class/c wrapper's init
or let continue-make-super take control if we were the first wrapper
* Fix up handling of init/contract sorting so that things are performed
  at the right phase (at least if we're going to treat names as symbols).
* Fix up new tests so that all contract layers are tested.

svn: r18540
2010-03-15 08:29:22 +00:00
Eli Barzilay
958b1b38ba Welcome to a new PLT day.
svn: r18539
2010-03-15 07:50:37 +00:00
Stevie Strickland
7ec061cdbf * Factor out zipping of inits/contracts of the init closure
* Add tests for higher-order behavior

svn: r18538
2010-03-15 07:37:25 +00:00
Stevie Strickland
f9e404afbc * Fix bug in #:name for init contracts
* Apply appropriate projections to init arguments.

svn: r18537
2010-03-15 07:25:54 +00:00
Stevie Strickland
2f9717ca72 Start on the init function. First step -- just replace it if we have init
contracts, but don't add any checking (yet).

svn: r18536
2010-03-15 07:05:31 +00:00
Stevie Strickland
9640ea4e2c Sort the init contract forms.
svn: r18535
2010-03-15 07:03:54 +00:00
Stevie Strickland
1bd29dd7e9 Okay, we're going to add back init contracts, which I'd somewhat done before.
In this version, we're not going to have any reasonable first-order checks as
to whether or not the class actually accepts the initialization arguments that
are being contracted.  I'm also just going to handle by-name at first, since
that's all I originally discussed in the paper.

svn: r18534
2010-03-15 06:49:49 +00:00
Matthew Flatt
e0c0645479 doc Scribble 'exact-chars and 'tt-chars style propeties
svn: r18533
2010-03-14 12:14:32 +00:00
Eli Barzilay
2edb341b00 Welcome to a new PLT day.
svn: r18532
2010-03-14 07:50:32 +00:00
Stevie Strickland
7b831e86a6 Correct with-type so it handles result types of the form (values t ...).
svn: r18531
2010-03-14 02:32:20 +00:00
Eli Barzilay
036781d453 Welcome to a new PLT day.
svn: r18528
2010-03-13 08:50:34 +00:00
Robby Findler
861c494693 added a keyword argument to filled-rectangle to make it avoid using a pen
svn: r18527
2010-03-12 20:50:26 +00:00
Sam Tobin-Hochstadt
9035e2e584 Prevent unbound identifiers from being in the base env.
Fix some bugs caught by this.

svn: r18526
2010-03-12 16:25:40 +00:00
Sam Tobin-Hochstadt
3edf8cdac6 Fix `match-lambda**'. Patch from Madoka Machitani.
svn: r18525
2010-03-12 14:16:43 +00:00
Matthias Felleisen
404e0e30a1 stop clause for release
svn: r18524
2010-03-12 13:24:45 +00:00
Noel Welsh
97924ffc65 Add tests for all the fixnum operations. This only checks that the operations have types; semantics and completely specified types aren't rigourously checked.
svn: r18523
2010-03-12 12:13:10 +00:00
Noel Welsh
a8b5f4275a Add scheme/fixnum to the list of require'd modules, meaning the type declarations for fixnum operations are actually bound to the correct functions and so Typed Scheme programs using fixnum ops will actually compile.
svn: r18522
2010-03-12 10:58:26 +00:00
Eli Barzilay
f7058ff636 Welcome to a new PLT day.
svn: r18521
2010-03-12 08:50:27 +00:00
Matthias Felleisen
b4da375084 improved release test
svn: r18519
2010-03-12 03:28:26 +00:00
Matthias Felleisen
d4adb4456d added on release
svn: r18518
2010-03-12 03:21:23 +00:00
Matthias Felleisen
b8a8ca533e added on-release
svn: r18517
2010-03-12 03:21:06 +00:00
Matthias Felleisen
9a6e94903e added release handler
svn: r18515
2010-03-12 01:36:02 +00:00
Matthias Felleisen
2655495b56 fixed bug in on-tick syntax pattern
svn: r18514
2010-03-12 01:33:57 +00:00
Matthias Felleisen
b7b9e8dde6 fixed bug in on-tick syntax pattern
svn: r18513
2010-03-12 01:33:33 +00:00
Matthew Flatt
edfd0812c6 fix Scribble latex rendering when a section title has a ssquare bracket
svn: r18512
2010-03-11 14:24:41 +00:00
Matthew Flatt
1af4bb9cfb fix problem with 'make-meta-reader' and passing a module path to the next reader in the chain
svn: r18511
2010-03-11 14:00:01 +00:00
Eli Barzilay
fafb35fb86 Welcome to a new PLT day.
svn: r18510
2010-03-11 08:50:33 +00:00
Eli Barzilay
0b72196247 add the reader collection
svn: r18509
2010-03-11 05:16:21 +00:00
Sam Tobin-Hochstadt
b3be4f32f7 Null does not overlap with structs.
svn: r18508
2010-03-10 23:43:47 +00:00
Matthew Flatt
826fbdf16f add scribble/jfp
svn: r18507
2010-03-10 22:17:51 +00:00
Robby Findler
c1640d005f svn: r18506 2010-03-10 12:51:20 +00:00
Eli Barzilay
4441266553 Welcome to a new PLT day.
svn: r18505
2010-03-10 08:50:27 +00:00
Stevie Strickland
40b35a2b73 Now that we have a way of marking procedures as methods at runtime,
fix up all projection applications and uncomment out the tests for
appropriate method arity errors.

svn: r18504
2010-03-10 04:07:00 +00:00
Matthew Flatt
a94e6f2ea9 fix (_bytes o n) as an FFI result type
svn: r18502
2010-03-10 02:18:05 +00:00
Stevie Strickland
86a26d7947 Sync up to trunk.
svn: r18500
2010-03-10 01:11:31 +00:00
Sam Tobin-Hochstadt
24b9078560 update docs to use `define-type'
document `define-predicate'

svn: r18498
2010-03-10 00:17:33 +00:00
Sam Tobin-Hochstadt
c24daa5dbb Add `define-predicate'
svn: r18497
2010-03-10 00:10:03 +00:00
Stevie Strickland
0982626a67 Add test cases, which let us see where we're failing at the moment.
svn: r18496
2010-03-09 23:56:20 +00:00
Stevie Strickland
cd3499dea5 Initial cut at documentation.
svn: r18495
2010-03-09 23:22:35 +00:00
Eli Barzilay
89aa9b6ed5 Welcome to a new PLT day.
svn: r18491
2010-03-09 08:50:28 +00:00
Matthias Felleisen
46d66b4542 bug report 10816
svn: r18490
2010-03-09 02:06:32 +00:00
Matthew Flatt
911d80a144 scribble: use 'attributes' properties when rendering table cells
svn: r18488
2010-03-08 21:31:31 +00:00
Matthew Flatt
5f8e4b46fe redex: combine picts with htl-append instead of hbl-append for metafunction rendering
svn: r18487
2010-03-08 21:31:02 +00:00
Robby Findler
99638b8853 got rid of loa, since I can no longer remember what it was and it does not run
svn: r18486
2010-03-08 12:13:41 +00:00
Eli Barzilay
afa3790620 Welcome to a new PLT day.
svn: r18485
2010-03-08 08:50:28 +00:00
Eli Barzilay
0d4c9cd350 Welcome to a new PLT day.
svn: r18484
2010-03-07 08:50:35 +00:00
Robby Findler
9c88dc49b2 minor cleanup to make parsing the docs easier
svn: r18483
2010-03-06 14:08:25 +00:00
Robby Findler
3bcea5bbe0 made another method final
svn: r18482
2010-03-06 12:54:30 +00:00
Mike Sperber
ee16c70c41 Synch German string constants with latest.
svn: r18481
2010-03-06 11:09:25 +00:00
Eli Barzilay
ece4ecd49c Welcome to a new PLT day.
svn: r18480
2010-03-06 08:50:35 +00:00
Matthew Flatt
4673b36dcf adjust inlining heuristics again
svn: r18479
2010-03-06 03:44:07 +00:00
Robby Findler
7c3025ecde fixed some more bugs found by random testing
svn: r18478
2010-03-06 01:35:19 +00:00
Sam Tobin-Hochstadt
87f978e59e Fix PR 10813
svn: r18477
2010-03-05 21:52:54 +00:00
Robby Findler
c2d9b0dc3e set the locked state flags during the initialization of a text% object (this bug found by random test case generation)
svn: r18475
2010-03-05 19:43:50 +00:00
Eli Barzilay
e03a56995d Welcome to a new PLT day.
svn: r18473
2010-03-05 08:50:27 +00:00
Ryan Culpepper
68c4c11514 macro-debugger:
fixed bug re eval'd top-level forms that cause errors
  fixed bug re lazy phase 1 init and #%top-interaction unwrapping

svn: r18472
2010-03-05 01:40:42 +00:00
Matthew Flatt
62a53f3de7 add 'where/hidden' and 'side-condition/hidden' to redex; adjust typesetting to keep metafunction side conditions in original order
svn: r18471
2010-03-04 23:20:52 +00:00
Sam Tobin-Hochstadt
e703d52b94 fix PR10810
svn: r18470
2010-03-04 21:42:55 +00:00
Stevie Strickland
bf60da75e1 Refactor out new has-contract?/value-contract functionality so that it's
the responsibility of the (higher-order) contract to add the contract
(plus possibly more in the future) to the wrapped value.

svn: r18469
2010-03-04 21:10:44 +00:00
Robby Findler
0d8fbe6d06 made the docs match the implementation
svn: r18468
2010-03-04 19:31:03 +00:00
Robby Findler
2cfd1f423c removed unimplemented stuff
svn: r18467
2010-03-04 17:19:34 +00:00
Robby Findler
6d4a546ca8 tightened up the contract in the docs for key-event%s methods so they limit the symbols to just the legal ones
svn: r18466
2010-03-04 17:14:59 +00:00
Casey Klein
ff0eb1757a Fixed bugs found with random testing.
svn: r18465
2010-03-04 16:37:12 +00:00
Sam Tobin-Hochstadt
80fcee2577 Fix PR 10806.
svn: r18464
2010-03-04 13:45:25 +00:00
Matthew Flatt
82af25486e one more doc fix for PR 10803
svn: r18463
2010-03-04 13:16:46 +00:00
Eli Barzilay
28948c723a typos (most of PR10803)
svn: r18462
2010-03-04 09:08:14 +00:00
Eli Barzilay
d9791aeb26 Welcome to a new PLT day.
svn: r18461
2010-03-04 08:50:35 +00:00
Robby Findler
07f280419a added has-contract? and get-contract
svn: r18460
2010-03-04 03:58:33 +00:00
Casey Klein
cd2fc95d4e Fixes typos in r18451
svn: r18459
2010-03-04 00:14:40 +00:00
Stevie Strickland
5fe0a790c1 Change how contracts for multiple values are handled to be a little cleaner
syntactically.

svn: r18458
2010-03-04 00:04:07 +00:00
Stevie Strickland
f2788561d3 Add the ability to contract more than one value returned from a with-contract
block in expression position.

svn: r18456
2010-03-03 21:54:18 +00:00
Kevin Tew
636526d6f1 Places docs edits
svn: r18455
2010-03-03 21:42:24 +00:00
Robby Findler
6fc4add369 corrected a bug in the docs
svn: r18453
2010-03-03 21:15:13 +00:00
Stevie Strickland
3404c0e27a Factor out _all_ the first-order checks into a single procedure, and rework
that procedure so that you feed it #f instead of a (no longer possible) dummy
blame value for the first-order case.

svn: r18452
2010-03-03 20:49:37 +00:00
Robby Findler
7c1b076ee1 svn: r18451 2010-03-03 19:13:43 +00:00
Jay McCarthy
eec0ff66c6 Adding a custom printer similar to hasheq's for sets
svn: r18450
2010-03-03 18:01:04 +00:00
Robby Findler
16b60586a5 used exact-integer? instead of (and/c exact? integer?)
svn: r18449
2010-03-03 17:41:44 +00:00
Stevie Strickland
77f2555b9c Remove now-redundant object? check in is-a?
svn: r18448
2010-03-03 17:04:41 +00:00
Jay McCarthy
62e077e90d Applying Dave Gurnell's serialization patch
svn: r18447
2010-03-03 16:55:42 +00:00
Robby Findler
a02520d692 tightened up inserts contract
svn: r18446
2010-03-03 16:42:45 +00:00
Robby Findler
71911772c6 fixed a bug found by the random tester
svn: r18445
2010-03-03 16:34:13 +00:00
Mike Sperber
f644aab23e Fix translation typo.
svn: r18444
2010-03-03 14:45:32 +00:00
Stevie Strickland
3fb2e1d9ae Check that we have an object before trying to unwrap it in class-field-*.
svn: r18443
2010-03-03 14:39:44 +00:00
Eli Barzilay
ce23d92a95 Welcome to a new PLT day.
svn: r18441
2010-03-03 08:50:15 +00:00
Ryan Culpepper
cec810a9df syntax/parse:
added parameterized conventions
  fixed description for "str" stxclass
  fixed bug in multiple #:declare directives

svn: r18439
2010-03-03 05:50:15 +00:00
Jay McCarthy
a6214b7731 - Removing planet package installation
- Fixing responsible for DrDr imagined code
- Code reorganization
- Handling environment variables in hash-table and with env
- Removing futures-build
- Cleaning up committer email content

svn: r18434
2010-03-02 20:46:18 +00:00
Sam Tobin-Hochstadt
b020c8dc21 fix some unfortunate bugs
svn: r18433
2010-03-02 20:37:36 +00:00
Casey Klein
d82fdbc317 Improved handling of syntax errors in `reduction-relation'
svn: r18431
2010-03-02 19:00:55 +00:00
Matthew Flatt
fced29e946 fix regexp bug in unicode-category patterns
svn: r18427
2010-03-02 15:09:47 +00:00
Eli Barzilay
620faa9b88 Welcome to a new PLT day.
svn: r18425
2010-03-02 08:50:28 +00:00
Stevie Strickland
f37f81cdb2 Maintain source locations appropriately.
svn: r18422
2010-03-01 23:47:31 +00:00
Sam Tobin-Hochstadt
65b12a2af3 Use `current-contract-region' appropriately.
Maintain source locations.
Fix PR 10776.

svn: r18421
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
3ea26dee84 Re-enable printing
svn: r18420
2010-03-01 22:56:03 +00:00
Sam Tobin-Hochstadt
33db456f9e fix PR 10735
svn: r18419
2010-03-01 22:51:42 +00:00
Sam Tobin-Hochstadt
12257912e3 Fix bug 10763.
svn: r18418
2010-03-01 22:48:11 +00:00
Sam Tobin-Hochstadt
079c430e89 fix doc typo
svn: r18417
2010-03-01 22:32:48 +00:00
Sam Tobin-Hochstadt
78c14e434b Add `with-type' for defintions, add #:result keyword.
Fix contract for top-arr.
Remove static version of printing conditional.
Fix brokenness in print-converting.

svn: r18416
2010-03-01 22:31:24 +00:00
Sam Tobin-Hochstadt
83cdaac011 Allow `path-up' to take multiple paths.
svn: r18415
2010-03-01 21:27:03 +00:00
Sam Tobin-Hochstadt
1c1a2dde38 Fix pconvert of hashtables.
svn: r18414
2010-03-01 20:27:55 +00:00
Carl Eastlund
5165706529 Added an example for current-blame-format.
svn: r18413
2010-03-01 19:58:17 +00:00
Robby Findler
ce57869e4c PR 10791
svn: r18412
2010-03-01 19:28:45 +00:00
Robby Findler
d7f8c62371 fixed immutable boxes and vectors
svn: r18407
2010-03-01 14:47:38 +00:00
Robby Findler
eeb5a8df0a svn: r18404 2010-03-01 12:25:55 +00:00
Eli Barzilay
d90c0e548b Welcome to a new PLT day.
svn: r18403
2010-03-01 08:50:30 +00:00
Matthew Flatt
2d34378d46 add margin ref->guide cross-reference for futures
svn: r18402
2010-03-01 02:33:57 +00:00
Matthew Flatt
2ddfa89a7a add missing doc files
svn: r18401
2010-03-01 01:45:49 +00:00
Matthew Flatt
baf34c0194 fix dist-specs, since separate futures manual is gone
svn: r18398
2010-02-28 22:17:01 +00:00
Matthew Flatt
e71bd71035 enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
2e0e4b8b95 enable parallel futures under Windows (enabled by default)
svn: r18395
2010-02-28 17:12:02 +00:00
Eli Barzilay
bf409d7c5d Welcome to a new PLT day.
svn: r18394
2010-02-28 08:50:27 +00:00
Stevie Strickland
2fe1623e3a Add an initial attempt at illustrating class contracts to the section of
the Guide on classes.

svn: r18393
2010-02-27 22:20:06 +00:00
Stevie Strickland
dd96465208 Okay, finalized initial version of this, which I'll probably go ahead and
merge to trunk.

svn: r18392
2010-02-27 21:32:11 +00:00
Stevie Strickland
75dd3eeb2b Syncing up to get that bugfix on trunk.
svn: r18391
2010-02-27 21:02:36 +00:00
Stevie Strickland
16dbb0edc1 Fix bug in field mutation on contracted objects.
svn: r18390
2010-02-27 20:59:40 +00:00
Stevie Strickland
5dd72c23c8 Checkin of current prose so I can switch to trunk and fix a bug.
svn: r18389
2010-02-27 20:57:14 +00:00
Eli Barzilay
cd076ae512 Fix bad assumption that paths can be turned to require specs (which breaks on
Windows).

svn: r18388
2010-02-27 20:20:25 +00:00
Sam Tobin-Hochstadt
68c46cca9a fix with-types requires on windows
svn: r18387
2010-02-27 19:21:42 +00:00
Stevie Strickland
3f0f5373dd Sync up to trunk.
svn: r18386
2010-02-27 19:16:28 +00:00
Stevie Strickland
54b81b3bdb Fix bug introduced by last commit.
svn: r18385
2010-02-27 18:04:47 +00:00
Stevie Strickland
9f17622e1a Cleanups here, moving some of the other parts to syntax-parse.
svn: r18383
2010-02-27 17:41:43 +00:00
Sam Tobin-Hochstadt
6c4b1234bf remove obsolete doc files
eliminate repeated expansion

svn: r18382
2010-02-27 16:24:22 +00:00
Sam Tobin-Hochstadt
31f0b5e305 Fix tests to use `test-suite' to delay execution.
Move hiding of errors down in stack.

svn: r18381
2010-02-27 15:07:45 +00:00
Robby Findler
92f9725593 added support for showing the phases to the module browser you get from the Scheme menu
svn: r18380
2010-02-27 12:59:19 +00:00
Robby Findler
183823033a added an underlined M to the Module Browser menu item in the Scheme menu
svn: r18379
2010-02-27 12:46:40 +00:00
Robby Findler
78dc617a14 PR 10786
svn: r18378
2010-02-27 12:40:38 +00:00
Eli Barzilay
508b2ca269 Welcome to a new PLT day.
svn: r18377
2010-02-27 08:50:29 +00:00
Matthew Flatt
2caaf05ca6 doc addition and prose tweaks
svn: r18376
2010-02-27 03:40:15 +00:00
Stevie Strickland
8e3a67936e Add `unregister-type'
Add type regions.
Untyped lexical vars not an internal error.

svn: r18374
2010-02-27 01:26:16 +00:00
Stevie Strickland
0900b6c2e3 Fix use of defform*/subs.
svn: r18373
2010-02-27 01:18:17 +00:00
Stevie Strickland
7dacfaea85 Add with-contract for expression positions.
svn: r18372
2010-02-27 01:05:03 +00:00
Stevie Strickland
e54f1c3a5e scheme/contract => scheme/contract/base
svn: r18371
2010-02-27 01:03:55 +00:00
Stevie Strickland
9dafea226e Keeping unfinished guide stuff here, will merge to trunk once done.
svn: r18370
2010-02-26 23:37:05 +00:00
Jay McCarthy
1f4ab946e1 Removing reliance on SXML and adding little xpath evaluator for xexprs
svn: r18366
2010-02-26 21:16:56 +00:00
Eli Barzilay
d35b0b30cd added batch file trampoline (found by Ben Goetter)
svn: r18365
2010-02-26 21:05:32 +00:00
Sam Tobin-Hochstadt
144a25ffd4 whoops
svn: r18364
2010-02-26 21:04:00 +00:00
Sam Tobin-Hochstadt
d61e50410b fix srfi 19 nanoseconds
svn: r18363
2010-02-26 20:50:35 +00:00
Sam Tobin-Hochstadt
5d3e46bb2f fix no-check
svn: r18362
2010-02-26 20:50:14 +00:00
Sam Tobin-Hochstadt
21d0dfcf09 use new schemeunit
svn: r18361
2010-02-26 20:44:30 +00:00
Jay McCarthy
dd31aa9512 Switching many uses of old Schemeunit to new
svn: r18360
2010-02-26 20:39:56 +00:00
Jay McCarthy
b12c65cca9 Only warn when a planet package is already installed. (It is not an error.)
svn: r18359
2010-02-26 20:21:56 +00:00
Stevie Strickland
4b67d441e7 Forgot to document set-field!, which came in with cc-phase2.
svn: r18358
2010-02-26 20:04:26 +00:00
Sam Tobin-Hochstadt
d06b3ed1df add inst to no-check
svn: r18357
2010-02-26 19:59:40 +00:00
Matthew Flatt
a2bf0d3d25 fix text% insert bug
svn: r18356
2010-02-26 19:50:05 +00:00
Matthew Flatt
02583a1a08 ad hoc car/cdr optimizations
svn: r18354
2010-02-26 19:14:56 +00:00
Jay McCarthy
488af4f644 - Adding some spacing between buttons
- Unifying responsible computations
- Separate emails by responsible
- Don't send committer email unless new
- Show committer new conditions
- Show new conditions on dir pages
- Adding notification logging to time.ss
- Making the front page look cleaner
- Hiding changed files in commit messages by default
- Time.ss now makes sure it runs on every file before quiting
- Improving duration formatting in graphs (from SamTH)

svn: r18352
2010-02-26 18:25:31 +00:00
Sam Tobin-Hochstadt
013b12b19d fix obvious bug pointed out by noel
svn: r18351
2010-02-26 15:15:43 +00:00
Sam Tobin-Hochstadt
2bda690d2d remove error printf for drdr
svn: r18349
2010-02-26 14:37:51 +00:00
Eli Barzilay
32f6302abd Welcome to a new PLT day.
svn: r18347
2010-02-26 08:50:36 +00:00
Robby Findler
700a530f4e PR 10783 addendum
svn: r18346
2010-02-26 03:38:00 +00:00
Sam Tobin-Hochstadt
2e90dfc081 Re-enable typechecking of auto-language.ss
Add `syntax-e' as a path.
Turn on contracts for objects.
Refactor Noel's additions.
Fix `require/typed' at the REPL.

svn: r18345
2010-02-26 00:25:23 +00:00
Sam Tobin-Hochstadt
7accc0bd7d Need to unwrap objects at two other points:
* When the C++ code uses direct access on objects (look for check_valid)
 * In the functions returned by class-field-accessor/mutator

svn: r18344
2010-02-25 23:42:13 +00:00
Matthew Flatt
8dea570071 fix binding of variables when using defproc and MIT-style curry notation
svn: r18343
2010-02-25 22:51:36 +00:00
Ryan Culpepper
6bb3b5f1b6 macro-debugger: another internal error bug
svn: r18342
2010-02-25 22:15:02 +00:00
Robby Findler
ca8459a3a0 changed to schemeunit so the tests can be in a module and so we dont see random values in the printed output
svn: r18341
2010-02-25 21:32:48 +00:00
Robby Findler
39dd21c240 PR 10783
svn: r18340
2010-02-25 20:57:45 +00:00
Jay McCarthy
2c408dbcdd * Allowing for restarting with 'n' on win/defeat
* Disallowing passing on a turn when clicking a cell twice

Patch from Everett Morse, BYU.

svn: r18339
2010-02-25 20:54:24 +00:00
Carl Eastlund
8b93f081bc Renamed make-set{,eq,eqv} to set{,eq,eqv} for uniformity with list, vector, etc.
svn: r18338
2010-02-25 19:46:36 +00:00
Jon Rafkind
2f6c2377f9 fix remq example
svn: r18337
2010-02-25 17:14:58 +00:00
Jay McCarthy
24d76d0e82 Allowing any module path in mutators for the collector
svn: r18336
2010-02-25 16:24:36 +00:00
Robby Findler
f39e8ebe0c exported and documented label-string?
svn: r18335
2010-02-25 13:03:38 +00:00
Noel Welsh
dcb01829a0 Fix order of cases in case-lambda expressions for some unsafe-fx operations.
Add the safe equivalents of the unsafe-fx operations.

svn: r18334
2010-02-25 13:00:55 +00:00
Noel Welsh
3d95ef650c Add types for unsafe fixnum operations. This allows support for some sequences; in particular in-range now works in some cases (though still requires type annotations).
svn: r18333
2010-02-25 11:48:33 +00:00
Eli Barzilay
35255c1415 Welcome to a new PLT day.
svn: r18332
2010-02-25 08:50:34 +00:00
Ryan Culpepper
ea19a1bda3 macro-debugger:
fixed bug re (maybe?) lazy phase 1 initialization
  fixed popup-menu bug in syntax browser
  cleaned up signal mapping

svn: r18331
2010-02-25 02:05:26 +00:00
Stevie Strickland
1f10c4e422 Have external field accessors/mutators just redirect to the old object
themselves.  Also, have all objects carry the prop:unwrap property.

svn: r18330
2010-02-24 23:32:44 +00:00
Robby Findler
3955ef69b4 try to debug new drdr failure
svn: r18329
2010-02-24 21:46:53 +00:00
Ryan Culpepper
e6c4518ae8 macro-debugger:
fixed internal error in reporting internal errors
  made debug files more readable
  fixed wrong ordering of local contexts

svn: r18328
2010-02-24 21:39:16 +00:00
Jay McCarthy
3f4e7c0069 - Adding icons for navigation (from http://momenticons.com/)
- Adding next rev button

svn: r18327
2010-02-24 20:07:54 +00:00
Robby Findler
df049ea35e normalized the output so drdr won't say that this is changing
svn: r18326
2010-02-24 19:46:24 +00:00
Robby Findler
872ace8cd5 added some comments about the new graphs
svn: r18325
2010-02-24 19:01:32 +00:00
Jay McCarthy
7a294ffd7e - Allowing non-UTF8 output to be displayed in some way.
** http://drdr.plt-scheme.org/18034/collects/tests/mzscheme/benchmarks/shootout/mandelbrot-generic.ss
- Adding Robby's new graphing system
- Catching file difference errors
- Handling new files differently

svn: r18324
2010-02-24 18:49:44 +00:00
Robby Findler
2ce01fd5ce PR 10704
svn: r18323
2010-02-24 17:58:59 +00:00
Stevie Strickland
9f9e83b671 Yes, I know that we get different results for how it prints out. This needs
to be fixed.  But for now, I'm commenting this out with a note to myself to
get this fixed.

svn: r18322
2010-02-24 17:46:51 +00:00
Robby Findler
50a6a585b1 fixed some repl-printing related bugs that would make 'write' sensitive to pretty-print's parameters in drscheme's repl
svn: r18321
2010-02-24 17:35:09 +00:00
Stevie Strickland
232db39f54 Sync up to trunk to prepare for the grand merge.
svn: r18319
2010-02-24 16:38:32 +00:00
Stevie Strickland
af0387e3a6 Fuck you, C, and the flea-bitten, mange-covered, syphilis-ridden horse you
rode in on.

svn: r18318
2010-02-24 16:35:30 +00:00
Eli Barzilay
e9c0ba7398 do a post-redirect-get to avoid the usual problems
svn: r18317
2010-02-24 11:15:37 +00:00
Eli Barzilay
38d201cd38 Welcome to a new PLT day.
svn: r18316
2010-02-24 08:50:36 +00:00
Jay McCarthy
25e403156a Adding DrDr source to meta.
svn: r18315
2010-02-24 04:07:08 +00:00
Stevie Strickland
60b6c81f9f Okay, updates to all this crapola. Going to try and see what happens if I
only attach prop:unwrap to wrapped objects.

svn: r18313
2010-02-23 23:56:08 +00:00
Jay McCarthy
587f318cd2 Fixing one use of delay
svn: r18311
2010-02-23 22:33:25 +00:00
Jay McCarthy
652cdcf902 Changing bindings parser on requests to promises.
svn: r18310
2010-02-23 22:29:22 +00:00
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