Commit Graph

33559 Commits

Author SHA1 Message Date
Matthew Flatt
a23cce0b07 pkg/lib: make pkg-directory->additional-installs use 'compile-omit-paths
Otherwise, "test/pkgs" claims to provide various documents and executables
that are in test packages.

Merge to v6.1
(cherry picked from commit a70b3173b2)
2014-07-17 12:46:07 -04:00
Matthew Flatt
47aa868b0d xform: fix bad parsing of array sizes
A size expression N+M for a literal integer N was parsed as just N.
Report an error when that case happens (since it's difficult to
handle) instead of mishandling it.

Merge to v6.1
(cherry picked from commit e063b654fa)
2014-07-17 12:46:03 -04:00
Matthew Flatt
e6b1ffa1fb JIT: fix array-size expression that is handled badly by xform
This bug (in xform, really) appears to be responsible for recent "JIT
buffer overflow" crashes. It could also cause other memory-corruption
crashes.

The bug could be triggered by any program that uses operators like
`+`, `<`, and `bitwise-ior` on more than 2 and less than 6 operands
(which is a lot of programs), but only if a certain allocation and
GC pattern happens at just the right time (which is why a crash was
relatively rare).

Merge to v6.1
(cherry picked from commit c72f441d93)
2014-07-17 12:45:58 -04:00
Matthew Flatt
dd6f973d5c ffi/unsafe/com: convert to date*, document limitations
Merge to v6.1 along with 7d65ee6127.
(cherry picked from commit 689f449c8d)
2014-07-17 12:45:49 -04:00
Kalimehtar
1962da8587 Fix _date to allow dates before 1970 year
(cherry picked from commit 7d65ee6127)
2014-07-17 12:45:45 -04:00
Matthew Flatt
6e4234e32b fix GC-cooperation bug in vector->values
The `vector->values` function set up multiple return values
badly in the case that the given vector is chaperoned.
The problem could lead to NULL as results for `vector->values`.

Merge to v6.1
(cherry picked from commit f57c1c8e2a)
2014-07-17 12:43:05 -04:00
Matthew Flatt
be6185acc9 compiler/zo-structs: document undef-ok? in assign
Closes PR 14622

Merge to v6.1
(cherry picked from commit a479f18c28)
2014-07-17 12:43:00 -04:00
Matthew Flatt
6b78f47876 fix doc typo
Closes PR 14626

Merge to v6.1
(cherry picked from commit b3dd3954fb)
2014-07-17 12:42:57 -04:00
Matthew Flatt
c76fc74853 reference: clarify significance of order for submodules
Merge to v6.1
(cherry picked from commit e044e4360b)
2014-07-17 12:42:52 -04:00
Matthew Flatt
adf9f50b73 raco setup: reorganize command-line flags
Group flags and refine the descriptions and documentation.

Merge to v6.1
(cherry picked from commit 95a126b2e1)
2014-07-17 12:42:48 -04:00
Robby Findler
dbc1b565a4 fix esc;n keystroke in REPL
closes PR 14631

please include in release branch
(cherry picked from commit 3831496bf9)
2014-07-17 12:42:44 -04:00
Robby Findler
f8c4319022 fix f1 and switch-tab keybindings when "Treat alt key as meta"
preference is set

closes PR 14629

please include on the release branch
(cherry picked from commit ae1349a906)
2014-07-17 12:42:40 -04:00
Matthew Flatt
c973f0fefe fix order of file close and kqueue de-registration
Thanks to memcheck.

Merge to v6.1.
(cherry picked from commit 8559192944)
2014-07-17 12:42:36 -04:00
Matthew Flatt
0bdbb8db2f fix uses of uninitilized memory
Thanks to memcheck. (I'm unable to get far with Racket and memcheck,
but I get this far.)

Merge to v6.1.
(cherry picked from commit 45eb084d27)
2014-07-17 12:42:32 -04:00
Robby Findler
ed22f8cbcd fix misspelling tracker
please include on the release branch
(cherry picked from commit 83a76027d5)
2014-07-17 12:42:28 -04:00
Matthew Flatt
3d8ba0128d raco pkg catalog-archive: handle interrupted update
While `catalog-archive` cannot handle arbitrary corruption of
a previous archive run, it should be able to handle a state
due to interruption or other transient errors.

Merge to v6.1.
(cherry picked from commit 42aeae24be)
2014-07-17 12:42:23 -04:00
Ryan Culpepper
90edf8f996 Alpha version number for the v6.1 release 2014-07-08 20:53:55 -04:00
Matthew Flatt
e0ec228fd2 meta/pkg-build: use Etag header to avoid installer download 2014-07-08 17:31:22 +01:00
Matthew Flatt
aff4391d92 pkg-build: tweak format of summary page 2014-07-08 16:27:23 +01:00
Sam Tobin-Hochstadt
f98a912e0c Include pkg authors in status web page. 2014-07-08 16:22:43 +01:00
Matthew Flatt
77f2a02149 meta/pkg-build: better way to select build steps 2014-07-08 16:17:19 +01:00
Matthew Flatt
088ee88386 meta/pkg-build: fix construction of catalog URL
Also, add a `#:skip-download?` option.
2014-07-08 15:57:13 +01:00
Matthew Flatt
992350ef93 meta/pkg-build: extract/salvage docs for conflicting and failed packages
Also, add a step to package results into a web-friendly archive.
2014-07-08 11:35:06 +01:00
Matthew Flatt
f1c6b52284 games/gobblet: fix game explorer in case of tie
A tie due to a cycle would cause the explorer to fail instead of
giving up with a tie.
2014-07-08 09:49:13 +01:00
Matthew Flatt
2efb053a4c fix doc typo 2014-07-08 08:06:42 +01:00
Matthew Flatt
139452dcc2 read: fix long-double error reporting
This repair corrects an ocassional test failure in the `read`
test suite.
2014-07-08 08:00:16 +01:00
Matthew Flatt
87c34b1023 pkg-build/thread: fix test 2014-07-08 07:11:41 +01:00
Matthew Flatt
7dde0e98cf refine attempt at debugging output for JIT buffer overflow 2014-07-08 07:02:42 +01:00
Matthew Flatt
7735dd0cfb meta/pkg-build: first cut at result-summary page
Summary also goes in "summary.rktd", so a different view
can be generated.
2014-07-08 05:37:19 +01:00
Matthew Flatt
6d7edf452d meta/pkg-build: check dependency declarations
Uses `raco setup --check=pkg-deps --pkgs <pkg>`.
2014-07-08 05:37:19 +01:00
Asumu Takikawa
e62f1cb8d9 Check function depth for parsing object indices
Closes PR 14509
2014-07-07 19:18:06 -04:00
Asumu Takikawa
65368108e1 Remove debug lines and commented cases
This helps for editing in paredit
2014-07-07 15:30:30 -04:00
Eric Dobson
e569530915 Add code to handle when the test expression is neither true nor false.
Closes PR 14564.
2014-07-07 09:19:47 -07:00
Eric Dobson
0142549750 Make error messages better for function types with bad filters.
Also makes it so filters are not parsed as keyword types.

Closes PR 14492.
Closes PR 14520.
2014-07-07 09:08:50 -07:00
Eric Dobson
fdd7679426 Make filters on mutated/undefined vars an error.
Closes PR 14422.
Closes PR 14495.
2014-07-07 09:05:51 -07:00
Matthew Flatt
5c5bc86915 raco setup: make --check-pkg-deps require dependency declarations
By default, `raco setup` skips checking dependencies when a package
declares no dependencies. Make `--check-pkg-deps` check in that
case, too.
2014-07-07 09:41:19 +01:00
Juan Francisco Cantero Hurtado
6922ba8c23 Define SCHEME_PLATFORM_LIBRARY_SUBPATH for some architectures on OpenBSD 2014-07-07 06:17:40 +01:00
Matthew Flatt
b2897b33d5 raco setup: add --pkgs argument
The arguments to `--pkgs` specify collections to set up as the collections
that are (partially) provided by a set of packages.

Closes PR 14396
2014-07-07 06:17:21 +01:00
Matthew Flatt
03413f2298 raco setup: add --check-pkg-deps for checking specified collections
This flag enables scalable package dependency checking to a large
degree, although dependencies related to documentation cross
references can escape detection.
2014-07-07 06:17:20 +01:00
Matthew Flatt
f5d4093ffa raco pkg install: make conflict checking sensitive to platform specifier 2014-07-07 06:17:20 +01:00
Matthew Flatt
739863099d add setup/matching-platform
Put a function that was implemented in two places in one place.
2014-07-07 06:17:20 +01:00
Eric Dobson
75310338dc Make parse-type raise the right error for incorrect use of ->. 2014-07-06 20:53:58 -07:00
Eric Dobson
eb8c2d33b1 Add docs about optional type annotation to let/ec and let/ec:. 2014-07-06 20:26:19 -07:00
Eric Dobson
64a653696c Add omit-define-syntaxes to secondary form of define-type-alias.
Closes PR 14505.
2014-07-06 18:48:35 -07:00
Eric Dobson
4aef86ce4f Add test for pr14567.
Closes PR 14567.
It seems that this has been already fixed.
2014-07-06 17:19:59 -07:00
Robby Findler
1b4d727ed7 spell check redex reference 2014-07-06 18:07:58 -05:00
Neil Toronto
5f42d41e1c Fix array tests after TR change 2014-07-06 16:50:40 -04:00
Robby Findler
53d6fffe71 propagate some source locations for better error reporting
related to PR 14595
2014-07-06 00:58:07 -05:00
Robby Findler
a973556261 fix metafunction rewriting
in the case that the bad use of the metafunction appears as the first
thing in a good metafunction application

closes PR 14618
2014-07-05 20:27:08 -05:00
Robby Findler
057aeaf0ed add --letterbox to control the color of the letterbox 2014-07-05 20:26:55 -05:00