Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-04-23 | Put unit tests in a "unit" suite | David Robillard | 1 | -4/+8 | |
This enables running them without the data tests (which can be annoying while working in a messy repo), and for bonus points makes the log output look more uniform. | |||||
2022-04-23 | Fix IWYU warnings | David Robillard | 5 | -16/+9 | |
I suspect that using the same configuration across both C and C++ is starting to wear a bit thin, but this will do for now. | |||||
2022-04-23 | Relax redisplay test to pass on MacOS 11.6 | David Robillard | 1 | -4/+6 | |
Since upgrading to 11.6 (on an Intel Macbook), this test no longer seems to pass. It's unfortunate to not test that small redisplay requests only result in small exposures, but I don't think the previous strict check reflects reality. Exposing more than the application requested, for whatever reason, is a natural part of window environments, so I don't know if this is something that can be reliably unit tested. | |||||
2022-04-23 | Add descriptive verbose output to test_redisplay | David Robillard | 1 | -8/+21 | |
2022-04-23 | Move reserved platform defines from code to build system | David Robillard | 8 | -22/+10 | |
Numerous things warn about this, and it's generally a bad idea to put these in the code since it can result in incompatibly compiled code being linked together. Unfortunately this makes building manually (without the build system) more fiddly, but such is life. | |||||
2022-04-23 | Suppress warnings when building with clang on Windows | David Robillard | 2 | -0/+8 | |
2022-04-23 | Build C++ components as C++14 | David Robillard | 1 | -1/+1 | |
2022-04-23 | Windows: Remove redundant view size assignment | David Robillard | 1 | -5/+0 | |
2022-04-23 | Windows: Avoid initialization warning | David Robillard | 1 | -1/+2 | |
2022-04-23 | Windows: Remove pointless const qualifiers | David Robillard | 1 | -4/+1 | |
2022-04-23 | Windows: Avoid else after return | David Robillard | 2 | -5/+15 | |
2022-04-23 | Strengthen MSVC warnings | David Robillard | 3 | -6/+4 | |
2022-04-21 | Fix MacOS build | David Robillard | 1 | -0/+6 | |
2022-04-21 | Update README | David Robillard | 1 | -3/+7 | |
2022-04-21 | Improve error handling | David Robillard | 9 | -79/+140 | |
2022-04-21 | Remove unused return type from backend destroy methods | David Robillard | 11 | -35/+24 | |
Since this is essentially a destructor, I don't think there's anything really useful to do with errors here, and in practice no backends actually used it anyway. | |||||
2022-04-21 | Move attribute definitions to a separate header | David Robillard | 4 | -12/+21 | |
2022-04-21 | Fix private include guards | David Robillard | 5 | -15/+15 | |
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. |