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

Celtic Minstrel noreply at github.com
Mon Aug 2 05:01:02 UTC 2021


  Branch: refs/heads/celmin
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4aadecaf24b46ad31ab8462af403c5726fd7e943
      https://github.com/wesnoth/wesnoth/commit/4aadecaf24b46ad31ab8462af403c5726fd7e943
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 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: 72d5c7ec3a7758a14c3e2ae4ee347f3d69bc04ad
      https://github.com/wesnoth/wesnoth/commit/72d5c7ec3a7758a14c3e2ae4ee347f3d69bc04ad
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 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: ed6de539d6809d288172a93df8dfb34f22955897
      https://github.com/wesnoth/wesnoth/commit/ed6de539d6809d288172a93df8dfb34f22955897
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 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: 63b9494966287232c09158a75b03a6a659186b5a
      https://github.com/wesnoth/wesnoth/commit/63b9494966287232c09158a75b03a6a659186b5a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M src/serialization/preprocessor.cpp

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


  Commit: 0bbb720b0dbdd8e32be52f25d5b129b2e1bbfd53
      https://github.com/wesnoth/wesnoth/commit/0bbb720b0dbdd8e32be52f25d5b129b2e1bbfd53
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 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: fce7a7c64878fd5682b2b245b424dc9ad30e1b9a
      https://github.com/wesnoth/wesnoth/commit/fce7a7c64878fd5682b2b245b424dc9ad30e1b9a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M src/serialization/preprocessor.cpp

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


Compare: https://github.com/wesnoth/wesnoth/compare/50828e24a577...fce7a7c64878



More information about the Commits mailing list