Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-03-14 | Fix warning in VS2019 | David Robillard | 1 | -1/+3 | |
2022-03-14 | Fix documentation markup | David Robillard | 1 | -1/+1 | |
2022-03-14 | Fix build on systems without a "python" executable | David Robillard | 1 | -1/+1 | |
This script is technically 2/3 compatible, but 3 is required to build anyway, so whatever. | |||||
2022-03-14 | Suppress warnings in MinGW | David Robillard | 1 | -0/+6 | |
2022-03-14 | Make C++ compiler optional | David Robillard | 1 | -2/+3 | |
2021-12-17 | Remove unused struct definition | David Robillard | 1 | -4/+0 | |
2021-12-17 | Reduce variable scope | David Robillard | 1 | -2/+2 | |
2021-12-17 | Pass const references where appropriate | David Robillard | 2 | -10/+11 | |
2021-12-17 | Remove redundant virtual qualifier | David Robillard | 1 | -1/+1 | |
2021-12-17 | Adopt REUSE machine-readable licensing standard | David Robillard | 97 | -1086/+385 | |
See https://reuse.software/ for details. | |||||
2021-12-17 | Suppress new warnings in clang-tidy 13 | David Robillard | 6 | -5/+8 | |
2021-12-17 | Remove unnecessary include | David Robillard | 1 | -1/+0 | |
2021-12-17 | Fix spelling errors | David Robillard | 2 | -5/+5 | |
2021-12-17 | Windows: Support extended mouse buttons | David Robillard | 1 | -0/+14 | |
2021-12-17 | Make button numbers consistent across platforms | David Robillard | 4 | -8/+30 | |
There's no universal consensus on how buttons are numbered. Left, right, middle as 0, 1, 2 seems to be the most common convention on modern vaguely similar libraries, so I've gone with that. The switch to zero-based indices will obviously break all current client code. Particularly since now is the time to finish any breaking changes before a stable release, I think that is better than only changing the middle and right numbers, which would likely go unnoticed. | |||||
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 | |