Commit Graph

1576 Commits

Author SHA1 Message Date
Pietro Gagliardi 7cb8fc1e32 Woo yeah it's another API change to MsgBox()! This splits parent out and makes it a receiver of MsgBox() and MsgBoxError() for the case when you want to show modal to a specific window only. These will eventually return channels, but first I'll need to igure out how to get this working... 2014-06-08 08:17:47 -04:00
Pietro Gagliardi 4509247a77 Moved the blurred Area check TODO to future plans because I'd need to find images for that; added some advice for that. 2014-06-08 01:22:38 -04:00
Pietro Gagliardi e234244ead Moved the Listbox preferred size TODO to future plans because this was addressed earlier when trying to do horizontal scrolling; see the experiments/ folder for how poorly that turned out. Preferred size will need the same code. 2014-06-08 01:13:16 -04:00
Pietro Gagliardi d4e06bb4d3 Checked Windows RECT usage and fixed wrong ones. 2014-06-08 00:55:11 -04:00
Pietro Gagliardi de6f07bb13 Reported 64-bit wine failures to the wine team. 2014-06-08 00:51:03 -04:00
Pietro Gagliardi ef3adffd54 Fixed the Windows 7 progressbar animation dumbness. 2014-06-07 23:27:38 -04:00
Pietro Gagliardi d9a8cf07b9 Updated TODOs. wine bug filed; removed that TODO. 2014-06-07 22:58:12 -04:00
Pietro Gagliardi bc848f5c40 Fixed all the NSAutoreleasePool issues on Mac OS X 10.6. 2014-06-07 19:56:51 -04:00
Pietro Gagliardi 70d7f9fb2a Got rid of some of the autorelease pool warnings by creating a temporary pool for each call to toNSString(). 2014-06-07 19:39:59 -04:00
Pietro Gagliardi c7e9c59d63 Removed previous commit from todo.md. 2014-06-07 18:18:06 -04:00
Pietro Gagliardi 9f2669d583 Fixed Command key up on Mac OS X. This fix also fixes Help key down, so remove the workaround there. 2014-06-07 18:17:29 -04:00
Pietro Gagliardi fe4d9b992d Changed SetWindowLong() to SetWindowLongPtr() in the Windows backend. I forgot I already had some there :| 2014-06-07 14:50:05 -04:00
Pietro Gagliardi 7a22f0e073 Fixed a regression in the Windows Area code: when I fixed numpad behavior, I broke NEnter. Fixed. Also more TODOs. 2014-06-07 12:29:38 -04:00
Pietro Gagliardi c34f2c234c Documented click event on activate behavior in the GTK+ backend. 2014-06-07 11:40:25 -04:00
Pietro Gagliardi 77fdd9d1c3 Documented window switch clicks in Area and implemented them on Windows and Mac OS X. 2014-06-07 04:19:37 -04:00
Pietro Gagliardi dcefa88a04 Fixed incorrect numpad handling on Windows Areas. 2014-06-07 00:46:47 -04:00
Pietro Gagliardi 345e497611 Removed the TODO about doing keyboard checks in the same order on each platform; what we have is fine, and the Windows shift key problem is different. 2014-06-07 00:28:47 -04:00
Pietro Gagliardi 83e4f05592 Fixed typo in area.go documentation. 2014-06-07 00:17:50 -04:00
Pietro Gagliardi e45a88d86a Elaborated previous commit. 2014-06-06 23:47:48 -04:00
Pietro Gagliardi d3270db6dc Added note that Areas get focus on Mac OS X on a click event automatically since we make it a first responder. 2014-06-06 23:46:47 -04:00
Pietro Gagliardi 14c7267b10 Made the preferred size of an Area its size on GTK+ as well. 2014-06-06 23:31:50 -04:00
Pietro Gagliardi f539747546 Set Area's preferred size in the documentation and on Windows and Mac OS X. 2014-06-06 23:03:29 -04:00
Pietro Gagliardi 84c41112b3 Updated some TODOs. 2014-06-06 22:52:17 -04:00
Pietro Gagliardi 42e2c130ac Did half the work to fix Help key handling in Mac OS X. 2014-06-06 22:22:36 -04:00
Pietro Gagliardi b6ca650692 Added Help key handling (as Insert) on Mac OS X. 2014-06-06 19:35:26 -04:00
Pietro Gagliardi 3f45feab0b Disabled Travis.ci for now. 2014-06-06 18:59:37 -04:00
Pietro Gagliardi 972e74ce7c Merge pull request #12 from TrevorS/patch-1
Typo, I -> i in Windows. (Thanks to TrevorS.)
2014-06-06 18:58:22 -04:00
Pietro Gagliardi 36c038bfa6 Cleaned up some TODOs. Removed the 18 March 2014 one because since all UI processing happens on one thread, it's not an issue. 2014-06-06 18:02:08 -04:00
Trevor Strieber 0b9e1204ee Typo, I -> i in Windows. 2014-06-06 17:57:22 -04:00
Pietro Gagliardi ef1b699a68 Reorganized and cleaned up the todo.md file. 2014-06-06 14:42:01 -04:00
Pietro Gagliardi 39df03e81a Formatting fixes in the placeholder README. 2014-06-06 10:33:14 -04:00
Pietro Gagliardi 7e3f67b5cd Properly link to andlabs/wakeup in the replacement README. 2014-06-06 10:26:03 -04:00
Pietro Gagliardi c4b160f577 Strummed up a new placeholder README in an effort to replace the existing one. 2014-06-06 10:24:45 -04:00
Pietro Gagliardi 61ed2ea822 Marked a sentence in the Area docs as not being active. 2014-06-06 10:09:18 -04:00
Pietro Gagliardi 4b70a37fb1 Updated doc.go with the MsgBox() change. 2014-06-06 10:07:34 -04:00
Pietro Gagliardi 4856790299 Fixed the standard window class focus behavior on Windows from the previous commit to work. Also updated the SetFocus() call in area_windows.go to boot and removed the relevant TODO after checking both wine and Windows XP work fine. 2014-06-06 01:49:23 -04:00
Pietro Gagliardi 00ec85dee6 Implemented code to save and restore control focus on Windows properly when switching away from/back to our program. It's disabled for now though because it doesn't seem to work... 2014-06-05 23:27:17 -04:00
Pietro Gagliardi bb44712fad Changed Checkbox on Windows to use BS_CHECKBOX instead of BS_AUTOCHECKBOX; this will be necessary to fix the focus issue in todo.md (see http://blogs.msdn.com/b/oldnewthing/archive/2014/05/22/10527522.aspx). 2014-06-05 18:28:40 -04:00
Pietro Gagliardi 753f4316e2 Removed the GTK+ indefinite progressbar TODO; the choppiness is correct for GTK+ <= 3.10: http://blogs.gnome.org/mclasen/2013/11/10/smooth-progress/ - mclasen and Company suggest timing with the frame, but this blog post says this will be automatic in 3.12+, so we're good. 2014-06-05 17:47:20 -04:00
Pietro Gagliardi ae0246d6a7 Removed TODO on gdk_device_ungrab() errors: this is a bug in oxygen-gtk and GTK+ relating to a feature of GtkComboBoxes and not some issue with our code. Thanks to garnacho_ in irc.gimp.net/#gtk+ for figuring this out; this issue will not be followed here from this point on. 2014-06-05 14:54:23 -04:00
Pietro Gagliardi 00ec1215bb Removed some leftover debugging code from the previous few commits. 2014-06-05 13:43:31 -04:00
Pietro Gagliardi 5a9bd4b4b5 Fixed the GTK+ Combobox sizing issues for real this time. 2014-06-05 13:40:47 -04:00
Pietro Gagliardi 86cf1fbcba Fixed resizing of editable comboboxes in the GTK+ backend. Uneditable comboboxes are still an issue, and there's experimental code to try to fix them, but it doesn't work... 2014-06-05 13:04:34 -04:00
Pietro Gagliardi e1c4e7d655 Decided not to change the default window title of a MsgBox() on Windows for now. If I change my mind, it's a documentaiton change =P 2014-06-05 11:03:18 -04:00
Pietro Gagliardi 125cc7d477 Figured out what happens if a message box is created for an invisible window, documented it was undefined (Windows and GTK+ behave reasonably but at least Windows is not documented here; Mac OS X shows a sheet attached to invisible where the titlebar should be and then considers the window closed), and added the panic() checks for uncreated Windows. 2014-06-05 03:09:02 -04:00
Pietro Gagliardi 60f3c1b24f Verified resize differences on MsgBox() with a parent. 2014-06-05 01:03:37 -04:00
Pietro Gagliardi 89ab55cfbd More TODOs. 2014-06-05 00:55:31 -04:00
Pietro Gagliardi 60de6d05c5 Implemented message box transience on Mac OS X. 2014-06-05 00:53:26 -04:00
Pietro Gagliardi 8e0a38dc47 Implemented the new MsgBox() transience behavior on GTK+. 2014-06-05 00:24:05 -04:00
Pietro Gagliardi 7acc70c39e Implemented the new MsgBox() transience on Windows. 2014-06-04 23:28:43 -04:00