Commit Graph

35041 Commits

Author SHA1 Message Date
Matthew Flatt
2b62ffe90b raco pkg show: mention auto-installed when no non-auto are installed
In the case that packages are only auto-installed in a particular
scope, `raco pkg show` should just say "[none]", instead of adding the
note about auto-installed packages that are not being shown.
2014-12-16 08:26:09 -07:00
Matthew Flatt
f8c6090d37 raco pkg: more information for an ill-formed path error 2014-12-16 06:40:54 -07:00
Sam Tobin-Hochstadt
d4ba30354e Improve AppVeyor configuration. 2014-12-15 19:56:50 -05:00
Sam Tobin-Hochstadt
92332c0046 Reduce and fix dependencies for "racket-core-test".
Eventually I'd like to reduce the dependencies further, but this
is enough for now.
2014-12-15 19:07:43 -05:00
Matthew Flatt
71e0bdfcff more repairs to stack trace and caching
Fixes problems with d15fda9d6b, but also fixes a problem that
could show up in non-libunwind mode and cause lost frames.
2014-12-15 13:38:59 -07:00
Matthew Flatt
e22242df56 raco pkg: default --deps to search-ask in interactive mode
The implemented default for `raco pkg update` actually depended on the
way that a package is installed, and it's difficult to reason about or
to implement the default that is suggested by the documentation.
Meanwhile, `search-ask` seems the most sensible always in interactive
mode (now that we have a way to specify batch mode).
2014-12-15 09:13:24 -07:00
Matthew Flatt
0f6e0e83e0 raco pkg update: better handling of a missing dependency
When updating a linked package whose dependencies have changed,
and when a dependency is missing, then effectively reinstall
the link to get updates as requested by the user.
2014-12-15 09:13:24 -07:00
Matthew Flatt
1b9911c50b repair a test
The test tried to detect separate evaluations by using the
result of `(current-inexact-milliseconds)`, but a clock's
resolution might not be high enough. Use `(gensym)`, instead.
2014-12-15 09:13:24 -07:00
Matthew Flatt
ae3b59475a raco pkg clone: avoid fetching by commit id
A commit id apparently doesn't work in place of a <refexp> in some
versions of Git.
2014-12-15 08:57:02 -07:00
Sam Tobin-Hochstadt
633f780f50 Remove unwanted dependency on mzscheme.
The '#%kernel prop:procedure is the same binding as the mzscheme one.
2014-12-15 09:16:49 -05:00
Sam Tobin-Hochstadt
927be4aeba Ignore files here too. 2014-12-15 02:55:15 -05:00
Sam Tobin-Hochstadt
3bb896d6cb Use racket instead of scheme. Fixes dependency issues. 2014-12-15 02:45:32 -05:00
Sam Tobin-Hochstadt
61e3db6df5 Rename to avoid conflict since pkgs is slow. 2014-12-15 02:10:44 -05:00
Sam Tobin-Hochstadt
6e2aecbcb0 Add configuration for AppVeyor, a Windows CI service.
This configuration will build and test the core of Racket on every
commit. The time constraints are such that only a small portion of
Racket can be built and tested.
2014-12-15 02:00:39 -05:00
Sam Tobin-Hochstadt
448213e9dc Split the core racket tests into the "racket-test-core" pkg.
This supports running the core tests on systems which can't run
or don't want to install all the dependencies of the "racket-test"
package.

The "racket-test-core" pkg stil depends on "sandbox-lib" because
the sandbox tests live with the core tests. Hopefully I'll be able
to fix that eventually.
2014-12-15 01:59:56 -05:00
Sam Tobin-Hochstadt
01ba2500ec Rename racket-extra-test to racket-test-extra. 2014-12-14 23:34:33 -05:00
Matthew Flatt
6f5ab2851d avoid a compiler warning 2014-12-14 08:52:26 -07:00
Matthew Flatt
d15fda9d6b fix native-stack caching with libunwind
The implementation of caching stack-trace information in the
stack didn't work right in libunwind mode, with the result that
`(current-continuatiom-marks)` took O(N) time for a continuation
of size N, when it should be amortized constant time.
2014-12-14 08:46:14 -07:00
Gustavo Massaccesi
58ef3fdaa8 Mark immutable? as omitable 2014-12-14 08:46:14 -07:00
Gustavo Massaccesi
ababa86c44 Increase SCHEME_PRIM_OPT_TYPE_SHIFT
Otherwise, two optimization flags collide:

 SCHEME_PRIM_ALWAYS_ESCAPES = SCHEME_PRIM_PRODUCES_FLONUM = 8192
2014-12-14 08:46:14 -07:00
Matthew Flatt
58bee1419b raco pkg update: change printout to avoid alarming "Removing..."
Changed "Removing" to "Uninstalling to prepare re-install of".
2014-12-14 08:46:14 -07:00
Matthew Flatt
1ef244f4b7 raco pkg: fix tests for change raco pkg show output 2014-12-14 08:46:13 -07:00
Matthew Flatt
c2fcb10470 raco pkg update: fix reoprting for --all in a scope without packages 2014-12-14 05:59:12 -07:00
Robby Findler
2f44aef100 fix #:list-contract? argument 2014-12-13 20:51:53 -06:00
Robby Findler
b1a22bfd29 fix buggy test case 2014-12-13 14:57:01 -06:00
Robby Findler
c3e92093f6 improve the way '() is treated as a constant
so it fits in with stronger and whatnot and
the other list contracts
2014-12-13 14:55:13 -06:00
Matthew Flatt
63f7cf1568 raco setup: try harder to delete files such as DLLs
If "sqlite3.dll" is installed as a foreign library but shouldn't
be, then `raco setup` cannot simply deleet the file, because
starting `raco setup` opened the DLL. To avoid that problem,
rename the file to start with "raco-setup-delete-", then attempt to
delete the renamed file; the delete won't work, but the file
will be moved out of the way, and a future `raco setup` can
clean up.

The prefix "raco-setup-delete-" thus becomes special on Windows for
the directories that hold foreign libraries, shared files, and
man pages, because `raco setup` will try to delete any file
that starts with "raco-setup-delete-".

It's all very ugly, but I don't have a better idea for the
problems that I keep hitting.
2014-12-13 09:16:52 -07:00
Matthew Flatt
fc1d19c6fb make: fix for PKGS="" 2014-12-13 09:16:51 -07:00
Matthew Flatt
9beca2bdee make: fix bootstrap for native libraries
Restore (but in a hopefully better way) a step that installs native
libraries before trying a full `raco setup`, since the libraries
may be needed for the setup proces --- especially on Windows.
2014-12-13 09:16:51 -07:00
Robby Findler
6f09e7c619 add cons/dc 2014-12-12 23:41:09 -06:00
Sam Tobin-Hochstadt
f7a300199a Improve formatting in raco pkg show, and add single-package show.
* `raco pkg show typed-racket` now shows just the "typed-racket" pkg.

* `raco pkg show --rx typed-racket` shows all packages that match the
  regular expression "typed-racket".

* `raco pkg show` now only shows the first 8 characters of checksums
  unless you provide the `--full-checksum` argument.
2014-12-12 12:59:52 -05:00
Matthew Flatt
66733944d3 net/http-client: add a #:method argument to http-conn-recv!
Supplying a 'HEAD method is necessary to receive the response
to a 'HEAD request, since the response will not include data.
2014-12-12 09:28:49 -07:00
Matthew Flatt
7ca5ae765b raco pkg docs: index fields for package-level "info.rkt" 2014-12-12 07:59:17 -07:00
Matthew Flatt
d6c26f9742 fix PLT_DELAY_FROM_ZO
Fetching bytecode from a previously read file was broken in the case
of a bytecode file with submodules.

Closes PR 14878
2014-12-12 07:59:17 -07:00
Matthew Flatt
dbfe4df223 make: add job options to final raco setup
Closes PR 14876
2014-12-12 07:59:17 -07:00
Matthew Flatt
d780930056 fix syntax-disarm with a #f second argument 2014-12-12 07:59:16 -07:00
Ryan Culpepper
8f4575eeec db: make sqlite connections managed by custodians 2014-12-12 00:27:30 -05:00
Ryan Culpepper
6039d6cc0b added register-finalizer-and-custodian-shutdown 2014-12-12 00:25:31 -05:00
Juan Francisco Cantero Hurtado
0f4023912c Run the non-default configs tests only with gcc. 2014-12-11 19:43:34 -05:00
Sam Tobin-Hochstadt
be8ac0c5d0 Create the "racket-extra-test" to reduce dependencies.
It initially contains the two tests that use redex-driven random
testing.
2014-12-11 18:15:27 -05:00
Robby Findler
cd2898675f add #:name argument to {transplant,relocate}-{input,output}-port 2014-12-11 14:43:34 -06:00
Juan Francisco Cantero Hurtado
9bd70260b7 Reduce the number of tests on OSX.
Initial work by me and fixes by @samth.
2014-12-11 07:57:57 -05:00
Matthew Flatt
b2add2994c raco pkg: less noisy about consulting local catalogs
The "Resolving..." status reports are meant mainly to indicate when
network access is happening. Don't print in advance when a local
catalog is being used, but do print when a local catalog provided the
answer.
2014-12-09 14:19:53 -07:00
Matthew Flatt
885d2125b9 pkg/path: fix problems with path->pkg and case or nonexistent
The `path->pkg` funciton shouldn't return the name of a package that
isn't installed, including a case-folded version of a package that is
installed. On Windows, where we match case-normalized paths, we have
to work a little harder to map a case-normalized path element to the
installed package name, given that package names are case-sensitive.

Closes PR 14861
2014-12-09 14:09:53 -07:00
Matthew Flatt
195a46a23e fix problem with truncated value printing and stack overflow
A value-printing truncation discovered after a stack-overflow handle
and return could go badly, because the truncation escape wasn't
reset correctly after overflow handling (in contrast to truncation
discovered during the overflow handling, which was handled correctly).

Closes PR 14870
2014-12-09 09:22:12 -07:00
Matthew Flatt
28f4a39ccb reference: fix docs for octal character literal
Bug reported by Emmanuel Schanzer
2014-12-09 09:22:12 -07:00
Matthew Flatt
ab696c3943 pkg/path: fix pkg-info contract in docs 2014-12-09 09:22:06 -07:00
Matthew Flatt
542f5fd3d2 ffi/unsafe/custodian: doc clarifications 2014-12-09 09:10:35 -07:00
Asumu Takikawa
1e5ec02262 Add test props for racket/generic tests 2014-12-08 22:04:50 -05:00
Matthew Flatt
3eac913a78 fix thread-based place implementation
There are some limitations to the places implementation when
`(place-enabled?)` returns #f, but mostly it can work.
2014-12-08 16:45:54 -07:00