aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-10-21Fix whitespaceDavid Robillard1-1/+2
2023-10-21MacOS: Fix horizontal scroll directionDavid Robillard1-1/+1
2023-10-21X11: Use PUGL_INIT_STRUCT to initialize char arraysfalkTX1-3/+3
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-21Clean up includesDavid Robillard1-1/+0
2023-10-07Fix puglGetTime() on Apple SiliconDavid Robillard1-3/+5
The floating point precision of these chips is... strange.
2023-05-29Add support for numeric keypad and simplify keyboard handlingDavid Robillard3-97/+131
2023-05-29Deprecate redundant key symbolsDavid Robillard2-9/+9
2023-05-27X11: Fix cursors on systems where XcursorGetTheme() doesn't workDavid Robillard1-2/+3
2023-05-22X11: Fix puglStopTimer() with multiple timersThomas Brand1-5/+3
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-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 Robillard1-12/+36
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 internal function linkageDavid Robillard1-1/+1
2023-05-03Fix ambiguous function prototypesDavid Robillard2-2/+2
2023-05-03Add missing field initializerDavid Robillard1-1/+1
2023-05-03Avoid double equality comparisonDavid Robillard1-2/+2
2023-05-03Fix mismatched types in ternary expressionsDavid Robillard2-16/+18
2023-05-03Fix implicit sign conversionsDavid Robillard3-7/+7
2023-05-03Fix tautological unsigned comparisonsDavid Robillard1-6/+6
2023-05-03Remove dead codeDavid Robillard1-13/+0
2023-02-18Use XSetWMNormalHints instead of XSetNormalHintssjaehn1-1/+1
2023-02-15Fix crash on views with no title setDavid Robillard1-9/+11
2023-02-10Fix partial exposure in X11 Cairo backendDavid Robillard1-10/+35
2023-02-10Factor out macrosDavid Robillard2-8/+16
2023-01-20Inline flagsDavid Robillard1-2/+2
Maybe CodeFactor can figure this out, or maybe this really can load from the CWD despite what the documentation seems to say.
2023-01-14MacOS: Fix Vulkan backend buildDavid Robillard1-1/+2
2023-01-14Allow applications to specify the Vulkan library pathDavid Robillard3-7/+13
I don't know if vendoring the Vulkan library is appropriate, but regardless, this allows applications to set the name to whatever they want, or specify an absolute path, just in case the standard value baked into Pugl isn't the right one in some situation.
2023-01-14Windows: Fix potentially insecure library loadingDavid Robillard2-3/+6
2023-01-14Windows: Add PUGL_DARK_FRAME hintDavid Robillard1-0/+20
This allows dark applications to visually integrate more nicely in Windows 10. A little thing, but it really goes a long way to make programs not look out of place and half-baked.
2023-01-14Add general string hint interfaceDavid Robillard7-51/+133
This replaces the window title and class name APIs with a more general one that can be easily extended to other things, like icon names, more detailed application hints, and so on.
2023-01-11MacOS: Avoid calling sendEvent in modulesreuk3-56/+33
2023-01-11Fix potential leakDavid Robillard1-7/+10
2023-01-11Guard against required hints explicitly being set to PUGL_DONT_CAREDavid Robillard1-0/+5
2023-01-11Clean up puglRealize() implementationsDavid Robillard4-27/+18
2023-01-11X11: Fix puglPostRedisplay() outside of event handlersDavid Robillard1-2/+4
2023-01-11X11: Make puglSendEvent() gracefully handle unrealized viewsDavid Robillard1-0/+3
2023-01-11Reduce duplicated codeDavid Robillard1-11/+1
2023-01-11X11: Avoid potentially unnecessary allocation in Vulkan backendDavid Robillard1-8/+12
2023-01-11X11: Fix positioning of top-level windows with decorationsDavid Robillard2-8/+68