[wesnoth-commits] [wesnoth/wesnoth] 4e66d0: store addon versions in version_info

Charles Dang noreply at github.com
Mon Nov 9 18:10:48 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4e66d0a7f109de1ca833ae387b2c537f76bab3c6
      https://github.com/wesnoth/wesnoth/commit/4e66d0a7f109de1ca833ae387b2c537f76bab3c6
  Author: kabachuha <artemkhrapov2001 at yandex.ru>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/addon/info.cpp
    M src/addon/info.hpp
    M src/addon/state.cpp
    M src/gui/widgets/addon_list.cpp

  Log Message:
  -----------
  store addon versions in version_info

The recent campaignd rework allowed addons to provide multiple versions. The local version_info will now store all avaible version names in descending order and also keep the current version which will be able to be selected from a menu or may be used to store info for local purposes.

The versions set is guaranteed to have at least one entry, which is current_version.


  Commit: ec19ddd1dbe18e20db7942d0defff7b490cbc613
      https://github.com/wesnoth/wesnoth/commit/ec19ddd1dbe18e20db7942d0defff7b490cbc613
  Author: kabachuha <artemkhrapov2001 at yandex.ru>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M data/gui/window/addon_manager.cfg
    M src/gui/dialogs/addon/manager.cpp

  Log Message:
  -----------
  display addon versions as a dropdown list


  Commit: 18668747f94ba70281f2709f842504f533f3d1ad
      https://github.com/wesnoth/wesnoth/commit/18668747f94ba70281f2709f842504f533f3d1ad
  Author: kabachuha <artemkhrapov2001 at yandex.ru>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/addon/client.cpp
    M src/addon/client.hpp
    M src/gui/dialogs/addon/manager.cpp

  Log Message:
  -----------
  add downloadable version selection for addons

Unfortunately, it requires making a copy of addon_info, but otherwise it needs a massive rewrite of client functions, so it will stay as a heavy todo for now.


  Commit: 6f8233cb9db087a00a8d65715b25675dc62e2504
      https://github.com/wesnoth/wesnoth/commit/6f8233cb9db087a00a8d65715b25675dc62e2504
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M data/gui/window/addon_manager.cfg
    M src/addon/client.cpp
    M src/addon/client.hpp
    M src/addon/info.cpp
    M src/addon/info.hpp
    M src/addon/state.cpp
    M src/gui/dialogs/addon/manager.cpp
    M src/gui/widgets/addon_list.cpp

  Log Message:
  -----------
  Merge pull request #5266 from kabachuha/addon_version_selector

Add addon version selection dropdown list


Compare: https://github.com/wesnoth/wesnoth/compare/2a96d87bf8b6...6f8233cb9db0



More information about the Commits mailing list