Commit Graph

3901 Commits

Author SHA1 Message Date
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
Pietro Gagliardi e74aeeab44 Added uiTabDeletePage(). More TODOs. 2015-04-17 22:17:14 -04:00
Pietro Gagliardi c5d6ac30b8 Laid the framework for testing tab deletion. 2015-04-17 22:08:13 -04:00
Pietro Gagliardi 098162ca80 More TODOs. 2015-04-17 21:49:47 -04:00
Pietro Gagliardi 929ab9cb9f More TODOs. 2015-04-17 21:40:22 -04:00
Pietro Gagliardi 6436737720 Removed the now-obsolete old method of freeing OS X controls. 2015-04-17 18:56:17 -04:00
Pietro Gagliardi 9fae528fd4 Some TODO cleanup. 2015-04-17 18:55:03 -04:00
Pietro Gagliardi 47368bdfe9 Fixed some errors in the OS X build. IT WORKS! AND IS MUCH CLEANER NOW TOO!!!! 2015-04-17 18:54:17 -04:00
Pietro Gagliardi 7b0004cfff Migrated darwin/tab.m. Now to test... 2015-04-17 18:45:17 -04:00
Pietro Gagliardi bac2ce130e Migrated darwin/entry.m and darwin/label.m; fixed more errors in darwin/button.m and darwin/checkbox.m (hopefully for good!). 2015-04-17 18:40:12 -04:00
Pietro Gagliardi 44dfc7d721 Fixed some errors in darwin/button.m and darwin/checkbox.m. 2015-04-17 18:33:13 -04:00
Pietro Gagliardi b28c020bdd Migrated darwin/checkbox.m and fixed some things in darwin/button.m. 2015-04-17 18:32:02 -04:00
Pietro Gagliardi 2fa8bfd95b Migrated darwin/button.m. Yeah, this will do. 2015-04-17 18:20:14 -04:00
Pietro Gagliardi 3f2a0f8dfa Laid the foundation for the rewritten Mac OS X controls. 2015-04-17 18:11:03 -04:00