Commit Graph

33925 Commits

Author SHA1 Message Date
Matthias Felleisen
a0c984bd09 moved a manual test over 2014-09-01 16:42:48 +02:00
Matthew Flatt
2a9b81fd54 Windows installer: uninstall "collects"
Closes PR 14715, where Eli describes the repair

(Probably, the "collects" directory was missing from the uninstaller
list because "collects" moved under "lib" in an intermediate variant
of the directory organization.)
2014-09-01 14:44:28 +02:00
Matthew Flatt
0d9bb1367e distro-build/readme: adjust content of generated README files
Relevant to PR 14714

(I think the remaining suggestions in the PR are about the build
configuration.)
2014-09-01 14:40:27 +02:00
Matthew Flatt
fa75aec408 make installers: avoid dot-files (like ".gitignore") in installers
Closes PR 14716
2014-09-01 12:08:45 +02:00
Matthew Flatt
b0f4a32049 fix cross-module function inlining and argument use-count tracking
Order mismatch between tracking an use could cause a multiply-used
argument to be treated after inlining as a single-use argument.

Closes PR 14717
2014-09-01 12:08:44 +02:00
Robby Findler
854e9a997a fix dot layout when children are deleted
closes PR 14718
2014-09-01 04:11:42 -05:00
Matthew Flatt
b3b9eb0eb4 racket/gui keymap: adjust handling of 'control, etc., events
If a keymap has a grab, then discard key events that are modifier
changes or key releases.

Adjusts commit 8ba8d01ec0 so that Ctl-u work in DrRackt (and
other framework-based programs).
2014-08-31 15:26:59 +02:00
Matthew Flatt
032397d6f9 racket/gui win32: fix Space handling of buttons and checkboxes
Suppress WM_KEYDOWN messages to a button or checkbox, so that the
top-level window takes care of Space and Return for a button or
checkbox with the keyboard focus.

Closes PR 14710
2014-08-31 11:59:44 +02:00
Sam Tobin-Hochstadt
2d701f046c Add get-all-pkg-scopes. 2014-08-29 21:40:38 -04:00
Matthew Flatt
321a3be29f racket/gui cocoa: adjust control font for 10.10 2014-08-29 14:56:27 -06:00
Neil Toronto
8ba8d01ec0 Altered keymap% to not claim to handle key events that it doesn't
Previously, `keymap%` would return #t for all shift, ctrl, and key release
events. DrRacket's editors would then not handle those events (correctly,
as they shouldn't handle already-handled events), meaning that the events
weren't sent to any snips.
2014-08-29 16:44:02 -04:00
Neil Toronto
82dca13f97 Added fast-flfsa/error and flfsa/error (fused square-and-add) 2014-08-29 16:44:01 -04:00
Neil Toronto
8cb4214586 Added fllog2near 2014-08-29 16:44:01 -04:00
Matthew Flatt
1cb16f6c36 ffi/unsafe/objc: fix objc-is-a? to recognize subclass instances
This repair turns out to matter for Mac OS X 10.10, where creating
a list box in a frame somehow makes the frame an instance of a
subclass (that implements notifications of some sort, I think).
That subclassing broke an `(objc-is-a? ... RacketWindow)` test to
recognize windows that belong to a particular eventspace.
2014-08-29 14:12:26 -06:00
Matthew Flatt
3a716b98c0 racket/gui gtk: workaround problem with async IBus input method
Affects Ubuntu 13.10 and 14.04, especially with multiple processors.
2014-08-29 10:12:27 -06:00
Matthew Flatt
76f1ebded9 Mac OS X: incorporate Pango repair for Yosemite
Pango 1.36.6 fixes the problem, so update native libraries
and the Coretext patch.
2014-08-29 10:12:27 -06:00
Matthew Flatt
768b93be82 improve GC handling of out-of-memory
There's a point in attempting to allocate a new large page
where it makes sense to GC and try again.
2014-08-29 10:12:27 -06:00
Vincent St-Amour
9a7663ac73 Remove out of date OC docs and replace with pointer to the OC package. 2014-08-28 10:42:20 -04:00
Vincent St-Amour
a1f5340c91 Fix links on RacketCon web page.
Pointed out by J_Arcane on IRC.
2014-08-27 15:26:17 -04:00
Matthew Flatt
edf140a440 make server: snapshot source catalog, set local cache 2014-08-26 14:41:13 -06:00
Matthew Flatt
5fd46a4d9a distro-build: fix catalog URL handling 2014-08-26 12:24:22 -06:00
Matthew Flatt
b00638c52d ffi/unsafe: changed the way ffi-lib uses a version number with ".dll"
Add the version with a "-" before ".dll", instead of with a "."
after ".dll".
2014-08-26 09:18:43 -06:00
Gustavo Massaccesi
35eb65628e optimizer: use the equal? => eq? transformation to the optimizer phase
For some types, (equal? x y) is transformed into (eq? x y) in the resolve phase.
This commit adds this transformation to the optimizer phase. This improves
constant folding and enable some optimizations that are prevented
because equal? can run arbitrary code.

Also, transform   (eq? #f x) => (not x)   and   (eq? '() x) => (null? x)   to use
the type information of x when it's known.
2014-08-26 09:18:43 -06:00
Vincent St-Amour
af3ea12227 Link talks in schedule with their description. 2014-08-26 10:59:17 -04:00
Sam Tobin-Hochstadt
2825ba142b Treat fully-annotated plain define as an annotated defintion.
Fixes most of PR 14702.
2014-08-26 09:39:55 -04:00
Matthew Flatt
3943826b70 raco setup: fix ".dylib" references on install
If a Mach-O file installed with `{copy,move}-foreign-libs` has a
"@loader_path/" reference to a library that is installed in a
different target directory (normally because it's from a package that
is installed in a different scope), then change "@loader_path/" to an
absolute-path reference to that target.
2014-08-25 17:16:01 -06:00
Vincent St-Amour
986b5c39cd RacketCon schedule. 2014-08-25 18:15:06 -04:00
Matthew Flatt
32ae3f8308 racket/gui: change placement of children in panel% and pane%
The `panel%` and `pane%` classes were not originally intended for
direct instantiation; instead, `horizontal-pane[l]%` and
`vertical-pane[l]%` provide basic placements that make sense for
multiple children. Adjusting `pane[l]%` to just overlay all children
seems both sensible and useful (if only one child is shown at a time,
for example).

As suggested by David Nelson.
2014-08-24 07:29:55 -06:00
Gustavo Massaccesi
fdf1a1f7ae optimizer: Remove unused flag added in d14b4a8 2014-08-24 07:29:55 -06:00
Robby Findler
a6ca926aad add an optional argument example to ->i docs 2014-08-24 02:14:13 -05:00
Matthew Flatt
769c5b6edd optimizer: another ((begin ... proc) x) to (begin ... (proc x))
The tranformation this time applies before optimization of the rator
and complements Gustavo's variant, which applies after optimization of
the rator.
2014-08-23 09:13:49 -06:00
Gustavo Massaccesi
d14b4a8095 optimizer: transform ((begin ... proc) x) to (begin ... (proc x))
Currently the optimizer can convert ((let (...) ... proc) x) to
(let (...) ... (proc x)). This is useful especially if proc can be
inlined. Extend this to begin's forms.
2014-08-23 08:59:39 -06:00
Matthew Flatt
63e940d147 scribble/srcdoc: add form-doc 2014-08-22 13:25:35 -06:00
Vincent St-Amour
8de77f596f Allow type annotations after for clauses in the for macros.
Cf. GH issue #751.
2014-08-21 16:55:32 -04:00
Vincent St-Amour
2a4c1a7d18 RacketCon talks update. 2014-08-21 16:55:24 -04:00
Gustavo Massaccesi
1f2f7a1df4 optimizer: more optimizations for unary operations
Previously, the optimizer simplified the application of some unary functions inside let,
for example (car (let () ... (cons 1 2)) => (let () ... 1). This commit extends this to begin forms,
like (car (begin ... (cons 1 2)) => (begin ... 1).

Also, constant folding and some reductions were only availed in the direct case, for example
(procedure? car) => #t. With this commit these reductions are extended to the expressions
inside let and begin, for example (procedure? (let () (begin ... car))) => (let () (begin ... #t).
2014-08-21 09:37:10 -06:00
Matthew Flatt
ee799eff48 Mac OS X PPC: fix dylib paths
Relevant to PR 14694
2014-08-21 09:13:57 -06:00
Robby Findler
ad8b487712 update dns tests based on change at nwu 2014-08-21 08:51:26 -05:00
Robby Findler
2d63f11949 add slide-pict/center 2014-08-20 22:25:50 -05:00
Spencer Florence
dc4398235a Slight change to how drracket handles lexer/colorers, and doc changes to color:text<%> 2014-08-20 22:25:50 -05:00
Tobias Hammer
e637d78a09 fix cross compile on QNX
got broken in 2e284cc783
The racket version of libunwind is not compatible with QNX but old-style stacktraces are still working with the default gcc version
2014-08-20 16:47:20 -06:00
Jay McCarthy
60ab149edf Update PLT sites 2014-08-20 13:45:06 -04:00
Matthias Felleisen
746a346d3d factored out a common pattern in tests 2014-08-19 09:03:19 -04:00
Matthias Felleisen
542860fc5c run test in its own eventspace to adjust for change in running worlds and universes 2014-08-19 09:03:19 -04:00
Matthias Felleisen
5a8479b998 separated automatic from manual test so that drdr can run the former 2014-08-19 09:03:19 -04:00
Matthias Felleisen
ef535cf476 fix resource administration in run and launch-many-worlds
the goal is to enable the creation from executables from world and universe programs
2014-08-19 09:03:19 -04:00
Matthias Felleisen
9696095ada fix bug in error reporting 2014-08-19 09:03:19 -04:00
Matthias Felleisen
0b35ec71a8 fix name of function in string-whitespace and remove spurious displayln; Closes PR14679 2014-08-19 09:03:19 -04:00
Sam Tobin-Hochstadt
51254f0626 Fix URL query parsing in Firefox.
Closes bug 14686.
2014-08-18 13:52:06 -04:00
Kat Lyons
7ed93e6fba Add net/http-client to Typed Racket 2014-08-15 11:19:48 -04:00