godot/editor
Rémi Verschelde 62ecb44035 Fix warning about functions defined but not used [-Wunused-function]
Fixes the following GCC 5 warnings:
```
core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function]
core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function]
editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function]
editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function]
modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function]
scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
```

Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword.

Not fixed yet (static definition in header used in some files but not all):
```
modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function]
```

Also fixed a couple other warnings missed in previous commits.
2018-09-29 22:26:12 +02:00
..
collada SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
doc SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
fileserver SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
icons SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
import Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
plugins Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
translations Misc. typos 2018-09-12 21:39:17 -04:00
animation_bezier_editor.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
animation_bezier_editor.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_track_editor_plugins.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_track_editor_plugins.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_track_editor.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
animation_track_editor.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
array_property_edit.cpp
array_property_edit.h
audio_stream_preview.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
audio_stream_preview.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
code_editor.cpp Fixed clicking on Find/Replace doesn't set the focus on the text field 2018-09-18 00:10:23 +02:00
code_editor.h Added system for GDScript warnings 2018-08-10 16:00:47 -03:00
connections_dialog.cpp Automatically add extra args to func when creating it from create signal window 2018-09-16 21:01:17 +02:00
connections_dialog.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
create_dialog.cpp Fixed favorite nodes list not being saved 2018-09-19 00:30:01 +02:00
create_dialog.h Add toggle for favorites in create_root_dialog. 2018-08-08 12:15:42 -05:00
dependency_editor.cpp Merge pull request #21426 from groud/add_files_to_tree_view 2018-09-20 18:32:13 +02:00
dependency_editor.h
dictionary_property_edit.cpp
dictionary_property_edit.h
editor_about.cpp Remove unnecessary "OK"s text settings 2018-09-15 21:40:50 -03:00
editor_about.h GDScript access to copyright, license, author and donor information. 2018-05-19 00:40:16 +01:00
editor_asset_installer.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_asset_installer.h
editor_audio_buses.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_audio_buses.h
editor_autoload_settings.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_autoload_settings.h Only add autoloads in editor if they have tool scripts 2018-05-22 13:26:13 -03:00
editor_builders.py Bundle SSL certs with the templates. 2018-09-15 10:54:00 +02:00
editor_data.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_data.h Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_dir_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_dir_dialog.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_export.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_export.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_file_dialog.cpp Fix warnings about unhandled enum value in switch [-Wswitch] 2018-09-27 18:34:30 +02:00
editor_file_dialog.h Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
editor_file_system.cpp Fix EditorSettings saving on draw calls 2018-09-19 21:37:55 -05:00
editor_file_system.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_fonts.cpp Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
editor_fonts.h
editor_help.cpp Fixed empty item slipping into Search Classes dialog 2018-09-17 12:41:47 +02:00
editor_help.h display some constants as hex 2018-08-21 17:13:16 -03:00
editor_inspector.cpp -Lightmap and lightmap capture support for GLES2 2018-09-28 20:33:18 -03:00
editor_inspector.h Replace last occurrences of PropertyEditor by EditorInspector 2018-09-11 16:09:19 +02:00
editor_log.cpp Fix warnings about unhandled enum value in switch [-Wswitch] 2018-09-27 18:34:30 +02:00
editor_log.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_name_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_name_dialog.h
editor_node.cpp Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
editor_node.h Reflection probe support in GLES2 back-end. 2018-09-28 16:42:47 -03:00
editor_path.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_path.h
editor_plugin_settings.cpp Add EditorPlugin descriptions to their tooltip 2018-09-14 12:21:09 -05:00
editor_plugin_settings.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_plugin.cpp Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
editor_plugin.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
editor_profiler.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_profiler.h Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
editor_properties_array_dict.cpp Merge pull request #22407 from DualMatrix/step_int 2018-09-28 10:39:50 +02:00
editor_properties_array_dict.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
editor_properties.cpp Merge pull request #22407 from DualMatrix/step_int 2018-09-28 10:39:50 +02:00
editor_properties.h Added step support when exporting integers. 2018-09-24 18:26:39 +02:00
editor_resource_preview.cpp Bugfixes on the filesystem dock 2018-09-14 13:59:19 +02:00
editor_resource_preview.h Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
editor_run_native.cpp
editor_run_native.h
editor_run_script.cpp
editor_run_script.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_run.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_run.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_scale.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_scale.h
editor_sectioned_inspector.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
editor_sectioned_inspector.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
editor_settings.cpp Added viewport border color setting for canvas item editor 2018-09-24 16:16:40 +03:00
editor_settings.h Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
editor_spin_slider.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
editor_spin_slider.h -Add Expression class, used to evaluate expressions 2018-08-08 17:35:23 -03:00
editor_sub_scene.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_sub_scene.h
editor_themes.cpp Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
editor_themes.h
export_template_manager.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
export_template_manager.h Remove cached .tpz archive after templates download and install 2018-08-13 12:46:02 +02:00
file_type_cache.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
file_type_cache.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
filesystem_dock.cpp Add thumbnails to the FileSystem file list 2018-09-28 13:26:36 +02:00
filesystem_dock.h Add thumbnails to the FileSystem file list 2018-09-28 13:26:36 +02:00
find_in_files.cpp Tweak some editor texts' capitalization, use "Go to" instead of "Goto" 2018-09-25 22:51:13 +02:00
find_in_files.h Find in Files improvements 2018-08-19 19:24:39 +01:00
groups_editor.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
groups_editor.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
import_dock.cpp Port ImportDock and ProjectExport to new property editor (2nd try) 2018-08-20 10:07:06 +02:00
import_dock.h Port ImportDock and ProjectExport to new property editor (2nd try) 2018-08-20 10:07:06 +02:00
inspector_dock.cpp Merge pull request #22131 from DualMatrix/unique_res 2018-09-20 15:35:23 +02:00
inspector_dock.h Massive rewrite to AnimationTree. Many APIs changed in order to: 2018-08-20 13:39:16 -03:00
multi_node_edit.cpp Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ 2018-09-23 14:58:15 +02:00
multi_node_edit.h
node_dock.cpp
node_dock.h
output_strings.cpp Perfect FreeType-based outlines for DynamicFonts 2018-05-08 13:45:24 +07:00
output_strings.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
pane_drag.cpp
pane_drag.h
plugin_config_dialog.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
plugin_config_dialog.h Add PluginConfigDialog, EditorPluginSettings GUI 2018-07-26 10:12:05 -05:00
progress_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
progress_dialog.h
project_export.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
project_export.h ExportDialog: Validate path before allowing export 2018-08-31 11:19:13 +02:00
project_manager.cpp Bundle SSL certs with the templates. 2018-09-15 10:54:00 +02:00
project_manager.h Add clear text button to LineEdit 2018-08-11 12:04:26 +02:00
project_settings_editor.cpp ProjectSettings: Fix InputMap editor on HiDPI 2018-09-14 18:11:55 +02:00
project_settings_editor.h Merge pull request #19837 from willnationsdev/plugin-utilities 2018-08-15 11:42:51 +02:00
property_editor.cpp Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ 2018-09-23 14:58:15 +02:00
property_editor.h Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ 2018-09-23 14:58:15 +02:00
property_selector.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
property_selector.h Entirely new (and much improved) animation editor. 2018-06-07 12:52:00 -03:00
pvrtc_compress.cpp Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
pvrtc_compress.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
quick_open.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
quick_open.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
register_exporters.h
rename_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
rename_dialog.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
reparent_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
reparent_dialog.h
run_settings_dialog.cpp
run_settings_dialog.h
scene_tree_dock.cpp Change viewport type after using create root menu 2018-09-20 10:44:58 +02:00
scene_tree_dock.h Add toggle for favorites in create_root_dialog. 2018-08-08 12:15:42 -05:00
scene_tree_editor.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
scene_tree_editor.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_create_dialog.cpp Prevent built-in-scripts from being made from FileSystem dock 2018-09-23 17:38:59 +02:00
script_create_dialog.h Prevent built-in-scripts from being made from FileSystem dock 2018-09-23 17:38:59 +02:00
script_editor_debugger.cpp Fixed Objects do not showing their drop down in debugger 2018-09-28 19:08:31 +02:00
script_editor_debugger.h Add expand/collapse all buttons for the "Errors" tab 2018-09-12 23:53:10 -03:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
settings_config_dialog.cpp Fix crash on colour theme change, issue 21715 2018-09-15 19:22:20 +01:00
settings_config_dialog.h Add clear text button to LineEdit 2018-08-11 12:04:26 +02:00
spatial_editor_gizmos.cpp Fix warnings on non-static data member initializers (C++11 feature) 2018-09-27 10:29:48 +02:00
spatial_editor_gizmos.h Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00