[wesnoth-commits] [wesnoth/wesnoth] 8c71ec: Fix indentation

Iris Morelle noreply at github.com
Tue Nov 10 00:22:16 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8c71ec2adc451856eabdc9cb44fce939a480979a
      https://github.com/wesnoth/wesnoth/commit/8c71ec2adc451856eabdc9cb44fce939a480979a
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/commandline_options.hpp

  Log Message:
  -----------
  Fix indentation


  Commit: 145c986a5c2105accb464a35fedfa93edf251b56
      https://github.com/wesnoth/wesnoth/commit/145c986a5c2105accb464a35fedfa93edf251b56
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M source_lists/libwesnoth_core
    A src/commandline_argv.cpp
    A src/commandline_argv.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Move argv repackaging logic out of wesnoth.cpp

This includes all the Win32-specific code dealing with the retrieval of
the UTF-16 version of the command line and subsequent parsing into an
array of UTF-8 strings.

The latter code is unchanged except for the function names and one local
variable originally named `is_excaped` instead of `is_escaped`.

(Note to self: ask gfgtdf if he was aware of the existence of
CommandLineToArgvW() back when he wrote the Win32 command line retrieval
logic.)


  Commit: 227738cb6f5703ce41fa0c461cffd50c4d588714
      https://github.com/wesnoth/wesnoth/commit/227738cb6f5703ce41fa0c461cffd50c4d588714
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M SConstruct
    M source_lists/campaignd
    M src/commandline_argv.cpp
    A src/server/campaignd/options.cpp
    A src/server/campaignd/options.hpp
    M src/server/campaignd/server.cpp

  Log Message:
  -----------
  campaignd: Command line processing w/ Boost.program_options

This also adds a few utility switches which people are probably already
familiarized with from the game proper. Most notably this means I don't
need to alter and recompile campaignd any time I want different logging
settings.

There's some functionality commented out in this commit while I figure
out how to wire it into the campaignd server class.


  Commit: e795de8de2758feb45537588fb6a0252bd88df0d
      https://github.com/wesnoth/wesnoth/commit/e795de8de2758feb45537588fb6a0252bd88df0d
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/filesystem.cpp
    M src/filesystem.hpp

  Log Message:
  -----------
  fs: Add set_cwd() function


  Commit: 632fe49e10f71824fb3697863791e40d3f3e9b2c
      https://github.com/wesnoth/wesnoth/commit/632fe49e10f71824fb3697863791e40d3f3e9b2c
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

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

  Log Message:
  -----------
  campaignd: Add server config, dir and port command line options

This changes startup behaviour slightly so that campaignd ensures that
the directory containing the config file exists before doing anything
else. Normally this wouldn't be noticeable since the default behaviour
continues to be to use ./server.cfg (pwd should exist, right?), but it's
important in the event that the user passes -c with a nonexistent path.

We do still create the server.cfg file later anyway, and it's still
possible that the directory containing it disappears in between only to
be forcefully created by ostream_file() -- but who cares, this is all
just meant to be an early reality check to avoid user mistakes.


Compare: https://github.com/wesnoth/wesnoth/compare/6f8233cb9db0...632fe49e10f7



More information about the Commits mailing list