[wesnoth-commits] [wesnoth/wesnoth] b2ef8c: Add a deprecation message for something that has b...

Celtic Minstrel noreply at github.com
Mon Aug 16 03:48:30 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b2ef8cad8952012cbecc10fb740081d93ae22a1a
      https://github.com/wesnoth/wesnoth/commit/b2ef8cad8952012cbecc10fb740081d93ae22a1a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M src/ai/lua/engine_lua.cpp

  Log Message:
  -----------
  Add a deprecation message for something that has been deprecated since at least 1.14


  Commit: 20551f4dfc3c4a8687cb32e793426d84d46f145b
      https://github.com/wesnoth/wesnoth/commit/20551f4dfc3c4a8687cb32e793426d84d46f145b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M src/serialization/parser.cpp

  Log Message:
  -----------
  When writing WML, output preprocessor-safe strings

Basically, this means that the output will parse to the original value even if run through the preprocessor.


  Commit: 606e98e513c28b7d05c4bb572573a30453b73fbf
      https://github.com/wesnoth/wesnoth/commit/606e98e513c28b7d05c4bb572573a30453b73fbf
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M src/utils/optional_reference.hpp

  Log Message:
  -----------
  Make optional_reference bool conversion explicit

If this is non-explicit, then the following code:

optional_reference<config> ref = ...;
auto str = ref["key"]

results in ref being converted to bool and used as an index into the key string.


  Commit: 28d8c6a5f1064c6bfc133eaffb3217c1c3e68f0b
      https://github.com/wesnoth/wesnoth/commit/28d8c6a5f1064c6bfc133eaffb3217c1c3e68f0b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  Include deprecation info in preprocess-output-macros file


  Commit: 05b52cfefd15d3ad2a35cd702e0328fe895cdbed
      https://github.com/wesnoth/wesnoth/commit/05b52cfefd15d3ad2a35cd702e0328fe895cdbed
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M src/serialization/preprocessor.cpp
    M src/serialization/preprocessor.hpp

  Log Message:
  -----------
  Include optional arguments in preprocess-output-macros file

Fixes #4697


  Commit: 64d3392b3647052efa4d49875de9d876d0abf449
      https://github.com/wesnoth/wesnoth/commit/64d3392b3647052efa4d49875de9d876d0abf449
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  fix whitespace


Compare: https://github.com/wesnoth/wesnoth/compare/ed746b523e7a...64d3392b3647



More information about the Commits mailing list