From d38dda5a7f283234021ef3ac738d2e86167c9434 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 9 Feb 2025 10:15:20 -0500 Subject: Use angle brackets for puglutil includes The convention here is that quotes are used for paths relative to the current file only. --- examples/pugl_cairo_demo.c | 2 +- examples/pugl_clipboard_demo.c | 2 +- examples/pugl_cpp_demo.cpp | 2 +- examples/pugl_cursor_demo.c | 2 +- examples/pugl_embed_demo.c | 2 +- examples/pugl_management_demo.c | 6 ++---- examples/pugl_print_events.c | 2 +- examples/pugl_shader_demo.c | 4 ++-- examples/pugl_vulkan_cpp_demo.cpp | 4 ++-- examples/pugl_vulkan_demo.c | 2 +- examples/pugl_window_demo.c | 2 +- test/test_cairo.c | 2 +- test/test_cursor.c | 2 +- test/test_gl.c | 2 +- test/test_gl_hints.c | 2 +- test/test_local_copy_paste.c | 2 +- test/test_realize.c | 2 +- test/test_redisplay.c | 2 +- test/test_remote_copy_paste.c | 2 +- test/test_show_hide.c | 2 +- test/test_size.c | 2 +- test/test_stub.c | 2 +- test/test_stub_hints.c | 6 ++---- test/test_timer.c | 2 +- test/test_update.c | 2 +- test/test_view.c | 2 +- test/test_vulkan.c | 2 +- 27 files changed, 31 insertions(+), 35 deletions(-) diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c index 71e13e2..109149d 100644 --- a/examples/pugl_cairo_demo.c +++ b/examples/pugl_cairo_demo.c @@ -3,7 +3,7 @@ #include "demo_utils.h" -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c index 0defc65..04929ab 100644 --- a/examples/pugl_clipboard_demo.c +++ b/examples/pugl_clipboard_demo.c @@ -5,7 +5,7 @@ #include "cube_view.h" -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_cpp_demo.cpp b/examples/pugl_cpp_demo.cpp index 2d74213..9ba5723 100644 --- a/examples/pugl_cpp_demo.cpp +++ b/examples/pugl_cpp_demo.cpp @@ -4,7 +4,7 @@ #include "cube_view.h" #include "demo_utils.h" -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_cursor_demo.c b/examples/pugl_cursor_demo.c index 8a09a44..6ddd5ad 100644 --- a/examples/pugl_cursor_demo.c +++ b/examples/pugl_cursor_demo.c @@ -1,7 +1,7 @@ // Copyright 2012-2020 David Robillard // SPDX-License-Identifier: ISC -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c index 4e5fc75..70e00c2 100644 --- a/examples/pugl_embed_demo.c +++ b/examples/pugl_embed_demo.c @@ -4,7 +4,7 @@ #include "cube_view.h" #include "demo_utils.h" -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_management_demo.c b/examples/pugl_management_demo.c index 61d7a51..c9b3f4a 100644 --- a/examples/pugl_management_demo.c +++ b/examples/pugl_management_demo.c @@ -1,11 +1,9 @@ // Copyright 2012-2023 David Robillard // SPDX-License-Identifier: ISC -/* - A demonstration of window types, states, and management. -*/ +// A demonstration of window types, states, and management -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_print_events.c b/examples/pugl_print_events.c index 0ec4e65..9445e50 100644 --- a/examples/pugl_print_events.c +++ b/examples/pugl_print_events.c @@ -1,7 +1,7 @@ // Copyright 2012-2020 David Robillard // SPDX-License-Identifier: ISC -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c index 7f2fe6c..17135de 100644 --- a/examples/pugl_shader_demo.c +++ b/examples/pugl_shader_demo.c @@ -26,10 +26,10 @@ #include "rects.h" #include "shader_utils.h" -#include "puglutil/test_utils.h" - #include "glad/glad.h" +#include + #include #include diff --git a/examples/pugl_vulkan_cpp_demo.cpp b/examples/pugl_vulkan_cpp_demo.cpp index 9f1a3ed..83a6e47 100644 --- a/examples/pugl_vulkan_cpp_demo.cpp +++ b/examples/pugl_vulkan_cpp_demo.cpp @@ -18,10 +18,10 @@ #include "file_utils.h" #include "rects.h" -#include "puglutil/test_utils.h" - #include "sybok.hpp" +#include + #include #include #include diff --git a/examples/pugl_vulkan_demo.c b/examples/pugl_vulkan_demo.c index 6c59af0..75083c4 100644 --- a/examples/pugl_vulkan_demo.c +++ b/examples/pugl_vulkan_demo.c @@ -11,7 +11,7 @@ #include "demo_utils.h" -#include "puglutil/test_utils.h" +#include #include #include diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c index 6e87274..867f856 100644 --- a/examples/pugl_window_demo.c +++ b/examples/pugl_window_demo.c @@ -8,7 +8,7 @@ #include "cube_view.h" #include "demo_utils.h" -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_cairo.c b/test/test_cairo.c index 3259399..9abc51e 100644 --- a/test/test_cairo.c +++ b/test/test_cairo.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_cursor.c b/test/test_cursor.c index 4696a1a..399f797 100644 --- a/test/test_cursor.c +++ b/test/test_cursor.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_gl.c b/test/test_gl.c index 12f6017..dac41b5 100644 --- a/test/test_gl.c +++ b/test/test_gl.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_gl_hints.c b/test/test_gl_hints.c index 3533a0c..824679a 100644 --- a/test/test_gl_hints.c +++ b/test/test_gl_hints.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_local_copy_paste.c b/test/test_local_copy_paste.c index ea4856b..6d4899e 100644 --- a/test/test_local_copy_paste.c +++ b/test/test_local_copy_paste.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_realize.c b/test/test_realize.c index e34f925..3d706ce 100644 --- a/test/test_realize.c +++ b/test/test_realize.c @@ -11,7 +11,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_redisplay.c b/test/test_redisplay.c index 10d918e..01be5b6 100644 --- a/test/test_redisplay.c +++ b/test/test_redisplay.c @@ -8,7 +8,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c index 5b6a852..3d1756b 100644 --- a/test/test_remote_copy_paste.c +++ b/test/test_remote_copy_paste.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_show_hide.c b/test/test_show_hide.c index 8d67303..8b67325 100644 --- a/test/test_show_hide.c +++ b/test/test_show_hide.c @@ -8,7 +8,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_size.c b/test/test_size.c index d16a638..9c9f518 100644 --- a/test/test_size.c +++ b/test/test_size.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_stub.c b/test/test_stub.c index df0d6b2..7913fd4 100644 --- a/test/test_stub.c +++ b/test/test_stub.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_stub_hints.c b/test/test_stub_hints.c index 5c84dec..5694261 100644 --- a/test/test_stub_hints.c +++ b/test/test_stub_hints.c @@ -1,13 +1,11 @@ // Copyright 2020 David Robillard // SPDX-License-Identifier: ISC -/* - Tests that all hints are set to real values after a view is realized. -*/ +// Tests that all hints are set to real values after a view is realized #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_timer.c b/test/test_timer.c index ae7660f..8015b9a 100644 --- a/test/test_timer.c +++ b/test/test_timer.c @@ -8,7 +8,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_update.c b/test/test_update.c index 99971a0..c078e6b 100644 --- a/test/test_update.c +++ b/test/test_update.c @@ -8,7 +8,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_view.c b/test/test_view.c index a8f8117..08e5255 100644 --- a/test/test_view.c +++ b/test/test_view.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include diff --git a/test/test_vulkan.c b/test/test_vulkan.c index deed14d..258f978 100644 --- a/test/test_vulkan.c +++ b/test/test_vulkan.c @@ -5,7 +5,7 @@ #undef NDEBUG -#include "puglutil/test_utils.h" +#include #include #include -- cgit v1.2.1