aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-03Store real double buffer value in hint and remove separate variableDavid Robillard
2020-10-03Refuse to set hints to PUGL_DONT_CARE when it doesn't make senseDavid Robillard
2020-10-03Change FPS print format in demos for consistency with other outputDavid Robillard
2020-09-21Fix library names in pkg-config filesDavid Robillard
2020-09-19Call glXSwapIntervalEXT inside active contextHanspeter Portner
Some NVIDIA cards using the proprietary drivers (e.g. GeForce GTX 460/550) need that.
2020-09-19Move puglX11GlEnter() and puglX11GlLeave() above puglX11GlCreate()David Robillard
2020-09-19Fix clang-tidy warningsDavid Robillard
2020-07-05Improve struct packingDavid Robillard
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 Robillard
2020-07-05Update autowafDavid Robillard
2020-07-05Move stub backend function implementations to a detail headerDavid Robillard
2020-07-05Replace isHint bool with a flagDavid Robillard
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 Robillard
2020-07-05Print crossing mode of enter and leave eventsDavid Robillard
2020-07-05Replace grab flag in PuglEventFocus with crossing modeDavid Robillard
2020-07-05Remove redundant focus field from PuglEventMotionDavid Robillard
2020-07-05Remove count field from PuglEventExposeDavid Robillard
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 Robillard
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 Robillard
2020-07-04Clean up and strengthen warning flagsDavid Robillard
2020-07-04Windows: Fix old-style declaration warningDavid Robillard
2020-07-04Windows: Remove unused constantsDavid Robillard
2020-07-04X11: Fix internal timer ID type to match public interfaceDavid Robillard
2020-07-04X11: Fix integer to enum conversion warningDavid Robillard
2020-07-04X11: Fix sign conversion warningDavid Robillard
2020-07-04Fix publicly accessible non-virtual destructor warningDavid Robillard
2020-07-02Enable Werror on CIDavid Robillard
2020-07-02Use ultra-strict warnings on CIDavid Robillard
2020-07-02Mac: Disable Wno-direct-ivar-accessDavid Robillard
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 Robillard
2020-07-02Mac: Declare instance variables in implementationDavid Robillard
Declaring instance variables in interfaces is deprecated, according to Wobjc-interface-vars (Apple clang version 11.0.0).
2020-07-02Fix werror with clang and deprecation warnings on MacDavid Robillard
2020-07-02Disable function type cast warnings with MinGWDavid Robillard
Unfortunately doing this is necessary to use modern GL on Windows.
2020-07-02Fix cast alignment warnings on 32-bit ARMDavid Robillard
2020-07-02Strengthen lint targetDavid Robillard
2020-07-02Fix check for clangDavid Robillard
2020-06-13Mac: Only create an AutoreleasePool for programsDavid Robillard
Avoids crashes in some plugin scenarios when draining the AutoreleasePool. This is still probably not ideal, more fine-grained use of auto release facilities might be more appropriate here.
2020-06-13Add puglSetCursor()Jean Pierre Cimalando
2020-06-13Fix mouse position of events on high resolution MacOSDavid Robillard
2020-06-13Disable implicit-fallthrough warning with clangDavid Robillard
Unfortunately clang does not support the comment syntax (but instead requires non-portable attribute gunk), so just disable it since this is covered by GCC anyway.
2020-06-13Cleanup: Fix implicit conversion warnings with clangDavid Robillard
2020-06-13Cleanup: Fix uninitialised variablesDavid Robillard
2020-06-13Cleanup: Fix flake8 warningsDavid Robillard
2020-06-08Add editorconfig fileJean Pierre Cimalando
See https://editorconfig.org/
2020-06-08Windows: Only call SwapBuffers with OpenGLJean Pierre Cimalando
2020-06-08Windows: Fix maximum sizeDavid Robillard
2020-05-16Add default and maximum sizeDavid Robillard
2020-05-16Fix indentationDavid Robillard
2020-05-16Use line comments where appropriateDavid Robillard
2020-05-16Use email address in copyright headersDavid Robillard
Not really sure why I used a web link here (maybe because it's more stable), but this is more conventional.