Commit Graph

1015 Commits

Author SHA1 Message Date
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
Pietro Gagliardi 4e6f6cd147 More TODOs. 2014-06-04 23:16:27 -04:00
Pietro Gagliardi 7ee05f8263 Added the concept of transience to MsgBox() and MsgBoxError(). Individual implementations will come next. 2014-06-04 23:12:56 -04:00
Pietro Gagliardi c3a87ab713 Resolved the ACTCTX_FLAG_SET_PROCESS_DEFAULT TODO by deciding to enable this flag for maximum safety. Also added more future plans. 2014-06-04 19:30:19 -04:00
Pietro Gagliardi fb7e638d69 Resolved TODO about indeterminate ProgressBar repetition by deciding to leave it to the implementation. 2014-06-04 19:09:26 -04:00
Pietro Gagliardi bd08967a5a Removed TODOs about sign extension on Windows; situation resolved. 2014-06-04 19:06:16 -04:00
Pietro Gagliardi ec5c4594b2 Added a link to the older Layout page on MSDN to prefsize_windows.go. 2014-06-04 12:29:07 -04:00
Pietro Gagliardi 5027a50845 Resolved a TODO in stdwndclass_windows.go about deferring WM_NCCREATE to DefWindowProc(). 2014-06-04 01:17:59 -04:00
Pietro Gagliardi bc34836227 Marked the README as needing updates and added API change warnings. 2014-06-03 23:14:12 -04:00
Pietro Gagliardi 427a0f3a74 Big change to Window: split Open()'s functionality into Create() and Open(); they no longer return errors. 2014-06-03 23:08:51 -04:00
Pietro Gagliardi 59870e80f0 Quick changes: turned "Window has been opened" to "Window has been created" since I'm going to separate creating and opening (Open() will call Create()). 2014-06-03 22:54:28 -04:00
Pietro Gagliardi d69c90401f Decided to panic in the hwnd sanity check in sysdata_windows.go; the situation /is/ exceptional, after all (and we need to just get rid of all errors sometime). 2014-06-03 22:47:49 -04:00