Commit Graph

490 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
4a82b01845 Merge pull request #2 from florence/fix-travis-display
Fix display missing errors on travis
2015-05-20 16:03:50 -04:00
Sam Tobin-Hochstadt
9de3f8b87f Depend on new "plai-lib" pkg. 2015-05-20 15:58:10 -04:00
Spencer Florence
6211f43b29 Fix display missing errors on travis 2015-04-29 08:57:58 -04:00
Matthew Flatt
e88c746c3c raco decompile: expose syntax info saved for REPL 2015-04-28 15:37:10 -06:00
Robby Findler
bdddd3c80d fix test case count reporting for the place case 2015-04-08 10:16:13 -05:00
Robby Findler
44260da512 fix test case count reporting for the separate processes case 2015-04-08 10:13:54 -05:00
Matthew Flatt
b5ab2b66d6 fix raco exe test
Fix the decision about whether "mzlib" will be found by only
setting the collection path in an executable. The old test
made sense only with the pre-repo-split organization.
2015-02-27 13:32:09 -07:00
Matthew Flatt
515b31ff44 decompile: allow collapsed module path to be relative 2015-02-27 11:23:46 -07:00
Matthew Flatt
047c8bd85a Rackety 2015-02-23 10:33:05 -07:00
Matthew Flatt
f475997263 compiler/zo-marshal: repair for module language info
Same repair as commit bc6670c8e0 for the Racket core.
2015-02-09 17:53:27 -07:00
Matthew Flatt
838a58ee84 decompile: adjust for change use toplevel map in lam 2015-01-19 21:29:23 -07:00
Sam Tobin-Hochstadt
fe132b0cb6 Install in installation mode to fix test. 2015-01-05 10:31:18 -05:00
Sam Tobin-Hochstadt
c12902b36e Try compiler tests with docker and NWU snapshot. 2015-01-05 09:15:39 -05:00
Matthew Flatt
e4af0cac26 compiler/zo-marshal: fix offsets in submodule search table 2015-01-03 09:58:08 -07:00
Sam Tobin-Hochstadt
f092262df7 Split zo file handling into its own package. 2014-12-16 22:10:52 -05:00
Sam Tobin-Hochstadt
539c32205e Add travis build script. 2014-12-10 09:20:05 -05:00
Gustavo Massaccesi
9650129c86 repair decompiler to properly reflect the beg0 bytecode form
A single expression in `beg0` is never in tail position, unlike
a single expression within `begin0`.
2014-12-08 09:24:39 -07:00
Sam Tobin-Hochstadt
acc484f146 Add standard .gitignore file. 2014-12-06 17:46:37 -05:00
Sam Tobin-Hochstadt
49ccf968d0 Remove extra directories. 2014-12-02 09:30:05 -05:00
Sam Tobin-Hochstadt
7678d59f14 Remove stray reference to Racket in LICENSE files.
Related to PR 14842.

original commit: 3bbdd134b1
2014-11-25 14:09:57 -05:00
Matthew Flatt
b46e39d5eb move raco make test to a more sensible place
original commit: 28b98beb6c
2014-11-09 08:47:18 -07:00
Matthew Flatt
6e62de29ed compiler/zo-marshal: allow extflonum literals
original commit: 201a5f0e6f
2014-10-27 20:01:38 -06:00
Matthew Flatt
eb10901579 raco test: show more of stderr on failure
original commit: 66729a4473
2014-10-21 07:31:07 -05:00
Matthew Flatt
d4adf3db45 raco test: fix -l
original commit: 53cbb8b03a
2014-10-21 07:31:07 -05:00
Matthew Flatt
7b7e158b5a add update-implies to package "info.rkt"s
original commit: eb9cbe20bf
2014-08-14 16:49:53 +01:00
Matthew Flatt
8353db2882 raco decompile: show provides
original commit: bf748a03c9
2014-07-23 16:46:51 +01:00
Matthew Flatt
f567fe3589 fix a test for raco exe
The test failed for certain installation configurations due to a
problem with the test.

original commit: a881e24d43
2014-07-23 07:55:17 +01:00
Matthew Flatt
9ac14af3fc fix guard on references to unsafe functions in bytecode
The protection against unsafe-function references was designed for
bytecode that referred to unsafe operations indirectly, and that
was broken when the compiler changed to refer to unsafe functions
directly in bytecode (to simplify JIT inlining bytecode optimization).
Actually, the relevant code (now removed) seems to be pointless,
since protected-binding checking should cover it already. Maybe
something else changed, or maybe the code was not properly checked
in the first place.

Now, `read` rejects a bytecode stream if it contains a direct
reference to an unsafe function and the code inspector is not the
original code inspector. It's still possible to synthesize bytecode
that contains an indirect reference, and then protected-binding
checking does its job.

original commit: 7ccac3c054
2014-07-10 07:10:03 +01:00
Matthew Flatt
c66558badb raco setup / raco pkg install: add --fail-fast flag
This flag is useful for speculative package installations runs where
we'd like to give up and try something else if it's not working.
Specifically, we might try installing multiple packages at once,
and then back off to a smaller subset if something goes wrong.

original commit: d316652160
2014-07-02 09:07:36 +01:00
Matthew Flatt
0c9af219db raco test: add history note on --heartbeat
Should have been included with f3c8638366.

original commit: 2d3da47447
2014-06-30 10:17:03 +01:00
Matthew Flatt
60fe855cf7 raco test: add --heartbeat flag
Useful when running many tests in parallel to keep track of a test
that is running especially long (and maybe stuck).

original commit: f3c8638366
2014-06-17 07:17:16 +01:00
Matthew Flatt
52ac9d616e raco test: handling of spurious files
A `--drdr` run shouldn't stop because a discoevered file
disappears (such as one generated temporarily by a test).

Also, use new style for some errors.

original commit: 034acfa514
2014-06-17 07:17:16 +01:00
Matthew Flatt
eba91e16bd 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.

original commit: 1715a50c80
2014-06-03 11:59:30 +01:00
Matthew Flatt
9e0e4327f1 raco test: continue when checking for submodules fails
original commit: 94a5b02886
2014-06-03 09:59:43 +01:00
Matthew Flatt
7117fd4e2c raco test: fix --process without --fresh-user
original commit: 85c8f271cb
2014-06-03 09:20:17 +01:00
Matthew Flatt
4e8f41dcaf raco exe: adjust tests to avoid "stdout" in source directory
original commit: 0b5fbc17c9
2014-06-03 09:09:13 +01:00
Matthew Flatt
7380ec5e0e raco test: add ++ignore-stderr <pattern> option
I'm using this option to ignore "Xlib: extension \"RANDR\" missing"
warnings.

original commit: a011f9b816
2014-06-03 08:31:01 +01:00
Matthew Flatt
9f37438fe0 raco test: create fresh user directory for each test in DrDr mode
original commit: 2d3b856b71
2014-06-03 07:40:05 +01:00
Jay McCarthy
fce59c1521 Ensure that explicit arguments are always run even when ignored by info.rkt
original commit: 4b1cb56b99
2014-06-02 18:31:30 -06:00
Matthew Flatt
4381f1eb24 raco decompile: fix for bytecode without source
original commit: 3f75bc21d9
2014-06-02 20:40:24 +01:00
Matthew Flatt
7fdf264e1d raco {make,decompile}: fix bytecode path calculation
Use `compiler/compilation-path` to take into account PLTCOMPILEDROOTS, etc.

Closes PR 14525

original commit: 5ad11c85e6
2014-05-27 09:27:15 +01:00
Matthew Flatt
979299850e raco decompile: improve argument checking and reporting
Relevant to PR 14525

original commit: e4189afb15
2014-05-27 07:17:11 +01:00
Matthew Flatt
03a0dbd9fd raco make: improve parallelism
The `require` macro now logs "prefetch" messages when it sees a `require`
with multiple module paths. The prefix information is approximate, since
parsing a `require` subform might depend on imports from a previous subform,
but in the common case, there are many obvious module paths to prefetch.

The parallel mode of `raco make` watches for prefetch messages and
records the suggested "prefetch" paths so they can be compiled by other
processes.

original commit: 9e3b984463
2014-05-26 18:56:50 +01:00
Robby Findler
633ec1faf5 fix raco test -c
closes PR 14494

original commit: fa68b57de3
2014-05-10 11:12:22 -05:00
Matthew Flatt
38f585181e raco dist: preserve relative location of runtime files only within a package
Previously, relative locations were preserved for all files with the same
root, but that tends to keep too much information about the original
filesystem layout, especially when runtime files are pulled both from
the installation and a user-specific area. Since packages can be installed
at different relative locations, it makes sense to preserve relative
locations only up to package boundaries.

original commit: 5c909cca0d
2014-04-30 14:59:16 -06:00
Sam Tobin-Hochstadt
79a884aa43 Add -l flag to raco test.
Behaves similarly to `-l` for plain `racket`.

original commit: cff3c41e01
2014-04-23 17:52:33 -04:00
Matthew Flatt
90f45301b8 raco decompile: fix for #%foreign
Merge to v6.0.1

original commit: e9b97c494c
2014-04-08 10:22:47 -06:00
Matthew Flatt
4f0c0ad3df create-embedding-executable: fix namespace and module-declaration problem
original commit: 8253994434
2014-03-09 08:44:53 -06:00
Matthew Flatt
7faccf058a LGPL by reference
original commit: 981701d237
2014-02-27 15:56:11 -07:00
Matthew Flatt
ec06cc8428 add PLTUSERHOME
The new `PLTUSERHOME` environment variable redirects all of the
user-specific paths reported by `find-system-path`.

Also, improve the tests for `raco exe` (particularly the bug
fixed in 6cb6f3fbf1) using `PLTUSERHOME`.

original commit: e4ce0d0331
2014-02-25 16:01:44 -07:00