[wesnoth-commits] [wesnoth/wesnoth] d8f943: addon/mg: Turn _info.cfg writer into a public API

Iris Morelle noreply at github.com
Thu Dec 10 06:49:23 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d8f943664fb85ed0f03055ff5e7593f50f46eb18
      https://github.com/wesnoth/wesnoth/commit/d8f943664fb85ed0f03055ff5e7593f50f46eb18
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

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

  Log Message:
  -----------
  addon/mg: Turn _info.cfg writer into a public API

This reduces code duplication in the client proper resulting from the
addition of delta pack support, plus makes the overall procedure less
complicated since we don't have to inject a file into the pack before
unpacking it to disk.


  Commit: 220792dd07b525c9b925c8fdb811b3661578dd64
      https://github.com/wesnoth/wesnoth/commit/220792dd07b525c9b925c8fdb811b3661578dd64
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M changelog.md
    M src/addon/manager.cpp

  Log Message:
  -----------
  addon/mg: Ensure _info.cfg has an [info] node when reading it

Fixes the dreaded "Mandatory WML child missing yet untested for. Please
report" error occurring when reading _info.cfg files that don't have a
valid [info] tag. In particular, this would cause the game version
dialog to crash to desktop.


  Commit: 782ee9d7613c37cd5305577390b5b749af564a2a
      https://github.com/wesnoth/wesnoth/commit/782ee9d7613c37cd5305577390b5b749af564a2a
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M src/server/campaignd/server.cpp

  Log Message:
  -----------
  campaignd: Rephrase a few parts of the default license notice

Quite concerningly, people made a typo ('proscribed' instead of
'prescribed') which changes the meaning of the sentence in question
rather substantially.

Additionally, the situation with different versions of the GNU GPL
hasn't ever been quite clear -- in theory people could've used the GNU
GPL version 1 with content previously licensed under version 2 or later.
This change is meant to address this issue as well. Some redundant
wording has been removed in the process.

(Reviewed by Pentarctagon and Vultraz.)


Compare: https://github.com/wesnoth/wesnoth/compare/3ddff73675ca...782ee9d7613c



More information about the Commits mailing list