[Commits] [wesnoth/wesnoth] 077c66: New centralized library versions API

GitHub noreply at github.com
Thu Jul 9 06:25:19 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 077c66fdc0460bbb9c5bc32cb570bc50a2dbb81e
      https://github.com/wesnoth/wesnoth/commit/077c66fdc0460bbb9c5bc32cb570bc50a2dbb81e
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-09 (Thu, 09 Jul 2015)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M src/CMakeLists.txt
    M src/SConscript
    A src/build_info.cpp
    A src/build_info.hpp

  Log Message:
  -----------
  New centralized library versions API

Registers library versions in a single structure that can be queried
later as many times as necessary (say, from the game UI) instead of
relying on recording this information in different object files in an
inconsistent fashion. Also, it provides a pretty formatter for console
usage (e.g., in --version).

libpng also gets to join in the fun.


  Commit: 6ee669803b40bd97fbad1d56d1d52b4c933fcc3a
      https://github.com/wesnoth/wesnoth/commit/6ee669803b40bd97fbad1d56d1d52b4c933fcc3a
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-09 (Thu, 09 Jul 2015)

  Changed paths:
    M src/font.cpp
    M src/font.hpp
    M src/image.cpp
    M src/image.hpp
    M src/network.cpp
    M src/network.hpp
    M src/sound.cpp
    M src/sound.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Remove describe*_versions() functions, supersed by library_versions_report()

font::manager::init() had a call to the font::describe_versions()
function I just dropped since there's little point in having that line
there when one can just run wesnoth --version to get the full table now.


Compare: https://github.com/wesnoth/wesnoth/compare/a503066838fb...6ee669803b40


More information about the Commits mailing list