Commit Graph

30177 Commits

Author SHA1 Message Date
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
Matthew Flatt
7e3ee7105a fix `raco link -l'
Closes PR 13941
2013-07-31 12:09:59 -06:00
Asumu Takikawa
e67f7c9de4 Use asymmetric filters for some evt predicates 2013-07-31 13:22:12 -04:00
Matthew Flatt
15e60c2da1 distro-build: merge and improve package packing and cataloging
Use the `pkg-authors' and `pkg-desc' fields from "info.rkt"
when creating a catalog.

Also add an `archive-catalog' makefile target for assembling
archives (binary for native-library package, source others)
and a catalog in "build/archive".
2013-07-31 07:06:25 -06:00
Matthew Flatt
948ce9c08f Windows: add dependency on "com" native-library package 2013-07-31 07:06:25 -06:00
Matthew Flatt
057bfc2ea1 add pkg-desc' and pkg-authors' to each package
This information will be used to construct a catalog from the
package directories.
2013-07-31 07:06:24 -06:00
Matthew Flatt
fbcc9323d6 responsibility adjustments 2013-07-30 17:43:40 -06:00
Vincent St-Amour
adf9673893 Fix responsible props for shell completion scripts. 2013-07-30 18:36:13 -04:00
Vincent St-Amour
a6dd972289 Update bash completion helper for new package scopes. 2013-07-30 18:36:13 -04:00
Asumu Takikawa
ace226d506 Add more events to the base type environment
Notably the following are not supported yet:
  - `filesystem-change-evt` (likely needs separate base type)
  - `port-progress-evt` (separate type, and how do you handle
      `port-provides-progress-evts?`?)
  - all other events that rely on progress events

Also, the events from racket/port don't work yet due
to a strange bug with bindings that have contracts imported
into TR's base environment
2013-07-30 16:02:50 -04:00
Asumu Takikawa
c911109b55 Several doc fixes for events 2013-07-30 16:02:50 -04:00
Robby Findler
c126a8aaac fix a bug in the way bitmap scaling was being handled 2013-07-30 12:24:48 -05:00
Ryan Culpepper
08fcc0690a fix macro-stepper tests 2013-07-30 13:02:15 -04:00
Ryan Culpepper
a26101c63f added checks to run-tests
Related to PR 13936.
2013-07-30 13:02:12 -04:00
Ryan Culpepper
58f29e7c7a Revert "Add contract for run-tests."
Related to PR 13936.

This reverts commit 032e1ebf55.
2013-07-30 12:08:48 -04:00
Asumu Takikawa
91a015255d Adjust TR and docs for alarm-evt's domain
It was previously non-negative real, but the actual
implementation allows negative inputs. In addition, it's
harder to use the function in TR without a more permissive
type for the domain.
2013-07-30 00:23:25 -04:00
Asumu Takikawa
6c888143e7 Add support for synchronizable events 2013-07-29 20:14:16 -04:00
Robby Findler
71ec424c70 attempt to document when flat contracts are predicates 2013-07-29 12:39:46 -05:00
Matthew Flatt
895b8d2760 configure: fix `--enable-portable-binary' addition 2013-07-29 10:58:16 -06:00