Commit Graph

2247 Commits

Author SHA1 Message Date
Pietro Gagliardi 5531866fed Added Group on Windows. 2014-08-15 22:56:55 -04:00
Pietro Gagliardi c5ee8c62da Resolved some future plans. 2014-08-15 21:44:35 -04:00
Pietro Gagliardi 318036d155 Added Group and implemented it on GTK+. 2014-08-15 21:43:24 -04:00
Pietro Gagliardi 6b77304c8a More future plans. 2014-08-15 20:08:14 -04:00
Pietro Gagliardi bf57ce17ca Removed outdated comment from Control's documentation. 2014-08-15 20:01:57 -04:00
Pietro Gagliardi a282a12b81 Fixed up Grid and wrote a test. 2014-08-15 19:50:00 -04:00
Pietro Gagliardi 0359d3bf4a Added Label.isStandalone(), used by Grid. Now for the Grid test... 2014-08-15 19:35:49 -04:00
Pietro Gagliardi d824e549f1 Adjusted Grid to be like new Stack. Automatically made Labels in Grids filling. 2014-08-15 19:34:06 -04:00
Pietro Gagliardi 1fe7831cb8 Moved Grid back. Removed now-unused stack.created. 2014-08-15 19:33:33 -04:00
Pietro Gagliardi 6340b3a054 More TODOs. 2014-08-15 19:17:30 -04:00
Pietro Gagliardi a1dc098cbe More TODOs. 2014-08-15 18:59:42 -04:00
Pietro Gagliardi d132de18a6 I HAVE DEFEATED APPKIT. 2014-08-15 12:56:33 -04:00
Pietro Gagliardi 441b8c7c73 Implemented applicationShouldTerminate: and applicationShouldTerminateAfterLastWindowClosed: on Mac OS X. 2014-08-15 05:15:44 -04:00
Pietro Gagliardi e556f92e52 Removed TODO for Mac OS X default and escape button equivalents; the default is handled properly and there is no canonical escape (it's a property of the dialog manager, which we don't run). Thanks Lyle42 and kongtomorrow in irc.freenode.net/#macdev. 2014-08-14 23:55:50 -04:00
Pietro Gagliardi b91ee96316 Changed one of the names of the buttons in the small window test so it can be used for testing key equivalents in GTK+ and Mac OS X Areas. 2014-08-14 23:43:43 -04:00
Pietro Gagliardi 764ce362f3 Finally removed the TODO for buttons > 3 in GTK+ Areas (alas, bad end). 2014-08-14 23:28:22 -04:00
Pietro Gagliardi f4db1dcfc4 Can't think of a better name for sharedWndProc(). 2014-08-14 23:09:53 -04:00
Pietro Gagliardi 0bc79598c7 More future plans. 2014-08-14 19:45:33 -04:00
Pietro Gagliardi 6f385137fc Removed -[NSApp activateIgnoringOtherApps:]; see http://stackoverflow.com/a/25318870/3408572. I don't know how much of a burden this will be in practice. 2014-08-14 19:44:13 -04:00
Pietro Gagliardi 63981722cf Resolved Alt key woes on GTK+. 2014-08-14 18:55:54 -04:00
Pietro Gagliardi 5ca3f0f0f9 Made Labels on Windows transparent. 2014-08-14 17:13:52 -04:00
Pietro Gagliardi 307577889e Fixed some small issues in the C code of the Windows port. 2014-08-14 16:17:44 -04:00
Pietro Gagliardi 868161b7f0 Moved code to handle window user data in the Windows backend to a single function. 2014-08-14 16:12:43 -04:00
Pietro Gagliardi d944af8609 Split out common container window procedure code in Windows to its own function. 2014-08-14 16:00:31 -04:00
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