Commit Graph

31387 Commits

Author SHA1 Message Date
Robby Findler
5059db47d3 adjust the installation package GUI so it doesn't install during
and installation (ditto update)

closes PR 14263

this may be a release branch candidate. I'm not sure myself, but the PR
sounds worrying.

If it should be considered, then this is the relevant diff (since more than
half of the diff is whitespace changes) to the file pkg/gui/main:

@@ -57,6 +57,8 @@

   (define terminal #f)
   (define (in-terminal-panel abort-label thunk)
+    (cond
+      [(or (not terminal) (send terminal can-close?))
     (send dlg begin-container-sequence)
     (when terminal (send terminal close))
     (define t (in-terminal
@@ -71,7 +73,10 @@
     (disallow-close)
     (send dlg end-container-sequence)
     (yield (send t can-close-evt))
-    (allow-close))
+       (allow-close)]
+      [else
+       (message-box (string-constant install-pkg-dialog-title)
+                    (string-constant install-pkg-not-rentrant))]))
2013-12-28 20:50:29 -06:00
Matthew Flatt
92872addf2 fix some tests 2013-12-28 19:55:32 -06:00
Matthew Flatt
0db19423b4 raco test: add DrDr-like modes
Run tests in separate processes, support tests in
parallel, flag tests with non-zero exit codes or
stderr output as failing, add timeout support, etc.

Use the `--drdr` flag as a shorthand for DrDr-like flags.
The `--drdr` flag causes `raco test` to check for a `drdr`
submodule, then a `test` submodule, then run the module
directly. (The idea is that DrDr will eventualy try the
same sequence.) A test can declare an alternate timeout
through a `config` sub-submodule (and the idea is that
"props" will go away).
2013-12-28 19:55:31 -06:00
Matthew Flatt
5ea4c2ab68 fix sync on place with no writers
A `sync` on a place whose initial channel is known to have no writers
could trigger a place result instead of blocking on the place.
2013-12-28 19:55:31 -06:00
Matthew Flatt
94771f16ed fix race in place termination
A place claimed to be done according to `place-wait` before its
clean-up actions ran, including flushing output ports. Fix the
order.
2013-12-28 19:55:31 -06:00
Matthew Flatt
f6b8f734f3 convert ".rktl" test entry points to ".rkt" 2013-12-28 19:55:31 -06:00
Robby Findler
0edcbf3f82 fix bug in ->* contract combinator
that would cause the optional and mandatory keyword arguments
to get mixed up in certain situations
2013-12-28 16:15:25 -06:00
Robby Findler
b591729891 tighten contracts in a way that appears
consistent with their behavior and their
documentation
2013-12-27 21:28:42 -06:00
Robby Findler
c12a6bea0e Be wary that the default-shortcut-prefix might be
duplicated in a menu item prefix
2013-12-27 21:28:42 -06:00
Eric Dobson
ec75e9ae08 Add rackunit HISTORY.txt for version 6.0. 2013-12-25 06:59:21 -08:00
Matthew Flatt
22513439ff raco setup: fix dependency checking for "racket" package
Possibly, only "base" should depend on "racket", while the version
number of "base" should track the version number of "racket".
2013-12-24 18:00:38 -06:00
Matthew Flatt
4fbea1376e scribble & slideshow: move detail-change notes into docs 2013-12-24 18:00:38 -06:00
Matthew Flatt
99daa9b34d in-directory: add optional argument to filter directories 2013-12-24 18:00:38 -06:00
Matthew Flatt
3f30400a59 scribble/manual: add history
Also, show supplying package in providing-package hover at
definition sites.
2013-12-24 18:00:37 -06:00
Matthew Flatt
f5cfcfecfe setup/command-name: drop ".exe" in short form 2013-12-24 15:38:29 -06:00
Matthew Flatt
1f2012a106 Windows: fix reported exe name in "independent" launchers
For example, make `raco exe --wrong` show "raco" instead of "racket"
as the error-reporting program. Normally, only `raco` and `setup-plt`
are implemented as "independent" launchers, because it's needed for
bootstrapping.
2013-12-24 15:38:28 -06:00
Robby Findler
06598dd5c7 forgot to add a file to the last commit 2013-12-24 15:34:51 -06:00
Robby Findler
e28b63e056 improve the speed of "second order" -> contacts
to bring them back in line with how they were before the
first order special-casing happened
2013-12-24 15:02:38 -06:00
Matthew Flatt
fd487b86a3 make installers: fix quoting for windows/bash ssh 2013-12-24 09:54:16 -06:00
Matthew Flatt
85c85b02b9 mzcom: fix rebuild when version changes 2013-12-24 06:56:03 -06:00
Mike Sperber
3836aebecf Synch German string constants with latest. 2013-12-22 16:18:11 +01:00
Matthew Flatt
6858b8df90 fix problem with doc database in read-only mode
Now that the documentation-build phase of `raco setup` uses read-only
mode, contention between writing and reading sometimes (though
infrequently) triggers an SQLITE_IOERR_LOCK error. Change the SQLite
binding to expose that specific error, as well as SQLITE_IOERR_BLOCKED,
because a retry of the affected operation is appropriate.
2013-12-21 14:37:17 -07:00
Ryan Culpepper
06aa4770f1 fix sqlite rollback-transaction in case of auto-rollback error
Merge to release branch.

An invalid (needs-rollback?) transaction may correspond to a closed
underlying transaction. In that case, don't issue ROLLBACK command.
2013-12-21 10:24:39 -05:00
Vincent St-Amour
15b333a0a6 Add history file for the profiler. 2013-12-21 10:02:18 -05:00
Jay McCarthy
9012f7b3d6 Adding suggestion about 1.0 package versions 2013-12-20 16:31:28 -07:00
Jay McCarthy
490e21ff07 Use Racket navbar on pkgs. and have navbar link to pkgs.
Open question: Where does link to Planet go? Sam's new design has a natural place, but on the old site... it's not clear, community?
2013-12-20 16:31:27 -07:00
Jay McCarthy
7faab4d617 Fix PR14216 2013-12-20 16:31:27 -07:00
Jay McCarthy
6c4650ebbd Remove secret information from pkg error messages 2013-12-20 16:31:27 -07:00
Jay McCarthy
abc8b301d0 Fix typo on pkg site 2013-12-20 16:31:27 -07:00
Robby Findler
438942c059 update HISTORY based on some of Jay's changes
please include in 6.0
2013-12-20 15:44:37 -06:00
Jay McCarthy
2e5a89e682 Correct pkgs urls, please include in v6 2013-12-20 14:08:11 -07:00
Asumu Takikawa
c75e84a372 Add a HISTORY file for unstable
Note: I tried to reconstruct some history back
to 5.3.4, but it's not complete.

Please merge to v6.0
2013-12-20 15:15:06 -05:00
Asumu Takikawa
8c6cf7395d Update HISTORY
Please merge to v6.0
2013-12-20 14:55:20 -05:00
Matthew Flatt
dc526f95f3 fill in some missing history notes
Merge to v6.0
2013-12-20 06:23:13 -07:00
Robby Findler
4408cdcfe4 add missing HISTORY entries based on my changes leading up to 6.0
Please merge to 6.0 (some of the history files already have
post-6.0 notes in them, but hopefully this patch still applies
cleanly)
2013-12-19 22:35:57 -06:00
Matthew Flatt
fb398e123e raco setup: fix corners where db might not exist
Using something like `raco pkg remove` in an incompletely
set up installation could lead to failures attempting to
access a database file that isn't there.
2013-12-19 14:42:48 -07:00
Matthew Flatt
bfb4af3e84 raco: use executable yield handler before existing
Makes `raco` wait as it should for a GUI tool.

Closes PR 14261
2013-12-19 14:34:59 -07:00
Matthew Flatt
a31ee1be64 compiler/zo-structs: fix docs to note 'fixnum and 'flonum types 2013-12-19 14:20:54 -07:00
Matthew Flatt
fe12a32dc3 fix closure type tracking for a procedure with only an unused rest arg
Closes PR 14259
2013-12-19 14:19:01 -07:00
Matthew Flatt
75daeecdb1 increase timeout of raco exe test suite 2013-12-19 12:54:08 -07:00
Matthew Flatt
01eece18a7 dynamic-require: fast path for re-exported variables
When `dynamic-require` is used to access an export that isn't a
variable defined in the same module, `dynamic-require` falls
back to `eval` in a fresh namespace, which can be expensive.
The new fast path handles the case that a variable is re-exported.

The new fast path is relevant to deserialization, which now
uses a submodule that re-exports from an enclosing module.
2013-12-19 12:35:29 -07:00
Matthew Flatt
abc174e16c scribble: fix a test to make it independent of the enclosing package 2013-12-19 07:01:04 -07:00
Ryan Culpepper
d0e8e715b4 remove extraneous CRLF after message-body
RFC2616 section 4.1 (http://www.ietf.org/rfc/rfc2616.txt):
"... an HTTP/1.1 client MUST NOT preface or follow a request
with an extra CRLF."
2013-12-19 01:34:04 -05:00
Ryan Culpepper
6f94215f92 apply signature in productbuild, not pkgbuild
Merge to release branch.
2013-12-19 00:12:04 -05:00
Matthias Felleisen
559af9b35c history for 2htdp teachpacks 2013-12-18 22:04:34 -05:00
Matthew Flatt
fb57989685 enable scribble tests for DrDr 2013-12-18 18:54:34 -07:00
Laurent Orseau
fc3321481c Scribble->Markdown titles are now rendered correctly. Sections have been shifted by one level (which also looks better on Github).
Markdown: fix defmodule to avoid printing the package in the example

fix markdown example file to make test pass
2013-12-18 18:53:55 -07:00
Matthew Flatt
e99c03be4d at-exp reader: fix source locations in read error message
A change in `raise-reader-error` to use `srcloc->string` caused
tests to fail because `srcloc->string` doesn't show location
information if the source is #f.
2013-12-18 18:49:39 -07:00
Matthew Flatt
a8f2405b4b fix rendering of column by srcloc->string 2013-12-18 18:49:38 -07:00
Asumu Takikawa
401c4dd0a6 Test the error message instead of a predicate
This test was broken prior to commit 370c4bd but
didn't fail because the test harness didn't test for
the right error.
2013-12-18 19:25:17 -05:00