Pietro Gagliardi
23591eeefa
Executive decision: drop uiUnint(). This was really more for double-checking *my* work, mostly with regards to memory management, and we could probably do that in the test suite instead, or even with AddressSanitizer.
2019-04-21 20:59:36 -04:00
Pietro Gagliardi
f7867f3427
ALMOST fixed the build on Windows with MSVC. (For the change to test/testing.h: Even in VS2019 inline isn't available in C, ugh. That function doesn't need to be inline anyway, so eh.)
2019-04-21 15:08:09 -04:00
Pietro Gagliardi
c6aa8c3324
Pruned windows/init.cpp to a minimal initialization that we can test things with, which includes adding a function to load err->Message with a formatted string.
...
Also added a better error for if InitCommonControlsEx() returns 0 without setting the last error; this usually means that v5 is loaded.
Fixes #451 .
Updates #337 .
2019-04-21 14:49:16 -04:00
Pietro Gagliardi
b89a18f3dd
Don't define DllMain() in a static build. Fixes #433 .
2019-04-21 13:58:19 -04:00
Pietro Gagliardi
29c51b6348
Started readding the Windows code; added the Windows version headers to the docs as well now since I'm cleaning up winapi.hpp as well.
2019-04-21 13:54:39 -04:00
Pietro Gagliardi
992d8694a9
Let's start the remodel. Move almost everything out of the way.
2019-04-08 20:36:21 -04:00
Pietro Gagliardi
4afebf4d8e
Try again again.
2019-04-03 10:20:07 -04:00
Pietro Gagliardi
ad1641f9ab
Cleaned up timers in uiUninit() on Windows. Update #395 .
2018-08-09 04:29:16 -04:00
Pietro Gagliardi
a858300f25
Filled in image.cpp. Also switched on WIC since we'll need it for uiArea, though uiTable will still need classic GDI. Now let's integrate this into uiTable.
2018-06-09 19:24:36 -04:00
Pietro Gagliardi
c6bb463692
uiAlloc() et al -> uiprivAlloc() et al, Windows code.
2018-04-15 18:12:58 -04:00
Pietro Gagliardi
4a57b15d09
Renamed the common options variable to uiprivOptions.
2018-04-15 15:49:45 -04:00
Pietro Gagliardi
e08460adc3
Cleanup from the previous commit.
2018-03-17 14:45:45 -04:00
Pietro Gagliardi
084ed53e63
Fixed a latent bug in uiFreeInitError() on Windows.
2016-10-15 01:21:04 -04:00
Pietro Gagliardi
a226c80993
More TODO resolution and elimination and delegation and explanation.
2016-05-29 19:55:53 -04:00
Pietro Gagliardi
aafb27cb2c
Finished the complain() migration.
2016-05-13 23:29:41 -04:00
Pietro Gagliardi
f60178798f
Removed common type code.
2016-04-24 15:08:48 -04:00
Pietro Gagliardi
c53e1c0b7d
More fixes. Halfway through the alphabet now.
2016-04-23 22:29:54 -04:00
Pietro Gagliardi
1ada1b346c
Migrated resize.c.
2016-04-22 19:51:33 -04:00
Pietro Gagliardi
960533ab1f
Abstracted out the message filter stuff so we can add a dialog message filter to allow tab navigation anywhere next.
2016-04-22 14:36:21 -04:00
Pietro Gagliardi
7a4c73ff92
Migrated init.c.
2016-04-22 13:31:33 -04:00