Commit Graph

30195 Commits

Author SHA1 Message Date
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
Matthew Flatt
31c7101ec7 raco pkg: make search-ask mode work for Windows (CRLF)
More generally, trim leading an dtrailing whitespace from answers.
2013-08-19 07:17:48 -06:00
Matthew Flatt
5efab46f5a net/win32-ssl: handle eof (connection closed by server) 2013-08-19 06:58:19 -06:00
Matthew Flatt
1b7819dcd5 Windows: disable message box from system errors
For example, disable a message box for DLL links errors.
2013-08-19 06:34:18 -06:00
Eli Barzilay
a2122418ae Fix a use of `fresh-line'.
Needs to do it when the relevant stderr is in effect.

Fixes PR 13744, except that something like this is still bad:

  (with-output-to-file "/tmp/foo" #:exists 'append
    (lambda ()
      (parameterize ([current-error-port (current-output-port)])
        (/ 1 0))))

But I think that it's a bad idea for the error display handler to be
called with the locally set port -- described in PR 13974.
2013-08-19 02:37:21 -04:00
Robby Findler
0e1a380f49 attempt to clarify the eof insertion that drracket's repl does
also fix some interactions that were using old-style printing
(but in #lang racket, which doesn't print that way)
2013-08-18 18:13:40 -05:00
Matthew Flatt
a961b63a25 distro-build/drive-clients: print time before each command 2013-08-18 17:08:57 -06:00
Robby Findler
5d7faf4c72 fix a bug introduced in efd2683301
The bug meant that teachpacks whose names ended
in the extension .ss didn't work right.
2013-08-18 14:39:49 -05:00
Matthew Flatt
e4a4a52ea9 raco pkg install: fix problem with version-triggered updates 2013-08-18 13:38:48 -06:00
Matthew Flatt
884c0bef02 fix problem with inferred package scope
When the user-scope package database hasn't been created, a
parameter to avoid changing the database without a lock
was interfering with other scopes.
2013-08-18 13:23:58 -06:00
Matthew Flatt
67b37add95 make "base" depend on "racket-lib"
The "racket-lib" package has dependencies on native libraries
that are useful to the base libraries (currently only on
Windows).
2013-08-18 12:29:18 -06:00
Matthew Flatt
d9e226824f net/win32-ssl: a native Windows SSL layer
This implementation of SSL ports is less complete than `openssl', but
it's complete enough to drive HTTPS, and so it can be used to download
a package that provides the DLLs needed for the `openssl' library.

The `net/url' library uses `net/win32-ssl' on Windows when `openssl'
is not available (due to the absence of the OpenSSL DLLs).
2013-08-18 10:57:04 -06:00
Robby Findler
2a2ea729ee make drracket's language dialog cope with the
absense of all teaching languages a bit better
2013-08-17 21:13:36 -05:00
Robby Findler
908b036347 fix PR 13970 is a slightly less ugly way 2013-08-17 20:47:05 -05:00
Robby Findler
ef13798cd5 fix circle docs
closes PR 13971
2013-08-17 20:47:04 -05:00
Matthew Flatt
d77004276d meta/pkg-push/push-catalog: don't run in DrDr 2013-08-17 14:00:35 -06:00
Matthew Flatt
80c72ad1dd make the quick install instrustions jusr a little slower
Highlight the git submodule issue, which is likely to surprise anyone
who tries to build on Mac OS X or Windows.
2013-08-17 13:54:34 -06:00
Matthew Flatt
73c458bba0 remove -p' in Windows mkdir' 2013-08-17 13:43:22 -06:00
Matthew Flatt
425ed7b292 fix benchmark harness for compiled test directories
The benchmark harness was written with the assumption that
"compiled" would not exist, but compilation of tests is enabled
by default.
2013-08-17 12:10:51 -06:00
Matthew Flatt
b22b23a8aa fix GUI package manager by-source install
Closes PR 13970
2013-08-17 11:29:30 -06:00
Matthew Flatt
f93f488a5a add PLT_DUMP_JIT_RANGES
This variable is intended to support machine-code tracing
experiments. To enable a dump of ranges on exit, both
define PLT_DUMP_JIT_RANGES at compile time and as an environment
variable at run time.
2013-08-17 08:42:15 -06:00
Robby Findler
9888c7f496 on second thought 5aeca646 is probably wrong and this is probably the right fix
The keys.ss framework test suite seems to confirm this fix, altho
I'm not sure how exactly.

Also tweak the stress test
2013-08-17 08:07:28 -05:00