Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-17 | X11: Support pasting (almost) arbitrarily long text | David Robillard | 1 | -1/+1 | |
This is a bit ridiculous, but using a "probably big enough" value seems to be what everyone does. This particular value is the one used by Gtk. | |||||
2019-11-17 | X11: Don't send expose events to invisible windows | David Robillard | 1 | -1/+3 | |
2019-11-17 | X11: Track visibility via system events | David Robillard | 1 | -3/+8 | |
This ensure that visibility is properly updated when a window is made visible or invisible by the user or window system. Unfortunately it does not seem to propagate automatically to child windows, but this is at least better than the previous situation, and good enough for most cases. | |||||
2019-11-09 | Fix various clang-tidy warnings | David Robillard | 4 | -17/+17 | |
2019-11-09 | Add puglStrerror() and improve test program error reporting | David Robillard | 1 | -0/+19 | |
2019-11-03 | Remove redisplay flag and add puglPostRedisplayRect() | David Robillard | 4 | -29/+46 | |
2019-11-03 | X11: Only merge expose events if they intersect | David Robillard | 1 | -13/+45 | |
Towards actual fine-grained exposure. This uses the previous behaviour if expose events intersect to reduce redundant drawing, but dispatches expose events immediately (after flushing and pending configure events) if they don't to support partial redraws. | |||||
2019-11-03 | Add puglGetNativeWorld() | David Robillard | 3 | -0/+18 | |
2019-11-03 | Windows: Do not require backends to have a surface | David Robillard | 1 | -1/+1 | |
This was just leftover cruft from before error handling was cleaned up, any failure to configure must now be reported by the backend. | |||||
2019-11-03 | Expose functional stub backend | David Robillard | 3 | -0/+68 | |
2019-11-03 | Move platform stub configuration code to platform headers | David Robillard | 4 | -33/+43 | |
This allows backends which use basic software rendering (like Cairo) to share the common basic window format setup code. | |||||
2019-11-03 | Add stub implementations of backend functions | David Robillard | 4 | -63/+12 | |
Towards having actual trivial backends, but in general allows backends to not declare functions they don't care about which is nice and already a net reduction of actual code. | |||||
2019-11-03 | Fix puglFreeView() crashes when window creation failed | Jordan Halase | 3 | -14/+28 | |
2019-11-03 | Cleanup: Fix whitespace | David Robillard | 1 | -1/+1 | |
2019-11-03 | Windows: Fix GL context flags | David Robillard | 1 | -0/+1 | |
2019-10-15 | Mac: Remove unused method declaration | David Robillard | 1 | -1/+0 | |
2019-09-16 | Fix memory leak | David Robillard | 1 | -0/+1 | |
2019-09-14 | Windows: Fix Cairo backend build | David Robillard | 1 | -18/+18 | |
2019-09-14 | Add support for using a debug OpenGL context | David Robillard | 2 | -1/+7 | |
2019-09-07 | Clean up error handling | David Robillard | 11 | -107/+113 | |
2019-09-07 | Add clipboard support | David Robillard | 7 | -0/+294 | |
2019-09-07 | Cleanup: Fix whitespace | David Robillard | 1 | -13/+13 | |
2019-09-07 | Windows: Fix library leak during world creation | David Robillard | 1 | -0/+2 | |
2019-09-03 | Windows: Fix puglGetProcAddress() for OpenGL 1.1 functions | David Robillard | 1 | -1/+9 | |
2019-09-03 | Make almost everything return a status | David Robillard | 4 | -27/+50 | |
Prepares the API for proper error handling, even though there isn't any for these functions yet. | |||||
2019-09-03 | Add puglSetWindowTitle() | David Robillard | 6 | -9/+55 | |
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 | 5 | -20/+26 | |
2019-09-03 | Replace puglInitTransientFor() with puglSetTransientFor() | David Robillard | 2 | -6/+13 | |
2019-09-03 | Replace size and aspect ratio init functions with dynamic ones | David Robillard | 4 | -20/+94 | |
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 | X11: Factor out size hints calculation | David Robillard | 1 | -21/+30 | |
2019-09-03 | Use consistent naming conventions | David Robillard | 5 | -62/+62 | |
2019-09-03 | Windows: Fix configured size of child views | David Robillard | 1 | -0/+5 | |
2019-09-03 | Windows: Draw while application menu is open | David Robillard | 1 | -0/+2 | |
2019-09-03 | Windows: Improve resize smoothness slightly | David Robillard | 1 | -3/+1 | |
2019-09-03 | Add swap interval hint | David Robillard | 2 | -1/+2 | |
2019-09-03 | X11: Improve puglPostRedisplay() performance | David Robillard | 1 | -7/+19 | |
2019-09-03 | Windows: Improve puglPostRedisplay() performance | David Robillard | 2 | -5/+13 | |
2019-09-03 | Windows: Prevent event loop from running forever | David Robillard | 1 | -3/+20 | |
2019-09-03 | Add functions to get and set view size and position | David Robillard | 11 | -67/+190 | |
2019-09-03 | Windows: Factor out window flag functions | David Robillard | 1 | -12/+20 | |
2019-09-03 | Add puglDispatchEvents() | David Robillard | 4 | -49/+91 | |
2019-09-03 | Add puglPollEvents() | David Robillard | 4 | -15/+60 | |
This allows waiting for events for any view in the world. It also improves on puglWaitForEvent() by the addition of a time parameter that allows indefinite blocking, non-blocking polling, and blocking polling with a timeout. | |||||
2019-09-03 | Move puglGetTime() to PuglWorld | David Robillard | 5 | -9/+10 | |
2019-09-03 | X11: Move input method to world | David Robillard | 2 | -13/+15 | |
2019-09-03 | X11: Move atoms to world | David Robillard | 2 | -29/+37 | |
2019-09-03 | Add PuglWorld | David Robillard | 9 | -35/+176 | |
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 | Add puglHasFocus() | David Robillard | 3 | -1/+25 | |