Commit Graph

33521 Commits

Author SHA1 Message Date
Matthew Flatt
0ed142b78f raco pkg install: fix tmp-directory clean-up
Fix when installing from a non-directory in `--source` or
`--binary` mode, and fix clean up of a GitHub-generated archive
when using a path within the archive.
2014-06-04 16:49:18 +01:00
Matthew Flatt
02d53d29fb scribble/decode: document treatment of whitespace by decode-content 2014-06-04 13:38:24 +01:00
Matthew Flatt
94dbfba0f3 scribble: fix history spacing 2014-06-04 13:34:03 +01:00
Matthew Flatt
374742e905 zip: add #:path-prefix argument 2014-06-04 13:16:58 +01:00
Matthew Flatt
8792c52e1d raco pkg create: adjust rules for for {binary,source}-keep-files
Allow `{binary,source}-keep-files` to override omission of an
enclosing directory. Also, adjust the default for binary mode to
keep "doc" and "info.rkt" within "scribblings" and not "tests".

With this change, starting with Minimal Racket and installing DrRacket
in binary mode gets you a working DrRacket with documentation. A
binary install is less than half the space of a non-binary install,
in part because the binary installation has fewer dependencies.
2014-06-04 10:14:48 +01:00
Matthew Flatt
15214b9983 raco setup: clean up "library" installs that are directories 2014-06-04 10:14:45 +01:00
Matthew Flatt
4b5c907440 raco pkg: fix binary stripping of submodules 2014-06-04 09:35:51 +01:00
Matthew Flatt
5058c958a6 scribblings/main: keep doc modules in binary mode
Even in binary mode, the "main" documents need to be re-rendered
when new packages are installed.
2014-06-04 09:35:29 +01:00
Matthew Flatt
25cc7c7125 raco setup: detect binary-only setup/scribble 2014-06-04 08:29:55 +01:00
Matthew Flatt
c2067775b3 add 2htdp/test port numbers to the list 2014-06-03 14:24:00 +01:00
Matthew Flatt
e16510b94d 2htdp/universe tests: try other port numbers
Follow-up to 268544d565: it looks like DrDr may itself use
port 9000. Try to pick numbers that no one else is thinking of...
2014-06-03 13:47:51 +01:00
Matthew Flatt
1715a50c80 raco test: refine override-"info.rkt" behavior of specifying a file
In consultation with Jay, unify the ignore-file's-extension and
ignore-"info.rkt"-disabling treatment of `raco test` arguments.
The change is that the latter applies only when an argument is a
file, and not when it's a directory.
2014-06-03 11:59:30 +01:00
Matthew Flatt
268544d565 2htdp/universe tests: use distinct port numbers
Using distinct port numbers allows the tests to run concurrently.
Using locally distnct port numbers is not a general solution,
of course, but it should work well enough for running these
tests with `raco test --drdr`.
2014-06-03 11:24:57 +01:00
Matthew Flatt
2b3db0acb7 slatex: generate files in temporary directory 2014-06-03 10:00:14 +01:00
Matthew Flatt
94a5b02886 raco test: continue when checking for submodules fails 2014-06-03 09:59:43 +01:00
Matthew Flatt
6ee2079d8a plot tests: write files to temp dir 2014-06-03 09:40:20 +01:00
Matthew Flatt
66be790141 fix parallel-build test 2014-06-03 09:34:01 +01:00
Matthew Flatt
eec0d9dcd8 disable embed-in-C test
Added to the release checklist, instead, since it requires a
`configure`-time flag.
2014-06-03 09:30:04 +01:00
Matthew Flatt
0d644e9755 racket/sandbox: fix with-deep-time-limit test
The test has been failing consistently in DrDr, but I couldn't figure
out why until I learned that DrDr runs programs with an empty
stdin. It helps that `raco test --drdr` is now closer to DrDr.
2014-06-03 09:23:58 +01:00
Matthew Flatt
85c8f271cb raco test: fix --process without --fresh-user 2014-06-03 09:20:17 +01:00
Matthew Flatt
0b5fbc17c9 raco exe: adjust tests to avoid "stdout" in source directory 2014-06-03 09:09:13 +01:00
Matthew Flatt
a011f9b816 raco test: add ++ignore-stderr <pattern> option
I'm using this option to ignore "Xlib: extension \"RANDR\" missing"
warnings.
2014-06-03 08:31:01 +01:00
Matthew Flatt
165f21a192 tests: remove "gui" lock declarations
The fresh PLTUSERHOME created by `raco test --drdr` should avoid
the problems that made the lock necessary before.
2014-06-03 07:40:05 +01:00
Matthew Flatt
2d3b856b71 raco test: create fresh user directory for each test in DrDr mode 2014-06-03 07:40:05 +01:00
Eric Dobson
48ac219d6f Correctly combine or filters in combine-props.
Closes PR 14534.
2014-06-02 22:54:00 -07:00
Jay McCarthy
83edd9b52d adding plt-log 2014-06-02 18:31:31 -06:00
Jay McCarthy
7a575d67b7 Add draw-pict-centered 2014-06-02 18:31:31 -06:00
Jay McCarthy
97e75cecc9 Creating unstable/gui/pict/align 2014-06-02 18:31:31 -06:00
Jay McCarthy
d909a9590d Adding things to unstable/error that are painful to remember and used everywhere 2014-06-02 18:31:31 -06:00
Jay McCarthy
01b7f76b3c Fixing typo 2014-06-02 18:31:31 -06:00
Jay McCarthy
9973c6d2fc Add time and prep for better DrDr stderr UI 2014-06-02 18:31:31 -06:00
Jay McCarthy
4b1cb56b99 Ensure that explicit arguments are always run even when ignored by info.rkt 2014-06-02 18:31:30 -06:00
Jay McCarthy
26943d9735 Update re Robby 2014-06-02 18:31:30 -06:00
Matthew Flatt
b055db088c racket/base: fix module-compiled-submodules name handling
Mandled name handling breaks pkg binary-mode submodule stripping.
2014-06-02 21:34:42 +01:00
Matthew Flatt
3f75bc21d9 raco decompile: fix for bytecode without source 2014-06-02 20:40:24 +01:00
Matthew Flatt
f02d9268ec adjust some collection-file-path calls to work with binary packages
In a few cases, sources should be preserved in binary mode.
2014-06-02 20:13:00 +01:00
Matthew Flatt
fc74fa36ef change collection-file-path to check for compiled by default for ".rkt" 2014-06-02 20:12:41 +01:00
Matthew Flatt
8638a55b67 optimizer report use-before-definition check at debug level
It's too common and noisy as a warning.
2014-06-02 19:59:30 +01:00
Matthew Flatt
da400a3bbf raco pkg: fix doc typo 2014-06-02 19:50:39 +01:00
Matthew Flatt
e17acf5fef Win64: fix JIT floating-point constant
Repairs commit 71591a62a4 for Win64, where `long` != `intptr_t`
2014-06-02 18:26:50 +01:00
Matthew Flatt
a539f4ed25 fix typo in Windows "build.bat" 2014-06-02 17:27:09 +01:00
Matthew Flatt
c1c12b05f5 raco pkg: fix conflict checking for PLTCOMPILEDROOTS
The fix is for a corner case that is unlikely to show up,
but the repaired code is simpler.
2014-06-02 16:46:45 +01:00
Matthew Flatt
13c53a23e3 raco setup: fix documentation rebuild for PLTCOMPILEDROOTS 2014-06-02 16:26:25 +01:00
Matthew Flatt
5ea04493a2 raco setup: fix dependency checking and PLTCOMPILEDROOTS
Closes PR 14537
2014-06-02 15:45:22 +01:00
Matthew Flatt
dc97b85d44 make site: use relative paths in the pkg catalog for a site 2014-06-02 15:30:32 +01:00
Matthew Flatt
2360a9f69a pkg/lib: more fixes to handling of relative package sources in catalogs
Relative paths in a catalog should be treated as relative URLs, not
relative paths.
2014-06-02 15:03:16 +01:00
Matthew Flatt
e27c51698b net/url: add relative-path->relative-url-string 2014-06-02 14:34:22 +01:00
Matthew Flatt
d33c2252e1 rackunit/docs-complete: move to the "racket-index" package
Modules are not supposed to move to different packages, anymore, so
I'm breaking a rule. The problem is that having `rackunit/docs-complete`
in "scribble-lib" made "scribble-lib" depend on "racket-index", and
that's an undesirable dependency. (Installing Scribble shouldn't
force you to have Racket documentation.) I should have noticed
the problem when I moved `setup/xref` to "racket-index", but I missed
it.

As far as I can tell, there's only one package on pkgs.racket-lang.org
that isn't in the main repository and uses `rackunit/docs-index`. The
package doesn't correctly declare its dependencies, anyway.
2014-06-02 12:34:12 +01:00
Matthew Flatt
43d81b06da fix collection-file-path & related for binary package installation
Binary package installation failed in the case of collection
splicing, because module-name resolution via `collection-file-path`
did not check for compiled files along hte search path of
registered collection directories.
2014-06-02 11:57:08 +01:00
Matthew Flatt
e0a82393b7 raco pkg: fix treatmennt of "file://" package sources
A "file://" prefix on a package source needs to be consistently
removed. The new `package-source->path` function does that, so it
should be used to convert a package source to a filesystem path.
2014-06-02 11:57:07 +01:00