summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-11Removed a leftover line from the Go version of uiStack that is actually ↵Pietro Gagliardi
wrong in the C version; I thought it would fix the previous commit but it doesn't...
2015-04-11Okay I have no fucking idea what's going onPietro Gagliardi
2015-04-11Added the enable/disable/show/hide code to the Windows new control. ↵Pietro Gagliardi
Something is clobbering stacks; need to debug this...
2015-04-11Implemented show/hide/enable/disable on uiStack and fixed other bugs. It works!Pietro Gagliardi
2015-04-11Implemented making invisible children of uiStacks not count when drawing or ↵Pietro Gagliardi
calculating preferred size. Need to implement the new methods on uiStack itself before we can test.
2015-04-11Implemented showing, hiding, enabling, and disabling for GTK+ controls.Pietro Gagliardi
2015-04-11Laid the foundation for control showing, hiding, enabling, and disabling.Pietro Gagliardi
2015-04-11Renamed some variables in stack.c and added some exposition to make the code ↵Pietro Gagliardi
make slightly more sense.
2015-04-11Cleaned up uiStack's data structures to use the stackControl structure ↵Pietro Gagliardi
instead of four memory blocks for the control-specific parameters.
2015-04-11Resolved snwprintf() issues once and for all. Thanks to cousteau, dorp, and ↵Pietro Gagliardi
kate in irc.freenode.net/##c.
2015-04-11Decided to disable the initial parent window on Windows. If this causes ↵Pietro Gagliardi
problems, I can re-enable it later. More TODOs.
2015-04-11More exposition.Pietro Gagliardi
2015-04-11Decided to keep the current Windows API padding rules. We can change it ↵Pietro Gagliardi
later if needed.
2015-04-11More TODO resolution.Pietro Gagliardi
2015-04-11Finished the Mac OS X destruction work.Pietro Gagliardi
2015-04-10More of the previous commit. More TODOs.Pietro Gagliardi
2015-04-10Started to implement proper destruction logic for Mac OS X controls.Pietro Gagliardi
2015-04-10More TODO resolution and some GTK+ uiWindow inconsistency (and future ↵Pietro Gagliardi
repeated-event bug waiting to happen) cleanup.
2015-04-10More commentary and TODOs.Pietro Gagliardi
2015-04-10More TODO resolution.Pietro Gagliardi
2015-04-10Added REAL code for the initial parent of a control on Windows.Pietro Gagliardi
2015-04-10Moved the control IDs TODO to TODO.md as that's a long-term TODO; it depends ↵Pietro Gagliardi
on how container controls play out.
2015-04-10More TODO resolution.Pietro Gagliardi
2015-04-10Changed the Windows new control system to automatically assign the standard ↵Pietro Gagliardi
control font if a flag is set in the creation parameters structure.
2015-04-10Cleaned up Windows initialization error handling and migrated it to return ↵Pietro Gagliardi
the error message directly instead of through uiInitError.
2015-04-10Removed autocorrect from Mac OS X uiEntries. Also moved uiFreeText() to ↵Pietro Gagliardi
text_darwin.m.
2015-04-10Decided to kill uiInitError and return the message as a const char * ↵Pietro Gagliardi
instead. Will need to implement on Windows.
2015-04-10More TODOs.Pietro Gagliardi
2015-04-10More TODOs.Pietro Gagliardi
2015-04-10More TODO resolution and cross-OS behavioral parity fixes.Pietro Gagliardi
2015-04-10More TODO resolution and debugging stuff.Pietro Gagliardi
2015-04-10Eliminated direct use of strdup(); introduced uiDarwinNSStringToText() to do ↵Pietro Gagliardi
that work for us (and abort on failure).
2015-04-10Chose not to use NSCAssert() in alloc_darwin.m.Pietro Gagliardi
2015-04-10Fixed previous commit.Pietro Gagliardi
2015-04-10Resolved TODOs in debug_windows.c.Pietro Gagliardi
2015-04-10More TODO resolutions. Thanks to David Hefferman for help.Pietro Gagliardi
2015-04-10Some TODO resolution; more TODOs.Pietro Gagliardi
2015-04-10Resolved some TODOs (including one resolved a while ago on IRC but not ↵Pietro Gagliardi
removed until now; thanks various people in irc.freenode.net/#macdev).
2015-04-09Decided that uiCheckboxSetChecked() should NOT trigger an event. This ↵Pietro Gagliardi
required changing the GTK+ backend to make it so; the Windows and Mac OS X backends are fine (setting their checkbox state programmatically will not send a signal; thanks to ThunderSnow in irc.freenode.net/#macdev for confirming this for Mac OS X).
2015-04-09More TODO resolution.Pietro Gagliardi
2015-04-09Changed the allocation logging from a compile-time setting to the first ↵Pietro Gagliardi
initialization option.
2015-04-09Added uiWindowMargined() and implemented it on all platforms.Pietro Gagliardi
2015-04-09Added uiStackPadded().Pietro Gagliardi
2015-04-09Removed direct vtable calls from uiControl.Pietro Gagliardi
2015-04-09Changed onWM_NOTIFY() to only pass the NMHDR * in. The LPARAM is more useful ↵Pietro Gagliardi
as a NMHDR *, and the WPARAM contains duplicate data (http://blogs.msdn.com/b/oldnewthing/archive/2013/12/04/10473637.aspx). Ideally we wouldn't even have the NMHDR.idFrom (see previous commit message), but oh well :/
2015-04-09Changed onWM_COMMAND() to give our controls only the notification code. We ↵Pietro Gagliardi
don't want to give the control the ID part of wParam because that's (or that'll be) dynamically assigned based on control parenting and prior controls; we don't want to give the control the LPARAM since that contains the window handle and uiControl already has that.
2015-04-09DlgUnit -> DlgUnitsPietro Gagliardi
2015-04-09Migrated the Mac OS X code to the new uiControl/uiSizing system.Pietro Gagliardi
2015-04-09Migrated the GTK+ backend to the new uiControl/uiSizing system.Pietro Gagliardi
2015-04-09Finished Windows conversion. Works perfectly!Pietro Gagliardi