Pietro Gagliardi
|
fda1446114
|
More notes. Yeah, I didn't get to finish remodel by the end of the year; sorry.
|
2020-12-31 22:59:28 -05:00 |
Pietro Gagliardi
|
3005c00376
|
More notes.
|
2020-11-23 11:50:25 -05:00 |
Pietro Gagliardi
|
76879e7c82
|
More notes.
|
2020-11-18 01:04:30 -05:00 |
Pietro Gagliardi
|
81fb4ea7f2
|
More notes.
|
2020-10-05 23:33:24 -04:00 |
Pietro Gagliardi
|
47f2bffd8a
|
Merge branch 'master' into remodel
Conflicts:
windows/winapi.hpp
(manually resolved by elaborating comment)
|
2020-10-02 10:30:58 -04:00 |
Pietro Gagliardi
|
f3982618e7
|
Merge pull request #517 from timgates42/bugfix_typo_platform
docs: Fix simple typo, plaform -> platform
|
2020-10-02 10:29:32 -04:00 |
Tim Gates
|
ce8c2dc22c
|
docs: Fix simple typo, plaform -> platform
There is a small typo in windows/_rc2bin/winapi.hpp, windows/winapi.hpp.
Should read `platform` rather than `plaform`.
|
2020-09-30 07:05:44 +10:00 |
Pietro Gagliardi
|
afb53d88c8
|
Merge branch 'master' into remodel
|
2020-06-07 21:09:34 -04:00 |
Pietro Gagliardi
|
34d1d0ac48
|
Merge pull request #500 from L4r0x/table-mem-leak
Fix memory leak in uiTable setEditable on unix.
|
2020-06-07 21:09:04 -04:00 |
Pietro Gagliardi
|
5ca4ccb30b
|
Merge branch 'master' into remodel
|
2020-06-07 21:06:50 -04:00 |
Pietro Gagliardi
|
4ee9c47ddc
|
Looks like meson now requires a newer ninja than what ships with whatever version of whatever Debian-derived distribution Azure Pipelines uses. Use ninja from pip instead (it's a special distribution maintained by the SciPy guys, apparently).
|
2020-06-07 21:05:16 -04:00 |
Pietro Gagliardi
|
6f4610f82a
|
Oops
|
2020-06-07 20:58:11 -04:00 |
Lars Wrenger
|
6b124b6f55
|
Fix memory leak in uiTable setEditable on unix.
GtkTreePath was not freed correctly.
|
2020-06-07 20:41:31 +02:00 |
Pietro Gagliardi
|
1c7718ec58
|
And updated the tests on Windows. It works!
|
2020-06-07 14:36:56 -04:00 |
Pietro Gagliardi
|
7cdd6ee38c
|
Finished all the necessary bits to implement what little of uiWindow we have now on Windows. Now to fill in the tests.
|
2020-06-07 14:10:16 -04:00 |
Lars Wrenger
|
54567bd4f6
|
Fix memory leak uiTable setEditable on unix.
The tree_model_path was not freed correctly.
|
2020-06-07 17:13:36 +02:00 |
Pietro Gagliardi
|
188d9f736f
|
Reintegrated UTF-16 stuff we need immediately and prepared the test suite for it.
|
2020-06-06 22:30:50 -04:00 |
Pietro Gagliardi
|
3f392d04ce
|
Started migrating uiWindow on Windows. Oh boy it's UTF-16 time!
|
2020-06-06 19:27:05 -04:00 |
Pietro Gagliardi
|
d5c06108d6
|
Added the missing noinitwrongthread Unix tests.
|
2020-06-02 22:52:56 -04:00 |
Pietro Gagliardi
|
1dd0372593
|
Set up a new system for designated static const struct initializers on C++. Also added the missing noinitwrongthread tests on Haiku.
|
2020-06-02 22:40:54 -04:00 |
Pietro Gagliardi
|
c07a7861d4
|
More TODOs.
|
2020-05-31 19:49:59 -04:00 |
Pietro Gagliardi
|
860eb0fae3
|
And implemented uiWindow stuff on Haiku.
|
2020-05-31 19:00:03 -04:00 |
Pietro Gagliardi
|
218439c215
|
Did all the uiWindow stuff on GTK+.
|
2020-05-31 13:37:56 -04:00 |
Pietro Gagliardi
|
eb1862afe1
|
Deduplicated noinitwrongthread.c and its OS-specific files.
|
2020-05-30 21:24:58 -04:00 |
Pietro Gagliardi
|
80ddb4df8f
|
Rounded out uiWindow and uiDarwinControl error conditions and error condition documentation.
|
2020-05-30 21:17:17 -04:00 |
Pietro Gagliardi
|
d423688def
|
And added (in a somewhat dirty for now way) the noinitwrongthread.c case for uiDarwinControlHandle().
|
2020-05-25 22:42:44 -04:00 |
Pietro Gagliardi
|
de3598df80
|
Added tests for the uiWindow methods being called after init/on the right thread. To actually implement those, wrote OS-independent wrappers for the uiWindow functions. This will likely become a pattern throughout libui...
|
2020-05-25 22:35:25 -04:00 |
Pietro Gagliardi
|
0dd4bec2af
|
Added uiDarwinControlHandle(), and added it to uiWindow, and added uiWindow handle tests (including underlying string tests) to the test suite. Oof. Also I just remembered we're missing tests of these new functions in noinitwrongthread.c.
|
2020-05-25 22:13:48 -04:00 |
Pietro Gagliardi
|
16d2380adc
|
Added the UTF-8 tests to the uiWindow test.
|
2020-05-25 19:48:59 -04:00 |
Pietro Gagliardi
|
9bc2cccb2d
|
More work on test/utf8.c. Now to integrate this into test/window.c.
|
2020-05-25 15:43:28 -04:00 |
Pietro Gagliardi
|
aa954e952a
|
Unicode language lawyering.
|
2020-05-25 14:19:37 -04:00 |
Pietro Gagliardi
|
4c5434d76e
|
More TODOs.
|
2020-05-25 02:00:16 -04:00 |
Pietro Gagliardi
|
c71fbe29c2
|
Wrote some code for helping with UTF-8 test cases.
|
2020-05-25 01:47:19 -04:00 |
Pietro Gagliardi
|
2f9aaeeb62
|
Started writing tests for uiWindow.
|
2020-05-24 18:08:48 -04:00 |
Pietro Gagliardi
|
0be1273dab
|
Finished our initial implementation of uiWindow on macOS to our previous spec. Now to write tests.
|
2020-05-24 17:23:52 -04:00 |
Pietro Gagliardi
|
ba6f2865df
|
Started reintegrating uiWindow on macOS. I didn't think the implData variable naming through... Also made uiWindow a mere typedef to uiControl; I'll need to copy the handle logic from Windows to make this robust, or something to that effect...
|
2020-05-22 22:43:33 -04:00 |
Pietro Gagliardi
|
a65bbfa057
|
Started re-adding uiWindow; this just lays down the bare minimum API we're re-adding.
|
2020-05-22 18:46:48 -04:00 |
Pietro Gagliardi
|
8db1d5474b
|
Included testhooks.h from uipriv.h and test.h, to make things easier to write (we won't have to keep remembering to include it in every file) and to clean up (ditto, but for removal).
|
2020-05-22 16:32:04 -04:00 |
Pietro Gagliardi
|
6fe7c1ef66
|
Added a UTF-8 sanitization routine. This will be needed for titles on uiWindow. Reintroduced our copy of the utf library. This should really be part of utf; I'll have to decide whether to test this or not. Made that a TODO for now. I'll be testing bad UTF-8 inputs on each function that takes UTF-8 strings anyway, just to be safe. Now we can finally add uiWindow!
|
2020-05-17 22:18:47 -04:00 |
Pietro Gagliardi
|
7aeb937b93
|
Added methods to uiControl to catch and handle parent changing from the perspective of the individual controls. This will be used to implement the transition from not being backed by an OS handle to being backed by one and back on Windows, and should be all we need to start re-adding controls after uiWindow.
|
2020-05-13 12:43:40 -04:00 |
Pietro Gagliardi
|
e01c732760
|
More documentation notes.
|
2020-05-12 17:00:40 -04:00 |
Pietro Gagliardi
|
150fa7eaa6
|
Renamed testparent to testrunner. (Whatever this became wasn't going to be testparent anyway; that was me thinking ahead to XCTest for macOS testing, which we're almost to the point of...)
|
2020-05-12 02:05:30 -04:00 |
Pietro Gagliardi
|
de35499976
|
And removed zNEW_test now that everything's integrated back in.
|
2020-05-12 01:47:14 -04:00 |
Pietro Gagliardi
|
1cf87d5c5e
|
And Haiku.
|
2020-05-12 01:46:36 -04:00 |
Pietro Gagliardi
|
de5205d594
|
And with Unix.
|
2020-05-11 22:37:17 -04:00 |
Pietro Gagliardi
|
e73c3363ec
|
Reintegrated the Windows control tests. We may be close to getting rid of zNEW_test!
|
2020-05-11 22:30:30 -04:00 |
Pietro Gagliardi
|
22bcf088e9
|
And reintegrated the macOS tests. Now for the other platforms.
|
2020-05-11 22:19:07 -04:00 |
Pietro Gagliardi
|
76eef19a2b
|
Clarified something in test/errors.c.
|
2020-05-11 21:03:31 -04:00 |
Pietro Gagliardi
|
19a776e446
|
And integrated the cycle-checking code. Woo it's got tests! Now we need to worry about the OS-side test code, assuming I don't have any more pesky TODOs to fix immediately...
|
2020-05-11 21:02:04 -04:00 |
Pietro Gagliardi
|
b1d733e9a2
|
Reworked programmer error tests to limit what they catch. The cycle checking tests now correctly crash and burn because the programmer errors they throw are elsewhere. Now to actually hook up the cycle checking! Also added some notes to test/errors.c to explain what we're doing and also fixed the build.
|
2020-05-11 20:55:34 -04:00 |