aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-10-21X11: Fix key press event key when control is pressedfalkTX1-2/+2
2023-10-21Remove spurious semicolonDavid Robillard1-1/+1
2023-10-21Filter out corresponding modifiers from key eventsDavid Robillard5-8/+38
Platforms differ here, but it's meaningless to ask about the state of a modifier that's currently being pressed or released, so simply mask this out in general so it's easy for platform implementations to clean events up before dispatching them.
2023-10-21Windows: Fix left and right key distinctionDavid Robillard1-6/+6
2023-10-21Print modifiers for key events in test and example programsfalkTX1-10/+12
2023-10-21Clean up includesDavid Robillard5-1/+4
2023-10-21Suppress warnings in clang 16David Robillard1-0/+4
2023-10-16Fix GCC 13 buildDavid Robillard1-2/+2
2023-10-07Fix puglGetTime() on Apple SiliconDavid Robillard1-3/+5
The floating point precision of these chips is... strange.
2023-10-07Fix warnings on MacOSDavid Robillard1-0/+1
2023-09-23Format meson.build files with muonDavid Robillard8-35/+59
The less time wasted with manual code formatting, the better.
2023-05-29Add support for numeric keypad and simplify keyboard handlingDavid Robillard5-128/+256
2023-05-29Add documentation for key symbolsDavid Robillard1-43/+40
2023-05-29Deprecate redundant key symbolsDavid Robillard3-17/+21
2023-05-27Make explicit enumeration constants unsigned wherever possibleDavid Robillard1-9/+9
2023-05-27Print special keys in verbose test outputDavid Robillard1-4/+96
2023-05-27Add convenience symbols for enter and space keysDavid Robillard1-1/+3
2023-05-27Remove sanitize row on CIDavid Robillard1-13/+0
Since the tests unfortunately aren't run on CI (because most of them require graphics), this row wasn't actually doing any useful testing.q
2023-05-27X11: Fix cursors on systems where XcursorGetTheme() doesn't workDavid Robillard1-2/+3
2023-05-27X11: Add options for XCursor, XRandR, and XSync supportDavid Robillard2-15/+67
2023-05-27Use files() for headers in mesonDavid Robillard4-10/+6
2023-05-27Remove dead meson codeDavid Robillard2-10/+0
2023-05-27Separate pugl/glu.h from pugl/gl.hDavid Robillard6-12/+27
The GLU library is often shipped in a separate package, so it's possible to have a system with GL, but no GLU headers. Since use of GLU isn't universal (none of the examples use it), its inclusion can break builds that would otherwise work. So, move it to a separate wrapper header so this can be avoided.
2023-05-26Fix inconsistent whitespaceDavid Robillard1-3/+3
2023-05-23Improve introduction and deployment documentationDavid Robillard3-23/+64
2023-05-22Speed up and improve reliability of timer testDavid Robillard1-3/+3
2023-05-22Test that multiple timers with different frequencies work correctlyDavid Robillard1-41/+100
2023-05-22X11: Fix puglStopTimer() with multiple timersThomas Brand1-5/+3
2023-05-12Clean up Vulkan demo codeDavid Robillard1-96/+100
2023-05-12Factor out return code to status conversionDavid Robillard2-62/+65
2023-05-12Make puglSetSizeHint() tolerate unknown hints on all platformsDavid Robillard1-0/+4
2023-05-12Factor out puglIsValidSize() and use consistent rules everywhereDavid Robillard5-22/+24
2023-05-12Improve size hint documentationDavid Robillard1-3/+21
2023-05-12Make examples continuous by defaultDavid Robillard2-6/+8
2023-05-12Add mouse cursors to examples for testing input latencyDavid Robillard2-11/+82
2023-05-12MacOS: Fix inverted puglPostRedisplay() coordinatesDavid Robillard1-1/+5
2023-05-12X11: Use the root provided by XGetWindowAttributes()David Robillard1-5/+4
2023-05-12X11: Avoid deferring empty exposuresDavid Robillard3-25/+15
2023-05-12X11: Use available X extensions by defaultDavid Robillard2-15/+39
2023-05-12Windows: Improve the frame rate of demos with vsyncDavid Robillard2-2/+3
2023-05-12Windows: Share common drawing context codeDavid Robillard2-12/+5
2023-05-12Windows: Pass the struct from BeginPaint() to EndPaint()David Robillard4-12/+7
The documentation explains that the PAINTSTRUCT returned by BeginPaint() should be passed to the corresponding call to EndPaint(). I'm not sure what real-world effects not doing this had, but this commit fixes things to use the API as intended.
2023-05-12Remove redundant castsDavid Robillard1-3/+3
2023-05-03Fix documentation upload on CIDavid Robillard1-3/+1
2023-05-03Replace strict option with new meson warning levelDavid Robillard7-333/+174
2023-05-03Fix typoDavid Robillard1-1/+1
2023-05-03Use consistent names for internal meson dependenciesDavid Robillard13-28/+28
2023-05-03Fix internal meson dependencies with static buildsDavid Robillard1-1/+8
2023-05-03Fix internal function linkageDavid Robillard1-1/+1
2023-05-03Fix ambiguous function prototypesDavid Robillard2-2/+2