ddnet/src/engine/client
bors[bot] 72afa17349
Merge #4449 #4461 #4466 #4469 #4470 #4472 #4473
4449: Fix text selection cursor position (fixes #4444) r=heinrich5991 a=def-

after moving window to a screen with different dimensions than the
initial one

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [x] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4461: Support cl_video_show_direction 2 r=heinrich5991 a=def-

Currently to show your own key presses when recording you need
cl_video_showdirection 1 and cl_show_direction 2 which is kind of
unintuitive.

Also changed the name to be consistent with cl_show_direction

Thanks to hussainx3 for report.

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [x] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4466: Fix GLEW system lib linking on macOS (fixes #4439) r=heinrich5991 a=def-

Only GLEW::GLEW is provided, GLEW_LIBRARIES is empty by default

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4469: Consider initial chat delays as normal mutes, implement unmuteid (fixes # 4460) r=heinrich5991 a=def-

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4470: Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts r=heinrich5991 a=def-

like ctrl-f / cmd-f

On macOS all these system shortcuts are done with cmd while on Windows
ctrl is used. Support both now

Added support for cmd key as modifier for binds

Fixed missing right variants of modifiers in some places

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4472: Make /rescue handle switch freeze too r=heinrich5991 a=def-

As reported by RonIn

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4473: Fix comment in CMakeLists.txt r=heinrich5991 a=def-

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: def <dennis@felsin9.de>
2021-12-19 16:58:46 +00:00
..
backend Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
backend_sdl.cpp Fix text selection cursor position (fixes #4444) 2021-12-13 19:12:37 +01:00
backend_sdl.h Fix text selection cursor position (fixes #4444) 2021-12-13 19:12:37 +01:00
blocklist_driver.cpp Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
blocklist_driver.h Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
client.cpp Merge #4449 #4461 #4466 #4469 #4470 #4472 #4473 2021-12-19 16:58:46 +00:00
client.h Disallow dummy option (closes #4305, #4316) 2021-11-17 20:35:39 +01:00
demoedit.cpp Run clang-format 2020-09-26 21:50:15 +02:00
demoedit.h Manual preparation for cleaner clang-format 2020-09-26 21:41:01 +02:00
discord.cpp Allow to dynamically load the Discord SDK on Linux 2021-02-01 12:20:11 +01:00
friends.cpp More colors from chat in console 2021-03-08 01:20:28 +01:00
friends.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
ghost.cpp add functions for packing/unpacking int/unsigned using char arrays 2021-11-09 22:19:32 +01:00
ghost.h add functions for packing/unpacking int/unsigned using char arrays 2021-11-09 22:19:32 +01:00
graphics_defines.h Remove GL includes from headers 2021-05-01 23:56:30 +02:00
graphics_threaded.cpp Fix mouse selection after changing window size (on macOS) 2021-12-18 00:12:23 +01:00
graphics_threaded.h Fix text selection cursor position (fixes #4444) 2021-12-13 19:12:37 +01:00
graphics_threaded_null.h Fix text selection cursor position (fixes #4444) 2021-12-13 19:12:37 +01:00
http.cpp Disable connection reuse in curl (fixes #4342) 2021-11-28 01:56:08 +01:00
http.h Make some variables atomic, that are read from the main thread 2021-10-28 13:53:26 +02:00
input.cpp Fix text selection cursor position (fixes #4444) 2021-12-13 19:12:37 +01:00
input.h Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
keynames.h Enable most clang-tidy misc-* checks 2020-11-05 12:03:14 +01:00
notifications.cpp Further fixes for Haiku 2021-09-13 15:29:32 +02:00
notifications.h Libnotify support for linux client (#2099) 2020-04-14 17:53:53 +02:00
serverbrowser.cpp Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
serverbrowser.h Update server list silently 2021-09-13 16:50:40 +02:00
serverbrowser_http.cpp Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
serverbrowser_http.h Save previously determined best serverlist 2021-05-14 01:01:09 +02:00
serverbrowser_ping_cache.cpp Add forgotten commit data from #3772 2021-05-27 21:48:04 +02:00
serverbrowser_ping_cache.h Add serverbrowser ping cache 2021-05-14 01:00:41 +02:00
sound.cpp Protect various variables for the sound class 2021-10-28 13:53:26 +02:00
sound.h Make sure headers compile standalone 2020-09-26 21:50:27 +02:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp fix steam names being cut off inside utf8 codepoints 2021-11-13 16:20:44 +01:00
text.cpp Reset selection, if gui element was changed outside of DoEditBox 2021-11-03 00:46:36 +01:00
updater.cpp Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
updater.h Remove Windows XP code 2021-08-23 12:05:01 +02:00
video.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
video.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00