Commit Graph

4324 Commits

Author SHA1 Message Date
Pietro Gagliardi f95c87dc96 Wrote in the missing functionality to the new testlist.py. 2020-02-16 13:48:20 -05:00
Pietro Gagliardi cfc4b60ea1 Oops, it was working the whole time; I was being dumb and feeding it the wrong input when testing. 2020-02-16 13:22:45 -05:00
Pietro Gagliardi 27a701c371 Rewrote testlist.py to allow producing an auxiliary file (or auxiliary files) to allow not having to compute the test lookup table in testparent (though we're not doing that yet). It mostly works. 2020-02-16 12:56:55 -05:00
Pietro Gagliardi 4fae662575 Revert "Started restructuring common/errors.c to only produce a single error string (so we can pass it to Haiku's debugger() function without further allocations). In this case, the buffer size is 256 + the size of the prefix + the size of the suffix now."
Okay, this is actually going to be more complicated than I at first thought...

This reverts commit 44e13e53bf.
2020-02-09 20:49:47 -05:00
Pietro Gagliardi 44e13e53bf Started restructuring common/errors.c to only produce a single error string (so we can pass it to Haiku's debugger() function without further allocations). In this case, the buffer size is 256 + the size of the prefix + the size of the suffix now. 2020-02-09 18:27:19 -05:00
Pietro Gagliardi 83129eeef5 Normalized uiprivInternalError() calls to always try to fail gracefully, and make sure errors don't call abort() so we can resume when debugging (and because this isn't really our decision to make...). (The debugger breaks will be removed from release builds when we get to that point.) Finally, refined some TODOs and removed some stale ones (in this case, that were related to the first few things). 2020-02-09 13:37:45 -05:00
Pietro Gagliardi 5952ad368d Fixed Haiku runtime errors. 2020-01-28 21:36:31 -05:00
Pietro Gagliardi cce4419b9a Got Windows working again. 2020-01-28 21:29:45 -05:00
Pietro Gagliardi 9ceed7c62d Fixed errors.c. 2020-01-26 20:06:12 -05:00
Pietro Gagliardi 001e439a9b Started properly reintegrating the core of noinitwrongthread.c (that is, errors.c). 2020-01-26 20:02:03 -05:00
Pietro Gagliardi 8b400f33f7 More initmain.c integration. I think we're now complete to what it used to be for that one file. Now I have to figure out how to readd subtests... 2020-01-23 21:44:45 -05:00
Pietro Gagliardi 7bb67c3e46 More adaptations. 2020-01-23 21:36:50 -05:00
Pietro Gagliardi 042da74cc9 Started restructuring things slightly so as to allow the new test functions to be safely called from subroutines. 2020-01-23 10:52:41 -05:00
Pietro Gagliardi cd2d64c228 Started reintegrating the noinitwrrongthread.cpp cases. Also made it C instead of C++ because maybe Plan 9 one day??? Either way, not ready to test yet. 2020-01-21 15:31:41 -05:00
Pietro Gagliardi b1b60f6077 Reintegrated timerSleep() (now threadSleep() because I'm not bloating things further). initmain.c fully restored! 2020-01-21 15:13:24 -05:00
Pietro Gagliardi b722922428 Reintegrated the test's thread helper functions and the thread test functions in initmain.c. Phew. 2020-01-21 14:19:52 -05:00
Pietro Gagliardi d51a885431 Reintroduced the test type without uiInit() and added uiInit() to most normal tests. Now to start (slowly) reactivating tests. 2020-01-21 01:16:47 -05:00
Pietro Gagliardi da1f9b4875 And fixed compiler errors. It works! 2020-01-20 20:58:19 -05:00
Pietro Gagliardi c014fb5989 Fixed the meson configuration. 2020-01-20 20:55:37 -05:00
Pietro Gagliardi f75875e51b And finished reintegrating enough for one test case. 2020-01-20 20:52:46 -05:00
Pietro Gagliardi 4f2db68520 Reintegrated what I needed in test.h. So much for "overengineered". 2020-01-20 20:49:33 -05:00
Pietro Gagliardi 2ccabe69f2 Started reintegrating initmain.c, sort of. I screwed up and need to redo it. 2020-01-20 20:17:44 -05:00
Pietro Gagliardi 0c66fc3995 Wrote the python script to generate the list of test cases and integrated it into meson.build. This should be fun. 2020-01-20 18:18:58 -05:00
Pietro Gagliardi f4218af3f5 Filled in the rest of test(ing).h and main.c for the new test system. 2020-01-20 17:22:37 -05:00
Pietro Gagliardi c95cefaa1c Started writing the new test parent, which will run tests that do not need to spawn a child process to do UI tests with XCTest. Wow I overengineered testingpriv... Also now that I have Solaris Studio I might as well add __SUNPRO_C support. 2020-01-19 22:42:59 -05:00
Pietro Gagliardi 75db846736 Looks like we're going to need to turn the test suite into a subprocess-based suite now rather than later, because of Haiku not allowing BApplication::Run() to be called more than once. 2020-01-19 18:59:43 -05:00
Pietro Gagliardi 6bc5db4d79 Oops I forgot the soversion. Now to figure out why it crashes. 2020-01-18 21:08:24 -05:00
Pietro Gagliardi de76afd43a And filled in haiku tests. It builds, but doesn't run. 2020-01-18 20:25:49 -05:00
Pietro Gagliardi 4c33e0fb83 Filled up more of the Haiku port, enough to build the library itself. 2020-01-18 20:19:38 -05:00
Pietro Gagliardi 0748d05a19 More notes. 2020-01-13 10:46:45 -05:00
Pietro Gagliardi d0edd9e738 Started a new Haiku port. 2020-01-12 22:48:28 -05:00
Pietro Gagliardi a8d082fa79 Merge branch 'master' into remodel 2020-01-02 22:31:13 -05:00
Pietro Gagliardi 9d4253ad6d Fixed build on FreeBSD. 2020-01-02 22:30:31 -05:00
Pietro Gagliardi a0a980712e
Merge pull request #480 from rjopek/patch-1
Update README.md
2020-01-01 11:35:45 -05:00
Pietro Gagliardi 5d072aad58 Merge branch 'master' into remodel 2019-12-31 23:25:23 -05:00
Rafał Jopek 9e8bda22a7
Update README.md
Removed outdated link, original project restored.
2019-12-29 19:40:51 +01:00
Pietro Gagliardi e8a4562744
Merge pull request #479 from jaens/patch-1
Remove pylibui-cffi from README
2019-12-29 09:58:45 -05:00
Jaen bd420fed73
Remove pylibui-cffi from README
The owner has archived the repository, which I assume means it's unmaintained.
2019-12-27 12:09:44 -08:00
Pietro Gagliardi 01c1691161 More TODOs. 2019-11-08 22:22:03 -05:00
Pietro Gagliardi 736af09557 More notes. 2019-10-25 20:03:36 -04:00
Pietro Gagliardi 21b887a14a More notes. 2019-10-21 22:14:33 -04:00
Pietro Gagliardi ad1644f9a8 More notes. 2019-10-19 22:56:25 -04:00
Pietro Gagliardi c90ea52922 Merge branch 'master' into remodel 2019-09-15 22:54:30 -04:00
Pietro Gagliardi 1b05846892 Fixed a use-before-initialize bug in unix/area.c. This was present from the start, and was an error in my Go code conversion; oops. Fixes #472. 2019-09-15 22:53:23 -04:00
Pietro Gagliardi c0c8207a6c misctests cleanup (of files not being committed to git). 2019-09-15 10:52:15 -04:00
Pietro Gagliardi a410f9d5e5 Ooh we mostly figured it out! 2019-09-02 21:06:07 -04:00
Pietro Gagliardi 6801cf5282 More progress with the DWM blur-behind stuff. This is increasingly complicated; I can get rid of the alpha-blending OR keep the Aero animations... 2019-09-01 18:59:19 -04:00
Pietro Gagliardi 5c65e6d7fa More notes. 2019-08-31 19:33:33 -04:00
Pietro Gagliardi 17f9a5eff5 Started writing a test program for DwmEnableBlurBehind() for sidebars. This is gonna be a LOT of work... 2019-08-31 19:22:02 -04:00
Pietro Gagliardi 0264ea9905 BIG OOPS 2019-06-18 20:36:17 -04:00