godot/platform/windows
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
..
export Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
context_gl_win.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
context_gl_win.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
crash_handler_win.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
crash_handler_win.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
ctxgl_procaddr.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
ctxgl_procaddr.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
detect.py Fix typos with codespell 2018-02-21 19:46:06 +01:00
godot.ico Make the Windows icon file smaller 2017-06-20 14:38:50 +02:00
godot_res.rc Refactor version macros and fix related bugs 2018-02-23 20:15:29 +01:00
godot_win.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
joypad.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
joypad.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
key_mapping_win.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
key_mapping_win.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
lang_table.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
logo.png Fixed iCCp chunk in pngs 2016-06-22 21:13:29 +02:00
os_windows.cpp Merge pull request #15564 from RandomShaper/adpod-topmost 2018-02-14 16:43:40 +01:00
os_windows.h Merge pull request #15564 from RandomShaper/adpod-topmost 2018-02-14 16:43:40 +01:00
platform_config.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
power_windows.cpp Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
power_windows.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
SCsub PEP3101 applied with changing old type string formatting as new ones 2018-02-14 19:29:25 +03:00
windows_terminal_logger.cpp Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
windows_terminal_logger.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00