Commit Graph

18756 Commits

Author SHA1 Message Date
Guillaume Marceau
fd6d7de506 Better fix for the previous bug.
(cherry picked from commit 793d7894f1)
2011-07-14 17:29:08 -04:00
Guillaume Marceau
72a81a7c12 Fixed that 'all contracts for primitives print as lists' bug in scribblings/htdp-langs.
(cherry picked from commit 452f3a14fb)
2011-07-14 17:29:02 -04:00
Matthias Felleisen
7f7618dd07 small edit to doc of atan; Closes PR 12039
(cherry picked from commit 03dc212d61)
2011-07-14 17:23:57 -04:00
Asumu Takikawa
60f3e79bb8 Use real contract in bitmap% docs
(cherry picked from commit 2fdc56db3a)
2011-07-14 17:23:55 -04:00
Robby Findler
95ed19b91f fix bad contract
(cherry picked from commit 2fb03852b3)
2011-07-14 17:23:44 -04:00
Stephen Bloch
4f794fe496 Fixed some more error messages.
(cherry picked from commit 52527d8a95)
2011-07-14 17:23:38 -04:00
Ryan Culpepper
289e82b0b7 updated docs for struct-type-contract/c
(cherry picked from commit 5a10ef7550)
2011-07-11 23:13:49 -04:00
Vincent St-Amour
6ca28bc60c Fix test for new contract error message format.
(cherry picked from commit 79ef8e889e)
2011-07-11 23:13:45 -04:00
Vincent St-Amour
73fb46b42b Add tests for jitted real->*-flonum.
(cherry picked from commit 427eaca513)
2011-07-11 23:13:39 -04:00
Stephen Bloch
097df98b3d Fixed some more error messages.
(cherry picked from commit 904ef63ce2)
2011-07-11 23:13:26 -04:00
Stephen Bloch
ede736ff84 Improved error messages to specify actual argument as well as expected
type.  Still produces one check-error failure because of bug in
make-color.
(cherry picked from commit d3df33b023)
2011-07-11 23:13:22 -04:00
Eli Barzilay
2490b0711c Fix the path relative functions to return a string for a path input,
clarify the documentation, add a few tests.

Fixes pr 12032
Fixes pr 12034
(cherry picked from commit ebe9453e73)
2011-07-11 21:30:18 -04:00
Sam Tobin-Hochstadt
177fff49e6 Fix capitalization of HtDP.
Merge to 5.1.2.
(cherry picked from commit 64d42fa0d3)
2011-07-11 21:30:16 -04:00
Matthew Flatt
64cac3e13c fix cross reference
Merge to 5.1.2
(cherry picked from commit b5bb703b48)
2011-07-11 21:30:13 -04:00
Matthew Flatt
94770d3a08 fix hash-ref' bugs on immutable eq?'-based tables
There were two:
   * new: after finding a hash code, the key wasn't
          always checked to be `eq?' to the desired key
   * old: the hash code wan't downshifted by 2, so
          changes in the low two bits (like when a pair
          is determined to start a list) could break
          lookup

 Merge to 5.1.2
(cherry picked from commit e765231dad)
2011-07-11 21:30:11 -04:00
Carl Eastlund
d7fcd2f149 Updated unit contract tests to not rely on a specific format for names of
blamed modules in contract error messages.
(cherry picked from commit d5b852c386)
2011-07-11 21:30:00 -04:00
Carl Eastlund
6d79e54a4d Changed source-location->string and ->prefix to use
path->relative-string/library to produce collection and planet-relative source
names.
(cherry picked from commit 00a6442712)
2011-07-11 21:29:58 -04:00
Carl Eastlund
18e9e79aa0 Changed default blame formatter to report blame parties relative to collection
and planet directories where appropriate.  Added a test for this behavior.
(cherry picked from commit b3136095ea)
2011-07-11 21:29:56 -04:00
Carl Eastlund
0911365403 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.
(cherry picked from commit 2e6a608539)
2011-07-11 21:29:54 -04:00
Matthew Flatt
6bbfbad6a7 export `step-count?'
Merge to 5.1.2
(cherry picked from commit 8271f7b182)
2011-07-11 14:56:24 -04:00
Guillaume Marceau
020469a716 Remove spurious printf left in 9053f8f9
(cherry picked from commit 3815862a81)
2011-07-11 14:55:55 -04:00
Guillaume Marceau
ec279b706e Fixed documentations bugs in scribblings/htdp-langs
(cherry picked from commit 9053f8f99b)
2011-07-11 14:55:51 -04:00
Guillaume Marceau
ec185e6072 Adding files missing in the previous commit.
(cherry picked from commit 9d465ed298)
2011-07-11 14:55:46 -04:00
Guillaume Marceau
cd153042db Merged htdp-lib.scblr and teachpacks/error-composition.scrbl into htdp/htdp.scrbl,
to form a single manual titled "Implementing HtDP Teachpacks, Libraries, and
Customized Teaching Languages"
(cherry picked from commit 2c075978fd)
2011-07-11 14:55:27 -04:00
Guillaume Marceau
ae6cf4da07 Little tweaks to the *SL documentation
(cherry picked from commit 91d5c92415)
2011-07-11 14:55:23 -04:00
Guillaume Marceau
f468769a75 Catches another way images prints.
(cherry picked from commit ff1ab35a12)
2011-07-11 14:55:20 -04:00
Ryan Culpepper
4fbf087e17 syntax/parse: add expr/c to main module
Merge to release branch
(cherry picked from commit 0aecbf97ff)
2011-07-11 14:55:13 -04:00
Ryan Culpepper
fe3ee8cbc5 removed merge conflict artifact
Merge to release branch
(cherry picked from commit 73230537ba)
2011-07-11 14:55:10 -04:00
Kevin Tew
5d66e52fcc Add identifier? check to place macro 2011-07-07 16:56:23 -06:00
Ryan Culpepper
8ebda770a6 restored Getting Started link 2011-07-07 14:00:22 -06:00
Ryan Culpepper
e66275c3f5 moved typed racket docs up within section 2011-07-07 14:00:22 -06:00
Ryan Culpepper
3b707c1e54 rackunit: fix require/expose to work on variable-like macros
(eg struct names, names w/ contracts, etc)
2011-07-07 14:00:22 -06:00
Matthew Flatt
9bee07b7c0 fix debugger for syntax taints 2011-07-07 13:38:14 -06:00
Kevin Tew
68d49e9f59 Add assertions to place-channel tests 2011-07-07 12:38:20 -06:00
Sam Tobin-Hochstadt
49444460d5 Add types for `check-in-{port,bytes,bytes-lines}'. 2011-07-07 14:24:28 -04:00
Sam Tobin-Hochstadt
e972c0c392 Have DrDr keep ignoring the random seeds. 2011-07-07 14:24:28 -04:00
Matthew Flatt
2840e2367b fix ASL `(begin0)' error message 2011-07-07 10:57:04 -06:00
Matthew Flatt
917d190877 more consistent *SL primitive descriptions 2011-07-07 10:45:43 -06:00
Matthew Flatt
6c3360c716 fix formating of duplicated syntax descriptions 2011-07-07 10:45:43 -06:00
Matthew Flatt
e1b02e08f7 generalize `defform' & co. to better support abstraction 2011-07-07 10:45:43 -06:00
Vincent St-Amour
50974440f4 Fix test to avoid differences in printing. 2011-07-07 11:41:59 -04:00
Matthew Flatt
1dd7aa5889 avoid unnecessary syntax object 2011-07-07 07:25:48 -06:00
Matthew Flatt
e783d84268 move checking code out of macro expansion 2011-07-07 07:25:48 -06:00
Matthew Flatt
5bc8b67eba fix decompile of define-values-for-syntax 2011-07-07 07:25:48 -06:00
Matthias Felleisen
3a3de9c23d better title in preperation for merging with Guillaume 2011-07-07 09:19:44 -04:00
John Clements
77a31dc2af fix a stepper bug related to recent change to handling of module-level defines 2011-07-06 23:22:29 -07:00
Matthias Felleisen
4698e94127 providing a name for tick handler, Closes PR 12027 2011-07-06 23:09:27 -04:00
Eli Barzilay
4475d12169 Rephrase some of the (meta) wording, reformat, fix some scribble-isms, etc. 2011-07-06 18:53:48 -04:00
Vincent St-Amour
0494e16d4f Fix tests. 2011-07-06 18:34:14 -04:00
Vincent St-Amour
4947090191 Fix benchmark to reflect changes to flvector ops types. 2011-07-06 18:32:47 -04:00
Vincent St-Amour
2e6b518c95 Add an extra test for partial bounds checking elimination. 2011-07-06 18:09:35 -04:00
Vincent St-Amour
a7459c5ee7 Do partial bounds checking elimination for flvector operations. 2011-07-06 18:09:31 -04:00
Vincent St-Amour
7debd46621 Recognize multiple argument types for flvector accessors.
With only Integer possible as type for the index argument, Integer was
used as expected type, and any information we had about the argument
(sign, range, etc.) was lost.
2011-07-06 18:09:31 -04:00
Vincent St-Amour
d75d6c7ee4 Move flvector types with other indexing functions. 2011-07-06 18:09:30 -04:00
Vincent St-Amour
60f3074ccd Do the impersonator? check up front. 2011-07-06 18:09:30 -04:00
Vincent St-Amour
979545a90f First stab at optimizing bounds checking. 2011-07-06 18:09:29 -04:00
Ryan Culpepper
714166a062 unstable/gui/ppict: added tile placer, updated todo 2011-07-06 15:31:08 -06:00
Ryan Culpepper
a34821ea4f unstable/gui/ppict:
added #:set, #:alt to ppict-do
  added ppict-do-state
  added at-find-pict
  added tag-pict
  updated to slideshow changes
  changed placer rep, added merge-refpoints
2011-07-06 15:31:08 -06:00
Ryan Culpepper
1f7165df16 unstable/gui/ppict: added abs-x, abs-y placer args, changed grid to 1-based 2011-07-06 15:31:08 -06:00
Ryan Culpepper
d246a0bcc1 unstable/gui/ppict: added cascade placer 2011-07-06 15:31:08 -06:00
Ryan Culpepper
1a16173bf1 fixed doc typos 2011-07-06 15:31:08 -06:00
Jay McCarthy
c7126ae628 Typo in formlet docs 2011-07-06 15:24:15 -06:00
Jay McCarthy
57aa7149c1 Typo in formlet docs 2011-07-06 15:23:40 -06:00
Jay McCarthy
4c276ea010 Attempting to fix a very brittle test case 2011-07-06 15:21:39 -06:00
Matthew Flatt
6b4b95c569 fix `unsafe-struct-{ref,set}' for chaperones 2011-07-06 15:08:41 -06:00
Matthew Flatt
edb02aec97 slightly faster method sends
by using just `object-ref' instead of `object?' plus `object-ref'
2011-07-06 14:00:51 -06:00
Kevin Tew
36e3679854 Scheme_Place_Object is now under gc control, multiple places can wait on a place channel. 2011-07-06 13:27:50 -06:00
Matthew Flatt
ff49859c80 git: fix "&" and "_" handling in labels 2011-07-06 09:54:57 -06:00
Matthew Flatt
de54efc84e cocoa: fix "&" handling in menu-item labels
Closes PR 12025
2011-07-06 09:54:41 -06:00
Matthew Flatt
d8352d5890 allow lists of pre-content to `decode-content', etc.
and improve docs for `scribble/decode'
2011-07-06 09:07:19 -06:00
Guillaume Marceau
dc6378f7a2 Adds a research paper section to the error message composition guidelines. 2011-07-06 08:48:26 -04:00
Guillaume Marceau
c287519cc0 Updated the expected errors messages in the tests to match the new vocab. 2011-07-06 08:47:15 -04:00
Eli Barzilay
0ee3aef9cb Redo some of the ".ss" -> ".rkt" conversion that were undone in the last push. 2011-07-06 06:21:49 -04:00
Guillaume Marceau
9706920055 Updated the error messages of the world and universe teachpacks. 2011-07-06 05:35:27 -04:00
Guillaume Marceau
aa9dbd21f5 Updated the error message of check-expect. Fine tuning of the error messages. 2011-07-06 05:35:25 -04:00
Guillaume Marceau
eedab060ba Updated teachpack documentation for the new vocabulary. 2011-07-06 05:35:17 -04:00
Guillaume Marceau
ca2de63f9e Added the error message composition guidelines to the teachpack documentation. 2011-07-06 00:28:55 -04:00
Guillaume Marceau
6fc14b269d The rewriting machanism no longer inserts with-handler everywhere. 2011-07-06 00:28:45 -04:00
Guillaume Marceau
01b9bde7fa The documentation for htdp-lang now uses the new vocabulary. 2011-07-06 00:27:28 -04:00
Guillaume Marceau
6eea5b1793 The new error messages now pass the tests/language-test.rkt suite
(except for contract runtime error messages in levels higher than
 beginner.)
2011-07-06 00:19:26 -04:00
Guillaume Marceau
f858b8bb5c Htdp no longer throws exceptions that have no source information 2011-07-06 00:19:24 -04:00
Guillaume Marceau
79589b9b9f The htdp test suite now checks that the correct error messages are thrown. 2011-07-06 00:19:22 -04:00
Guillaume Marceau
2f3da4c4cd Changed the wording of BSL error messages 2011-07-05 17:57:19 -04:00
Guillaume Marceau
103474a5f5 Implemented struct colored-error-message struct and colored-format 2011-07-05 17:57:18 -04:00
Vincent St-Amour
6da4835a14 Fix props. 2011-07-05 16:28:51 -04:00
Vincent St-Amour
867f1e9097 Fix syntax test harness to work with compiled tests. 2011-07-05 16:28:25 -04:00
Vincent St-Amour
669523477a Add a test suite for the syntax collect. 2011-07-05 15:06:24 -04:00
Eric Dobson
b25ee81d79 Changed TR test to use struct with struct info instead of HTDP struct. 2011-07-05 11:25:11 -04:00
Eric Dobson
805e1fb309 Correctly require/typed structs with parents. Closes PR11509. 2011-07-05 11:25:10 -04:00
Eric Dobson
07910253b4 Fixes build-struct-expand-info to create correct struct info.
Adds a check to struct-info? to make sure selectors
and mutators are the same length. Closes PR12017.
2011-07-05 11:25:10 -04:00
Eric Dobson
a9655c04dd Provides better error message for PR 11889. 2011-07-05 11:25:10 -04:00
Eric Dobson
0b76178138 Fix typechecking of call-with-values. Closes PR11709. 2011-07-05 11:25:10 -04:00
Eric Dobson
5493e17538 Fix match to not use apply and work with TR. 2011-07-05 11:25:10 -04:00
Eric Dobson
046d476970 Add types for kernel struct constructors. 2011-07-05 11:25:10 -04:00
Eric Dobson
fc8ed9772a Added srclocs to errors raised by match. 2011-07-05 11:25:10 -04:00
Matthew Flatt
5d06476cb3 scribble: clarify intent of `#:use-sources' 2011-07-05 07:03:26 -06:00
Matthew Flatt
1daa2649f0 another fix for `vector-{ref,set!}' on chaperone/impersonator
--- fixes a81917a2692; drop this commit if that one is dropped
2011-07-05 06:29:32 -06:00
Matthew Flatt
a7deb516f7 minor doc style corrections 2011-07-04 16:48:25 -06:00
Matthew Flatt
67e5b3d364 fix import collision
--- probably due to the addition of `identity' to `scheme[/gui]',
 but the test file should require `scheme/gui/base'
2011-07-04 16:39:36 -06:00
Matthew Flatt
e3b8997fb8 fix test
which is sensitive to details of the documentation of `->'
2011-07-04 16:35:38 -06:00