[Commits] [wesnoth/wesnoth] dbeef1: campaignd: Create [campaigns] list in load_config(...

GitHub noreply at github.com
Fri Apr 24 03:59:12 UTC 2015


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dbeef1c9a5c0fa489b1340862aed611cdb33fb1a
      https://github.com/wesnoth/wesnoth/commit/dbeef1c9a5c0fa489b1340862aed611cdb33fb1a
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Create [campaigns] list in load_config()

Needed for implementing config reloading.


  Commit: 1cb3d67756e7813609a7b1dc1d2506f6f8092be8
      https://github.com/wesnoth/wesnoth/commit/1cb3d67756e7813609a7b1dc1d2506f6f8092be8
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Reload configuration on SIGHUP

It's a bit tricky right now because whoever changes the configuration
must make sure to do it within the flush interval or their changes may
be lost before they get to send SIGHUP to campaignd. Another issue is
that the campaigns list may change (new uploads, bumped download counts,
etc.) between editing the config file and sending SIGHUP, and any
changes in the on-memory version of the list will be irreversibly lost.

Hopefully soon I'll add some socket commands to address these
limitations.


  Commit: 20e55fb67c8752c7dbcd68afbb9d0e3b52df0bd9
      https://github.com/wesnoth/wesnoth/commit/20e55fb67c8752c7dbcd68afbb9d0e3b52df0bd9
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp
    A src/campaign_server/control.hpp

  Log Message:
  -----------
  campaignd: Add dedicated type for parsing admin commands


  Commit: 6986e825e20a5072c6aa2871dc078bfdede5fe98
      https://github.com/wesnoth/wesnoth/commit/6986e825e20a5072c6aa2871dc078bfdede5fe98
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Log message on shut down request via FIFO


  Commit: 7b575ed7612db84e55065dff89d91b7aed33c4b9
      https://github.com/wesnoth/wesnoth/commit/7b575ed7612db84e55065dff89d91b7aed33c4b9
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp
    M src/campaign_server/control.hpp

  Log Message:
  -----------
  campaignd: Log unrecognized FIFO commands


  Commit: 44eef2a76a9b4b51978fbdf590d80b263c281a77
      https://github.com/wesnoth/wesnoth/commit/44eef2a76a9b4b51978fbdf590d80b263c281a77
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Implement 'readonly' command, toggles RO mode


  Commit: b512a7cc32c36bd44b8e7ac7b59bccbd00158564
      https://github.com/wesnoth/wesnoth/commit/b512a7cc32c36bd44b8e7ac7b59bccbd00158564
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Implement 'flush' command, flushes config to disk immediately


  Commit: 208c177164061ff6bc7e9d8b27687c4c7e0a69d2
      https://github.com/wesnoth/wesnoth/commit/208c177164061ff6bc7e9d8b27687c4c7e0a69d2
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Implement `reload` command

By default is has the same effect as SIGINT, but it also takes an
optional 'blacklist' argument which instructs campaignd to only re-read
the blacklist file.


  Commit: d313c8dfb34c9414ffa8bfc53268b6d5cdbcc3b4
      https://github.com/wesnoth/wesnoth/commit/d313c8dfb34c9414ffa8bfc53268b6d5cdbcc3b4
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/server/input_stream.hpp

  Log Message:
  -----------
  Add input_stream::path() method to retrieve the original path


  Commit: 1b517975e29e91b2aa978230cd30ac5237c9bfc2
      https://github.com/wesnoth/wesnoth/commit/1b517975e29e91b2aa978230cd30ac5237c9bfc2
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Fix SIGINT/reload command issues with an unchanged FIFO path

This prevents campaignd from deleting the current FIFO on config reload
if the path in the config hasn't changed, and potentially losing queued
up commands.


  Commit: 6292f80d3b5c97e19dd9a802b5d2090d96e72964
      https://github.com/wesnoth/wesnoth/commit/6292f80d3b5c97e19dd9a802b5d2090d96e72964
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Implement `setpass` command

Replaces an add-on's passphrase via FIFO without needing the previous
passphrase.


  Commit: fd11a6d93f2b0b9268a68a0df26670f62d031476
      https://github.com/wesnoth/wesnoth/commit/fd11a6d93f2b0b9268a68a0df26670f62d031476
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
    M src/campaign_server/campaign_server.cpp
    A src/campaign_server/control.hpp
    M src/server/input_stream.hpp

  Log Message:
  -----------
  Merge branch 'campaignd/adminctl-1.12' into 1.12


Compare: https://github.com/wesnoth/wesnoth/compare/9c62c53e5ccc...fd11a6d93f2b


More information about the Commits mailing list