~hp/nk_pugl

6a71264a6130cdaade21807b71c1c2e80d060f69 — Hanspeter Portner 3 years ago bfea30b
Squashed 'pugl/' changes from 1b1a1c3a..0a23647a

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

git-subtree-dir: pugl
git-subtree-split: 0a23647a550f50820800e6db39bc36027adef339
103 files changed, 10800 insertions(+), 5274 deletions(-)

M .clang-format
M .clang-tidy
M .gitlab-ci.yml
M AUTHORS
M README.md
A bindings/cxx/include/.clang-tidy
R pugl/pugl_cairo.hpp => bindings/cxx/include/pugl/cairo.hpp
R pugl/pugl_gl.hpp => bindings/cxx/include/pugl/gl.hpp
R pugl/pugl.hpp => bindings/cxx/include/pugl/pugl.hpp
R pugl/pugl_stub.hpp => bindings/cxx/include/pugl/stub.hpp
A bindings/cxx/include/pugl/vulkan.hpp
A doc/_static/custom.css
A doc/_templates/about.html
A doc/c/Doxyfile
A doc/c/index.rst
A doc/c/overview.rst
A doc/c/reference.rst
A doc/c/wscript
A doc/conf.py.in
A doc/cpp/Doxyfile
A doc/cpp/c-reference.rst
A doc/cpp/cpp-reference.rst
A doc/cpp/index.rst
A doc/cpp/overview.rst
A doc/cpp/wscript
A doc/deployment.rst
D doc/footer.html
D doc/header.html
D doc/layout.xml
M doc/mainpage.md
A doc/pugl.rst
D doc/reference.doxygen.in
D doc/style.css
A examples/.clang-tidy
M examples/cube_view.h
M examples/demo_utils.h
A examples/file_utils.c
R pugl/gl.h => examples/file_utils.h
M examples/glad/glad.h
M examples/pugl_cairo_demo.c
M examples/pugl_cursor_demo.c
M examples/pugl_cxx_demo.cpp
M examples/pugl_embed_demo.c
M examples/pugl_print_events.c
M examples/pugl_shader_demo.c
A examples/pugl_vulkan_cxx_demo.cpp
A examples/pugl_vulkan_demo.c
M examples/pugl_window_demo.c
M examples/rects.h
M examples/shader_utils.h
R shaders/header_330.glsl => examples/shaders/header_330.glsl
R shaders/header_420.glsl => examples/shaders/header_420.glsl
R shaders/rect.frag => examples/shaders/rect.frag
R shaders/rect.vert => examples/shaders/rect.vert
A examples/sybok.hpp
A include/.clang-tidy
R pugl/pugl_cairo.h => include/pugl/cairo.h
R pugl/pugl_gl.h => include/pugl/gl.h
R pugl/pugl.h => include/pugl/pugl.h
R pugl/pugl_stub.h => include/pugl/stub.h
A include/pugl/vulkan.h
M pugl.pc.in
D pugl/glu.h
D pugl/pugl.ipp
M resources/pugl.svg
A scripts/dox_to_sphinx.py
A src/.clang-tidy
R pugl/detail/implementation.c => src/implementation.c
R pugl/detail/implementation.h => src/implementation.h
R pugl/detail/mac.h => src/mac.h
R pugl/detail/mac.m => src/mac.m
R pugl/detail/mac_cairo.m => src/mac_cairo.m
R pugl/detail/mac_gl.m => src/mac_gl.m
R pugl/detail/mac_stub.m => src/mac_stub.m
A src/mac_vulkan.m
R pugl/detail/stub.h => src/stub.h
R pugl/detail/types.h => src/types.h
R pugl/detail/win.c => src/win.c
R pugl/detail/win.h => src/win.h
R pugl/detail/win_cairo.c => src/win_cairo.c
R pugl/detail/win_gl.c => src/win_gl.c
A src/win_stub.c
A src/win_vulkan.c
R pugl/detail/x11.c => src/x11.c
R pugl/detail/x11.h => src/x11.h
R pugl/detail/x11_cairo.c => src/x11_cairo.c
R pugl/detail/x11_gl.c => src/x11_gl.c
A src/x11_stub.c
A src/x11_vulkan.c
A test/.clang-tidy
M test/test_build.c
M test/test_build.cpp
A test/test_clipboard.c
A test/test_gl_hints.c
A test/test_realize.c
M test/test_redisplay.c
M test/test_show_hide.c
A test/test_stub_hints.c
M test/test_timer.c
M test/test_update.c
M test/test_utils.h
M waflib
M wscript
This diff is too large to display. Try viewing the raw diff instead.