Commit graph

18538 commits

Author SHA1 Message Date
Dennis Felsing 7d0718ee8b
Merge pull request #7487 from Robyt3/Base-Assert-NoLogger-Fix
Fix `nullptr` access on `dbg_assert` with no global logger
2023-11-17 21:06:23 +00:00
Robert Müller dd907ab016 Fix map grid factor always being shown as 1 2023-11-17 21:52:39 +01:00
ChillerDragon f70c288d07 Check red tele and dragger in CI 2023-11-17 21:49:31 +01:00
Robert Müller 7d69016b3a Fix nullptr access on dbg_assert with no global logger
Now it's also possible to use `dbg_assert` without/before having set a global logger.
2023-11-17 21:07:41 +01:00
Robert Müller 5c7bb58457 Ensure filenames are valid UTF-8 on Unix
On Unix, the encoding of filenames is unspecified, although UTF-8 is likely used in most cases. Detecting and converting from several possible encodings to UTF-8 would be too much effort, considering that most systems already use UTF-8 per default. Therefore, any filenames which are not valid UTF-8 will be ignored when listing directories with `fs_listdir(_fileinfo)`, `fs_storage_path` will fail if the storage location is not valid UTF-8 and `fs_getcwd` will fail if the current working directory is not valid UTF-8. Paths specified in `storage.cfg` must also be valid UTF-8.

On Windows, we already ensure that all filenames are converted to UTF-8.
2023-11-17 18:55:28 +01:00
Dennis Felsing 4e27299657
Merge pull request #7470 from furo321/remove-map-setting-msg
Don't print "tunes"/unknown commands from maps.
2023-11-16 23:34:22 +00:00
Robert Müller 88829a5080
Merge pull request #7483 from heinrich5991/pr_ddnet_pred_margin
Don't allow too large of a prediction margin
2023-11-16 21:33:34 +00:00
heinrich5991 24a74e373e Don't allow too large of a prediction margin 2023-11-16 22:18:15 +01:00
heinrich5991 4116d78c6f
Merge pull request #7482 from Robyt3/Client-Serverbrowser-CommunityIcon-Leak
Fix leak of community icons when jobs not finished
2023-11-16 21:06:00 +00:00
Robert Müller 32bd6f6526 Fix leak of community icons when jobs not finished
The community icon data loaded in background jobs was previously not freed when the client is quit before the community icon data is processed.
2023-11-16 21:47:27 +01:00
furo e3402cbf85 Don't print "tunes"/unknown commands from maps. 2023-11-16 01:02:22 +01:00
Dennis Felsing 55098cd313
Merge pull request #7469 from archimede67/pr-save-chat-input
Save current chat input when pressing UP. Prevent input clearing when pressing DOWN
2023-11-15 23:20:13 +00:00
Dennis Felsing 723bda1280
Merge pull request #7468 from n0Ketchp/patch-15
Update spanish.txt
2023-11-15 22:55:32 +00:00
Corantin H 06674ebecf Save current input when using UP arrow. Prevent DOWN arrow from clearing current input. 2023-11-15 23:52:02 +01:00
Dennis Felsing fcd7f135f0
Merge pull request #7466 from Robyt3/Editor-Parent-Folder-Fix
Fix parent folder not being shown in editor file browser, fix typo
2023-11-15 22:37:47 +00:00
noKetchup 3f725509f0
Update spanish.txt 2023-11-15 19:31:27 -03:00
heinrich5991 162258af3d
Merge pull request #7467 from furo321/case-insenstive-keys
Make KEY argument case-insensitive
2023-11-15 22:09:40 +00:00
furo 0042aec086 Make KEY argument case-insensitive 2023-11-15 22:51:41 +01:00
Robert Müller f54fc2e441 Fix parent folder not being shown in editor file browser, fix typo
The check for multiple storage locations was using the base path from the previous invocation of the file dialog instead of using the new base path.

Closes #7463.
2023-11-15 22:28:50 +01:00
Jupeyy dfbff0eb57
Merge pull request #7462 from furo321/update_textsize
Set size of text when changing slider of `cl_text_entities_size`.
2023-11-15 20:18:29 +00:00
furo 740049a454 Set size of text when changing slider of cl_text_entities_size. 2023-11-15 20:54:27 +01:00
Dennis Felsing db44f218dd
Merge pull request #7460 from dobrykafe/pr-update-filename
Update `m_FileDialogFileNameInput` when deleting a file
2023-11-15 19:28:15 +00:00
dobrykafe 08a00cff6b update m_FileDialogFileNameInput when deleting a file 2023-11-15 18:24:20 +01:00
Dennis Felsing eb0392007b
Merge pull request #7458 from furo321/incorrect-usage
Correct usage of `demo_extract_chat` tool.
2023-11-15 14:33:11 +00:00
furo e27223a027 Correct usage of demo_extract_chat tool. 2023-11-15 15:08:30 +01:00
Dennis Felsing 9c083cadb5
Merge pull request #7457 from ChillerDragon/pr_unused_demo_var
Fix unused variabled m_WasRecording
2023-11-15 12:07:26 +00:00
ChillerDragon 9e27a5a107 Fix unused variabled m_WasRecording 2023-11-15 12:11:58 +01:00
Robert Müller f726fbf16c
Merge pull request #7456 from apelsin21/exit_OP_SCALE
Use Escape to cancel OP_SCALE envelope
2023-11-14 22:22:21 +00:00
Axel Vestin 7c15514696 Use Escape to cancel OP_SCALE envelope 2023-11-14 21:17:07 +01:00
Dennis Felsing a329417dee
Merge pull request #7455 from AlehKushniarou/update-belarusian-17.4
Update Belarusian translation for 17.4
2023-11-14 12:31:53 +00:00
Pavukoplov c97c39ad1e Update Belarusian translation for 17.4 2023-11-14 13:03:58 +03:00
Dennis Felsing 6d1654a13f
Merge pull request #7454 from ByFox213/master
Update russian.txt
2023-11-14 09:13:59 +00:00
ByFox 361f3121a9 Update russian.txt 2023-11-14 13:29:42 +05:00
heinrich5991 90fb33ae43
Merge pull request #7452 from Robyt3/Server-Max-Clients-Crash
Fix server crash on DDTeam message with lower `sv_max_clients`
2023-11-13 22:46:06 +00:00
Robert Müller b8d38f7f49 Fix server crash on DDTeam message with lower sv_max_clients
When the `CGameContext::SendChatTeam` function is used to send a chat message to all members of a DDTeam (e.g. on completed /swap chat command), it was not checked whether the target players are online but only whether they belong to the specified team according to the teams core. However, the default team for unconnected/cleared players is 0 in the teams core, which is the same for players in team 0, so chat messages were being sent to client IDs not corresponding to connected clients when chat messages where supposed to be sent to players in team 0. This was causing the server to crash with the assertion error "erroneous client id" specifically when the server is started with `sv_max_clients` being less than the default, maximum 64.

Closes #7450.
2023-11-13 23:16:21 +01:00
Dennis Felsing 32f3f9e03a
Merge pull request #7449 from furo321/lasttp-save
Save entire character with `/lasttp`.
2023-11-12 23:14:12 +00:00
furo f9b9480291 Save entire character with /lasttp. 2023-11-12 23:48:36 +01:00
Dennis Felsing 76d27e734a
Merge pull request #7444 from Chairn/demo_filename
Update string when cutting demo to indicate file name
2023-11-12 22:45:26 +00:00
Chairn c6f78ea3c3 Update string when cutting demo to indicate file name 2023-11-12 23:29:32 +01:00
Dennis Felsing 34fb10fcb4
Merge pull request #7443 from JuraIBOZO/patch-7
Update ukrainian.txt 17.4
2023-11-12 21:51:54 +00:00
Dennis Felsing 6d274bf2e0
Merge pull request #7445 from lolipodass/patch-8
Update russian.txt
2023-11-12 21:51:43 +00:00
Dennis Felsing fb490e47fb
Merge pull request #7446 from Jupeyy/pr_max_zoom_limit
Increase max zoom limit
2023-11-12 21:50:02 +00:00
Jupeyy 39b3249bf5 Increase max zoom limit
To a limit that fits to the biggest maps
2023-11-12 21:36:20 +01:00
lolipodass 31e1d41dfa
Update russian.txt 2023-11-12 18:57:58 +03:00
JuraIBOZO c5da8a5965
Update ukrainian.txt 2023-11-12 15:13:29 +02:00
Dennis Felsing 4f1fc71f95
Merge pull request #7440 from Robyt3/Server-Credits-Update
Add new contributors to credits
2023-11-12 11:36:26 +00:00
Robert Müller 188462ea27 Add new contributors to credits
Thanks everyone!
2023-11-12 12:20:10 +01:00
Dennis Felsing fb91302268
Merge pull request #7439 from furo321/swedish-17.4
Update Swedish translations for 17.4
2023-11-12 10:49:15 +00:00
furo 7b34024289 Update Swedish translations for 17.4 2023-11-12 11:31:44 +01:00
Robert Müller 5ef0e77145
Merge pull request #7437 from def-/pr-17.4-translations
Translations for upcoming 17.4 (including updated German)
2023-11-12 09:57:31 +00:00