Commit Graph

19612 Commits

Author SHA1 Message Date
Matthias Felleisen
59499b84bd optional limit for number of ticks 2011-07-16 13:59:55 -04:00
Robby Findler
75c1aa5f4d adding teaching language executable creation test case 2011-07-16 09:38:45 -05:00
Matthew Flatt
4307bcace5 fix taint behavior of some syntax operations
`syntax-local-get-shadower' and
 `syntax-make-delta-introducer' both taint their
 results when a given syntax object is tainted
2011-07-16 08:03:54 -06:00
Matthew Flatt
e57b7b9e54 limit build parallelism to 4 on a 32-bit machine
Merge to 5.1.2
2011-07-16 08:03:53 -06:00
Mike Sperber
429c3b0d93 Synch German string constants with latest. 2011-07-16 13:19:00 +02:00
Robby Findler
e4e1792bbe made the htdp lang's executable creation code use the modules that
string->lib-path asks it to use, but for both GUI and non-GUI mode
also refactored that code to move it into a separate file so
  eventually can add a drdr test for it
2011-07-15 21:25:16 -05:00
Robby Findler
9e0a866969 typo 2011-07-15 21:25:14 -05:00
Robby Findler
7993d38e35 fix a bug in the arity checking for contracts 2011-07-15 21:25:10 -05:00
Matthew Flatt
072003f2f4 fix `#lang errortrace'
Since `#lang errortrace' annotates the result of `local-expand',
 it needs to handle `letrec-syntaxes+values', as well as allowing
 `#%expression' in more places.

 This change relies on a change to `kernel-syntax-case'. This
 isn't a new bug, and it's ok to not include it in 5.1.2
 (especially since the `kernel-syntax-case' change should not be
 merged).
2011-07-15 20:17:44 -06:00
Matthew Flatt
0f61d62ea1 fix errortrace
The `eq?'ness of syntax objects used to reconstruct the result
 was broken by disarming. The solution is to reconstruct based
 on the disarmed syntax object instead of the original.

 Merge to 5.1.2.
2011-07-15 20:17:44 -06:00
Matthew Flatt
f40dc87c29 add letrec-syntaxes+values' to kernel-syntax-case'
Do not merge to 5.1.2; the implications for backward
 compatibility are not clear to me.
2011-07-15 20:16:58 -06:00
Matthew Flatt
d718a2b128 fix docs to clarify that `#%expression' appears from local-expand 2011-07-15 20:16:45 -06:00
Matthew Flatt
bed64be873 allow larger font sizes --- up to 1024
It's not clear that any limit is still needed, and probably
 font sizes should be liberalized to reals instead of
 integers (but I don't want to spend that kind of time
 right now).
2011-07-15 19:43:47 -06:00
Matthew Flatt
f288c694db clarification 2011-07-15 19:43:47 -06:00
Ryan Culpepper
91a2e283a6 macro-stepper: disable taint display until correct
Merge to release branch
2011-07-15 14:31:33 -06:00
Kevin Tew
bf4a8ad5c4 create hash codes for place shared objects 2011-07-15 13:06:07 -06:00
Vincent St-Amour
ce32003de2 Make Performance Report work on unsaved editors. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
e07de3947b Have Performance Report work on multi-file programs. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
47f0a36553 Fix when there are no reports in a file. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
5d4d9f2636 Add test for missed opts in multi-file programs. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
f632aa52dd Document Performance Report. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
db9d51fef7 Change the structure of the "extra precision" missed optimizations.
Avoids reports that are almost duplicates.
2011-07-15 15:04:58 -04:00
Vincent St-Amour
c1e7d07586 Fix merging of report-entries. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
93e1e6d710 Fix display of syntax. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
218fdcceb4 Fix highlight removal. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
76d91b4e3d Don't highlight irritants in the main editor. Leads to hard to understand red blobs. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
be67f304a8 Update messages. Irritants are now highlighted, not circled. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
f788f8c4c7 Popup formatting. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
72975a4e1c Use rectangle highlighting instead of ellipses. Works better across multiple lines. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
d7cb6fcc75 Separate each entry into multiple editors, for finer-grained control. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
ac3b487a9f First stab at highlighting irritants in the popup. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
2b9d035045 Add comments. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
baab138252 Fix highlight range and refactor. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
6dda3c3e03 Display code in monospace. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
869df45881 Rewind the canvas to the beginning after inserting text. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
90ae7bc25f Use editor snips to display multiple report in a single popup. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
8e2645a946 Display each opt/missed-opt separately in the tool.
This should make it easier to highlight irritants in the popup.

This required redesigning the report data structures.
2011-07-15 15:04:56 -04:00
Vincent St-Amour
f4c3e51d3b Make a test a bit more complicated. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
ec1dedffbb Reformat message. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
e59a84dc96 Abstract out popup management. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
46b984a94b Use editor locking. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
b42952a2f4 Use auto-wrapping. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
4e3650005a First stab at using a text% to display messages. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
3c91ae012a Add break-lines to unstable/pretty. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
c5d46449b7 Fix new optimization to use the new loggin facilities. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
c1fe25200b Keep located syntax around so we can use it in the tool. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d2a8a620b1 Call locate-stx at the last minute, to avoid overeager duplicate detection. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
34ccf6a3fb Fix new optimization to use new logging. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
4e0b1bfa3c Fix display of code in popup. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
e736653413 Split tool into multiple files. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d3db388c05 Use locate-stx earlier in the logging process, for nicer display in the tool. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
0ce280da89 Display relevant code in pop-up when there's more than one message. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
604e690982 Fix name. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
f02c65dfcc Deal with overlapping opts/missed opts more nicely. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d146f8c590 Report missed fixnum optimizations. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
fbf802e61c Fix tests. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
bfc4ad4225 Add nicer optimization reporting messages. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
d33c13e0f6 Use various shades of pink/red for highlights depending on the badness. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
47af9d51bc Make performance-report state local, to support multiple files at once. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
092df83c18 Have an icon for performance-report. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
9640d2bfbc Fix tests for new log format. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
ff5ca8a234 Handle irritants without source location properly. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
00d23a4535 Add the remaining diagnosis messages. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
975cb7ad9d Rewrite TR logging facilities to play nicely with the DrRacket tool. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
d68267cbfa Have a more useful message for float missed opts. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
5ddfcfba9d Circle irritants. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
a134e4ffb7 Have nicer information to present in pop-ups. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
28f51f7376 Clicking on highlighted regions brings up more information. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
5e5fdb2981 Remove redundant optimization reporting. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
65e56ab387 Remove extra keyword argument. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
8d680ced89 Display larger regions for optimizations. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
2ecec626b3 Remove highlights after editing. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
14be886288 Highlight opts and missed-opts in the editor. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
7f3bb5d017 Pass log struct along with the log messages. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
75f62dbdcc Preserve lines and columns. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
c598ae2048 Switch to using get-port-name. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
27f3eb3870 Report optimizations and missed optimizations with the DrRacket tool.
Currently, that just means showing the text that would be shown on the
command line. Eventually, it should highlight code in the editor, and
have tooltips explaining what happened.
2011-07-15 15:04:51 -04:00
Vincent St-Amour
a71a45e41f Relocate TR logging capture. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
101feb8200 Added a button for the performance report tool when in a typed language. 2011-07-15 15:04:51 -04:00
Matthias Felleisen
6c51155fec adjusted expected error messages to accommodate Stephen's change 2011-07-15 14:50:34 -04:00
Matthias Felleisen
91932033af documented error reporting functions 2011-07-15 12:24:40 -04:00
Matthias Felleisen
562252f589 fixed bug in exception handling for drawing; Closes PR 12044 2011-07-15 12:24:39 -04:00
Robby Findler
9190fbade2 fix bug introduced in recent refactor 2011-07-15 07:10:10 -06:00
Guillaume Marceau
7134d67921 Roll back the "expr -> expression" change in the grammar documentation of the
teaching languages. The extra width was breaking some browsers.
2011-07-15 03:34:59 -04:00
Guillaume Marceau
c31d352f2b Standartize the vocabulary to "the function returns" and "set! mutates" 2011-07-15 03:27:27 -04:00
Robby Findler
00bb92816c cleaned up the generated code for -> and friends 2011-07-14 22:58:12 -06:00
Matthew Flatt
1c4722eaee remove obsolete reference to '#%mred-kernel 2011-07-14 21:32:47 -06:00
Matthew Flatt
5e5172baab fix typo; eliminate "this" as a noun; otherminor improvements 2011-07-14 21:32:47 -06:00
James Swaine
e9460282ac Deleted junk code that was commented out in the futures test suite 2011-07-14 19:44:19 -06:00
James Swaine
32a3828a2e Made continuation-mark-set-first future-safe. Fixed a rarely occurring bug with lightweight continuation capture for futures. 2011-07-14 19:30:52 -06:00
Matthew Flatt
7be0c8236f fix `procedure-reduce-keyword-arity' checking
and clarify need for distinct keywords in parts of the
 documentation
2011-07-14 17:07:18 -06:00
Jon Rafkind
3736571ad0 fix sequences 2011-07-14 16:54:26 -06:00
Jon Rafkind
a29d64b44a enable #lang honu 2011-07-14 16:54:26 -06:00
Jon Rafkind
57a759c383 fix parsing for operators 2011-07-14 16:54:26 -06:00
Vincent St-Amour
937d0ad722 Fix unbalanced curly brackets. 2011-07-14 18:51:13 -04:00
Asumu Takikawa
6c3284a828 Fix a few framework contracts to match code 2011-07-14 18:15:48 -04:00
Eli Barzilay
95f6eb4f3e Use the new `set-port-next-location!' instead of the previous hack.
(But something might still be off -- I thought that its use in readline
would render the whole thing redundant.)
2011-07-14 17:21:46 -04:00
Eli Barzilay
db7f2b4542 Add a new #:dont-re-require-enter' flag for enter!', to avoid
requiring itself into the entered namespace.

This makes it useful in some cases where this require leads to a
dependency cycle, eg (enter! racket/list).  It's obviously not useful
for use as-is, since you will not have a bound `enter!' to get out of
the namespace (and possibly no `require' to get it) -- but it is useful
for meta-tools like xrepl.  This is why the flag is verbose.  `xrepl'
now uses this flag.

Also, the check for valid keywords for the form is now done at runtime
rather than in the macro.  This doesn't matter in this case, since the
form is intended for interactive use anyway.

Also, separate the two parts of `enter-load/use-compiled' (it was
defined curried, but didn't use it).
2011-07-14 17:21:46 -04:00
Eli Barzilay
c544ebfe6c New `xrepl' collection. 2011-07-14 17:21:46 -04:00
Vincent St-Amour
adeef671cd Fix TR tests to use the new contract error message format.
If 7b9b3c371b is included in the release, this should be too.
2011-07-14 17:06:52 -04:00
Vincent St-Amour
111ef109c3 Add vectors to syntax->list. 2011-07-14 17:06:52 -04:00
Eric Dobson
e6030295ff Fix kernel-struct tests in TR. 2011-07-14 17:06:52 -04:00
Eric Dobson
30058a5a24 Document legacy form 'values'. Closes PR1145. 2011-07-14 17:06:52 -04:00
Eric Dobson
27ffe4cb6a Fixes error messages for unsupported provide forms 2011-07-14 17:06:52 -04:00
Eric Dobson
bf72db0f7b Clean up some contract errors and type->contract. Closes PR11756. 2011-07-14 17:06:52 -04:00
Eric Dobson
abc8e514d9 Fixed require typed struct 2011-07-14 17:06:52 -04:00
Eric Dobson
5e08f7a411 Fixes for inference. Closes PR10937. 2011-07-14 17:06:51 -04:00
Eric Dobson
f5e24ba163 Working on improving contracts in TR. 2011-07-14 17:06:51 -04:00
Eric Dobson
8a2c9b4682 TR: Produce better error messages with values. Closes PR11772. 2011-07-14 17:06:51 -04:00
Stephen Bloch
d510f6aecc Corrected signature of scene+line to match examples and actual behavior
(sixth argument can be a pen or color, not just a color).
2011-07-14 16:39:25 -04:00
Stephen Bloch
34f3fac6a5 Corrected the grammar in check-arg and check-result to follow the
English convention of "a" before a consonant and "an" before a vowel.
There will presumably be pathological cases, but this should cover 95%
of the situations.
2011-07-14 13:07:23 -04:00
Stephen Bloch
83fd1e968d Corrected an error message that said it wanted a real, but actually
expected an integer.
2011-07-14 13:01:11 -04:00
Kevin Tew
4d7584d9b7 fix indentation 2011-07-14 10:14:34 -06:00
Kevin Tew
8aca195b35 fix class names 2011-07-14 10:14:33 -06:00
Kevin Tew
a8fd86d780 Fix timeout for place-channel.rkt test 2011-07-14 10:14:33 -06:00
Kevin Tew
4ab64dc4c7 rename jobqueue and workqueue to work-queue 2011-07-14 10:14:33 -06:00
Eli Barzilay
318c4fedfc Shift typo. 2011-07-14 12:13:37 -04:00
Eli Barzilay
69464bba91 Switch tcsh(!) and bash scripts to use /bin/sh.
(Satisfy some 3rd-party packaging linters.)
2011-07-14 12:06:00 -04:00
Matthias Felleisen
40948ee653 sk requested empty scenes with optional background color 2011-07-14 12:03:20 -04:00
Guillaume Marceau
da6e819b6f Fixed some missing links in the documentation. 2011-07-14 01:51:48 -04:00
Guillaume Marceau
793d7894f1 Better fix for the previous bug. 2011-07-14 00:12:47 -04:00
Guillaume Marceau
452f3a14fb Fixed that 'all contracts for primitives print as lists' bug in scribblings/htdp-langs. 2011-07-13 23:52:10 -04:00
Stephen Chang
3f79c37ce6 add make-lazy-proc to lazy stepper skipped fns list 2011-07-13 18:54:45 -04:00
Sam Tobin-Hochstadt
355050acde Docs for racket/kernel 2011-07-13 18:15:51 -04:00
Jon Rafkind
3e96a1e66e parse operators 2011-07-13 16:09:22 -06:00
Jon Rafkind
acb3bce1e7 add function as a macro 2011-07-13 16:09:21 -06:00
Matthias Felleisen
03dc212d61 small edit to doc of atan; Closes PR 12039 2011-07-13 18:00:35 -04:00
Asumu Takikawa
2fdc56db3a Use real contract in bitmap% docs 2011-07-13 15:35:38 -04:00
Vincent St-Amour
cf04739f93 Fix unsafe multiplication. 2011-07-13 12:52:47 -04:00
Matthew Flatt
007614fc9f add gradient transformation to `brush%' 2011-07-13 10:45:19 -06:00
Matthew Flatt
07a9cdd2a8 fix zo-parse of rename tables 2011-07-13 10:45:19 -06:00
Vincent St-Amour
e5314f945e Make index? faster. 2011-07-13 12:07:56 -04:00
Robby Findler
2fb03852b3 fix bad contract 2011-07-13 06:47:20 -06:00
Jon Rafkind
41b66d3fc2 fix requires 2011-07-12 23:21:45 -06:00
Robby Findler
7b9b3c371b adjusted the wording of the contract error messages to move away from <>'s and added more colons 2011-07-12 22:03:07 -06:00
John Clements
b14ac37d99 added automatic parens preference 2011-07-12 12:23:08 -07:00
Jon Rafkind
2737351c4a start new honu implementation 2011-07-12 10:37:23 -06:00
Stephen Bloch
52527d8a95 Fixed some more error messages. 2011-07-12 07:08:47 -04:00
Ryan Culpepper
5a10ef7550 updated docs for struct-type-contract/c 2011-07-11 16:12:27 -06:00
Vincent St-Amour
59a85b3eb2 Add list optimizations. 2011-07-11 15:55:07 -04:00
Vincent St-Amour
79ef8e889e Fix test for new contract error message format. 2011-07-11 15:35:49 -04:00
Vincent St-Amour
427eaca513 Add tests for jitted real->*-flonum. 2011-07-11 14:21:41 -04:00
Stephen Bloch
904ef63ce2 Fixed some more error messages. 2011-07-11 07:25:46 -04:00
Stephen Bloch
d3df33b023 Improved error messages to specify actual argument as well as expected
type.  Still produces one check-error failure because of bug in
make-color.
2011-07-11 07:25:46 -04:00
Matthew Flatt
cc6f3f69ab add `port-set-next-location!'; make prompt read handler use it
Closes PR 12035
2011-07-10 08:36:47 -06:00
Eli Barzilay
ebe9453e73 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
2011-07-10 06:53:44 -04:00
Sam Tobin-Hochstadt
79ed93a925 Add `racket/kernel' as language with very low startup time. 2011-07-09 22:49:50 -04:00
Sam Tobin-Hochstadt
64d42fa0d3 Fix capitalization of HtDP.
Merge to 5.1.2.
2011-07-09 22:49:49 -04:00
Matthew Flatt
b5bb703b48 fix cross reference
Merge to 5.1.2
2011-07-09 20:28:46 -06:00
Matthew Flatt
e765231dad 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
2011-07-09 20:12:59 -06:00
John Clements
35c9bd90ab preserve user origin field... it may be useful 2011-07-09 17:18:13 -07:00
John Clements
3030fd3f4a test-engine now sets current-directory before running tests 2011-07-09 17:17:49 -07:00
John Clements
a1cc083737 preserve origin field 2011-07-09 16:19:16 -07:00
John Clements
9cdeda1e04 added purpose statement to expand-teaching-program 2011-07-09 16:19:16 -07:00
John Clements
592f28382b refactoring, no semantic changes 2011-07-09 16:19:15 -07:00
John Clements
2cebd8f4cb retabbing, dumping a 'local', no longer using parenthesized module form 2011-07-09 16:19:15 -07:00
John Clements
53db721ee9 retabbing only 2011-07-09 16:19:15 -07:00
John Clements
ba82f46a07 retabbing and dead code removal only 2011-07-09 16:19:15 -07:00
Matthew Flatt
3d03e8f884 fix define-primitive' and provide-primitive'
Allow the implement to follow the `define-primitive'
 or `provide-primitive' declaration.
2011-07-09 16:57:56 -06:00
Matthew Flatt
0acf9834f7 make ISL local' and letrec' expand more the old way
That is, force expansion to use a single `letrec',
 instead of a mixture of `let' and `letrec' that an
 internal-definition expansion would now use.
2011-07-09 16:57:09 -06:00
Carl Eastlund
d5b852c386 Updated unit contract tests to not rely on a specific format for names of
blamed modules in contract error messages.
2011-07-09 17:28:04 -04:00
Carl Eastlund
00a6442712 Changed source-location->string and ->prefix to use
path->relative-string/library to produce collection and planet-relative source
names.
2011-07-09 14:48:14 -04:00
Carl Eastlund
b3136095ea Changed default blame formatter to report blame parties relative to collection
and planet directories where appropriate.  Added a test for this behavior.
2011-07-09 14:48:14 -04:00
Carl Eastlund
2e6a608539 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.
2011-07-09 14:46:58 -04:00
Matthew Flatt
584a96a4e0 fix define-primitive' and porvide-primitive' to check binding
Closes PR 12031
2011-07-09 08:54:36 -06:00
Matthew Flatt
8271f7b182 export `step-count?'
Merge to 5.1.2
2011-07-09 08:47:21 -06:00
Matthew Flatt
efd1fa51bd change `find-method/send' back to one result
The 2-result implementation is not needed now that contracts
 are implemented via impersonators
2011-07-09 07:08:32 -06:00
Matthew Flatt
8decf99f34 move error reporting out of `define-syntax-rule' expansion 2011-07-09 06:32:41 -06:00
Matthew Flatt
34a5c400ba remove some macro abuses 2011-07-09 06:16:11 -06:00
Matthew Flatt
121145be73 prune unused imports 2011-07-09 06:16:11 -06:00
Matthew Flatt
089201b49b doc typo fixes 2011-07-09 06:16:10 -06:00
Guillaume Marceau
3815862a81 Remove spurious printf left in 9053f8f9 2011-07-09 01:39:17 -04:00
Guillaume Marceau
9053f8f99b Fixed documentations bugs in scribblings/htdp-langs 2011-07-08 23:34:29 -04:00
Guillaume Marceau
9d465ed298 Adding files missing in the previous commit. 2011-07-08 18:36:24 -04:00
Guillaume Marceau
2c075978fd 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"
2011-07-08 18:23:17 -04:00
Guillaume Marceau
91d5c92415 Little tweaks to the *SL documentation 2011-07-08 18:23:16 -04:00
Guillaume Marceau
ff1ab35a12 Catches another way images prints. 2011-07-08 18:23:15 -04:00
Ryan Culpepper
0aecbf97ff syntax/parse: add expr/c to main module
Merge to release branch
2011-07-08 15:34:59 -06:00
Ryan Culpepper
73230537ba removed merge conflict artifact
Merge to release branch
2011-07-08 15:34:59 -06:00
Robby Findler
fbccf38d50 completed the planet library documentation and, in the process,
cleaned up various dependencies and exports from some of the libraries
2011-07-08 15:51:05 -05:00
Matthew Flatt
b98e1b189a change semantic of internal definitions
and `letrec-syntaxes+values' --- allowing `let' in place
 of `letrec', which in turn lets the compiler optimize
 away location allocation
2011-07-08 14:00:41 -06:00
Matthew Flatt
0e95d49ddb allow more expression reordering, especially unsafe ops 2011-07-08 06:23:29 -06:00
Matthew Flatt
65b1a569a0 add `unsafe-list-{ref,set}'
Use the new functions in `syntax-case'; the benefit is small, and
 it's mostly useful as hint to the optimizer that the operation
 can be dropped if the result isn't used
2011-07-08 06:23:29 -06:00
Matthew Flatt
5e49e0adea improve decompiler handling of syntax object 2011-07-08 06:22:40 -06: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
Matthew Flatt
4905d344dd slideshow/pict: add `rotate'
which requires two new fields in the `child' struct to support
 `lt-find', etc., when child picts are rotated
2011-07-04 16:26:09 -06:00
Matthew Flatt
850b85cbdb add some cross-references 2011-07-04 16:26:09 -06:00
Ryan Culpepper
e38843618d unstable: better ppict-do, absorbed code from pslide 2011-07-03 04:05:03 -06:00
Ryan Culpepper
77a89b8d83 unstable: added ppict, pslide 2011-07-03 02:25:10 -06:00
Ryan Culpepper
5ec2fee90d macro-stepper: more work on syntax tainting 2011-07-02 23:32:02 -06:00
Ryan Culpepper
71a92f2957 macro-stepper: first step to making macro stepper aware of syntax tainting 2011-07-02 23:32:02 -06:00
Stevie Strickland
d3ebf21d97 Fix the unit contract tests due to changes in contract violation reports. 2011-07-03 00:47:58 -04:00
Jay McCarthy
de9aec3051 Allowing paths in big-bang's record? argument and adjusting a test to make use of that feature. It would also be good to allow bitmap to take paths, but that is non-trivial, because of its assumption that non-literal strings are module paths 2011-07-02 20:13:39 -07:00
Matthew Flatt
3dcb19007d protect the expansion of `enter!' 2011-07-02 19:41:27 -06:00
Matthew Flatt
b57cf0134f fix typos 2011-07-02 19:18:11 -06:00
Jay McCarthy
8da2f537fb Another test that is sensitive to the contract error message text 2011-07-02 14:50:24 -07:00
Jay McCarthy
7a602b8864 What are tests for anyway? 2011-07-02 14:47:54 -07:00
Jay McCarthy
439bbc6d8f Another broken test courtesy of refactoring, not testing, and ignoring DrDr. In this case, it seems like the user should not have relied on the function always returning a string (based on the old documentation---not the name, which implies a string comes out), so I've changed the use rather than the function. 2011-07-02 14:34:41 -07:00
Jay McCarthy
8d6827e741 Thank you for breaking tests by a semantics-ignoring Search&Replace and then ignoring that DrDr caught the break. 2011-07-02 14:15:20 -07:00
Jay McCarthy
f55ec3def7 It is very odd that racket/load doesn't let this work 2011-07-02 14:04:52 -07:00
Jay McCarthy
65ebdc4f90 Fixing this test 2011-07-02 14:01:32 -07:00
Jay McCarthy
bd46637210 This test is sensitive to the JIT, it seems 2011-07-02 13:51:31 -07:00
Jay McCarthy
88bf52c88b These tests are sensitive to the contract error messages 2011-07-02 12:19:41 -07:00
Jay McCarthy
14bc3afe90 Increasing timeout based on linear projection 2011-07-02 12:17:01 -07:00
Jay McCarthy
4a9ec78844 Different server path 2011-07-02 11:52:04 -07:00
Jay McCarthy
0896792e23 Showing files by status 2011-07-02 11:52:04 -07:00
Jay McCarthy
984215fd87 A little reformating 2011-07-02 11:52:04 -07:00
Matthias Felleisen
a1c219a068 eliminated superfluous require for-syntax, refactored and cleaned up; fixed bug in test? 2011-07-02 13:34:02 -04:00
Matthew Flatt
8aa4ff1b06 syntax taint repairs 2011-07-02 10:08:15 -06:00
Robby Findler
df6590b80f adjust contract violation message by putting the name at the start of the message. For example, this:
contract violation, expected <(or/c (quote clean) (quote armed) (quote tained))>, given: #f
  contract on wrapped from 'zo-structs, blaming 'no-dep
  contract:
     (->
        any/c
	(listof wrap?)
	(or/c 'clean 'armed 'tained)
	wrapped?)
  at: C:\tmp3.rkt:6.21

becomes this:

wrapped: contract violation, expected <(or/c (quote clean) (quote armed) (quote tained))>, given: #f
  contract from 'zo-structs, blaming 'no-dep
  contract:
     (->
        any/c
        (listof wrap?)
        (or/c 'clean 'armed 'tained)
        wrapped?)
  at: C:\tmp3.rkt:6.21

(apologies if the indenting isn't quite right above; vi messed with it when I tried to paste it in ...)
2011-07-03 00:04:12 +08:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
4da4a2759b New setup/path-to-relative' that supersedes unstable/dirs' and most of
`setup/private/path-utils'.

The API is a little different: instead of getting the alist and the
path, there's a curried function that gets the alist and produces a
function to do the substitutions.
2011-07-02 01:10:38 -04:00
Eli Barzilay
1276568558 Combine two let's into a let*', use some #'s. 2011-07-02 01:10:38 -04:00
Eli Barzilay
f86687de9c Use 'user-collects in `library-relative-directories', since "<user>" by
itself is ambiguous.

(Since this is used in contract messages, this might be a visible
difference; it still seems to me that "<user>" would be confusing.)
2011-07-02 01:10:38 -04:00
Eli Barzilay
6b44974b42 Improvements around uses of the current `unstable/dirs', and
`setup/path-relativize'.

`setup/path-relativize' is freed from a bunch of things that were due to
historical baggage, but some remain.  (Also, update its docs.)
2011-07-02 01:10:38 -04:00
Eli Barzilay
3e755eba11 Misc improvements 2011-07-02 01:10:38 -04:00
Eli Barzilay
226f86d201 Try to improve the tests wrt timeouts and memory limits 2011-07-02 01:10:38 -04:00
Matthew Flatt
98740390fa adapt demodularizer to `compiler/zo-struct' change 2011-07-01 22:46:20 -06:00
Ryan Culpepper
4d38f491ca moved algol60 and honu docs to experimental category
remove empty doc categories
2011-07-01 20:13:52 -06:00
Vincent St-Amour
80bea07d5c Fix typo. 2011-07-01 21:27:04 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
b163edff9b clean up my clumsy first attempt to adapt the web-server languages
for syntax taints
2011-07-01 17:11:16 -06:00
Matthew Flatt
e46a470f8d places fixes: Windows leaks, custodian force-exit, stdio interaction 2011-07-01 14:31:56 -06:00
Vincent St-Amour
27d7ad1e87 Have letrec build unions in canonical form. 2011-07-01 16:06:15 -04:00
Eric Dobson
4439638308 Don't export required bindings with all-defined-out and require/typed.
Closes PR11425.
2011-07-01 16:06:15 -04:00
Carl Eastlund
97642c1cb6 Fixed syntax/parse bug:
Syntax classes with keyword arguments were unintentionally requiring all
arguments at an application site to be in alphabetical order.
Added a test for this fix.
2011-07-01 15:32:34 -04:00
Matthew Flatt
59731368fc add ffi/winapi; use it in mzlib/os
Closes PR 12007
2011-07-01 10:42:17 -06:00
Stevie Strickland
4f761ddb2f Use fold-left instead of map for an example of a nonuniform vararg function.
Fixes PR12014.
2011-07-01 12:00:35 -04:00
Matthew Flatt
dca102a7f1 document place termination better
e.g., the fact that the exit handler is set in a place
2011-07-01 09:30:11 -06:00
Matthew Flatt
3078d5c494 clean up place exit handling
- don't crash on multiple kills or waits
 - allow the OS to reclaim the place thread when it exits on its own
2011-07-01 09:30:11 -06:00
Robby Findler
69b5daa9e6 remove docs tests that no one was interested in 2011-07-01 11:38:09 +08:00
Kevin Tew
c6c1f9d533 Fixed missing bracket 2011-06-30 16:53:45 -06:00
Kevin Tew
7bd4ba9b11 place-dead-evt docs 2011-06-30 15:52:29 -06:00
Matthew Flatt
c8f235ba1c fix `slideshow/code' for datum after multi-line datum
as in
   (a b
      c) d
 or
   (a b
      c) (code:comment "here")
2011-06-30 13:08:28 -06:00
Matthew Flatt
e921f20b6a disable (minimize?) smoothing for `draw-bitmap' in 'unsmoothed mode 2011-06-30 12:25:56 -06:00
Vincent St-Amour
cd34760a33 Add a test case for struct-based match expanders.
Closes PR11617.

Using the taint system, the bug is fixed.
2011-06-30 14:21:52 -04:00
Eric Dobson
e3c4955ac9 Changed order type annotations are processed. Closes PR 11560. 2011-06-30 14:01:47 -04:00
Vincent St-Amour
43efe6adf0 Remove trailing whitespace. 2011-06-30 14:01:47 -04:00
Eric Dobson
b5e4515752 Changed order of imports in require/typed to order written.
Closes PR11193.
2011-06-30 14:01:47 -04:00
Eric Dobson
76a1112df0 Changed define-predicate to use recursive-contract. Closes PR 10939.
Closes PR11504.
2011-06-30 14:01:47 -04:00
Matthew Flatt
9bceb885c7 make sure only one place initializes SSL 2011-06-30 10:53:19 -06:00
Matthew Flatt
d4acf4f07a fix another problem with attempted overflow clean-up 2011-06-30 10:53:19 -06:00
Kevin Tew
c3059f7e82 place-dead-evt 2011-06-30 10:02:21 -06:00
Matthew Flatt
37e4ea497b check for integer overflow in vector reader syntax
Closes PR 12008
2011-06-30 09:46:02 -06:00
Matthew Flatt
e9477c17b4 fix JIT-generated `apply-values' for chaperones
Closes PR 11981
2011-06-30 09:28:07 -06:00
Matthew Flatt
b86e96cf90 fix optimizer bug that reordered past a mutable variable
Closes PR 11987
2011-06-30 09:17:42 -06:00
Matthew Flatt
737a3bd91a fix too-early large-allocation check
Closes PR 12000
2011-06-30 08:56:28 -06:00
Matthew Flatt
69ad39d45c fix `compiler/zo-parse' & co. 2011-06-30 08:24:41 -06:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06:00
Eric Dobson
d0cfebd5b4 Make TR provided struc-infos act like constructors. Closes PR11578.
Closes PR11866.
2011-06-29 17:38:05 -04:00
Eric Dobson
9721409b39 Cleaned up define-struct: and struct:. 2011-06-29 17:38:05 -04:00
Eric Dobson
e87ff268c2 Added legacy support for require/typed and require-typed-struct.
Added FIXME for duplicated code.
2011-06-29 17:38:05 -04:00
Eric Dobson
ecaf5f40a0 Cleaned up define-typed-struct-internal and require/typed.
Also fixed a test for require/typed.
2011-06-29 17:38:05 -04:00
Eric Dobson
f3692eae29 Added support for configurable constructor names in require/typed.
Closes PR11171. Closes PR11194. Closes PR11314.
2011-06-29 17:38:05 -04:00
John Clements
e367f1d0f2 added missing argument to parameter set 2011-06-29 14:35:47 -07:00
John Clements
d81a95ef26 cleanup, tentatively annotating all top-level-vars 2011-06-29 12:44:35 -07:00
John Clements
e88ec555bb added parameter to control STC's debug printout 2011-06-29 12:44:09 -07:00
John Clements
3f50dc7f2c refactored to move test cases into a separate file(s) 2011-06-29 12:42:18 -07:00
John Clements
b1d791a02e renamed stepper-define-struct-hint to stepper-black-box-expr 2011-06-29 10:03:44 -07:00
John Clements
ae9cab6ee0 Updated stepper-syntax property to only permit known & documented stepper properties,
discovered quite a number of strange old errors. Also fixed an
error on setting current-directory when the tab has no directory,
no infrastructure for testing this automatically.
Requires are now handled correctly, except that required bindings aren't treated
as top-level (that is, their reductions are skipped). Should be an easy fix...
2011-06-29 00:32:38 -07:00
John Clements
d839b9fea6 renamed define-struct-hint to black-box-expr, applied to require as well 2011-06-29 00:28:08 -07:00
John Clements
7d782b6fd3 fixed undiscovered bug in reconstruction of let*, added test case too 2011-06-29 00:25:56 -07:00
John Clements
0061218266 added test of let* unwinding, moved shared.rkt unit tests out here 2011-06-29 00:24:02 -07:00
John Clements
673f99417b removed a space 2011-06-28 18:43:04 -07:00
John Clements
2891869371 added tests of require 2011-06-28 18:43:04 -07:00
John Clements
b9a802386e set the current directory based on the tab's get-directory before starting the stepper.
Closes PR 11048
2011-06-28 17:07:12 -07:00
Eli Barzilay
0af236dc2f Add block' to scribble/text', to explicitly ask for an indentation block.
* Lists are now either blocks or splices depending on whether they
  appear inside a block or a splice (default to block).

* Adjusted the docs and a single test where this mattered.

* Change the documentation to be "text.html" and to be titled "text
  generation".
2011-06-28 18:16:07 -04:00
Jay McCarthy
fa77770eac Adding initial value to textarea-input 2011-06-28 08:41:38 -06:00
Jay McCarthy
13ff06aee5 Fixing example from Naurin Zamir 2011-06-28 08:41:38 -06:00
Eli Barzilay
32a1d9a769 Fix some xv-induced binary junk. 2011-06-28 03:07:38 -04:00
Eli Barzilay
78dacef817 Get rid of "defaultly"s. 2011-06-28 02:11:24 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
a38f384a00 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Jay McCarthy
359ac41a45 Updating textarea-input re Shogo 2011-06-27 12:08:20 -06:00
Ryan Culpepper
2cea046fef syntax/parse: report stxclass arity error without ~var form
closes PR 11933
2011-06-27 10:21:12 -06:00
Ryan Culpepper
7517fa948f macro-stepper: another phase-1-init location
related to PR 11938
2011-06-27 10:21:12 -06:00
Ryan Culpepper
3e77a1096f macro-stepper: don't try to remove term when at end of list 2011-06-27 10:21:12 -06:00
Ryan Culpepper
0b47f0b7e2 close current macro stepper frame on Run, Macro Stepper, etc
closes PR 11964
2011-06-27 10:21:12 -06:00
Eric Dobson
a14723f27a Make vector-immutable work like vector. Closes PR 11535. 2011-06-27 11:35:48 -04:00
Mike Sperber
0648d3ceb4 Synch German string constants with latest. 2011-06-26 20:02:39 +02:00
Robby Findler
f93ff4de26 added get-pos/text-dc-location method to editor:basic in framework 2011-06-26 15:49:55 +08:00
Jay McCarthy
b333ed92fd Scary warning text 2011-06-25 12:14:30 -06:00
Robby Findler
da9d4dce32 add some string constants to be used by check syntax 2011-06-25 16:39:29 +08:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Sam Tobin-Hochstadt
f6be5447dd Rename to follow TR naming conventions. 2011-06-24 20:20:53 -04:00
Eric Dobson
e4bb1ba7d9 Documented new types and minor corrections. 2011-06-24 20:10:37 -04:00
Eric Dobson
0f0b9ebc7a TR: Added tests for new identifiers and export type names. 2011-06-24 20:10:37 -04:00
Eric Dobson
b88d85f79a Added types for many miscellaneous operations.
Including Places, Wills, Semaphores, Psuedo-Random-Generators,
Byte-Converters, Loggers, Promises and Structure-Type-Properties.
2011-06-24 20:10:37 -04:00
Eric Dobson
41e23fee69 Add types for evaluation and compilation operations. 2011-06-24 20:10:37 -04:00
Eric Dobson
8a67707353 Added types for security operations. 2011-06-24 20:10:37 -04:00
Eric Dobson
20ed3b8096 Added types for subprocess operations. 2011-06-24 20:10:37 -04:00
Eric Dobson
1a44a82868 Added types for dynamic module access operations. 2011-06-24 20:10:37 -04:00
Eric Dobson
78b68171ea Added types for continuation prompt and mark operations. 2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
19a7a37033 Fix rackunit types to be Any', not Void'. 2011-06-24 18:10:25 -04:00
Sam Tobin-Hochstadt
c658a5687e Provide `with-handlers' from prims.rkt under its real name. 2011-06-24 18:10:25 -04:00
Eric Dobson
ce0f542028 Correctly recreate Scopes. Closes PR 10552. Closes PR 11532. 2011-06-24 16:46:43 -04:00
Jay McCarthy
6abeab42d5 Updating require paths, making tests succeed, and fixing docs 2011-06-24 13:48:41 -06:00
Jay McCarthy
375d6b8497 Initial adding of temporal contract library 2011-06-24 13:48:40 -06:00
Vincent St-Amour
5c77b19416 Fix remove-clickback. 2011-06-24 15:18:31 -04:00
Vincent St-Amour
62ad7846b9 Fix contract for update-type/lexical. 2011-06-24 15:18:31 -04:00
Kevin Tew
508388ed61 Remove define-place from racket/place 2011-06-24 11:12:37 -06:00
Eli Barzilay
a3c21be7f6 Avoid unintended pun. 2011-06-23 18:19:32 -04:00
Eric Dobson
d0d748c55a Corrects types for typed/rackunit. Closes PR 11912.
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 12:19:56 -04:00
Danny Yoo
741361d413 adding example for exns
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 11:54:22 -04:00
Robby Findler
511d48fa5e removed bogus methods from docs (leftovers from when the functionality was in a different place than it currently is (I think))
closes PR 11999
2011-06-23 22:35:18 +08:00
Eric Dobson
4241557543 Change Module-Path to be union type instead of a Base type. Closes PR 11963. 2011-06-23 10:05:36 -04:00
Eli Barzilay
3fad39b53a Try to avoid weird race in windows installer packaging 2011-06-23 05:49:22 -04:00
Eli Barzilay
31c4afd4e9 Fix bogus username 2011-06-23 05:49:22 -04:00
Sam Tobin-Hochstadt
0df00e31d5 Add test for PR 10794. 2011-06-22 17:36:31 -04:00
Asumu Takikawa
122aed8970 Add negate (racket/function) to TR 2011-06-22 16:04:19 -04:00
Asumu Takikawa
cee2509476 TR test for racket/function 2011-06-22 16:04:19 -04:00
Asumu Takikawa
05a5c16231 Add identity (from racket/function) to TR 2011-06-22 16:04:19 -04:00
Asumu Takikawa
cbd0f31800 Fix another GUI typo 2011-06-22 16:04:19 -04:00
Eric Dobson
16ee3376f7 TR: Added more tests for recently typed identifiers. 2011-06-22 15:17:58 -04:00
Eric Dobson
c2a473cba2 Added tests for parameterizations and thread cells. 2011-06-22 15:17:57 -04:00
Eric Dobson
f5a7e73be8 TR: Added some syntax and set tests. 2011-06-22 15:17:57 -04:00
Eric Dobson
f5517367e5 Added tests for filesystem operations, and added public type names. 2011-06-22 15:17:57 -04:00
Eric Dobson
dedd42a9dd Fixed and cleaned up some types. 2011-06-22 15:17:57 -04:00
Eric Dobson
7803aed77b Added types for tcp and udp operations. 2011-06-22 15:17:57 -04:00
Eric Dobson
85b19e9fee Added types for syntax operations. 2011-06-22 15:16:56 -04:00
Eric Dobson
ad247b28b6 Added types for environment and runtime operations. 2011-06-22 15:16:56 -04:00
Eric Dobson
ae26c2173d Added types for file operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
329b209f3b TR: Many small type changes. 2011-06-22 15:16:55 -04:00
Eric Dobson
4f898865fd Added types for namespace and variable reference operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
7102c4dae2 Added types for hash and set operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
469f0a5314 Added types for parameters and parameterization operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
a913a1432d TR: Added Thread Cells and corresponding operations 2011-06-22 15:16:55 -04:00
Eric Dobson
bdf0d13970 Added types for thread operations. Added Custodian type. 2011-06-22 15:16:55 -04:00
Vincent St-Amour
32d80f4c01 Remove duplicate require. 2011-06-22 14:43:42 -04:00
Vincent St-Amour
d946060a13 Fix type of = to only accept 2+ arguments. 2011-06-22 14:32:05 -04:00
Sam Tobin-Hochstadt
7b9cd61cb3 Fix requires/provides of `typed-scheme' language. 2011-06-22 14:28:53 -04:00
Sam Tobin-Hochstadt
9dde2a6d39 Document #% forms. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
d05d54db8e Ignore undocumented exports that are from `racket'. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
2cdf05ad5c Fix type-env-lang to handle require'/provide' better. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
f195b3c689 Remove `SomeSystemPath'. 2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
00f9e6342f Avoid providing renamed identifiers. 2011-06-22 12:40:51 -04:00
Matthias Felleisen
b00b2e318a last world draw shouldn't restore old draw; Closes PR 11994 2011-06-22 10:53:14 -04:00
Matthew Flatt
52825c68a1 fix `codeblock' handling of spaces
for a chunk that also includes newlines
2011-06-22 07:49:15 -06:00
Matthew Flatt
3f95fabf7c add --latex-section' mode to scribble' 2011-06-22 07:49:15 -06:00
Sam Tobin-Hochstadt
9be4b16703 Rename SomeSystemPath to `Path-For-Some-System' 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
d8c972734d Fix missing documentation of alias forms. 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
fbc76a3074 Support additional `provide'. 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
2f274b7892 Include `typed-scheme' language in doc check. 2011-06-21 15:34:50 -04:00
Eric Dobson
0f6fde5003 Fixes TR regexp regression. Closes PR11991. 2011-06-21 15:34:50 -04:00
Jay McCarthy
39aea2e6c1 Clarifying function contracts for s/s/d callers 2011-06-21 13:32:12 -06:00
Matthew Flatt
73f6a2b392 document `scribble' command-line use 2011-06-21 06:45:44 -06:00
Robby Findler
78006b5720 redex: adjust the 'horizontal rule-pict-style so that it doesn't add space after the last rule
extend render-reduction-relation-rules so you can specify rule indicies instead of just
         the names of the rules
2011-06-21 06:32:51 +08:00
Matthew Flatt
3daf61f605 dc clarification on `thread-suspend' 2011-06-20 14:46:14 -06:00
Matthew Flatt
b4e3e065ac gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity 2011-06-20 14:46:14 -06:00
Eli Barzilay
8990177c75 Correction to the small correction 2011-06-20 16:45:33 -04:00
Eli Barzilay
f08ce64e07 Small correction 2011-06-20 15:41:57 -04:00
Matthew Flatt
da2b3f94fb fix initial panel size
so that it doesn't force an enclosing frame to grow
2011-06-20 10:28:56 -06:00
Matthew Flatt
f3da5f7fd8 adjust and document net/url HTTPS support 2011-06-20 08:00:43 -06:00
Eli Barzilay
e74f70393f Hack: make the `net/url' implementation handle both "http" and "https" urls, dispatching to the plain tcp functions or the ssl one.
(See "HACK" comment for a description on how this is done.)
2011-06-20 06:30:09 -04:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Robby Findler
e008fc3399 improved the error messsage for contract violations of preferences:add-callback 2011-06-20 15:09:00 +08:00
Robby Findler
62a337231a added more options into the place-chan-rand test; seems to still (rarely) cause a crash 2011-06-20 05:35:25 +08:00
Matthew Flatt
13da5a79d7 fix dialog modality 2011-06-19 08:22:08 -06:00
Vincent St-Amour
8c5e215876 The format change script should not be run by drdr. 2011-06-18 08:41:20 -04:00
Eli Barzilay
f0691d07cc Switch to racket, clarify no setting for `drdr:command-line'. 2011-06-17 21:56:02 -04:00
Eli Barzilay
661108e777 Make the osx64 build have the right configure flag 2011-06-17 21:56:02 -04:00
Matthew Flatt
f34a31cac9 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
5a5800d513 place-specific low-level "sleep" function
to make racket/gui work right with places (running
 in just one of them) on Mac OS X
2011-06-17 17:03:21 -06:00
Vincent St-Amour
88dafca69f Update test format. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
f9205665e4 Add a section on performance debugging to the TR guide. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
26b909744c Display irritants nicely. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
e8dcee732e Don't merge missed optimizations repeatedly, which artificially increases badness. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc08b4d401 Display badness of missed optimizations. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
9dbca39cfe Use write instead of display for syntax in logs. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
dda1b1c880 Don't keep useless return values around. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
847e4b2e23 Do duplicate detection at the expanded syntax level, instead of the source level. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
866225b659 Adapt the log update script to work on specific files. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fddf189530 Report opts and missed opts in terms of the original programs, not in terms of expanded code. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc25b43293 Add script to update test files to new log formats. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
86efbc8396 Specify opt or missed opt in the TR log format. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
d9256f2b76 Refactoring. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
9f78a92613 Fix test log to use new format. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
1a2080fc97 Handle the case where we would need to merge with multiple children at once. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
e095976c8b Simplify log sorting. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
8d2f66faa6 First attempt at handling missed optimization cascades.
Currently, if missed optimizations a and b are of the same kind, a is caused
by b, and b is caused by c, we merge them into a single miss with cause c.

This works in some cases, but fails in others.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
6de90b7185 Sort irritants by source location. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
c5ca1422a2 Abstract out printing of missed optimization log messages. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
4c31b08554 Put logging code in its own file. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
c54717d557 Have more structure to missed optimizations, for eventual handling of nesting and/or missed optimization cascades. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
6b5095df2d Have multiple irritants for missed optimizations. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
cb706aab9c Change log message to reflect new behavior. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
f547b99ed5 Remove useless irritant. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
9528f63cf0 Swap miss region and irritant. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
647ae4fe9a Report missed optimizations for unary float operations. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
cc129adb39 Make unary float optimizations less restrictive. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
484fb029f1 Rephrase a missed optimization message. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
a319ba1058 Fix missed-optimization tests to also look for optimization messages. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
e8621f58ea Fix optimization tests to also look for missed-optimization messages. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
28692786b3 Have optimizer test harness look only at log messages that came from the optimizer. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
641dd731ab Fix optimizer test harness to use the new syntax of with-logging-to-port. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
81d6e380da Add a "unique" key to log messages that are sent by the optimizer. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
09015722e3 Use with-logging-to-port from unstable. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
47f48c08ad Revise with-logging-to-port to avoid the extra dummy log entry. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
a2afe2c285 Adapt the optimizer's test harness for the new logging strategy. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
7347da4919 Use racket's logging facilities for the optimizer logs. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
28cbad21b9 Add a directory for optimizer tests that we know fail. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
9ae4f82c0a Sort optimizer logs by source location, to prepare for eventual user consumption. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
5a151420e4 Keep source location around for derived pair optimizations. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
b8b061fb39 Don't print duplicate log entries. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
147032e428 Extra test for precision loss. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
0432ea16cb Add an extra test that checks for non-reporting of false positives. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
b598c4a1eb close-call -> missed-optimization 2011-06-17 18:18:00 -04:00
Vincent St-Amour
c73bc6c918 Report unexpected complex types in arithmetic expressions. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
2a7254a324 Add in-complex-layer?. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
2a4a4e8184 Generalize reporting of wasted precision to arbitrary exact arithmetic expressions. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
ec696f26ae Add an arith-expr syntax class, to simplify parts of the optimizer. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
b64b49b078 Move layer predicates to their own file. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
cd027109c9 Report when exact arithmetic is used inside float expressions, which may make the extra precision useless. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
fb36786c4d Add failing test for nicer reporting of cascades of missed optimizations. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
5d4ef5c624 Add a test case for close-calls on all-real arithmetic expressions. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
89ca99210e Report close calls for pair/mpair optimizations. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
526a84f10b Add extra checks to avoid spurious close call reporting involving integer operations. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
95bf94577c Show irritant for the currently detected close calls. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
0fab9e11ad Revert "Fix optimizer expected log format."
This reverts commit bdf1073f17.

Return that test to the new format, which it was originally written in.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
33962befd4 Made logging format more compact and less ambiguous. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
26cc2cf6dc Add layer predicates. 2011-06-17 18:17:59 -04:00
Vincent St-Amour
7b2c6f5765 First attempt at logging unexpected Real types popping up. 2011-06-17 18:17:58 -04:00
Vincent St-Amour
2e0dd6467a Add support for close-call tests to the TR test harness. 2011-06-17 18:17:58 -04:00
Vincent St-Amour
303e1f7f88 Add logging infrastructure to log close calls. 2011-06-17 18:17:58 -04:00
Matthew Flatt
6f42c6ed5e win32: fix checkable menu item to toggle on selection
Closes PR 11985
2011-06-17 16:02:49 -06:00
Robby Findler
f8f289adc0 fix random place tests 2011-06-18 05:15:36 +08:00
Robby Findler
611a844877 run the place channel random tests 2011-06-18 04:55:27 +08:00
Vincent St-Amour
8f092e8330 These changes break with bad sandboxes.
Revert "Fix interface."
Revert "Add more scribble forms that evaluate code and display the results."

This reverts commit a621eaf041.
This reverts commit 7e9dbded4c.
2011-06-17 15:18:48 -04:00
Sam Tobin-Hochstadt
55a25a825a Disable this test. 2011-06-17 15:17:20 -04:00
Eric Dobson
1348887bd1 Cleaned up base-env. Added comments about untyped identifiers.
Used one-of/c to clean up some types.
2011-06-17 15:17:20 -04:00
Eric Dobson
0671945a8d Moved tests for equality to unit tests 2011-06-17 15:17:20 -04:00
Eric Dobson
b326269133 Moved new TR symbol testing into unit tests. 2011-06-17 15:17:20 -04:00
Eric Dobson
3a13cf0e78 Moved TR string testing to unit tests. 2011-06-17 15:17:20 -04:00
Eric Dobson
feeccc062b Added types for reading and writing operations 2011-06-17 15:17:19 -04:00
Eric Dobson
029651b9ee Added types for regexp operations. Changed Regexp to correspond to regexp?. 2011-06-17 15:17:19 -04:00
Eric Dobson
3e1a95750d Added public names for recently added types 2011-06-17 15:17:19 -04:00
Eric Dobson
6f3bbad367 Added types for I/O operations 2011-06-17 15:17:19 -04:00
Eric Dobson
54a12afb49 Added types and some tests for port operations 2011-06-17 15:17:19 -04:00
Eric Dobson
c77e906c7a Added types and tests for equality operations. 2011-06-17 15:17:19 -04:00
Eric Dobson
2d152bac79 Added types and tests for raising and handling exceptions 2011-06-17 15:17:19 -04:00
Eric Dobson
4ba12dd20e Added types and tests for symbol operations 2011-06-17 15:17:19 -04:00
Eric Dobson
ab23db7b5b Added types and tests for string operations 2011-06-17 15:17:19 -04:00
Vincent St-Amour
a621eaf041 Fix interface. 2011-06-17 14:47:16 -04:00
Vincent St-Amour
7e9dbded4c Add more scribble forms that evaluate code and display the results. 2011-06-17 14:04:38 -04:00
Eli Barzilay
f6620d5754 Close the input port so that the file can be deleted on windows. 2011-06-17 13:19:24 -04:00
Matthew Flatt
7089a17ba2 fix `make-limited-input-port' limit tracking for committed peeks
and make the port thread-safe
2011-06-17 11:14:50 -06:00
Matthew Flatt
b1e47eba45 add `place-message-allowed?' and fix related problems
Closes PR 11983
2011-06-17 10:33:27 -06:00
Matthew Flatt
c7d86ed3a6 mach-o: fix generating embedding executables
aimed at fixing DrRacket startup on Lion
2011-06-17 08:46:09 -06:00
Robby Findler
8e80af6f42 random testing for messages sent over place channels
related to PR 11983
2011-06-17 18:46:59 +08:00
Robby Findler
524d533392 added edit-sequence when flushing the delegate updates 2011-06-17 15:46:52 +08:00
Robby Findler
24d11805ac attempt to try to make the contour window feel faster by delaying the work until nothing has happened for 250 msec 2011-06-17 12:43:14 +08:00
Robby Findler
835762903c if we're highlighting something in the defs window, make sure the window is shown
closes PR 11977
2011-06-17 12:43:09 +08:00
Eli Barzilay
7af058dcb2 Add a subsection on getting github pull requests in the easy way.
(And update some links.)
2011-06-16 21:37:48 -04:00
Eli Barzilay
35e4662b94 Disable drdr for the whole directory. 2011-06-16 21:37:48 -04:00
Danny Yoo
d78fccb75b Fixing the comment-at-end-of-file bug (PR#11982) 2011-06-16 21:37:48 -04:00
Eli Barzilay
768baa5983 Pass around the form name so that an error from the sandbox will show a
more useful error.
2011-06-16 21:37:48 -04:00
Eli Barzilay
d4dec81c91 Switch to `#lang', reformat, and some minor improvements. 2011-06-16 21:37:47 -04:00
Eli Barzilay
43d1c240a1 Add an error message when the sandbox doesn't capture its output as a string. 2011-06-16 21:37:47 -04:00
Eli Barzilay
831b69a146 Add activity graphs from gmane. 2011-06-16 21:37:47 -04:00
Matthew Flatt
523cec90c6 fix JITted multi-valued `begin0' in a single-value context
and generate simpler code for constrained cases, including
 single-value contexts and ignored results

 Closes PR 11979
2011-06-16 18:16:02 -06:00
Vincent St-Amour
26541ffbbd Unify types and filter behavior of not and false?. 2011-06-16 18:08:44 -04:00
Matthew Flatt
c9e98a5f1f Scribble Latex Unicode fixes 2011-06-16 15:06:15 -06:00
Stevie Strickland
477c5acb2a Fix names in test to make them test-specific. 2011-06-16 16:51:38 -04:00
Matthew Flatt
56423f330e `procedure-arity-includes?' reports #f for keyword-requiring procs
by default; a new optional argument restores the old behavior
  (but the default behavior is consistent with the old docs and with
  the vast majority of existing uses)

 The implementation is ugly for performance reasons. A new primitive
  `prop:arity-incomplete' property determines when to return #f for
  `procedure-arity-includes?' in default mode. A nicer implementation
  would be to redefine `procedure-arity-includes?' at the kw-proc level,
  but the bytecode optimizer's and JIT's treatment of the built-in
  `procedure-arity-includes?' is important. The implementation choice
  could be revisited after cross-module inlining is implemented.

 Closes PR 11978
2011-06-16 12:36:16 -06:00
Stevie Strickland
649fe2f276 Fix #%app bindings for `with-contract'-based contract forms.
Closes PR11975.
2011-06-16 14:25:01 -04:00
Danny Yoo
e35e005a1c added example of making an evaluator for interaction 2011-06-16 12:09:55 -04:00
Matthew Flatt
a919062143 support progress evts in result of `make-limited-input-port'
and also adjust initial position in various port constructions
 to use `file-position' instead of `port-next-location'
2011-06-16 09:18:47 -06:00
Matthew Flatt
83d002a9aa fix interaction of `port-commit-peeked' and port positions
--- includes a small hack to the `make-input-port' protocol
     to specially handle a byte-string result as "true"
     from the `commit' proc
2011-06-16 08:17:14 -06:00
Matthew Flatt
80bd949531 add mode to arc' in dc-path%' to support right/bottom alignment 2011-06-16 08:17:14 -06:00
Matthew Flatt
c5b94831e4 fix colorize' nested inside (linewidth #f ...)' 2011-06-16 08:17:14 -06:00
Sam Tobin-Hochstadt
d5b25eb500 Document match-lambda**' and match[*]/derived' 2011-06-15 18:11:41 -04:00
Sam Tobin-Hochstadt
eaa156554a Add contracts for `Sequenceof' values. 2011-06-15 17:02:09 -04:00
Kevin Tew
4176f093b8 place -> dynamic-place and place-wait return value fixes 2011-06-15 11:09:02 -06:00
Vincent St-Amour
e057e6a857 Optimize in typed regions. 2011-06-15 11:20:51 -04:00
Matthew Flatt
c8999c2541 adjust `racketmodname' to ignore for-label imports
so that `@racketmodname[lazy], for example, typesets correctly
 when `lazy' is imported for-label
2011-06-15 08:23:33 -06:00
Robby Findler
9bf26ef69e add more caching to avoid calling normalize-path so much;
this should affect the test coverage coloring and the stacktrace
arrows/stop-sign window
2011-06-15 16:45:47 +08:00
Robby Findler
b9ff7dc4af thanks, Sam. 2011-06-15 12:52:39 +08:00
Robby Findler
68f34502b8 add a cache to avoid calling normalize-path so often when switching tabs
closes PR 11936
2011-06-15 11:44:25 +08:00
Robby Findler
497172f64e fix typo 2011-06-15 11:02:21 +08:00
Eli Barzilay
c0051518be Fix `{user,group,other}-{read,execute}-bit' (in the docs too).
Make the launcher template copying code try to ensure that all user
access bits are on.
2011-06-14 21:27:36 -04:00
Robby Findler
58b60a6a87 fixed lw-test.rkt test suite 2011-06-15 09:25:50 +08:00
Sam Tobin-Hochstadt
b76819a66e Wrap expected type. Closes PR 11980. 2011-06-14 19:05:16 -04:00
Eli Barzilay
71b8440adb Tweak things a little: make simple-compose*' use simple-compose' when
the first function's arity is 1, avoiding another `call-with-values'.

The difference in timing is in the noise (looks like `call-with-values'
is optimized for an arity-1 receiver), but it seems more in line with
the rest...  Incidentally, it steps around the problem in PR11981.
2011-06-14 19:02:30 -04:00
Eli Barzilay
da1c334f70 Use `apply apply' which is slightly faster for most inputs than using
`list*'.  (And add specialized cases for small inputs.)
2011-06-14 19:02:30 -04:00
Eli Barzilay
be84425bd0 Rewrite compose' and add compose1'.
The new version fixes some problems with the previous one, most notably
it can create a keyworded function when the last input is is keyworded.
`compose1' is a restricted variant that requires single values in the
composed pipeline -- besides being potentially faster (probably more
if/when there is cross module inlining), it has a semantical
justification, similar to the restricting function call arguments to
return single values, with similar robustness benefits.  The
implementation of both is done in a generalized way, and the results can
be faster for both `compose' and `compose1'.  (Not by much -- 20% and
30% resp.)

One thing that it could do is to reduce the resulting arity to match the
last given function.  I didn't do this since it adds a significant
overhead to the result.  (No strong opinion on doing that...)
2011-06-14 19:02:30 -04:00
Eli Barzilay
e80308aa15 Make `test' messages show keyword arguments too. 2011-06-14 19:02:30 -04:00
Eli Barzilay
03a5468e59 Disable drdr runs on `meta/web'.
The problem is that it spits out a warning message on stderr whenever it
can't find a git repository to extract release announcements (from
annotated tags).  Resolving this will require some way to (a) tell drdr
to ignore such output, (b) make it run the code with a $GIT_DIR
environment variable set to the git tree, or (c) make it set some
environment variable so the web build will avoid such messages.  (I
prefer the first most, and the last least.)
2011-06-14 19:02:30 -04:00
Eli Barzilay
80f0d57cdd Revise this comment 2011-06-14 19:02:30 -04:00
Eli Barzilay
45e3c4f4af Fix catching of initial exceptions to happen outside of the sandbox context,
so the error is actually printed instead of swallowed silently.

Also, fix some copy/paste uses of 'make-evaluator instead of
'make-module-evaluator in error messages, and two more in
`make-evaluator*' that lacked a "who" input.
2011-06-14 19:02:30 -04:00
Vincent St-Amour
48bf6f8290 Make type annotations optional for for*/lists: and for*/fold:. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
3ff1a3320a Improve error message for untyped variables that don't come from the original program. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
7a4bd387cc Change examples to use prettier types. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
d43c8fc406 Tidy up TR reference. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
1cf57b893c Add note about optimizing structs to the TR docs. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
e3274a3cf7 Add missing word. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
52e14362b5 Split the TR reference into multiple pages. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
589f42feb1 Reorganize TR docs directory. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
b835e8a75b Add myself to the TR doc author list. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
a1787cede4 Document optionality of type annotations for the for: macros. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
2922821f3c Synthesize annotations for for/lists: if possible. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
f4973ff05e Remove obsolete comment. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
8c92a32cbb Fix bad name. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
a5bccaffe1 Allow omitting type annotation in most of the for: forms. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
ef11f754e5 Fix a typo in Eric Hanchrow's name. 2011-06-14 17:53:26 -04:00
Vincent St-Amour
506980240a Allow omitting type annotation on for/fold:. 2011-06-14 17:53:26 -04:00
Asumu Takikawa
ed590b8ec5 Fix GUI and Reference doc typos 2011-06-13 17:57:21 -04:00
Asumu Takikawa
01a987bf5e Use a real contract instead of imaginary for sleep 2011-06-13 12:09:52 -04:00
Kevin Tew
939f0b1c0b rename place-dynamic to dynamic-place 2011-06-11 15:36:16 -06:00
Matthew Flatt
80c4396dc1 JIT-inline struct type property predicates and accessors 2011-06-11 08:35:34 -07:00
Robby Findler
ecf45ab426 added a missing error check to scribble decoding 2011-06-11 08:58:06 -05:00
Eric Dobson
c7f9a80de8 TR: Changed type of port->list 2011-06-10 17:22:14 -04:00
Ryan Culpepper
5bf4b1c930 moved phase-of-enclosing-module to unstable/syntax
closes PR 11970
2011-06-10 13:22:33 -06:00
Ryan Culpepper
c8a691490a syntax/parse: added literal-set->predicate
closes PR 11968
2011-06-10 13:22:26 -06:00
Ryan Culpepper
d22a16a3c7 fix guide typos
closes PR 10577
2011-06-10 12:55:57 -06:00
Ryan Culpepper
042402b023 fix guide typos
closes PR 10580
2011-06-10 12:55:57 -06:00
Ryan Culpepper
07db4277d1 fix plot documentation (view is image-snip)
closes PR 10857
2011-06-10 12:55:57 -06:00
Kevin Tew
1473b7775f Places: rename place and place/anon 2011-06-10 11:07:01 -06:00
Matthew Flatt
8f6a4c5549 fix file suffix: ".rkt" for module files 2011-06-10 09:36:10 -07:00
Matthew Flatt
460504c852 add #:unless' to for' 2011-06-10 06:21:35 -07:00
Matthew Flatt
bbd98528ba improve docs for `module-lexer' 2011-06-10 06:21:35 -07:00
Kevin Tew
f88c0bbe80 Places: Missed some send receive renames 2011-06-10 06:38:13 -06:00
Kevin Tew
21f7109204 Places: rename send receive to put get 2011-06-09 23:48:55 -06:00
Kevin Tew
dd4ee47ecd Cleanup place-channel benchmark use read-bytes 2011-06-09 23:48:25 -06:00
Vincent St-Amour
d732c12b96 Fix documentation of the for: macros. 2011-06-07 21:15:17 -04:00
Vincent St-Amour
7f55680028 Eta-expand typechecking of literals, to improve performance. 2011-06-07 21:15:17 -04:00
Eric Dobson
44d591b5ba Make sure type environment is only initialized once 2011-06-07 21:15:17 -04:00
Eric Dobson
157481ceda Added check to make sure that safe/unsafe flonumops are the same binding 2011-06-07 21:15:17 -04:00
Eric Dobson
88ce4e281c Base type environment now checks for duplicate types. 2011-06-07 21:15:17 -04:00
Kevin Tew
524b5ca50a Channels compared to dd 2011-06-07 13:53:37 -06:00
Eli Barzilay
40a88b6037 Fix TR docs wrt to `racket/function' change, close evaluators, fix
copy/paste typo in `thunk' docs.
2011-06-07 13:07:46 -04:00
Eli Barzilay
fc1b974cd2 Fix "zo-parse.rkt" wrt the inclusion of `identity' in mzlib/etc, and
switch to racket (making `begin-with-definitions' redundant).
2011-06-07 13:06:13 -04:00
Eli Barzilay
a7aad558a3 Seems that this file is never used, possibly committed by mistake. 2011-06-07 03:42:00 -04:00
Eli Barzilay
313e4e75fc Better section heading 2011-06-07 03:40:13 -04:00
Eli Barzilay
17b6ffa731 Move thunk' from unstable/function' into `racket/function'.
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name.  Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
a70ef57f02 Move identity' from unstable/function' into `racket/function'. 2011-06-07 03:38:06 -04:00
Eli Barzilay
2eb0a94677 Removed a bogus provide and two bogus tests.
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -04:00
Matthew Flatt
0e0426a150 document scheme_enable_garbage_collection() 2011-06-06 20:22:58 -07:00
Eli Barzilay
3f9bc25c5c Remove `eval/require' and many of its one-time uses.
(Cuts the rendering time for unstable by around 50%.)
2011-06-06 09:48:04 -04:00
Eli Barzilay
768a5fd61d Drop mstart' and mend' arguments to `success-choose' -- it's getting
the complete list of submatches anyway, so it can just `caar' and `cdar'
it.
2011-06-06 02:01:27 -04:00
Eli Barzilay
5754312120 Some reformating. The only real change is using `write-bytes' instead
of a `display' in one place.
2011-06-06 02:01:26 -04:00
Eli Barzilay
3ecdd3bc59 Specify what happens on OS X with ;-separated globs.
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.
2011-06-06 02:01:26 -04:00
Robby Findler
a42068a709 fix prose slightly 2011-06-03 20:33:34 -07:00
Robby Findler
5848c1f5a6 add a note about where protected methods fit into our world 2011-06-03 20:09:16 -07:00
Eli Barzilay
045369e3b9 cocoa: fix `get-file' when any extension is allowed 2011-06-03 01:38:40 -04:00
Eli Barzilay
6a1eefe080 Move the captcha generation as a hook to the extra code, since it's a
more proper place.
2011-06-03 00:56:21 -04:00
Eli Barzilay
e9487fb0c7 Make the cocoa file dialogs deal better with ";"-separated globs.
* Note the ugly hack of adding "foo~" for every "foo" suffix.

* Note also that when "*.*" is in the glob list all files should be
  available but it looks like this isn't working yet for some reason.
2011-06-03 00:56:21 -04:00
Eli Barzilay
67d58b9041 Add *.rktl and *.rktd files as drracket files. 2011-06-03 00:56:21 -04:00
Eli Barzilay
093c8ded76 Racketify 2011-06-03 00:56:21 -04:00
Robby Findler
9e36dc8eb3 adding a missing 2htdp/image color => racket/gui color coercion
closes PR 11956
2011-06-02 16:27:09 -07:00
Matthew Flatt
b24c387dde add PLTDISABLEGC environment variable 2011-06-02 16:20:20 -07:00
Matthew Flatt
defae9be11 adjust `struct' expansion for the top level
to allow an expression (such as a property) to refer to bindings
 introduced by the `define-syntaxes' half of the expansion
2011-06-02 16:20:20 -07:00
Vincent St-Amour
1ad63e5da0 Unify doc formatting. 2011-06-02 18:39:32 -04:00
Vincent St-Amour
801354fa4a Add syntax-within? to unstable/syntax. 2011-06-02 18:37:42 -04:00
Vincent St-Amour
bb71f9b66d Fix contract generation for Exact-Rational.
Closes PR11954.
2011-06-02 16:52:46 -04:00
Vincent St-Amour
6de5f48810 Optimize sqr on floats. 2011-06-02 16:49:25 -04:00
Carl Eastlund
c8600f01a1 Added examples to documentation for for/fold/derived, for*/fold/derived,
define-sequence-syntax, and :do-in.
2011-06-02 16:10:23 -04:00
Eli Barzilay
1582f160bc * Make the drracket `default-filters' have a ";"-separated glob for all
patterns instead of one pattern per suffix.  (This was almost never
  used -- only when saving a file that is in text mode.)

* Since this default is the same that the scheme
  mode ("framework/private/scheme.rkt") sets, remove that
  setting.  (Leave it commented in case there's need to have some
  different global default.)  It makes the above default get used when
  saving a scheme-mode file.

* Finally, for some reason the code in "framework/private/finder.rkt"
  was not using these `default-filters' at all for the file open dialog
  in `*get-file'.  (I tracked it back to CVS when the code was written,
  and it was never used.)

  I made it use it now.  This is visible on gtk (and probably on
  windows, not sure what OSX does) in that openning a file would show
  you all files.  After this change, it would show only racket source
  files, but there will be an option to switch the pattern to show all files.

  ** If the previous setup (showing all files) was intentional, it would
     be better to simply change "drracket/private/main.rkt" to add the
     racket source globs before the default.  In that case it might also
     make sense to uncomment the change in scheme.rkt back in, so when
     saving the default is the racket file suffixes (but this sounds
     like a confusing UI).
2011-06-02 10:06:15 -04:00
Eli Barzilay
42fe92cd25 Split the glob patterns on ";", and add them all to the gtk dialog. 2011-06-02 09:33:53 -04:00
Eli Barzilay
ef915d0d3a Add a popup question in case there's a captcha challenge.
See in-code comments for how this is just a rough feature to be used if
needed (and improved when it becomes necessary).  That can just as well
go to the FIXME of using a string constant.
2011-06-01 17:40:25 -04:00
Eli Barzilay
18d40dca3c Use `post-impure-port' to submit the bugreport, and check the resulting
HTTP status for an error code.

If there was an error, then render the HTML like other errors, so the
user can now hit back and try to fix things.
2011-06-01 16:43:50 -04:00
Eli Barzilay
c82d8cea32 Refactor the error handling code, making it more uniform for all error cases. 2011-06-01 16:42:15 -04:00
Vincent St-Amour
c32efa727c Document with-intercepted-logging. 2011-06-01 16:11:11 -04:00
Vincent St-Amour
b71d3cf40c Fix limitations of with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
b86d759b62 Provide with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
fc705c6e29 Implement with-logging-to-port in terms of something more general. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
0538f21274 Make level a keyword argument for with-logging-to-port. 2011-06-01 15:24:15 -04:00
Vincent St-Amour
fe161a780c List known limitations of with-logging-to-port. 2011-06-01 15:20:36 -04:00
Vincent St-Amour
f24f451fd9 Document show-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
b39f21775a Add show-requires, which is friendlier on the eyes than check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
2e3e6822f3 Add documentation for check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
c55c89a31f Fix format string in check-requires. 2011-06-01 14:32:21 -04:00
Carl Eastlund
5582f7591f Replaced an outdated reference to syntax-object->datum with syntax->datum. 2011-06-01 01:47:23 -04:00
Vincent St-Amour
8d96133681 Add with-logging-to-port to unstable. 2011-05-31 19:14:38 -04:00
Eli Barzilay
4276898a67 * Refactor bug-related url construction
* Add captcha url (unused, yet)

* The second argument to `call/input-url' can be a one-argument function
  since the call doesn't send it any headers.

Still needs to be done: check the HTTP response for an error status, and
make it fail as a result (currently it just assumes that any response is
fine, which can change in case of a captcha failure).  Then, add a
captcha challenge if one is found, otherwise ignore.
2011-05-31 17:36:51 -04:00
Robby Findler
b43e956c7b Redex: added to-lw/stx
plus improved the redex docs slightly and Rackety
2011-05-30 21:33:55 -05:00
Matthew Flatt
fbbb30f7b0 try to clarify intent of #:contracts' in defform' 2011-05-30 08:58:11 -06:00
Matthew Flatt
a7ae3b807e fix docs for `multi-in'
because the previous documentation didn't actually define the form;
 the examples were good, but epecting a reader to infer meaning
 from examples wasn't good enough. The use of a `module-path?' contract
 in the old docs wasn't appropriate; contracts apply to values, while
 grammar productions should be used to document syntax constraints.
 Also, `module-path?' was too permissive (only literal strings and
 identifiers are actually allowed), while the actual syntax allows
 either a single path or a sequence.
2011-05-30 08:49:46 -06:00
Matthew Flatt
bbfeb85440 mak argument to `make-immutable-hash' optional 2011-05-30 07:38:57 -06:00
Matthew Flatt
f3e1cf10aa change `hash-count' to take the lock; fix docs 2011-05-30 07:38:57 -06:00
Eli Barzilay
9e9ad2fe38 Improve the generation of bug form fields; add a captcha file for future
use if it becomes necessary.
2011-05-30 05:00:16 -04:00
Robby Findler
060b4e9b32 deinprogramm: tweak files to make scribble happy 2011-05-28 09:02:53 -05:00
Mike Sperber
a94287a076 Document lambda' and define' for DMdA/assignments. 2011-05-28 15:10:01 +02:00
Mike Sperber
c3d4e39630 Add DMdA teachpacks to documentation check.
Also, exclude obsolete DMdA exports from check.
2011-05-28 12:31:20 +02:00
Mike Sperber
a52e59a61b Add alpha-rgb-color contract to teachpack/deinprogramm/image. 2011-05-28 12:31:05 +02:00
Mike Sperber
f2f2784ae7 Add missing documentation for DMdA teachpacks. 2011-05-28 12:29:08 +02:00
Mike Sperber
24961f750c Fix predicate signatures in DMdA.
Use any -> boolean instead of %a -> boolean.
2011-05-28 12:10:51 +02:00
Eli Barzilay
8ef1d1a547 Minor tweak: use full 6 hex digits for all colors to avoid IE bogosity. 2011-05-27 18:41:45 -04:00
Eli Barzilay
7ae13761ce Protect against accidental second use of `set-news-flashes!'. 2011-05-27 18:32:58 -04:00
Eli Barzilay
13b2adc18c Switch the license text from LGPLv2 to LGPLv2.1.
This makes it correspond to the license page we have on downloads that
talks about the "lesser" GPL rather than the "library" one.

Also, change the file name to have a more friendly .txt suffix, and add
some more responsible properties for things in doc/release-notes.
2011-05-27 18:09:55 -04:00
Eli Barzilay
35f2accaf8 Make it possible for the pages to build even when there's no tag to
extract release information from.

(So it's still useful for quick tests.)
2011-05-27 17:53:45 -04:00
Eli Barzilay
c8c7898093 Add release notes pages.
Also get rid of the defunct "chronology" link at the bottom of the
community page.  It was a very old (pre-svn/git) leftover from a time
where that was relevant for people who want to participate.
2011-05-27 17:24:29 -04:00
Robby Findler
62d758ca56 sriblib/autobib: added a keyword argument to generate-bibliography to control the name of the section 2011-05-27 07:32:20 -05:00
Eli Barzilay
ad6d703225 Forgot to add the git extraction code. 2011-05-27 04:28:30 -04:00
Eli Barzilay
56820287ac Extract tag information from a git repo instead of manually specified
version/date pairs.

Also switch to using `release' structs instead of version strings.
2011-05-27 03:53:14 -04:00
Eli Barzilay
7fcbb2eb96 Fix subtle spacing issue below the short code sample section. 2011-05-27 03:53:13 -04:00
Eli Barzilay
b148010cf2 Fold in the old versions/dates into the old techreports, freeing
download/data.rkt to pull information from the git repo.
2011-05-27 03:53:13 -04:00
Eli Barzilay
8bacaebd49 "Complicate" the captcha. 2011-05-27 03:53:13 -04:00
Eli Barzilay
220e0f6d5e Improve code layout in code.rkt, move `pre' out of there.
Also improve the news-flash thing a little.
2011-05-27 03:53:13 -04:00
Eli Barzilay
15938fa6c2 Move all the old stuff into a separate file.
(This way maybe it'll be harder to bogusly start "improving" it, yet again...)
2011-05-27 03:53:13 -04:00
Eli Barzilay
28bdce5349 Shorten link names at the bottom of download pages. 2011-05-27 03:53:13 -04:00
Eli Barzilay
571b1c3d12 Switch news-flash from a box to a setter hook, some misc style. 2011-05-27 03:53:13 -04:00
John Clements
10cb0e61e2 oops, no match available here 2011-05-26 17:46:05 -07:00
John Clements
53cfbd27c1 fix to string to fulfill contract on empty input 2011-05-26 14:50:35 -07:00
Vincent St-Amour
2c470ee82a Tests for multi-in. 2011-05-26 13:53:31 -04:00
Vincent St-Amour
48b5725b2e Document extension to multi-in. 2011-05-26 11:56:31 -04:00
Vincent St-Amour
3210aa6014 Extend multi-in to deal with more general trees. 2011-05-26 11:56:31 -04:00
Vincent St-Amour
c3da0babb7 sub-in -> multi-in 2011-05-26 11:56:31 -04:00
Matthew Flatt
c0811dc220 cocoa: fix get-y' in frame%' 2011-05-26 07:29:09 -06:00
Asumu Takikawa
f4aab53efa Added option/c for possibly #f values in unstable. 2011-05-26 00:37:06 -04:00
Asumu Takikawa
7f143f03ed Add impersonator-contract? along with docs/tests.
The impersonator-contract? function checks if its argument is
a contract that is neither flat nor a chaperone contract.
2011-05-26 00:37:05 -04:00
Asumu Takikawa
78689098eb Fix docs on editor-snip% init arg 2011-05-25 23:39:38 -04:00
Asumu Takikawa
9922062c2d Make guibuilder preview work and Racketize 2011-05-25 23:39:37 -04:00
Asumu Takikawa
3e3e7362ef Fix bug in toolbar class in guibuilder 2011-05-25 23:39:37 -04:00
Robby Findler
d74810a08b fix broken earlier commit 2011-05-25 14:57:04 -05:00
Matthias Felleisen
e3c552b785 boolean-valued functions in Intermediate and up now check their results; also fixed some error messages; Closes PR 11745 2011-05-25 14:05:45 -04:00
Robby Findler
33e68022db make the two-argument version of redex-match use the right name for the procedure it returns 2011-05-25 12:45:06 -05:00
Tony Garnock-Jones
c888222fb6 Property accessors are now able to accept 1 or 2 arguments 2011-05-25 10:47:59 -04:00
Matthew Flatt
c54355482f fix GUI builder due to `pasteboard%' change way back
- the `insert' method of `pasteboard%' was always
   documented as inserting to the back by default, but the
   old C++ implementation actually inserted at the front for
   one of the overloadings; keeping the releatively new
   behavior supports more recent code at the expense of old
   code, and this commit is for old code
2011-05-25 07:32:48 -06:00
Matthew Flatt
909aaddf3d protect against nested snip deletes in `pasteboard%' 2011-05-25 07:32:47 -06:00
Matthew Flatt
e7d2cb73d9 doc formatting fixes 2011-05-25 07:32:47 -06:00
Jay McCarthy
d4417fab46 Adding a few index entries 2011-05-25 06:33:04 -06:00
Matthew Flatt
8f0921a9bd add shortcut to expand R6RS letrec' of procedures to Racket letrec' 2011-05-25 03:10:13 -06:00
Vincent St-Amour
c7d2f13dd0 Preserve source location in the optimizer. 2011-05-24 16:53:53 -04:00
Vincent St-Amour
5352593bf1 Have TR optimize at the REPL. 2011-05-24 16:53:53 -04:00
Vincent St-Amour
2cddccfe7e Improve docs for sub-in. 2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
7615c2a512 Implementation, documentation and tests for adding a failure-result to property accessor procedures. 2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
9ce0f9d29e Minor cleanup of documentation for make-impersonator-property. 2011-05-24 16:53:52 -04:00
Matthew Flatt
5c5e6039df gtk: fix self X-selection handling 2011-05-24 13:22:01 -06:00
Matthew Flatt
f46edbe1ff fix doc typo 2011-05-24 12:58:53 -06:00
Matthew Flatt
cc647f0ab9 use container sequence to avoid resize flicker for `text-field%' 2011-05-24 12:58:53 -06:00
John Clements
dcb5e896dd added raise-type-error to date->string, also test case 2011-05-24 10:24:31 -07:00
Casey Klein
e8e2898359 Fixes rendering of relations with `name' patterns 2011-05-24 11:58:54 -05:00
Vincent St-Amour
5e87097854 Document the sub-in require syntax. 2011-05-24 12:40:16 -04:00
Vincent St-Amour
011d43b688 Add require syntax for multiple files in the same directory/collect. 2011-05-24 12:40:09 -04:00
Vincent St-Amour
c5973bea99 Add note about modules vs REPL in performance docs. 2011-05-24 10:57:47 -04:00
Vincent St-Amour
fcf766c905 Prune dead code from Honu.
Approved by Jon Rafkind.
2011-05-24 10:57:31 -04:00
Matthew Flatt
00e17ab51f adjust Guide to warn about performance measurement in DrRacket 2011-05-24 08:02:09 -06:00
Matthew Flatt
22702a70bd typo 2011-05-24 06:28:54 -06:00
Matthew Flatt
23777f291c avoid flock() under Solaris 2011-05-24 06:18:40 -06:00
Eli Barzilay
31009166d7 Make it possible to hook up a "newsflash" below the left blurb. 2011-05-23 14:05:13 -04:00
Eli Barzilay
7f6733b617 Go down boxes too. 2011-05-23 14:05:13 -04:00
Vincent St-Amour
7b0f64de72 Don't run TR integration tests during nightly builds. 2011-05-23 13:58:28 -04:00
Stephen Chang
b4ab1bb093 fix bug in lazy stepper handling of cyclic lists 2011-05-22 01:54:46 -04:00
Jay McCarthy
291ee08736 Adding scriblib/bibtex. 2011-05-21 10:10:05 -06:00
Jay McCarthy
0332a09d10 First pass 2011-05-21 10:10:05 -06:00
Jay McCarthy
dc639df1da Parsing 2011-05-21 10:10:04 -06:00
Jay McCarthy
12f5994191 Parsing 2011-05-21 10:10:04 -06:00
Jay McCarthy
996a0366f8 Parsing 2011-05-21 10:10:04 -06:00
Jay McCarthy
eb55bc9a86 Progress 2011-05-21 10:10:04 -06:00
Jay McCarthy
5fd6f0663e Worked too long on this today 2011-05-21 10:10:04 -06:00
Jay McCarthy
e8d3ce3f3f Initial bibtex fakery 2011-05-21 10:10:03 -06:00
Robby Findler
040bd371b6 adjust the lw construction in Redex so that it uses the width of the
"canonical" way to write symbols, instead of the way they are displayed.
This makes a difference for symbols that have spaces in them or symbols
that, when displayed, look like numbers or other non-symbol things.
2011-05-20 21:52:09 -05:00
Robby Findler
ce3e46b71a fix a bug in the planet packaging code that could result in the documentation not being included 2011-05-20 10:13:45 -05:00
Eli Barzilay
f4b9b785b7 Change htdp' to a package to include doc/htdp'. 2011-05-20 04:49:09 -04:00
Matthew Flatt
4b9d88cc1d fix `sequence->stream'
Closes PR 11932
2011-05-19 15:59:08 -07:00
Robby Findler
6bc43306ca fix two format string mixup bugs (one in planet and one in the racket/cmdline library) 2011-05-19 17:52:09 -05:00
Matthew Flatt
7060fa5b75 fix problems with `letrec' splitting and constant procedures 2011-05-19 15:15:01 -07:00
Kevin Tew
518f20142c 11930 bug fix: added missing scheme_seal_parameters call 2011-05-19 11:48:23 -06:00
Matthew Flatt
b44f217cdd fix 'exact-chars Latex rendering for `multiarg-element' 2011-05-19 06:36:54 -07:00
Matthew Flatt
b6445880e2 add pre-multiplied mode for `{get,set}-argb-pixels' 2011-05-18 16:01:33 -07:00
Vincent St-Amour
006d5ef45a Typo. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
3b036388d6 Remove trailing whitespace. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
a1fab6ec06 Give more meaningful names to conditional contract forms. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
027947eef2 Use more descriptive variable names. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
c02071b262 Reduce the number of hygiene violations in rep-utils.rkt.
Beginning of an attempt to make that file comprehensible.
2011-05-18 17:09:44 -04:00
Robby Findler
91f5fbcd88 added a test case for PR 11930 2011-05-18 10:05:39 -05:00
Matthew Flatt
905eb11651 fix alpha-only mode of `get-argb-pixels'
Closes PR 11927
2011-05-17 16:00:36 -07:00
Vincent St-Amour
b65054134a Fix TR documentation to use the new location of base env files. 2011-05-17 18:30:54 -04:00
Vincent St-Amour
bc4a7df94d Better solution to the toplevel printing bug. 2011-05-17 18:30:53 -04:00
Eric Dobson
9a65545814 Path manipulation now works with SomeSystemPath correctly. 2011-05-17 18:03:48 -04:00
Eric Dobson
05af2b9e17 Split Path type into Path and OtherSystemPath. 2011-05-17 18:03:48 -04:00
Vincent St-Amour
8f6d3c7920 Avoid printing results of tests when eliminating if branches at the toplevel.
Closes PR 11928.
2011-05-17 17:47:21 -04:00
Vincent St-Amour
1ed0e84791 Move base environment files to their own subdirectory. 2011-05-17 15:16:18 -04:00
Jay McCarthy
7a8278ab2c Fixes pr11915, but alpha seems to need two Ctrl-Cs before it starts animating, not sure why 2011-05-17 11:52:15 -06:00
Robby Findler
df6be6e7f1 Adjust the menubar sizing code to explicitly take
into account the size of the dummy menu item that
was added.
  related to PR 11926
  related to PR 11893
  related to PR 11623
  related to PR 11917
2011-05-17 11:02:26 -05:00
Asumu Takikawa
47db06ac6f round -> ceiling in paint-by-numbers 2011-05-16 21:12:17 -04:00
Robby Findler
4d4a94a38a removed EoPL from the language dialog (and adjust the docs a little
to suggest using the #lang variant)
2011-05-16 16:49:02 -05:00
Sam Tobin-Hochstadt
c2291e049d Add types for some of `syntax/stx'
Add hacked types for `with-syntax' internals.
2011-05-16 14:55:17 -04:00
Sam Tobin-Hochstadt
744d1921d8 Remove duplicate definitions; reprovide from `racket/private/stx' instead. 2011-05-16 14:55:17 -04:00
Sam Tobin-Hochstadt
18e83f2f3b Fix result contract of `stx->list'. 2011-05-16 14:55:17 -04:00
Vincent St-Amour
bdf1073f17 Fix optimizer expected log format.
Optimizer log format was changed on a different branch, and this test
was written using that new format, which is not recognized on current
master.
2011-05-16 14:23:24 -04:00
Vincent St-Amour
4cd0ad4b1a Coerce reals in float expressions when valid. 2011-05-16 11:44:35 -04:00
Vincent St-Amour
e64ba228e8 Have the TR test harness skip emacs unsaved file backups. 2011-05-16 11:44:35 -04:00
Robby Findler
71770ee285 one more collection-path => collection-file-path in scribble 2011-05-16 06:51:25 -05:00
Sam Tobin-Hochstadt
e92af62ca0 Add contract generation for Set type. 2011-05-15 22:53:20 -04:00
Robby Findler
7b3039d22d an attempt to fix the 'toolbar buttons are wrong on initialization' bug in drracket 2011-05-15 21:48:21 -05:00
Matthew Flatt
66178570b6 scribble: add support for setting a document date
in Latex output, and also document and generalize
 the 'pretitle paragraph style
2011-05-15 19:42:22 -06:00
Matthew Flatt
479e8cdc27 fix arity errors detected by optimizer 2011-05-15 19:42:22 -06:00
Robby Findler
a82ae17ca8 adjust the htdp teachpack docs to use the #:use-sources keyword to demonstrate how it works 2011-05-14 20:47:38 -05:00
Matthias Felleisen
7c546d3b7c basic docs for htdp collection 2011-05-14 13:58:18 -04:00
Matthias Felleisen
490c38ee25 documentation for old teachpacks, stubs for error module, redirect for Kathy's testing module; fixes for redirects 2011-05-14 13:58:17 -04:00
Matthew Flatt
94e8419a2e fix "#lang r6rs" docs to point back to how-to-use-R6RS sections 2011-05-14 08:05:56 -06:00
Matthew Flatt
2e367626b5 win32: fix pango font-map finalization 2011-05-13 14:06:54 -06:00
Matthew Flatt
450c66d308 fix MysterX for places 2011-05-13 14:06:53 -06:00
Matthew Flatt
343568fd84 fix return type of scheme_get_place_table() 2011-05-13 14:06:52 -06:00
Matthew Flatt
a613e81fcd change protocol for extensions with places
- extension gets scheme_initialize() per-place
 - simplify allocation and fix locking for scheme_new_type()
 - better Inside docs on places
2011-05-13 14:06:51 -06:00
Matthias Felleisen
84cb649b87 removed pair? from language primitives so that HTDP works; Closes PR 10148 2011-05-13 12:55:45 -04:00
Matthias Felleisen
02512706b1 supply missing documentation 2011-05-13 12:55:44 -04:00
Matthias Felleisen
df05a41ebd turn into reasonable performance test 2011-05-13 12:55:44 -04:00
Matthew Flatt
49aadc599a ffi: add `#:in-original-place?' to deal with thread-unsafe libs
and use it for Pango, which is not thread-safe at the C level
2011-05-13 08:55:04 -06:00
Matthew Flatt
c5816ab6f9 fix doc typo 2011-05-13 08:55:03 -06:00
Robby Findler
0a0445692b fix search path problem in scribble 2011-05-13 09:05:25 -05:00
Eli Barzilay
387b6c51dd Added Mac OS X build for x86_64.
(Thanks to Stephen De Gabrielle <stephen.degabrielle at acm dot org>.)
2011-05-12 20:09:39 -04:00
Stephen Bloch
7597d2c2c6 Fixed a typo that crashed the nightly build :-( 2011-05-12 13:10:22 -04:00
Kevin Tew
c9c02f3fb0 duplicate and cycle detection for places_deserialize_worker 2011-05-12 08:28:47 -06:00
Stephen Bloch
79778e0a1e Added some illegal-argument tests to map-image.rkt.
Added test cases for these to map-image-bsl-tests.rkt.
Modified an error message from colorize, and its test cases.
Added map-image/extra and build-image/extra functions.
2011-05-12 00:51:02 -04:00
Robby Findler
1db3ae3476 fixed up printing ~s vs ~a in contract system and made the contract tests run in drdr 2011-05-11 21:20:04 -05:00
Robby Findler
c163e75023 make the generated name used for languages (introduced by define-language
and define-extended-language) be based on the name of the language so the
error message is better (but not as good as it should be)
2011-05-11 18:38:10 -05:00
Ryan Culpepper
761a4025ca fix warnings 2011-05-11 15:56:24 -06:00
Ryan Culpepper
56bb28dfc6 unstable/syntax: added explode-module-path-index 2011-05-11 15:56:24 -06:00
Ryan Culpepper
dc0138bcb7 minor doc fix (optional args last) 2011-05-11 15:56:24 -06:00
Matthew Flatt
8492f7c90b fix symbol handling in long-message transfer
as well as stack-overflow handling
2011-05-11 15:04:59 -06:00
Kevin Tew
2bc97ccf59 setup: change made to making
Much easier a change than I was imagining.
2011-05-11 12:14:36 -06:00
Eli Barzilay
7918d921ee Fix documentation for `cycle'.
Closes PR 11040.
2011-05-11 13:54:18 -04:00
Jon Rafkind
3b73fa1462 lower -> faster 2011-05-10 21:56:13 -06:00
Matthew Flatt
4671b5f2ba fix `scribble/lncs' docs 2011-05-10 20:34:28 -06:00
Matthew Flatt
515a4f7991 cocoa: fix problems using menu-bar height 2011-05-10 20:17:47 -06:00
Ryan Culpepper
b45b111960 rackunit: don't assume raised value is exn
Closes PR 11632
2011-05-10 18:17:21 -06:00
Ryan Culpepper
f6b73f01e1 rackunit: drop redundant 'params info, use error-display-handler
Closes PR 11618
2011-05-10 18:17:21 -06:00
Jon Rafkind
c11a177009 add notes about using racket/base instead of racket. closes pr 10992 2011-05-10 18:18:00 -06:00
Robby Findler
1b838cf85a add c:x;t as a keybinding for the latex shortcuts
closes PR 11871
2011-05-10 15:34:47 -05:00
Robby Findler
a1217107b2 added the scribble/lncs language 2011-05-10 14:10:28 -05:00
Robby Findler
c5f8add9ea avoid eval-compile-time-part-of-top-level when in the module language
Thanks to Ryan for spotting this call!
  Closes PR 11908
2011-05-10 14:10:28 -05:00
Matthew Flatt
0011f5957d fix rotation problems and sense of `transform'-like operations
so that they conceptually apply after the current
 transformation, instead of before the current transformation;
 more general rotation problems were related to aligned drawing
 and the calculation of the effective scale for alignment
2011-05-10 09:53:49 -06:00
Matthew Flatt
dc7e8ef379 slideshow: improve viewer inset handling 2011-05-10 09:53:49 -06:00
Matthew Flatt
2e93e0ec14 cocoa: fix frame coordinate system by using initial menu-bar height 2011-05-10 09:53:48 -06:00
Kevin Tew
94d92092a5 deep copy stack overflow check 2011-05-10 06:37:39 -06:00
Matthias Felleisen
b74c9f9df3 ensure that dimensions of canvas are below 2000 by 2000; closes PR 11907 2011-05-09 17:59:23 -04:00
Robby Findler
0e58a37105 fixed up a test (that I hadn't meant to push the last time, sigh) 2011-05-09 15:34:01 -05:00