godot/scene/resources
Rémi Verschelde 23ebae01dc 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.
2018-02-23 20:15:29 +01:00
..
default_theme set a better initial size to TextEdit nodes 2018-01-11 12:11:44 +01:00
animation.cpp Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
animation.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
audio_stream_sample.cpp Expose audio streams get_length() 2018-01-22 20:35:33 +01:00
audio_stream_sample.h Expose audio streams get_length() 2018-01-22 20:35:33 +01:00
bit_mask.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
bit_mask.h Fix typos with codespell 2018-02-21 19:46:06 +01:00
bounds.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
bounds.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
box_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
box_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
color_ramp.cpp Gradient: fix wrong property type 2018-02-03 22:38:54 +07:00
color_ramp.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
concave_polygon_shape.h Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
convex_polygon_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
curve.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
curve.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dynamic_font_stb.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dynamic_font_stb.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dynamic_font.cpp Merge pull request #15780 from volzhs/emoji 2018-02-19 21:51:53 +01:00
dynamic_font.h Merge pull request #15780 from volzhs/emoji 2018-02-19 21:51:53 +01:00
environment.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
environment.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
font.cpp BMFont loading direct support from .fnt files. 2018-01-16 17:58:04 -03:00
font.h BMFont loading direct support from .fnt files. 2018-01-16 17:58:04 -03:00
material.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
material.h Fix typos with codespell 2018-02-21 19:46:06 +01:00
mesh_data_tool.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_data_tool.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_library.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_library.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh.cpp Expose 'lightmap_unwrap' method to the scripting engine. 2018-01-17 03:39:06 +00:00
mesh.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multimesh.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
multimesh.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
packed_scene.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
packed_scene.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
plane_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
plane_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
polygon_path_finder.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
polygon_path_finder.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
primitive_meshes.cpp Change primitive meshes acccuracy value 2018-01-09 13:41:59 +01:00
primitive_meshes.h Fix typos with codespell 2018-02-21 19:46:06 +01:00
ray_shape.cpp Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
ray_shape.h Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
rectangle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rectangle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scene_format_text.cpp Refactor version macros and fix related bugs 2018-02-23 20:15:29 +01:00
scene_format_text.h Ability to import .escn files, which is just a .tscn but with forced import. 2018-01-30 11:04:22 -03:00
SCsub Move other lone thirdparty files to thirdparty/misc 2017-04-28 21:19:25 +02:00
segment_shape_2d.cpp Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
segment_shape_2d.h Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
shader_graph.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
shader_graph.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_line_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_line_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sky_box.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sky_box.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
space_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
space_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sphere_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sphere_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
style_box.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
style_box.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
surface_tool.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
surface_tool.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture.cpp Fix texture import spelling 2018-02-03 18:38:39 +00:00
texture.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
theme.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
theme.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tile_set.cpp Tileset Editor Improvement 2018-02-20 22:33:59 +07:00
tile_set.h Tileset Editor Improvement 2018-02-20 22:33:59 +07:00
video_stream.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
video_stream.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
world_2d.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
world_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
world.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
world.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00