Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: ff346b229aba66359bee500fd5cb74207bf996eb
https://github.com/Warzone2100/warzone2100/commit/ff346b229aba66359bee500fd5cb74207bf996eb
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
feat: allow assigning keybinds to mouse keys
RMB/LMB/MMB are excluded for now, as handling for their actions is littered all
over the codebase. Default mouse wheel actions are still executed normally, so
binding to mouse wheel is a bit wacky until I get around to changing the zoom
etc. to regular keybinds.
Commit: 77a2f045b81461fe96ff23544d22eb6c9a006739
https://github.com/Warzone2100/warzone2100/commit/77a2f045b81461fe96ff23544d22eb6c9a006739
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
fix: Debug message formatting not compiling on some distributions
Commit: 04f714699efa850a41db2111631d7ffa2f11993b
https://github.com/Warzone2100/warzone2100/commit/04f714699efa850a41db2111631d7ffa2f11993b
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/display.cpp
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
feat: preliminary support for secondary keybinds
Keybind editor still WIP
Commit: 7a0dce37566ca145eb9e8ca48f10768b7077ab72
https://github.com/Warzone2100/warzone2100/commit/7a0dce37566ca145eb9e8ca48f10768b7077ab72
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/configuration.cpp
M src/display.cpp
M src/frontend.cpp
M src/ingameop.cpp
M src/ingameop.h
M src/keymap.cpp
M src/keymap.h
M src/radar.cpp
M src/warzoneconfig.cpp
M src/warzoneconfig.h
Log Message:
-----------
fix: Fixed assertion failure when zooming minimap/radar, clean up
war_ZoomEvent leftovers
Commit: 1cf5997d480b3767acab1d76b76eeadb4465258f
https://github.com/Warzone2100/warzone2100/commit/1cf5997d480b3767acab1d76b76eeadb4465258f
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M lib/widget/scrollablelist.cpp
Log Message:
-----------
fix: avoid possible copy in loop
Commit: 2dd1d5f6f3ef2197c0e071cb46b4cbca794e1cf8
https://github.com/Warzone2100/warzone2100/commit/2dd1d5f6f3ef2197c0e071cb46b4cbca794e1cf8
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
feat: secondary key mappings can now be assigned from the settings menu
Commit: 3630667ab06cf91c03c3b9a04bac629f583901f1
https://github.com/Warzone2100/warzone2100/commit/3630667ab06cf91c03c3b9a04bac629f583901f1
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keybind.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: change lastSubKey to KeyMappingInput to catch mouse keys there, too
Commit: ba9b667317aa72f794e316e9bf014f15b83b122e
https://github.com/Warzone2100/warzone2100/commit/ba9b667317aa72f794e316e9bf014f15b83b122e
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: renamed KeyMappingPriority -> KeyMappingSlot to better describe its
purpose
Commit: 8487523acae1f0230844550e56fcecb388111151
https://github.com/Warzone2100/warzone2100/commit/8487523acae1f0230844550e56fcecb388111151
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keybind.cpp
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: utilities for handling keymap inputs
Commit: b94e0a7ba1711858b7b48b1660eef4e33998f18c
https://github.com/Warzone2100/warzone2100/commit/b94e0a7ba1711858b7b48b1660eef4e33998f18c
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
refact: stack mapping slots vertically in the keymap editor
Commit: 18f92275e95fe439ddde220d1c5d477f0fc613aa
https://github.com/Warzone2100/warzone2100/commit/18f92275e95fe439ddde220d1c5d477f0fc613aa
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
fix: fixed mappings' secondary slot can be bound
Commit: e6651596411279aaff9b8841ce784e0fb4d380d3
https://github.com/Warzone2100/warzone2100/commit/e6651596411279aaff9b8841ce784e0fb4d380d3
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: handle meta-conflicts by sorting the meta-mappings first
This avoids having to check for activated mappings with meta keys in the
processMappings(). If the meta keys are processed first, they have the chance
to consume the inputs, preventing other mappings to same keys from executing.
If they are not activated, the other mappings execute normally.
Commit: 15ab9ef01c8b50298edf8bd0882e38f13d2b72b6
https://github.com/Warzone2100/warzone2100/commit/15ab9ef01c8b50298edf8bd0882e38f13d2b72b6
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
chore: assert that keymap editor buttons/labels have a parent
Commit: 44242f85a90a031535518d7d76e73dfc307bb757
https://github.com/Warzone2100/warzone2100/commit/44242f85a90a031535518d7d76e73dfc307bb757
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
fix: prevent binding fixed key mappings
Commit: caef226f6e5eeb06f8d30a0960645b5ff19807bf
https://github.com/Warzone2100/warzone2100/commit/caef226f6e5eeb06f8d30a0960645b5ff19807bf
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: use keymap info table instead of mappings in key editor
Commit: d01ffb013d4253ef1d6de2a3457cfb976b67323d
https://github.com/Warzone2100/warzone2100/commit/d01ffb013d4253ef1d6de2a3457cfb976b67323d
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: renamed KeyMapSaveEntry -> KeyFunctionInfo
Commit: c1e10162cd23e0ca082f92869bc93f617c0999ae
https://github.com/Warzone2100/warzone2100/commit/c1e10162cd23e0ca082f92869bc93f617c0999ae
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
chore: weird null-deref errors on CI
Commit: 7ae0a7d98a0b0be1e8e2179717312a48af83135b
https://github.com/Warzone2100/warzone2100/commit/7ae0a7d98a0b0be1e8e2179717312a48af83135b
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: do not save altMeta to KeyMapping as it is trivial to figure out
on-the-fly
Commit: ceaa27b8b8c847144fa7b22c74a5efec0aa37acd
https://github.com/Warzone2100/warzone2100/commit/ceaa27b8b8c847144fa7b22c74a5efec0aa37acd
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: evaluate key mapping sort lazily
Commit: a5aae6815468ad1bb714a90dc30885f2bb8b768d
https://github.com/Warzone2100/warzone2100/commit/a5aae6815468ad1bb714a90dc30885f2bb8b768d
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M lib/framework/input.h
M lib/sdl/main_sdl.cpp
M src/keyedit.cpp
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: move mouseKeyCodeToString to input.h for consistency
Commit: 71c3476dc4e610c64d36cfab17feada640f74511
https://github.com/Warzone2100/warzone2100/commit/71c3476dc4e610c64d36cfab17feada640f74511
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
fix: make not bound label translateable
Commit: 59ee0ba47ac1651e0e589698414b5fa81c19356f
https://github.com/Warzone2100/warzone2100/commit/59ee0ba47ac1651e0e589698414b5fa81c19356f
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
refact: return empty optionals instead of magic zeroes
Commit: c7a2c04b0733937ace3d6c74b48655ab23c23b04
https://github.com/Warzone2100/warzone2100/commit/c7a2c04b0733937ace3d6c74b48655ab23c23b04
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
refact: use iV_getTextWidth to get rid of unnecessary allocations
Commit: fc85ea683077499b79666fd5200e453b3dab3cc2
https://github.com/Warzone2100/warzone2100/commit/fc85ea683077499b79666fd5200e453b3dab3cc2
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
fix: use smart ptrs to avoid locking the parent twice
Commit: 9d5df1b0fde614a47f5e6155fc6c75a75221b367
https://github.com/Warzone2100/warzone2100/commit/9d5df1b0fde614a47f5e6155fc6c75a75221b367
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
refact: Create KeyMapButton widget
Commit: 58c0829923d54c3046db2fcbb21306da79c14afe
https://github.com/Warzone2100/warzone2100/commit/58c0829923d54c3046db2fcbb21306da79c14afe
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
refact: Create KeyMapLabel widget
Commit: 31eefbb7b2fd74c270b3aad6ac120a0e3b0565b1
https://github.com/Warzone2100/warzone2100/commit/31eefbb7b2fd74c270b3aad6ac120a0e3b0565b1
Author: toilari <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keymap.cpp
M src/keymap.h
Log Message:
-----------
refact: use std::unordered_set instead of vector
For whatever reason, I was previously worried about insertion perf, whereas
.find gets called much more often. Using set instead of a vector should
slightly improve the perf here (albeit the loop is ran on relatively low N
anyway)
Commit: fcc63f0b9733eef0f9f30d764e1db4e4d99b61f7
https://github.com/Warzone2100/warzone2100/commit/fcc63f0b9733eef0f9f30d764e1db4e4d99b61f7
Author: Thiago Barcala <[email protected]>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M src/keyedit.cpp
Log Message:
-----------
Adjust check for parent validity
Compare:
https://github.com/Warzone2100/warzone2100/compare/723539473e3e...fcc63f0b9733
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits