[aseprite] 71/250: Change name of generated files from "generated_file.h" to "file.xml.h"

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit e7e9f1d4827726e71cb75f3ebf7deeb090c2fb4e
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Sep 22 16:33:49 2015 -0300

    Change name of generated files from "generated_file.h" to "file.xml.h"
---
 src/app/CMakeLists.txt                          | 8 ++++----
 src/app/commands/cmd_canvas_size.cpp            | 2 +-
 src/app/commands/cmd_cel_properties.cpp         | 2 +-
 src/app/commands/cmd_color_quantization.cpp     | 2 +-
 src/app/commands/cmd_duplicate_sprite.cpp       | 2 +-
 src/app/commands/cmd_export_sprite_sheet.cpp    | 2 +-
 src/app/commands/cmd_frame_properties.cpp       | 2 +-
 src/app/commands/cmd_import_sprite_sheet.cpp    | 2 +-
 src/app/commands/cmd_keyboard_shortcuts.cpp     | 2 +-
 src/app/commands/cmd_layer_properties.cpp       | 2 +-
 src/app/commands/cmd_layer_visibility.cpp       | 2 +-
 src/app/commands/cmd_new_file.cpp               | 2 +-
 src/app/commands/cmd_options.cpp                | 2 +-
 src/app/commands/cmd_palette_size.cpp           | 2 +-
 src/app/commands/cmd_sprite_properties.cpp      | 2 +-
 src/app/commands/filters/color_curve_editor.cpp | 2 +-
 src/app/file/gif_format.cpp                     | 2 +-
 src/app/pref/preferences.h                      | 2 +-
 src/app/send_crash.cpp                          | 2 +-
 src/app/ui/configure_timeline_popup.cpp         | 2 +-
 src/app/ui/file_selector.cpp                    | 2 +-
 src/app/ui/file_selector.h                      | 2 +-
 src/app/ui/frame_tag_window.h                   | 2 +-
 src/app/ui/home_view.h                          | 2 +-
 src/app/ui/main_window.h                        | 2 +-
 src/app/ui/palette_popup.cpp                    | 2 +-
 src/app/ui/select_accelerator.h                 | 2 +-
 src/app/ui/skin/skin_theme.h                    | 2 +-
 28 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
index 51617f5..ac37c86 100644
--- a/src/app/CMakeLists.txt
+++ b/src/app/CMakeLists.txt
@@ -5,7 +5,7 @@
 file(GLOB widget_files ${CMAKE_SOURCE_DIR}/data/widgets/*.xml)
 foreach(widget_file ${widget_files})
   get_filename_component(widget_name ${widget_file} NAME_WE)
-  set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/generated_${widget_name}.h)
+  set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/${widget_name}.xml.h)
 
   add_custom_command(
     OUTPUT ${output_fn}
@@ -21,7 +21,7 @@ endforeach()
 # Generate preference types from data/pref.xml
 set(pref_xml ${CMAKE_SOURCE_DIR}/data/pref.xml)
 
-set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/generated_pref_types.h)
+set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
 add_custom_command(
   OUTPUT ${output_fn}
   COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-h > ${output_fn}.tmp
@@ -31,7 +31,7 @@ add_custom_command(
   DEPENDS gen)
 list(APPEND generated_files ${output_fn})
 
-set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/generated_pref_types.cpp)
+set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
 add_custom_command(
   OUTPUT ${output_fn}
   COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
@@ -43,7 +43,7 @@ list(APPEND generated_files ${output_fn})
 
 # Generate generated_skin.h from data/skins/default/skin.xml
 set(skin_xml ${CMAKE_SOURCE_DIR}/data/skins/default/skin.xml)
-set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/generated_skin.h)
+set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/skin.xml.h)
 add_custom_command(
   OUTPUT ${output_fn}
   COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${skin_xml} --skin > ${output_fn}.tmp
diff --git a/src/app/commands/cmd_canvas_size.cpp b/src/app/commands/cmd_canvas_size.cpp
index ee4bac6..4ffc628 100644
--- a/src/app/commands/cmd_canvas_size.cpp
+++ b/src/app/commands/cmd_canvas_size.cpp
@@ -29,7 +29,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_canvas_size.h"
+#include "canvas_size.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_cel_properties.cpp b/src/app/commands/cmd_cel_properties.cpp
index 00e7fb1..90e074d 100644
--- a/src/app/commands/cmd_cel_properties.cpp
+++ b/src/app/commands/cmd_cel_properties.cpp
@@ -34,7 +34,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_cel_properties.h"
+#include "cel_properties.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_color_quantization.cpp b/src/app/commands/cmd_color_quantization.cpp
index 45b3971..53b78dc 100644
--- a/src/app/commands/cmd_color_quantization.cpp
+++ b/src/app/commands/cmd_color_quantization.cpp
@@ -28,7 +28,7 @@
 #include "render/quantization.h"
 #include "ui/manager.h"
 
-#include "generated_palette_from_sprite.h"
+#include "palette_from_sprite.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_duplicate_sprite.cpp b/src/app/commands/cmd_duplicate_sprite.cpp
index 467156e..e2aac0e 100644
--- a/src/app/commands/cmd_duplicate_sprite.cpp
+++ b/src/app/commands/cmd_duplicate_sprite.cpp
@@ -21,7 +21,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_duplicate_sprite.h"
+#include "duplicate_sprite.xml.h"
 
 #include <cstdio>
 
diff --git a/src/app/commands/cmd_export_sprite_sheet.cpp b/src/app/commands/cmd_export_sprite_sheet.cpp
index 79223eb..7206d4d 100644
--- a/src/app/commands/cmd_export_sprite_sheet.cpp
+++ b/src/app/commands/cmd_export_sprite_sheet.cpp
@@ -30,7 +30,7 @@
 #include "doc/frame_tag.h"
 #include "doc/layer.h"
 
-#include "generated_export_sprite_sheet.h"
+#include "export_sprite_sheet.xml.h"
 
 #include <limits>
 #include <sstream>
diff --git a/src/app/commands/cmd_frame_properties.cpp b/src/app/commands/cmd_frame_properties.cpp
index 2bf2d1a..8a262b8 100644
--- a/src/app/commands/cmd_frame_properties.cpp
+++ b/src/app/commands/cmd_frame_properties.cpp
@@ -23,7 +23,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_frame_properties.h"
+#include "frame_properties.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_import_sprite_sheet.cpp b/src/app/commands/cmd_import_sprite_sheet.cpp
index 2c6ece3..fa5572b 100644
--- a/src/app/commands/cmd_import_sprite_sheet.cpp
+++ b/src/app/commands/cmd_import_sprite_sheet.cpp
@@ -37,7 +37,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_import_sprite_sheet.h"
+#include "import_sprite_sheet.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_keyboard_shortcuts.cpp b/src/app/commands/cmd_keyboard_shortcuts.cpp
index d8321d8..3cb578e 100644
--- a/src/app/commands/cmd_keyboard_shortcuts.cpp
+++ b/src/app/commands/cmd_keyboard_shortcuts.cpp
@@ -29,7 +29,7 @@
 #include "ui/preferred_size_event.h"
 #include "ui/resize_event.h"
 
-#include "generated_keyboard_shortcuts.h"
+#include "keyboard_shortcuts.xml.h"
 
 #define KEYBOARD_FILENAME_EXTENSION "aseprite-keys"
 
diff --git a/src/app/commands/cmd_layer_properties.cpp b/src/app/commands/cmd_layer_properties.cpp
index 7f82e35..61316fd 100644
--- a/src/app/commands/cmd_layer_properties.cpp
+++ b/src/app/commands/cmd_layer_properties.cpp
@@ -28,7 +28,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_layer_properties.h"
+#include "layer_properties.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_layer_visibility.cpp b/src/app/commands/cmd_layer_visibility.cpp
index a298634..bdb0d6b 100644
--- a/src/app/commands/cmd_layer_visibility.cpp
+++ b/src/app/commands/cmd_layer_visibility.cpp
@@ -19,7 +19,7 @@
 #include "doc/image.h"
 #include "doc/layer.h"
 
-#include "generated_layer_properties.h"
+#include "layer_properties.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_new_file.cpp b/src/app/commands/cmd_new_file.cpp
index a013874..74aa4a3 100644
--- a/src/app/commands/cmd_new_file.cpp
+++ b/src/app/commands/cmd_new_file.cpp
@@ -33,7 +33,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_new_sprite.h"
+#include "new_sprite.xml.h"
 
 using namespace ui;
 
diff --git a/src/app/commands/cmd_options.cpp b/src/app/commands/cmd_options.cpp
index 6b062df..cf4ae1a 100644
--- a/src/app/commands/cmd_options.cpp
+++ b/src/app/commands/cmd_options.cpp
@@ -30,7 +30,7 @@
 #include "she/system.h"
 #include "ui/ui.h"
 
-#include "generated_options.h"
+#include "options.xml.h"
 
 namespace app {
 
diff --git a/src/app/commands/cmd_palette_size.cpp b/src/app/commands/cmd_palette_size.cpp
index 8219dd2..ff997c8 100644
--- a/src/app/commands/cmd_palette_size.cpp
+++ b/src/app/commands/cmd_palette_size.cpp
@@ -18,7 +18,7 @@
 #include "doc/palette.h"
 #include "doc/sprite.h"
 
-#include "generated_palette_size.h"
+#include "palette_size.xml.h"
 
 #include <climits>
 
diff --git a/src/app/commands/cmd_sprite_properties.cpp b/src/app/commands/cmd_sprite_properties.cpp
index 4dcb557..e1f0cfa 100644
--- a/src/app/commands/cmd_sprite_properties.cpp
+++ b/src/app/commands/cmd_sprite_properties.cpp
@@ -25,7 +25,7 @@
 #include "doc/sprite.h"
 #include "ui/ui.h"
 
-#include "generated_sprite_properties.h"
+#include "sprite_properties.xml.h"
 
 #include <cstdio>
 
diff --git a/src/app/commands/filters/color_curve_editor.cpp b/src/app/commands/filters/color_curve_editor.cpp
index a7e018f..0f5d966 100644
--- a/src/app/commands/filters/color_curve_editor.cpp
+++ b/src/app/commands/filters/color_curve_editor.cpp
@@ -26,7 +26,7 @@
 #include "ui/widget.h"
 #include "ui/window.h"
 
-#include "generated_color_curve_point.h"
+#include "color_curve_point.xml.h"
 
 #include <cmath>
 #include <cstdio>
diff --git a/src/app/file/gif_format.cpp b/src/app/file/gif_format.cpp
index eef01bf..9e76573 100644
--- a/src/app/file/gif_format.cpp
+++ b/src/app/file/gif_format.cpp
@@ -28,7 +28,7 @@
 #include "ui/alert.h"
 #include "ui/button.h"
 
-#include "generated_gif_options.h"
+#include "gif_options.xml.h"
 
 #include <gif_lib.h>
 
diff --git a/src/app/pref/preferences.h b/src/app/pref/preferences.h
index 8bbedf0..2c559f7 100644
--- a/src/app/pref/preferences.h
+++ b/src/app/pref/preferences.h
@@ -25,7 +25,7 @@
 #include "gfx/rect.h"
 #include "render/onionskin_position.h"
 
-#include "generated_pref_types.h"
+#include "pref.xml.h"
 
 #include <map>
 #include <string>
diff --git a/src/app/send_crash.cpp b/src/app/send_crash.cpp
index 6894fed..cc6cfa1 100644
--- a/src/app/send_crash.cpp
+++ b/src/app/send_crash.cpp
@@ -17,7 +17,7 @@
 #include "base/fs.h"
 #include "base/launcher.h"
 
-#include "generated_send_crash.h"
+#include "send_crash.xml.h"
 
 namespace app {
 
diff --git a/src/app/ui/configure_timeline_popup.cpp b/src/app/ui/configure_timeline_popup.cpp
index cafc5c1..616268c 100644
--- a/src/app/ui/configure_timeline_popup.cpp
+++ b/src/app/ui/configure_timeline_popup.cpp
@@ -31,7 +31,7 @@
 #include "ui/slider.h"
 #include "ui/theme.h"
 
-#include "generated_timeline_conf.h"
+#include "timeline_conf.xml.h"
 
 namespace app {
 
diff --git a/src/app/ui/file_selector.cpp b/src/app/ui/file_selector.cpp
index 05387c7..da89ec7 100644
--- a/src/app/ui/file_selector.cpp
+++ b/src/app/ui/file_selector.cpp
@@ -32,7 +32,7 @@
 #include "base/unique_ptr.h"
 #include "ui/ui.h"
 
-#include "generated_new_folder_window.h"
+#include "new_folder_window.xml.h"
 
 #include <algorithm>
 #include <cctype>
diff --git a/src/app/ui/file_selector.h b/src/app/ui/file_selector.h
index 64c480b..fde96c5 100644
--- a/src/app/ui/file_selector.h
+++ b/src/app/ui/file_selector.h
@@ -13,7 +13,7 @@
 #include "base/unique_ptr.h"
 #include "ui/window.h"
 
-#include "generated_file_selector.h"
+#include "file_selector.xml.h"
 
 #include <string>
 
diff --git a/src/app/ui/frame_tag_window.h b/src/app/ui/frame_tag_window.h
index 0cb3b95..39a3256 100644
--- a/src/app/ui/frame_tag_window.h
+++ b/src/app/ui/frame_tag_window.h
@@ -13,7 +13,7 @@
 #include "doc/anidir.h"
 #include "doc/frame.h"
 
-#include "generated_frame_tag_properties.h"
+#include "frame_tag_properties.xml.h"
 
 namespace doc {
   class FrameTag;
diff --git a/src/app/ui/home_view.h b/src/app/ui/home_view.h
index f1241fb..691510d 100644
--- a/src/app/ui/home_view.h
+++ b/src/app/ui/home_view.h
@@ -14,7 +14,7 @@
 #include "app/ui/workspace_view.h"
 #include "ui/box.h"
 
-#include "generated_home_view.h"
+#include "home_view.xml.h"
 
 namespace ui {
   class View;
diff --git a/src/app/ui/main_window.h b/src/app/ui/main_window.h
index 9ebbcd7..4347442 100644
--- a/src/app/ui/main_window.h
+++ b/src/app/ui/main_window.h
@@ -12,7 +12,7 @@
 #include "app/ui/tabs.h"
 #include "ui/window.h"
 
-#include "generated_main_window.h"
+#include "main_window.xml.h"
 
 namespace ui {
   class Splitter;
diff --git a/src/app/ui/palette_popup.cpp b/src/app/ui/palette_popup.cpp
index b9f3649..4da7e0d 100644
--- a/src/app/ui/palette_popup.cpp
+++ b/src/app/ui/palette_popup.cpp
@@ -24,7 +24,7 @@
 #include "ui/theme.h"
 #include "ui/view.h"
 
-#include "generated_palette_popup.h"
+#include "palette_popup.xml.h"
 
 namespace app {
 
diff --git a/src/app/ui/select_accelerator.h b/src/app/ui/select_accelerator.h
index faea7f4..82171a8 100644
--- a/src/app/ui/select_accelerator.h
+++ b/src/app/ui/select_accelerator.h
@@ -12,7 +12,7 @@
 #include "app/ui/keyboard_shortcuts.h"
 #include "ui/accelerator.h"
 
-#include "generated_select_accelerator.h"
+#include "select_accelerator.xml.h"
 
 namespace app {
 
diff --git a/src/app/ui/skin/skin_theme.h b/src/app/ui/skin/skin_theme.h
index 60e7301..62861ff 100644
--- a/src/app/ui/skin/skin_theme.h
+++ b/src/app/ui/skin/skin_theme.h
@@ -16,7 +16,7 @@
 #include "ui/manager.h"
 #include "ui/theme.h"
 
-#include "generated_skin.h"
+#include "skin.xml.h"
 
 #include <map>
 #include <string>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list