Commit Graph

18224 Commits

Author SHA1 Message Date
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
Matthew Flatt
ca16f25cf1 fix in-list' to check argument with list?'
--- originally left out on purpose for performance reasons,
     but it was not documented as missing a test, it's obviously
     better to check for a list, and JIT changes have made
     the `list?' test inexpensive
2011-05-09 14:27:45 -06:00
Matthew Flatt
8ad8d5b7f7 fix tl-map parse & marshal 2011-05-09 12:24:05 -06:00
Matthew Flatt
a4da2a3f4c fix varref' in compiler/zo-structs', etc.
and sync docs better with implementation
2011-05-09 09:43:32 -06:00
Robby Findler
553d9ff4c6 made set/c preserve flat-contract'ness of its argument 2011-05-09 08:49:12 -05:00
Robby Findler
e41deb5cf6 more help collection documentation 2011-05-09 08:49:11 -05:00
Robby Findler
b6fc13b9eb a start on the help docs 2011-05-09 08:49:11 -05:00
Robby Findler
f60f23496d added a drracket test 2011-05-08 22:30:24 -05:00
Robby Findler
e88f86efe4 a start on the scribble/lncs language 2011-05-08 22:19:46 -05:00
Matthew Flatt
db75dddf87 fix decompiler's listing of captured top- and module-level variables 2011-05-08 17:01:23 -06:00
Matthew Flatt
02c2c173f2 Prevent #\uFFFF and #\uFFFE from being passed through to Pango
Closes PR 11904
2011-05-08 17:01:23 -06:00
Sam Tobin-Hochstadt
27aa3f7556 Add type for `error-display-handler' 2011-05-08 15:36:48 -04:00
Sam Tobin-Hochstadt
2f3e9fc655 Add types for `in-hash' etc. 2011-05-08 15:36:48 -04:00
Matthew Flatt
153d23ecf0 adjust sandbox memory-limit test timeout 2011-05-08 06:26:04 -06:00
Casey Klein
cafcb47549 Refactored reduction-relation-procs 2011-05-08 06:19:45 -05:00
Casey Klein
dd58b457a9 Fixes domain checking of unioned reduction relations 2011-05-08 05:04:16 -05:00
Robby Findler
33c848fcda added current-cache-all?, a parameter that controls the caching strategy
that apply-reduction-relation* (and thus test-->>) uses
also make apply-reduction-relation* call remove-duplicates
  on the result of apply-reduction-relation
2011-05-07 20:06:38 -05:00
Robby Findler
70b0eb8ac9 make raco setup call raise-user-error instead of error when reporting malformed command-line collection paths 2011-05-06 17:29:06 -05:00
Robby Findler
2fe1c3b80d document the help collection's top-level modules 2011-05-06 17:29:03 -05:00
Eli Barzilay
8ce2ec7580 Fix permissions on Windows.
The windows 7 build generated some weird permission issues: the toplevel
directory had a 000 permission as well as all *.exe files.  Looks like
it is due to how cygwin translates the permissions of the C:\ drive.  A
way to get around this is to have a build directory with pre-set
permissions that cygwin likes, then have the build directory in it.

(This hack might be needed for the other build machine too at some point
in the future.)

Also add /c/Windows/system32 to the PATH, otherwise MS batch files fail
(with obscure errors).
2011-05-06 14:46:39 -04:00
Eric Dobson
e9683e1dd2 Changed early failure in subtyping to all non-struct values, not just null. Closes PR 11887. 2011-05-06 11:39:01 -04:00
Matthew Flatt
e9721058fb reorgnize datatypes of less common bytecode forms
removing a layer of indirection, and setting up
 for an internal reorganization of the compiler code
2011-05-06 06:56:23 -06:00
Sam Tobin-Hochstadt
af56616fc8 Require numeric-predicates at the correct phase.
Closes PR 11897.
2011-05-05 19:04:38 -04:00
Sam Tobin-Hochstadt
507db7e5a6 Include extra-procs in the #:use-sources. 2011-05-05 19:04:38 -04:00
Vincent St-Amour
d7fd2b2e3f Add extra early failure cases to subtype* to avoid inference failures. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
4b03ecde2a Integrate the TR and TR optimizer test suites. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
4ea9b29d12 Remove redundant checks from TR's optimizer tests.
Checking that the optimized and non-optimized versions return the same
results is unnecessary. Optimization logs, which are checked against
an expected log, already contain the results.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
7b6edb452f Rewrite the optimizer test suite to use rackunit. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
fa016ea576 Keep running TR tests even if optimizer tests fail. 2011-05-05 18:54:12 -04:00
Vincent St-Amour
850d4d325d Don't display name of non-test files. 2011-05-05 18:54:12 -04:00
Eli Barzilay
b4b490b724 Win64 build should be working now 2011-05-05 18:30:03 -04:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Ryan Culpepper
abb8f63036 syntax/parse: made link to pattern-directive docs more prominent, indexed
Closes PR 11882
2011-05-05 02:17:54 -06:00
Ryan Culpepper
d9f05a61a3 syntax/parse: better error message for unbound literals 2011-05-05 02:17:54 -06:00
Robby Findler
d40b43c0a9 make the deinprogramm documentation drdr messages be accurate
(that is, I think that the complaints coming from the
   tests\deinprogramm\test-docs-complete.rkt message are
   now pointing out things for which there is actually no
   documentation, instead of pointing out the need for
   different declare-exporting declarations)
2011-05-04 18:54:28 -05:00
Robby Findler
d3c04ae701 Adjusted docs-complete to print a different message when there are no docs at all
and ... ummm... documented docs-complete
2011-05-04 18:54:25 -05:00
Robby Findler
0415bf6b7f make (many of) the rackunit examples executable
and fix a buggy example
  closes PR 11894
2011-05-04 14:02:45 -05:00
Matthew Flatt
34b8dc249e fix documented contracts for path functions
and make `cleanse-path' work for any platform's paths
  while fixing `resolve-path' checking to disallow paths
  for other platforms
 Closes PR 11891
2011-05-04 11:40:01 -06:00
Matthew Flatt
5e7d1f2d9c fix get-char-width' and get-char-height' in case font match fails 2011-05-04 11:09:12 -06:00
Casey Klein
4b03ddccb1 Fixes Redex stepper's handling of symbols quoted with || 2011-05-04 10:34:01 -05:00
Casey Klein
3187cac716 Updates to lam's new toplevel-map field 2011-05-03 17:59:52 -05:00
Eric Dobson
f3c73a197e Changed Paths to PathStrings in types where appropriate 2011-05-03 18:20:31 -04:00
Eric Dobson
44f377bcd4 Correctly instantiate poly-dotted functions with zero arguments.
Closes PR 11776. Closes PR 11545.
2011-05-03 18:20:31 -04:00
Eli Barzilay
8313c072ae Work around potential module caching problem. 2011-05-03 18:20:10 -04:00
Eli Barzilay
68cd96ac1a Added two x86_64 debian builds
(Thanks to Mason Loring Bliss <mason at blisses dot org>.)
2011-05-03 18:20:10 -04:00
Eli Barzilay
be6bc96fc8 Use $SETUP_ARGS in the PDF build too. 2011-05-03 18:20:10 -04:00
Eli Barzilay
1f2b072a7b added robby to the collects/net part, and robby+mflatt to the tests 2011-05-03 18:20:09 -04:00
Eli Barzilay
8b48802440 Improved code for `form-urlencoded->alist', should be faster too. 2011-05-03 18:20:09 -04:00
Matthew Flatt
76484e9ead fix docs
Closes PR 11888
2011-05-03 14:43:27 -06:00
Matthew Flatt
87a4132b40 fix zo-marshal' for #f toplevel-map in lam' 2011-05-03 14:43:27 -06:00
Kevin Tew
811154cb08 Indent fix 2011-05-03 14:40:02 -06:00
Kevin Tew
46dc051931 Turn places build back on, provide place-break. 2011-05-03 14:01:30 -06:00
Matthew Flatt
3bf438f580 rewrite `ffi-lib' docs with better guidance on versions 2011-05-03 13:16:21 -06:00
Matthew Flatt
4a41196dc2 win32: work around Pango(?) bug in freeing font maps 2011-05-03 10:23:35 -06:00
Matthew Flatt
6f1aa7bc00 adjust Redex example after bytecode-structure change 2011-05-03 08:53:49 -06:00
Matthew Flatt
2ada6d0e89 break link to namespaces from from closures over top-/module-level vars
- the `lam' structure from `compiler/zo-struct' changed to include a
   `toplevel-map' field

 This change helps solve a finalization problem in `racket/draw',
 which in turn sigificantly reduces the peak memory use of `raco setup'
 during the doc-building phase (because some documents load `racket/draw'
 to render images, and multiple copies of `racket/draw' were retained
 before finalization was fixed).

 The change is an extreme way to solve a specific finalization
 problem, but it's a kind of space-safety improvement; space safety
 almost never matters, but when it does, then working around a lack of
 space safety is practically impossible. In this case, it's not clear
 how to otherwise solve the `racket/draw' finalization problem.

 The improvement doesn't change the representation of closures, but it
 requires special cooperation with the GC. All closures in a module
 continue to share the same array of globals (plus syntax objects);
 that is, instead of completely flat closures, Racket uses a two-level
 environment where top-/module-level variables are grouped
 together. The code half of a closure now records which
 top-/module-level variables the body code actually uses, and the mark
 phase of GC consults this information to retain only parts of the
 top-/module-level environment frame that are actually used by some
 closure (or all of the frame if it is accessible through some other
 route).  In other words, the GC supports a kind of "dependent
 reference" to an array that is indexed by positions into the array
 --- except that the code is more in the "Racket" directory instead of
 the "GC" directory, since it's so specific to the closure
 representation.
2011-05-03 06:57:49 -06:00
Matthew Flatt
1b14c6a38e fix mistakes uncovered by optimizer warnings 2011-05-03 06:57:48 -06:00
Sam Tobin-Hochstadt
045fd7a77c Document utility predicates. 2011-05-03 08:15:37 -04:00
Eric Dobson
613e121783 Struct types now generate flat contracts when appropriate.
Closes PR 11686.
2011-05-03 08:15:37 -04:00
Ryan Culpepper
1bf95392d2 syntax/parse: added litset extension 2011-05-03 01:25:41 -06:00
Ryan Culpepper
e5e12ab01a syntax/parse: added define-syntax-class/specialize 2011-05-02 21:02:11 -06:00
Ryan Culpepper
0a048b67bb syntax/parse: refactored some parsing/checking code 2011-05-02 20:28:51 -06:00
Casey Klein
fd401ce98e Adds docs test to the test script 2011-05-02 06:02:50 -05:00
Casey Klein
b592017d05 Documents or deletes all Redex exports 2011-05-02 06:02:50 -05:00
Casey Klein
4e68a5019f Moved rewriters documentation into typesetting section 2011-05-02 06:02:49 -05:00
Casey Klein
775d31d04a Sets up the right modpaths for Redex exports 2011-05-02 06:02:49 -05:00
Robby Findler
2230605301 add a #:use-sources keyword to deinprogramm docs to get scribble to know about more of the docs 2011-05-02 05:52:59 -05:00
Robby Findler
bc9c44a5af graphics/turtles: fixed up for an 'xor-less world
(and generally brought this code into the current millenium)
2011-05-01 18:27:40 -05:00
Robby Findler
2bba4e101f fixed up the graphics/ collection's docs 2011-05-01 16:57:10 -05:00
Robby Findler
d6ef130fd2 cleaned up framework docs 2011-05-01 14:16:04 -05:00
Robby Findler
551c6866d1 add in the supported ->i forms 2011-05-01 14:15:57 -05:00
Mike Sperber
d582dd55dd Fix bug in vector signatures. 2011-05-01 11:18:10 +02:00
Robby Findler
c8d476c76e adjust scribble's racketblock renderer so that #true and #false
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Carl Eastlund
4990029922 Added documentation for define-renaming. 2011-04-30 20:06:59 -04:00
Carl Eastlund
723d389d59 Singular version of define-renamings. 2011-04-30 20:06:59 -04:00
Carl Eastlund
01f1add1cb Made define-syntax-block less restrictive about source of bindings. 2011-04-30 20:06:59 -04:00
Sam Tobin-Hochstadt
31aa47f136 Fix a couple typos found by mflatt and the optimzer. 2011-04-30 19:49:00 -04:00
Sam Tobin-Hochstadt
db5d59a217 new version of sigplanconf.cls 2011-04-30 19:48:59 -04:00
Jay McCarthy
8708268992 Fixing problems with %is discovered by Casey 2011-04-30 12:02:41 -06:00
Eli Barzilay
1f7ac35d8e v5.1.1 stuff 2011-04-30 02:57:12 -04:00
Robby Findler
a22d370818 fix copy and paste bug (and re-indent a mis-indented line) 2011-04-29 21:11:23 -05:00
Asumu Takikawa
7eb26c5d26 Added test for get-pos/text method result. 2011-04-29 18:56:36 -04:00
Vincent St-Amour
4d24cbee60 Promote more literals at compile-time. 2011-04-29 17:16:39 -04:00
Vincent St-Amour
d9451ef4ab Run optimizer tests in a throw-away namespace to reduce memory usage. 2011-04-29 15:28:30 -04:00
Vincent St-Amour
32a8da58cb More indentation of TR keywords. 2011-04-29 15:28:30 -04:00
Asumu Takikawa
8ea0e5916d Fix horizontal-panel-mixin to use correct interface. 2011-04-29 14:11:22 -04:00
Asumu Takikawa
4b575c315b Fixed inconsistent return values for get-pos/text. 2011-04-29 14:11:21 -04:00
Sam Tobin-Hochstadt
551ad63f4e Document many more numeric types, and fix documentation for `typed/scheme' etc. 2011-04-29 13:27:38 -04:00
Sam Tobin-Hochstadt
e8f07c1dc3 Add more examples for remove', remq', `remv'. 2011-04-29 13:27:38 -04:00