Robert Müller
db1452d0a8
Merge pull request #6988 from Marmare314/envelope-scale
...
implement scaling for envelope editor
2023-08-19 09:49:17 +00:00
Robert Müller
6ba328dfdb
Merge pull request #7009 from Possseidon/dev/multi-view-team
...
Allow automatic multi-view for players in a team
2023-08-19 09:01:10 +00:00
Robert Müller
6f47235edc
Merge pull request #7037 from def-/pr-shutdown-stuck
...
Shut down db connection pool (fixes #7036 )
2023-08-17 18:35:34 +00:00
Dennis Felsing
a44bd9d3e1
Shut down db connection pool ( fixes #7036 )
2023-08-17 14:35:58 +02:00
marmare314
23e2d9377d
implement scaling for envelope editor
2023-08-16 15:06:41 +02:00
Dennis Felsing
2e1157bf3f
Merge pull request #7032 from Marmare314/issue_7031
...
Do not activate box selection when panning (fixes #7031 and fixes #7030 )
2023-08-16 12:56:15 +00:00
marmare314
fded5013eb
Do not activate box selection when panning ( fixes #7031 and #7030 )
...
And do not pan while any other operation is in progress.
2023-08-16 12:17:06 +02:00
Dennis Felsing
b52fa5e910
Merge pull request #7028 from Robyt3/Base-Str-Utf8-Offset-Functions
...
Add utility functions for converting UTF-8 bytes ↔ chars offsets
2023-08-15 21:10:38 +00:00
Dennis Felsing
26cf933e9f
Merge pull request #7027 from Robyt3/Client-OnWindowResize-Editor-Fix
...
Move `OnWindowResize` listener to engine, handle editor
2023-08-15 21:07:30 +00:00
Robert Müller
af3870a64d
Add utility functions for converting UTF-8 bytes ↔ chars offsets
...
Add `str_utf8_offset_bytes_to_chars` and `str_utf8_offset_chars_to_bytes` functions to base system to convert between byte and UTF-8 character offsets in UTF-8 strings.
Previously, this was separately implemented in the textrender and in the lineinput helper.
These textrender functions are entirely replaced by the new functions:
- `ITextRender::SelectionToUTF8OffSets` (by `str_utf8_offset_chars_to_bytes`)
- `ITextRender::UTF8OffToDecodedOff` (by `str_utf8_offset_bytes_to_chars`)
- `ITextRender::DecodedOffToUTF8Off` (by `str_utf8_offset_chars_to_bytes`)
These lineinput helper functions are reimplemented using the new functions:
- `CLineInput::OffsetFromActualToDisplay` (uses `str_utf8_offset_bytes_to_chars`)
- `CLineInput::OffsetFromDisplayToActual` (uses `str_utf8_offset_chars_to_bytes`)
2023-08-15 22:11:25 +02:00
Robert Müller
7168fb15d2
Move OnWindowResize
listener to engine, handle editor
...
Register the `OnWindowResize` listener in the engine client instead of the game client and properly dispatch the event also to the editor, so text containers in the editor are cleared when the window is resized.
Closes #7018 .
2023-08-15 20:17:27 +02:00
Robert Müller
5567c56d3a
Reorder CClient
interface pointers alphabetically
2023-08-15 19:47:52 +02:00
Robert Müller
15be3c3944
Remove unused m_DebugSoundIndex
variable
2023-08-15 19:47:52 +02:00
Jupeyy
107ac6705d
Merge pull request #7021 from Robyt3/TextRender-Container-Atlas-Fix
...
Reset text containers on language change
2023-08-14 22:02:19 +00:00
Dennis Felsing
77a6425d37
Merge pull request #7019 from rffontenelle/rffontenelle-patch-1
...
Update brazilian_portuguese.txt
2023-08-14 21:44:01 +00:00
Robert Müller
f90e908c9d
Reset text containers on language change
...
Fix text containers rendering broken text after the language is changed, as this cleared the glyph atlas without clearing the references to the glyph positions in the text containers. Now `OnWindowResize` is also called on language change to reset all text containers.
However, the glyph atlas is not cleared on normal window resize anymore, because this seems to be unnecessary.
2023-08-14 23:04:55 +02:00
Rafael Fontenelle
92a364ebac
Update brazilian_portuguese.txt
2023-08-14 14:18:22 -03:00
Dennis Felsing
b9355880b3
Merge pull request #7015 from k-i-o/k-i-o-patch-1-2
...
Update italian.txt
2023-08-14 10:23:09 +00:00
Samuele Radici
5d4bd3ce9f
Update italian.txt
2023-08-14 11:57:48 +02:00
Dennis Felsing
a730987767
Merge pull request #7013 from M0REKZ/macos-app-fix
...
Minimal fix for macOS info.plist
2023-08-14 09:12:40 +00:00
Edgar
21d358434f
Merge pull request #7014 from Marmare314/mapview
...
Add CEditorComponent to moduralize editor
2023-08-14 08:44:31 +00:00
marmare314
77e36c5062
change interface and fix scalelength
2023-08-14 10:12:06 +02:00
marmare314
a46f320d24
remove unnecessary include
2023-08-14 09:03:03 +02:00
marmare314
7925f9fd45
format
2023-08-14 08:59:01 +02:00
marmare314
72b0fbfada
format
2023-08-14 08:53:59 +02:00
marmare314
2bcfbae841
Add CEditorComponent to moduralize editor
...
Refactor CSmoothZoom and introduce CMapView
2023-08-14 08:36:02 +02:00
+KZ
8a7601f6c1
Fix exec names at info.plist
2023-08-13 16:21:18 -04:00
Possseidon
07e9c5a684
Allow automatic multi-view for players in a team
2023-08-13 15:38:36 +02:00
Dennis Felsing
a66aac1f79
Merge pull request #7005 from k-i-o/k-i-o-patch-1-1
...
Update italian.txt
2023-08-12 21:39:14 +00:00
Dennis Felsing
255092ff92
Merge pull request #7003 from Robyt3/Scoreworker-Query-Size-Fix
...
Increase another SQL query buffer size
2023-08-12 21:24:07 +00:00
Dennis Felsing
84c6cf2333
Merge pull request #7004 from Vy0x2/pr-poc-mv-clean
...
Fix smooth zoom with zero causing problems with multiview
2023-08-12 21:20:06 +00:00
Dennis Felsing
fcb05f945b
Merge pull request #7006 from k-i-o/k-i-o-patch-1
...
Update connection_pool.cpp
2023-08-12 21:18:51 +00:00
Robert Müller
defd8f7c96
Increase another SQL query buffer size
...
The `INSERT INTO` query could be truncated when using a longer table name prefix.
2023-08-12 19:42:05 +02:00
Samuele Radici
27e3c9fa03
Update italian.txt
2023-08-12 18:54:23 +02:00
Samuele Radici
5e1ef437d8
Update connection_pool.cpp
2023-08-12 18:40:33 +02:00
devdenn
9db53bd7a0
Fix smooth zoom with zero causing problems with multiview
2023-08-12 18:07:47 +02:00
Dennis Felsing
26f08a1903
Version 17.2
2023-08-12 16:43:37 +02:00
Dennis Felsing
b572310a34
Merge pull request #6996 from By622/patch-3
...
Update traditional_chinese.txt
2023-08-11 21:09:14 +00:00
Dennis Felsing
a8dae6c90b
Merge pull request #6998 from By622/patch-4
...
Update simplified_chinese.txt
2023-08-11 21:09:12 +00:00
Dennis Felsing
925a4f70aa
Merge pull request #7000 from Robyt3/Server-Score-Reset-Fix
...
Fix scoreboard time being reset when using `/timecp`, fix SQL query buffer sizes being too small
2023-08-11 21:08:54 +00:00
Dennis Felsing
0f6e69e87d
Merge pull request #7001 from n0Ketchp/n0Ketchp-patch-1-1
...
Update spanish.txt
2023-08-11 21:08:22 +00:00
noKetchup
68acdf8850
Update spanish.txt
2023-08-11 15:40:42 -04:00
Robert Müller
0196470e01
Fix SQL query buffer sizes being too small
...
In `LoadPlayerData` exactly the `LIMIT 1` clause was getting truncated from the query due to the buffer size being insufficient. Depending on the length of the table name prefix the query could have been truncated at any other position resulting in syntax errors.
In `ShowTeamTop5` the buffer size is increased because it could cause truncation with a longer than default table name prefix.
2023-08-11 17:20:45 +02:00
Robert Müller
29871fd5f6
Fix scoreboard time being reset when using /timecp
...
Using `/timecp` with a player name that has no time on the current map incorrectly cleared the player score/time causing it to not be shown in the scoreboard anymore.
2023-08-11 16:41:42 +02:00
Edgar
984eb47c87
Merge pull request #6995 from Vy0x2/pr-poc-mv-clean
...
Increase lower limit for zoom smoothness (multiview), fixes #6981
2023-08-11 11:48:37 +00:00
By
edaafbfff0
Update simplified_chinese.txt
2023-08-11 17:06:09 +08:00
By
4c63ba354a
Update traditional_chinese.txt
2023-08-11 16:59:44 +08:00
Dennis Felsing
8eab94bcac
Merge pull request #6992 from Marmare314/selection-order-bug
...
Switch order in which envelope points are selected
2023-08-10 20:22:53 +00:00
Dennis Felsing
7f636329b2
Merge pull request #6993 from Marmare314/hidden-channel-bug
...
Ignore hidden channels when selecting envelopes
2023-08-10 20:22:07 +00:00
Dennis Felsing
6d4f1a65c0
Merge pull request #6994 from Marmare314/adding-env-bug
...
Disallow adding overlapping envelope points
2023-08-10 20:21:26 +00:00