Commit Graph

30195 Commits

Author SHA1 Message Date
Asumu Takikawa
24e55c1faa Doc fixes in htdp/image 2013-08-08 12:49:42 -04:00
Asumu Takikawa
495c70cb61 Doc fixes in 2htdp/image 2013-08-08 12:49:42 -04:00
Robby Findler
a8405eb77d Adjust contract-out so it uses the provide transformer machinery properly
closes PR 13946

This is probably not the optimal way to make this change; better would
have been to refactor the existing provide/contract implementation so
it does not glom the provides all together in the first place (instead
of pulling them out afterwards). Do it this way anyways, because I
have a big pile of contract-system changes in another branch that also
changes around how provide/contract works: this way will be much
easier to rebase those changes off of.
2013-08-07 15:49:08 -05:00
Matthew Flatt
3b76628eb1 adjust `compiler/zo-marshal' for bytecode-file change
Forgot to fix as part of b8db5aacb3.
2013-08-07 08:41:43 -07:00
Matthew Flatt
b8db5aacb3 fix bytecode-format bug
The range of values used to represent "improper lists"
of length 36 to 65 overlapped with the range of values
used to represent other things.

This bug is the new chapion of the "how did we not hit that
earlier?" category. The bug was introduced around v300, at
the latest.
2013-08-07 08:37:50 -07:00
Vincent St-Amour
ed3c2d4e7c Fix guide typo.
Closes PR13955.
2013-08-07 09:43:47 -04:00
Asumu Takikawa
aa0350ad7c Fix mrlib doc typo 2013-08-05 15:13:52 -04:00
Asumu Takikawa
296097c871 Increase DrDr benchmark timeout 2013-08-05 14:23:53 -04:00
Stephen Chang
68cf924000 fix typos in macro guide 2013-08-05 13:47:34 -04:00
Andrey Larionov
87a1506ef4 Update documentation source location link 2013-08-05 10:23:01 -04:00
Robby Findler
e1d22e6b1f fix exit:exit docs
closes PR 13944
2013-08-05 01:11:41 -05:00
Robby Findler
492ddab085 set the background and the foreground color (not just the foreground)
when switching to white-on-black mode (or back).

this causes the cursor in embedded editors to pick up the right colors
(since it is selected by the inverse of the background color of the style
of the enclosing editor snip)

closes PR 13943
2013-08-04 16:28:47 -05:00
Matthew Flatt
de230bc1ef Revert "make user PLaneT install path use installation name instead of version"
This reverts commit ac20e7fc0d.

Using the installation name name seems right, but it creates sandbox
trouble, since finding the instalation name requires several
path-chasing steps. I think the sandbox problem shoudl be fixed,
somehow, but since I don't have a good idea right now, I'm reverting
the PLaneT change.
2013-08-04 10:35:30 -06:00
Matthew Flatt
c67fd14ae8 remove prohibition on handle-evt?' arguments to wrap-evt', etc.
The intent of disallowing `handle-evt?' arguments to `wrap-evt',
`handle-evt', and `chaperone-evt' was that those extra wrappers
break the tail-handling behavior that is almost certainly intended
when `handle-evt' is used. The extra checking was not obviously
worthwhile (we don't have any checked "this procedure should be called
in tail position" annotations, after all), and pushing the distinction
through Typed Racket looked particularly inconvenient.

Dropping the constraint is trivial if we say that wrapping a
`handle-evt' result disables the tail invocation of the handler
procedure.
2013-08-04 10:35:30 -06:00
Ryan Culpepper
4bc24a1117 added nearest below & above to find-seconds error message
Closes PR 13945
2013-08-03 18:20:46 -04:00
Ryan Culpepper
7d2c1c0790 fix exprs field for raise-syntax-error* 2013-08-03 18:20:33 -04:00
Matthew Flatt
df30e9c148 add missing lock acquire 2013-08-03 13:56:18 -06:00
Matthew Flatt
999afcf07f overhaul documentation for the package manager 2013-08-03 12:18:46 -06:00
Matthew Flatt
570f51e942 scribble: fix list splicing for sections 2013-08-03 12:18:46 -06:00
Matthew Flatt
5e0b87a0cd raco pkg {install,remove}: promotion from & demotion to auto-installed
When you `raco pkg install' a package that is already present as
an auto-installed package, the installation is promoted to
an explicitly installed package.

When you `raco pkg remove --demote' a package, then it is changed
from an explicitly installed package to an auto-installed package.
Combine `--demote' with `--auto' to remove a package only
if there are no dependencies, leaving it auto-installed otherwise.

The defaults (promote in the case of `install', not demote in the case
of `remove') are different because it seems more likely that you
really mean to remove a package when using `pkg remove', while it
seems likely that you just want to start using a package that happened
to be auto-installed already for `pkg install'.

Also, make the package scope inferred for `raco pkg' commands
that take a list of package names, and fix up lock handling and
error reporting.
2013-08-03 12:18:46 -06:00
Philippe Meunier
4bbf4c7264 Remove install-pkg-inferred-as duplicate 2013-08-04 01:10:17 +09:00
Mike Sperber
cc51fd9192 Synch German string constants with latest. 2013-08-03 16:52:56 +02:00
Eli Barzilay
6736701e5c Revised installer tests.
* The first change is probably due to a difference in my $LANG, so it
  might be better to set it to a known value for testing.

* The second change in an explanation about a corner case in the
  installer that would be nice to fix, if it's still done in a similar
  way.
2013-08-03 02:22:24 -04:00
Matthew Flatt
e22095ad50 raco planet create: fix scribbling 2013-08-02 14:22:28 -06:00
Matthew Flatt
4492cf2555 fix some tests that need to find `racket' 2013-08-02 14:22:28 -06:00
Matthew Flatt
2a271a55fc add "unstable-test" to "main-distribution-test" 2013-08-02 14:22:27 -06:00
Matthew Flatt
9fc3b03f85 props repairs 2013-08-02 14:22:27 -06:00
Asumu Takikawa
26b7c98356 Eventspace doc fixes and improvements
In particular, using a shut down eventspace actually returns
the exn:fail exception instead of exn:misc, which does not
exist. Example:
  #(struct:exn:fail start in timer%: current eventspace is shutdown:
    #<eventspace> #<continuation-mark-set>)
2013-08-02 15:34:23 -04:00
Matthew Flatt
ac20e7fc0d make user PLaneT install path use installation name instead of version 2013-08-02 11:19:33 -06:00
Matthew Flatt
d63b49ccbb `raco pkg' repair 2013-08-02 11:19:33 -06:00
Matthew Flatt
fa40be83d6 latest "sigplanconf.cls" 2013-08-02 08:25:38 -06:00
Matthew Flatt
8eefa2126b add `current-library-collection-links' parameter
Also, the initial value causes `curent-library-collection-paths'
before collection links files, instead of after.
2013-08-02 08:24:15 -06:00
Asumu Takikawa
1468575c3d Fix a TR internal error 2013-08-01 21:16:31 -04:00
Ryan Culpepper
e0f3876e8c indent multi-line details, export more helpers 2013-08-01 19:11:28 -04:00
Ryan Culpepper
839323ff7c fix test line number 2013-08-01 19:11:28 -04:00
Ryan Culpepper
94c5e5e250 rename raise-misc-error to error* 2013-08-01 19:11:28 -04:00
Ryan Culpepper
30d6863e44 moved raise-syntax-error* to unstable/error 2013-08-01 19:11:28 -04:00
Ryan Culpepper
ed5b0afbac syntax/parse: reformat, add more info to errors 2013-08-01 19:11:28 -04:00
Ryan Culpepper
e20b5a1539 fix multi/maybe detail handling, allow missing who argument 2013-08-01 19:11:28 -04:00
Ryan Culpepper
7b113899d4 syntax/parse: removed unused exn info 2013-08-01 19:11:28 -04:00
Matthew Flatt
1b98359925 raco pkg install: use `--link' by default for directory sources
The new `--copy' flag provides the old behavior.
2013-08-01 07:01:20 -06:00
Matthew Flatt
a6f8f00f55 fix cross-phase-persistent attribute of primitive modules 2013-08-01 05:55:24 -06:00
Matthew Flatt
c71993badd distrobuild/pack-and-collect: multiple authors are space-separated 2013-08-01 05:55:24 -06:00
Asumu Takikawa
992a14ccb5 Add type for in-hash-pairs
Related to PR 13937
2013-08-01 00:18:27 -04:00
Matthew Flatt
e5e6d097be ffi/unsafe/objc: fix selector definition lifting
The code intended to lift each selector only once (per lifting
context) was broken.
2013-07-31 17:28:56 -06:00
Matthew Flatt
c137b44a68 change `syntax-local-lift-context' to distinguish top-level environments
Although not documented as such, the implementation used to return
form did not take the special meaning of #f into account. It seems
better to fix `syntax-local-lift-context' to match its documentation.
2013-07-31 17:28:56 -06:00
Ryan Culpepper
4ef5f513bc keep testing line numbers when compiled 2013-07-31 17:37:42 -04:00
Ryan Culpepper
f5b91941eb fixed hash-code for id-tables
Closes PR 13942.
2013-07-31 17:37:42 -04:00
Ryan Culpepper
2057b51f21 syntax/parse: add "expected more terms" message
Only for proper list patterns; otherwise, "more terms" might be
mischaracterization.
2013-07-31 17:37:15 -04:00
Asumu Takikawa
d3c3726628 Document require/typed more precisely 2013-07-31 16:47:01 -04:00