[wesnoth-commits] [wesnoth/wesnoth] 1fe163: Fix deprecation spam
GitHub
noreply at github.com
Sun Mar 4 18:41:15 UTC 2018
Branch: refs/heads/fix_deprecation_spam
Home: https://github.com/wesnoth/wesnoth
Commit: 1fe16360a4eddb77a0d287b7ae72727ce90958f3
https://github.com/wesnoth/wesnoth/commit/1fe16360a4eddb77a0d287b7ae72727ce90958f3
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-03-04 (Sun, 04 Mar 2018)
Changed paths:
M data/lua/core.lua
M src/deprecation.cpp
M src/deprecation.hpp
M src/log.cpp
M src/log.hpp
M src/scripting/lua_common.cpp
M src/scripting/lua_common.hpp
M src/scripting/lua_kernel_base.cpp
Log Message:
-----------
Fix deprecation spam
This removes the Lua deprecation_message function in favour of exposing the C++ variant to Lua instead.
It also moves all deprecation messages to a separate logdomain, making them easily enabled en masse.
Commit: 3b215b5ccb9a1742b5ab4890386bbcf83716e6b4
https://github.com/wesnoth/wesnoth/commit/3b215b5ccb9a1742b5ab4890386bbcf83716e6b4
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-03-04 (Sun, 04 Mar 2018)
Changed paths:
M src/gui/dialogs/log_settings.cpp
Log Message:
-----------
Fix crash in logging prefs due to deprecation's default -1 severity
Commit: ce6c9fec1beb8ae3b95509017ae85ed23ace4223
https://github.com/wesnoth/wesnoth/commit/ce6c9fec1beb8ae3b95509017ae85ed23ace4223
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-03-04 (Sun, 04 Mar 2018)
Changed paths:
M src/commandline_options.cpp
Log Message:
-----------
Add --log-none command line option to disable ALL output from a logdomain
Commit: 6df942ff57ef3864e0747c8abe3a89ffecf1c10a
https://github.com/wesnoth/wesnoth/commit/6df942ff57ef3864e0747c8abe3a89ffecf1c10a
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-03-04 (Sun, 04 Mar 2018)
Changed paths:
M src/game_config.cpp
M src/game_config.hpp
M src/game_launcher.cpp
M src/help/help_impl.cpp
M src/help/help_impl.hpp
M src/menu_events.cpp
M src/wesnoth.cpp
Log Message:
-----------
Boost deprecation logdomain severity when debug mode is enabled
Commit: 3c383ed45bec06bcb8dc1ca1e6382ed02f41d46d
https://github.com/wesnoth/wesnoth/commit/3c383ed45bec06bcb8dc1ca1e6382ed02f41d46d
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2018-03-04 (Sun, 04 Mar 2018)
Changed paths:
M data/advanced_preferences.cfg
M src/deprecation.cpp
Log Message:
-----------
Add hidden preference to show deprecation messages in chat area
In 1.15 the preference will be added to the advanced preferences pane.
Compare: https://github.com/wesnoth/wesnoth/compare/e84160a7d25d...3c383ed45bec
More information about the Commits
mailing list