aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
AgeCommit message (Collapse)AuthorFilesLines
2020-10-16Only build header warning test in strict modeDavid Robillard1-38/+40
2020-10-14Suppress fewer MSVC warnings in header testDavid Robillard1-4/+0
2020-10-14Suppress MSVC warnings in header compile testDavid Robillard1-0/+12
2020-10-14Explicitly declare all special methodsDavid Robillard1-4/+0
2020-10-04Suppress warnings in release buildsDavid Robillard1-1/+8
2020-10-04Add refresh rate hintDavid Robillard1-5/+12
2020-10-04Add puglGetViewHint()David Robillard1-4/+20
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-09-21Fix library names in pkg-config filesDavid Robillard1-0/+1
2020-07-05Ensure that all API headers are warning-freeDavid Robillard1-0/+31
2020-07-05Update autowafDavid Robillard1-8/+5
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