Commit Graph

40 Commits

Author SHA1 Message Date
Robby Findler
ae01dc64e3 add preference layers 2017-01-22 21:28:20 -06:00
Robby Findler
1b10e27b5d adjust various things so that the group test can be run in
a single process and without (I believe) depending on the 
OS's idea of which frame has the focus
2017-01-15 18:28:09 -06:00
Robby Findler
a115076fe4 add a GUI interface to toggle the x selection mode
closes PR 15365
2016-11-19 08:28:29 -06:00
Robby Findler
18404570dd improve support for editing the ascii art (unicode) #2d rectangles
specifically, add a mode that avoids breaking the edges of
the rectangle when you type and add a keystroke for adding
a new in the existing row
2016-07-30 04:55:01 -05:00
Leif Andersen
ef78d330b6 Move docs for racket/gui/init and racket/gui/interactive
Previously they were part of the base repo.
2016-07-26 09:41:58 -04:00
Robby Findler
c3f4b5dedd generalize set-interactive-write-handler & use it in text:ports-mixin
to avoid duplicate code between the drracket support for printing and
for write/display; also add a special case for 2htdp/image images
because they can be trusted across the boundary between DrRacket's
implementation and the user's program (as there is no way to embed
arbitrary code into a 2htdp/image image)
2016-05-28 18:34:52 -05:00
Matthew Flatt
399cfe9c5b add 'hide-hscroll and 'hide-vscroll for panel% 2016-05-18 15:30:33 -06:00
Matthew Flatt
fc813b32ca cooperate with tethered-executable builds 2016-04-14 16:21:16 -06:00
Matthew Flatt
ac0442b990 framework preferences: add option for Control+Alt as AltGr 2016-03-17 17:01:36 -06:00
Matthew Flatt
282a22b8f0 add any-control+alt-is-altgr
Thanks to Bert De Ketelaere for helping to sort out this new
behavior.
2016-03-17 16:39:40 -06:00
Robby Findler
28406b9a76 remove the restriction that new preferences can be registered only before a snapshot is grabbed
also improve the docs a little bit and some Rackety
2016-03-08 09:29:03 -06:00
Matthew Flatt
5736535b8a avoid spurious screen refresh on text-measure operations
The drawing layer now indicates whether drawing content was
changed as it releases a drawing handle.
2016-02-05 16:51:39 -07:00
Matthew Flatt
e206dab087 use #:runtime?-id for improved cross-build support 2016-01-09 09:47:28 -07:00
Matthew Flatt
edc56ee8de Windows: change play-sound to use MCI
Provided by Eli Barzilay.

This approach is better than a separate process, because creating
too many processes can overwhelm the OS. Also, MCI supports more
sound formats.
2016-01-04 17:41:53 -07:00
Robby Findler
759d89443f add support and docs for the snip flag HANDLES-BETWEEN-EVENTS 2015-12-17 16:18:46 -06:00
Robby Findler
be9cd36922 added editor:font-size-message% 2015-11-27 10:41:57 -06:00
Robby Findler
fe77bb34d4 more on scroll-by-copy
make it per-editor customizable, add callbacks, and use
them to make the special first line mixin work properly
when it is enabled
2015-11-26 13:11:47 -06:00
Matthew Flatt
facc07e123 Cocoa: make copy method work for canvas DC
Also correct problems with disabled scrolling via `copy`.
2015-11-23 12:13:48 -07:00
Matthew Flatt
4daafb2357 implement GL screen sync for Cocoa canvases 2015-10-18 17:49:32 -06:00
Matthew Flatt
b842b1feec Mac OS X 10.11: register control font to make it Pango-accessible
The new system control font is (intentially) not associated with a
font family, so it's inaccessible via Pango. A patch to Pango lets
us synthesize and register new families, so the control font can
be made accessible.
2015-10-04 20:36:17 -06:00
Vincent St-Amour
1b8b9b94fe Use option contracts from racket/contract/option. 2015-09-14 14:33:32 -05:00
Vincent St-Amour
2423c91319 Add snip canvases to mrlib, from unstable/gui/snip. 2015-09-11 17:19:40 -05:00
Vincent St-Amour
231f8ad6a9 Use 2d instead of unstable/2d. 2015-09-07 18:40:58 -05:00
Robby Findler
5d815a0345 add the framework:standard-style-list:weight preference 2015-09-05 17:35:15 -05:00
Matthew Flatt
580e49f520 cocoa: fix placement of the file dialog as a sheet 2015-09-04 07:54:34 -06:00
Matthew Flatt
79a3a9ebf8 use cross-system-type for the mred installer 2015-08-27 20:59:33 -06:00
Matthew Flatt
d1736765b6 add get-gl-client-size to canvas%
GL scaling in a canvas depends on a combination of the `gl-config%`
setting and the platform, so `get-gl-client-size` takes into account
both.
2015-08-18 15:10:02 -06:00
Matthew Flatt
f42356da3f Support and prefer GTK+ 3 on Unix/X
The main advantage of GTK+ 3 is better support for HiDPI
displays. If GTK+ 3 libraries are not available or if the
`PLT_GTK2` environment variable is defined, GTK+ 2 is used
as before.
2015-08-16 20:55:35 -06:00
Matthew Flatt
5b7bf69a13 HiDPI support on Unix (Gtk2)
Support GUI scaling in much the same way as on Windows, where
the OS setting ("org.gnome.desktop.interface.scaling-factor"
times "...text-scaling-factor") determines the scale that is
used for both graphics and GUI sizing.

As I understand it, a complete solution requires porting to
Gtk3. With Gtk2, the graphical part of a widget doesn't scale.
Text and image labels should scale correctly, though.
2015-08-01 18:06:12 -06:00
Jay McCarthy
6fa420d947 add get-scaled-client-size 2015-05-20 12:59:51 -04:00
Jay McCarthy
bc87ded206 adding version requirement for hires-mode 2015-05-19 14:59:33 -04:00
Matthew Flatt
030a02a53c add {get,set}-area-selctable to pasetboard% 2015-05-16 09:05:22 -06:00
Robby Findler
ab998c9f53 add all-string-snips<%> and all-string-snips-mixin
This is pulled out of DrRacket, mostly just to be able to add test cases
2015-05-09 11:17:54 -05:00
Robby Findler
2517366ea3 bump version number for snip-special change 2015-05-02 17:50:28 -05:00
Robby Findler
cb651731d0 refactor to introduce compute-amount-to-indent 2015-04-17 11:37:09 -05:00
Robby Findler
e4e164ff82 bump version number so drracket can depend on changes in 134144a and 6ddf433 2015-04-10 17:11:42 -05:00
Robby Findler
7a3c102d1c add pulled-point to 2htdp/image's core 2015-02-01 14:39:37 -06:00
Robby Findler
d0561137b5 extend curves in 2htdp/image so they can be filled 2015-01-10 19:43:13 -06:00
Robby Findler
9551380791 add after-set-port-unsaved-name and set-port-unsaved-name 2014-12-11 21:33:42 -06:00
Sam Tobin-Hochstadt
135e357a37 Remove extra directories. 2014-12-02 02:33:07 -05:00