Pietro Gagliardi
|
573e411e2a
|
Revert "Integrated idl2h into the main tree so we can custoize it in ui-specific ways; also moved windows/profiler.go to the new tools/ directory."
Adding runtime type checking obviates an actual GObject-like type system, which is out of scope.
This reverts commit 7a21bdec42 .
|
2015-05-11 10:24:47 -04:00 |
Pietro Gagliardi
|
7a21bdec42
|
Integrated idl2h into the main tree so we can custoize it in ui-specific ways; also moved windows/profiler.go to the new tools/ directory.
|
2015-05-11 10:15:32 -04:00 |
Pietro Gagliardi
|
a342998263
|
Attempted to improve the profiler a bit, making it more like a real profiler. It doesn't quite work yet.
|
2015-05-10 23:02:16 -04:00 |
Pietro Gagliardi
|
c0c6b4fed6
|
Made all variables that refer to a tab page be called 'page'.
|
2015-05-10 21:22:22 -04:00 |
Pietro Gagliardi
|
721acd44a4
|
Used integer division in the profiler average column to make it easier to sort.
|
2015-05-10 17:42:28 -04:00 |
Pietro Gagliardi
|
cb8a4872d5
|
Added a rudimentary profiler to the Windows backend.
|
2015-05-10 17:35:52 -04:00 |
Pietro Gagliardi
|
41030b0a03
|
Made it so uiContainer on Windows only updates when we ask it to resize, not on every WM_WINDOWPOSCHANGED. More TODOs.
|
2015-05-10 12:57:13 -04:00 |
Pietro Gagliardi
|
bcafe6806a
|
Made uiTab on Windows only resize when explicitly asked to rsize, not on every WM_WINDOWPOSCHANGED. This is important for making resizes smooth.
|
2015-05-10 12:54:11 -04:00 |
Pietro Gagliardi
|
24d63adb51
|
Migrated the Windows backend to the new bin.
|
2015-05-10 12:48:11 -04:00 |
Pietro Gagliardi
|
a2cf4908a3
|
Started cleaning up bin handling. uiBin is now a real type and all of the things you need to do to a bin are its methods.
|
2015-05-10 12:36:14 -04:00 |
Pietro Gagliardi
|
4954d608f4
|
Got rid of a stray debugging line in windows/button.c.
|
2015-05-09 21:19:06 -04:00 |
Pietro Gagliardi
|
7bdc50c25a
|
Inhibited uiEntryOnChanged() with uiEntrySetText() on Windows.
|
2015-05-09 21:18:27 -04:00 |
Pietro Gagliardi
|
349d54b2f1
|
More commentary and TODOs about the previous commit(s).
|
2015-05-09 16:04:54 -04:00 |
Pietro Gagliardi
|
bd4716c949
|
Started code for handling WM_QUERYENDSESSION and its console equivalent.
|
2015-05-09 14:22:51 -04:00 |
Pietro Gagliardi
|
5e258c0c48
|
Implemented the Quit menu item shouldQuit() logic on Windows.
|
2015-05-09 10:53:38 -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
|
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
|
27d6994bdc
|
Implemented stub uiUninit()s.
|
2015-05-07 22:32:17 -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
|
34f55321e0
|
Added a [libui] and a newline to the message printed by complain().
|
2015-05-07 19:34:45 -04:00 |
Pietro Gagliardi
|
ab5975eeb5
|
More TODOs.
|
2015-05-07 18:14:21 -04:00 |
Pietro Gagliardi
|
727b6871bc
|
Made uiFree(NULL) illegal to spot bugs.
|
2015-05-07 17:45:55 -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
|
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
|
2107595ce7
|
"Exported" uiSizing fields.
|
2015-05-07 14:33:46 -04:00 |
Pietro Gagliardi
|
f74394fbac
|
"Exported" uiSizingSys fields.
|
2015-05-07 14:22:31 -04:00 |
Pietro Gagliardi
|
6e4845f11f
|
Fixed tab order on Windows.
|
2015-05-07 14:20:31 -04:00 |
Pietro Gagliardi
|
38a5341603
|
Fixed public/private namespace clobbering in the Windows backend and a wrong name in ui_darwin.h.
|
2015-05-07 12:58:33 -04:00 |
Pietro Gagliardi
|
91f7096257
|
Resolved a TODO; we were already doing the right hting.
|
2015-05-07 12:25:44 -04:00 |
Pietro Gagliardi
|
bb617883d1
|
"Fixed" box padded application bug on Windows; more related TODOs.
|
2015-05-07 12:24:02 -04:00 |
Pietro Gagliardi
|
94da27c9ba
|
Decided not to rewrite the resizing logic in windows/tab.c for now. Adjusted a few comments as well.
|
2015-05-07 10:14:49 -04:00 |
Pietro Gagliardi
|
316657e09e
|
I'm wrong; read-only edit controls on Windows DO get their backgrounds from their parents. Thanks gamax92 for help confirming.
|
2015-05-07 00:23:35 -04:00 |
Pietro Gagliardi
|
6a1661fd91
|
Implemented read-only uiEntries on Windows.
|
2015-05-06 22:21:11 -04:00 |
Pietro Gagliardi
|
5128fed0af
|
Implemented uiEntryOnChanged() on Windows.
|
2015-05-06 20:06:16 -04:00 |
Pietro Gagliardi
|
5b65c58715
|
Removed a stale TODO.
|
2015-05-06 18:56:12 -04:00 |
Pietro Gagliardi
|
329b4f29dd
|
Implemented tab navigation across tabs on Windows.
|
2015-05-06 18:37:21 -04:00 |
Pietro Gagliardi
|
c5e5fbd909
|
Laid the foundation for proper tab navigation in uiTabs.
|
2015-05-06 18:05:07 -04:00 |
Pietro Gagliardi
|
d247e76866
|
Implemented uiTabInsertPageBefore() on Windows.
|
2015-05-06 14:09:20 -04:00 |
Pietro Gagliardi
|
956b78718f
|
Migrated windows/tab.c to ptrarray and fixed the build.
|
2015-05-06 13:37:23 -04:00 |
Pietro Gagliardi
|
8c3ca7fcce
|
Fixed WM_PRINTCLIENT on uiContainers in windows/container.c. It works.
|
2015-05-06 12:39:06 -04:00 |
Pietro Gagliardi
|
047913d1a6
|
Made paintContainerBackground() in windows/container.c respect the clip rect.
|
2015-05-06 11:30:09 -04:00 |
Pietro Gagliardi
|
74fc1aea45
|
Split out the parent drawing in windows/container.c into its own function. This is necessary to allow for clipping.
|
2015-05-06 11:10:28 -04:00 |
Pietro Gagliardi
|
7e0d79713b
|
Changed the uiContainer code on Windows to use WM_PRINTCLIENT directly instead of creating the brush each time. Thanks to Barmak Shemirani (http://stackoverflow.com/questions/30066108/brush-origin-patblt-and-mapwindowrect-confusion) for inspiring me with this solution that I should have thought of myself =P
|
2015-05-06 02:20:08 -04:00 |
Pietro Gagliardi
|
526e9b81ea
|
Fixed bin destruction handling on the Windows backend.
|
2015-05-06 00:52:24 -04:00 |
Pietro Gagliardi
|
bc2e6d134b
|
Started working on a pointer array implementation. This also means we'll need the C standard library for memcpy()/memmove(), so drop the DisableThreadLibraryCalls() TODO.
|
2015-05-05 22:55:02 -04:00 |
Pietro Gagliardi
|
657cbe2013
|
Updated a TODO.
|
2015-05-05 20:57:30 -04:00 |