Robert Müller
b7773d2b4c
Fix lineinput selection getting desynchronized from cursor
...
When the text cursor/selection mode is set to calculate, values of `-1` are used when the selection is empty. These values were not being handled anymore due to a regression from #7028 . This was causing the selection to be set to the last position instead, which was causing text to subsequently be inserted there instead of at the cursor position.
An assertion is added to ensure that the selection cannot be desynchronized from the cursor position anymore.
Closes #7099 .
2023-08-29 18:01:09 +02:00
Samuele Radici
73f68c73f4
done i hope
2023-08-29 13:52:31 +00:00
Samuele Radici
6534728744
fix style
2023-08-29 11:01:58 +00:00
Samuele Radici
d7d635881b
I found out he didn't save himself...
2023-08-29 10:09:55 +00:00
Dennis Felsing
04f71333b0
Merge pull request #7096 from furo321/fix-demo-sorting
...
Fix demo sorting
2023-08-28 22:11:04 +00:00
heinrich5991
ee32ceb1da
Merge pull request #7092 from furo321/pr_fix_ipv4only_registering
...
Don't register to ipv6 when sv_ipv4only is enabled. (fixes #7091 )
2023-08-28 21:09:59 +00:00
furo
b24b11f48e
Move sv_ipv4only check to OnConfigChange
2023-08-28 22:45:53 +02:00
furo
28fda865c5
Keep selection after sort
2023-08-28 21:47:48 +02:00
furo
2dcc0b9db3
Fix demo sorting
2023-08-28 21:11:12 +02:00
heinrich5991
812231449b
Merge pull request #7093 from HiRavie/master
...
Fix all envelopes being saved as bezier
2023-08-28 14:51:49 +00:00
Ravie
6705cccb72
Fix all envelopes being saved as bezier
2023-08-28 16:19:41 +02:00
Dennis Felsing
ff1a2a44d3
Merge pull request #7076 from dobrykafe/pr-fix-map-drag-and-drop
...
Add warning for unsaved editor changes when dragging a map file into the game
2023-08-28 13:49:58 +00:00
Dennis Felsing
baffa8d817
Merge pull request #7080 from heinrich5991/pr_ddnet_teehistorian_prev_game_uuid
...
Record previous game ID in teehistorian
2023-08-28 11:28:00 +00:00
Dennis Felsing
c7f3be7d75
Merge pull request #7082 from Marmare314/editor-seperate-mapitems
...
extract code from editor mapitems into separate files
2023-08-28 10:23:17 +00:00
Dennis Felsing
07c330275a
Merge pull request #7081 from JuraIBOZO/patch-1
...
Update serbian.txt
2023-08-28 10:22:52 +00:00
furo
8f73a9ea8c
Fix style
2023-08-27 21:40:32 +02:00
furo
2b07832b9e
Don't register to ipv6 when ipv4only is enabled.
2023-08-27 21:23:55 +02:00
Robert Müller
3988877e8e
Merge pull request #7002 from Marmare314/pixelart
...
Add pixelart tool to editor
2023-08-27 18:42:35 +00:00
Robert Müller
225603e8c4
Merge pull request #7089 from heinrich5991/pr_ddnet_antibot_after_teehistorian
...
Notify antibot of round start after initializing teehistorian
2023-08-27 18:13:09 +00:00
heinrich5991
70bf739b6f
Notify antibot of round start after initializing teehistorian
...
This allows the antibot to start pushing data into teehistorian
immediately.
2023-08-27 17:35:13 +02:00
heinrich5991
a48d14fac0
teehistorian: Omit "prev_game_uuid"
instead of setting it to null
2023-08-27 16:11:45 +02:00
heinrich5991
cbdb3b1d2e
Record previous game ID in teehistorian
...
This allows to trace a complete server execution.
2023-08-27 16:11:45 +02:00
heinrich5991
330d1ebaf6
Add possibility to persist game data past map changes
2023-08-27 16:11:45 +02:00
marmare314
946be50807
Add tileart tool to editor
2023-08-27 16:07:56 +02:00
marmare314
e19b1e4da6
extract code from editor mapitems into separate files
2023-08-27 16:04:53 +02:00
Robert Müller
d11bbbc921
Merge pull request #7083 from Marmare314/style-7017
...
improve code style in proofmode, mapgrid and mapview
2023-08-27 10:03:07 +00:00
marmare314
605a93787e
improve code style in proofmode, mapgrid and mapview
2023-08-27 11:38:15 +02:00
Robert Müller
669f384535
Update data/languages/serbian.txt
2023-08-27 11:25:16 +02:00
JuraIBOZO
b4e0e49ccb
Update serbian.txt
...
Update Serbian translation (by Jurai!)
2023-08-27 12:02:55 +03:00
dobrykafe
758601c310
remove duplicate code
2023-08-26 22:28:19 +02:00
dobrykafe
cb29ad2b4f
dont switch to editor if loading fails
2023-08-26 22:13:13 +02:00
Dennis Felsing
c9557b2ee9
Merge pull request #7069 from furo321/pr_demo_searchbar
...
Add a searchbar for demos.
2023-08-26 19:00:31 +00:00
Dennis Felsing
c4ba06ae01
Merge pull request #7070 from Jupeyy/pr_x11_mouse_release
...
Automatically release the mouse for x11, when breakpoint is hit
2023-08-26 18:37:41 +00:00
Dennis Felsing
90cf635a0e
Merge pull request #7072 from Robyt3/Ukrainian-Update
...
Update Ukrainian translation (by Jurai!)
2023-08-26 18:36:44 +00:00
Dennis Felsing
7e0e4ab807
Merge pull request #7073 from Robyt3/Serbian-Update
...
Update Serbian translation (by Jurai!)
2023-08-26 18:36:32 +00:00
Dennis Felsing
48d0228428
Merge pull request #7077 from infclass/ddnet-fix-pause
...
CGameClient::Predict: Disable prediction if the game is paused
2023-08-26 18:35:17 +00:00
furo
ac775eca36
Fix style
2023-08-26 20:29:58 +02:00
Robert Müller
8effc201bd
Merge pull request #7075 from Marmare314/issue-7053
...
clamp value-range for color envelopes in popups
2023-08-26 18:14:06 +00:00
Robert Müller
dcf7696f50
Merge pull request #7074 from Marmare314/issue-7050
...
reset operation status after creating envelope context menu
2023-08-26 18:12:47 +00:00
dobrykafe
8957ae99bd
remove whitespace
2023-08-26 19:44:53 +02:00
Alexander Akulich
ec7d1f89e1
CGameClient::Predict: Disable prediction if the game is paused
...
CGameClient::OnPredict() says "don't predict anything if we are paused"
and yet we predict different stuff based on CGameClient::Predict() result
which leads to flickering here and there (e.g. for projectiles and characters).
2023-08-26 20:37:55 +03:00
Alexander Akulich
63ed421e38
CGameClient: Move Predict() implementation to .cpp file and reformat it
2023-08-26 20:37:55 +03:00
dobrykafe
5e923adcc9
fix map drag and drop
2023-08-26 18:14:13 +02:00
furo
0ebc40ec80
Naming: Item -> pItem
2023-08-26 17:28:35 +02:00
marmare314
c5282682f7
clamp value-range for color envelopes in popups
...
fixes #7053
2023-08-26 17:23:37 +02:00
marmare314
c68350a08a
reset operation status after creating envelope context menu
...
fixes #7050
2023-08-26 17:14:57 +02:00
Robert Müller
859efe5e95
Update Serbian translation (by Jurai!)
2023-08-26 17:14:10 +02:00
Robert Müller
9733cff7e8
Update Ukrainian translation (by Jurai!)
2023-08-26 16:48:26 +02:00
furo
1b20a9640d
Fix requested changes.
2023-08-26 13:13:12 +02:00
Jupeyy
87743bd412
Automatically release the mouse for x11, when breakpoint is hit
2023-08-26 13:01:46 +02:00