Commit Graph

34548 Commits

Author SHA1 Message Date
Max New
91627bc895 Partially implemented mixed fin/inf list/e 2014-05-02 06:16:12 -05:00
Max New
7032acc066 Have cons/e use list/e and make explicit when using finite cons/e
Also add to-stream and make cons/e tests less specific
2014-05-02 06:16:12 -05:00
Max New
f309685999 nats/e -> nat/e 2014-05-02 06:16:11 -05:00
Matthew Flatt
68421f05dd places: improve comments on msg_chain treatment 2014-05-01 19:13:55 -06:00
Matthew Flatt
6d4c25a322 places: fix gc of place channels containing place channels
The bug was a kind of typo: using `&` where `%` was intended to
implement a counter wraparound.

This bug is an even more likely candidate to be resopnsible for the
occassional crashes from the DrRacket easter-egg test.
2014-05-01 19:13:55 -06:00
John Clements
4c6d5be9c3 note on ordering of discrete-dist-probs and discrete-dist-values 2014-05-01 15:33:38 -07:00
Vincent St-Amour
80d1631af8 Fix expected source location for improved location preservation. 2014-05-01 18:04:35 -04:00
Asumu Takikawa
947343c63f Add an explanation of the test case for PR 14389 2014-05-01 16:24:42 -04:00
Asumu Takikawa
06bd5d36af Don't track syntax with unknown source locations
Avoids recording original syntaxes with a source or position
of #f, since these are usually intermediate syntax pairs that
don't correspond to actual source syntax.

For example, in a (#%module-begin . rst) in a submodule, the
underlying pair may contain an identifier and a cdr that is a
syntax object. That cdr will have #f source and position and also
does not correspond to any source syntax.

Leaving such syntax objects in the table means there are spurious
hits later when a syntax object with an unknown source location
is looked up.

Closes PR 14389
2014-05-01 16:02:21 -04:00
Vincent St-Amour
baef0220f2 Export analysis function for use by the feature-specific profiler. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
fc512ba78d Instrument pattern matching for feature-specific profiling. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
5502bf5b1b Instrument TR casts / asserts for feature-specific profiling. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
584e494d5a Instrument send dispatch for feature-specific profiling. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
b474ba765e Add instrumentation to profile generic sequence overhead. 2014-05-01 11:54:08 -04:00
Vincent St-Amour
9d7b6a1c89 Instrument the opt/kw protocol for feature-specific profiling.
That code is only executed for higher-order uses of these functions,
otherwise protocol gets optimized away.
2014-05-01 11:54:08 -04:00
William J. Bowman
b76b2aa638 Fixed uses of free-identifier=? guards
free-identifier=? expects, contrary to documentation, a syntax?, causing
contract errors. (and (identifier? ...) ...) solves this.

[Since the function is called only on fully expanded forms, it doesn't
 look like the `identifier?` tests can ever fail, but it still seems
 sensible to have them. -Matthew]
2014-05-01 06:18:24 -06:00
Matthew Flatt
61d717fd07 file/unzip: change to call-with-unzip and call-with-unzip-entry
Use `call-with-` instead of `with-`, since it's a function instead
of a syntactic form. (This is a weak convention, but one to try to
follow with new functions and forms.)

Fix up the contracts and change the documentation to match the
usual style.

Create the temporary directory in `(find-system-path 'temp-dir)`
instead of the current directory.
2014-05-01 06:18:24 -06:00
simmone
f592cf6e35 file/unzip: add help func with-unzip with-unzip-entry 2014-05-01 06:18:24 -06:00
Robby Findler
351545a10a add missing file 2014-05-01 06:40:28 -05:00
Eric Dobson
4766a94470 Make inst not do crazy splitting. 2014-05-01 00:00:50 -07:00
Eric Dobson
a6789164d8 Remove extraneous old feature of do-inst. 2014-05-01 00:00:50 -07:00
Eric Dobson
379e827070 Remove #%expression in plambda. 2014-05-01 00:00:50 -07:00
Eric Dobson
9d1201a5e2 Replace 'apply -lst*' with -Tuple* 2014-04-30 23:38:55 -07:00
Eric Dobson
209be3b9ac Add quotes to error messages from tc-apply. 2014-04-30 23:38:55 -07:00
Eric Dobson
de1c9a1162 Merge checks for empty case-lambdas in apply. 2014-04-30 23:38:55 -07:00
Eric Dobson
c91a912129 Cleanup non poly case in apply. 2014-04-30 23:38:54 -07:00
Eric Dobson
ab2877ed7f Cleanup Poly cases in tc-apply 2014-04-30 23:38:54 -07:00
Eric Dobson
33a31d2868 Make apply work with more initial args than in the type. 2014-04-30 23:38:54 -07:00
Eric Dobson
3e3e79cf1f Allow apply to work on lists with minimum length. 2014-04-30 23:38:54 -07:00
Eric Dobson
347b15661a Replace uses of untuple with List:. 2014-04-30 23:38:54 -07:00
Eric Dobson
e6b2268f2c Cleanup PolyDotted case of apply. 2014-04-30 23:38:54 -07:00
Robby Findler
b8d13706bf fix srcloc for metafunction errors 2014-04-30 21:58:14 -05:00
Robby Findler
a628bf4040 Rackety
bring down below 102 columns
2014-04-30 21:58:14 -05:00
Matthew Flatt
305340502c racket/draw Cocoa: fix dylib list as needed for raco exe 2014-04-30 15:07:34 -06:00
Matthew Flatt
5c909cca0d raco dist: preserve relative location of runtime files only within a package
Previously, relative locations were preserved for all files with the same
root, but that tends to keep too much information about the original
filesystem layout, especially when runtime files are pulled both from
the installation and a user-specific area. Since packages can be installed
at different relative locations, it makes sense to preserve relative
locations only up to package boundaries.
2014-04-30 14:59:16 -06:00
Matthew Flatt
0c9685d136 raco exe: normalize runtime-file paths
Normalization is needed to ensure that `raco dist` doesn't generate
longer paths (by converting a "/" to "\\", for example) in its
path manipulations.
2014-04-30 14:23:46 -06:00
Matthew Flatt
a8fc2d5ec9 meta/new-web: release announcements as data
... instead of only git meta-data attached to tags.
2014-04-30 14:23:46 -06:00
Asumu Takikawa
eb006a0e9e Improve TR's overlap checking for StructTop types
Closes PR 14458
2014-04-30 15:03:17 -04:00
Eric Dobson
2f032184ca Make tc-results: and Results: not use ... over patterns.
This avoids a case where match is silently wrong.
2014-04-30 09:48:39 -07:00
Eric Dobson
78fbdfec0b Allow more inference on ... lists. 2014-04-29 22:27:39 -07:00
Asumu Takikawa
f60908c7aa Refactor TR's no-check-helper module 2014-04-29 22:47:03 -04:00
Asumu Takikawa
6e8ad86524 Fix require/typed in no-check mode for structs
The constructor name was handled incorrectly for TR's current
defaults. Also support the extra keyword arguments.
2014-04-29 22:35:17 -04:00
Asumu Takikawa
2a32c58815 Update require/typed in no-check mode for keywords
Closes PR 14463
2014-04-29 21:28:08 -04:00
Matthew Flatt
f58cfe596a fix test 2014-04-29 12:59:45 -06:00
Matthew Flatt
04a60d713b fix sync on inaccessible place channel
Commit 5ea4c2ab68 broke GCing of a thread that is blocked
via `sync` (as opposed to `place-channel-get`) on a place
channel whose write end is inaccessible.
2014-04-29 12:56:19 -06:00
Matthew Flatt
03a82e21b5 xrepl: fix tests 2014-04-29 09:11:35 -06:00
Matthew Flatt
f6cff4b52c add some extra test cases on equal? and chaperones
The compiler defeated my original attempt to check arguments in
both orders, but now I see the obvious way to (probably) check
both orders.
2014-04-29 06:58:53 -06:00
Matthew Flatt
f2335ae4dc fix performance bug in equal? on vectors 2014-04-29 06:58:36 -06:00
Matthew Flatt
07e390302c raco exe: attempt to fix problem with room made for runtime-paths table 2014-04-29 06:18:55 -06:00
Matthew Flatt
ae14ff70df raco pkg: fix documentation indexing for user-scoped re-link
If a package installed as a link in user scope, then removed, then
linked again, the documentation index database was not updated
correctly. As a result, the user-specific documentation page was
either not updated or had a broken link for the document.
2014-04-28 20:22:49 -06:00