Commit Graph

37761 Commits

Author SHA1 Message Date
Matthew Flatt
f865da8d10 fix doc typo 2014-08-13 12:50:45 +01:00
Matthew Flatt
ad870a1d0f racket/gui: minor test clean-up 2014-08-13 09:17:16 +01:00
Matthew Flatt
864d165c24 racket/draw: avoid an internal error on a bad bitmap 2014-08-13 09:14:04 +01:00
Matthew Flatt
c359f7ac29 build less when a pre-built racket is supplied
Adjust dependency tracking and makefile rules to that when
`--enable-racket=...` is provided to `configure`, intermediate
CGC objects are not compiled.

The new approach uses dependency tracking that was already supported
by xform, previously used only for Windows.
2014-08-13 07:33:09 +01:00
Matthew Flatt
7e141a89f7 suppress ar output for SGC library
The `nicear` script avoids stderr output on DrDr.
2014-08-13 07:33:09 +01:00
Asumu Takikawa
cc442ef0ec Fix TR type for current-check-around 2014-08-12 17:24:07 -04:00
Matthew Flatt
a266d623aa windows: better approach to manifest
Works for VS 2008 and 2012, at least.
2014-08-12 18:07:28 +01:00
Matthew Flatt
3b962a235d Revert "windows: remove custom manifest"
This reverts commit 67007451b3.

Seems to be needed after all.
2014-08-12 16:43:26 +01:00
Matthew Flatt
fa66067359 fix no-places, no-futures build 2014-08-12 15:58:43 +01:00
Matthew Flatt
fc8b2f02f9 Windows: more changes to auto-adapt to Visual Studio version
Although newer versions of Visual Studio can open 2010 projects, the
meaning of the project turns out to be: use 2010 tools. So, I've added
a step in the build script to automatically upgrade the solutions and
projects based on the version of Visual Studio that is being run.

Meanwhile, since my previous tests for VS 2012 and VS 2013 were using
VS 2010 projects, I wasn't actually testing with the 2012 and 2013
compilers. Additional changes are needed to make those work, notably a
fresh implementation of setjmp() and longjmp() for Win64.

This was all very painful, but the projects are now in much better
shape, so maybe it won't be so bad from here.
2014-08-12 15:55:37 +01:00
Matthew Flatt
67007451b3 windows: remove custom manifest
The manifest was intended to enable XP-style controls, but at this
point it doesn't seem to do anything except interefere with some
variants of the build tools.
2014-08-12 15:42:13 +01:00
Matthew Flatt
948b24b595 remove accidentally added file 2014-08-12 10:11:06 +01:00
Matthew Flatt
df375daef4 avoid NULL argument to memcpy()
gcc 4.9 takes advantage of the specification of undefined behavior if
you pass a NULL to memcpy(), even if the last argument is 0
2014-08-12 08:47:14 +01:00
Matthew Flatt
3c8b5b672e windows: fix sgc allocation of executable pages 2014-08-12 07:33:43 +01:00
Matthew Flatt
881990eddf windows: switch projects to SGC by default 2014-08-12 06:44:55 +01:00
Matthew Flatt
a312f499cb racketcgc: use SenoraGC instead of Boehm GC by default
This new default for Unix and Mac OS X trades performance for
portability (hopefully), but for most users the switch affects only
for the build process, where `racketcgc` is used to build `racket`.

To continue using Boehm GC, configure with `--disable-sgc`.

For now, Boehm GC continues to be the default for Windows.
2014-08-12 05:14:44 +01:00
Matthew Flatt
2916fc34cc SenoraGC: support allocation of executable memory; tune for performance
Allocation of executable memory is intended to make SELinux
happier by mmapping with PROT_EXEC instead of using mprotect()
to allow execution after the fact.

Performance improvements bring SGC within 30% of the Boehm GC on
`racketcgc -cl racket`, which makes SGC an even more plausible
substitute.
2014-08-12 05:14:14 +01:00
Vincent St-Amour
676dfebce6 Change RacketCon talk title. 2014-08-11 14:56:38 -04:00
Matthew Flatt
2220452b72 racket/place: protect place-creation bindings
Closes PR 14677
2014-08-11 10:48:58 +01:00
Matthew Flatt
c4508ad0d9 avoid cross-namespace submodule pollution via module-code cache
When a module is loaded with submodules intact, it should not be
cached and used for a later load that is intended to obtain the
module without submodules. Avoid mismatches by constraining the
cache to modules without submodules.
2014-08-11 10:26:32 +01:00
Matthew Flatt
1d6a9078d4 web pages: update news to v6.1 2014-08-11 09:31:06 +01:00
Matthew Flatt
d5db02603a meta/new-web: use --web mode of raco s3-sync
A side effect of this change is that ".html" files bigger than
1k are gzipped, in addition to ".css" and ".js" files. I find
several web comments to the effect that gziping ".html" files works
fine, because all browsers support it, and no warnings against.
Since gzipping ".css" and ".js" files has worked fine for us, too,
lets take the plunge and try gzipping ".html".
2014-08-11 09:26:10 +01:00
Matthew Flatt
3f9d86c348 fix "props" for "pict-snip-pkgs" 2014-08-11 07:58:33 +01:00
Matthew Flatt
2bdb8c1de5 fix rename-transformer-target for chaperoned structs 2014-08-11 07:41:47 +01:00
Matthew Flatt
5ef75682d7 fix run-time error reporting for variables in a submodule
Error reports used the "source" field of a module, which
doesn't have submodule information, or the "name" field of
a module, which might not match an actual filename (".ss"
vs. ".rkt"). Create the right combination.
2014-08-11 07:41:43 +01:00
Robby Findler
e569710e63 fix rule reference in tutoral, also spell-check
closes PR 14676
2014-08-10 06:54:52 -05:00
Robby Findler
1c26a5d99c fix r6rs link just link in 8d3fd26c6 2014-08-10 06:53:26 -05:00
Robby Findler
6b563a89c8 stop doing slow computation whose results were useless
also, clean up drawing of 'insert large letters' dialog
so that you don't see a little white sliver when there are
no characters typed
2014-08-09 23:16:49 -05:00
Robby Findler
13316f1df9 rename t to tau 2014-08-09 23:16:49 -05:00
Vincent St-Amour
495e734b95 Add sponsors to RacketCon page. 2014-08-08 15:27:32 -04:00
Vincent St-Amour
4deeab0177 More titles and abstracts for RacketCon. 2014-08-08 15:27:32 -04:00
Matthew Flatt
fab77bb28c fix SRFI-62 link
Closes PR 14673
2014-08-08 06:24:51 +01:00
Matthew Flatt
8d3fd26c6a fix broken doc link to R5RS
There's no good way to fix the link, right now. Since the Guide and
R5RS packages depend on each other, though, we can expect that they're
installed at the same time and a relative reference will generally work.
2014-08-08 06:24:51 +01:00
Matthew Flatt
e6423b7610 meta/pkg-build: support version for pkg catalog query 2014-08-08 06:24:50 +01:00
Robby Findler
ac248006f9 use path->relative-string/library's cache argument to
make the 'Open Require Path...' dialog more responsive
2014-08-07 08:38:15 -05:00
Robby Findler
1fd9959a61 add examples directly to judgment-holds docs
(as well as a pointer to other examples elsewhere)
2014-08-07 03:08:49 -05:00
Robby Findler
a4fbb4ee4c fix bug in names that begin with _r 2014-08-07 03:08:49 -05:00
Robby Findler
ec5ccb0a8b added pict-snip to the main-distribution pkg 2014-08-07 03:08:49 -05:00
Robby Findler
7714db3f0a added pict-snip pkgs 2014-08-07 03:08:49 -05:00
Robby Findler
8ec1fb6f7a remove dependency on racket/snip (use file/convertible instead
of a direct reference to bitmap-snip%)
2014-08-07 03:08:49 -05:00
Matthew Flatt
fd67feddab racket/draw and racket/snip: avoid some undefined-checking wrappers
The changes to `pen%` and `brush%` are related to the
`racket/class` repair of the previous commit, while the
`style%` change is because I didn't look at it before.
2014-08-06 08:48:19 +01:00
Matthew Flatt
f4c1d7ec03 racket/class: add missing check for #<unsafe-undefined>
When a superclass method is called before the superclass
is initialized, then all field accesses need to be guarded.

Robby found this one.
2014-08-06 08:46:51 +01:00
Matthew Flatt
698c22ef9d meta/new-web: handle versionless source variant
Although a versionless variant of the source bundle is available,
we leave it off the web page, because it's intended for automatic
processes.
2014-08-05 16:34:22 +01:00
Matthew Flatt
fe12e93192 bump version 2014-08-05 16:23:10 +01:00
Matthew Flatt
513ff77811 racket/gui: report AltGr combination for left Control plus right Alt
Use the new AltGr report to enable Control-Alt- combinations in
DrRacket (and other framework programs) when they do not intefere
with plain AltGr combinations.
2014-08-05 16:23:09 +01:00
Matthew Flatt
926e64f5f1 fix "fixing letrec" pass
Adjust the compiler pass to insert checks for #<unsafe-undefined>.
The chanegs amount to throwing out the old attempt to follow the
implementation sketched in "Fixing Letrec", and instead use a
simpler abstract interpretation.
2014-08-05 16:22:31 +01:00
Matthew Flatt
ac428f89fa use-before-definition analysis: fix checking of with-cont-mark form
Similar to the `set!` problem.
2014-08-05 16:00:19 +01:00
Matthew Flatt
6efac46b3f letrec-check analysis: remove no-op part of implementation
The `deferred_uvars` list is constucted so that it always
has the same length as `uvars`.
2014-08-05 16:00:19 +01:00
Matthew Flatt
837a55f484 use-before-definition analysis: fix handling of let[*]
Bindings in `let` and `let*` need to be tracked much the same
way as for `letrec`, so that

 (letrec ([b (let ([d (lambda () c)])
               (d))]
          [c 1])
   b)

raises an exception.
2014-08-05 16:00:19 +01:00
Matthew Flatt
7d85bccaa2 use-before-definition analysis: fix checking of set! form
Treat the RHS of `set!` as escaping to an unknown context, so
that any variables it references are treated as unprotected.
2014-08-05 16:00:19 +01:00