Commit Graph

95 Commits

Author SHA1 Message Date
Pietro Gagliardi ed9539de94 Fixed an error in the previous few commits. 2015-05-04 20:02:00 -04:00
Pietro Gagliardi cf44574bbb Redid the GTK+ allocator to be simpler to prepare for the OS X code. 2015-05-04 19:55:39 -04:00
Pietro Gagliardi 58954ed201 Fixed up realloc() to zero extra memory on GTK+. Thanks to Rena (irc.badnik.net) and hyphenated (irc.freenode.net/#go-nuts) for confirming my memset() and spotting errors. 2015-05-04 19:26:05 -04:00
Pietro Gagliardi 8b8be286ff Made private functions in the various bin source files static. 2015-05-04 17:42:20 -04:00
Pietro Gagliardi 00d27ef83b More long-term TODO moving. 2015-05-04 17:39:50 -04:00
Pietro Gagliardi e571a73247 Made an executive decision about the behavior of uiControlShow() on uiWindows. 2015-05-04 17:23:01 -04:00
Pietro Gagliardi b2e9b646a4 Got rid of typedefs in the various newcontrol files for consistency. 2015-05-04 15:51:23 -04:00
Pietro Gagliardi 33c34c1572 Made a comment in the previous commit more clear. 2015-05-04 00:17:23 -04:00
Pietro Gagliardi d57df09f0e Fixed a latent bug with uiTab on GTK+. 2015-05-04 00:16:31 -04:00
Pietro Gagliardi fd4c559e86 Removed the typename argument from uiAlloc() and uiRealloc(). 2015-05-03 19:52:24 -04:00
Pietro Gagliardi 325f16cfb3 Added some comments to the previous commit. 2015-05-03 18:15:12 -04:00
Pietro Gagliardi 84894f2fb0 Implemented the GTK+ preferred size vtable functions for uiContainer. 2015-05-03 18:05:52 -04:00
Pietro Gagliardi 2186192502 Changed c-> to uiControl(c)-> in the various newcontrol files for consistency. 2015-05-03 14:44:46 -04:00
Pietro Gagliardi ac8bc029ef More TODOs. 2015-05-03 10:28:25 -04:00
Pietro Gagliardi 454b3ecb03 Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New. 2015-05-02 20:51:00 -04:00
Pietro Gagliardi 57bc11d67c TODO consolidation. 2015-05-02 14:58:29 -04:00
Pietro Gagliardi 5d28ffd334 Removed a stale TODO. 2015-05-02 14:55:12 -04:00
Pietro Gagliardi a0b29d599e Removed an unnecessary TODO. 2015-05-01 17:10:36 -04:00
Pietro Gagliardi 5ad2bfd6f0 Cleaned up uipriv*.h. 2015-05-01 10:14:11 -04:00
Pietro Gagliardi 122b1b0d2c Some TODO consolidation. 2015-05-01 10:11:22 -04:00
Pietro Gagliardi 20d0c40ad4 Removed previous commit's TODO; more TODOs. 2015-04-30 22:56:09 -04:00
Pietro Gagliardi 0ee2a72446 Exported the GTK+ backend's strdupText() as uiUnixStrdupText(). 2015-04-30 22:55:06 -04:00
Pietro Gagliardi b3fec90537 Decided that uiLabels should be top-aligned; implemented on GTK+. Other backends don't need changing. 2015-04-30 22:44:08 -04:00
Pietro Gagliardi 64dd45343d TODO shuffling. 2015-04-30 19:29:19 -04:00
Pietro Gagliardi 2dbf42a717 Removed the base GTK+ menu item and switched to simple boolean flags, for parity and simplicity like on Windows. 2015-04-30 19:26:49 -04:00
Pietro Gagliardi 3673ac7d2e Fixed reliance on sizeof (gulong) <= sizeof (gpointer) in unix/menu.c. 2015-04-30 19:13:36 -04:00
Pietro Gagliardi 358ae23d34 More TODOs. 2015-04-30 18:34:54 -04:00
Pietro Gagliardi 185d9cf122 Made refcounting for new control on GTK+ and OS X consistent. 2015-04-30 17:57:54 -04:00
Pietro Gagliardi 40dee5a693 Added bin destruction OS parent checks. 2015-04-30 17:49:38 -04:00
Pietro Gagliardi 6400a6ea8c TODO consolidation. 2015-04-30 17:34:15 -04:00
Pietro Gagliardi 75b4d28569 Implemented menu destruction on Windows. 2015-04-30 17:05:41 -04:00
Pietro Gagliardi b52aa4cfcb Started Windows menu destruction code and fixed a bug in GTK+ menu destruction. 2015-04-30 16:44:06 -04:00
Pietro Gagliardi 180ca3d8d4 Implemented the new tab functions on the GTK+ backend. 2015-04-30 15:31:25 -04:00
Pietro Gagliardi 437b895b53 Some more TODO cleanup, including mistaken TODO removal. 2015-04-30 15:18:11 -04:00
Pietro Gagliardi c8695e4ca2 Decided to remove allocation logging. Leak checking can be done with dedicated tools. 2015-04-30 13:37:13 -04:00
Pietro Gagliardi 127f025eee Decided not to bother with destruction blocking for now. 2015-04-30 13:30:00 -04:00
Pietro Gagliardi 7a70c3f568 Added duplication guards to Quit, Preferences, and About items on GTK+. 2015-04-30 13:02:30 -04:00
Pietro Gagliardi 45a204744f Implemented menu deletion on window destruction on the GTK+ backend. 2015-04-30 12:36:50 -04:00
Pietro Gagliardi 9eede9d8ae Set up a framework for menu deletion on GTK+. 2015-04-30 12:05:18 -04:00
Pietro Gagliardi 4c1b281b79 More TODOs. 2015-04-30 10:14:40 -04:00
Pietro Gagliardi 40d24ae626 Switch GTK+ control implementations from calling g_strdup() directly to strdupText() for orthogonality. 2015-04-30 10:12:33 -04:00
Pietro Gagliardi 8f79f0596f Set hidden flag variables BEFORE updating parent containers. Otherwise, parents won't reposition children correctly on systems where updates happen immediately (like OS X). 2015-04-29 14:25:34 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi ff14f76bad Migrated the GTK+ basic controls back. It doesn't quite work... 2015-04-29 10:36:31 -04:00
Pietro Gagliardi 4c280ca42c Removed or moved a bunch of stale files from the old source. All that's left now is to re-add the main controls and recreate the test program. 2015-04-29 10:20:25 -04:00
Pietro Gagliardi 390899f803 Added the GTK+ implementation of uiTab, for the most part I think. 2015-04-29 00:57:51 -04:00
Pietro Gagliardi 699cd12a19 Migrated unix/newcontrol.c back. Fixed an oversight in unix/container.c. 2015-04-28 21:30:38 -04:00
Pietro Gagliardi 7c91616af1 More old code file removal. 2015-04-28 13:53:45 -04:00
Pietro Gagliardi bf401201f9 Removed a whole bunch of files from the old source tree. 2015-04-28 13:51:13 -04:00
Pietro Gagliardi 1b1cd2e11e Changed the GTK+ backend menu code to honor what was just changed. 2015-04-20 23:38:23 -04:00