Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-27 | Fix missing function sentinel | David Robillard | 1 | -1/+1 | |
2021-05-27 | Avoid confusing fallthrough structure | David Robillard | 1 | -6/+4 | |
2021-05-25 | Rename event structs in a more readable style | David Robillard | 26 | -167/+224 | |
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-25 | Fix some conversion warnings | David Robillard | 2 | -8/+8 | |
Avoids narrowing warnings when building as C++, and uses unsigned operands with bitwise operators in various places. | |||||
2021-05-25 | Windows: Make puglSetFrame() consistent with X11 | falkTX | 1 | -2/+1 | |
2021-05-25 | X11: Do not override _POSIX_C_SOURCE if already defined | falkTX | 1 | -1/+3 | |
2021-05-25 | Allow overriding PUGL_API | David Robillard | 1 | -8/+10 | |
2021-05-25 | Fix long line | David Robillard | 1 | -2/+2 | |
2021-05-24 | Add fancy constructor for C++ events and wrap puglSendEvent() | David Robillard | 3 | -1/+22 | |
2021-05-24 | Shrink code | David Robillard | 1 | -4/+1 | |
2021-05-24 | Test invalid hint cases | David Robillard | 2 | -0/+16 | |
2021-05-24 | Separate stub backends from other backends | David Robillard | 12 | -189/+221 | |
Stub backends were a dependency of other backends to allow some code reuse. However, that can cause conflicting symbols if multiple backends are linked into the same binary, which should be possible. To avoid this, move the shared code into the platform implementation, and export those symbols so that backends can use them. This adds some semi-public platform-specific API that can only be used by backends included with pugl. They are undocumented, subject to change at any time without a corresponding version change, and may not be used by third parties (for example by custom backends in an application). | |||||
2021-05-24 | MacOS: Fix duplicate PuglStubView symbol | David Robillard | 1 | -1/+1 | |
2021-05-24 | Fix the declaration of WGL function types | Jean Pierre Cimalando | 1 | -4/+10 | |
2021-05-24 | Fix documentation build as a subproject | David Robillard | 7 | -17/+34 | |
2021-05-24 | Consistently refer to C++ as "cpp" and fix installation | David Robillard | 16 | -36/+42 | |
2021-05-14 | Remove redundant conditional | Richard Gill | 1 | -5/+1 | |
2021-05-08 | Remove unused old files | David Robillard | 3 | -12/+0 | |
2021-05-08 | Update editorconfig to apply to any Python file | David Robillard | 1 | -1/+1 | |
2021-05-08 | Send unmap/map events when the view is minimized/restored | David Robillard | 8 | -61/+177 | |
X11 Window managers set WM_STATE to notify about minimization, often without sending core X visibility events (which seems odd to me, but that's what Gnome does anyway). So, implement this protocol and send map/unmap events to the view, and adjust the Windows implementation to do the same for consistency across all platforms. | |||||
2021-05-08 | X11: Always send an initial configure before map | David Robillard | 1 | -1/+1 | |
I think the conditional here was because this is typical when the view is embedded, but window manager behaviour is all over the place and this is something we want to always guarantee. | |||||
2021-05-08 | X11: Factor out translateClientMessage() | David Robillard | 1 | -12/+21 | |
2021-05-08 | Print create/destroy and map/unmap events in tests by default | David Robillard | 1 | -8/+8 | |
2021-05-06 | Strengthen clang-tidy warnings | David Robillard | 2 | -3/+1 | |
2021-05-06 | Clean up X11 implementation | David Robillard | 3 | -154/+114 | |
2021-05-06 | Add basic test for OpenGL support | David Robillard | 2 | -0/+121 | |
2021-05-06 | Add basic test for stub backend | David Robillard | 2 | -0/+80 | |
2021-05-06 | Add basic test for Vulkan support | David Robillard | 4 | -8/+230 | |
2021-05-06 | Add test for copy/paste | David Robillard | 4 | -5/+300 | |
2021-05-06 | Make timer test less flaky | David Robillard | 1 | -14/+29 | |
2021-05-06 | Set distinct window titles for tests | David Robillard | 10 | -1/+10 | |
This makes things a little more clear when something goes wrong, for example if a test hangs. | |||||
2021-05-06 | Use consistent name for test structure | David Robillard | 3 | -68/+68 | |
2021-05-03 | Fix paginated documentation links | David Robillard | 2 | -1/+4 | |
2021-05-03 | Improve test coverage | David Robillard | 7 | -0/+460 | |
2021-05-03 | Clean up includes and add mappings for old versions of IWYU | David Robillard | 2 | -1/+14 | |
2021-05-03 | Increase tolerance of timer test | David Robillard | 1 | -4/+0 | |
2021-05-03 | MacOS: Make puglGetNativeWorld() return the NSApplication | David Robillard | 2 | -3/+3 | |
2021-05-03 | Shrink puglGetViewHint() implementation | David Robillard | 1 | -5/+1 | |
2021-05-03 | Fix crash when freeing a view that has not been configured | David Robillard | 2 | -4/+14 | |
2021-05-03 | Fix questionable event casts | David Robillard | 3 | -29/+66 | |
I don't think there is any UB actually happening here, but some of these were casting to a pointer of a larger type, which is problematic. Unfortunately, it makes for quite a bit of tedious verbosity, but I don't see a decent way around that in C99. | |||||
2021-04-27 | dox_to_sphinx.py: Remove debug printing | David Robillard | 1 | -1/+0 | |
2021-04-27 | Simplify meson configuration | David Robillard | 1 | -5/+5 | |
2021-04-21 | MacOS: Fix memory leaks in puglUpdate() | Bjarke Bech | 1 | -24/+26 | |
2021-04-18 | Improve cube rendering in example programs | David Robillard | 2 | -17/+17 | |
2021-04-18 | Improve cube rendering in example programs | David Robillard | 2 | -27/+90 | |
2021-04-18 | Fix unreachable code | David Robillard | 1 | -1/+1 | |
2021-03-10 | Update build commands in README | David Robillard | 1 | -9/+6 | |
2021-03-10 | Fix warnings with VS2019 | David Robillard | 1 | -2/+4 | |
2021-03-10 | Relax precision requirement of timer test | David Robillard | 1 | -1/+1 | |
2021-02-15 | Remove deprecated enumerators | David Robillard | 1 | -7/+0 | |