Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-07-25 | Clear GL context in puglLeaveContext() on all platforms | David Robillard | 1 | -0/+2 | |
2019-07-25 | Mac: Fix build on MacOS older than 10.10 | David Robillard | 1 | -0/+6 | |
2019-07-25 | Mac: Use mach_absolute_time() | David Robillard | 1 | -4/+3 | |
This fixes the build for older versions of MacOS, since clock_gettime() was only added in 10.12. | |||||
2019-07-25 | Mac: Fix event Y coordinates | David Robillard | 1 | -9/+9 | |
2019-07-25 | Handle backspace and delete consistently across platforms | Stefan Westerfeld | 1 | -0/+2 | |
2019-07-24 | Support additional special keys | David Robillard | 1 | -21/+26 | |
2019-07-24 | Unify key and character fields and separate text events | David Robillard | 1 | -28/+132 | |
Only one field is necessary to store any kind of key, including special keys, since PuglKey occupies a reserved Unicode region. This is generally much simpler to deal with since there is only one value to dispatch on. Text events are separated from key events (like Windows but unlike MacOS or X11) because it is not possible to derive text events from key press events when they occur on Windows. Since merging the two has been the source of some confusion, this approach has some advantages anyway, even though it introduces the need to handle another event type. In the process, text input has been almost completely rewritten. I have tested this with a compose key on X11 and dead keys on Windows and MacOS and everything seems to work correctly, though there may (as always) still be issues with more exotic input methods. | |||||
2019-07-24 | Rename PuglEventKey::utf8 to "string" with char type | David Robillard | 1 | -2/+2 | |
This matches Gtk and is generally less annoying to work with. | |||||
2019-07-24 | Remove view pointer from events | David Robillard | 1 | -16/+11 | |
This makes events POD, which is generally nice. The view was originally added to reflect the display and window references in XEvent, but doesn't seem very useful in Pugl applications. | |||||
2019-07-24 | Simplify modifier translation code | David Robillard | 1 | -8/+6 | |
2019-07-23 | Mac: Give new child views focus on creation | David Robillard | 1 | -0/+1 | |
2019-07-23 | Mac: Fix initial view allocation | David Robillard | 1 | -2/+1 | |
2019-07-23 | Mac: Fix coordinate system | David Robillard | 1 | -0/+5 | |
2019-07-21 | Make windows miniaturizable on MacOS | David Robillard | 1 | -1/+3 | |
2019-07-21 | Remove redundant and mismatched prototype | David Robillard | 1 | -5/+2 | |
2019-07-21 | Add puglRequestAttention() | David Robillard | 1 | -0/+26 | |
2019-07-21 | Implement focus on MacOS | David Robillard | 1 | -19/+44 | |
2019-07-21 | Implement puglGrabFocus on Windows and MacOS | David Robillard | 1 | -1/+1 | |
2019-07-21 | Implement aspect ratio on MacOS | David Robillard | 1 | -0/+5 | |
Unfortunately MacOS does not seem to support constraints here, so just use the minimum. | |||||
2019-07-21 | Fix Cairo on MacOS | David Robillard | 1 | -3/+5 | |
2019-07-21 | Implement enter and leave notifications on MacOS | David Robillard | 1 | -2/+24 | |
2019-07-21 | Remove redundant prototypes | David Robillard | 1 | -21/+0 | |
2019-07-21 | Draw during resizing on MacOS | David Robillard | 1 | -2/+32 | |
Unfortunately drawing still stalls if the user just grabs the resize handle until the first resize event happens, but it seems to be impossible to fix this without using another thread. | |||||
2019-07-21 | Clean up Objective C syntax | David Robillard | 1 | -7/+7 | |
2019-07-21 | Clean up event loop on MacOS | David Robillard | 1 | -20/+14 | |
2019-07-21 | Fix tracking area implementation on MacOS | David Robillard | 1 | -9/+5 | |
I am not sure why updateTrackingAreas was being spammed before, but that caused the event loop to constantly tick when the mouse was hovered over the window despite nothing else happening. Everything seems to work fine without it, and this seems to match other code, so remove it. Also call super in updateTrackingAreas as suggested by the documentation. | |||||
2019-07-21 | Make time start from approximately zero | David Robillard | 1 | -1/+1 | |
2019-07-20 | Remove redisplay flag and use system events instead | David Robillard | 1 | -1/+0 | |
2019-06-29 | Implement attributes on MacOS | David Robillard | 1 | -7/+18 | |
2019-06-27 | Add puglGetTime() | David Robillard | 1 | -0/+9 | |
2019-06-27 | Fix window embedding on MacOS | Stefan Westerfeld | 1 | -2/+2 | |
2019-06-27 | Make event processing non-blocking on MacOS | Stefan Westerfeld | 1 | -4/+8 | |
2019-06-27 | Defer to NSOpenGLView reshape method | David Robillard | 1 | -0/+1 | |
This apparently does nothing, but the compiler warns about the missing super call. | |||||
2019-06-27 | Fix const casts | David Robillard | 1 | -10/+10 | |
2019-06-27 | Consistently use uint32_t everywhere | David Robillard | 1 | -6/+6 | |
2019-04-14 | Fix MacOS build | David Robillard | 1 | -1/+4 | |
2019-02-17 | Add puglGetProcAddress for using OpenGL extensions | David Robillard | 1 | -0/+16 | |
2019-02-17 | Add configuration API | David Robillard | 1 | -2/+2 | |
2019-02-16 | Clean up includes | David Robillard | 1 | -4/+4 | |
2017-10-03 | Don't clear entire cairo surface on each expose | David Robillard | 1 | -6/+0 | |
2017-10-03 | Fix size constraints on OSX | David Robillard | 1 | -15/+39 | |
2017-10-03 | Send zero instead of replacement char for invalid key strings | David Robillard | 1 | -1/+2 | |
2017-10-03 | Fix implicit integer conversion warning | David Robillard | 1 | -2/+2 | |
2017-07-23 | Fix duplicate method declaration | David Robillard | 1 | -1/+0 | |
2017-07-23 | Implement special key handling on MacOS | Hanspeter Portner | 1 | -17/+78 | |
2016-10-27 | Support many mouse buttons on OSX | David Robillard | 1 | -0/+18 | |
2016-10-27 | Fix mouse button numbers on OSX | David Robillard | 1 | -2/+2 | |
2016-10-26 | Fix OSX build | David Robillard | 1 | -20/+29 | |
2016-09-14 | Fix puglInitInternals prototype | David Robillard | 1 | -1/+1 | |
2016-09-01 | Add PUGL_CLOSE event | David Robillard | 1 | -2/+7 | |
This allows purely event-driven applications to handle window close. Something more extensible for WM message seems like it might be a good idea here, but I can't think of specific uses, so this will do. |