aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2020-04-19Set library flags on targets only instead of globallyDavid Robillard1-10/+14
2020-04-19Clean up Mac flagsDavid Robillard1-5/+2
2020-04-19Only set custom warnings flags with ultra-strict configurationDavid Robillard1-1/+1
2020-04-19Add major version to library namesDavid Robillard1-2/+2
2020-04-08Remove deprecated pugl_stub_backend.hDavid Robillard1-23/+0
2020-04-08Remove deprecated backend headersDavid Robillard2-46/+0
2020-04-08Mac: Use high-resolution backing surfacesDavid Robillard3-43/+111
2020-04-06Implement puglSetTransientFor() for Mac and WindowsDavid Robillard5-5/+50
2020-04-04Shader Demo: Support both GL 3 and 4David Robillard7-21/+52
2020-04-04Shader Demo: Use a UBODavid Robillard3-9/+23
2020-04-04Shader Demo: Factor out version-dependent GLSL headerDavid Robillard5-13/+17
2020-04-04Shader Demo: Factor out animated rectangle definitionsDavid Robillard2-44/+84
2020-04-04Shader Demo: Explicitly set up alpha blendingDavid Robillard1-1/+2
2020-04-04Fix mismatched printf parameter warningDavid Robillard1-2/+1
Compilers are allowed to choose signed or unsigned for enums, and apparently gcc and c++ make different choices.
2020-04-04Update READMEDavid Robillard1-2/+12
2020-04-03Rewrite C++ bindingsDavid Robillard17-105/+1188
2020-04-03Mac: Use NSMakeRect over CGRectMakeDavid Robillard1-1/+1
Using CGRectMake here apparently doesn't work on older versions of MacOS.
2020-04-03Remove glew.h compatibility headerDavid Robillard1-31/+0
Not sure what the thinking behind this was, glew.h isn't available on MacOS anyway.
2020-04-02Switch to a submodule for autowaf and update to waf 2.0.19David Robillard4-0/+33
2020-04-02Remove waf in preparation for switching to a submoduleDavid Robillard184-41981/+0
Unfortunately this leaves a commit with no build system at all in the history, but some systems do not handle replacing a directory with a submodule in the same commit properly.
2020-04-02Strengthen warningsDavid Robillard5-23/+34
2020-04-02Make puglGetVisible() take a const view argumentDavid Robillard2-2/+2
2020-04-02Make puglSetString() safe to call with equal source and destinationDavid Robillard1-3/+5
This is sometimes used by puglSetWindowTitle() using the existing title.
2020-04-02Add missing includeDavid Robillard1-0/+1
2020-04-01Increase space above field documentation slightlyDavid Robillard1-1/+1
2020-04-01Add types and documentation for all event typesDavid Robillard1-6/+72
These are not necessary since they are just aliases for PuglEventAny, but provide a place to put the documentation, and can make code clearer where a specific event type is known.