Commit graph

18579 commits

Author SHA1 Message Date
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
Dennis Felsing e74e6770c3
Merge pull request #7325 from Robyt3/Browser-Community-Filter
Add community server filter and icons, remove DDNet and KoG tabs
2023-11-12 00:00:05 +00:00
Dennis Felsing d716210e31
Merge pull request #7408 from Jupeyy/pr_tile_border_shader
Switch to a fragment shader solution for border tile rendering
2023-11-11 23:02:34 +00:00
Dennis Felsing 44b97ce6c1 Translations for upcoming 17.4 (including updated German) 2023-11-12 00:01:19 +01:00
Dennis Felsing 79e244f166
Merge pull request #7433 from Robyt3/Editor-Color-Picker-Refactoring
Show color picker button for color envelope points
2023-11-11 22:14:41 +00:00
Dennis Felsing aefa52c6b9
Merge pull request #7432 from Robyt3/Base-Standard-Mutex-Wrapper
Add `CLock` wrapper for `std::mutex` to replace `lock_*` functions, use `CLock` instead of `std::mutex`, add thread-safety annotations
2023-11-11 22:07:02 +00:00
Robert Müller bd4c138107 Show color picker button for color envelope points
Simplify selecting envelope point colors by showing a color picker button that opens a color picker popup to change the color of the selected envelope point. The existing editbox to change only the selected channel's value is kept, as the color picker popup does not support the same precision to specify the individual color channel values.

Closes #7317.
2023-11-11 20:45:22 +01:00
Robert Müller d8452ad02c Extract ShowPopupEnvPoint local function 2023-11-11 20:45:22 +01:00
Robert Müller c48623de8f Extract CEditor::DoColorPickerButton function
Fix color not being updated while shift key is pressed, due to use of `else if`.
2023-11-11 20:45:22 +01:00
Robert Müller 37b0a5569d
Merge pull request #7427 from furo321/save-unknown-commands
Save unknown commands from `settings_ddnet.cfg`
2023-11-11 18:24:32 +00:00