Commit Graph

30776 Commits

Author SHA1 Message Date
Eric Dobson
67fba30c09 Add simpler way of logging optimizations 2013-09-03 08:12:03 -07:00
Eric Dobson
10ffb52968 Add opt-expr and define-literal-syntax-class in utils. 2013-09-03 08:09:47 -07:00
Eric Dobson
7a7e1cbbcc Remove lfilters and make true/false-filter have a - prefix. 2013-09-03 08:00:52 -07:00
Eric Dobson
86b3022db0 Make require/typed check its input more thoroughly.
Closes PR 13962.
2013-09-03 08:00:51 -07:00
Eric Dobson
a56b1f11fd Make opt-parent shared across different uses. 2013-09-03 08:00:51 -07:00
Eric Dobson
f8f989e8c6 Remove unused dependencies. 2013-09-02 21:56:08 -07:00
Eric Dobson
281c9f5d82 Remove unused require. 2013-09-02 17:54:13 -07:00
Carl Eastlund
10bce2b472 Constructed a test related to PR 13982. 2013-09-02 19:35:17 -04:00
Carl Eastlund
aa4b31ef3f Changing Typed Racket test back to using set?, the line I had just changed
was supposed to be the more specific predicate.
2013-09-02 16:07:15 -04:00
Carl Eastlund
d2c81b6baa Renamed set? to generic-set? in Typed Racket test. 2013-09-02 15:33:26 -04:00
Tobias Hammer
49fec550c9 Add package serialize-cstruct-lib for cpointer serialization
* define-serializable-cstruct is a combination of serializable-struct and define-cstruct.
  It defines serialize and deserialize functions for a limited subset of cstructs, that
  may contain primitive types, arrays, other serializable cstructs embedded or via pointer.
  Cases handled include: self-referencing cstructs, cyclic cstructs and shared pointers
* Tests and documentation are included
2013-09-02 10:10:32 -06:00
Matthew Flatt
62f7731c36 paco pkg: allow a commit id to be used in a GitHub reference
Allow a commit id in place of a branch or tag.
2013-09-02 10:10:31 -06:00
Matthew Flatt
61e6279c49 raco pkg: work with git tags as well as branches 2013-09-02 10:10:31 -06:00
Matthew Flatt
6530062120 raco pkg {install,update}: add --checksum argument
The `--checksum` argument's main use is that it lets you pick a specific
commit from a GitHub repository. More generally, it lets you simulate
a package-catalog result, which includes a checksum.

Also, adjust checking of downloaded checksums to ensure that they
match the expected checksum, as predicted by a package catalog or
by the `--checksum` argument.
2013-09-02 10:10:31 -06:00
Matthew Flatt
e0385f36c3 raco setup: fix info-domain, first
That way, if you interrupt a `raco setup`, then programs that rely
on a directory of "info.rkt" mappings are more likely to work.
2013-09-02 10:10:31 -06:00
Matthew Flatt
95368d238e raco pkg: handle bad collection strings
Also, add `setup/collection-name`, which provides functions for
checking collection-name syntax.

Closes PR 13886
2013-09-02 10:10:31 -06:00
Matthew Flatt
a30d80a9c4 move stray rackunit module 2013-09-02 10:10:31 -06:00
Robby Findler
c0c6861497 add support for colors with alpha to get-color-from-user
Also, a bit of Rackety (triggered because I would have had to turn a
letrec into a letrec-values to support disabling the ok button (and
also because the code was indented with tabs and not just spaces))
2013-09-02 10:03:55 -05:00
Robby Findler
8fe0022cf1 fix typo 2013-09-02 10:03:55 -05:00
Robby Findler
6c601bfc2a fix another error message from the preferences system 2013-09-01 15:06:12 -05:00
Eric Dobson
bda8c24d2c Make benchmark code run in parallel. 2013-09-01 09:25:57 -07:00
Eric Dobson
760a48d70c Make benchmarks not delete compiled code. 2013-09-01 09:25:57 -07:00
Eric Dobson
4c88924ef5 Remove reset-unboxed-bindings and unboxed-gensym. 2013-09-01 08:33:11 -07:00
Eric Dobson
b7e4af92ff Remove unnecessary #:proc forms in TR unit tests. 2013-09-01 08:22:21 -07:00
Robby Findler
864cc28341 add custom writers for a bunch of contracts 2013-09-01 07:57:09 -05:00
Robby Findler
09458af39f adjust some error messages based on new conventions 2013-09-01 07:57:08 -05:00
Mike Sperber
afdaf514ed Adjust the DMdA teachpacks to be found via info.rkt files.
This follows commit efd2683301 for the
HtDP languages.
2013-09-01 14:34:31 +02:00
Eli Barzilay
7247b605c1 Removing "collects".
I don't see how it's useful to have it, and I keep getting drdr
notifications about it being bogus.
2013-09-01 04:11:53 -04:00
Robby Findler
74de8bd122 add a case-> contract example 2013-08-31 17:37:46 -05:00
Eli Barzilay
bf2ebebff6 Direct people to temporary snapshot pages. 2013-08-31 14:12:25 -04:00
Matthew Flatt
2184be2234 licenses for native packages 2013-08-31 07:41:38 -06:00
Matthew Flatt
ff9da94cfb include license with each package 2013-08-31 06:25:31 -06:00
Matthew Flatt
4fd0d7454b scribble/base: fix problem with macro-introduced `include-section' 2013-08-31 06:25:30 -06:00
Matthew Flatt
b5b2f1c2ad fix multi-file drag-and-drop on Unix
Thanks to Laurent Orseau.
2013-08-31 06:25:30 -06:00
Vincent St-Amour
400340b897 Fix type of generic-set? for hash set default. 2013-08-30 22:08:36 -04:00
Robby Findler
29c904ae42 fix string-contains?
closes PR 13990
2013-08-30 20:55:28 -05:00
Robby Findler
5c402c25a1 fix for abc7f9a873 2013-08-30 15:55:25 -05:00
Vincent St-Amour
5784358332 Improve type for generic-set?. 2013-08-30 15:30:42 -04:00
Vincent St-Amour
04941d33bd Fix link in unstable docs. 2013-08-30 15:30:42 -04:00
Matthew Flatt
0dcaa5e19f net/url: fix problems with new implementation on net/http-client
Various `net/url` operations need to request a close of the
connection after the operation completes, and `het/http-client`
needs to actually close the input-port half of a connection.

Also, add `http-conn-abandon!`.

Also also, add limits on internal pipes, so that data doesn't pile
up in a connection-processing thread, and fix POST/PUT by adding
a needed CRLF after posted data.
2013-08-30 10:37:09 -06:00
Matthew Flatt
701aa9ce0a openssl: allow ssl-abandon-port on input ports
Make `ssl-abandon-port` consistent with the docs and with
`tcp-abandon-port`.
2013-08-30 10:34:56 -06:00
Matthew Flatt
8b501f6745 racket/sandbox: add sandbox-run-submodules 2013-08-30 07:32:08 -06:00
Robby Findler
f9df5ad4e9 fix default text adjustment
it no longer changes the background to the inverse of the
foreground (for the default text color) but instead uses
the color of the 'framework:basic-canvas-background preference

Thanks to Laurent Orseau for the fix
2013-08-30 07:29:42 -05:00
Eric Dobson
84798bd393 Fix set? in TR. 2013-08-29 18:23:45 -07:00
Eric Dobson
358475faf1 Make transform run in parrallel. 2013-08-29 18:00:24 -07:00
Eric Dobson
f6a0494f65 Don't add other files TR logs to optimization tests. 2013-08-29 18:00:24 -07:00
Eric Dobson
ed69691016 Make opt tests be run concurrently. 2013-08-29 18:00:24 -07:00
Eric Dobson
6b20900c7a Sort the output of TR logs so that optimization nodeterminism doesn't break the tests. 2013-08-29 18:00:24 -07:00
Eric Dobson
ccf947e31e Make optimizer read TR expected logs as a list of entries versus a raw string. 2013-08-29 18:00:23 -07:00
Eric Dobson
a328fe6ac4 Separated out the tr log and output. 2013-08-29 18:00:23 -07:00