aboutsummaryrefslogtreecommitdiff
path: root/wscript
AgeCommit message (Collapse)Author
2020-10-14Suppress fewer MSVC warnings in header testDavid Robillard
2020-10-14Suppress MSVC warnings in header compile testDavid Robillard
2020-10-14Explicitly declare all special methodsDavid Robillard
2020-10-04Suppress warnings in release buildsDavid Robillard
2020-10-04Add refresh rate hintDavid Robillard
2020-10-04Add puglGetViewHint()David Robillard
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 Robillard
2020-07-05Ensure that all API headers are warning-freeDavid Robillard
2020-07-05Update autowafDavid Robillard
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-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-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-02Strengthen lint targetDavid Robillard
2020-07-02Fix check for clangDavid Robillard
2020-06-13Add puglSetCursor()Jean Pierre Cimalando
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 flake8 warningsDavid Robillard
2020-04-19Set library environment for building against local PuglDavid Robillard
2020-04-19Disable pedantic warnings only for shader demo (for GLAD)David Robillard
2020-04-19Set library flags on targets only instead of globallyDavid Robillard
2020-04-19Clean up Mac flagsDavid Robillard
2020-04-19Only set custom warnings flags with ultra-strict configurationDavid Robillard
2020-04-19Add major version to library namesDavid Robillard
2020-04-04Shader Demo: Support both GL 3 and 4David Robillard
2020-04-03Rewrite C++ bindingsDavid Robillard
2020-04-02Strengthen warningsDavid Robillard
2020-03-31Remove unused configuration optionDavid Robillard
2020-03-16Add timer eventsDavid Robillard
2020-03-15Unify event loop functions as puglUpdate()David Robillard
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 Robillard
2020-03-14Add logging APIDavid Robillard
2020-03-13Strengthen warningsDavid Robillard
2020-03-09Add test for redisplays posted in the event loopDavid Robillard
2020-03-09Add test for basic view creation, exposure, and destructionDavid Robillard
2020-03-09Use autowaf.build_dox to build documentationDavid Robillard
2020-03-08Add multiple window exampleDavid Robillard
2020-03-08Move demo programs to examples directoryDavid Robillard
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 Robillard
2020-03-08Cleanup: Fix pyflake warningsDavid Robillard
2020-03-02Strengthen ultra-strict warnings with clangDavid Robillard
2020-03-02Omit deprecated implementations with PUGL_DISABLE_DEPRECATEDDavid Robillard
2019-12-11GL3 Test: Move shaders to separate filesDavid Robillard
2019-11-21Cleanup: Fix flake8 warningsDavid Robillard
2019-11-21Check explicitly for GLX and only link against the necessary libraryDavid Robillard
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 Robillard
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 Robillard
2019-11-09Add clang-tidy file and update lint targetDavid Robillard