Commit Graph

814 Commits

Author SHA1 Message Date
Pietro Gagliardi c5e5edf8f0 More TODOs. 2015-04-20 10:03:54 -04:00
Pietro Gagliardi 5c1858c35d More lifetime notes. 2015-04-20 10:02:05 -04:00
Pietro Gagliardi 21a29a5468 More destruction rules following code. 2015-04-19 22:59:06 -04:00
Pietro Gagliardi 0af03e5410 More TODOs. 2015-04-19 22:54:01 -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 91522894c1 More stuff in lifetimes.md. 2015-04-19 22:10:11 -04:00
Pietro Gagliardi d181acc10e Reworte part of lifetimes.md. 2015-04-19 22:08:09 -04:00
Pietro Gagliardi 5639681f69 More TODOs. 2015-04-19 18:05:00 -04:00
Pietro Gagliardi 883776b89b More lifetimes.md work. 2015-04-19 17:12:28 -04:00
Pietro Gagliardi c2c03949d2 More lifetimes.md work. 2015-04-19 17:08:03 -04:00
Pietro Gagliardi 8534261f35 FINALLY implemented uiTabDeletePage() on Mac OS X. 2015-04-19 11:53:31 -04:00
Pietro Gagliardi 3da538b41e More TODOs. 2015-04-19 11:42:10 -04:00
Pietro Gagliardi c99e8d4af4 Added uiTab page tracking to the Mac OS X backend; necessary for tabDeletePage(). Fixed some small NULL pointer errors in some other files too. 2015-04-19 11:41:23 -04:00
Pietro Gagliardi 8179d66ae6 More error checking in unix/parent.c. 2015-04-19 09:42:06 -04:00
Pietro Gagliardi 54b45a9f09 More TODOs. 2015-04-19 01:37:59 -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 085e06d054 Started documenting object lifetimes. 2015-04-19 01:29:22 -04:00
Pietro Gagliardi 1c3105d669 Restored Page 1. 2015-04-19 00:32:32 -04:00
Pietro Gagliardi 5ceda42d74 More OS X lifetime stuff. 2015-04-18 23:17:13 -04:00
Pietro Gagliardi 57329ea332 Implemented the desire background behavior for controls in windows/parent.c. Only one thing remains: clipping. 2015-04-18 20:31:32 -04:00
Pietro Gagliardi 9492e0b1c1 Settled WM_PRINTCLIENT for uiParent on Windows. 2015-04-18 20:27:12 -04:00
Pietro Gagliardi 92474f94af Implemented WM_PAINT for uiParent on Windows. It seems to work... 2015-04-18 20:20:47 -04:00
Pietro Gagliardi dc2967619c Turned off the Page 1 controls for now. This will be for testing drawing the proper background on Windows parents. 2015-04-18 19:58:57 -04:00
Pietro Gagliardi a2311c4c19 More TODOs. 2015-04-18 18:33:41 -04:00
Pietro Gagliardi cf8871c524 Cleaned up the new control lifetime logic on Windows. 2015-04-18 18:07:57 -04:00
Pietro Gagliardi 55fe50463f Changed Windows onWM_DESTROY to a generic onDestroy handler with a data parameter. This will make decoupling widget destruction from WM_DESTROY (like we did on GTK+ by decoupling from ::destroy) easier. 2015-04-18 18:02:16 -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 d7d35e9853 More TODOs. 2015-04-18 16:39:08 -04:00
Pietro Gagliardi 63ccceed4f Implemented uiTabDeletePage() on Windows. I'm really getting unhappy with the way we're implemented right now... 2015-04-18 14:41:28 -04:00
Pietro Gagliardi 492099f85a Implemented lifetime stuff on Windows Tab. Starting to wonder why I'm bothering, or if this is even working. Anyway now I can write uiTabDeletePage()... 2015-04-18 14:19:42 -04:00
Pietro Gagliardi efd94b2528 Continued implementing Windows lifetime code. Now for uiTab. 2015-04-18 14:16:06 -04:00
Pietro Gagliardi 8dcdbd0878 Started the work to settle lifetime issues on the Windows backend. 2015-04-18 14:06:12 -04:00
Pietro Gagliardi 0a1e9b5f13 More TODOs. 2015-04-18 13:43:34 -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 dc2a6230c8 More TODOs related to the next commit. 2015-04-18 12:27:34 -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 0126b860ba Fixed errors in lifetimes.go. 2015-04-18 11:01:30 -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