[wesnoth-commits] [wesnoth/wesnoth] eee2f0: GUI2/Dispatcher: even further simplified [dis]conn...

Charles Dang noreply at github.com
Wed Apr 13 00:28:00 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: eee2f092164ae5b2c20f45d21cec15a734a55837
      https://github.com/wesnoth/wesnoth/commit/eee2f092164ae5b2c20f45d21cec15a734a55837
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M src/gui/core/event/dispatcher.hpp

  Log Message:
  -----------
  GUI2/Dispatcher: even further simplified [dis]connect_signal

Macros be-gone!


  Commit: 9cec01b68000ece06e7a01a11f3b17fb9d6b942b
      https://github.com/wesnoth/wesnoth/commit/9cec01b68000ece06e7a01a11f3b17fb9d6b942b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M src/gui/core/event/dispatcher.hpp

  Log Message:
  -----------
  GUI2/Dispatcher: used default default ctors, disallowed copying signal_queue


  Commit: e8e1572442e025dcbf21d543840a2447a1a8cdc3
      https://github.com/wesnoth/wesnoth/commit/e8e1572442e025dcbf21d543840a2447a1a8cdc3
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M src/gui/core/event/dispatcher.cpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/core/event/distributor.cpp
    M src/gui/core/event/message.hpp
    M src/gui/dialogs/debug_clock.hpp
    M src/gui/widgets/button.hpp
    M src/gui/widgets/clickable_item.hpp
    M src/gui/widgets/repeating_button.cpp
    M src/gui/widgets/repeating_button.hpp

  Log Message:
  -----------
  GUI2/Dispatcher: simplify signal type alias names


  Commit: d29f86c2e1d96a7ed73abaa5ea88e67d157d10e2
      https://github.com/wesnoth/wesnoth/commit/d29f86c2e1d96a7ed73abaa5ea88e67d157d10e2
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp

  Log Message:
  -----------
  Removed [dis]connect_signal static_assert

Passing the incorrect function  is already a compiler error, and while MSVC builds, GCC et al don't.
Keeping this in history for reference.


  Commit: 509dffcfb3035073e261b6d493c9653d71ab5168
      https://github.com/wesnoth/wesnoth/commit/509dffcfb3035073e261b6d493c9653d71ab5168
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M src/gui/core/event/dispatcher.cpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/core/event/distributor.cpp
    M src/gui/core/event/message.hpp
    M src/gui/dialogs/debug_clock.hpp
    M src/gui/widgets/button.hpp
    M src/gui/widgets/clickable_item.hpp
    M src/gui/widgets/repeating_button.cpp
    M src/gui/widgets/repeating_button.hpp

  Log Message:
  -----------
  Merge pull request #6623 from wesnoth/even-more-dispatcher

Even more dispatcher


Compare: https://github.com/wesnoth/wesnoth/compare/ea28127d9179...509dffcfb303



More information about the Commits mailing list