It's very helpful to have a visual aid when dealing with a graphical
interface toolkit.
This patch adds an overview of the widgets available in the library
consisting of screen shots of the main ones and the snippets used to
produce them.
Each widget image link back to the full documentation.
original commit: 54ab1bfbfabb5e5fd8a8fe758a57da87b7bdb994
choose to print to pdf as well. Also, enable the preference
under linux (ie, make it available to be chosen-- all platforms
still default to printing via the platform-specific mechanism)
original commit: c675cf47f03cd50ff305bc7947c95628da151da5
A recent bug fix involved moving part of an `editor-canvas%' resize
out of atomic mode by queueing a callback (because the resize involves
quesrying the editor for its size, etc.), but then the callback
happens after a canvas is shown, which can cause it to appear with
bogus initial scrollbars. Queue the callback instead as a "refresh"
level callback, which gets a chance to run before a frame is made
visible.
original commit: 11045a0384b2b6f185cd98aec59e27b96b68c5f7
The `on-size' method is called in atomic mode,
and we can't call into the editor's sizing functions
in atomic mode.
Watch out for refresh and/or window-sizing problems.
original commit: dba3c14746b5c97d4a04e85e352b4161408e6655
used under windows, so just give a menu shortcut under
macosx and under windows rely on the underscore thingy
original commit: f1a4aeedba431f8ed54767dc045e4d2a5282b5a4
various callbacks to keep its menu items straight, but
instead uses the on-demand callback to just get them
all right.
original commit: 49eb4ab11cb28ba543b4f5ee9738cd240bec6b8a
Cairo doesn't seem to deal correctly with an HDC produced
by BeginPaint() that has a clipping region. The problem affects
only Win64. Work around the problem by drawing to a separate
HDC and copying to/from the screen. (To see the problem before
this patch, draw the DrRacket window to the edge of the screen
and back, and observe tha the toolbar doesn't update correctly.)
This change could affect performance, but it should mostly
be limited to refresh when a window moves.
original commit: d5024f0f20e077621e7ecf34a4d498c6bcd59698
For a non-WXME file, fall back to the original load handler,
instead of re-implementing it. This makes module caching work
the right way. Falling back to the original means closing
the port and then re-opening the file to load, but that seems
ok.
original commit: cc2c701a7dc618882ac0464e4e3c6bcd2e3c34a0
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