aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-10-16Windows: Return backend errors directlyJordan Halase1-4/+4
2020-10-16Set a default size in pugl_print_eventsJordan Halase1-0/+1
2020-10-16Show errors in example programs consistentlyDavid Robillard1-2/+3
2020-10-16Only build header warning test in strict modeDavid Robillard1-38/+40
2020-10-16Add const attribute to backend accessorsDavid Robillard4-4/+4
2020-10-15Use unsigned constants in enum definitionsDavid Robillard1-5/+5
2020-10-14Suppress fewer MSVC warnings in header testDavid Robillard1-4/+0
2020-10-14Suppress IWYU warnings in build testsDavid Robillard2-14/+14
2020-10-14Suppress MSVC warnings in header compile testDavid Robillard1-0/+12
2020-10-14Explicitly declare all special methodsDavid Robillard3-4/+26
2020-10-04Move cube vertex data to the file where it is actually usedDavid Robillard2-49/+49
2020-10-04Fix potentially short string bufferDavid Robillard1-1/+1
2020-10-04Suppress warnings in release buildsDavid Robillard1-1/+8
2020-10-04Update autowafDavid Robillard1-0/+0
2020-10-04Use refresh rate to better drive example event loopDavid Robillard1-2/+33
2020-10-04Add refresh rate hintDavid Robillard11-10/+57
2020-10-04Print all view hints in shader demo and hint testsDavid Robillard4-0/+56
2020-10-04Add puglGetViewHint()David Robillard12-8/+310
This allows retrieving properties of the view that may be needed, such as the actual bit depth (which may vary from the suggested depth provided as a hint).
2020-10-03Set defaults to 32-bit RGBA with no depth or stencil bufferDavid Robillard1-6/+6
2020-10-03Store real double buffer value in hint and remove separate variableDavid Robillard1-5/+2
2020-10-03Refuse to set hints to PUGL_DONT_CARE when it doesn't make senseDavid Robillard1-0/+13
2020-10-03Change FPS print format in demos for consistency with other outputDavid Robillard1-3/+3
2020-09-21Fix library names in pkg-config filesDavid Robillard1-0/+1
2020-09-19Call glXSwapIntervalEXT inside active contextHanspeter Portner1-0/+2
Some NVIDIA cards using the proprietary drivers (e.g. GeForce GTX 460/550) need that.
2020-09-19Move puglX11GlEnter() and puglX11GlLeave() above puglX11GlCreate()David Robillard1-22/+22
2020-09-19Fix clang-tidy warningsDavid Robillard2-4/+16
2020-07-05Improve struct packingDavid Robillard11-25/+25
Unfortunately there is no warning like Wpadded but only for internal padding, so that can't be turned on, but if there was, after this commit the build would be clean with it. Maybe some day...
2020-07-05Ensure that all API headers are warning-freeDavid Robillard3-0/+101
2020-07-05Update autowafDavid Robillard2-8/+5
2020-07-05Move stub backend function implementations to a detail headerDavid Robillard10-49/+83
2020-07-05Replace isHint bool with a flagDavid Robillard4-5/+5
I don't have any particular future use case in mind, but I think the concept makes sense for general events and it seems it could be useful for things like gestures as well. Also fixes another padding warning in the API.
2020-07-05Add scroll direction fieldDavid Robillard5-28/+96
2020-07-05Print crossing mode of enter and leave eventsDavid Robillard1-4/+6
2020-07-05Replace grab flag in PuglEventFocus with crossing modeDavid Robillard4-10/+30
2020-07-05Remove redundant focus field from PuglEventMotionDavid Robillard2-2/+0
2020-07-05Remove count field from PuglEventExposeDavid Robillard5-8/+3
This was never particularly useful, and it makes no sense with the new drawing model, even on X11, so its presence just adds confusion. So, remove it, which also conveniently fixes a padding warning in PuglEventExpose.
2020-07-04Use more precise warning flagsDavid Robillard1-8/+16
This only enables warnings for C or C++ as necessary, to minimize the nubmer of suppressed warnings.
2020-07-04Only enable MSVC C++ warnings when compiling C++ codeDavid Robillard1-6/+8
2020-07-04Clean up and strengthen warning flagsDavid Robillard2-35/+63
2020-07-04Windows: Fix old-style declaration warningDavid Robillard2-3/+4
2020-07-04Windows: Remove unused constantsDavid Robillard1-2/+0
2020-07-04X11: Fix internal timer ID type to match public interfaceDavid Robillard1-1/+1
2020-07-04X11: Fix integer to enum conversion warningDavid Robillard1-1/+2
2020-07-04X11: Fix sign conversion warningDavid Robillard1-4/+4
2020-07-04Fix publicly accessible non-virtual destructor warningDavid Robillard1-1/+4
2020-07-02Enable Werror on CIDavid Robillard1-14/+14
2020-07-02Use ultra-strict warnings on CIDavid Robillard1-14/+14
2020-07-02Mac: Disable Wno-direct-ivar-accessDavid Robillard1-1/+2
This should probably be fixed as well, but that seems like quite a boilerplate project, so just disable it for now.
2020-07-02Mac: Fix implicit conversion warningsDavid Robillard2-4/+4
2020-07-02Mac: Declare instance variables in implementationDavid Robillard5-28/+25
Declaring instance variables in interfaces is deprecated, according to Wobjc-interface-vars (Apple clang version 11.0.0).