godot/editor/plugins
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
..
SCsub Refactoring: rename tools/editor/ to editor/ 2017-03-05 14:21:25 +01:00
abstract_polygon_2d_editor.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
abstract_polygon_2d_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
animation_player_editor_plugin.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
animation_player_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
animation_tree_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
animation_tree_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
asset_library_editor_plugin.cpp Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
asset_library_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
baked_lightmap_editor_plugin.cpp -Remove color operator clamping, which is unnecesary. Fixes #15184, fixes #14686. 2018-01-12 00:08:32 -03:00
baked_lightmap_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
camera_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
camera_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas_item_editor_plugin.cpp Add a function to remove controls from containers 2018-02-19 22:18:22 +01:00
canvas_item_editor_plugin.h Add a function to remove controls from containers 2018-02-19 22:18:22 +01:00
collision_polygon_2d_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
collision_polygon_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
collision_polygon_editor_plugin.cpp Fix typos with codespell 2018-02-22 12:17:06 +01:00
collision_polygon_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
collision_shape_2d_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
collision_shape_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
cube_grid_theme_editor_plugin.cpp Changes the keep_margin parameter to true by default, so that people are not suprised that set_anchor changes the margins values 2018-01-15 10:37:13 +01:00
cube_grid_theme_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
curve_editor_plugin.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
curve_editor_plugin.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
editor_preview_plugins.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_preview_plugins.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gi_probe_editor_plugin.cpp -Remove color operator clamping, which is unnecesary. Fixes #15184, fixes #14686. 2018-01-12 00:08:32 -03:00
gi_probe_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gradient_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gradient_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
item_list_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
item_list_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
light_occluder_2d_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
light_occluder_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
line_2d_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
line_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
material_editor_plugin.cpp Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
material_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_instance_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_instance_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multimesh_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multimesh_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
navigation_mesh_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
navigation_mesh_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
navigation_mesh_generator.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
navigation_mesh_generator.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
navigation_polygon_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
navigation_polygon_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
particles_2d_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
particles_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
particles_editor_plugin.cpp Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
particles_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
path_2d_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
path_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
path_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
path_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
polygon_2d_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
polygon_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
resource_preloader_editor_plugin.cpp Display path to preloaded res + button to open it 2018-02-19 20:56:16 +01:00
resource_preloader_editor_plugin.h Display path to preloaded res + button to open it 2018-02-19 20:56:16 +01:00
script_editor_plugin.cpp Keep to show current script when closing all docs 2018-02-21 22:09:23 +01:00
script_editor_plugin.h Keep to show current script when closing all docs 2018-02-21 22:09:23 +01:00
script_text_editor.cpp Delete all selected lines using the delete line shortcut in script editor 2018-02-22 13:09:02 +01:00
script_text_editor.h Add special coloring to members, to make shadowing more obvious. 2018-01-12 11:01:09 -03:00
shader_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader_graph_editor_plugin.cpp Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
shader_graph_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
spatial_editor_plugin.cpp Enable snapping when control key pressed 2018-02-21 22:16:20 +01:00
spatial_editor_plugin.h Enable snapping when control key pressed 2018-02-21 22:16:20 +01:00
sprite_frames_editor_plugin.cpp Clean up some bad words from code comments 2018-02-22 12:22:41 +01:00
sprite_frames_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
style_box_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
style_box_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_editor_plugin.cpp Fix gradient texture preview 2018-02-19 22:13:45 +01:00
texture_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_region_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_region_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
theme_editor_plugin.cpp Refactor version macros and fix related bugs 2018-02-24 01:34:34 +01:00
theme_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tile_map_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tile_map_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tile_set_editor_plugin.cpp fix crash autotile edit mode 2018-02-19 22:30:13 +01:00
tile_set_editor_plugin.h Fix ObjectDB Instances still exist 2018-01-22 11:46:05 +07:00