7174ebb3f6Fixed errors in ui.idl.
Pietro Gagliardi
2015-04-15 18:45:52 -0400
86dbd5e8d2Converted ui.h to a pgidl file.
Pietro Gagliardi
2015-04-15 18:41:04 -0400
ed22e747b8Fixed the weird 32-bit Linux/64-bit OpenBSD crash.
Pietro Gagliardi
2015-04-15 12:14:09 -0400
53f01ca59fMore TODOs.
Pietro Gagliardi
2015-04-15 11:38:59 -0400
20f15afd10More TODOs.
Pietro Gagliardi
2015-04-14 19:38:41 -0400
eb62b8e32bChanged uiStackAdd() to uiStackAppend() and uiStackRemove() to uiStackDelete(); this will be the naming system other containers will follow.
Pietro Gagliardi
2015-04-14 19:36:58 -0400
1f9975a7faFixed Mac build for qo. A proper Makefile would be best, but I have no idea how to write one...
Pietro Gagliardi
2015-04-14 19:32:12 -0400
5d6ea0f5deMore TODOs.
Pietro Gagliardi
2015-04-14 13:04:51 -0400
967804c5a3Made the necessary previous commits changes on the Mac OS X backend. Untested yet.
Pietro Gagliardi
2015-04-14 12:51:20 -0400
e9920c70c0Fixed moving label on Windows.
Pietro Gagliardi
2015-04-14 12:47:58 -0400
21f122161eMore of the last few commits, now on the GTK+ backend. THAT ONE WORKS...
Pietro Gagliardi
2015-04-14 12:41:25 -0400
300e28be55TODO refinement.
Pietro Gagliardi
2015-04-14 12:36:39 -0400
8fdb9da92bMore TODOs.
Pietro Gagliardi
2015-04-14 10:44:00 -0400
bbc170ac49Fixed a small bug in stack.c. Unrelated to the previous commit; that one is that the uiParentUpdate() isn't updating...?
Pietro Gagliardi
2015-04-14 10:35:52 -0400
6185187506More uiParent work. Something I did broke stack removal...
Pietro Gagliardi
2015-04-14 10:20:07 -0400
689e9c7101More TODOs.
Pietro Gagliardi
2015-04-14 09:46:24 -0400
120a1e8524More TODOs.
Pietro Gagliardi
2015-04-14 09:43:18 -0400
eac8341a4fMore parent planning and related API changes. I now have a better handle over what I want after last night: p.SetChild() is only called by w.SetChild() and the various uiTab and uiGroup methods; everything else should call Control.SetParent(). Some renaming is needed.
Pietro Gagliardi
2015-04-14 09:41:52 -0400
652ba57a68More parent planning.
Pietro Gagliardi
2015-04-13 22:31:22 -0400
148e4af0b9Added a document explaining how parents and children relate. I'm starting to think the current system actually does work fine after all...
Pietro Gagliardi
2015-04-13 22:30:19 -0400
2c5c9e82f5More TODOs.
Pietro Gagliardi
2015-04-13 19:23:34 -0400
8b91b42e1aOkay, I have no idea what I'm going to do
Pietro Gagliardi
2015-04-13 19:23:08 -0400
6135d29e96More glossary work.
Pietro Gagliardi
2015-04-13 18:37:07 -0400
00ddd78484More GLOSSARY stuff.
Pietro Gagliardi
2015-04-13 18:05:34 -0400
2b2517b600More glossary work.
Pietro Gagliardi
2015-04-13 15:46:16 -0400
b750587036Added a glossary. I'm still not too happy with this...
Pietro Gagliardi
2015-04-13 15:15:33 -0400
e3bb32f608Fixed some code in stack.c.
Pietro Gagliardi
2015-04-13 14:05:07 -0400
0304df4d4eAdded uiStackRemove(), the first removal function in package ui! That took long enough... Now I can piece together all the control and parent logic...
Pietro Gagliardi
2015-04-13 13:43:29 -0400
963feb6c06Converted and fixed the Mac OS X code for uiParent. I'm still not happy, but this is DEFINITELY a step in the right direction... Perhaps automatic deletion is a pipe dream :/ I should also really nail the parenting/unparenting logic, but for that I need to add one more method.
Pietro Gagliardi
2015-04-13 12:53:05 -0400
e4147f14afFixed issues in the GTK+ uiParent change.
Pietro Gagliardi
2015-04-13 12:12:00 -0400
19b85182b8Did the GTK+ conversion to uiParent. Now to build.
Pietro Gagliardi
2015-04-13 12:05:14 -0400
4839280b82Finally fixed the Tab content resizing.
Pietro Gagliardi
2015-04-13 10:15:36 -0400
e869e1b34eFixed notification-sending issue on Windows.
Pietro Gagliardi
2015-04-13 09:31:57 -0400
b2de01f46cFound the wine bug; will fix it next
Pietro Gagliardi
2015-04-13 02:21:20 -0400
8b6508a6fbFixed some build warnings.
Pietro Gagliardi
2015-04-13 00:45:34 -0400
5995af00e6Fixed initial content area size on uiWindows.
Pietro Gagliardi
2015-04-13 00:44:27 -0400
876971ad41More TODOs. The problems I noticed earlier only happen on wine, so...
Pietro Gagliardi
2015-04-13 00:36:30 -0400
07944e8c1dFixed a small undefined-behavior bug in the parent code. Still not working...
Pietro Gagliardi
2015-04-13 00:04:43 -0400
2b412296f1Got rid of struct tabPage (it's just an array of uiParent *s now) and added a uiParentUpdate(). Thought that would fix it, but nope...
Pietro Gagliardi
2015-04-12 23:20:09 -0400
f726b74d32Fix helper: get rid of direct casts to HWND to make errors more obvious.
Pietro Gagliardi
2015-04-12 23:14:56 -0400
a0bfb65122Fixed some runtime issues. Not all there...
Pietro Gagliardi
2015-04-12 23:02:23 -0400
95309affc0Fixed build issues. Now to fix runtime issues...
Pietro Gagliardi
2015-04-12 22:57:05 -0400
365e61dad2Finished the Windows uiParent conversion, I think. Now to test.
Pietro Gagliardi
2015-04-12 22:39:36 -0400
dcf581eb14Some more uiParent migration.
Pietro Gagliardi
2015-04-12 20:08:32 -0400
bdb0ffd67aFinished writing parent_windows.c.
Pietro Gagliardi
2015-04-12 19:25:16 -0400
54ba083fe9Set up the foundation for the new Windows uiParent.
Pietro Gagliardi
2015-04-12 19:19:06 -0400
74e4238fe7Set up a unified system for containers, now called parents.
Pietro Gagliardi
2015-04-12 18:34:54 -0400
425ede5288Fixed Mac OS X tab page clearing. I'm really going to oneed to restructure the whole container system...
Pietro Gagliardi
2015-04-12 16:00:09 -0400
142b2db9f5Implemented uiTab on Mac OS X. It still doesn't quite work yet; switching from one tab and back doesn't show that tab's controls...
Pietro Gagliardi
2015-04-12 15:46:58 -0400
f6a38383a7Some comment and TODO adjustments.
Pietro Gagliardi
2015-04-12 14:50:58 -0400
bac8bfdbf4More TODOs.
Pietro Gagliardi
2015-04-12 12:59:39 -0400
c8316ad45cMore TODOs.
Pietro Gagliardi
2015-04-12 12:53:16 -0400
d0a1ae5bc9Made controls transparent to tab backgrounds on Windows. It doesn't quite work right...
Pietro Gagliardi
2015-04-12 12:38:25 -0400
0ee55d2d2dImplemented uiTab on Windows.
Pietro Gagliardi
2015-04-12 03:16:11 -0400
a001448e63Added uiTab to the GTK+ backend.
Pietro Gagliardi
2015-04-12 01:06:42 -0400
499611a3feQuick update/fix to the test program.
Pietro Gagliardi
2015-04-12 01:01:56 -0400
8f6acdc8daFixed a major flaw in the GTK+ implementation I only realized now: by calling gtk_widget_show_all() in uiWindowShow(), we override the user's explicit hide settings! Fix it by calling gtk_widget_show() there (to only show the window), and gtk_widget_show_all() in both the new control constructor (to show the new control initially) and in the container constructor (to show that initially too).
Pietro Gagliardi
2015-04-12 00:59:32 -0400
5f3eb6fbfaLaid the foundation for tabs.
Pietro Gagliardi
2015-04-12 00:30:44 -0400
bf74614ffcMore TODOs.
Pietro Gagliardi
2015-04-12 00:15:20 -0400
995db0bc28Implemented uiLabel on Mac OS X.
Pietro Gagliardi
2015-04-11 23:49:34 -0400
bc4818786aImplemented uiLabel on GTK+. More TODOs.
Pietro Gagliardi
2015-04-11 22:49:41 -0400
03e2f8d6c1Made the necessary adjustments to the test program to test labels (and futureproof other layout changes); getting and setting text on Windows works.
Pietro Gagliardi
2015-04-11 22:33:23 -0400
f483be3630Implemented uiLabel on Windows. We need to make a somewhat big change to the test program before we can test getting and setting the label's text, though...
Pietro Gagliardi
2015-04-11 22:22:19 -0400
bdfa1828bbSet up the foundation for uiLabel.
Pietro Gagliardi
2015-04-11 21:53:49 -0400
7d6f31351dFixed the stupid 32-bit bug I did that fucking malloc pointer to struct instead of array of struct thing I always do again jesus fucking christ shit
Pietro Gagliardi
2015-04-11 19:34:38 -0400
c80335a5f4More TODOs.
Pietro Gagliardi
2015-04-11 18:24:53 -0400
52d28a6196Implemented show/hide/enable/disable on Mac OS X new controls.
Pietro Gagliardi
2015-04-11 18:17:46 -0400
1ed1eb8decRemoved a leftover line from the Go version of uiStack that is actually wrong in the C version; I thought it would fix the previous commit but it doesn't...
Pietro Gagliardi
2015-04-11 17:26:48 -0400
a0033784b7Okay I have no fucking idea what's going on
Pietro Gagliardi
2015-04-11 17:23:36 -0400
a1b4b96bb9Added the enable/disable/show/hide code to the Windows new control. Something is clobbering stacks; need to debug this...
Pietro Gagliardi
2015-04-11 15:34:16 -0400
9ea35db265Implemented show/hide/enable/disable on uiStack and fixed other bugs. It works!
Pietro Gagliardi
2015-04-11 14:44:40 -0400
0430ca9102Implemented making invisible children of uiStacks not count when drawing or calculating preferred size. Need to implement the new methods on uiStack itself before we can test.
Pietro Gagliardi
2015-04-11 14:30:07 -0400
b57c885505Implemented showing, hiding, enabling, and disabling for GTK+ controls.
Pietro Gagliardi
2015-04-11 14:21:58 -0400
da0acba992Laid the foundation for control showing, hiding, enabling, and disabling.
Pietro Gagliardi
2015-04-11 14:12:12 -0400
d14716c4d3Renamed some variables in stack.c and added some exposition to make the code make slightly more sense.
Pietro Gagliardi
2015-04-11 13:51:37 -0400
22e11ca8f3Cleaned up uiStack's data structures to use the stackControl structure instead of four memory blocks for the control-specific parameters.
Pietro Gagliardi
2015-04-11 13:45:59 -0400
2602330223Resolved snwprintf() issues once and for all. Thanks to cousteau, dorp, and kate in irc.freenode.net/##c.
Pietro Gagliardi
2015-04-11 13:32:25 -0400
a34fe03eefDecided to disable the initial parent window on Windows. If this causes problems, I can re-enable it later. More TODOs.
Pietro Gagliardi
2015-04-11 12:40:09 -0400
812b70f6f0More exposition.
Pietro Gagliardi
2015-04-11 10:34:26 -0400
2b6e6c20a3Decided to keep the current Windows API padding rules. We can change it later if needed.
Pietro Gagliardi
2015-04-11 10:32:01 -0400
42b8e40816More TODO resolution.
Pietro Gagliardi
2015-04-11 09:39:04 -0400
1ab2a81903Finished the Mac OS X destruction work.
Pietro Gagliardi
2015-04-11 02:55:51 -0400
4afca8f2c2More of the previous commit. More TODOs.
Pietro Gagliardi
2015-04-10 23:24:21 -0400
c610c60ea6Started to implement proper destruction logic for Mac OS X controls.
Pietro Gagliardi
2015-04-10 23:22:46 -0400
47c89f6aefMore TODO resolution and some GTK+ uiWindow inconsistency (and future repeated-event bug waiting to happen) cleanup.
Pietro Gagliardi
2015-04-10 21:48:50 -0400
da3009bfbbMore commentary and TODOs.
Pietro Gagliardi
2015-04-10 21:37:08 -0400
a25ffeb334More TODO resolution.
Pietro Gagliardi
2015-04-10 21:29:05 -0400
94b621855cAdded REAL code for the initial parent of a control on Windows.
Pietro Gagliardi
2015-04-10 19:56:23 -0400
bd05948219Moved the control IDs TODO to TODO.md as that's a long-term TODO; it depends on how container controls play out.
Pietro Gagliardi
2015-04-10 18:31:40 -0400
d5da551c8cMore TODO resolution.
Pietro Gagliardi
2015-04-10 18:06:01 -0400
a788c1b212Changed the Windows new control system to automatically assign the standard control font if a flag is set in the creation parameters structure.
Pietro Gagliardi
2015-04-10 17:53:59 -0400
f650237614Cleaned up Windows initialization error handling and migrated it to return the error message directly instead of through uiInitError.
Pietro Gagliardi
2015-04-10 17:41:09 -0400
3069f38a9cRemoved autocorrect from Mac OS X uiEntries. Also moved uiFreeText() to text_darwin.m.
Pietro Gagliardi
2015-04-10 17:06:59 -0400
d326407f05Decided to kill uiInitError and return the message as a const char * instead. Will need to implement on Windows.
Pietro Gagliardi
2015-04-10 16:54:06 -0400
e49f6f7da8More TODOs.
Pietro Gagliardi
2015-04-10 14:31:16 -0400
f37b94e73fMore TODOs.
Pietro Gagliardi
2015-04-10 14:29:45 -0400
47fb015afbMore TODO resolution and cross-OS behavioral parity fixes.
Pietro Gagliardi
2015-04-10 14:24:23 -0400
628c01d2bbFixed float display for table values on unix.
Jeremy Carter
2015-04-10 14:06:24 -0400
a272619581More TODO resolution and debugging stuff.
Pietro Gagliardi
2015-04-10 13:39:45 -0400
a38024c781Eliminated direct use of strdup(); introduced uiDarwinNSStringToText() to do that work for us (and abort on failure).
Pietro Gagliardi
2015-04-10 13:24:34 -0400