Commit Graph

1607 Commits

Author SHA1 Message Date
Pietro Gagliardi 38772a1a4a Made the custom GTK+ container's forall safer in container_unix.c. 2014-08-14 07:52:53 -04:00
Pietro Gagliardi 8d7eb59fc5 g_ptr_array_remove() DOES preserve order; the documentation is bad. Removed that TODO from container_unix.c. 2014-08-14 07:42:51 -04:00
Pietro Gagliardi de22660ae4 Integrated the custom GTK+ container. Woo! Now to do minor fixups... 2014-08-13 23:37:54 -04:00
Pietro Gagliardi 9cad7bf60b Rewrote the GTK+ container to work for package ui. 2014-08-13 23:27:18 -04:00
Pietro Gagliardi c1e1b0549c Added beginning of the custom GTK+ contianer code. 2014-08-13 23:14:36 -04:00
Pietro Gagliardi ab0bb32b1b Made Tables tab stops on Windows. 2014-08-13 22:38:39 -04:00
Pietro Gagliardi c9f7a2191a Added missing URL from comments. 2014-08-13 17:31:40 -04:00
Pietro Gagliardi c167753bd9 Removed TODO about Windows Table sizing; the alternatives just don't work (literally). 2014-08-13 16:49:30 -04:00
Pietro Gagliardi 1c5f09d49e Removed TODO about using LVITEM memory for Tables on Windows. I would still need to do a UTF-16 conversion on the Go side, and it seems I can't do that to an already-available buffer (it can only be done to a freshly-allocated one). Not even with unicode/utf16. 2014-08-13 15:19:18 -04:00
Pietro Gagliardi 79c97996b3 I can't read; GDK_3BUTTON_PRESS actually must happen in double the time FROM THE FIRST CLICK, not half the time from the second click, so the behavior we have now is correct! TODO removed. 2014-08-13 15:00:32 -04:00
Pietro Gagliardi 952305be82 Rechecked Stack/Grid code; non-standalone Label behavior TODO removed. 2014-08-13 14:56:58 -04:00
Pietro Gagliardi 944da72875 Removed leftover from several commits ago. 2014-08-13 14:53:44 -04:00
Pietro Gagliardi 2baf07d79d Rewrote the main README. 2014-08-13 14:17:36 -04:00
Pietro Gagliardi f45a192247 Documented the previous commit and more TODOs. 2014-08-13 14:12:09 -04:00
Pietro Gagliardi 2a2d730d12 Decided to remove AreaHandler.Defocuses() as that mucks up with the Mac OS X keyboard trap. 2014-08-13 14:09:53 -04:00
Pietro Gagliardi 35228385c1 Kinda sorta maybe implemented AreaHandler.Defocus() on Mac OS X. Starting to think I should just not allow Areas to be focused out. 2014-08-13 14:02:10 -04:00
Pietro Gagliardi b01c653942 Made Areas on Windows tab stops and implemented AreaHandler.Defocuses() on Windows. 2014-08-13 10:41:27 -04:00
Pietro Gagliardi 59f2eeca22 Figured out why I'm getting intermittent crashes. Worked around for now, but will become a major issue soon... 2014-08-13 09:57:22 -04:00
Pietro Gagliardi e28b791489 Implemented AreaHandler.Defocuses() on GTK+. Also more future plans. 2014-08-13 08:01:13 -04:00
Pietro Gagliardi 0a4dfbbae1 Added a new method to AreaHandler, Defocuses(), for navigation events. 2014-08-12 22:58:23 -04:00
Pietro Gagliardi 503364af51 Added a proposal for a Sidebar control. 2014-08-12 21:02:47 -04:00
Pietro Gagliardi 6dcda6aafa Determined that Backspace, Tab, and Enter work in Areas on Windows (though more TODOs due to dialog message craziness). 2014-08-12 20:08:53 -04:00
Pietro Gagliardi 9b35def046 Refined a TODO. 2014-08-12 19:58:18 -04:00
Pietro Gagliardi c07a902935 More future plans. 2014-08-12 19:55:56 -04:00
Pietro Gagliardi 07acb1ae04 Now that all calls have to be made on a single thread, Stack.SetStretchy() can safely be called even after its Window is created (which is also when the Stack is assigned to the Window anyway). 2014-08-12 19:54:46 -04:00
Pietro Gagliardi 734901351e More TODOs. 2014-08-12 17:24:14 -04:00
Pietro Gagliardi 5523cdb22a Implemented tab stopping. 2014-08-12 17:18:45 -04:00
Pietro Gagliardi 2146ac2af3 Added WS_EX_CONTROLPARENT to container and Tab on Windows. 2014-08-12 17:04:04 -04:00
Pietro Gagliardi d060977cc7 Got rid of the strlen() call in comctl32_windows.c. Thanks to joeshow on the Gopher Academy Slack. 2014-08-12 15:58:17 -04:00
Pietro Gagliardi f27aa8df46 Removed TODO about Windows Tabs having no currently selected tab out of a nonzero number of tabs; Xeek in irc.freenode.net/#winapi confirmed this cannot happen. 2014-08-12 13:27:27 -04:00
Pietro Gagliardi 24a42d29a5 Improved dialog base units calculations on Windows. 2014-08-12 13:10:30 -04:00
Pietro Gagliardi 9ecd124500 Made Stack an interface to keep parity with all other Controls. 2014-08-12 12:40:48 -04:00
Pietro Gagliardi 7d86f9d440 More future plans. 2014-08-12 12:33:44 -04:00
Pietro Gagliardi acf25c4798 Got rid of invalid pointer/integer conversions in table_unix.c and rearranged some validity tests there to be safer. 2014-08-12 12:29:27 -04:00
Pietro Gagliardi 995fbb2b8f Migrated all Common Controls version 6 initialization on the Windows backend to C. 2014-08-12 12:05:23 -04:00
Pietro Gagliardi 1873b72d49 Got rid of the direct use of WPARAM in Area mouse events on Windows. Whatever happened between then and now, Held works on both Windows and GTK+ now... 2014-08-12 05:11:17 -04:00
Pietro Gagliardi eb504480b1 Fixed the weird crash with calling Do() recursively; woo! 2014-08-11 21:57:20 -04:00
Pietro Gagliardi 166eaeb7db Revert "Revert "Settled race condition TODOs across all platforms... as an unfortunate case :(""
Put this back on master so we can debug.

This reverts commit 67adbd43a1.
2014-08-11 19:38:21 -04:00
Pietro Gagliardi 67adbd43a1 Revert "Settled race condition TODOs across all platforms... as an unfortunate case :("
Things broke when introducing this after the new GC... let's see if this broke under the new GC or not.

This reverts commit b198a4dfec.
2014-08-11 17:18:02 -04:00
Pietro Gagliardi 2c7c8b3a6b More TODOs. 2014-08-11 16:50:45 -04:00
Pietro Gagliardi 7d578d2617 Resolved failure conditions in the GTK+ Table GtkTreeModel implementation. 2014-08-11 14:22:17 -04:00
Pietro Gagliardi b1a2ed827b More future plans. 2014-08-11 14:17:22 -04:00
Pietro Gagliardi b198a4dfec Settled race condition TODOs across all platforms... as an unfortunate case :( 2014-08-11 14:16:23 -04:00
Pietro Gagliardi 5d4fd8169b Settled the Label alignment TODO in label_darwin.go. Also more future plans. 2014-08-11 13:27:17 -04:00
Pietro Gagliardi 219132f2f1 Renamed Mac OS X's container's view field to id to be in sync with the other Mac OS X data structures. 2014-08-11 12:49:39 -04:00
Pietro Gagliardi 55f25afb49 Removed TODOs about initial sizing of Windows and their Controls on Mac OS X; turns out we fixed that problem when we did our container NSView and overrode setFrameSize: :D 2014-08-11 12:40:41 -04:00
Pietro Gagliardi 61cd581ff4 Added a test for window size to test the small window weirdness of Areas on Mac OS X. 2014-08-11 12:21:19 -04:00
Pietro Gagliardi 3ebbae73ec Fixed compilation errors on the Mac OS X side. 2014-08-11 12:00:18 -04:00
Pietro Gagliardi bb8603ed4e Moved Mac OS X modifier flags constants to the Objective-C side for maximum safety. 2014-08-11 11:52:10 -04:00
Pietro Gagliardi 5a67a81e0b Removed a TODO about "other properties" of the Mac OS X Area initializer; I have no idea what those properties would be. 2014-08-11 11:47:28 -04:00