Commit Graph

454 Commits

Author SHA1 Message Date
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
Pietro Gagliardi b7e2905c72 More implementation of menus on GTK+. 2015-04-20 18:56:42 -04:00
Pietro Gagliardi 9f82838632 Started implementing menus in general and on the Unix backend. 2015-04-20 18:34:51 -04:00
Pietro Gagliardi 21a29a5468 More destruction rules following code. 2015-04-19 22:59:06 -04:00
Pietro Gagliardi 24469a6e7b Added code to check that a control is not destroyed while it has a parent. This isn't enough for uiStack, though... 2015-04-19 22:53:09 -04:00
Pietro Gagliardi 8179d66ae6 More error checking in unix/parent.c. 2015-04-19 09:42:06 -04:00
Pietro Gagliardi a5e4060b67 Started splitting out lifetime management code into its own place on the GTK+ backend. 2015-04-19 01:37:11 -04:00
Pietro Gagliardi 89d584cdcd Finished cleaning up the GTK+ lifetiming code. Yeah, this will definitely work. 2015-04-18 17:46:37 -04:00
Pietro Gagliardi 48c609b5c3 Cleaned up the lifetime code in unix/newcontrol.c a fair bit. 2015-04-18 17:36:12 -04:00
Pietro Gagliardi ae94993730 Settled GTK+ Tab TODOs. 2015-04-18 17:28:13 -04:00
Pietro Gagliardi d0c0188ef9 Switched out calls to g_error() for calls to complain(). 2015-04-18 17:23:36 -04:00
Pietro Gagliardi 1abd5ebb4c Added complain() on the GTK+ backend. 2015-04-18 17:20:05 -04:00
Pietro Gagliardi ccba4aef46 Made destroy functions on the Unix backend take a void * instead of storing the uiControl *. 2015-04-18 17:14:19 -04:00
Pietro Gagliardi 710e3fa69c Fixed Unix tab lifetimes. 2015-04-18 13:43:05 -04:00
Pietro Gagliardi 2434e8d004 More Unix control destruction fixups. Now to finally hook together the tab fixup. 2015-04-18 13:38:19 -04:00
Pietro Gagliardi 38b118f033 Migrated the various controls to the new GTK+ destruction method. Just a few more small changes to make... 2015-04-18 13:33:08 -04:00
Pietro Gagliardi f0055e948b Set up a new system for destroying controls on GTK+. Will migrate controls now. 2015-04-18 12:30:25 -04:00
Pietro Gagliardi d3ffe2270b More proper cleanup work. This just leaves the tabs... 2015-04-18 12:22:15 -04:00
Pietro Gagliardi 160ffed7e2 Set up a newer, simpler system for tracking object lifetimes in the Unix backend. Seems to work for now... 2015-04-18 12:14:05 -04:00
Pietro Gagliardi b0a56bacb9 Decided to revert all the lifetime logging stuff. I have a different approach in mind... 2015-04-18 11:44:43 -04:00
Pietro Gagliardi 1560ef34c7 Wrote up the beginning of a system for testing object lifetimes. 2015-04-18 10:58:01 -04:00
Pietro Gagliardi 786ef2cbe4 Added lifetime logging and implemented most of it on the Unix backend. 2015-04-18 01:11:34 -04:00
Pietro Gagliardi 5bd6140d46 Sort of implemented uiTabDeletePage() on GTK+. It's segfaulting on close; that isn't good... 2015-04-17 22:26:05 -04:00
Pietro Gagliardi 1a76abef21 Implemented uiParentDestroy() on the Windows and Unix backends. These don't actually *use* it yet; that'll come later. (Ultimately, there should only be one path into window destruction, which leads to one path in uiParent destruction and one path in child destruction.) More TODOs. 2015-04-17 15:52:28 -04:00
Pietro Gagliardi 04ae252e27 Adjusted the Unix uiParent to conform to the newest set of changes. 2015-04-17 13:48:15 -04:00
Pietro Gagliardi 9f0729de1c Changed uiParentSetChild() to uiParentSetMainControl(). Backend changes incoming. 2015-04-17 13:43:01 -04:00
Pietro Gagliardi fc3a90d9bf Cleaned up unix/window.c. 2015-04-16 23:31:32 -04:00
Pietro Gagliardi f25e0fe4d7 Fixed up unix/tab.c. 2015-04-16 23:20:54 -04:00
Pietro Gagliardi 90be2feb7f Cleaned up unix/entry.c and unix/label.c. 2015-04-16 22:21:02 -04:00
Pietro Gagliardi ab0470f7e5 Fixed up unix/checkbox.c and made a few minor changes to unix/button.c. I think this is indeed better, yes. 2015-04-16 22:14:54 -04:00
Pietro Gagliardi 908755e6b7 More unix/button.c fixups. I think this will do... 2015-04-16 21:01:16 -04:00
Pietro Gagliardi b91fe0c2ac Some more makefile fixups. 2015-04-16 20:52:47 -04:00
Pietro Gagliardi d6ceeed7b6 Cleaned up unix/button.c a bit. 2015-04-16 16:38:33 -04:00
Pietro Gagliardi 7b73734854 Fixed build warnings. More TODOs. 2015-04-15 23:14:36 -04:00
Pietro Gagliardi bb81eebefe Fixed Unix backend build errors. Impressively, IT STILL WORKS! Now to fix the warnings... 2015-04-15 23:07:43 -04:00
Pietro Gagliardi b659198f16 Converted unix/window.c. Now to test! 2015-04-15 22:26:27 -04:00
Pietro Gagliardi 95cda3c562 Converted unix/tab.c and fixed an oversight in unix/button.c. 2015-04-15 22:20:25 -04:00
Pietro Gagliardi 40c3448ec0 Converted unix/entry.c and unix/label.c. 2015-04-15 22:17:02 -04:00
Pietro Gagliardi 029b9dcba0 Converted unix/checkbox.c. 2015-04-15 22:04:13 -04:00
Pietro Gagliardi 37d749fe96 Converted unix/button.c. 2015-04-15 21:57:59 -04:00
Pietro Gagliardi de3ee21088 Finished the unix/newcontrol.c conversion, at least I think... 2015-04-15 21:43:20 -04:00
Pietro Gagliardi b6b2d4b5ec More unix/newcontrol.c conversion. 2015-04-15 21:39:50 -04:00
Pietro Gagliardi 5eb91c5cb0 Started doing conversion of the GTK+ backend... 2015-04-15 19:46:24 -04:00
Pietro Gagliardi 47a4bd3ae7 Added the Unix build rules. 2015-04-15 19:17:21 -04:00
Pietro Gagliardi d4fb903c07 Moved the uipriv_*.h files to the respective folders. The ui_*.h files stay up here; they'll be moved to IDLs later. 2015-04-15 18:51:04 -04:00
Pietro Gagliardi e69c0c93eb Split all OS backends into their own folders. 2015-04-15 18:49:45 -04:00