Commit Graph

21 Commits

Author SHA1 Message Date
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