This reverts commit 5c02b1c95accdb17a13c5269e17976b6785441bd.
The caching table doesn't hold entries weakly, which means that
it can be a space leak.
original commit: 5f1c8d3ec99180169640a713fd504bb8f6d00602
The optional arguments for `call-as-current' for `gl-context<%>'
were not implemented, and the locking implementation didn't match
the documentation in other ways.
original commit: f729c6441c5a4ef46e2df6fd1bd29fd6f26aaa94
This was broken in the class100 port. The init arguments
previously handled by the class100*/kw macro need to be
explicitly passed down.
Also, an (init-rest) is needed at the leaves of the class
hierarchy to ensure that internal super init args don't
leak via error messages. (the class100 macro always
inserts these)
Added a test file so similar breakage is detectable in the
future.
original commit: 0e4f9fcd9771986b5e960686d35f5fbf32eeb634
With this commit, all of the leftover mentions of gracket in
`drdr:command-line' are things that pop up windows.
original commit: 2c19677358f2e36134927655a6f2df8a90ab4432
1. Lots of #lang-ization, other racketizations, code improvements, etc.
2. Some files that were not working now do.
3. "collects/tests/aligned-pasteboard" had some files that were near
duplicates of "collects/mrlib/private/aligned-pasteboard/tests".
I've removed the former since in a few places it looked like an older
version (eg, there were bogus references to a non-existent
"utils.rkt"). The former has more files that are in runnable
condition now.
4. There are plenty of tests that look like they're failing, but it
wasn't shown since they just return #f, and when they were running
with a "-f" these results weren't displayed.
5. I have no idea about the code, this is all just reshuffling and minor
editing.
original commit: b8034828d0d3cbdc02216266ef7ea94e46d5e7a6
When the theme-specified default font has a localized name,
using it as a Pango faily name doesn't work, with the result that
text on controls could be truncated. Get a Pango-friendly
name by converting a LOGFONT to a Pango font description and
getting the name from the font description.
original commit: 7a9c8e5d404cbbb246ed0ebdc0cf80ed2368be54
Altered TR's random arithmetic testing to generate single-flonums and very small flonums; fails now because of erroneous types
Fixes to sgn, sinh, cosh, and tanh:
* preserve single-flonum-ness
* correct zero sign (-0.0) for negative return values that are smaller than epsilon
* correct behavior with NaN and infinite inputs
original commit: a713ca8a8b6c7aed987e80d0621484e68bc3c6f5
This handled init argument inheritance for class100, but
all uses of it have now been removed.
original commit: 05394aff7eb442a3c8711998caa3e6b3d0e58be8
"My" -> "Racket". The "My" prefix was from initial experiments,
of course, and I just never got around to changing it before.
I think these names go into a global namespace, though, at the
ObjC level, so they need to have a distinct and Racket-specific
prefix.
original commit: 3a9f8eea4fa9f44cc93526ce1ce208cd870a3a74
line-numbers mixin
Specifically, when both are turned on, the #lang line now shows
the line number and shifts the "#lang ..." over to the same spot
where it is drawn when the first line is natually visible
Also, rackety
original commit: dfa0305bb3234808334607758f6ddceb32767824
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
original commit: 964020f288a73340052b471327bfe873d804eea8
The argument is `(curent-eventspace)' by default, which makes ports
work better with threads.
Closes PR 12749
original commit: b30374824a7d79b96443da6e0e4223dd72da597b
Changed `open-output-text-editor' to put its additions into
an edit sequence to better work with threads.
Fixed problems in editor-canvas refresh and resize events, where
the editor's refresh synchronization wasn't used properly.
Fixed race conditions in the the protocol that is used to separate
refreshes and edit sequences.
Related to PR 12749
original commit: 48f7ddafe4d3363635f775a0da0980065718d5a4
Also, use keywords for `make-pen' and `make-brush'.
Adding `make-pen' and `make-color' creates many conflicts among
teaching libraries, such as `2htdp/image'. These are easy to fix
up in the tree, but adding such obvious names to `racket/draw'
may create other compatibility problems, so we might have to reconsider
the names.
In consultation with Asumu.
original commit: 68e005fb2c14551be54beb5543928ac9b7b769ac
- Make set-immutable a local method and document
is-immutable? as a public method
- Add some racket/draw tests
original commit: 8db45eb55788d63383334c93694e8e26a2e1108c
When the requested font isn't available, fall back to
the default font at the requested size and style
original commit: 9c025210aa01989109e8ac2e8ed95c35a432387e