Commit Graph

29413 Commits

Author SHA1 Message Date
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
Sam Tobin-Hochstadt
a0ddf78db8 Move various data structures to data-lib pkg. 2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
6521f950d6 Move srfi/4 out of the core. 2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
6c22c7ce3c Move errortrace collection and documentation to new packages. 2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
549310ea0c Move racket/sandbox etc to sandbox-lib package. 2013-06-27 13:53:52 -04:00
Matthew Flatt
a5ce399dcf .gitignore fixups 2013-06-27 07:52:28 -06:00
Matthew Flatt
4dc8050f75 catch up on documentation for some library changes
The library changes were made as part of the package reoganization.
2013-06-26 13:00:17 -07:00
Matthew Flatt
dc11090f6b repair interaction of taints and submodule expansion 2013-06-26 12:59:44 -07:00
Matthew Flatt
5f35290bbe remove testing hack 2013-06-26 12:59:44 -07:00
Eli Barzilay
555c300c72 .gitignore cleanups
* Clarified bogosity of toplevel .gitignore (and other such files)

* Removed "doc/" in the toplevel file -- looks like this was some broken
  leftover, and it's dangerous for at least "scribble/doc" (which
  contains code).

* Collapse more common patterns into worksp instead of in each file.

* Use a trailing "/" for directories.

* racket/lib/collects/pkg/.gitignore looks like a leftover that is no
  longer needed.
2013-06-26 00:52:01 -04:00
Eli Barzilay
5c8bc528ee Fix broken phrasing. 2013-06-26 00:02:37 -04:00
Robby Findler
bb955cead7 unbreak build (probably) 2013-06-25 19:01:31 -05:00
Robby Findler
1384d2d277 adjust the hole structs a little bit to get better printing at the REPL 2013-06-25 18:42:36 -05:00
Robby Findler
983a811c96 tweaks to 2f2bbd09cc 2013-06-25 18:42:36 -05:00
Sam Tobin-Hochstadt
ce2d047042 Update props for TR tests move. 2013-06-25 18:07:44 -04:00