virtualx-engine/editor
Rémi Verschelde d79a7a2773 Refactor version macros and fix related bugs
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).

The new logic defines:

- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
  depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
  and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
  (e.g. official, custom_build, mageia, etc.)
  Note: Slight change here, as the previous format had the build name
  *before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
  with "Godot v" for readability

Bugs fixed thanks to that:

- Export templates version matching now properly takes VERSION_PATCH
  into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
  itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
  for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.

(cherry picked from commit 23ebae01dc)
2018-02-24 01:34:34 +01:00
..
collada Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
doc Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
fileserver Display set_nodelay to GDScript 2018-02-04 20:02:04 +01:00
icons Icons update 2018-02-22 12:02:02 +01:00
import Fix typos with codespell 2018-02-22 12:17:06 +01:00
plugins Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
translations i18n: Sync translation templates with current source 2018-02-22 18:47:07 +01:00
animation_editor.cpp Clean up some bad words from code comments 2018-02-22 12:22:41 +01:00
animation_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
array_property_edit.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
array_property_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
code_editor.cpp Fix find/replace bar 2018-01-18 09:08:01 +09:00
code_editor.h Fix find/replace bar 2018-01-18 09:08:01 +09:00
connections_dialog.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
connections_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
create_dialog.cpp Select root node if search_box is empty in create_dialog 2018-02-19 20:47:44 +01:00
create_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dependency_editor.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
dependency_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dictionary_property_edit.cpp Fix typos with codespell 2018-02-22 12:17:06 +01:00
dictionary_property_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_about.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_about.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_asset_installer.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_asset_installer.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_audio_buses.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_audio_buses.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_autoload_settings.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_autoload_settings.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
editor_data.cpp Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification. 2018-01-12 08:29:24 -03:00
editor_data.h Fixes #15416 - "The deleted nodes are hanging in the inspector." 2018-01-08 03:12:41 -05:00
editor_dir_dialog.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_dir_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_export.cpp Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
editor_export.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_file_dialog.cpp Icons update 2018-02-22 12:02:02 +01:00
editor_file_dialog.h Fixes open button not appearing with multiple selection 2018-02-19 22:13:44 +01:00
editor_file_system.cpp Make sure .import folder exists before importing, in case user deleted it manually. Fixes #15315 2018-01-05 17:30:29 -03:00
editor_file_system.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_fonts.cpp Set source code font with ttf, otf 2018-01-08 05:12:39 +09:00
editor_fonts.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_help.cpp Fix for a possible compile error under OS X 2018-02-19 22:24:57 +01:00
editor_help.h Fix for a possible compile error under OS X 2018-02-19 22:24:57 +01:00
editor_initialize_ssl.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_initialize_ssl.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_log.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_log.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_name_dialog.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_name_dialog.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
editor_node.cpp Fix typos with codespell 2018-02-22 12:17:06 +01:00
editor_node.h Added an auto quit and auto build flag to the command line options. 2018-02-21 21:56:37 +01:00
editor_path.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_path.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_plugin.cpp Add a function to remove controls from containers 2018-02-19 22:18:22 +01:00
editor_plugin.h Add a function to remove controls from containers 2018-02-19 22:18:22 +01:00
editor_plugin_settings.cpp Remove unused variable from plugin settings update 2018-02-19 23:15:56 +01:00
editor_plugin_settings.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_profiler.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_profiler.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_resource_preview.cpp Clean up some bad words from code comments 2018-02-22 12:22:41 +01:00
editor_resource_preview.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run_native.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run_native.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run_script.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run_script.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_scale.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_scale.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_settings.cpp maximum recent files increment fix 2018-01-25 00:52:49 +03:00
editor_settings.h Fix inconsistencies and typos in argument names 2018-02-04 20:10:13 +01:00
editor_sub_scene.cpp Fix inconsistencies and typos in argument names 2018-02-04 20:10:13 +01:00
editor_sub_scene.h Fix inconsistencies and typos in argument names 2018-02-04 20:10:13 +01:00
editor_themes.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
editor_themes.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
export_template_manager.cpp Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
export_template_manager.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
file_type_cache.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
file_type_cache.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
filesystem_dock.cpp Fixing folder/file case sensitive renaming issue 2018-02-19 22:47:39 +01:00
filesystem_dock.h Expand project root directory on editor start 2018-02-04 20:09:26 +01:00
groups_editor.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
groups_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
import_dock.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
import_dock.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multi_node_edit.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multi_node_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
node_dock.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
node_dock.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
output_strings.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
output_strings.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pane_drag.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pane_drag.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
progress_dialog.cpp -Remove color operator clamping, which is unnecesary. Fixes #15184, fixes #14686. 2018-01-12 00:08:32 -03:00
progress_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
project_export.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
project_export.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
project_manager.cpp Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
project_manager.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
project_settings_editor.cpp Fix UX with project settings search functionality 2018-02-19 22:13:45 +01:00
project_settings_editor.h Fix UX with project settings search functionality 2018-02-19 22:13:45 +01:00
property_editor.cpp Re-enabled type icons. 2018-02-19 20:48:36 +01:00
property_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
property_selector.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
property_selector.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pvrtc_compress.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pvrtc_compress.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
quick_open.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
quick_open.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
register_exporters.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
reparent_dialog.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
reparent_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
run_settings_dialog.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
run_settings_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scene_tree_dock.cpp disable scene tree shortcuts when in a textfield 2018-02-19 22:13:45 +01:00
scene_tree_dock.h Fixes add script button update 2018-01-11 22:22:32 +01:00
scene_tree_editor.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scene_tree_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
script_create_dialog.cpp Revert "Fix "Attach Node Script" inherits popup type" 2018-01-09 16:15:22 +01:00
script_create_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
script_editor_debugger.cpp Made the Debugger's Stack Frames items reselectable. 2018-02-22 12:18:45 +01:00
script_editor_debugger.h Fix #16543 (add button to copy error from debugger) 2018-02-19 22:17:26 +01:00
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
settings_config_dialog.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
settings_config_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
spatial_editor_gizmos.cpp Draw the Camera gizmo more accurately 2018-02-19 22:13:45 +01:00
spatial_editor_gizmos.h Fix inconsistencies and typos in argument names 2018-02-04 20:10:13 +01:00