aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_timer.c
AgeCommit message (Collapse)AuthorFilesLines
2022-05-21Add a uniform API for setting size hintsDavid Robillard1-1/+1
This collapses many functions into one, which makes the API more easily extensible and reduces code size.
2022-05-20Use consistent class names and titles in tests and examplesDavid Robillard1-1/+1
2021-12-17Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
See https://reuse.software/ for details.
2021-05-25Rename event structs in a more readable styleDavid Robillard1-1/+1
Aside from reading more naturally, this avoids clashes with types that are not events, like PuglEventFlags. This is also more consistent with the C++ bindings, where "EventExpose" would be quite strange, for example. Apologies for the noise. Aliases to the old names will be preserved in the deprecated API like other things for a short while.
2021-05-06Make timer test less flakyDavid Robillard1-14/+29
2021-05-06Set distinct window titles for testsDavid Robillard1-0/+1
This makes things a little more clear when something goes wrong, for example if a test hangs.
2021-05-06Use consistent name for test structureDavid Robillard1-28/+28
2021-05-03Increase tolerance of timer testDavid Robillard1-4/+0
2021-03-10Relax precision requirement of timer testDavid Robillard1-1/+1
2021-01-02Simplify clang-format configuration and format all codeDavid Robillard1-85/+83
2020-11-25Rename puglShowWindow and puglHideWindow to puglShow an puglHideDavid Robillard1-1/+1
These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word.
2020-10-30Simplify header namesDavid Robillard1-1/+1
2020-07-05Improve struct packingDavid Robillard1-3/+3
Unfortunately there is no warning like Wpadded but only for internal padding, so that can't be turned on, but if there was, after this commit the build would be clean with it. Maybe some day...
2020-05-16Add default and maximum sizeDavid Robillard1-0/+1
2020-05-16Use email address in copyright headersDavid Robillard1-1/+1
Not really sure why I used a web link here (maybe because it's more stable), but this is more conventional.
2020-04-01Replace puglShowWindow() with puglRealize()David Robillard1-1/+1
2020-03-16Cleanup: Add missing includesDavid Robillard1-0/+2
2020-03-16Add timer eventsDavid Robillard1-0/+158