Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-10-07 | Fix puglGetTime() on Apple Silicon | David Robillard | 1 | -3/+5 | |
The floating point precision of these chips is... strange. | |||||
2023-05-29 | Add support for numeric keypad and simplify keyboard handling | David Robillard | 3 | -97/+131 | |
2023-05-29 | Deprecate redundant key symbols | David Robillard | 2 | -9/+9 | |
2023-05-27 | X11: Fix cursors on systems where XcursorGetTheme() doesn't work | David Robillard | 1 | -2/+3 | |
2023-05-22 | X11: Fix puglStopTimer() with multiple timers | Thomas Brand | 1 | -5/+3 | |
2023-05-12 | Factor out return code to status conversion | David Robillard | 2 | -62/+65 | |
2023-05-12 | Make puglSetSizeHint() tolerate unknown hints on all platforms | David Robillard | 1 | -0/+4 | |
2023-05-12 | Factor out puglIsValidSize() and use consistent rules everywhere | David Robillard | 5 | -22/+24 | |
2023-05-12 | MacOS: Fix inverted puglPostRedisplay() coordinates | David Robillard | 1 | -1/+5 | |
2023-05-12 | X11: Use the root provided by XGetWindowAttributes() | David Robillard | 1 | -5/+4 | |
2023-05-12 | X11: Avoid deferring empty exposures | David Robillard | 3 | -25/+15 | |
2023-05-12 | X11: Use available X extensions by default | David Robillard | 1 | -12/+36 | |
2023-05-12 | Windows: Share common drawing context code | David Robillard | 2 | -12/+5 | |
2023-05-12 | Windows: Pass the struct from BeginPaint() to EndPaint() | David Robillard | 4 | -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-12 | Remove redundant casts | David Robillard | 1 | -3/+3 | |
2023-05-03 | Fix internal function linkage | David Robillard | 1 | -1/+1 | |
2023-05-03 | Fix ambiguous function prototypes | David Robillard | 2 | -2/+2 | |
2023-05-03 | Add missing field initializer | David Robillard | 1 | -1/+1 | |
2023-05-03 | Avoid double equality comparison | David Robillard | 1 | -2/+2 | |
2023-05-03 | Fix mismatched types in ternary expressions | David Robillard | 2 | -16/+18 | |
2023-05-03 | Fix implicit sign conversions | David Robillard | 3 | -7/+7 | |
2023-05-03 | Fix tautological unsigned comparisons | David Robillard | 1 | -6/+6 | |
2023-05-03 | Remove dead code | David Robillard | 1 | -13/+0 | |
2023-02-18 | Use XSetWMNormalHints instead of XSetNormalHints | sjaehn | 1 | -1/+1 | |
2023-02-15 | Fix crash on views with no title set | David Robillard | 1 | -9/+11 | |
2023-02-10 | Fix partial exposure in X11 Cairo backend | David Robillard | 1 | -10/+35 | |
2023-02-10 | Factor out macros | David Robillard | 2 | -8/+16 | |
2023-01-20 | Inline flags | David Robillard | 1 | -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-14 | MacOS: Fix Vulkan backend build | David Robillard | 1 | -1/+2 | |
2023-01-14 | Allow applications to specify the Vulkan library path | David Robillard | 3 | -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-14 | Windows: Fix potentially insecure library loading | David Robillard | 2 | -3/+6 | |
2023-01-14 | Windows: Add PUGL_DARK_FRAME hint | David Robillard | 1 | -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-14 | Add general string hint interface | David Robillard | 7 | -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-11 | MacOS: Avoid calling sendEvent in modules | reuk | 3 | -56/+33 | |
2023-01-11 | Fix potential leak | David Robillard | 1 | -7/+10 | |
2023-01-11 | Guard against required hints explicitly being set to PUGL_DONT_CARE | David Robillard | 1 | -0/+5 | |
2023-01-11 | Clean up puglRealize() implementations | David Robillard | 4 | -27/+18 | |
2023-01-11 | X11: Fix puglPostRedisplay() outside of event handlers | David Robillard | 1 | -2/+4 | |
2023-01-11 | X11: Make puglSendEvent() gracefully handle unrealized views | David Robillard | 1 | -0/+3 | |
2023-01-11 | Reduce duplicated code | David Robillard | 1 | -11/+1 | |
2023-01-11 | X11: Avoid potentially unnecessary allocation in Vulkan backend | David Robillard | 1 | -8/+12 | |
2023-01-11 | X11: Fix positioning of top-level windows with decorations | David Robillard | 2 | -8/+68 | |
2023-01-11 | Remove cached frame from view | David Robillard | 10 | -214/+364 | |
This was just a source of ambiguity and bugs, since it represented different things at different times and could become stale. Redundant data is always trouble, so eliminate it, leaving just two positions/sizes: the defaults (used when the view is not yet realized), and the last configuration. | |||||
2023-01-11 | Fix checks for invalid view positions | David Robillard | 3 | -3/+3 | |
2023-01-11 | Center windows on their transient parent where possible | David Robillard | 3 | -16/+56 | |
This is only really relevant in practice on MacOS and Windows. On X11, the window manager places new windows where it pleases. | |||||
2023-01-10 | Add PUGL_CURSOR_ALL_SCROLL | David Robillard | 3 | -0/+4 | |
2023-01-10 | Fix inconsistent naming convention | David Robillard | 1 | -5/+5 | |
2023-01-10 | Windows: Make puglGetScaleFactor always return a reasonable value | David Robillard | 1 | -4/+24 | |
This guesses the likely scale factor when the view hasn't been realized (and so there's no real window to get information for). It may still be wrong for multiple display systems, but will always return some scale factor that "exists" on the system, and should always be correct when there's only one display. | |||||
2023-01-08 | Prepare OpenGL context flags for OpenGL ES support | David Robillard | 4 | -11/+17 | |
2023-01-08 | Windows: Fix OpenGL profile hint interpretation | David Robillard | 1 | -2/+2 | |