Commit Graph

29727 Commits

Author SHA1 Message Date
Matthew Flatt
4fd8d8c213 distro-build/installer-exe: fix name convention 2013-06-30 06:41:36 -06:00
Robby Findler
ee780a20b4 adjust hole structs to print better while still
preserving proper equality

fix 1384d2d277
2013-06-30 05:21:36 -05:00
Robby Findler
a8731609f1 fix broken test 2013-06-30 05:06:46 -05:00
Max New
8d9a859d7a Simplified redex unsupported/unimplemented handling. 2013-06-29 20:54:33 -05:00
Robby Findler
70dcd2ecf6 add compatibility package 2013-06-29 20:25:32 -05:00
Robby Findler
5f8eedcee0 move mzlib docs attempt 2: adjust info.rkt files 2013-06-29 20:25:32 -05:00
Robby Findler
bbdd1f0107 move mzlib docs attempt 2: just move the files around 2013-06-29 20:25:31 -05:00
Robby Findler
0d8f91d4d4 (very) minor wording changes 2013-06-29 20:12:31 -05:00
Matthew Flatt
cf754e2058 more auto package-dependency repairs
As detected by the repaired `raco setup'.
2013-06-29 18:42:00 -06:00
Matthew Flatt
1423be581d raco setup: fix dependency checking for more nested directories
I'm not sure why a problem with the "package closure" operation
didn't create problems earlier for `raco setup' --- or maybe it
did, but they're difficult to see.

Also, reduce redundancy in reporting of reasons for dependency
mismatches (but keep multiple reports of the same missing
dependency but for different reasons).
2013-06-29 18:38:17 -06:00
Matthew Flatt
19dc3a00ff distro-build/drive-clients: add `--clean' argument 2013-06-29 12:03:53 -06:00
Matthew Flatt
a9408289c6 distro-build/drive-clients: fix to use `#:vc' specification 2013-06-29 10:26:21 -06:00
Matthew Flatt
35075bf45e distro-build/drive-clients: allow shared `#:host' spec 2013-06-29 10:11:56 -06:00
Matthew Flatt
5ff8f33661 adjust `raco setup' package-dependency reporting
Report packages that have no dependency declarations as "warnings"
(to stdout instead of stderr).

Report specific information when a dependency is discoeverd missing,
insteda of reporting it only in verbose mode.
2013-06-29 09:36:51 -06:00
Robby Findler
d412afa426 removed unused variable 2013-06-29 10:33:37 -05:00
Robby Findler
855331bb0a fix up info.rkt's for the new drracket-test package 2013-06-29 10:33:37 -05:00
Robby Findler
e0f6a42775 move drracket tests into their own package 2013-06-29 10:33:36 -05:00
Robby Findler
df2d41ba77 bring down below 102 columns 2013-06-29 10:33:35 -05:00
Matthew Flatt
51290fd2a9 auto-fix dependencies in "pkgs"
Left one dependency broken: "drracket" currently depends on "htdp" for
a test. That needs to be fixed by removing the dependency (moving the
test to "htdp?), instead of changing the declared dependencies.
2013-06-29 06:51:19 -06:00
Matthew Flatt
5c42f46158 fill in some pkg `implies' 2013-06-29 06:51:18 -06:00
Matthew Flatt
04d5d9bd55 raco setup: add package-dependency checking
The new `--no-pkg-deps' or `-K' flag skips the check.

If a module in package X refers to a module in package Y, check that
package X declares a dependency on Y.  Note that package X must
specifically depend on Y --- not another package that at the moment
happens to declare a dependency on Y.

A new "base" package represents the content of the core (so that, if
the core shrinks, a new "base2" can represent the smaller core).
Most every package now needs a dependency on "base".

Sometimes, it makes sense for X to access Y when X declares a
dependency on Z, because Z promises to always depend on Y.  For
example, the "gui" package is defined to combne "gui-lib" and
"gui-doc", so it's appropriate to use the modules of "gui-lib" when
depending on "gui". A package's "info.rkt" can therefore define
`implies' as a subset of the dependencies listed in `deps', which
means that depending on the package implies a dependency on the listed
packages. (It's even possible for packages to mutually imply each
other, which is why the dependency checking code ends up with a
union-find.)

Dependency checking distinguishes between run-time dependencies and
build-time dependencies: anything listed in a ".dep" file is a build
dependency, at least. To imply a run-time dependency, a reference must
appear in a bytecode file's imports, and not in a subdirectory or
submodule that would be pruned for a binary package.

The `--fix-pkg-deps' flag attempts to automatically fix package
dependency declarations (i.e., modify a package's "info.rkt" file)
based on inferred dependencies.
2013-06-29 06:51:18 -06:00
Matthew Flatt
05dfce142b Revert "move mzlib docs to the compatility pkg"
The "-lib" in "compatbility-lib" is meant to mean "no documentation"
-- and, more to the point, no dependency on documentation infrastructure.

Move later to a "compatibility-doc" package.

This reverts commit acce2d27d1.
2013-06-29 06:19:09 -06:00
Matthew Flatt
336d6ebc09 ditto on build repair (missed two places) 2013-06-29 06:19:09 -06:00
Robby Findler
ceca1e0ba7 add an option to disable the blue arrow things
(and thus the blue boxes) entirely

closes PR 13761
2013-06-29 07:11:18 -05:00
Robby Findler
c20933119e change the way the eof button works so that it sends pending input
into the port (instead of just dropping it)
2013-06-29 02:34:27 -05:00
Robby Findler
cf6a389c4e adjust paths and info.rkt for new placement of files 2013-06-29 02:34:26 -05:00
Robby Findler
7139995d49 move drracket tests into the drracket pkg 2013-06-29 02:34:26 -05:00
Robby Findler
1a1c1feabc adjust htdp so missing teachpacks just print error messages
and continue, rather than raising exceptions
2013-06-29 00:50:48 -05:00
Robby Findler
b93cd5288b freeze mzlib/contract exports from racket/contract/combinator
as they were in 5.3.5
2013-06-28 20:10:24 -05:00
Robby Findler
acce2d27d1 move mzlib docs to the compatility pkg 2013-06-28 20:10:23 -05:00
Robby Findler
50a058b269 adjust mzlib/contract exports to more closely match 5.3.5's exports.
There are a number of formerly-exported identifiers that are now
no longer exported:

  provide/contract-transformer?
  true-provide/contract
  replace-provide/contract-transformer-positive-blame
  make-provide/contract-transformer

These are internal bindings that should probably never have been
exported. (They weren't documented.)

There are two currently-exported identifiers that were not
exported before:

  blame-update
  contract-continuation-mark-key

The first comes because mzlib/contract re-exports
racket/contract/combinator and blame-update is a new export there (for
option contracts). The other is less clear and may be hidden
(it is also new to racket/contract).
2013-06-28 18:50:35 -05:00
Matthew Flatt
0fdc7ec1a1 build repair for case that "etc" does not exist 2013-06-28 08:32:33 -06:00
Matthew Flatt
fd982c55b1 farm: by default, pull git repo in clients from server 2013-06-28 08:11:31 -06:00
Matthew Flatt
a89ba74f4e raco pkg: fix dependency checking for user and shared scopes 2013-06-28 06:57:20 -06:00
Matthew Flatt
47f1b4498f setup/infotab: drop (require string-constants)' and (string-constant <id>)'
The problem with allowing `(require string-constants)' in an
"info.rkt" file is that "string-constants-lib" is a package that might
not be installed.  Removing it allows any "info.rkt" file to be loaded
with just the core.

Strings constants were used for `textbook-pls' and
`drscheme-language-positions' entries. To enable access to string
constants for those specifications, DrRacket now recognizes
`get-textbook-pls' and `get-drscheme-language-positions' as
module path plus symbol specifications.

Also, fix up conflict checking in `raco pkg install' so that ".zo"
files without source do not count as provided modules unless an
"info.rkt" declares `assume-virtual-sources' (which is where we
got into trouble, again, with `string-constants'), making it
consistent with the way that `raco setup' removes ".zo" files.
2013-06-28 06:06:01 -06:00
Matthew Flatt
d450ee9707 link development-mode packages in a separate pkg database
Use `PKGS' with the top-level makefile to select packages for
a development-mode build. The default is "main-distribution",
which includes all packages in "pkgs".
2013-06-27 21:52:23 -06:00
Sam Tobin-Hochstadt
4d6bf3192d Move mzlib/restart back to fix build. 2013-06-27 23:37:33 -04:00
Sam Tobin-Hochstadt
5ec754803e Fix some mzlib references. 2013-06-27 23:13:46 -04:00
Robby Findler
40b2b19089 move mzlib/contract into compatibility-lib 2013-06-27 21:48:39 -05:00
Robby Findler
000c74ced5 adjust mzlib/contract so that it doesn't require any racket/contract/private stuff 2013-06-27 21:48:38 -05:00
Robby Findler
5eca63699c rewrite mzlib/contract to racket/contract 2013-06-27 21:48:38 -05:00
Asumu Takikawa
42b5cfe8b2 Use racket/cmdline instead of mzlib/cmdline
This should fix the build
2013-06-27 22:17:15 -04:00
Matthew Flatt
53d68e2149 switch "config.rktd" dirs back to "collects"-relative
Making them "etc"-relative intercts badly with redirecting
a configuration to override just a few values --- such as
the links path, which is what `make core' needs.
2013-06-27 17:04:16 -06:00
Matthew Flatt
d2ec0bf5cc scribble: add tests for traverse-element' and traverse-block' 2013-06-27 17:04:16 -06:00
Ambrose Bonnaire-Sergeant
43ea8e442c Typo in comment 2013-06-27 19:00:14 -04:00
Sam Tobin-Hochstadt
52af4ed52e Move rackunit to the rackunit-lib package.
The `rackunit/log` utility stays in the core, because it's
used by `raco test` and very small.
2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
7917f32d0c Move much of mzlib to compatibility-lib package. 2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
59c6519cd3 Move compatibility, pconvert, and mutable pairs to new packages. 2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
e934ce2963 Move unstable/contract and unstable/options to their own packages. 2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
45f3fddee5 Move help collection out of the core. 2013-06-27 13:53:52 -04:00