AgeCommit message (Collapse)AuthorLines
3 daysutil: add missing signal header include.HEADmasterHanspeter Portner-1/+2
6 dayspugl: make API static.Hanspeter Portner-2/+3
6 daysMerge commit '3c5e6a74a3e7c45ea82611627516365560b76439'Hanspeter Portner-1/+1
6 daysSquashed 'pugl/' changes from 7fc8d9e49..9a38c7629Hanspeter Portner-1/+1
9a38c7629 Allow building static on GNU, too git-subtree-dir: pugl git-subtree-split: 9a38c7629614c8f2a29991e02a6d241c430e83b0
8 dayscore: handle out-of-memory in widget_begin.Hanspeter Portner-2/+6
9 daysbase: add prototype of base separator widget.Hanspeter Portner-4/+88
9 dayscore: only search for TTF fonts via fontconfig.Hanspeter Portner-2/+5
9 daysbackend: don't call assert on not-found fonts.Hanspeter Portner-3/+11
11 daysbase: introduce D2TK_FLAG_INACTIVE.Hanspeter Portner-123/+192
11 daysbase: add {bar,spinner}_{int64,double).Hanspeter Portner-1/+355
2021-01-03Squashed 'pugl/' changes from 0a23647a5..7fc8d9e49Hanspeter Portner-11522/+11453
7fc8d9e49 Add support for any mime type in X11 clipboard 59296974c Avoid "else" after "return" 416478739 Add PUGL_CONST_API d9efe12ed Use email address instead of website for attribution 09df14976 Simplify visibility boilerplate 4fea00687 Add clant configuration a0efc4054 Fix clang-tidy warnings f6ca60606 Clean up includes 1c365945e Simplify clang-format configuration and format all code REVERT: 0a23647a5 Add support for any mime type in X11 clipboard git-subtree-dir: pugl git-subtree-split: 7fc8d9e4997e82cfbd23d83bf7373a8fe2ccbe45
2021-01-03Merge commit '487a797fdd1af60413594c60a6496a18edb119be'Hanspeter Portner-11522/+11453
2021-01-02fixes for updated pugl.Hanspeter Portner-16/+25
2021-01-02Merge commit '15bf814e5ebf03004452ceafb868b1d65903dc2c'Hanspeter Portner-5257/+10741
2021-01-02Squashed 'pugl/' changes from 2452869d..0a23647aHanspeter Portner-5256/+10740
0a23647a Add support for any mime type in X11 clipboard a92a194b Fix flaky build on Windows c186b1e8 Require Python3 to build documentation 47685df9 Fix Vulkan C++ bindings on Windows f829cfa6 Make demo programs work from any directory, and install them 07c8253c Print an error message in Vulkan demo when shaders are not found 2f48c3e6 Fix a conversion warning with MinGW 3d864fcd Add clipboard test e0b78036 Enable test coverage in debug builds 9cb91cde Make puglShow() realize automatically on Windows and MacOS 8f5d0ac9 Build documentation on CI 503ba93a Generate documentation with Sphinx caf3f4fc Update autowaf 60d0de60 Use named groups to group documentation c10c2a11 Remove top-level documentation group 5c651ee2 Add missing documentation for pugl::Event fields ceafc915 Document PUGL_CHECK_CONSTRUCTION a9922aa5 Use consistent spelling in documentation 81fd21da Remove file documentation 9de33a88 Don't use lists in return documentation c29aaaf6 Add pugl::World constructor overload that takes a flag ee6aebaf Remove stub event handlers from pugl::View 2d90c04e Simplify and minify icon SVG adc92518 Rename puglShowWindow and puglHideWindow to puglShow an puglHide 7ce9b578 Move puglEnterContext and puglLeaveContext to GL backends 3e9a2e01 Pass vkGetInstanceProcAddr to puglCreateSurface instead of a loader 6426b034 Suppress various clang-tidy warnings 0a5b734f X11: Fix position of child windows and clean up window creation code c7213092 Fix asan errors on X11 7dde3e3a Add missing return 6a8da097 Cleanup: Fix typo f0f058db Run clang-tidy on all headers and fix various issues 71a9fbf2 Make event handling in C++ more flexible 92edbddd Reorder methods in C++ bindings to match C header groups b62c1874 Add missing documentation for Vulkan f7cce780 Use static polymorphism in C++ bindings 71312135 Make use of exceptions optional 745bc88b Make most methods noexcept 416f0c25 Remove use of cassert and type_traits 5676ec17 Use a custom exception type for failed construction 5d7ddd8c Remove pugl::Clock af3d564e Remove use of std::unique_ptr 31e144e6 Cleanup: Remove unnecessary include acdcfb58 Cleanup: Remove unnecessary namespace qualifications 5ee68d83 Fix Cairo build on Mac and Windows f9923d7b Remove logging API caf17373 Clean up installed man pages d7703c82 Simplify header names 09fd1190 Remove GL and GLU wrapper headers d3d0c558 Make C++ bindings a separate package 750eb802 Move C++ bindings to a separate directory 21d1e350 Move implementation source files to a conventional src directory 4ae4dd5b Add Vulkan demos 1bcc437a Add Vulkan backends 472d42f2 Add missing include fd8743c7 Don't send expose events when window is minimized 612aae51 Replace live resize with loop events 9c2f1888 Remove unused Doxygen configuration keys a8291ce0 Fix documentation typo 66cec5bb Use single-line doc comments where possible eadf8e9a Resurrect puglEnterContext() and puglLeaveContext() 336ab6bc Add noexcept annotations to C++ Wrapper base class 244a0a5b Add timer methods to C++ wrapper 4535f74f Make backend function wrappers noexcept c6be2e43 Fix shader demo arguments to allow running at maximum framerate 01888707 Check all implementation files with IWYU 88e23c4a Simplify documentation structure 361b09bc Simplify documentation style c15b5da4 Fix outdated function reference in Cairo documentation f88687a9 Cleanup: Always put return types on their own line 77fccc3e Cleanup: Sort includes 641a4842 Cleanup: Use conventional style for ObjC methods 95beec3f Cleanup: Use consistent style for preprocessor conditionals 74a2b237 Fix clang-tidy issues in Windows code d678291f Fix building with clang on Windows 968289f7 Add no-cxx configure option 4857f9b7 Fix Cairo backend compilation on Windows 72b11f22 Use separate clang-tidy configurations in different directories feb6c4f7 Add missing include guards 063ddc8d Add missing includes 380edd6d Move includes to a separate directory e78e00a4 Check pugl.hpp and pugl.ipp with IWYU a385c3cb Cleanup: Reformat pugl.hpp and pugl.ipp 0020f0df Improve return code documentation 31245d35 Fix puglSendEvent() error handling on X11 a8d2aa27 Fix puglSetFrame() error handling on X11 83c4baa2 Split stub backends into separate files a8739542 Gracefully handle puglRealize() being called twice f2e294f9 Cleanup: Fix IWYU warnings c5ca8a3c Cleanup: Fix redundancy in test lists 5d26c74f Cleanup: Fix long line db0a48e7 Windows: Use default cursor on window decoration 743db997 Mac: React to cursorUpdate cdf10456 Update autowaf 879e876b Windows: Fix cursor when leaving client area f86e7d57 Windows: Return backend errors directly 4ee94da4 Set a default size in pugl_print_events 418a24f8 Show errors in example programs consistently d10bd6cc Only build header warning test in strict mode 06c0bc8a Add const attribute to backend accessors 5f8eca21 Use unsigned constants in enum definitions e552cb32 Suppress fewer MSVC warnings in header test d981ba92 Suppress IWYU warnings in build tests c918e02f Suppress MSVC warnings in header compile test 96f6df5b Explicitly declare all special methods 24949b82 Move cube vertex data to the file where it is actually used 4531da00 Fix potentially short string buffer 885eeb04 Suppress warnings in release builds 43345a03 Update autowaf fab3bc30 Use refresh rate to better drive example event loop 0b876c3d Add refresh rate hint a36408b7 Print all view hints in shader demo and hint tests cc5c38b1 Add puglGetViewHint() 6ca124d3 Set defaults to 32-bit RGBA with no depth or stencil buffer 72f019e7 Store real double buffer value in hint and remove separate variable 630f0a38 Refuse to set hints to PUGL_DONT_CARE when it doesn't make sense 3da72032 Change FPS print format in demos for consistency with other output 95703acf Fix library names in pkg-config files REVERT: 2452869d Add support for any mime type in X11 clipboard git-subtree-dir: pugl git-subtree-split: 0a23647a550f50820800e6db39bc36027adef339
2021-01-01meson: lower glew version dependency.Hanspeter Portner-2/+2
2021-01-01all: add tooltip prototype.Hanspeter Portner-6/+199
2020-11-20base: support unicode input CTRL-SHIFT-u-CODE-SPACE.Hanspeter Portner-3/+39
2020-10-11remove embedded glew.Hanspeter Portner-58116/+2
2020-10-09Revert "meson: relax minimal libvterm version."Hanspeter Portner-2/+2
This reverts commit 2f7945ce445441a99f2d1ab39496b6711bdadd74.
2020-10-09meson: relax minimal libvterm version.Hanspeter Portner-2/+2
2020-10-02gitlab-ci: remove darwin/mingw targets.Hanspeter Portner-18/+1
2020-09-29pty: export HOME and USER env vars.Hanspeter Portner-2/+11
2020-09-28pty: do not call putenv, use excvpe instead.Hanspeter Portner-4/+7
2020-09-27util: fixes for util spawn.Hanspeter Portner-1/+5
2020-09-27prototype util header with spawn method (unix only).Hanspeter Portner-2/+220
2020-09-26Squashed 'pugl/' changes from 1b1a1c3a..2452869dHanspeter Portner-17/+59
2452869d Add support for any mime type in X11 clipboard git-subtree-dir: pugl git-subtree-split: 2452869dbea95853d030677d5af3acc7bdb59dcd
2020-09-26Merge commit 'e4017ca6e56aacae7121efe7e3a22b9f424c3f9b' into masterHanspeter Portner-17/+59
2020-09-25pugl: implement clipboard.Hanspeter Portner-7/+137
2020-09-23add support for absolute paths in image widgets.Hanspeter Portner-33/+82
2020-09-19Merge commit '4e78a74d86e49010467e8c3b2ce3b1b0ace540a8' into pugl-nextHanspeter Portner-687/+2878
2020-09-19Squashed 'pugl/' changes from 8f28d8c9..1b1a1c3aHanspeter Portner-686/+2877
1b1a1c3a Call glXSwapIntervalEXT inside active context 44a7690c Move puglX11GlEnter() and puglX11GlLeave() above puglX11GlCreate() 181bd895 Fix clang-tidy warnings d70aa80d Improve struct packing abf44b12 Ensure that all API headers are warning-free 80838668 Update autowaf 98f8d255 Move stub backend function implementations to a detail header 90abfef1 Replace isHint bool with a flag 6c246041 Add scroll direction field 7d45962c Print crossing mode of enter and leave events 294c0f7d Replace grab flag in PuglEventFocus with crossing mode eac255d8 Remove redundant focus field from PuglEventMotion 02f230d5 Remove count field from PuglEventExpose 72ffadb2 Use more precise warning flags ad471068 Only enable MSVC C++ warnings when compiling C++ code e9b269a2 Clean up and strengthen warning flags f00254d4 Windows: Fix old-style declaration warning 3b497c84 Windows: Remove unused constants 3452f489 X11: Fix internal timer ID type to match public interface be340fd0 X11: Fix integer to enum conversion warning 6a776bb6 X11: Fix sign conversion warning 87219173 Fix publicly accessible non-virtual destructor warning d2c84ddf Enable Werror on CI 47b3bc94 Use ultra-strict warnings on CI 4dca7972 Mac: Disable Wno-direct-ivar-access daa0f272 Mac: Fix implicit conversion warnings 5182a034 Mac: Declare instance variables in implementation 9483e340 Fix werror with clang and deprecation warnings on Mac f53cdd77 Disable function type cast warnings with MinGW eb79d768 Fix cast alignment warnings on 32-bit ARM 6422c76a Strengthen lint target 3b43e447 Fix check for clang 2d907d2c Mac: Only create an AutoreleasePool for programs 2f90b716 Add puglSetCursor() 81f9debf Fix mouse position of events on high resolution MacOS eebb62db Disable implicit-fallthrough warning with clang 580e7b6e Cleanup: Fix implicit conversion warnings with clang abcff5b7 Cleanup: Fix uninitialised variables f036af07 Cleanup: Fix flake8 warnings eb85b35c Add editorconfig file 21d8b08e Windows: Only call SwapBuffers with OpenGL 4bb9fc2c Windows: Fix maximum size fe96ed3c Add default and maximum size 3200cda2 Fix indentation a4ac15c1 Use line comments where appropriate ceded7cf Use email address in copyright headers 85104b23 Fix file documentation 8d6c4141 Remove deprecated Doxygen configuration values c30e1178 Fix redisplay test on MacOS 8fffa8f1 Make show/hide test tolerant to multiple exposures 6e42e48a C++ Demo: Fix sync option cfdabdb6 C++ Demo: Fix help option 69366ae5 Set library environment for building against local Pugl c737df9c Disable pedantic warnings only for shader demo (for GLAD) 14e959b0 Set library flags on targets only instead of globally 256e75d9 Clean up Mac flags d26436ac Only set custom warnings flags with ultra-strict configuration 5e5d74d3 Add major version to library names 5695cb52 Remove deprecated pugl_stub_backend.h bfa08201 Remove deprecated backend headers 29ba1095 Mac: Use high-resolution backing surfaces 53d8fe0c Implement puglSetTransientFor() for Mac and Windows 20fd80c8 Shader Demo: Support both GL 3 and 4 11800b61 Shader Demo: Use a UBO ecc281c5 Shader Demo: Factor out version-dependent GLSL header ac3036fd Shader Demo: Factor out animated rectangle definitions 84222d61 Shader Demo: Explicitly set up alpha blending 45477347 Fix mismatched printf parameter warning a17e87f3 Update README 841b9705 Rewrite C++ bindings git-subtree-dir: pugl git-subtree-split: 1b1a1c3a48e31ad338d22b340408465843b25871
2020-09-17custom: use hash data hash to discover changes.Hanspeter Portner-25/+27
2020-09-16nanovg/cairo: simplify custom backends.Hanspeter Portner-109/+19
2020-09-16core: add rect argument to custom callback.Hanspeter Portner-17/+52
2020-09-16example: prototype custom widget.Hanspeter Portner-5/+57
2020-09-15nanovg: use nvgFontFaceId, should be faster.Hanspeter Portner-2/+2
2020-09-15pugl: return correct number of file descriptors.Hanspeter Portner-2/+2
2020-09-14base: do not call poll on mingw.Hanspeter Portner-2/+8
2020-09-14base: add hooks to get vpty file descriptors.Hanspeter Portner-46/+82
2020-09-11glfw: support enter/tab/backspace/escape keys.Hanspeter Portner-5/+17
2020-09-11glfw: preliminary working version.Hanspeter Portner-7/+236
2020-09-10glfw: add prototype skeleton.Hanspeter Portner-2/+378
2020-08-26debug: fix wrong usage of D2TK_DEBUG define.Hanspeter Portner-19/+19
2020-08-26frontend: only get file descriptor on X11.Hanspeter Portner-1/+11
2020-08-24frontend: add d2tk_frontend_get_file_descriptor.Hanspeter Portner-1/+24
2020-08-16put debug overlay flag into config header.Hanspeter Portner-2/+5
2020-07-22Merge branch 'master' of /media/sdext/omk/d2tkHanspeter Portner-1/+5
2020-07-22meson: add missing dependency on glu.Hanspeter Portner-2/+6
2020-07-10base: add spinner_wave_float widget.Hanspeter Portner-14/+122