Commit Graph

35041 Commits

Author SHA1 Message Date
Robby Findler
c79a5573f9 make enumerations print the prefix of their enumeration 2014-11-26 09:22:14 -06:00
Sam Tobin-Hochstadt
5612ebef02 Fix merge error. 2014-11-26 10:17:20 -05:00
Sam Tobin-Hochstadt
7a825016e9 Install, build, and test specified pkgs in DrDr.
Initially just a test pkg, with a fixed source.
2014-11-26 10:13:45 -05:00
Matthew Flatt
bbd781f04e package manager test: try to make the --clone tests work on DrDr 2014-11-26 08:04:17 -07:00
Sam Tobin-Hochstadt
89d0d11091 Add dummy file as part of DrDr transition in PR #833. 2014-11-26 09:54:27 -05:00
Matthew Flatt
dd02cf8952 pkg catalog-update: install updates as a single transaction
Relevant to PR 14848
2014-11-26 06:53:03 -07:00
Matthew Flatt
596a4f655c pkg/db: add support for grouping calls as a single transaction
Also avoids reundant table-preparation checks for calls that are
grouped together.
2014-11-26 06:53:03 -07:00
Matthew Flatt
7596668762 pkg/db: fix some missing table preparations 2014-11-26 06:47:28 -07:00
Matthew Flatt
92e00de9f3 Scribble manual: make "Images" section in ToC be useful
Remove the "Images" section for `scribble/manual`, add an "Images"
section for `scribble/base`.

As suggested by Shriram.
2014-11-26 06:47:28 -07:00
Robby Findler
833d626d67 mention the paper that this model comes from 2014-11-26 07:32:02 -06:00
Robby Findler
a12f77f36e adjust changes in 8027e48 so that we see intermediate
output during flushes instead of collecting the entire
contents of the buffer before flushing (at least in the
more common case)
2014-11-25 22:16:56 -06:00
Robby Findler
0083f1c9ae fix bug in c53c29d9 2014-11-25 22:16:56 -06:00
Matthew Flatt
5fca59e2ed fix problems with continuations & sharing
When continuation C2 extends continuation C1, C2 shares the copy
of the internal stack with C1. It needs to skip the bit of
C1's stack that corresponds to arguments to `call/cc`, though.
That skipping assumed that `call/cc` takes 1 argument, but it can
take 2. The bug broke `racklog`, which captures continuations using
its own prompt. (It seems like there should be a simple test that
is independent of Racklog, but I couldn't construct it.)

Meanwhile, the continuation shouldn't retain the arguments to
`call/cc`, so clear them. (That was easy to test.) Sharing still
has to compensate for the locations of the arguments, though.
2014-11-25 16:37:41 -07:00
Vincent St-Amour
52f33231fa Make contract profiler's path shortening more robust. 2014-11-25 18:29:05 -05:00
Matthew Flatt
6e473958de raco setup: use proper namespace for info-domain setup
With the wrong namespace, then installing and updating a package
within the GUI package manager would not pick up an info-domain
change for the updated package.
2014-11-25 12:34:36 -07:00
Matthew Flatt
ae9e9dc5e2 GUI package manager: remember selected DWIM file or directory 2014-11-25 12:34:36 -07:00
Matthew Flatt
84cb19d108 GUI package manager: better strecthing mode for the DWIM panel 2014-11-25 12:34:36 -07:00
Matthew Flatt
4fee662ad8 in-terminal: add a close-calllback argument 2014-11-25 12:34:36 -07:00
Sam Tobin-Hochstadt
3bbdd134b1 Remove stray reference to Racket in LICENSE files.
Related to PR 14842.
2014-11-25 14:09:57 -05:00
Robby Findler
c53c29d9d8 fix bug in 8027e48 2014-11-24 22:23:39 -06:00
Matthew Flatt
3f44372e25 raco setup: better error reporting for failure during doc move 2014-11-24 16:27:11 -07:00
Matthew Flatt
6096d567af make-path->relative-string: handle immediate directory path 2014-11-24 16:27:11 -07:00
Matthew Flatt
d0b94f48e0 {chaperone,impersonate}-procedure*: fix argument propagation
Fix the "self" argument propagation through an impersonator that has
no redirection function (but that probably has impersonator
properties).

Closes PR 14852
2014-11-24 16:27:11 -07:00
Matthew Flatt
ac5961eae9 text%: avoid O(n^2) behavior on string insert
Break large inserts into smaller chunks by successively halving the
chunk, instead of successviely peeling off a small part. Also, avoid
traversals and re-traversals of a long line while checking and
breaking up lines.
2014-11-24 16:27:11 -07:00
Matthew Flatt
ce4f41bc72 racket/draw: fix ok? result for too-large bitmap creation
Use cairo_surface_status() to check whether creation succeeded.
2014-11-24 16:27:11 -07:00
Matthew Flatt
f02bfbd11e racket/snip: fix bug in splitting string snips 2014-11-24 16:27:11 -07:00
Asumu Takikawa
51099e660e Fix typo in GUI docs 2014-11-24 15:10:30 -05:00
Robby Findler
c11a83c1dd clarify materialize-user-docs docs 2014-11-24 09:27:39 -06:00
Robby Findler
eb0f88939a use materialize-user-docs in drracket
closes PR 14844
2014-11-24 09:25:02 -06:00
Robby Findler
9d6265d9aa make <menukey>-k (kill program) clear pending io
related to PR 14851

When sending a giant bytes via write-bytes, we can get into a situation
where there are lots and lots of bytes inside the port that haven't yet
been put into the repl's text% but that will, eventually, even though
the program is dead. The commit clears out any such pending IO
2014-11-23 21:11:06 -06:00
Robby Findler
8027e4872a adjust text:ports to better deal with giant amounts of bytes
by splitting them up and using separate events so other work
can also happen while the insertion is going on.

This change also changes the queue-callback for IO insertion
to be a low-priority callback. This should have been the case
before, I think, but it is a bit surprising it wasn't and so
this may also cause other problems

closes PR 14851
2014-11-23 21:10:54 -06:00
Matthew Flatt
89ca0c26ce add setup/materialize-user-docs and related raco setup flags
The new library provides a way to force a user-specific documentation
etry point into existence. Normally, that would happen when a package
with documentation is installed in user scope. After the entry point
exists, then it sticks around even if all user-scope packages are
removed. In some cases, it may be useful to force the entry point into
existence as if packages had been installed and removed.

(This might be useful for avoiding a quarantine on installed
documentation files on Mac OS X, or a trampoline might be better.)
2014-11-23 10:51:07 -07:00
Matthew Flatt
b2a919af40 raco pkg {install,update}: help users keep repo clones consistent
When packages A and B have the same Git repository source, and
when at least one of them is linked as a repository clone, then
the package system doesn't require A and B to both be linked or
both be linked to the same clone... but that can lead to confusion
for users. The package manager now detects this situation and in
many situations can update non-clones to make then clone links
at the same repository.
2014-11-23 07:32:35 -07:00
Matthew Flatt
37a209b60e net/git-checkout: finish support for "dumb" HTTP(S)
Full dumb-server support is even more useful for testing.
2014-11-23 06:31:01 -07:00
Matthew Flatt
8498eff8ef raco pkg {install,update}: track Git repo source from a catalog
When a package is installed via a catalog, and the source provided
by the catalog is a Git repostory, then allow `--clone` to use
that repository when just the package name is given.
2014-11-23 06:31:01 -07:00
Matthew Flatt
6379aaddef raco pkg {install,update}: add --clone <dir> mode
Using `--clone <dir>` with a Git-based package source causes the
package installation to be linked to a clone of the repository
as a subdirectory of <dir>. The package can be developed locally
in the usual way with Git tools, but `raco pkg update` can itself
pull updates to the package/repository.

See the new chapter 6 in "Package Management in Racket" for
more information.
2014-11-23 06:31:01 -07:00
Matthew Flatt
04f5fe3815 net/git-checkout: support "dumb" protocol for discovery
Supporting just reference discovery can be useful for certain
testing configurations.
2014-11-23 06:31:01 -07:00
Matthew Flatt
389e971cea FFI docs: fix some missing links 2014-11-23 06:31:01 -07:00
Jay McCarthy
9214349612 Adding data/enumerate/lib 2014-11-22 08:38:48 -08:00
Jay McCarthy
9ea2a35307 Removing dead file 2014-11-21 13:48:16 -08:00
Jay McCarthy
8dd7a3daaf Switching to use data/enumerate rather than home grown 2014-11-21 13:43:20 -08:00
Jay McCarthy
db824a3cbe slimming godel deps 2014-11-21 13:32:06 -08:00
Robby Findler
21964bd89e add some tests to help when porting to new enumeration combinators 2014-11-21 15:20:14 -06:00
Robby Findler
f0b2e429f5 fix docs for color% constructor to match implementation 2014-11-21 15:10:06 -06:00
Sam Tobin-Hochstadt
bb83f51a28 Avoid trying to check dependencies for planet packages. 2014-11-21 14:18:31 -05:00
Sam Tobin-Hochstadt
b1d4dd382c Port the slidey game to Typed Racket.
Work done by Earl Dean.
2014-11-21 14:18:31 -05:00
Asumu Takikawa
85b70aef7f Fix infer-self-type for depth overriden methods
When an overriden method implements a subtype of the superclass
type, sometimes the typechecker gets confused what the type should
be in the resulting class type.
2014-11-21 14:17:16 -05:00
Robby Findler
983eaa5284 change the number printed at the bottom of tally maze to be the board
index of the current board, not the initial board
2014-11-21 08:55:38 -06:00
Asumu Takikawa
591147dd02 Fix with-type when used at the top-level
In some situations, with-type would fail to clean up its
state before reporting an error at the top-level.
2014-11-21 02:07:11 -05:00
Asumu Takikawa
381078510a Remove unused requires in TR 2014-11-21 01:46:52 -05:00