[Commits] [wesnoth/wesnoth] 92ca7f: Fix #24681: Use composed hotkeys where appropriate...

GitHub noreply at github.com
Sat Apr 29 02:52:45 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 92ca7fdb5eb11c04b191359892517ea22d9f4491
      https://github.com/wesnoth/wesnoth/commit/92ca7fdb5eb11c04b191359892517ea22d9f4491
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M data/core/hotkeys.cfg
    M src/controller_base.cpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_item.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Fix #24681: Use composed hotkeys where appropriate and revert help to be ':'

This enables textinput events in SDL and adds handling of them. The events
are processed for hotkeys if the length of the hotkey string is 1 (which is the
case for all straightforward hotkeys).


  Commit: daef8cd22ca9ba689a0d5b6db1cbbbdb84285570
      https://github.com/wesnoth/wesnoth/commit/daef8cd22ca9ba689a0d5b6db1cbbbdb84285570
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_item.hpp
    M src/key.cpp
    M src/key.hpp

  Log Message:
  -----------
  Fix 24681: Proper filtering of modifiers when handling hotkeys

This adds proper handling for composition of input and also handles
raw key up/down properly when there are modifiers applied to the
keyboard that stops composition.


  Commit: 46f16e1a8af25f352624edbb6d8f199337d2fc62
      https://github.com/wesnoth/wesnoth/commit/46f16e1a8af25f352624edbb6d8f199337d2fc62
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  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/handler.cpp
    M src/gui/core/event/handler.hpp
    M src/gui/dialogs/hotkey_bind.cpp
    M src/gui/dialogs/hotkey_bind.hpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_item.hpp

  Log Message:
  -----------
  Pipe raw SDL events throught the GUI2 event system for hotkeys

This adds support for passing raw SDL events throught the GUI2
event system in order to allow for hotkey creation in the GUI2 hotkey
dialog. The dialog in turn uses the raw SDL event to query the hotkey
subsystem whether it's a suitable event to create a hotkey from or not.

The first suitable event is used to create a hotkey.


  Commit: af1326d19bc995671e6430cb232d1192f8b4c37b
      https://github.com/wesnoth/wesnoth/commit/af1326d19bc995671e6430cb232d1192f8b4c37b
  Author: Andreas <andreas at alternating.net>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M data/core/hotkeys.cfg
    M src/controller_base.cpp
    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/handler.cpp
    M src/gui/core/event/handler.hpp
    M src/gui/dialogs/hotkey_bind.cpp
    M src/gui/dialogs/hotkey_bind.hpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_item.hpp
    M src/key.cpp
    M src/key.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Merge pull request #1003 from wesnoth/composed_hotkeys

Composed hotkeys


Compare: https://github.com/wesnoth/wesnoth/compare/e7cf8730023c...af1326d19bc9


More information about the Commits mailing list