aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-01-08Windows: Fix OpenGL profile hint interpretationDavid Robillard1-2/+2
2023-01-08Use ensureHint pattern everywhereDavid Robillard6-60/+48
2023-01-08Add PUGL_SAMPLE_BUFFERS hintDavid Robillard8-14/+30
Towards a more direct and explicit mapping to platform hints, and more consistent behaviour across platforms. OpenGL applications are generally expected to be explicit about hints like this.
2023-01-08Add missing default hintDavid Robillard1-0/+1
2023-01-08Gracefully handle out of range hintsDavid Robillard2-3/+17
2023-01-08Update READMEDavid Robillard1-2/+6
2023-01-08Remove branch cloneDavid Robillard1-2/+0
2023-01-08X11: Add support for _NET_WM_PING protocolDavid Robillard2-14/+56
This is mainly used to allow the window manager to close locked or otherwise misbehaving windows. The PID and hostname properties are both required to properly support this, but may also be used for other things.
2023-01-08Add support for raising windowsDavid Robillard29-37/+119
2023-01-07Replace map/unmap events with more expressive configure eventsDavid Robillard14-112/+51
2023-01-07Add support for special view types and stylesDavid Robillard16-144/+961
2023-01-07Support closing views by sending a close eventDavid Robillard4-4/+37
2023-01-07Rename create/destroy events to realize/unrealizeDavid Robillard16-100/+99
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-07Replace visible flag with a more descriptive view "stage"David Robillard5-19/+46
2023-01-07MacOS: Consistently use the same flags for ObjC and ObjC++David Robillard3-6/+13
The implementation only uses ObjC, but this is mistake-prone, it's better to just have things set up properly for all of the languages that are present in the build at all.
2023-01-06MacOS: Fix repeated realize/unrealizeDavid Robillard1-1/+0
2023-01-04Add puglUnrealize()David Robillard7-41/+157
2023-01-04Clean up licensing metadataDavid Robillard33-7/+103
2023-01-04Improve reliability of remote copy/paste testDavid Robillard1-0/+2
Things tend to stall when the two windows exactly overlap each other, which is itself probably a bug of some sort, but that's an unusual situation and not what this test is about.
2023-01-03Use globally unique names for documentation groupsDavid Robillard13-43/+43
This becomes important when the documentation is included in larger projects.
2023-01-02Reorganize documentationDavid Robillard2-129/+180
2023-01-02Move attributes to a separate headerDavid Robillard4-46/+63
2023-01-02X11: Create Cairo drawing surface with precisely the needed sizeDavid Robillard1-12/+11
This decouples drawing from the view frame, which can be out of sync with the drawing that is currently happening.
2023-01-02X11: Factor out getCurrentConfigurationDavid Robillard1-11/+18
2023-01-02Ensure that views have an event handler setDavid Robillard1-0/+5
Otherwise, there will be crashes in the implementation.
2023-01-02Factor out common realize checks and initializationDavid Robillard5-44/+49
2023-01-02Fix PUGL_NUM_CURSORSDavid Robillard2-4/+2
2023-01-02Clean up whitespaceDavid Robillard1-6/+4
2023-01-02Remove dead codeDavid Robillard1-5/+0
2022-12-27Fix inconsistent initial window positioning across platformsDavid Robillard3-9/+17
2022-12-27Set transient parent when views are realized if necessaryDavid Robillard3-1/+8
2022-12-27Fail to set transient parent of views with a parent windowDavid Robillard2-0/+8
2022-12-27MacOS: Fix timestamps on systems with different clock ratesDavid Robillard2-5/+14
This seems to be a thing at least on MacOS 12 on M1.
2022-12-27MacOS: Use appleframeworks meson dependenciesMichael Fisher1-13/+7
2022-12-24Fix weird/inconsistent control flow in puglSetSize()David Robillard1-3/+2
I'm not really sure about directly updating the frame like this - or whether these fields should even exist in the first place (it's questionable whether the view is "really" the new size until the configure process is complete) - but regardless, the same pattern should probably be used for both size and position. "Probably", because touching anything like this tends to break some situation or another somewhere, but such is life.
2022-12-24Fix 32-bit MinGW CI rowDavid Robillard1-0/+2
2022-12-24Add diagonal cursorsfalkTX5-18/+41
2022-11-25Build C++ documentation on CIDavid Robillard1-1/+1
2022-11-24Arrange CI rows more logicallyDavid Robillard1-74/+53
This is organized in a way that hopefully makes more sense when viewed in a report. It also puts "basic" cases first, to ensure that tedious configuration issues are caught as early as possible when running rows sequentially for local testing.
2022-11-24Add docs_cpp configuration option and disable it by defaultDavid Robillard2-1/+7
Doxygen is now giving parse errors in most places where @copydoc is used. Unfortunately, this setup for bindings with documentation is generally really flaky, and I probably need to figure something else out anyway.
2022-11-24Trim redundant warning flags enabled by -Wextra and -WpedanticDavid Robillard1-27/+3
2022-11-24Fix double check for warning flagsDavid Robillard1-18/+18
2022-11-24Use 0BSD for trivial "public domain intent" thingsDavid Robillard24-143/+34
2022-11-05Fix meson warnings on MacOSDavid Robillard2-2/+2
2022-10-30Fix Fedora row on CIDavid Robillard1-0/+1
... which was added accidentally in an unrelated commit. Oops.
2022-10-30Add malloc attributes to allocating functionsDavid Robillard3-3/+10
These inform the compiler that the returned value doesn't alias with anything. Also somewhat handy as pseudo-documentation.
2022-10-30Windows: Fix missing field initializers when building as C++falkTX1-4/+14
2022-10-07Fix MacOS buildDavid Robillard1-1/+1
2022-10-07Suppress MinGW warningsDavid Robillard2-1/+9
2022-10-07Use uppercase integer literal suffixesDavid Robillard22-115/+127