Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-03-08 | Mac: Do not dispatch expose events if window is invisible | David Robillard | 1 | -0/+4 | |
2020-03-08 | Mac: Make windows initially invisible as on other platforms | David Robillard | 1 | -0/+1 | |
2020-03-08 | Mac: Fix stub backend | David Robillard | 1 | -17/+0 | |
2020-03-08 | Cleanup: Fix typo | David Robillard | 1 | -1/+1 | |
2020-03-02 | Omit deprecated implementations with PUGL_DISABLE_DEPRECATED | David Robillard | 1 | -0/+4 | |
2020-03-01 | Cleanup: Adjust some code to be more clang-format friendly | David Robillard | 1 | -40/+48 | |
2020-03-01 | Put PuglEventAny member of PuglEvent first for easy initialization | David Robillard | 1 | -6/+3 | |
2019-12-09 | Mac: Fix missing NSWindowStyleMask type on 10.11 | Hanspeter Portner | 1 | -0/+8 | |
2019-11-21 | Rename "backend" headers | David Robillard | 1 | -1/+1 | |
Working on Vulkan clarified what has always been slightly smelly about the design and organization here: not everything that is API specific is really in a "backend" (a PuglBackend). The concrete example is puglGetProcAddress(), which only makes sense for GL and is actually implemented in the "backend" files. Arguably puglGetContext() is also such a thing. So, rename the headers so they can be the place where API-specific things go in general, which happens to include a backend most of the time. The stub is a bit of an exception to this, but whatever. The includes look tidier this way. In place of the old headers are compatibility stubs that just emit a warning and include the new version, which will be maintained for a while. | |||||
2019-11-20 | Mac: Move puglGetProcAddress() to mac_gl.m | David Robillard | 1 | -17/+0 | |
2019-11-20 | Mac: Fix unused parameter warning | David Robillard | 1 | -1/+1 | |
2019-11-03 | Remove redisplay flag and add puglPostRedisplayRect() | David Robillard | 1 | -0/+9 | |
2019-11-03 | Add puglGetNativeWorld() | David Robillard | 1 | -0/+6 | |
2019-11-03 | Expose functional stub backend | David Robillard | 1 | -0/+15 | |
2019-11-03 | Fix puglFreeView() crashes when window creation failed | Jordan Halase | 1 | -10/+17 | |
2019-09-07 | Add clipboard support | David Robillard | 1 | -0/+40 | |
2019-09-03 | Make almost everything return a status | David Robillard | 1 | -6/+12 | |
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 | -0/+18 | |
2019-09-03 | Replace size and aspect ratio init functions with dynamic ones | David Robillard | 1 | -0/+34 | |
2019-09-03 | Use consistent naming conventions | David Robillard | 1 | -9/+9 | |
2019-09-03 | Add functions to get and set view size and position | David Robillard | 1 | -14/+84 | |
2019-09-03 | Add puglDispatchEvents() | David Robillard | 1 | -7/+13 | |
2019-09-03 | Add puglPollEvents() | David Robillard | 1 | -14/+20 | |
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 | 1 | -2/+2 | |
2019-09-03 | Add PuglWorld | David Robillard | 1 | -12/+26 | |
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 | 1 | -0/+9 | |
2019-09-03 | Fix puglGrabFocus() to work between parent and children | David Robillard | 1 | -1/+4 | |
2019-09-03 | Simplify hints implementation | David Robillard | 1 | -2/+2 | |
2019-09-03 | Mac: Dispatch expose events from drawing view | Michael Fisher | 1 | -2/+2 | |
2019-09-02 | Cleanup: Fix whitespace | David Robillard | 1 | -8/+8 | |
2019-08-02 | Mac: Disable annoying bell on tab or other special key presses | David Robillard | 1 | -0/+5 | |
2019-08-02 | Replace puglIgnoreKeyRepeat() with a hint | David Robillard | 1 | -1/+1 | |
2019-07-29 | Mac: Separate backends from platform implementation | David Robillard | 1 | -390/+36 | |
2019-07-29 | Mac: Add Cairo on Quartz support | David Robillard | 1 | -29/+113 | |
This avoids the general hassles of OpenGL, which is deprecated on MacOS, and Cairo apps look much nicer and more integrated this way. As far as I can tell, Cairo actually works best here out of all the platforms, the Windows and X11 backends aren't quite as smooth. | |||||
2019-07-29 | Mac: Make drawView a generic NSView | David Robillard | 1 | -20/+46 | |
2019-07-29 | Mac: Separate NSOpenGLView from input handling view | David Robillard | 1 | -113/+142 | |
2019-07-29 | Mac: Use scrolling delta for scroll events | David Robillard | 1 | -2/+2 | |
I am not sure exactly what the difference is between these, but the documentation says to use these for scroll events. They do have different values for touchpads and the scrolling one feels a bit nicer. | |||||
2019-07-29 | Cleanup: Clean up includes and call IWYU in lint target | David Robillard | 1 | -0/+1 | |
2019-07-29 | Reorganize source to separate private implementation details | David Robillard | 1 | -0/+1069 | |
Taking a page from C++ convention, where "detail" is for things that should not be included in user code. |