aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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).
2020-07-02Fix werror with clang and deprecation warnings on MacDavid Robillard1-5/+7
2020-07-02Disable function type cast warnings with MinGWDavid Robillard1-0/+2
Unfortunately doing this is necessary to use modern GL on Windows.
2020-07-02Fix cast alignment warnings on 32-bit ARMDavid Robillard2-4/+8
2020-07-02Strengthen lint targetDavid Robillard1-19/+66
2020-07-02Fix check for clangDavid Robillard1-1/+1
2020-06-13Mac: Only create an AutoreleasePool for programsDavid Robillard1-5/+10
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 Cimalando11-4/+397
2020-06-13Fix mouse position of events on high resolution MacOSDavid Robillard1-1/+11
2020-06-13Disable implicit-fallthrough warning with clangDavid Robillard1-0/+1
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 Robillard3-9/+11
2020-06-13Cleanup: Fix uninitialised variablesDavid Robillard3-10/+10
2020-06-13Cleanup: Fix flake8 warningsDavid Robillard1-3/+6
2020-06-08Add editorconfig fileJean Pierre Cimalando1-0/+18
See https://editorconfig.org/
2020-06-08Windows: Only call SwapBuffers with OpenGLJean Pierre Cimalando2-2/+0
2020-06-08Windows: Fix maximum sizeDavid Robillard2-2/+5
2020-05-16Add default and maximum sizeDavid Robillard17-50/+206
2020-05-16Fix indentationDavid Robillard1-3/+3
2020-05-16Use line comments where appropriateDavid Robillard5-31/+31
2020-05-16Use email address in copyright headersDavid Robillard43-43/+43
Not really sure why I used a web link here (maybe because it's more stable), but this is more conventional.
2020-05-16Fix file documentationDavid Robillard35-48/+82
2020-05-16Remove deprecated Doxygen configuration valuesDavid Robillard1-7/+1
2020-05-16Fix redisplay test on MacOSDavid Robillard1-3/+9
This does two things: posts the redisplay when an update event is received (which is correct pattern for this now), and uses larger even numbers for the redisplay region so they make it through the pixel/point conversion process without loss.
2020-05-16Make show/hide test tolerant to multiple exposuresDavid Robillard1-1/+1
This happens on MacOS.
2020-04-22C++ Demo: Fix sync optionDavid Robillard1-1/+1
2020-04-22C++ Demo: Fix help optionDavid Robillard1-0/+4
2020-04-19Set library environment for building against local PuglDavid Robillard2-1/+12
2020-04-19Disable pedantic warnings only for shader demo (for GLAD)David Robillard1-1/+4