Refactoring: rename tools/editor/ to editor/

The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.

(Manual redo of 49c065d29c)
This commit is contained in:
Rémi Verschelde 2017-03-18 23:45:45 +01:00
parent 9d2c0f6c6e
commit 1b0e2b0c39
1759 changed files with 31301 additions and 31301 deletions

12
.gitignore vendored
View File

@ -15,12 +15,12 @@ core/method_bind_ext.inc
core/script_encryption_key.cpp core/script_encryption_key.cpp
core/global_defaults.cpp core/global_defaults.cpp
drivers/unix/os_unix_global_settings_path.cpp drivers/unix/os_unix_global_settings_path.cpp
tools/editor/register_exporters.cpp editor/register_exporters.cpp
tools/editor/doc_data_compressed.h editor/doc_data_compressed.h
tools/editor/certs_compressed.h editor/certs_compressed.h
tools/editor/editor_icons.cpp editor/editor_icons.cpp
tools/editor/translations.h editor/translations.h
tools/editor/builtin_fonts.h editor/builtin_fonts.h
.fscache .fscache
make.bat make.bat
log.txt log.txt

View File

@ -183,7 +183,7 @@ Help(opts.GenerateHelpText(env_base)) # generate help
# add default include paths # add default include paths
env_base.Append(CPPPATH=['#core', '#core/math', '#tools', '#drivers', '#']) env_base.Append(CPPPATH=['#core', '#core/math', '#editor', '#drivers', '#'])
# configure ENV for platform # configure ENV for platform
env_base.platform_exporters = platform_exporters env_base.platform_exporters = platform_exporters
@ -359,7 +359,7 @@ if selected_platform in platform_list:
SConscript("core/SCsub") SConscript("core/SCsub")
SConscript("servers/SCsub") SConscript("servers/SCsub")
SConscript("scene/SCsub") SConscript("scene/SCsub")
SConscript("tools/editor/SCsub") SConscript("editor/SCsub")
SConscript("drivers/SCsub") SConscript("drivers/SCsub")
SConscript("modules/SCsub") SConscript("modules/SCsub")

View File

@ -146,12 +146,12 @@ if (env["tools"] == "yes"):
f.close() f.close()
# API documentation # API documentation
env.Depends("#tools/editor/doc_data_compressed.h", "#doc/base/classes.xml") env.Depends("#editor/doc_data_compressed.h", "#doc/base/classes.xml")
env.Command("#tools/editor/doc_data_compressed.h", "#doc/base/classes.xml", make_doc_header) env.Command("#editor/doc_data_compressed.h", "#doc/base/classes.xml", make_doc_header)
# Certificates # Certificates
env.Depends("#tools/editor/certs_compressed.h", "#thirdparty/certs/ca-certificates.crt") env.Depends("#editor/certs_compressed.h", "#thirdparty/certs/ca-certificates.crt")
env.Command("#tools/editor/certs_compressed.h", "#thirdparty/certs/ca-certificates.crt", make_certs_header) env.Command("#editor/certs_compressed.h", "#thirdparty/certs/ca-certificates.crt", make_certs_header)
import glob import glob
path = env.Dir('.').abspath path = env.Dir('.').abspath
@ -159,15 +159,15 @@ if (env["tools"] == "yes"):
# Translations # Translations
tlist = glob.glob(path + "/translations/*.po") tlist = glob.glob(path + "/translations/*.po")
print("translations: ", tlist) print("translations: ", tlist)
env.Depends('#tools/editor/translations.h', tlist) env.Depends('#editor/translations.h', tlist)
env.Command('#tools/editor/translations.h', tlist, make_translations_header) env.Command('#editor/translations.h', tlist, make_translations_header)
# Fonts # Fonts
flist = glob.glob(path + "/../../thirdparty/fonts/*.ttf") flist = glob.glob(path + "/../thirdparty/fonts/*.ttf")
flist.append(glob.glob(path + "/../../thirdparty/fonts/*.otf")) flist.append(glob.glob(path + "/../thirdparty/fonts/*.otf"))
print("fonts: ", flist) print("fonts: ", flist)
env.Depends('#tools/editor/builtin_fonts.h', flist) env.Depends('#editor/builtin_fonts.h', flist)
env.Command('#tools/editor/builtin_fonts.h', flist, make_fonts_header) env.Command('#editor/builtin_fonts.h', flist, make_fonts_header)
env.add_source_files(env.editor_sources, "*.cpp") env.add_source_files(env.editor_sources, "*.cpp")

View File

@ -34,7 +34,7 @@
#include "pair.h" #include "pair.h"
#include "scene/gui/separator.h" #include "scene/gui/separator.h"
#include "editor_node.h" #include "editor_node.h"
#include "tools/editor/plugins/animation_player_editor_plugin.h" #include "editor/plugins/animation_player_editor_plugin.h"
#include "scene/main/viewport.h" #include "scene/main/viewport.h"
/* Missing to fix: /* Missing to fix:

View File

@ -34,7 +34,7 @@
#include "scene/gui/tree.h" #include "scene/gui/tree.h"
#include "scene/gui/label.h" #include "scene/gui/label.h"
#include "scene/gui/line_edit.h" #include "scene/gui/line_edit.h"
#include "tools/editor/property_editor.h" #include "editor/property_editor.h"
/** /**
@author Juan Linietsky <reduzio@gmail.com> @author Juan Linietsky <reduzio@gmail.com>
*/ */

View File

@ -32,7 +32,7 @@
#include "scene/gui/separator.h" #include "scene/gui/separator.h"
#include "scene/resources/dynamic_font.h" #include "scene/resources/dynamic_font.h"
#include "os/keyboard.h" #include "os/keyboard.h"
#include "tools/editor/editor_scale.h" #include "editor/editor_scale.h"
void GotoLineDialog::popup_find_line(TextEdit *p_edit) { void GotoLineDialog::popup_find_line(TextEdit *p_edit) {

View File

@ -29,7 +29,7 @@
#ifndef CODE_EDITOR_H #ifndef CODE_EDITOR_H
#define CODE_EDITOR_H #define CODE_EDITOR_H
#include "tools/editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/gui/text_edit.h" #include "scene/gui/text_edit.h"
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
#include "scene/main/timer.h" #include "scene/main/timer.h"

View File

@ -36,8 +36,8 @@
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
#include "scene/gui/menu_button.h" #include "scene/gui/menu_button.h"
#include "scene/gui/line_edit.h" #include "scene/gui/line_edit.h"
#include "tools/editor/scene_tree_editor.h" #include "editor/scene_tree_editor.h"
#include "tools/editor/property_editor.h" #include "editor/property_editor.h"
#include "undo_redo.h" #include "undo_redo.h"
/** /**

View File

@ -29,7 +29,7 @@
#ifndef EDITOR_DATA_H #ifndef EDITOR_DATA_H
#define EDITOR_DATA_H #define EDITOR_DATA_H
#include "tools/editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/resources/texture.h" #include "scene/resources/texture.h"
#include "list.h" #include "list.h"
#include "undo_redo.h" #include "undo_redo.h"

View File

@ -29,8 +29,8 @@
#include "editor_dir_dialog.h" #include "editor_dir_dialog.h"
#include "os/os.h" #include "os/os.h"
#include "os/keyboard.h" #include "os/keyboard.h"
#include "tools/editor/editor_settings.h" #include "editor/editor_settings.h"
#include "tools/editor/editor_file_system.h" #include "editor/editor_file_system.h"
void EditorDirDialog::_update_dir(TreeItem* p_item) { void EditorDirDialog::_update_dir(TreeItem* p_item) {

View File

@ -2,7 +2,7 @@
#define EDITOR_EXPORT_GODOT3_H #define EDITOR_EXPORT_GODOT3_H
#include "scene/main/node.h" #include "scene/main/node.h"
#include "tools/editor/editor_file_system.h" #include "editor/editor_file_system.h"
#include "io/export_data.h" #include "io/export_data.h"
class EditorExportGodot3 { class EditorExportGodot3 {

View File

@ -31,7 +31,7 @@
#include "editor_settings.h" #include "editor_settings.h"
#include "os/keyboard.h" #include "os/keyboard.h"
#include "doc_data_compressed.h" #include "doc_data_compressed.h"
#include "tools/editor/plugins/script_editor_plugin.h" #include "editor/plugins/script_editor_plugin.h"
#include "os/keyboard.h" #include "os/keyboard.h"

View File

@ -29,7 +29,7 @@
#ifndef EDITOR_HELP_H #ifndef EDITOR_HELP_H
#define EDITOR_HELP_H #define EDITOR_HELP_H
#include "tools/editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/gui/tab_container.h" #include "scene/gui/tab_container.h"
#include "scene/gui/text_edit.h" #include "scene/gui/text_edit.h"
#include "scene/gui/split_container.h" #include "scene/gui/split_container.h"
@ -39,8 +39,8 @@
#include "scene/gui/tree.h" #include "scene/gui/tree.h"
#include "scene/main/timer.h" #include "scene/main/timer.h"
#include "tools/editor/code_editor.h" #include "editor/code_editor.h"
#include "tools/editor/doc/doc_data.h" #include "editor/doc/doc_data.h"
class EditorNode; class EditorNode;

View File

@ -32,7 +32,7 @@
#include "globals.h" #include "globals.h"
#include "os/file_access.h" #include "os/file_access.h"
#include "os/dir_access.h" #include "os/dir_access.h"
#include "tools/editor/editor_file_system.h" #include "editor/editor_file_system.h"
#include "io/resource_loader.h" #include "io/resource_loader.h"
#include "editor_node.h" #include "editor_node.h"
#include "editor_settings.h" #include "editor_settings.h"
@ -40,7 +40,7 @@
#include "io/resource_saver.h" #include "io/resource_saver.h"
#include "io/md5.h" #include "io/md5.h"
#include "io_plugins/editor_texture_import_plugin.h" #include "io_plugins/editor_texture_import_plugin.h"
#include "tools/editor/plugins/script_editor_plugin.h" #include "editor/plugins/script_editor_plugin.h"
#include "io/zip_io.h" #include "io/zip_io.h"

View File

@ -100,14 +100,14 @@
#include "plugins/collision_shape_2d_editor_plugin.h" #include "plugins/collision_shape_2d_editor_plugin.h"
#include "main/input_default.h" #include "main/input_default.h"
// end // end
#include "tools/editor/io_plugins/editor_texture_import_plugin.h" #include "editor/io_plugins/editor_texture_import_plugin.h"
#include "tools/editor/io_plugins/editor_scene_import_plugin.h" #include "editor/io_plugins/editor_scene_import_plugin.h"
#include "tools/editor/io_plugins/editor_font_import_plugin.h" #include "editor/io_plugins/editor_font_import_plugin.h"
#include "tools/editor/io_plugins/editor_sample_import_plugin.h" #include "editor/io_plugins/editor_sample_import_plugin.h"
#include "tools/editor/io_plugins/editor_translation_import_plugin.h" #include "editor/io_plugins/editor_translation_import_plugin.h"
#include "tools/editor/io_plugins/editor_bitmask_import_plugin.h" #include "editor/io_plugins/editor_bitmask_import_plugin.h"
#include "tools/editor/io_plugins/editor_mesh_import_plugin.h" #include "editor/io_plugins/editor_mesh_import_plugin.h"
#include "tools/editor/io_plugins/editor_export_scene.h" #include "editor/io_plugins/editor_export_scene.h"
#include "plugins/editor_preview_plugins.h" #include "plugins/editor_preview_plugins.h"
#include "editor_initialize_ssl.h" #include "editor_initialize_ssl.h"

View File

@ -42,40 +42,40 @@
#include "scene/gui/split_container.h" #include "scene/gui/split_container.h"
#include "scene/gui/center_container.h" #include "scene/gui/center_container.h"
#include "scene/gui/texture_progress.h" #include "scene/gui/texture_progress.h"
#include "tools/editor/filesystem_dock.h" #include "editor/filesystem_dock.h"
#include "tools/editor/scene_tree_editor.h" #include "editor/scene_tree_editor.h"
#include "tools/editor/property_editor.h" #include "editor/property_editor.h"
#include "tools/editor/create_dialog.h" #include "editor/create_dialog.h"
#include "tools/editor/call_dialog.h" #include "editor/call_dialog.h"
#include "tools/editor/reparent_dialog.h" #include "editor/reparent_dialog.h"
#include "tools/editor/connections_dialog.h" #include "editor/connections_dialog.h"
#include "tools/editor/node_dock.h" #include "editor/node_dock.h"
#include "tools/editor/settings_config_dialog.h" #include "editor/settings_config_dialog.h"
#include "tools/editor/groups_editor.h" #include "editor/groups_editor.h"
#include "tools/editor/editor_data.h" #include "editor/editor_data.h"
#include "tools/editor/editor_path.h" #include "editor/editor_path.h"
#include "tools/editor/editor_run.h" #include "editor/editor_run.h"
#include "tools/editor/pane_drag.h" #include "editor/pane_drag.h"
#include "tools/editor/script_create_dialog.h" #include "editor/script_create_dialog.h"
#include "tools/editor/run_settings_dialog.h" #include "editor/run_settings_dialog.h"
#include "tools/editor/project_settings.h" #include "editor/project_settings.h"
#include "tools/editor/project_export.h" #include "editor/project_export.h"
#include "tools/editor/editor_log.h" #include "editor/editor_log.h"
#include "tools/editor/scene_tree_dock.h" #include "editor/scene_tree_dock.h"
#include "tools/editor/resources_dock.h" #include "editor/resources_dock.h"
#include "tools/editor/editor_run_script.h" #include "editor/editor_run_script.h"
#include "tools/editor/editor_run_native.h" #include "editor/editor_run_native.h"
#include "scene/gui/tabs.h" #include "scene/gui/tabs.h"
#include "tools/editor/quick_open.h" #include "editor/quick_open.h"
#include "tools/editor/project_export.h" #include "editor/project_export.h"
#include "tools/editor/editor_sub_scene.h" #include "editor/editor_sub_scene.h"
#include "editor_import_export.h" #include "editor_import_export.h"
#include "editor_reimport_dialog.h" #include "editor_reimport_dialog.h"
#include "tools/editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "tools/editor/editor_name_dialog.h" #include "editor/editor_name_dialog.h"
#include "fileserver/editor_file_server.h" #include "fileserver/editor_file_server.h"
#include "editor_resource_preview.h" #include "editor_resource_preview.h"

View File

@ -30,8 +30,8 @@
#include "scene/3d/camera.h" #include "scene/3d/camera.h"
#include "plugins/canvas_item_editor_plugin.h" #include "plugins/canvas_item_editor_plugin.h"
#include "plugins/spatial_editor_plugin.h" #include "plugins/spatial_editor_plugin.h"
#include "tools/editor/editor_node.h" #include "editor/editor_node.h"
#include "tools/editor/editor_settings.h" #include "editor/editor_settings.h"
void EditorPlugin::add_custom_type(const String& p_type, const String& p_base,const Ref<Script>& p_script, const Ref<Texture>& p_icon) { void EditorPlugin::add_custom_type(const String& p_type, const String& p_base,const Ref<Script>& p_script, const Ref<Texture>& p_icon) {

View File

@ -31,7 +31,7 @@
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
#include "scene/gui/tree.h" #include "scene/gui/tree.h"
#include "tools/editor/editor_file_dialog.h" #include "editor/editor_file_dialog.h"
class EditorSubScene : public ConfirmationDialog { class EditorSubScene : public ConfirmationDialog {

View File

Before

Width:  |  Height:  |  Size: 581 B

After

Width:  |  Height:  |  Size: 581 B

View File

Before

Width:  |  Height:  |  Size: 151 B

After

Width:  |  Height:  |  Size: 151 B

View File

Before

Width:  |  Height:  |  Size: 151 B

After

Width:  |  Height:  |  Size: 151 B

View File

Before

Width:  |  Height:  |  Size: 816 B

After

Width:  |  Height:  |  Size: 816 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More