Pietro Gagliardi
|
2b83300e0b
|
Implemented the quitting logic on OS X. Now I can get rid of darwin/main.m and move darwin/init.m in its place.
|
2015-05-09 10:18:19 -04:00 |
Pietro Gagliardi
|
4e9fa46aec
|
Added a test for uiOnShouldQuit().
|
2015-05-09 10:12:02 -04:00 |
Pietro Gagliardi
|
8032c24f74
|
Implemented the should quit logic on Mac OS X. The actual new quitting logic isn't in yet; that will wait for tests.
|
2015-05-09 10:05:24 -04:00 |
Pietro Gagliardi
|
c395cdd2fd
|
Added uiOnShouldQuit() and its common code.
|
2015-05-09 09:50:23 -04:00 |
Pietro Gagliardi
|
3d714e03c1
|
Laid down the scaffolding for application termination on Mac OS X.
|
2015-05-09 00:37:24 -04:00 |
Pietro Gagliardi
|
86a4b0a7ba
|
More expository comments and TODOs.
|
2015-05-08 20:34:57 -04:00 |
Pietro Gagliardi
|
a516839e9d
|
Stale and just-resolved TODO cleanup.
|
2015-05-08 20:32:17 -04:00 |
Pietro Gagliardi
|
f47c8172e1
|
Implemented uninitMenus() on Mac OS X.
|
2015-05-08 20:31:19 -04:00 |
Pietro Gagliardi
|
2ec8fb8589
|
Fixed a typo.
|
2015-05-08 20:24:53 -04:00 |
Pietro Gagliardi
|
ada7608c14
|
Added menu tracking to the OS X backend. This is needed for uninitMenus().
|
2015-05-08 19:33:51 -04:00 |
Pietro Gagliardi
|
cf89124be5
|
Fixed allocation tracking on OS X.
|
2015-05-08 18:54:42 -04:00 |
Pietro Gagliardi
|
cc1491d1a7
|
More TODOs.
|
2015-05-08 18:02:02 -04:00 |
Pietro Gagliardi
|
c079e43784
|
Somewhat implemented uninitAlloc() on OS X.
|
2015-05-08 17:51:05 -04:00 |
Pietro Gagliardi
|
33f41d6c37
|
Implemented the allocation type stuff on OS X.
|
2015-05-08 17:29:36 -04:00 |
Pietro Gagliardi
|
a6c86cc863
|
More Windows uninit stuff.
|
2015-05-08 17:17:03 -04:00 |
Pietro Gagliardi
|
3f3191ea7a
|
More Windows uiUninit() implementation.
|
2015-05-08 15:01:23 -04:00 |
Pietro Gagliardi
|
04923399fe
|
Implemented uninitMenus() on Windows.
|
2015-05-08 14:23:22 -04:00 |
Pietro Gagliardi
|
d43c8b5584
|
Fixed some latent bugs in unix/menu.c.
|
2015-05-08 14:14:05 -04:00 |
Pietro Gagliardi
|
85ca2a0901
|
Wrote uninitAlloc() on Windows.
|
2015-05-08 14:05:16 -04:00 |
Pietro Gagliardi
|
b60f17ee5a
|
Added type names to the memory allocator on Windows. More TODOs.
|
2015-05-08 10:34:59 -04:00 |
Pietro Gagliardi
|
53a4eefe2a
|
Fixed a memory leak in ptrarray.c.
|
2015-05-08 10:25:58 -04:00 |
Pietro Gagliardi
|
5cf19dcc17
|
Added the type names back to the allocators. Implemented on GTK+ only for now.
|
2015-05-08 10:24:03 -04:00 |
Pietro Gagliardi
|
057c6d0cfd
|
Implemented menu uninit on GTK+.
|
2015-05-08 10:17:33 -04:00 |
Pietro Gagliardi
|
dc7274c067
|
Fixed a bug in unix/alloc.c.
|
2015-05-07 23:35:43 -04:00 |
Pietro Gagliardi
|
f544414299
|
Added allocation tracking to the GTK+ backend.
|
2015-05-07 23:10:19 -04:00 |
Pietro Gagliardi
|
3af991651d
|
Changed box.c to use ptrArray for maintaining controls. This also fixes crashes in uiControlDestroy() due to not removing the controls from the box's list and unparenting causing an update.
|
2015-05-07 22:52:27 -04:00 |
Pietro Gagliardi
|
e6e1d7ef6e
|
Changed uiBox's controls array to an array of pointers. This is transitional; we move it to ptrArray next.
|
2015-05-07 22:36:32 -04:00 |
Pietro Gagliardi
|
27d6994bdc
|
Implemented stub uiUninit()s.
|
2015-05-07 22:32:17 -04:00 |
Pietro Gagliardi
|
560850dbb9
|
Added a uiUninit() function.
|
2015-05-07 22:28:18 -04:00 |
Pietro Gagliardi
|
2200cd4394
|
TODO management.
|
2015-05-07 21:07:58 -04:00 |
Pietro Gagliardi
|
e19f52f542
|
Made Unix uiTab scrollable.
|
2015-05-07 20:33:09 -04:00 |
Pietro Gagliardi
|
4f19b9af5a
|
Added a cbSize field to uiInitOptions.
|
2015-05-07 20:26:56 -04:00 |
Pietro Gagliardi
|
6c9a122a7d
|
Changed the default uiWindowOnClosing() behavior. Decided to keep the int return.
|
2015-05-07 20:01:17 -04:00 |
Pietro Gagliardi
|
553941a5dd
|
More TODO rearranging.
|
2015-05-07 19:55:42 -04:00 |
Pietro Gagliardi
|
34f55321e0
|
Added a [libui] and a newline to the message printed by complain().
|
2015-05-07 19:34:45 -04:00 |
Pietro Gagliardi
|
7a78825378
|
More TODO cleanup.
|
2015-05-07 18:52:40 -04:00 |
Pietro Gagliardi
|
e6b33aafd0
|
Cleaned up the make output to be less noisy.
|
2015-05-07 18:46:19 -04:00 |
Pietro Gagliardi
|
817e13ae61
|
Set up visibility on OS X. This seems to work...
|
2015-05-07 18:38:47 -04:00 |
Pietro Gagliardi
|
4d21ba8127
|
More TODOs.
|
2015-05-07 18:15:09 -04:00 |
Pietro Gagliardi
|
ab5975eeb5
|
More TODOs.
|
2015-05-07 18:14:21 -04:00 |
Pietro Gagliardi
|
1d309e2f7c
|
Exported ui_windows.h functions.
|
2015-05-07 18:13:47 -04:00 |
Pietro Gagliardi
|
1be288bb47
|
More TODO rearrangement and stale TODO removal.
|
2015-05-07 17:46:52 -04:00 |
Pietro Gagliardi
|
727b6871bc
|
Made uiFree(NULL) illegal to spot bugs.
|
2015-05-07 17:45:55 -04:00 |
Pietro Gagliardi
|
d853da9028
|
More TODO resolution. Decided not to worry about onDestroy()/destroy() naming (at least not now).
|
2015-05-07 17:43:48 -04:00 |
Pietro Gagliardi
|
efbdf14d5f
|
Made all instances of SetWindowPos() and MoveWindow() use the same wrapper functions so they can all use the same flags. Only the SetWindoPos() that sets the initial size of a uiWindow is unaffected (since that is a special case).
|
2015-05-07 17:40:13 -04:00 |
Pietro Gagliardi
|
3872b9777a
|
Added a page to the test program tab for testing uiBox padding and hidden control interaction, which is currently incorrect.
|
2015-05-07 17:13:16 -04:00 |
Pietro Gagliardi
|
d6aeb3c0a7
|
Added a test for controls that aren't initially visible. More TODOs.
|
2015-05-07 16:33:33 -04:00 |
Pietro Gagliardi
|
49595bb18d
|
Set up proper -m flag manipulation for cross-compiling builds.
|
2015-05-07 16:02:34 -04:00 |
Pietro Gagliardi
|
598a499072
|
Changed ARCH on Windows to be amd64 for a 64-bit build instead of just 64 for consistency with the OS X one.
|
2015-05-07 15:47:29 -04:00 |
Pietro Gagliardi
|
a6478d68d1
|
Set up a shortcut for 32-bit builds on OS X.
|
2015-05-07 15:47:10 -04:00 |