When a GUI program is run through `racket` instead of `gracket`, an
extra dance is needed on recent Mac OS X version (10.9, maybe also 10.8)
to make the Racket-based application take over the menu bar.
original commit: fa23a373accff9b698cff6e7d8cd2b17f4515c41
What appears to be happening is that the fields path and next-push
are state variables on this class that are initialized and then used
only during the dynamic-extent of syntax-object->datum/record-paths
and of the pretty-printing code.
So, before the check was in place, they were initialized and used
before the 'path' field was initialized, but by the time the path
field was initialized, the value was junk (not going to be used again)
but it still raised an error
original commit: 34abe306e34e038bb3e6504f6203db3f85a913a2
Mostly upgrades the drawing stack to the latest Cairo, Pango, Glib,
etc., but also upgrades the OpenSSL library on Windows to 1.0.1g.
The new "racket/src/native-libs" directory provides scripts to
rebuild the libraries from source. Those script are fragile, because
library sources and configuration scripts are fragile. The
scripts at least archive some expertise/advice in a mostly executable
form.
original commit: 23cf3ba11e6ea3ac5aa0b3919651f38e037fa2c9
In particular, 'toobar-button (before 10.7) and 'fullscreen-button
(10.7 and later) do not get along, so use only one of them.
original commit: 5193e37f0bb3904c70e0a48d51b5528859bd19c9
Before, they would create a crippled version in that mode, but
that is no longer necessary (it may never have been necessary,
but it certainly hasn't been necessary in a while)
original commit: 8fb8f561c48ad7660b049a318511a929c39e4c06
Just in case a relative path turned into an absolute path doesn't
work as a string, add support for a bytes encoding.
original commit: d722fa42df16e9a74da109582e915c63f59a7a29
Mostly, replace some method calls with field selectors (where the
path is important enough that it seems worthwhile).
original commit: 78321aa4e6ba0a1a3cc32ae41d2d85c16756305a
Some places in the editor API accept an object as an argument
where the object's identity is relevant. In that case, `object=?`
must be used instead of `eq?` to work right with contracts.
original commit: dc0653383f1eb54b05afc0c6f09106536950d0ca
Use the field in a `snip%` that is otherwise used by a `text%` owner
to store line information. Reusing the field avoids the need for
an `eq?`-based hash table of snips.
original commit: 2bd8c2d8edcb54abf21ddd6ff942b656d78d502a
The `~` methods on snip and editor-related classes are not documented
or called from anywhere. They corresponded to destructor methods back
when the classes were ported from C++.
original commit: 70d91b5516a24bb0640cbb0818e6d31f529db539
This change allows undo configuration of individuals editors to
Emacs-style undo (in addition to the 'GRacket:emacs-undo global
preference that is read on startup).
Also, fix a bug in Emacs-style undo that dates from the port of
the editor into Racket.
original commit: f22a89506091203cdd310fb33821513daf77116e
Move new initialization arguments to the end to avoid backward
incompatibility, add fields to `module-event%`, and include history
notes in the documentation.
original commit: be58be349abc2d22c3d2937ed88bcb7b8a15ac07
In particular, Mod4 is used for the Command button when you run Linux
on Mac hardware. I don't know how to get the others, but added them
for safety.
original commit: e7f0f3587a5fee9b3b4185948485bb7df1ac3bda
Atomicity was accidentally turned off in ca0418d47d.
For whatever reason, this bug seems to cause lots of trouble with
32-bit Mac OS X and not as much for 64-bit Mac OS X.
original commit: 13b1d0733a8e686e7b17bf33cfff9f43bcfd5604
Found via TR. The two last arguments are supposed to be
optional but the method only accepted 1 or 3 arguments.
original commit: fca126bf01f990d5600655a879046c95230edc64
The `grab-caret` method's argument is supposed
to be optional according to the documentation.
original commit: 14b133296f39532f12b51fb4bb259cd947c24d1a
(technically, strengthen the way it is written in the docs; it
was already being enforced that way)
original commit: 370418ac2e9f00a981422bee0551d1603b246005