Commit Graph

30116 Commits

Author SHA1 Message Date
Matthew Flatt
83d3304cdc update Guide to describe adding a collection via a package 2013-08-25 08:27:00 -06:00
Matthew Flatt
94d61b9e96 adjust DrRacket to not compile files in installation's "share"
This rule supplements the old (but now less applicable) rule to
never add debugging-compiled files in the main installation's
"collects" directory.

Note that the new rule does not prevent compilation in
main-distribution packages that are linked, as in the development mode
set up by `make' in the Racet repository's top-level directory.
I think that's probably ok, since the intent of the check is mainly
just to not write to shared installation spaces, which shouldn't be
an issue for development mode.
2013-08-25 06:17:31 -06:00
Matthew Flatt
100cc0f84e fix `{put,head}-[im]pure-port'
Connection wasn't converted to a port, and included a repeated
layer of chunk decoding.
2013-08-24 15:21:06 -06:00
Matthew Flatt
7e0d3beb67 ARM JIT: avoid direct use of __aeabi_... for software fp 2013-08-24 12:28:25 -06:00
Matthew Flatt
0b8e764e99 ARM JIT: fix soft-float `round'
Use our own implementation of round(), since the round()
function might be missing.
2013-08-24 10:39:09 -06:00
Asumu Takikawa
eb6e49e32e Fix hash-clear doc typos 2013-08-23 15:22:20 -04:00
Jay McCarthy
f7cc409351 Fix typo 2013-08-23 13:07:14 -06:00
Jay McCarthy
e8bafbd9b9 Adding net/http-client and using it underneath net/url 2013-08-23 12:41:37 -06:00
Jay McCarthy
7d0471cd8d Speed up test 2013-08-23 12:41:37 -06:00
Jay McCarthy
4081ff0155 Fixing PR13973 2013-08-23 12:41:37 -06:00
Jay McCarthy
c56c72f64e Sync script update re reorg 2013-08-23 12:41:37 -06:00
Jay McCarthy
0b3f9a9a78 Fix contract 2013-08-23 12:41:37 -06:00
Robby Findler
3c439a7731 change the default colors a bit based on color-blindness feedback
- paren color from brown to a neon blue
- string and number constants from green to a bright purple
- lighten the comment color

the basic problem is to try to keep the red error color very distinct
from the others and try to keep the others distinct from each other
(but that's less important)
2013-08-23 10:40:57 -05:00
Robby Findler
9511cb89cd properly guard use of andmap in redex 2013-08-23 10:40:56 -05:00
Matthew Flatt
e1efd2d98f package system: change syntax of a GitHub package source to "git://..."
Besides changing the URL scheme, the tag or branch is optional and
specified as a fragment (inspired by npm). Also, any subpath is expressed
as a "path=..." query (which similarly avoids giving a different meaning
to URLs than `git' itself would). The repository name can have a ".git"
suffix.

The "github://..." format is still supported for compatibility, but
`--type github' adds "git://..." instead of "github://..." if
neither is already present (which is incompatible, since branches
and tags are handled differently for the two forms).

Closes PR 13656

(See the PR for a discussion and my rationale for this choice.)
2013-08-23 07:40:45 -06:00
Matthew Flatt
33c1a7349d SRFI docs: fix inclusion of static, standard documents 2013-08-22 14:26:28 -06:00
Matthew Flatt
52da62a956 setup/dirs: fix "config.rktd" reader 2013-08-22 10:44:26 -06:00
Matthew Flatt
e7d300d238 raco pkg: improve package-source checking and error reporting 2013-08-22 07:58:49 -06:00
Matthew Flatt
d901504174 allow hash-table chaperones to support efficient hash-clear[!] 2013-08-22 07:50:42 -06:00
Matthew Flatt
9f68533f82 scribble/bnf: use 'roman for all BNF metasyntax
This change solves a long-standing problem with using @nonterm{}
inside @tt{} or other constructors that change the font, where
the font would be different (and uglier) than uses outside of font
changes.
2013-08-21 19:59:10 -06:00
Matthew Flatt
2084f94c47 scribble: add 'roman as a built-in element style 2013-08-21 19:59:10 -06:00
Matthew Flatt
1cf06ae138 package-manager documentation edits 2013-08-21 19:59:10 -06:00
Asumu Takikawa
7ea19bf951 Require Procedure contract to be a chaperone
Closes PR 13746
2013-08-21 17:07:36 -04:00
Asumu Takikawa
8a685777ff Fix contract hyperlinks in pconvert docs 2013-08-21 13:45:44 -04:00
Matthew Flatt
c16c04dab0 GUI package manager: further refinements
Use better labels, such as "Available from Catalog" instead of "By List"
or "Do What I Mean" instead of "By Source".

Add filter box to the "Currently Installed" panel, andmake status marker
the same as on "Available from Catalog".
2013-08-21 11:11:02 -06:00
Matthew Flatt
ef54fc470c mrlib/terminal: add options 2013-08-21 10:55:25 -06:00
Matthew Flatt
76aa80c0e9 racket/gui: fix problem with reparent and container sequences
In a container sequence, hides and shows are delayed, but
reparenting needs the hide operation to really complete.
2013-08-21 09:20:12 -06:00
Matthew Flatt
3201f1330a raco pkg install: make --force override scope-conflict errors
It's possible that an installation will have a package X already and
a user wants to install a different X. To make it all work out,
the user may have to also install a new Y for every installation-scoped
Y that refers to X --- maybe not easy, but at least possible as
a last resort.
2013-08-20 20:53:58 -06:00
Matthew Flatt
ae35be36d8 minor adjustment to the GUI package manager
Avoid using some GUI elements in the wrong thread, just in case.
2013-08-20 18:10:23 -06:00
Matthew Flatt
bb65242f64 fix various problems with the GUI package manager 2013-08-20 17:17:57 -06:00
Matthew Flatt
e2247fe0a5 mrlib/terminal: fix eventspace handling in non-frame mode 2013-08-20 16:42:59 -06:00
Matthew Flatt
f371032a34 protect package-source parsing against non-path strings 2013-08-20 15:48:15 -06:00
Matthew Flatt
83a813b1e5 GUI package manager: fill in functionality
Add supoprt for various operations that became available in the
command-line interface.
2013-08-20 15:27:33 -06:00
Matthew Flatt
c0af1fe4bd pkg: allow path string as `#:scope' argument 2013-08-20 15:27:33 -06:00
Matthew Flatt
0ecd04787a racket/gui: add 'disallow-invalid style to `get-text-from-user' 2013-08-20 15:27:33 -06:00
Matthew Flatt
b24eb311dd racket/gui: adjust label size on some controls
Extra margins added by instantiating `message%' inside
`radio-box%', etc., made labels line up especially badly.
2013-08-20 15:27:33 -06:00
Matthew Flatt
ccead82841 raco pkg install: add --update-deps flag
This option makes install and update even more consistent, also
`--auto` still implies `--update-deps` only in update mode.

Make `--update-deps' consult the user in `search-ask' mode,
make it ignored in `fail' or `force' mode.
2013-08-20 15:27:33 -06:00
Matthew Flatt
21d3c168a0 support file:// URLs as package sources 2013-08-20 15:27:33 -06:00
Robby Findler
ffd4ea5b6c improve source location reporting in 2dmatch for empty cells
to make this happen, change the 2d reader so that it puts more
specific source location information into the read form
2013-08-20 12:59:28 -05:00
Robby Findler
afb99f1e0d increase the resolution of the fairness tests
(they failed in Travis)
2013-08-20 08:00:52 -05:00
Matthew Flatt
e4d9a99aee typesetting repairs for "info.rkt" docs 2013-08-20 06:52:37 -06:00
Matthew Flatt
37106d703e fix doc cross-reference 2013-08-20 06:47:36 -06:00
Matthew Flatt
9e6809caba fix `planet/version'
Closes PR 13975
2013-08-20 06:42:44 -06:00
Matthew Flatt
e02e04ff2a fix `hash-clear!' on impersonated hash tables
Closes PR 13977
2013-08-20 05:52:47 -06:00
Robby Findler
5f0c06956a adjust the square-bracket prefs so they are saved
relative to some default settings instead of saving
the actual values

so changes to the default imply changes to everyone's actual
values for the prefs

closes PR 13810
2013-08-20 00:20:28 -05:00
Robby Findler
5b7532c864 don't evaluate (sync (system-idle-evt)) since it might not
come true in a parallel build

Thanks to Asumu for spotting this.
2013-08-19 23:39:00 -05:00
Robby Findler
940ccc8b5c adjust the way the tabify preferences are saved so that new
additions to the default preferences are seen by everyone

related to PR 13810
2013-08-19 23:39:00 -05:00
Matthew Flatt
a4b994c3cb Revert "Revert "make user PLaneT install path use installation name instead of version""
This reverts commit de230bc1ef.

Now that path computatons are built in, and now that the sandbox allows
reading the configuration file, using the installation name doesn't
break with sandboxing.
2013-08-19 17:54:20 -06:00
Matthew Flatt
220b284175 find-collects-dir' and find-config-dir' as built-in, cache values
The computations already existed in the built-in code, so moving
the functions reduces code duplication. Caching the values will
save a little time, but mostly it will avoid sandbox interactions
with the task of locating the main "collects" and "etc" directories.
2013-08-19 17:54:20 -06:00
Matthew Flatt
aa6a11a8aa racket/sandbox: allow read of pkg- and config-table files 2013-08-19 14:47:56 -06:00