Commit Graph

365 Commits

Author SHA1 Message Date
Pietro Gagliardi 52339e1f11 More TODOs. 2014-08-14 15:41:05 -04:00
Pietro Gagliardi 72375c7ef1 Made Windows container transparent. Transparency not completely functioning yet... 2014-08-14 15:19:34 -04:00
Pietro Gagliardi cf604f7b05 Fine-tuned margin/spacing values on Mac OS X. Also more future plans. 2014-08-14 13:44:24 -04:00
Pietro Gagliardi c187aa59b9 Moved TODO about Labels to mergeback/grid.go; will worry when Grids become a thing again. 2014-08-14 13:15:11 -04:00
Pietro Gagliardi acbe70b4e5 Fixed the infinite loop on Tab control dialog message bug(s) on the Windows backend. 2014-08-14 13:05:31 -04:00
Pietro Gagliardi 2c8bb7bc6d Fixed Tabs on Windows having undesirable tab stop behavior. This doesn't work correctly in wine, and I can confirm for the first time that it actually is a bug in wine! 2014-08-14 11:30:48 -04:00
Pietro Gagliardi c1dc235d3b Stripped C-style comments from C sources and headers where appropriate. 2014-08-14 10:42:10 -04:00
Pietro Gagliardi 19976849e1 Added C99 to the Windows and GTK+ cgo CFLAGS after Ian Taylor confirmed it was safe to use. 2014-08-14 10:26:09 -04:00
Pietro Gagliardi 7ddc99fd7f Merged xsizing_darwin.m into control_darwin.m. Even though alignment info is only currently used by Label, these functions are called in basegetAuxResizeInfo(), and who knows what will happen future. 2014-08-14 10:12:28 -04:00
Pietro Gagliardi eb4b082d7f Decided to consider the preferred size of all tabs on Windows; on Windows Tabs aren't really expected to resize based on which tab is selected, unlike Mac OS X... 2014-08-14 10:03:11 -04:00
Pietro Gagliardi a2629c2bbf Wrote the documentation for Go(). Also more TODOs. 2014-08-14 09:53:29 -04:00
Pietro Gagliardi 4e120b03df Removed GTK+ spurious resize TODO and debug spiel; I can't notice much of a difference after ignoring extraneous resizes. The custom container will stay, however, as it does not demonstrate weird background drawing bugs with oxygen-gtk. 2014-08-14 09:46:33 -04:00
Pietro Gagliardi c94a976822 Cleaned up a bunch of TODOs, moving a few to future plans. 2014-08-14 09:38:12 -04:00
Pietro Gagliardi d384df97d0 Implemented table column autoresize on Windows. Also fixed Windows/Mac OS X build. 2014-08-14 09:20:20 -04:00
Pietro Gagliardi 697b3cc1b0 Updated debug spew. 2014-08-14 08:00:05 -04:00
Pietro Gagliardi 9aacd55d58 Removed the preferred width/height calls from the custom GTK+ container; we aren't really going to use them. 2014-08-14 07:57:24 -04:00
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 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