Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-08-31 | Add include_directories to pugl_dep | Michael Fisher | 10 | -10/+12 | |
2022-08-31 | Fix non-strict MacOS build | David Robillard | 1 | -1/+1 | |
2022-07-16 | Fix missing field initializers when building as C++ | falkTX | 1 | -3/+3 | |
2022-07-07 | Fix documentation build as a subproject | David Robillard | 3 | -13/+9 | |
2022-07-07 | Fix outdated reference in documentation | David Robillard | 1 | -2/+2 | |
2022-06-28 | Fix MinGW build | David Robillard | 1 | -0/+1 | |
2022-06-28 | Strengthen global GCC warnings | David Robillard | 1 | -1/+0 | |
2022-06-28 | Simplify clang-tidy configuration | David Robillard | 4 | -12/+1 | |
2022-06-28 | Clean up meson configuration | David Robillard | 3 | -12/+36 | |
2022-06-17 | Call XrmInitialize() | David Robillard | 1 | -0/+1 | |
This must be called before any other Xrm functions are used. | |||||
2022-06-17 | Remove redundant assignment | David Robillard | 1 | -1/+0 | |
2022-06-08 | Use consistent terminology for native views | David Robillard | 9 | -13/+22 | |
On MacOS in particular, views and windows are entirely different concepts, so confusing them... confuses things. This was the last holdover in the API that used the old "native window". | |||||
2022-06-08 | Consolidate common deprecated API implementation | David Robillard | 2 | -40/+20 | |
2022-06-08 | Separate platform.h from internal.h | David Robillard | 7 | -34/+58 | |
This makes the internal header structure match the "kinds" of definition inside Pugl: common implementations of public API, things available internally to platform implementations, and things the platform must define. | |||||
2022-06-08 | Separate private and public function implementations | David Robillard | 14 | -255/+274 | |
2022-06-08 | Fix potential null pointer dereference | David Robillard | 1 | -5/+5 | |
According to clang-tidy anyway, I'm not seeing it. | |||||
2022-06-08 | Fox documentation formatting | David Robillard | 1 | -1/+1 | |
2022-06-07 | Use a consistent scheme for enum sizes | David Robillard | 5 | -9/+14 | |
2022-06-07 | Remove unnecessary forward-compatibility code | David Robillard | 3 | -21/+3 | |
2022-06-07 | Make puglRealize() always gracefully fail with a bad configuration | David Robillard | 2 | -1/+10 | |
2022-06-07 | Fix broken links in documentation | David Robillard | 1 | -2/+2 | |
2022-06-07 | X11: Simplify dispatchX11Events() | David Robillard | 1 | -31/+44 | |
2022-06-07 | X11: Flush before returning from puglRealize() | David Robillard | 1 | -0/+8 | |
This avoids bugs in plugins, because otherwise it's possible that size hints are not available when the host embeds the UI. | |||||
2022-06-03 | Fix Cairo warnings on MacOS | David Robillard | 2 | -1/+2 | |
2022-06-03 | X11: Fix crash when input context is unavailable due to locales | Pace Willisson | 1 | -11/+17 | |
Calling X*ICFocus on NULL segfaults. This can happen if XCreateIC failed, for example due to missing locales on minimal Docker images. | |||||
2022-05-29 | Make meson configuration more modular | David Robillard | 4 | -133/+166 | |
2022-05-28 | Update documentation | David Robillard | 5 | -66/+69 | |
2022-05-28 | Clean up and strengthen warning flags | David Robillard | 8 | -196/+304 | |
2022-05-28 | Remove redundant program checks | David Robillard | 2 | -4/+0 | |
2022-05-28 | Fix View::acceptOffer parameter type | David Robillard | 1 | -1/+1 | |
2022-05-28 | Omit cursor_names if XCursor is not available | David Robillard | 1 | -0/+2 | |
This avoids a Wunused-const-variable warning with GCC. | |||||
2022-05-28 | Avoid implicit conversions | David Robillard | 1 | -4/+3 | |
2022-05-23 | Add rich clipboard support | David Robillard | 19 | -201/+946 | |
This implements a more powerful protocol for working with clipboards, which supports datatype negotiation, and fixes various issues by mapping more directly to how things work on X11. | |||||
2022-05-22 | Fix whitespace | David Robillard | 1 | -1/+1 | |
2022-05-22 | Factor out pugl_clipboard_demo example program | David Robillard | 5 | -14/+236 | |
This is a simpler example than pugl_embed_demo that demonstrates clipboard functionality without the complexity of embedded views. | |||||
2022-05-21 | Add puglGetScaleFactor() | David Robillard | 6 | -4/+106 | |
2022-05-21 | Windows: Send configure events when frame moves or resizes | David Robillard | 1 | -0/+3 | |
2022-05-21 | Add puglSetPosition() and puglSetSize() | David Robillard | 6 | -63/+239 | |
These are redundant with puglSetFrame in a sense, but allow setting the size of a view without the position, or vice-versa. This API also maps more nicely to Wayland, where applications can not position themselves (but can resize). | |||||
2022-05-21 | Use consistent integer types for view positions and sizes | David Robillard | 12 | -116/+147 | |
Actual window sizes and positions fit easily in a 16-bit integer. So, we use that in "representation contexts" like events. This makes structures smaller, and allows the values to be converted to float, double, or integer without casting (since any int16_t or uint16_t value can fit in them without loss). Setter APIs use native integers for convenience, to avoid casting hassles when doing arithmetic. Ranges are checked at runtime. | |||||
2022-05-21 | Add a uniform API for setting size hints | David Robillard | 33 | -313/+356 | |
This collapses many functions into one, which makes the API more easily extensible and reduces code size. | |||||
2022-05-21 | X11: Remove redundant display member | David Robillard | 4 | -47/+52 | |
2022-05-21 | Rename PUGL_UNSUPPORTED_TYPE to be more generic | David Robillard | 8 | -12/+12 | |
2022-05-21 | MacOS: Specify maximum size constraint on draw view | David Robillard | 1 | -15/+37 | |
I am not sure why the minimum was only specified before, but it seems like an oversight. | |||||
2022-05-21 | X11: Use cursor themes | David Robillard | 2 | -29/+42 | |
This changes to getting cursors by name from the cursor theme, which makes the cursor match the ones used in modern desktop environments. As far as I can tell, there is no real standard for names, these ones seem to work for me in GNOME, KDE, and Xfce. I am not sure about the compatibility concerns here, but X11 without Xcursor themes strikes me as either too esoteric or too ancient to worry about, especially since cursor switching isn't critical functionality anyway. | |||||
2022-05-21 | Avoid setting cursor on realization | David Robillard | 1 | -4/+0 | |
This avoids issues when the default X11 cursor isn't the expected "default" of the environment, for example with Plasma. A real application that changes the cursor needs to do so consistently on mouse enter and leave events anyway. | |||||
2022-05-21 | Set a title for all test windows | David Robillard | 5 | -0/+6 | |
2022-05-21 | Fix build of examples that use a stub backend | David Robillard | 1 | -3/+21 | |
2022-05-20 | Windows: Set window class on local module | David Robillard | 1 | -2/+10 | |
This avoids potential clashes between multiple copies of Pugl statically compiled into several modules. | |||||
2022-05-20 | Add missing license metadata | David Robillard | 1 | -1/+1 | |
2022-05-20 | Use consistent class names and titles in tests and examples | David Robillard | 26 | -32/+32 | |