]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Replace `_` with `-` in source file names
authortokyo4j <hrak1529@gmail.com>
Wed, 22 May 2024 00:56:16 +0000 (09:56 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 22 May 2024 06:10:51 +0000 (07:10 +0100)
29 files changed:
include/common/fd-util.h [moved from include/common/fd_util.h with 100% similarity]
include/common/scaled-font-buffer.h [moved from include/common/scaled_font_buffer.h with 100% similarity]
include/common/scaled-scene-buffer.h [moved from include/common/scaled_scene_buffer.h with 100% similarity]
include/config/rcxml.h
include/input/tablet-pad.h [moved from include/input/tablet_pad.h with 100% similarity]
include/resize-indicator.h [moved from include/resize_indicator.h with 100% similarity]
src/common/fd-util.c [moved from src/common/fd_util.c with 97% similarity]
src/common/meson.build
src/common/scaled-font-buffer.c [moved from src/common/scaled_font_buffer.c with 97% similarity]
src/common/scaled-scene-buffer.c [moved from src/common/scaled_scene_buffer.c with 99% similarity]
src/common/spawn.c
src/config/tablet.c
src/input/meson.build
src/input/tablet-pad.c [moved from src/input/tablet_pad.c with 97% similarity]
src/interactive.c
src/main.c
src/menu/menu.c
src/meson.build
src/osd-field.c [moved from src/osd_field.c with 100% similarity]
src/seat.c
src/server.c
src/ssd/meson.build
src/ssd/resize-indicator.c [moved from src/ssd/resize_indicator.c with 98% similarity]
src/ssd/ssd-border.c [moved from src/ssd/ssd_border.c with 100% similarity]
src/ssd/ssd-extents.c [moved from src/ssd/ssd_extents.c with 100% similarity]
src/ssd/ssd-part.c [moved from src/ssd/ssd_part.c with 100% similarity]
src/ssd/ssd-shadow.c [moved from src/ssd/ssd_shadow.c with 100% similarity]
src/ssd/ssd-titlebar.c [moved from src/ssd/ssd_titlebar.c with 99% similarity]
src/view.c

index d308daa629b7331b1863287101a69c6de1ff3a6f..41c34c95d05de81b9395b92e32cd5f648fd40b66 100644 (file)
@@ -12,7 +12,7 @@
 #include "config/touch.h"
 #include "config/tablet.h"
 #include "config/libinput.h"
-#include "resize_indicator.h"
+#include "resize-indicator.h"
 #include "theme.h"
 
 enum view_placement_policy {
similarity index 97%
rename from src/common/fd_util.c
rename to src/common/fd-util.c
index d4f92561baeca9480a16af7b3c64d0af5ff0b31f..672f467e916910516984ef2003d7bcf6c0f37977 100644 (file)
@@ -4,7 +4,7 @@
 #include <sys/resource.h>
 #include <wlr/util/log.h>
 
-#include "common/fd_util.h"
+#include "common/fd-util.h"
 
 static struct rlimit original_nofile_rlimit = {0};
 
index 250ca34744100c9dcd1737f3333313812f97692a..441e92c0c834735a8748978846af149a2c04d00f 100644 (file)
@@ -1,7 +1,7 @@
 labwc_sources += files(
   'buf.c',
   'dir.c',
-  'fd_util.c',
+  'fd-util.c',
   'file-helpers.c',
   'font.c',
   'grab-file.c',
@@ -11,8 +11,8 @@ labwc_sources += files(
   'nodename.c',
   'parse-bool.c',
   'parse-double.c',
-  'scaled_font_buffer.c',
-  'scaled_scene_buffer.c',
+  'scaled-font-buffer.c',
+  'scaled-scene-buffer.c',
   'scene-helpers.c',
   'surface-helpers.c',
   'spawn.c',
similarity index 97%
rename from src/common/scaled_font_buffer.c
rename to src/common/scaled-font-buffer.c
index 1f488c23cf25c868f4a382ca873435d0d6f68374..f785e2e16597d7d43845bbb47a882656d2973c9d 100644 (file)
@@ -8,8 +8,8 @@
 #include "buffer.h"
 #include "common/font.h"
 #include "common/mem.h"
-#include "common/scaled_scene_buffer.h"
-#include "common/scaled_font_buffer.h"
+#include "common/scaled-scene-buffer.h"
+#include "common/scaled-font-buffer.h"
 
 static struct lab_data_buffer *
 _create_buffer(struct scaled_scene_buffer *scaled_buffer, double scale)
similarity index 99%
rename from src/common/scaled_scene_buffer.c
rename to src/common/scaled-scene-buffer.c
index abe99b2604e6c28957d9439d17f262feb03531d2..7c018ace9ad0f37a3b07baef84807fde9223a965 100644 (file)
@@ -9,7 +9,7 @@
 #include <wlr/util/log.h>
 #include "buffer.h"
 #include "common/mem.h"
-#include "common/scaled_scene_buffer.h"
+#include "common/scaled-scene-buffer.h"
 
 /**
  * TODO
index 9d729e22e18f883cf82fdb5b23b2b4743f1cec6e..6e8e7c51b021137495f9212e61d21400b56ac342 100644 (file)
@@ -10,7 +10,7 @@
 #include <unistd.h>
 #include <wlr/util/log.h>
 #include "common/spawn.h"
-#include "common/fd_util.h"
+#include "common/fd-util.h"
 
 static void
 reset_signals_and_limits(void)
index bc3527a90d106d1c0ef5f81d8560d8a0d9a4f183..ef8059d4d0345e63011db85a50f72e8897c7a994 100644 (file)
@@ -7,7 +7,7 @@
 #include "common/parse-double.h"
 #include "config/tablet.h"
 #include "config/rcxml.h"
-#include "input/tablet_pad.h"
+#include "input/tablet-pad.h"
 
 double
 tablet_get_dbl_if_positive(const char *content, const char *name)
index c333184f07d0db65be515e88c81a82841be4f937..4d56f00dea6557832da312a1dbb6ae5a915b8d5b 100644 (file)
@@ -1,7 +1,7 @@
 labwc_sources += files(
   'cursor.c',
   'tablet.c',
-  'tablet_pad.c',
+  'tablet-pad.c',
   'gestures.c',
   'input.c',
   'keyboard.c',
similarity index 97%
rename from src/input/tablet_pad.c
rename to src/input/tablet-pad.c
index 5c7c74f1aef6c3dd75b9078a9015c8a24c9335cd..a155de87ac350580df5bfec4cda1df0afc851dd8 100644 (file)
@@ -7,7 +7,7 @@
 #include "common/mem.h"
 #include "config/rcxml.h"
 #include "input/cursor.h"
-#include "input/tablet_pad.h"
+#include "input/tablet-pad.h"
 
 static void
 handle_button(struct wl_listener *listener, void *data)
index d4679f3a22343d7635c3d6e37fcaeebabf58e77d..813289aa00906ec7b3428d6837adb009675a463f 100644 (file)
@@ -3,7 +3,7 @@
 #include "input/keyboard.h"
 #include "labwc.h"
 #include "regions.h"
-#include "resize_indicator.h"
+#include "resize-indicator.h"
 #include "snap.h"
 #include "view.h"
 #include "window-rules.h"
index 539d318c147adb9d397a0b3e1751bbd2bc8d2b40..e974a35f1f947df33d8a521fc4da368a4985f8d9 100644 (file)
@@ -4,7 +4,7 @@
 #include <string.h>
 #include <unistd.h>
 #include "common/dir.h"
-#include "common/fd_util.h"
+#include "common/fd-util.h"
 #include "common/font.h"
 #include "common/mem.h"
 #include "common/spawn.h"
index 064c803bdd5123095d884d3ececd9cd4208b5c94..a30fcba2c3112b3bc4c1f19249379f51eb457ce5 100644 (file)
@@ -17,7 +17,7 @@
 #include "common/list.h"
 #include "common/mem.h"
 #include "common/nodename.h"
-#include "common/scaled_font_buffer.h"
+#include "common/scaled-font-buffer.h"
 #include "common/scene-helpers.h"
 #include "common/spawn.h"
 #include "common/string-helpers.h"
index fab82b2af5df85833d67eba2a62a020b6b59d974..c88e6bc1ba5b5bbd208346dec734e6ca8164eb50 100644 (file)
@@ -13,7 +13,7 @@ labwc_sources = files(
   'main.c',
   'node.c',
   'osd.c',
-  'osd_field.c',
+  'osd-field.c',
   'output.c',
   'output-virtual.c',
   'overlay.c',
similarity index 100%
rename from src/osd_field.c
rename to src/osd-field.c
index 93a01abb0c0d130a38b50ccd54b4fe0eaf4b9cbf..4ba5fa30f88c9b85cc985726883bd874555ae46f 100644 (file)
@@ -11,7 +11,7 @@
 #include "common/mem.h"
 #include "input/ime.h"
 #include "input/tablet.h"
-#include "input/tablet_pad.h"
+#include "input/tablet-pad.h"
 #include "input/input.h"
 #include "input/keyboard.h"
 #include "input/key-state.h"
index 483040191da7ec1718b09274b3034b4249410705..503838cd9400388644f87dfa76632280508ccfd5 100644 (file)
@@ -30,7 +30,7 @@
 #include "menu/menu.h"
 #include "output-virtual.h"
 #include "regions.h"
-#include "resize_indicator.h"
+#include "resize-indicator.h"
 #include "theme.h"
 #include "view.h"
 #include "workspaces.h"
index d796c1930b9d1b4674a7a6896d949a077b21afcd..c37eef451833ae3b303cd8de8d3bba7180db61ea 100644 (file)
@@ -1,9 +1,9 @@
 labwc_sources += files(
-  'resize_indicator.c',
+  'resize-indicator.c',
   'ssd.c',
-  'ssd_part.c',
-  'ssd_titlebar.c',
-  'ssd_border.c',
-  'ssd_extents.c',
-  'ssd_shadow.c',
+  'ssd-part.c',
+  'ssd-titlebar.c',
+  'ssd-border.c',
+  'ssd-extents.c',
+  'ssd-shadow.c',
 )
similarity index 98%
rename from src/ssd/resize_indicator.c
rename to src/ssd/resize-indicator.c
index 912656642333bc1d05fc2e51d2e36555c6ba5522..d0fbb8e508f02130f280bde08c8ad91e63c3626e 100644 (file)
@@ -4,9 +4,9 @@
 #include <wlr/util/box.h>
 #include <wlr/util/log.h>
 #include "common/macros.h"
-#include "common/scaled_font_buffer.h"
+#include "common/scaled-font-buffer.h"
 #include "labwc.h"
-#include "resize_indicator.h"
+#include "resize-indicator.h"
 #include "view.h"
 
 static void
similarity index 100%
rename from src/ssd/ssd_border.c
rename to src/ssd/ssd-border.c
similarity index 100%
rename from src/ssd/ssd_extents.c
rename to src/ssd/ssd-extents.c
similarity index 100%
rename from src/ssd/ssd_part.c
rename to src/ssd/ssd-part.c
similarity index 100%
rename from src/ssd/ssd_shadow.c
rename to src/ssd/ssd-shadow.c
similarity index 99%
rename from src/ssd/ssd_titlebar.c
rename to src/ssd/ssd-titlebar.c
index cde7bb773ab38b6914b72e403df7d193242c011a..cdbe4d3685bd1e80724ed3e75927e0cc404a2d21 100644 (file)
@@ -5,7 +5,7 @@
 #include <string.h>
 #include "buffer.h"
 #include "common/mem.h"
-#include "common/scaled_font_buffer.h"
+#include "common/scaled-font-buffer.h"
 #include "common/scene-helpers.h"
 #include "common/string-helpers.h"
 #include "labwc.h"
index 103de9eeba53a8c4d7d6c6ef2b2f68c96e8ad688..8d3d0915c9c5a2d11e3005af97f216b7ca01821b 100644 (file)
@@ -13,7 +13,7 @@
 #include "osd.h"
 #include "placement.h"
 #include "regions.h"
-#include "resize_indicator.h"
+#include "resize-indicator.h"
 #include "snap-constraints.h"
 #include "snap.h"
 #include "ssd.h"