aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
AgeCommit message (Collapse)AuthorFilesLines
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 Robillard1-35/+63
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-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-02Strengthen lint targetDavid Robillard1-19/+66
2020-07-02Fix check for clangDavid Robillard1-1/+1
2020-06-13Add puglSetCursor()Jean Pierre Cimalando1-1/+8
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 flake8 warningsDavid Robillard1-3/+6
2020-04-19Set library environment for building against local PuglDavid Robillard1-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-04Shader Demo: Support both GL 3 and 4David Robillard1-2/+3
2020-04-03Rewrite C++ bindingsDavid Robillard1-10/+40
2020-04-02Strengthen warningsDavid Robillard1-1/+0
2020-03-31Remove unused configuration optionDavid Robillard1-2/+1
2020-03-16Add timer eventsDavid Robillard1-2/+13
2020-03-15Unify event loop functions as puglUpdate()David Robillard1-1/+1
The previous separation between polling and dispatching was a lie, especially on MacOS where it is impossible to only poll for events without dispatching anything. Providing such an API is misleading, and problematic in various other ways. So, merge them into a single puglUpdate() function which can do the right thing on all platforms. This also adds the behaviour of actually processing all events in the given time interval, which is almost always what clients actually want to do when using a positive timeout (naively doing this before caused terrible input lag).
2020-03-14Don't generate unused config headerDavid Robillard1-1/+0
2020-03-14Add logging APIDavid Robillard1-6/+1
2020-03-13Strengthen warningsDavid Robillard1-4/+5
2020-03-09Add test for redisplays posted in the event loopDavid Robillard1-1/+1
2020-03-09Add test for basic view creation, exposure, and destructionDavid Robillard1-1/+19
2020-03-09Use autowaf.build_dox to build documentationDavid Robillard1-9/+1
2020-03-08Add multiple window exampleDavid Robillard1-0/+2
2020-03-08Move demo programs to examples directoryDavid Robillard1-13/+14
These are not really tests, but examples or demos, which has caused some confusion in the past. So, move them, and make room for actual tests.
2020-03-08Mac: Fix stub backendDavid Robillard1-0/+4
2020-03-08Cleanup: Fix pyflake warningsDavid Robillard1-4/+5
2020-03-02Strengthen ultra-strict warnings with clangDavid Robillard1-0/+21
2020-03-02Omit deprecated implementations with PUGL_DISABLE_DEPRECATEDDavid Robillard1-2/+2
2019-12-11GL3 Test: Move shaders to separate filesDavid Robillard1-0/+7
2019-11-21Cleanup: Fix flake8 warningsDavid Robillard1-7/+7
2019-11-21Check explicitly for GLX and only link against the necessary libraryDavid Robillard1-2/+10
It turns out that on some systems GLX is implemented in libGLX (which brings in only libGLdispatch), while on others it is implemented in libGL.
2019-11-21X11: Remove libGL dependency from GL backendDavid Robillard1-1/+1
This was the only use of actual GL in the backend, and I'm relatively sure this flush is pointless anyway. If, for some bizarre reason, anyone really wants to run without double buffers, they are always free to flush themselves.
2019-11-21Clean up configuration codeDavid Robillard1-48/+58
2019-11-09Add clang-tidy file and update lint targetDavid Robillard1-20/+14
2019-11-03Remove redisplay flag and add puglPostRedisplayRect()David Robillard1-0/+1
2019-11-03Add pugl_print_events test programDavid Robillard1-0/+2
2019-09-07Improve documentation and use LV2 documentation styleDavid Robillard1-4/+3
2019-09-07Add OpenGL 3 test programDavid Robillard1-5/+11
2019-08-03Add missing link flag to pkg-config filesDavid Robillard1-1/+1
2019-07-29Add animation to Cairo test programDavid Robillard1-1/+2
Mainly to be able to test backends, this is still a silly program.
2019-07-29Build separate librariesDavid Robillard1-81/+146
This builds separate libraries for the core and backends, and installs different pkg-config files for different configurations.
2019-07-29Mac: Separate backends from platform implementationDavid Robillard1-1/+6
2019-07-29Add option to install entire implementation as headersDavid Robillard1-6/+12