Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-01-11 | Raise the initial display of example windows | David Robillard | 9 | -11/+11 | |
This is the standard behaviour for applications. | |||||
2023-01-10 | Add PUGL_CURSOR_ALL_SCROLL | David Robillard | 1 | -1/+1 | |
2023-01-08 | Add support for OpenGL ES 3.2 in pugl_shader_demo | David Robillard | 9 | -38/+65 | |
2023-01-08 | Update example GLAD loader and add OpenGL ES 3.2 | David Robillard | 2 | -9/+1280 | |
2023-01-08 | Prepare OpenGL context flags for OpenGL ES support | David Robillard | 5 | -7/+8 | |
2023-01-08 | Add support for raising windows | David Robillard | 11 | -13/+13 | |
2023-01-07 | Add support for special view types and styles | David Robillard | 6 | -4/+290 | |
2023-01-07 | Rename create/destroy events to realize/unrealize | David Robillard | 1 | -4/+4 | |
As evidence that this was confusing, the documentation for these was an outright lie, and I've burned quite a bit of time in the past few days trying to rework things based around that flawed understanding. These names make it clear what these events actually are. If we need actual create/destroy events with a broader scope, they'll have to be added, but I suspect those aren't actually useful anyway. | |||||
2023-01-04 | Clean up licensing metadata | David Robillard | 22 | -4/+58 | |
2023-01-02 | Clean up whitespace | David Robillard | 1 | -6/+4 | |
2022-12-24 | Add diagonal cursors | falkTX | 1 | -2/+2 | |
2022-11-24 | Use 0BSD for trivial "public domain intent" things | David Robillard | 4 | -4/+4 | |
2022-10-07 | Use uppercase integer literal suffixes | David Robillard | 6 | -52/+52 | |
2022-10-07 | Avoid C-style casts in C++ code | David Robillard | 3 | -7/+6 | |
2022-10-07 | Simplify clang-tidy configuration | David Robillard | 1 | -8/+1 | |
2022-10-07 | Suppress new warnings in clang-tidy 14 | David Robillard | 1 | -0/+3 | |
2022-10-07 | Fix whitespace | David Robillard | 1 | -12/+12 | |
Support for deleted method syntax has improved in clang-format 14. | |||||
2022-10-07 | Clean up meson definitions | David Robillard | 12 | -73/+106 | |
2022-09-28 | Handle fread() errors in examples | David Robillard | 2 | -2/+9 | |
2022-08-31 | Add include_directories to pugl_dep | Michael Fisher | 9 | -9/+9 | |
2022-06-28 | Simplify clang-tidy configuration | David Robillard | 1 | -5/+1 | |
2022-06-08 | Use consistent terminology for native views | David Robillard | 2 | -2/+2 | |
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-03 | Fix Cairo warnings on MacOS | David Robillard | 1 | -1/+1 | |
2022-05-28 | Update documentation | David Robillard | 1 | -0/+31 | |
2022-05-28 | Clean up and strengthen warning flags | David Robillard | 3 | -9/+14 | |
2022-05-28 | Avoid implicit conversions | David Robillard | 1 | -4/+3 | |
2022-05-23 | Add rich clipboard support | David Robillard | 1 | -4/+46 | |
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 | 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 puglSetPosition() and puglSetSize() | David Robillard | 2 | -35/+22 | |
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 | 4 | -30/+34 | |
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 | 9 | -36/+36 | |
This collapses many functions into one, which makes the API more easily extensible and reduces code size. | |||||
2022-05-21 | Fix build of examples that use a stub backend | David Robillard | 1 | -3/+21 | |
2022-05-20 | Use consistent class names and titles in tests and examples | David Robillard | 9 | -13/+13 | |
2022-05-20 | MacOS: Build examples as application bundles | David Robillard | 21 | -74/+299 | |
This is required on MacOS to make the examples usable. When run as bare programs, they don't show up as normal windows or receive keyboard input. | |||||
2022-04-23 | Move reserved platform defines from code to build system | David Robillard | 2 | -9/+9 | |
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-03-14 | Fix warning in VS2019 | David Robillard | 1 | -1/+3 | |
2021-12-17 | Remove unused struct definition | David Robillard | 1 | -4/+0 | |
2021-12-17 | Pass const references where appropriate | David Robillard | 1 | -7/+8 | |
2021-12-17 | Adopt REUSE machine-readable licensing standard | David Robillard | 22 | -241/+51 | |
See https://reuse.software/ for details. | |||||
2021-12-17 | Suppress new warnings in clang-tidy 13 | David Robillard | 1 | -1/+2 | |
2021-12-17 | Fix spelling errors | David Robillard | 1 | -1/+1 | |
2021-12-16 | Rename puglSetTransientFor to puglSetTransientParent | David Robillard | 1 | -2/+2 | |
2021-08-28 | Suppress new clang-tidy warnings | David Robillard | 1 | -0/+4 | |
2021-05-28 | Remove static downcasts in C++ bindings | David Robillard | 1 | -2/+1 | |
2021-05-28 | Split up warning suppression flags more finely | David Robillard | 1 | -6/+51 | |
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-25 | Rename event structs in a more readable style | David Robillard | 3 | -3/+3 | |
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-24 | Add fancy constructor for C++ events and wrap puglSendEvent() | David Robillard | 1 | -1/+6 | |
2021-05-24 | Consistently refer to C++ as "cpp" and fix installation | David Robillard | 4 | -6/+6 | |
2021-05-08 | Send unmap/map events when the view is minimized/restored | David Robillard | 1 | -26/+36 | |
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. |