Commit Graph

4274 Commits

Author SHA1 Message Date
John Clements
bc8fb85de2 unimportant tabbing fixup
original commit: e178dbc4f245cbeed487e8a8efd62fbab13ec8e0
2011-07-28 22:51:00 -04:00
Robby Findler
cd48f8a314 adjust the control-s keybinding so that it behaves like the menu shortcut
keep the old keybinding on esc;% (only under linux)

original commit: eba9c56d8cd7ea14485d9ad0be4586586b4aa36f
2011-07-25 13:40:15 -04:00
Matthew Flatt
63501f5363 add 'no-focus style to `editor-canvas%'
original commit: f13a669d056358ac2b50e6a8a2907e40045593a6
2011-07-25 11:30:23 -04:00
Matthew Flatt
7556774742 cocoa: fix problems with sheets and focus
Avoids a problem with the file dialog when a sheet is the
current "main window" (Cocoa terminology); when the file
dialog is closed, both the sheet owner and the sheet
become the main window (in that order), so that when the
sheet goes away, the sheet owner doesn't become the main
window as it should. It seems like a Cocoa problem. The
workaround is to hook into the callback that says a
sheet went away.

Closes PR 12073

original commit: 69f7e912d2bffd638123475ce0041e6188ab5f02
2011-07-25 11:30:22 -04:00
Matthew Flatt
26d947d5eb work around win64 drawing problem
Merge to 5.1.2

original commit: 8711aa6c5d819899fce1ff06f5bf60fe01cc10cb
2011-07-22 07:51:01 -06:00
Robby Findler
ad8348a51d fix the png conversion code for 2htdp/image images
closes PR 12061
  please merge to the release branch

original commit: 56b82ba83c5d29afaafbed602c8e14873a14f953
2011-07-22 08:09:17 -05:00
Robby Findler
21ea7fb026 change autowrapping preference default
please merge to release branch

original commit: 2a78ea97237e93e980b8a4ef16563882d8f03822
2011-07-19 16:17:04 -05:00
Robby Findler
3b8bdc5ec1 adjust the size-pref frame mixin to track the position of the frame in a multi-monitor sensitive way
(also fix various issues with that code and unify the framework and drracket way of doing this)

original commit: 3fa2cc0d6775f1793a5068295e0370cadb70cfaf
2011-07-19 16:16:50 -05:00
Sam Tobin-Hochstadt
9a24ed8a3a Pass the correct number of arguments to `display-size'. Closes PR 12062.
original commit: f67d46cd2fee984927344c161f1a91301dbe4454
2011-07-19 17:04:51 -04:00
Matthew Flatt
eb2aca3480 win32: fix is-maximized' in frame%'
Merge to 5.1.2

original commit: 255549c8c8fb751a2128478179cb078a70218f3b
2011-07-19 08:55:33 -06:00
Matthew Flatt
e11437eb9e cocoa: fix image paste
Closes PR 12028

 Merge to 5.1.2

original commit: c8b37633599a3db93099daec94ce28d399c1b696
2011-07-19 08:12:39 -06:00
Matthew Flatt
15bfdb93aa add get-display-count' and #:screen argument to get-display-size'
and to `get-display-left-top-inset'

 add -M <monitor> option to Slideshow

original commit: 23a2a075eaa636b27ec0700a054d49989ae53a0e
2011-07-18 20:15:15 -06:00
Matthew Flatt
bd5f04dc44 gtk: `get-display-size' reports main monitor only
and the same for `get-display-left-top-inset'

original commit: b096fb7503501961f7f42df162750823ea772f3d
2011-07-18 19:59:05 -06:00
Matthew Flatt
d71e63c4b8 change GDK_POINTER_MOTION_HINT_MASK back to GDK_POINTER_MOTION_MASK
because HINT doesn't works as expected, and the problem it
 seemed to solve at one time (slow resize in DrRacket) seems
 to have been fixed some other way. GDK_MOUSE_MOTION_MASK
 isn't needed, since GDK_POINTER_MOTION_MASK covers it.

 Merge to 5.1.2

original commit: 5edc0c70afc1e2aeada096f0eb50c92c0f9d8b65
2011-07-16 14:30:08 -06:00
Matthew Flatt
8941903f41 fix void result to match contract
Merge to 5.1.2 if Robby agrees

original commit: 5e0d6e0deed790c8a5104475beb26a156704ec59
2011-07-16 14:30:08 -06:00
Asumu Takikawa
18301de691 Fix a few framework contracts to match code
original commit: 6c3284a828f58475a9a8cd6cda6665864b156d3b
2011-07-14 18:15:48 -04:00
Robby Findler
725d1f344a fix bad contract
original commit: 2fb03852b34e326a870f6647ac4b39829e31f53f
2011-07-13 06:47:20 -06:00
John Clements
61deb48a44 added automatic parens preference
original commit: b14ac37d99858854dfab1e6881c750c7534f8465
2011-07-12 12:23:08 -07:00
Matthew Flatt
21db4d7457 git: fix "&" and "_" handling in labels
original commit: ff49859c800cff72f662308475aafda098f20950
2011-07-06 09:54:57 -06:00
Matthew Flatt
139a564f07 cocoa: fix "&" handling in menu-item labels
Closes PR 12025

original commit: de54efc84e92e46f549dfdda82102ffc39df72b5
2011-07-06 09:54:41 -06:00
Guillaume Marceau
9990536bf8 The new error messages now pass the tests/language-test.rkt suite
(except for contract runtime error messages in levels higher than
 beginner.)

original commit: 6eea5b1793dea07589ba89fec596757aa1127784
2011-07-06 00:19:26 -04:00
Eli Barzilay
950c968e77 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Ryan Culpepper
856c27560b docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names

original commit: 1b702a2ae32aba835f7467ced6b203902db0ccd9
2011-07-01 17:16:53 -06:00
Matthew Flatt
371f2ca494 add ffi/winapi; use it in mzlib/os
Closes PR 12007

original commit: 59731368fc7d90c1177c60ade3ec1f8c4fb0a4ae
2011-07-01 10:42:17 -06:00
Eli Barzilay
f1b2ecf4aa Get rid of "defaultly"s.
original commit: 78dacef817e0349071fb0300cf46b800ef58bfa5
2011-06-28 02:11:24 -04:00
Eli Barzilay
ef528b7fc5 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Eli Barzilay
b60716e547 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.

original commit: a38f384a002ccf6c3cbaab813fe080ca226e4a59
2011-06-28 00:45:38 -04:00
Robby Findler
73e0722fcd added get-pos/text-dc-location method to editor:basic in framework
original commit: f93ff4de26248f6d3b2fd96c4a9da0c470c1494e
2011-06-26 15:49:55 +08:00
Eli Barzilay
ec12cbefed A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.

original commit: ac26fe75546b5182d78f18c2cd882f0f440849e2
2011-06-25 04:08:47 -04:00
Vincent St-Amour
f993ab43fd Fix remove-clickback.
original commit: 5c77b1941692f22b78c155d6bb1f632d66fd87c1
2011-06-24 15:18:31 -04:00
Asumu Takikawa
f4d93852bd Fix another GUI typo
original commit: cbd0f31800da4ca98674703e44edb854b87f0611
2011-06-22 16:04:19 -04:00
Matthew Flatt
4ba8900913 gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity
original commit: b4e3e065ac64afa0c3b79b8031fdcb148e1e0025
2011-06-20 14:46:14 -06:00
Matthew Flatt
df75f1f513 fix initial panel size
so that it doesn't force an enclosing frame to grow

original commit: da2b3f94fb732048b8c4dd013ebe8bb35150f468
2011-06-20 10:28:56 -06:00
Eli Barzilay
4f207d84ed Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
2011-06-20 04:27:14 -04:00
Robby Findler
42babf1e93 improved the error messsage for contract violations of preferences:add-callback
original commit: e008fc33999bd022c63c8493a1894428ed49053e
2011-06-20 15:09:00 +08:00
Matthew Flatt
f059bb7e22 fix dialog modality
original commit: 13da5a79d72db67b50ee94920942dd9a09c4e13d
2011-06-19 08:22:08 -06:00
Matthew Flatt
e9e8b55383 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.

original commit: f34a31cac945a622ea5994ca270cc5e253c795ed
2011-06-17 18:54:43 -06:00
Matthew Flatt
e3d995ee87 place-specific low-level "sleep" function
to make racket/gui work right with places (running
 in just one of them) on Mac OS X

original commit: 5a5800d51316c98827e47544deec658b8456fb03
2011-06-17 17:03:21 -06:00
Matthew Flatt
da5518081d win32: fix checkable menu item to toggle on selection
Closes PR 11985

original commit: 6f42c6ed5e2682e6d43a01d9b3c486df9e6027ef
2011-06-17 16:02:49 -06:00
Robby Findler
7c6bdcbc98 added edit-sequence when flushing the delegate updates
original commit: 524d53339296a9b1d047ed77bd50b99a031ef9fc
2011-06-17 15:46:52 +08:00
Robby Findler
5c21353cb5 attempt to try to make the contour window feel faster by delaying the work until nothing has happened for 250 msec
original commit: 24d11805ac25fcb3a0505009ff47ff8c95392f5e
2011-06-17 12:43:14 +08:00
Robby Findler
fed9746be7 add more caching to avoid calling normalize-path so much;
this should affect the test coverage coloring and the stacktrace
arrows/stop-sign window

original commit: 9bf26ef69e5b8c067286109afe7401665133ff3b
2011-06-15 16:45:47 +08:00
Asumu Takikawa
c160759c8d Fix GUI and Reference doc typos
original commit: ed590b8ec53dddae9a65a656f03ff6023ddb774e
2011-06-13 17:57:21 -04:00
Eli Barzilay
b89e20385f Specify what happens on OS X with ;-separated globs.
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.

original commit: 3ecdd3bc592a36b73ec9b9086b8a280eadd1c9f0
2011-06-06 02:01:26 -04:00
Eli Barzilay
8e622af502 cocoa: fix `get-file' when any extension is allowed
original commit: 045369e3b9d54dcef0e4a950f21581a0810aa56a
2011-06-03 01:38:40 -04:00
Eli Barzilay
5c2af99006 Make the cocoa file dialogs deal better with ";"-separated globs.
* Note the ugly hack of adding "foo~" for every "foo" suffix.

* Note also that when "*.*" is in the glob list all files should be
  available but it looks like this isn't working yet for some reason.

original commit: e9487fb0c739427fa49f79b4f512fb717ab683a9
2011-06-03 00:56:21 -04:00
Robby Findler
63f26ed181 adding a missing 2htdp/image color => racket/gui color coercion
closes PR 11956

original commit: 9e36dc8eb328d9c50fcdaf2a8765b09e6591e96e
2011-06-02 16:27:09 -07:00
Eli Barzilay
3235598f6d * Make the drracket `default-filters' have a ";"-separated glob for all
patterns instead of one pattern per suffix.  (This was almost never
  used -- only when saving a file that is in text mode.)

* Since this default is the same that the scheme
  mode ("framework/private/scheme.rkt") sets, remove that
  setting.  (Leave it commented in case there's need to have some
  different global default.)  It makes the above default get used when
  saving a scheme-mode file.

* Finally, for some reason the code in "framework/private/finder.rkt"
  was not using these `default-filters' at all for the file open dialog
  in `*get-file'.  (I tracked it back to CVS when the code was written,
  and it was never used.)

  I made it use it now.  This is visible on gtk (and probably on
  windows, not sure what OSX does) in that openning a file would show
  you all files.  After this change, it would show only racket source
  files, but there will be an option to switch the pattern to show all files.

  ** If the previous setup (showing all files) was intentional, it would
     be better to simply change "drracket/private/main.rkt" to add the
     racket source globs before the default.  In that case it might also
     make sense to uncomment the change in scheme.rkt back in, so when
     saving the default is the racket file suffixes (but this sounds
     like a confusing UI).

original commit: 1582f160bc9c778af05ff9216854576b3b1d806b
2011-06-02 10:06:15 -04:00
Eli Barzilay
4a7d60f87e Split the glob patterns on ";", and add them all to the gtk dialog.
original commit: 42fe92cd257741aa308cf834a0e9d23dfdf5f6f0
2011-06-02 09:33:53 -04:00
Matthew Flatt
830c42cb1e cocoa: fix get-y' in frame%'
original commit: c0811dc220c847c7132679ca4d3acb9f3fb93754
2011-05-26 07:29:09 -06:00