Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-03-09 | X11: Only send configure events if something has changed | David Robillard | 1 | -0/+5 | |
2020-03-09 | Add create, destroy, map, and unmap events | David Robillard | 1 | -0/+5 | |
These can be used to do things when a view is created or destroyed, in particular set up the GL context in a more controlled way. Map and unmap events are also added for when views are shown and hidden so application can react to this as well. Towards the deprecation of puglEnterContext() and puglLeaveContext(), which are prone to abuse. squash! Remove client event stuff | |||||
2020-03-08 | Enable double buffering by default | David Robillard | 1 | -1/+1 | |
2020-03-08 | Make PUGL_DONT_CARE the default for PUGL_SWAP_INTERVAL | David Robillard | 1 | -1/+1 | |
2020-03-08 | Add a user data handle to the world | David Robillard | 1 | -0/+12 | |
2020-03-01 | Cleanup: Adjust some code to be more clang-format friendly | David Robillard | 1 | -4/+7 | |
2020-02-18 | Pass expose event to backend enter and leave functions | David Robillard | 1 | -9/+15 | |
This is needed for clipping. Unfortunately, the puglEnterContext() and puglLeaveContext() API was not suitable for this, but this shouldn't matter in user code because it is only used for setup, and is slated for removal anyway. Instead, just call the backend functions directly in the implementation. | |||||
2019-11-09 | Fix various clang-tidy warnings | David Robillard | 1 | -11/+11 | |
2019-11-09 | Add puglStrerror() and improve test program error reporting | David Robillard | 1 | -0/+19 | |
2019-09-16 | Fix memory leak | David Robillard | 1 | -0/+1 | |
2019-09-07 | Clean up error handling | David Robillard | 1 | -1/+1 | |
2019-09-07 | Add clipboard support | David Robillard | 1 | -0/+46 | |
2019-09-03 | Make almost everything return a status | David Robillard | 1 | -3/+6 | |
Prepares the API for proper error handling, even though there isn't any for these functions yet. | |||||
2019-09-03 | Add puglSetWindowTitle() | David Robillard | 1 | -1/+1 | |
2019-09-03 | Rename remaining init functions | David Robillard | 1 | -7/+10 | |
This finishes the removal of the init/set split. While these ones are superficial, the general idea here is to provide general functions that work before or after window creation where possible. This prevents the situation where ever more dynamic counterparts to existing init functions get added over time. | |||||
2019-09-03 | Add puglSetClassName() | David Robillard | 1 | -11/+18 | |
2019-09-03 | Replace puglInitTransientFor() with puglSetTransientFor() | David Robillard | 1 | -6/+0 | |
2019-09-03 | Replace size and aspect ratio init functions with dynamic ones | David Robillard | 1 | -20/+0 | |
2019-09-03 | Move trivial deprecated implementations to header | David Robillard | 1 | -41/+0 | |
Again just makes non-deprecated things easier to read and review, and also cleans up the symbol table. | |||||
2019-09-03 | Add puglGetWorld() | David Robillard | 1 | -0/+6 | |
2019-09-03 | Use consistent naming conventions | David Robillard | 1 | -11/+11 | |
2019-09-03 | Add swap interval hint | David Robillard | 1 | -0/+1 | |
2019-09-03 | Add functions to get and set view size and position | David Robillard | 1 | -9/+13 | |
2019-09-03 | Move puglGetTime() to PuglWorld | David Robillard | 1 | -1/+2 | |
2019-09-03 | Add PuglWorld | David Robillard | 1 | -5/+65 | |
The old API was broken for programs that manage multiple views, since it was impossible to wait for events on any view. There are also several functions in the API which are not actually associated with views at all, so those can now be moved to the more appropriate PuglWorld to make this more clear. The old puglInit() and puglDestroy() functions are preserved for compatibility, but marked as deprecated. | |||||
2019-09-03 | Simplify hints implementation | David Robillard | 1 | -49/+20 | |
2019-08-02 | Replace puglIgnoreKeyRepeat() with a hint | David Robillard | 1 | -2/+5 | |
2019-07-29 | Cleanup: Clean up includes and call IWYU in lint target | David Robillard | 1 | -0/+1 | |
2019-07-29 | Fix potential memory leak on error | David Robillard | 1 | -0/+1 | |
2019-07-29 | Reorganize source to separate private implementation details | David Robillard | 1 | -0/+275 | |
Taking a page from C++ convention, where "detail" is for things that should not be included in user code. |