Commit Graph

912 Commits

Author SHA1 Message Date
Pietro Gagliardi 1034978a2e Attempted to fix uiTab resource freeing on OS X. Seems to work for removing tabs, not sure about deleting controls because of other crashes. 2015-04-30 19:56:12 -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 cdc0c64af9 More TODOs. 2015-04-30 18:32:36 -04:00
Pietro Gagliardi 83f936a637 Fixed menus on Windows to avoid pointers moving underfoot. 2015-04-30 18:30:25 -04:00
Pietro Gagliardi 60a5931207 Added duplicate special menu item protection to the Windows backend. 2015-04-30 18:18:20 -04:00
Pietro Gagliardi e2cd6fe9d8 More TODOs. 2015-04-30 18:05:12 -04:00
Pietro Gagliardi 4035aee115 Marked a TODO in darwin/menu.m as resolved; we were already doing it properly. 2015-04-30 18:02:21 -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 dad19a6318 Switched from GetParent() to GetAncestor() on Windows since GetAncestor() has no documented error state. 2015-04-30 17:39:20 -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 14de9f3cad Fixed bug in Windows uiWindowOnClosing() handler. 2015-04-30 16:41:41 -04:00
Pietro Gagliardi d215ee147f Implemented the new uiTab changes on the Mac OS X backend. 2015-04-30 16:34:38 -04:00
Pietro Gagliardi 10345a2c7d Implemented the new uiTab methods on Windows. 2015-04-30 15:50:03 -04:00
Pietro Gagliardi 180ca3d8d4 Implemented the new tab functions on the GTK+ backend. 2015-04-30 15:31:25 -04:00
Pietro Gagliardi a76afebf54 Started work on adding margined status to uiTab. Modified the IDL and the test program. 2015-04-30 15:24:27 -04:00
Pietro Gagliardi 437b895b53 Some more TODO cleanup, including mistaken TODO removal. 2015-04-30 15:18:11 -04:00
Pietro Gagliardi c6023ee151 Some TODO resolution and changes. 2015-04-30 15:08:03 -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 dc9cdcc7bb More TODOs. 2015-04-30 13:31:06 -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 62f4461c51 Added some more tests to Page 2: label alignment and menued and menuless windows are on the menu here. 2015-04-30 12:00:21 -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 63f1f7576e Fixed a dumb typo in windows/tab.c that prevented tab switching from working correctly on Windows. 2015-04-29 23:05:15 -04:00
Pietro Gagliardi 5e16d0a7d0 More TODOs. 2015-04-29 21:10:29 -04:00
Pietro Gagliardi 50dd298d37 Removed the old test program now that everything ha been reimplemented. 2015-04-29 21:09:49 -04:00
Pietro Gagliardi 6591d5e4cb Implemented the Move Page 1 Out part of the test. Move Page 1 Back will come with uiTabInsertPageBefore(). 2015-04-29 21:09:16 -04:00
Pietro Gagliardi 8f6b34feb0 Prepared test/page1.c for the Move Page 1 Out test. 2015-04-29 20:23:57 -04:00
Pietro Gagliardi d2c491dbd0 Readded the moving label test, which starts Page 2. 2015-04-29 20:15:29 -04:00
Pietro Gagliardi 0370f10031 Prepared the test program for re-adding Page 2. 2015-04-29 19:55:42 -04:00
Pietro Gagliardi 49e3e6a623 More TODOs. 2015-04-29 19:20:46 -04:00
Pietro Gagliardi a036632795 Re-connected Windows events. More TODOs. 2015-04-29 19:17:26 -04:00
Pietro Gagliardi 4c75b4fb3a More TODOs. 2015-04-29 14:30:15 -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 d7f903373f Fixed upside-down container issues on OS X. 2015-04-29 14:21:12 -04:00
Pietro Gagliardi 35548b912a Finished the Page 1 test by implementing the show/hide/enable/disable control tests. 2015-04-29 14:10:00 -04:00
Pietro Gagliardi 537c7e29cf Reimplemented the Spaced row of Page 1. 2015-04-29 14:03:17 -04:00
Pietro Gagliardi 932313cdc7 Reconnected Page 1's text test buttons. 2015-04-29 13:47:50 -04:00
Pietro Gagliardi 515b25c144 Started reintegrating the old Page 1 test into the new test. The UI is done. 2015-04-29 13:38:38 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 0ca0dcaf2d Migrated the Windows basic controls. Rewrite in the new/ folder done! 2015-04-29 10:46:09 -04:00