aboutsummaryrefslogtreecommitdiff
path: root/pugl
AgeCommit message (Collapse)AuthorLines
2019-12-27Merge commit '25a3b7dafcd024e45505db4015fa9bae6cde94e3'Hanspeter Portner-18/+6
2019-12-27Squashed 'pugl/' changes from a800033c..630aed14Hanspeter Portner-18/+6
630aed14 x11: change redisplay to synchronous operation git-subtree-dir: pugl git-subtree-split: 630aed14abc61bfc4ce9052a7b285834eb4ff51d
2019-09-28Squashed 'pugl/' changes from 077d5fd3..a800033cHanspeter Portner-1/+1
a800033c osx: make proper use of PUGL_KEY_RETURN git-subtree-dir: pugl git-subtree-split: a800033c7c3d363f8133d45a49b459e148c61ca4
2019-09-28Merge commit 'caa33749baed72b96efa70feb72851b13b447fe4'Hanspeter Portner-1/+1
2019-09-28Squashed 'pugl/' changes from 320124db..077d5fd3Hanspeter Portner-176/+232
077d5fd3 Add Tab+Return to PuglKeys, implement missing ones 799f4f7c Mac: Fix missing NSWindowStyleMask type on 10.11 7bbbf3ce Fix memory leak fd68302b Windows: Fix Cairo backend build dd6a9c09 Add support for using a debug OpenGL context 2c8d8e23 Wrap deprecated declarations in PUGL_DISABLE_DEPRECATED c1a4ccae Build documentation on CI 92937b14 Improve documentation and use LV2 documentation style dc9f1d85 Clean up error handling 7162fa4f Add clipboard support 27e43183 Cleanup: Fix whitespace 178e747d Windows: Fix library leak during world creation 8b8ada46 Add OpenGL 3 test program 5fac75bd Windows: Fix puglGetProcAddress() for OpenGL 1.1 functions 67a57996 Make almost everything return a status 59359e4f Make event handler return a status 4c6ac6b1 Factor out parsing test options 36f9c9dd Reorganize header and documentation into coherent sections 4c07a013 Add puglSetWindowTitle() 89af2b1e Rename remaining init functions b0ac6dcb Add puglSetClassName() 075c5c59 Replace puglInitTransientFor() with puglSetTransientFor() e7ccbec8 Replace size and aspect ratio init functions with dynamic ones f98e804c Move trivial deprecated implementations to header 411c7ddb Move deprecated API to a separate section of the header d015bf0d Add puglGetWorld() e4446d09 X11: Factor out size hints calculation 1c585b57 Use consistent naming conventions 7d72d835 Windows: Fix configured size of child views 9b2bbb1c Windows: Draw while application menu is open 0e6f60a8 Windows: Improve resize smoothness slightly bb01cc1b Add swap interval hint 2a0287b0 X11: Improve puglPostRedisplay() performance 2d19fe67 Windows: Improve puglPostRedisplay() performance 69f38f68 Windows: Prevent event loop from running forever e5481cb3 Make pugl_test use a nested view and test focus and movement 81660702 Add functions to get and set view size and position f7695435 Windows: Factor out window flag functions 93f4920c Add puglDispatchEvents() 496f17c3 Add puglPollEvents() dacaaa5f Move puglGetTime() to PuglWorld 61476f5d X11: Move input method to world 9995566f X11: Move atoms to world e83c2b42 Add PuglWorld 5081d49f Add puglHasFocus() da0f76d2 Fix puglGrabFocus() to work between parent and children e148e8f3 Windows: Fix class registration for multiple views e3b2f305 Simplify hints implementation 0706f4a1 Mac: Dispatch expose events from drawing view 10bb9a28 Cleanup: Fix whitespace REVERT: 320124db Build documentation on CI REVERT: abd06cc9 Improve documentation and use LV2 documentation style REVERT: 4a8cb07c Add clipboard support REVERT: 48f741d9 Cleanup: Fix whitespace REVERT: 0e9eb9cb Windows: Fix library leak during world creation REVERT: 4e924bcc Add OpenGL 3 test program REVERT: bbb5a165 Windows: Fix puglGetProcAddress() for OpenGL 1.1 functions REVERT: ea02b164 Make almost everything return a status REVERT: 360662f8 Make event handler return a status REVERT: b1cc625c Factor out parsing test options REVERT: e03d9687 Reorganize header and documentation into coherent sections REVERT: dd003488 Add puglSetWindowTitle() REVERT: 73757f82 Rename remaining init functions REVERT: 9cd81370 Add puglSetClassName() REVERT: 0b3d2494 Replace puglInitTransientFor() with puglSetTransientFor() REVERT: 9c66697b Replace size and aspect ratio init functions with dynamic ones REVERT: 24a52e71 Move trivial deprecated implementations to header REVERT: 0db5b9e0 Move deprecated API to a separate section of the header REVERT: ce2f5c20 Add puglGetWorld() REVERT: 9e2f7a86 X11: Factor out size hints calculation REVERT: 1bb62ce5 Use consistent naming conventions REVERT: 49563c75 Windows: Fix configured size of child views REVERT: 71766846 Windows: Draw while application menu is open REVERT: 0edbce93 Windows: Improve resize smoothness slightly REVERT: 9612e3e5 Add swap interval hint REVERT: a7a65262 X11: Improve puglPostRedisplay() performance REVERT: 8803cb79 Windows: Improve puglPostRedisplay() performance REVERT: 3edc576f Windows: Prevent event loop from running forever REVERT: 093825d7 Make pugl_test use a nested view and test focus and movement REVERT: 353d9139 Add functions to get and set view size and position REVERT: d3a2a4ba Windows: Factor out window flag functions REVERT: b39f2ee3 Add puglDispatchEvents() REVERT: 3107c195 Add puglPollEvents() REVERT: 4bf5c047 Move puglGetTime() to PuglWorld REVERT: 92a65eae X11: Move input method to world REVERT: 30062da2 X11: Move atoms to world REVERT: 0179761f Add PuglWorld REVERT: 46742f73 Add puglHasFocus() REVERT: aa4619e9 Fix puglGrabFocus() to work between parent and children REVERT: 58d16272 Windows: Fix class registration for multiple views REVERT: ec19e1de Simplify hints implementation git-subtree-dir: pugl git-subtree-split: 077d5fd3dd2d1acfdf58839c40b6c96730ca9c69
2019-09-28Merge commit '09a86896ca5a4a07143778005b09bee0a46404a9'Hanspeter Portner-195/+239
2019-08-23Squashed 'pugl/' changes from 908e249c..320124dbHanspeter Portner-675/+1824
320124db Build documentation on CI abd06cc9 Improve documentation and use LV2 documentation style 4a8cb07c Add clipboard support 48f741d9 Cleanup: Fix whitespace 0e9eb9cb Windows: Fix library leak during world creation 4e924bcc Add OpenGL 3 test program bbb5a165 Windows: Fix puglGetProcAddress() for OpenGL 1.1 functions ea02b164 Make almost everything return a status 360662f8 Make event handler return a status b1cc625c Factor out parsing test options e03d9687 Reorganize header and documentation into coherent sections dd003488 Add puglSetWindowTitle() 73757f82 Rename remaining init functions 9cd81370 Add puglSetClassName() 0b3d2494 Replace puglInitTransientFor() with puglSetTransientFor() 9c66697b Replace size and aspect ratio init functions with dynamic ones 24a52e71 Move trivial deprecated implementations to header 0db5b9e0 Move deprecated API to a separate section of the header ce2f5c20 Add puglGetWorld() 9e2f7a86 X11: Factor out size hints calculation 1bb62ce5 Use consistent naming conventions 49563c75 Windows: Fix configured size of child views 71766846 Windows: Draw while application menu is open 0edbce93 Windows: Improve resize smoothness slightly 9612e3e5 Add swap interval hint a7a65262 X11: Improve puglPostRedisplay() performance 8803cb79 Windows: Improve puglPostRedisplay() performance 3edc576f Windows: Prevent event loop from running forever 093825d7 Make pugl_test use a nested view and test focus and movement 353d9139 Add functions to get and set view size and position d3a2a4ba Windows: Factor out window flag functions b39f2ee3 Add puglDispatchEvents() 3107c195 Add puglPollEvents() 4bf5c047 Move puglGetTime() to PuglWorld 92a65eae X11: Move input method to world 30062da2 X11: Move atoms to world 0179761f Add PuglWorld 46742f73 Add puglHasFocus() aa4619e9 Fix puglGrabFocus() to work between parent and children 58d16272 Windows: Fix class registration for multiple views ec19e1de Simplify hints implementation git-subtree-dir: pugl git-subtree-split: 320124dba4c5a234ef697957b48655042193897c
2019-08-23Merge commit '3e0e9be4124b949457c35748c16f74e140f38ae4' into pugl-appHanspeter Portner-909/+7177
2019-08-19Squashed 'pugl/' changes from 83a54034..908e249cHanspeter Portner-2566/+4125
908e249c Add missing link flag to pkg-config files 074da160 Fix repetition in README fd56df57 Mac: Disable annoying bell on tab or other special key presses 561b71af Clean up includes 45f8844c Fix unnecessary conversions eb443a7a Test: Remove use of static data 1c1e053d Replace puglIgnoreKeyRepeat() with a hint 9f4a5e73 Test: Remove locale hacks 7096fa29 Test: Configure GL in configure handler instead of main b628c721 Test: Factor out FPS printer 2359dafa Add missing string termination a865ca52 Windows: Support UTF8 in window titles bb083463 X11: Support UTF8 in window titles 568d40cd Cleanup: Remove debug print that snuck in there somehow 6f39b67f Fix incorrect comment 06d7b4ac Add stability and distribution information to README 0f3a2c93 X11: Implement double buffering for Cairo f97516d6 Add animation to Cairo test program 94f74785 Build separate libraries b0a92df9 Mac: Separate backends from platform implementation 074538ba Mac: Add Cairo on Quartz support 2ea798d6 Mac: Make drawView a generic NSView 64d63867 Mac: Separate NSOpenGLView from input handling view e383016b Mac: Use scrolling delta for scroll events b5b0b7c0 Add option to install entire implementation as headers 3f98de4e Set hidden visibility globally 776c8622 Properly check for libm 0d2c8a13 Build both static and shared library by default a90a4006 Windows: Enable shared library build f89f6813 Cleanup: Use fancy syntax for waf environments 626a49c2 Cleanup: Clean up includes and call IWYU in lint target 560bcf2a Cleanup: Fix Python whitespace 29940c35 Fix various clang-tidy warnings c74467ae Fix potential memory leak on error 37fe29ab Reorganize source to separate private implementation details 41dea932 Clean up file documentation 50499530 Completely separate backends from platform implementation 657a30d2 Expose PuglBackend type 982ea3f0 Add deprecation macro and deprecate puglInitResizable() e2389032 Move trivial backend dispatch functions to common code c6c91cca Move backend to PuglView 4d1a4421 Mac: Factor some functionality out into a backend 78ae4dee Windows: Disable DPI scaling 39553be4 Windows: Add Cairo support b63194bf Windows: Factor out GL backend 6a77f966 Make enterContext take a drawing parameter like leaveContext 6a3159df Give backends general names 65e0b7d4 Rename getHandle to getContext for consistent terminology ffdc710f Rename PuglDrawContext to PuglBackend a84fe498 Cleanup: Remove redundant preprocessor checks e340a602 Cleanup: Remove redundant context type checks 95bd290f Cleanup: Add some constness ca2adc0e Mac: Set test app bundles as high resolution capable e1c3b14e Mac: Fix warning e7236e4a Fix unused parameter warnings and prevent rot 4c4b388f Fix building pugl_cairo_test as C++ eada1042 Windows: Implement size constraints 55199fe9 Clear GL context in puglLeaveContext() on all platforms 1249cf5e Improve packing of PuglViewImpl f165aa36 X11: Fix unused parameter warnings 70d27c87 X11: Close input context on destruction 54b1d113 Add missing include 64c66ce8 Add logo resources 3359c78b Mac: Fix build on MacOS older than 10.10 2e3e9353 Mac: Use mach_absolute_time() 9bc5853b Use standard Cairo include paths everywhere 581cd286 Windows: Fix initial display once again bba5958e Use standard cairo include path 552e107f Fix type of PuglEventText::time c86f7123 Mac: Fix event Y coordinates 27dbe942 Handle backspace and delete consistently across platforms d746d668 Remove PUGL_API from documentation d32a920d Update README 31e0bebb Support additional special keys 3526bf91 Unify key and character fields and separate text events 1deb98f5 Rename PuglEventKey::utf8 to "string" with char type fd7d496d Remove view pointer from events 9d127e38 Represent event time as double in seconds on all platforms b0ddcbba Simplify modifier translation code 84834d6d Test: Move some generic code to a separate header 41373723 Test: Move test programs to a subdirectory face6b17 Test: Factor out event printing 18b6722f Mac: Give new child views focus on creation ebbf1568 Mac: Fix initial view allocation 5797e423 Mac: Fix coordinate system eb64f8a3 Windows: Only kill timer when actually flashing bea2f16b Windows: Only set double buffered pixel format when requested 07834ba6 Windows: Clean up and factor out window flags d29f1af6 Windows: Focus windows when shown 8ee97014 Windows: Improve live resize smoothness 614896f4 Windows: Fix configured window size 9ca94acb Windows: Use DispatchMessage b47bfc5f X11: Fix memory leak 1fef5e07 X11: Factor out impl variable for brevity 8d8e662f X11: Improve live resize smoothness b00a145f X11: Factor out window event mask 37b8dd23 Flatten AUTHORS file and add some missing people f08a5400 Update README 1b3f4fb9 Update stale copyright dates 99e18246 Use the standard blurb in pkg-config description 94f74fa9 Fix some warnings bc78b748 Tidy up X11 code f3366ef9 Make windows miniaturizable on MacOS 354f7576 Remove redundant and mismatched prototype 7a5dcae7 Show minimize and maximize buttons on top level windows on Windows 80191fb0 Add puglRequestAttention() 08149089 Fix handling of WM_DELETE_WINDOW a322ffa3 Use local display and window variables for brevity cb897c6f Implement focus on MacOS 17af0352 Implement puglGrabFocus on Windows and MacOS 1ffbc794 Implement aspect ratio on MacOS b5edd05a Set square aspect ratio on pugl_test window fa4b48b5 Gracefully handle failure to create window 35c050fb Set title and minimum size for pugl_cairo_test window 20114f1e Fix Cairo on MacOS fe920b2c Fix initial display on Windows again b5ef9123 Implement focus on Windows 51922247 Implement enter and leave notifications on Windows 0ef7e431 Print more information about crossing and focus events 38b4790a Implement enter and leave notifications on MacOS 89d7378a Show mouse enter/leave state in pugl_test background 29126e6a Remove redundant prototypes ae9a0995 Draw during resizing on MacOS 17a09847 Clean up Objective C syntax 93216a6e Draw during resizing on Windows 29605530 Draw in pugl_test according to display time aa7fb0aa Fix initial window display on Windows 97348233 Clean up event loop on MacOS c1e49399 Fix tracking area implementation on MacOS 753af54d Make time start from approximately zero 5ba0ea7c Remove redisplay flag and use system events instead 4d0704ba Add CI rows for MinGW e7d9aaf9 Use C for Windows implementation cf6da599 Make translateKey take a PuglEventKey f1697241 Send a configure event on initial window mapping 0497e8e5 Tidy up whitespace 9c3c035c Clean up redundant wrappers around SetWindowLongPtr 6d1e70f6 Implement attributes on Windows a1569ce4 Clean up window creation on Windows a70a3d26 Fix horizontal mouse axis in pugl_test d34e0eb1 Fix various warnings b81dbe03 Implement attributes on MacOS aa9eafb7 Enable vsync on Windows c91eb8ee Draw while resizing on Windows c3c55efc Add pugl_test option to continuously animate and report FPS 664b4972 Add puglGetTime() bd5d6431 Fix documentation b0d931d6 Remove redundant glFlush on Windows cb67b9a7 Fix some warnings on Windows d2dab054 Remove dead code on Windows 3d535a3f Fix double-buffering a522c769 Add pugl_test options for FSAA and double-buffering 2c19c0b4 Fix window embedding on Windows 5d13701f Fix window embedding on MacOS a978fd6a Make event processing non-blocking on MacOS bf7bc771 Defer to NSOpenGLView reshape method a6878f88 Build test programs in bundles on MacOS 6e0b096f Disable deprecation warnings on MacOS 4aaad461 Fix const casts bca65c93 Consistently use uint32_t everywhere 24aef2fc Fix void function prototypes 13dd9c75 Fix unnecessary const cast 7b5b07b2 Add ARM CI rows d4eaaff2 Add Gitlab CI configuration c18706e3 Fix MacOS build 7887266e Update autowaf 4806680e Squashed 'waflib/' changes from d7a7ca4..27a69a7 ee834a83 Add puglGetProcAddress for using OpenGL extensions 982c8910 Squash blank line 197c19b7 Add configuration API 51dcb00d Gracefully handle failure to create window in pugl_test 64f4befe Remove spurious double blank lines bde3d802 Add missing default case 26e312ac Fix implicit double to int casts 539c1ddd Clean up includes f46b5124 Factor out drawing context from platform window implementation cf80f78f Remove PUGL_CAIRO_GL 373b2b78 Separate internal types from functions 222320e6 Fix build with Python 2 b24b75b6 Squashed 'waflib/' changes from 542b3f5..d7a7ca4 e549b762 Merge commit 'b24b75b6ca964d5bb35e1802fdf7d03c794236ff' a1e028e8 Lint wscript 6b488fa9 Fix minor clang-tidy warnings befca854 Use clang-tidy for linting 4de165e8 Remove unused submodule 4426a331 Factor out common waf target parameters 423a9894 Print nicer configuration summary 9f009766 Don't abuse autowaf.define() bfa266ef Use autowaf.set_lib_env() 8093902d Clean up waf options bdb65b8a Remove test options 8421272d Replace waf-light with minimal waf wrapper script 77c56952 Add pyc files to gitignore b2ad0b0b Replace symlink with minimal waf wrapper script 8239fedf Squashed 'waflib/' changes from 391d285..542b3f5 6bdd956e Merge commit '8239fedfd133916f0ac26bd85ff524afca243ddb' 444365a7 Add msgs argument to autowaf.display_summary() and show flags efe1b5a2 Automatically define version 7e02a000 Add autowaf.add_flags() for terse flag definition 0173f690 Clean up wscript 0fcdaecc Add __pycache__ to gitignore 0186a78f Fix GCC8 fall-through warnings fb674c72 Switch to bundled source waf b6e9de2d Squashed 'waflib/' content from commit 391d285 62dcd3f3 Merge commit 'b6e9de2de9725e2f5a3170b8171ad1a1e95e8339' as 'waflib' c4dcd960 Don't clear entire cairo surface on each expose 39ad8490 Fix size constraints on OSX 70616649 Print Unicode code points in standard format 7a05b7c0 Send zero instead of replacement char for invalid key strings 665dfdd7 Fix implicit integer conversion warning 5a1dacef Fix duplicate method declaration 34c74f89 Implement special key handling on MacOS 8b8f97da Fix merging of expose events REVERT: 83a54034 omk: use /* fall through */ marker REVERT: 2986f313 omk: fix compiler warnings. REVERT: 371c2ec0 omk: fix memory leak. REVERT: 035884a7 Don't clear cairo canvas, support gl stencils REVERT: 4fed5fe2 Change ulong to unsigned long for FreeBSD. REVERT: 0406d71d Implement clipboard REVERT: c977ef29 Implement special key handling on MacOS git-subtree-dir: pugl git-subtree-split: 908e249c8030698e4313df9aeb81cfb7763e5150
2019-08-19Merge commit 'e8c89d26cc9e90ab8fa8673bf4f72271549f4946' into pugl_upstreamHanspeter Portner-3040/+47398
2019-04-12Squashed 'pugl/' changes from 2986f31..83a5403Hanspeter Portner-2/+1
83a5403 omk: use /* fall through */ marker git-subtree-dir: pugl git-subtree-split: 83a54034cc712b697ca37845f9d2d3e5a9f22974
2019-04-12Merge commit 'f2a3fbfb8703aa1640084f2a2582bd895b8dc85e'Hanspeter Portner-2/+1
2019-02-01Squashed 'pugl/' changes from 371c2ec..2986f31Hanspeter Portner-3/+5
2986f31 omk: fix compiler warnings. git-subtree-dir: pugl git-subtree-split: 2986f3130eb5f9d0fd36e098a9b401bc5a44f4ce
2019-02-01Merge commit 'feafb8e9e235c1252ef9d2bec5a51e0818a2d187'Hanspeter Portner-3/+5
2019-01-01Squashed 'pugl/' changes from 035884a..371c2ecHanspeter Portner-0/+1
371c2ec omk: fix memory leak. git-subtree-dir: pugl git-subtree-split: 371c2ec00b4d32864ad02e389eb983f036bd0f51
2019-01-01Merge commit 'f457aa376a047710cfdc8e06ce034db0df8133c3'Hanspeter Portner-0/+1
2018-09-02Merge commit 'a67bf6c51b6d780f803e79c205864c0b811c47a8'Hanspeter Portner-14/+0
2018-09-02Squashed 'pugl/' changes from 4fed5fe..035884aHanspeter Portner-15/+7
035884a Don't clear cairo canvas, support gl stencils git-subtree-dir: pugl git-subtree-split: 035884a7d1736f56e543e1e361f9fbe975a8706b
2018-09-02nanovg/pugl: enable stencil buffer.Hanspeter Portner-2/+4
2018-08-25don't reconfigure when only moving window.Hanspeter Portner-1/+3
2018-08-21implement initial partial redraw in cairo backend.Hanspeter Portner-0/+2
2018-08-12Squashed 'pugl/' content from commit 4fed5feHanspeter Portner-0/+3483
git-subtree-dir: pugl git-subtree-split: 4fed5fe231a3af0102ac67e32e4b446ea2733df9
2018-08-12Merge commit 'f378979292358387c66b18394880b5973e40e9e5' as 'pugl'Hanspeter Portner-0/+6632