Commit Graph

630 Commits

Author SHA1 Message Date
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
Pietro Gagliardi cb05779d0a Rewrote the Mac OS X uiParent. 2015-04-17 16:42:18 -04:00
Pietro Gagliardi cb44d902f2 More TODOs. 2015-04-17 16:02:38 -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 87296762b0 Added uiParentDestroy(). Now to implement. 2015-04-17 15:45:57 -04:00
Pietro Gagliardi 81f475000f Migrated darwin/parent.m to the recent changes. 2015-04-17 15:05:32 -04:00
Pietro Gagliardi 841b5c0c73 Migrated windows/parent.c to the previous commits's changes. 2015-04-17 14:53:56 -04:00
Pietro Gagliardi 0e6bf59dcf Properly documented uiParent. 2015-04-17 14:47:34 -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 797408fe6e Removed the documentation comments from uiParent. Before we clean up the Darwin backend, we need to implement the manual destruction of parents and children, since that's a prerequisite... 2015-04-17 13:38:46 -04:00
Pietro Gagliardi c8c5edaf9d TODO updates. 2015-04-17 13:19:21 -04:00
Pietro Gagliardi 562072780e Started writing the Windows new control documentation. 2015-04-17 13:18:26 -04:00
Pietro Gagliardi d79acdf876 More Windows backend cleanup. 2015-04-17 11:19:42 -04:00
Pietro Gagliardi c4499416d9 Migrated windows/tab.c. 2015-04-17 11:18:45 -04:00
Pietro Gagliardi 1ed80a8609 Migrated windows/entry.c and windows/label.c. 2015-04-17 11:13:42 -04:00
Pietro Gagliardi 292ea9db7a Migrated windows/checkbox.c. Yes, this might work... 2015-04-17 10:49:14 -04:00
Pietro Gagliardi 5e5df97642 Migrated windows/button.c. This might be better; I don't know yet... 2015-04-17 10:40:52 -04:00
Pietro Gagliardi de2025b156 More newcontrol_unix.md stuff, including fixes. 2015-04-17 01:51:43 -04:00
Pietro Gagliardi 0890216ca1 switch is a keyword. 2015-04-17 01:39:56 -04:00
Pietro Gagliardi 0716746792 Wrote up a guide on how to write a new control in the Unix backend. 2015-04-17 01:32:13 -04:00
Pietro Gagliardi e1baf2e04f Some TODO resolution. 2015-04-16 23:32:22 -04:00