Pietro Gagliardi
|
0f41bb2188
|
Made all programmer error functions take the function name as an argument.
|
2019-06-09 13:18:18 -04:00 |
Pietro Gagliardi
|
9b11ec4a6f
|
Changed the IntID error into a uiEvent-specific one.
|
2019-06-09 10:30:47 -04:00 |
Pietro Gagliardi
|
e808d85e01
|
Added function names to the wrong struct size error.
|
2019-06-09 08:50:12 -04:00 |
Pietro Gagliardi
|
9f776c140d
|
Fixed compile errors.
|
2019-06-08 18:09:12 -04:00 |
Pietro Gagliardi
|
7aa1b0870d
|
And finished filling in controls.c. This is gonna be fun to debug...
|
2019-06-08 15:31:40 -04:00 |
Pietro Gagliardi
|
6cf92b2058
|
Wrote and started testing uiEventInvalidateSender(). The rest of the tests come next.
|
2019-06-07 10:58:39 -04:00 |
Pietro Gagliardi
|
26e492539d
|
Renamed uiFreeEvent() to uiEventFree() for consistency with uiControlFree().
|
2019-06-02 22:04:25 -04:00 |
Pietro Gagliardi
|
9f2796ebac
|
Added uiEventFree(). Now to add it to the tests and see what AddressSanitizer says afterward.
|
2019-06-02 10:06:50 -04:00 |
Pietro Gagliardi
|
ece22bdddc
|
Split programmer errors into their own header file for readability and turned the names from string constants into full-fledged uiprivProgrammerError() calls to increase safety.
|
2019-06-02 08:35:40 -04:00 |
Pietro Gagliardi
|
48cd6e1dd8
|
Cleaned #include directives so C standard library headers are sorted and so each source file only includes one header file. This makes things clenaer, and alos allows us to more properly strip unneeded headers later.
|
2019-06-01 09:27:17 -04:00 |
Pietro Gagliardi
|
fd770430a9
|
And properly added init and thread checks to the uiEvent functions. Now we just need to do the same on the other platforms and THEN FINALLY we can move on to controls.
|
2019-05-29 00:41:36 -04:00 |
Pietro Gagliardi
|
a6c1e1ed17
|
Fixed build errors. Now to fix runtime errors.
|
2019-05-27 11:02:23 -04:00 |
Pietro Gagliardi
|
8e5a12b869
|
And changed unusedIDs to use uiprivArray. Now we can transplant this into testing.
|
2019-05-19 15:46:09 -04:00 |
Pietro Gagliardi
|
02b61c0156
|
Changed uiEvent.handlers into a uiprivArray; also fixed the buggy implementations of InsertAt and Delete.
|
2019-05-19 14:37:32 -04:00 |
Pietro Gagliardi
|
a81ea6e3fb
|
Fixed events not being deleted properly.
|
2019-05-19 01:00:25 -04:00 |
Pietro Gagliardi
|
66247ce73d
|
Fixed building events.c.
|
2019-05-18 10:00:07 -04:00 |
Pietro Gagliardi
|
25afc9b13f
|
And finished writing events.c. Now to write the tests.
|
2019-05-17 22:40:29 -04:00 |
Pietro Gagliardi
|
56156f549b
|
Bah C99
|
2019-05-16 23:34:33 -04:00 |
Pietro Gagliardi
|
96c346c2dd
|
Added uiprivAlloc() and friends and implemented uiNewEvent().
|
2019-05-16 23:02:03 -04:00 |
Pietro Gagliardi
|
bd84da7179
|
More implementation of uiEvent. Now we'll need to deal with memory allocation.
|
2019-05-16 12:27:04 -04:00 |
Pietro Gagliardi
|
caa926feeb
|
Started implementing and deduplicating the error handling in events.c.
|
2019-05-15 23:11:21 -04:00 |
Pietro Gagliardi
|
55a7e3e56e
|
Started implementing events.
|
2019-05-15 22:40:06 -04:00 |