Commit Graph

33521 Commits

Author SHA1 Message Date
Robby Findler
445a5dca15 add tabbing rule for with-syntax* 2014-06-12 04:05:48 -05:00
Matthew Flatt
8c1d4af684 pict: improve error for failure in pict->bitmap
Closes PR 14563
2014-06-12 07:42:47 +01:00
Matthew Flatt
71bbe6ca9c rackt/draw: fix internal error on too-large bitmap 2014-06-12 07:42:47 +01:00
Matthew Flatt
cef5b2cf07 pict: improve docs for scale
Closes PR 14562
2014-06-12 07:42:47 +01:00
Eric Dobson
dad3c3008d Fix type of stx->list. 2014-06-11 20:03:20 -07:00
Asumu Takikawa
07c944f337 Fix check-unreachable-code? mode in TR 2014-06-11 16:33:19 -04:00
Burke Fetscher
6695ccc8cd redex: fix benchmark package dependencies 2014-06-11 12:45:59 -05:00
Burke Fetscher
e4eb42616f redex: move benchmark into a separate package
Also:
* migrate all models from the diff-based method to
  an in-langauge approach using macros
* add a better interface for the harness
* add docs for
2014-06-11 11:49:29 -05:00
Sam Tobin-Hochstadt
1380cfea34 Fix test case for last commit.
There ought to be a way to improve the type of `apply-pattern-substitute`,
but we haven't found it yet.
2014-06-11 12:31:58 -04:00
Sam Tobin-Hochstadt
3273944af5 Fix bug in type of apply-pattern-substitute.
Found by @takikawa.
2014-06-11 12:20:48 -04:00
Sam Tobin-Hochstadt
07e0c3a789 Fix link to Kevin Tew's RacketCon 2012 talk.
Thanks to Evan Donahue for pointing this out.
2014-06-11 10:06:57 -04:00
Matthew Flatt
42e0d69746 racket/runtime-path: fix problems with 'so paths
Search for versions within a library directory, instead of searching
across library directories for a version. That way, user-specific libraries
can take precedence generally.

Fix the construction of library names with versions to match `ffi-lib`.
Specifically, put the version after the suffix on platforms other than
Mac OS X.

Put the code to resolve 'so specs in one place.
2014-06-11 09:23:04 +01:00
Matthew Flatt
5b852cc4bd setup/dirs: adjust get-lib-search-dirs and use if find-dll-dir
Add `find-dll-dir` to the end, not the beginning, so that it doesn't
override the user's directory. Improve checking for whether the DLL
directory is already covered by the library directories.
2014-06-11 09:23:04 +01:00
Vincent St-Amour
a62516977b Make description of future-event agree with the implementation.
... and with the description in the futures visualizer docs.
2014-06-10 17:04:06 -07:00
Matthew Flatt
ce08805026 raco setup: fix dependency checking for "racket" as a dependency 2014-06-10 19:15:12 +01:00
Matthew Flatt
e3118e1dae distro-build: create ".zip" files with timestamps as UTC 2014-06-10 19:15:12 +01:00
Matthew Flatt
2ea5fa3631 pkg/lib: create and unpack ".zip" files with timestamps as UTC 2014-06-10 19:15:12 +01:00
Matthew Flatt
e5dd7183b5 file/[un]zip: add UTC and time-rounding option
A `zip` archive normally holds timestamps in local time; a new option
records/interprets a UTC time instead. (Use the option both to zip and
unzip.) Also, add an option to round the 2-second resolution of time
to the past instead of the future (to avoid files with timestamps in
the future) when zipping.
2014-06-10 19:15:12 +01:00
Matthew Flatt
3342c19210 raco pkg catalog-archive: build on raco pkg catalog-copy
... instead of `pkg-catalog-update-local`.
2014-06-10 19:15:12 +01:00
Matthew Flatt
cbc734e75b distro-build: split vbox control to separate module 2014-06-10 19:15:12 +01:00
Matthias Felleisen
3ded9ea003 fixed the ~e sensitive test 2014-06-10 12:49:54 -04:00
Asumu Takikawa
b3a477d618 Handle union of different values for functions too
Closes PR 14557
2014-06-10 11:39:30 -04:00
Asumu Takikawa
7743386eec Allow send to union of objects
Also fix TR `send` for multiple/any values as receiver

Now emits a real type error instead of crashing with
an internal match error.

Closes PR 14547
2014-06-10 11:39:08 -04:00
Asumu Takikawa
ba7703b015 Refactor tc-send, delete trailing whitespace 2014-06-10 11:39:08 -04:00
Asumu Takikawa
ded8858f55 Fix error case for merge-tc-results 2014-06-10 11:39:07 -04:00
Matthias Felleisen
a8d799325f fixed error reporting code to see string 2014-06-10 10:27:39 -04:00
Robby Findler
40e972d87e fix rendering of underscores 2014-06-10 08:02:29 -05:00
Robby Findler
6c971a0c00 update bitmap test for some small change somewhere that seems to have
affected mostly the curve in opening parentheses (and other small
things like that)
2014-06-10 08:02:29 -05:00
Eric Dobson
0902fe2fa9 Fix contract on tc-result. 2014-06-09 23:33:22 -07:00
Eric Dobson
17c43c35ec Remove distinction between check and non check variant of check-subforms-unit.
Use new merge-tc-results as well.
This revealed some buggy tests as well which are also fixed.
2014-06-09 20:34:31 -07:00
Eric Dobson
447b52855f Move tc-if merging results logic to tc-metafunctions for reuse. 2014-06-09 19:51:10 -07:00
Eric Dobson
5fa263b232 Improve filter simplification.
(T @ x) => (! S @ x) when their intersection is empty.
Rearrange how we look through filters in -and so this rule applies more.
2014-06-09 19:51:10 -07:00
Eric Dobson
0feefd347e Remove tc/lambda/check. 2014-06-09 19:51:10 -07:00
Eric Dobson
ff1a852caf Remove tc/app/check. 2014-06-09 19:51:10 -07:00
Eric Dobson
d683ef2342 Remove tc-body, and 0 arg case in tc-body/check. 2014-06-09 19:51:09 -07:00
Eric Dobson
32db0e2ff7 Remove conditional tc-expr/check splits that no longer need to exist. 2014-06-09 19:51:09 -07:00
Eric Dobson
a8bc079c4b Make tc-expr the same implementation as tc-expr/check. 2014-06-09 19:51:09 -07:00
Asumu Takikawa
5431ddb6c1 Adjust TR error message for consistency
The non-productive type check in type parsing and in type
alias setup should produce the same failure messages.
2014-06-09 13:57:26 -04:00
Asumu Takikawa
4ee5f3f653 Disallow non-productive PolyRow types
Closes PR 14554
2014-06-09 13:55:58 -04:00
Asumu Takikawa
bbc6a6b42d Fix printing for certain list types with a mu var
Closes PR 14552
2014-06-09 13:38:20 -04:00
Matthew Flatt
f90bf5e43b win32: repair for VS Studio build
Thanks to Gustavo Massaccesi

Closes PR 14555
2014-06-09 06:57:22 -06:00
Matthew Flatt
049fc3e5e6 unbreak drracket
A conversion in 2f46525a7d was wrong.
2014-06-09 10:39:03 +01:00
Matthew Flatt
2f46525a7d fix many more 3-argument calls to the module name resolver 2014-06-09 09:04:14 +01:00
Matthew Flatt
ad15191493 mzcom doc improvements 2014-06-09 08:51:30 +01:00
Matthew Flatt
006ffc8ae3 syntax/docprovide: fix direct call to module name resolver
Also, deprecate the library.
2014-06-09 08:46:44 +01:00
Matthew Flatt
8aaa3fc5b5 document and deprecate 3-argument call to default module name resolver
Calling the default module name resolver with three arguments logs an
error message. The intent is that 3-argument support will be removed,
eventually.
2014-06-09 08:46:44 +01:00
Matthew Flatt
27c9007a82 raco setup: fix for relative & multiple paths in PLTCOMPILEDROOTS
Fix the part of `raco setup` that deletes ".zo" files that
have no corresponding source.
2014-06-09 08:05:05 +01:00
Asumu Takikawa
ca8d8346b6 Don't lose syntax locations for TR define
Closes PR 14544
2014-06-05 11:22:32 -04:00
Matthew Flatt
0f6cdbf9e3 raco setup: fix PLTCOMPILEDROOTS handling when checking pkg deps
Closes PR 14540
2014-06-04 19:57:57 +01:00
Matthew Flatt
8828865c79 raco pkg install: change interpretation of archive with a single directory
When an archive used as a package source has all of its content
within a single top-level directory, then treat that directory's
content as the package content, instead of treating the directory
itself as the package content.

The change makes "x.zip" created with

  zip -r x.zip x

work the same as "x" as a package source. It also makes a ".zip"
for a package's GitHub repository (from clicking the "Download ZIP"
button) work the same as the repository.

This change is backward incompatible, but it's unlikely to break
any working package (since that would be a single-collection package
that provides only a subcollection).
2014-06-04 16:49:18 +01:00