Commit Graph

490 Commits

Author SHA1 Message Date
Matthew Flatt
d007ec3e56 fix an error message
Merge to v6.0
2013-11-26 18:19:54 -07:00
Jay McCarthy
8ca8764bb3 Adding user-agent as some services require 2013-11-26 08:57:56 -07:00
Matthew Flatt
335177f1bc fix problems with text-mode ports on Windows
Closes PR 14198

Merge to v6.0
2013-11-25 10:00:23 -07:00
Asumu Takikawa
289a19e237 Fix format string for GC debug log message
Closes PR 13998

Please merge to v6.0
2013-11-25 11:55:00 -05:00
Matthew Flatt
90388d1549 fix handling of choice evt returned by a guard evt
Closes PR 14195

Merge to v6.0
2013-11-24 08:20:44 -07:00
Matthew Flatt
f4ed053620 fix #:make-docs? argument of setup
Closes PR 14193

Merge to v6.0
2013-11-23 20:10:26 -07:00
Matthew Flatt
f1d561ac46 reflow release notes for v6.0
Merge to v6.0
2013-11-22 14:59:35 -07:00
Matthew Flatt
75263e6664 fix raco config --set
Merge to v6.0
2013-11-22 14:59:35 -07:00
Matthew Flatt
c7d4b7d388 define-runtime-path: add support for version search to 'so form
Merge to v6.0
2013-11-22 07:26:43 -07:00
Matthew Flatt
9213d1aa79 configure: add fallback when checking for ar 2013-11-21 20:24:32 -07:00
Matthew Flatt
79f3fd5e64 raco setup: fix a read-only use on the docindex database
Merge to v6.0
2013-11-21 06:59:48 -07:00
Matthew Flatt
9bb5dda4f5 raco setup: fix exit code on doc error 2013-11-21 06:44:38 -07:00
Matthew Flatt
53ce3b7b96 raco pkg config: show all by default
Also, better help, checking, and error reporting on arguments.

Related to PR 14180

Merge to v6.0
2013-11-20 17:52:41 -07:00
Matthew Flatt
ecaa6576a3 raco pkg {install,update,...}: propagate setup exit code
Also, when `raco setup` reports an error, print a message to
say that the package install/update/... completed anyway.

Merge to v6.0
2013-11-20 17:52:40 -07:00
Ryan Culpepper
f12cfe185b Post-release version for the v6.0 release 2013-11-20 14:10:06 -05:00
Matthew Flatt
1d8a2516b2 fix problem resizing mutable hash tables
A hash-table size grew based on the number of key slots occupied,
instead of the number of value slots, where the two differ when
keys are added and removed in the table.

Thanks to Ryan for the example.
2013-11-20 07:28:34 -07:00
Ryan Culpepper
975762c25a work around lack of sqlite3_next_stmt on Mac OS X 10.5.* 2013-11-19 22:52:26 -05:00
Matthew Flatt
30af4dfb33 raco pkg remove: fix dependency check in --auto mode 2013-11-19 18:07:07 -07:00
Matthew Flatt
17275e3f37 unix installer: repair .desktop exec path conversion 2013-11-19 18:07:07 -07:00
Matthew Flatt
408031a01d launcher: fix "extreg.rktd" in user's space
Closes PR 14176
2013-11-19 18:07:07 -07:00
Asumu Takikawa
8323e679eb Add channel contracts 2013-11-19 01:41:05 -05:00
Robby Findler
d2fd37c251 attempt to add a little more information
to help diagnose this (and related) failures:

http://drdr.racket-lang.org/27793/pkgs/drracket-pkgs/drracket-test/tests/drracket/easter-egg.rkt
2013-11-18 21:49:30 -06:00
Robby Findler
62615f492d quote a name in an error message 2013-11-18 21:49:30 -06:00
Matthew Flatt
a88aa3c428 fix JIT slow path for bitwise-bit-set?
I'm having trouble producing a small test that triggers the bug, but
I'll keep trying.
2013-11-18 17:41:04 -07:00
Ryan Culpepper
ff19b9a74d fix custom deserialize-info
The deserialize fallback fails on modules that contain both custom
deserialize-info definitions and uses of serializable-struct.
2013-11-17 17:58:03 -05:00
Matthew Flatt
b520b66c4e restore old Scribble default style, but make new style default for manuals
Using
 #lang scribble/base
produces HTML output in the old style, while
 #lang scribble/manual
uses the new style.

To get the new style without switching to `#lang scribble/manual`,
use `manual-doc-style`.

Related changes include the addition of `css-style-addition` and
`js-style-addition`.
2013-11-16 14:38:59 -07:00
Matthew Flatt
38752b2aa2 fix build for platforms with disabled threads + inline allocation 2013-11-14 07:43:21 -07:00
Matthew Flatt
6e983482bb add flrandom and unsafe-flrandom 2013-11-13 13:40:15 -07:00
Matthew Flatt
8039f8177d make random slightly faster on 64-bit machines in integer mode
Exploit the fact that a 32-bit range fits in a fixnum.
2013-11-12 20:17:03 -07:00
Matthew Flatt
c81a468bc4 annotate some primitives as "immediate"
This annotation is useful mainly for functions that might be called
frequently from JIT-generated code.
2013-11-12 20:17:03 -07:00
Matthew Flatt
13a3c6c5c8 raco pkg: adjust error messages that include command-line flags
A new `#:from-command-line?` argument to various functions indicates
whether error messages should try to suggest command line flags (since
the suggested flags do not make sense for other contexts, such as the
GUI package manager).
2013-11-12 09:12:56 -07:00
Matthew Flatt
cb943909e4 raco pkg update: implies package dependencies are always updated
.. where "always" means "unless `--ignore-implies` is specified".
2013-11-12 09:12:56 -07:00
Matthew Flatt
9afa50b459 fix runtime-require duplicate path registration 2013-11-11 05:27:08 -07:00
Matthew Flatt
abe3647b67 fix deserialize submodule fallback
Fallback checked original module only if `deserialize-info` was
missing, but it's possible to have a mixture of `deserialize-info`
and original-module exports.
2013-11-08 20:15:26 -07:00
Matthew Flatt
90142edc5b serializable-struct, etc.: export deserialization info in submodule
This change is slightly incompatible, because `serializable-struct`,
`define-serializable-struct`, and `define-serializable-class` no
longer `provide` and identifier that they used to. Instead, the identifier
is provided by a `deserialize-info` submodule.

The deserializer looks for a `deserialize-info` submodule, and then
falls back to using a module if the submodule is not available.
2013-11-08 18:13:43 -07:00
Matthew Flatt
846c247aa3 raco exe: fix problem with dynamically resolved relative submodules 2013-11-08 18:13:43 -07:00
Matthew Flatt
ae941ac9d8 racket/runtime-path: add runtime-require
The `runtime-require` form is especially useful for ensuring
that a submodule will be pulled along with its enclosing module.
2013-11-08 18:13:42 -07:00
Matthew Flatt
8722653664 fix some misleading error messages
The misleading message that dropped submodule paths.
2013-11-08 18:13:42 -07:00
Vincent St-Amour
1bf4429e49 Add `module*' to syntax/parse's kernel-literals. 2013-11-08 16:43:08 -05:00
John Clements
63194b4229 adjusted arg to raise-argument-error to produce sensible error msg 2013-11-07 20:05:51 -08:00
Matthew Flatt
ab1e54ff4a raco pkg: repairs for SQLite-based catalogs 2013-11-06 15:55:50 -07:00
Matthew Flatt
2872f83a17 raco pkg: use a download cache
Downloaded files are keyed on the source URL and checksum, and the
cache is used only when a checksum is known.

The cache addresses two situations:

 * when installing many packages over an unreliable connection,
   the cache effectively lets a retry pick up where a previous
   attempt failed

 * when creating clean builds frequently, the downloads from a
   previous build can be reused (as long as the package's checksum
   does not change)

The cache location and limits are configurable, and they default to
a subdirectory in the user's add-ons directory (not version-specific),
1024 files, and 64 MB.

If a failure happens during staging (checksum and unpackaging) of a
package that has an entry in the cache, the entry is removed. The
file-cache library, meanwhile, implements a limit on the cache size
and defends against uncooperative filesystems.
2013-11-06 15:15:56 -07:00
Matthew Flatt
0ac601db66 add file/cache
In base, so it can be used by the package manager.
2013-11-06 14:36:43 -07:00
Matthew Flatt
02bbccc200 call-with-file-lock: fix port leak on error escape 2013-11-06 14:36:43 -07:00
Jay McCarthy
3d15fb3c1d Fix PR14142 by allowing 'tolerant' line endings acording to Appendix B of the HTTP spec 2013-11-05 11:03:06 -07:00
Jay McCarthy
b61198ec3f Fix PR 14140 2013-11-04 15:50:03 -07:00
Matthew Flatt
d23d2f8c5b path-replace-suffix: raise exception when result should be an empty path 2013-11-03 10:04:00 -07:00
Matthew Flatt
afcecc73f1 {string,bytes}->path-element: error on empty [byte] string 2013-11-03 09:57:26 -07:00
Matthew Flatt
f6cfd14c5e shutdown custodian-managed subprocesses on exit 2013-11-03 09:25:15 -07:00
Matthew Flatt
b431d8fea1 launcher ".desktop" handling: preserve existing Exec= content 2013-11-02 20:37:36 -06:00