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 |
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 |