Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-12-17 | Call glXQueryDrawable() from within the GLX context | David Robillard | 1 | -5/+8 | |
This fixes getting the PUGL_SWAP_INTERVAL hint on some NVidia drivers. | |||||
2021-12-17 | Explicitly check for supported GLX extensions | David Robillard | 1 | -11/+24 | |
2021-12-16 | Add puglGetBackend() | David Robillard | 2 | -0/+10 | |
2021-12-16 | Add puglGetClassName() | David Robillard | 2 | -0/+11 | |
2021-12-16 | Add puglGetWindowTitle() | David Robillard | 2 | -0/+11 | |
2021-12-16 | Add puglGetParentWindow() | David Robillard | 2 | -0/+11 | |
2021-12-16 | Add puglGetTransientParent() | David Robillard | 2 | -0/+16 | |
2021-12-16 | Rename puglSetTransientFor to puglSetTransientParent | David Robillard | 6 | -11/+23 | |
2021-12-16 | MacOS: Fix warnings in unified ObjC++ test build | David Robillard | 1 | -1/+12 | |
2021-12-16 | X11: Fix potential crash in puglGrabFocus() | David Robillard | 2 | -2/+18 | |
This is really a mistake in user code, but things shouldn't crash in general. So, this commit fixes the crash and adds some documentation so that developers hopefully don't try to grab focus before it makes sense. The case that was previously a crash will now gracefully fail, that is, the focus will not be (and can not be) grabbed. | |||||
2021-11-20 | Suppress warnings in GCC release builds | David Robillard | 1 | -0/+1 | |
2021-10-09 | Use the correct macro for GLX_CONTEXT_PROFILE_MASK_ARB | falkTX | 1 | -1/+1 | |
GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB is the correct counterpart to GLX_CONTEXT_CORE_PROFILE_BIT_ARB in this context. This has the same value as the GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB it replaces though, so this change should not actually affect anything. | |||||
2021-10-09 | Only call SetProcessDPIAware in programs | falkTX | 1 | -10/+11 | |
This prevents plugins from changing global host state, which causes serious problems in hosts that are not DPI aware. | |||||
2021-08-28 | Suppress new clang-tidy warnings | David Robillard | 5 | -0/+11 | |
2021-08-28 | X11: Check for XRandR extension before usage | falkTX | 1 | -6/+9 | |
It happens in practice that XRandR is enabled in the build but is not available at runtime, particularly with X11 forwarding over SSH. This properly queries the extension first to avoid crashing in such situations. | |||||
2021-08-25 | Fix whitespace | David Robillard | 1 | -1/+2 | |
2021-08-25 | MacOS: Fix build on MacOS 10.9 and earlier | falkTX | 1 | -0/+1 | |
NSEventSubtype was introduced in 10.10. | |||||
2021-06-07 | MacOS: Reset GL context after initial window reshape | falkTX | 1 | -0/+1 | |
2021-06-07 | MacOS: Fix conversion warning | falkTX | 1 | -1/+1 | |
2021-05-28 | Remove static downcasts in C++ bindings | David Robillard | 4 | -34/+29 | |
2021-05-28 | Remove unnecessary "void" in C++ | David Robillard | 1 | -1/+1 | |
2021-05-28 | Split up meson build definitions more | David Robillard | 4 | -34/+37 | |
2021-05-28 | Use files() almost everywhere in meson | David Robillard | 1 | -9/+9 | |
2021-05-28 | Split up warning suppression flags more finely | David Robillard | 3 | -75/+116 | |
This avoids polluting the main list of suppressions with things that are only triggered in tests or examples, making it clearer which warning are present in pugl itself. | |||||
2021-05-28 | Remove unnecessary include directory | David Robillard | 1 | -1/+0 | |
2021-05-28 | Fix questionable float equality comparison | David Robillard | 2 | -5/+5 | |
This avoids a warning, and makes more sense in this situation anyway because negatives are also a bad configuration. | |||||
2021-05-28 | Fix build when tests and examples are disabled | David Robillard | 1 | -1/+2 | |
2021-05-27 | Add test for building the implementation as included C++ | David Robillard | 4 | -4/+170 | |
2021-05-27 | Make code build cleanly as C++ | David Robillard | 3 | -4/+17 | |
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. |