[Commits] [wesnoth/wesnoth] b4b544: Some fixes to the Lua deprecation API, and extend ...
GitHub
noreply at github.com
Mon Feb 12 04:42:30 UTC 2018
Branch: refs/heads/deprecation
Home: https://github.com/wesnoth/wesnoth
Commit: b4b54405a9147c16fa7ac691f0a5619ade79a46e
https://github.com/wesnoth/wesnoth/commit/b4b54405a9147c16fa7ac691f0a5619ade79a46e
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-02-11 (Sun, 11 Feb 2018)
Changed paths:
M data/lua/core.lua
M projectfiles/VC12/wesnoth.vcxproj
M projectfiles/VC12/wesnoth.vcxproj.filters
M projectfiles/VC12/wesnothlib.vcxproj
M projectfiles/VC12/wesnothlib.vcxproj.filters
M source_lists/libwesnoth
M source_lists/wesnoth
A src/deprecation.cpp
A src/deprecation.hpp
M src/formula/formula.cpp
M src/formula/string_utils.cpp
M src/formula/string_utils.hpp
Log Message:
-----------
Some fixes to the Lua deprecation API, and extend it to C++
* Some improvements to the messages
* Don't clobber existing metatables on deprecated subtables
* Fix Lua deprecation messages not even being logged
* Fix deprecation of Lua subtables
* Don't clobber the metatable when deprecating a subtable
Commit: 117ddc09cc87d5bf4f356c4959c162ec26f3d848
https://github.com/wesnoth/wesnoth/commit/117ddc09cc87d5bf4f356c4959c162ec26f3d848
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-02-11 (Sun, 11 Feb 2018)
Changed paths:
M data/core/macros/deprecated-utils.cfg
M src/serialization/preprocessor.cpp
M src/serialization/preprocessor.hpp
Log Message:
-----------
Add #deprecated preprocessor directive for marking macros deprecated
Commit: fc3c693662e27d2653aeed81ea5d0eecfe540607
https://github.com/wesnoth/wesnoth/commit/fc3c693662e27d2653aeed81ea5d0eecfe540607
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-02-11 (Sun, 11 Feb 2018)
Changed paths:
M src/scripting/lua_common.cpp
M src/scripting/lua_common.hpp
Log Message:
-----------
Utility function that I didn't end up using but which could be useful elsewhere
Compare: https://github.com/wesnoth/wesnoth/compare/37bf0e005e3e...fc3c693662e2
More information about the Commits
mailing list