1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
Commit Graph

857 Commits

Author SHA1 Message Date
Laserlicht
b1de501716 innoextract extraction 2024-08-30 22:20:33 +02:00
Laserlicht
452aa1218d chronicle installer selection 2024-08-30 21:17:18 +02:00
kdmcser
1212fce62c update Chinese translation 2024-08-31 02:31:52 +08:00
kdmcser
d7a504dd86 Regenerated translations 2024-08-31 02:20:07 +08:00
altiereslima
8660186810 Update portuguese.ts 2024-08-27 23:37:50 -03:00
altiereslima
b8e28579e9 Update portuguese.ts 2024-08-27 23:28:49 -03:00
Ivan Savenko
3d39963a1c Merge branch 'master' into 'develop' 2024-08-26 14:01:00 +00:00
Ivan Savenko
a7d4df9c33 Update release date to monday 2024-08-25 19:42:25 +00:00
Ivan Savenko
427a583f1e Preparation for release 1.5.7 2024-08-22 13:27:25 +00:00
Ivan Savenko
75c727afaa Fix typo 2024-08-17 19:46:32 +00:00
Ivan Savenko
d6059b044d Implement selection of upscaling filter in launcher 2024-08-17 15:25:26 +00:00
Ivan Savenko
b7391f49f6 Merge branch 'vcmi/master' into 'vcmi/develop' 2024-08-05 10:36:10 +00:00
Ivan Savenko
16b28c28e4 Version bump to 1.5.6 2024-08-02 15:00:16 +00:00
Ivan Savenko
4533271692
Merge pull request #4312 from IvanSavenko/texthandler_split
Split CGeneralTextHandler file into 1 file per class form
2024-07-21 13:49:14 +03:00
Ivan Savenko
1aa391fdf8 Split CGeneralTextHandler file into 1 file per class form
All text processing code is now located in lib/texts.
No changes other than code being moved around and adjustment of includes

Moved without changes:
Languages.h           -> texts/Languages.h
MetaString.*          -> texts/MetaString.*
TextOperations.*      -> texts/TextOperations.*

Split into parts:
CGeneralTextHandler.* -> texts/CGeneralTextHandler.*
                      -> texts/CLegacyConfigParser.*
                      -> texts/TextLocalizationContainer.*
                      -> texts/TextIdentifier.h
2024-07-20 12:55:17 +00:00
Ivan Savenko
58c7afefd8
Merge pull request #4298 from Alexander-Wilms/vcmilauncher-forward-stdout-stderr
startExecutable(): Forward executable's output, so vcmiclient's stdou…
2024-07-20 12:51:32 +03:00
Ivan Savenko
e2af6c0f92
Merge pull request #4295 from Alexander-Wilms/translation-error-messages
Less noise when switching languages in launcher
2024-07-19 15:44:54 +03:00
Alexander Wilms
70e309c4f9
CModListView::loadScreenshots(): Check isValid() instead of row() and column()
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-07-19 12:38:42 +02:00
Alexander Wilms
6687d3b684 startExecutable(): Forward executable's output, so vcmiclient's stdout and stderr aren't hidden 2024-07-18 23:54:33 +02:00
Alexander Wilms
4f06aed631 CModListView::loadScreenshots(): Ensure a mod is selected in allModsView
Fixes #989
Fixes #3811
2024-07-18 22:33:48 +02:00
Alexander Wilms
187b7b0517 Show debug message instead of warning if no .qm file for selected language exists 2024-07-18 20:44:24 +02:00
Alexander Wilms
6599db4461 Less noise when switching languages in launcher
* Check if .qm file exists
* Don't call installTranslator() for English

Fixes #4277
2024-07-18 20:44:24 +02:00
Ivan Savenko
d02251f6a8
Merge pull request #4263 from Alexander-Wilms/json-error
JsonParser::parse(): Print file name if there were errors while parsing
2024-07-18 21:28:44 +03:00
Ivan Savenko
662254155a Merge branch 'vcmi/master' into 'vcmi/develop' 2024-07-17 13:57:36 +00:00
Alexander Wilms
434371195d JsonNode constructors: Take fileName as argument
* Don't print JSON in JsonParser::parse() in case of errors
2024-07-17 13:50:59 +02:00
Alexander Wilms
f2a1b47229 CModListView::CModListView(): Set background color of QSplitter to window color for seamless appearance 2024-07-17 10:50:39 +02:00
Ivan Savenko
0e57862f94 Set release date to July, 17th 2024-07-16 13:08:15 +00:00
Ivan Savenko
4ad81dcaf8 Version bump to 1.5.5 2024-07-16 13:08:15 +00:00
kdmcser
cbf094db68 update Chinese translation 2024-07-16 20:53:41 +08:00
Ivan Savenko
fd04320815
Merge pull request #4267 from IvanSavenko/sonar_fix
Fixed new issues detected by SonarCloud
2024-07-16 12:23:08 +03:00
Ivan Savenko
c00a1e1b0c Fixed new issues detected by SonarCloud 2024-07-15 07:46:40 +00:00
Alexander Wilms
f9de3b2ffd startExecutable(): Restore error handling 2024-07-14 21:04:36 +02:00
Alexander Wilms
875a8cc11a startExecutable(): Use QProcess::start() instead of QProcess::startDetached() to fix the missing prompt after quitting vcmiclient or vcmieditor
vcmilauncher is now hidden while the child process is running, since it doesn't get repainted.

Fixes #2574
2024-07-14 21:04:36 +02:00
altiereslima
39516b275e Update Portuguese Translation 2024-07-11 19:11:54 -03:00
Ivan Savenko
6b8f94e6e7 Merge remote-tracking branch 'vcmi/master' into develop 2024-07-11 17:43:44 +00:00
Ivan Savenko
006fadb82c
Merge pull request #4247 from IvanSavenko/release_154
Preparations for release 1.5.4
2024-07-11 11:45:27 +03:00
Andrey Filipenkov
98cda246a2 [launcher] call Install From File button handler asynchronously 2024-07-10 21:41:26 +03:00
Ivan Savenko
bd10f2d939 Updated Ukrainian translation 2024-07-10 14:36:24 +00:00
Ivan Savenko
ccef09db91
Merge pull request #4243 from Laserlicht/patch-3
extend file open error text
2024-07-10 17:14:37 +03:00
Ivan Savenko
9ce1d3eb34
Merge pull request #4244 from dydzio0614/polish-translations-update-2
Update polish translation for launcher and map editor
2024-07-10 17:14:20 +03:00
Ivan Savenko
ee14c0ab16
Merge pull request #4245 from Laserlicht/ger
Update german translation
2024-07-10 17:14:11 +03:00
Laserlicht
16f1d8d3ce
remove slack 2024-07-10 12:49:53 +02:00
Laserlicht
2179caeb25
update german 2024-07-09 22:23:20 +02:00
Dydzio
0ce96269f2 Update polish translation for launcher and map editor 2024-07-09 21:53:55 +02:00
Laserlicht
0695502e89
Update firstlaunch_moc.cpp 2024-07-09 21:50:06 +02:00
Ivan Savenko
a98787be43 Regenerated translations 2024-07-09 14:03:50 +00:00
Ivan Savenko
b1a902809e
Merge pull request #4232 from cewbdex/cz-work
Translate cz
2024-07-09 17:02:05 +03:00
Ivan Savenko
af54342792
Merge pull request #4194 from kdmcser/beta
update Chinese translation
2024-07-09 17:01:53 +03:00
Ivan Savenko
7775b31182
Merge pull request #4238 from kambala-decapitator/android-install-from-file
treat manually selected/dropped file as a file path instead of URL
2024-07-09 14:28:06 +03:00
Laserlicht
c2e02297e1
code review 2024-07-08 18:00:30 +02:00
Laserlicht
ce46f43eca
changed to signature based file validation 2024-07-08 17:27:02 +02:00
Andrey Filipenkov
5d9c1f986f [launcher] treat manually selected/dropped file as a file path instead of URL
fixes file installation on Android
2024-07-08 16:10:44 +03:00
Kryštof Černý
67f81c1b91 Translate launcher 2024-07-06 15:57:36 +02:00
Ivan Savenko
0de7e431f0 Version bump to 1.5.4 2024-07-05 13:48:24 +00:00
Ivan Savenko
17841b8f2a
Merge pull request #4171 from Laserlicht/tutorial_reset
reset tutorial button
2024-07-03 13:45:48 +03:00
Ivan Savenko
207a4ecaa1 Use correct key for controller settings 2024-06-27 09:58:53 +00:00
Ivan Savenko
5bc103f50e Show message to player instead of crashing silently on extraction error 2024-06-27 09:58:53 +00:00
kdmcser
7cb6194462 update Chinese translation 2024-06-26 22:26:37 +08:00
Alexander Wilms
02e429e973 Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
Laserlicht
557b33a4dd
use QT functions 2024-06-23 12:55:58 +02:00
Laserlicht
392a0e2ba0
remove tmp 2024-06-22 22:39:40 +02:00
Laserlicht
fa3b06296e
avoid sandboxing issues on android 2024-06-22 21:50:10 +02:00
Laserlicht
2d9843324a use buffer 2024-06-22 21:01:59 +02:00
Laserlicht
d60893ef73 handle more error cases with innoextract 2024-06-22 21:01:59 +02:00
Ivan Savenko
3bea383b59 Merge branch 'vcmi/beta' into 'vcmi/develop' 2024-06-21 12:58:36 +00:00
Laserlicht
d818e8e663 reset tutorial button 2024-06-20 22:19:33 +02:00
altiereslima
edf10d8174 Update Portuguese Translation (#4121)
* Update Portuguese Translation
2024-06-19 20:00:25 +00:00
Ivan Savenko
7fccfb66de Try to enable AUTO_RCC on msvc 2024-06-19 18:39:27 +00:00
altiereslima
c8aeee764b
Update Portuguese Translation (#4121)
* Update Portuguese Translation
2024-06-19 21:28:46 +03:00
Ivan Savenko
7ecf3a9b48
Merge pull request #4133 from kambala-decapitator/ios-reveal-directory
[launcher][iOS] reveal game directories in Files app
2024-06-17 17:25:27 +03:00
Andrey Filipenkov
b76bc4c0f8 [launcher][iOS] reveal game directories in Files app 2024-06-13 03:53:43 +03:00
Ivan Savenko
b87de3f758 Try to fix empty on/off buttons on Android 2024-06-12 18:31:20 +00:00
Ivan Savenko
6d251de00d
Merge pull request #4128 from IvanSavenko/launcher_fix
Launcher fixes
2024-06-12 11:27:48 +03:00
Ivan Savenko
adac4ffa92
Merge pull request #4126 from IvanSavenko/ukrainian
Ukrainian translation update
2024-06-12 11:26:59 +03:00
Ivan Savenko
b4c6906471 Merge branch 'vcmi/beta' into 'vcmi/develop' 2024-06-11 19:22:23 +00:00
Ivan Savenko
8d779d704d Fix loading of haptic feedback toggle state 2024-06-11 18:09:19 +00:00
Ivan Savenko
e902fd955b Fixed On/Off buttons not changing text after language change 2024-06-11 18:08:55 +00:00
Ivan Savenko
e5c38bebb1 Updated launcher translation 2024-06-11 14:34:30 +00:00
Laserlicht
a7d5f97a80
update german 2024-06-10 21:54:37 +02:00
Ivan Savenko
67a92cf332 Regenerated Qt translations for map editor and launcher 2024-06-10 15:24:53 +00:00
Ivan Savenko
5512ebee64
Merge pull request #4116 from kambala-decapitator/ios-launcher-copy-data
[launcher][iOS] fix copying existing OH3 data
2024-06-10 18:22:02 +03:00
Ivan Savenko
2d98ec708c
Merge pull request #4098 from IvanSavenko/launcher_settings_update
Launcher settings update
2024-06-10 18:21:17 +03:00
Andrey Filipenkov
9e5b51c86f [launcher] show button to copy existing data on iOS >= 13 2024-06-09 18:20:39 +03:00
Andrey Filipenkov
e019997bee [launcher][iOS] select directory to copy oh3 files using objc/uikit 2024-06-09 18:20:39 +03:00
Ivan Savenko
af7357a938
Merge pull request #4113 from IvanSavenko/launcher_mod_list_tweaks
Launcher mod list tweaks
2024-06-09 16:46:58 +03:00
Ivan Savenko
e817d62011
Merge pull request #4099 from IvanSavenko/launcher_help_tab_fixes
Fixes to help tab in Launcher
2024-06-09 16:46:31 +03:00
Ivan Savenko
6451f3fd01
Merge pull request #4106 from IvanSavenko/launcher_first_install_improvements
Improvements to first run / welcome screen in Launcher
2024-06-09 16:45:29 +03:00
Ivan Savenko
e39bde362a
Merge pull request #4115 from kambala-decapitator/ios-launcher-fix-dialogs
[launcher] call button handlers that show dialogs asynchronously
2024-06-09 16:44:40 +03:00
Andrey Filipenkov
65d30a444e [launcher] call button handlers that show dialogs asynchronously
fixes freeze on iOS: https://bugreports.qt.io/browse/QTBUG-98651
2024-06-08 22:30:54 +03:00
Ivan Savenko
b5a5f93e07 Converted 2-state dropdowns into toggle buttons 2024-06-08 18:17:58 +00:00
Andrey Filipenkov
53048bde4f [launcher][android] force Qt window size to match available screen size 2024-06-08 20:54:58 +03:00
Ivan Savenko
1b8111ebae Replaced checkboxes in settings with togglable buttons 2024-06-08 17:53:10 +00:00
Ivan Savenko
7041836087 Add indent to headers to better separate them from settings entries 2024-06-08 16:51:23 +00:00
Ivan Savenko
ae53c7f23e Skip h3 data setup if files are already present 2024-06-08 16:38:55 +00:00
Ivan Savenko
1f7b916a1c Minimize width of mod filter dropdown & reload button to give more space
for mod name filter
2024-06-08 16:31:43 +00:00
Ivan Savenko
604701ad13 Shorten text to fit better on mobile systems 2024-06-08 16:02:14 +00:00
Ivan Savenko
7893f97646 Remove version from mod list in launcher 2024-06-08 16:00:45 +00:00
Ivan Savenko
448eeefc42 Limit overshoot distance in scroller 2024-06-08 15:56:20 +00:00
Ivan Savenko
f9fb289782 Hide mobile-only options on PC 2024-06-08 15:31:40 +00:00
Ivan Savenko
7ebc3bc6a5 Added controller sensitivity option, merged cursor options 2024-06-08 15:31:40 +00:00
Ivan Savenko
1020477b6e Hide mobile-only options on PC 2024-06-08 15:31:40 +00:00
Ivan Savenko
ae27b65435 Added more settings to Launcher that previously have no UI access 2024-06-08 15:31:40 +00:00
Ivan Savenko
9de6023224 Removed no longer needed pseudo-languages 2024-06-08 15:31:40 +00:00
Ivan Savenko
b76c58c0b0 Changed settings location for Qt apps to be in line with main game 2024-06-08 15:31:40 +00:00
Ivan Savenko
a33a37b1a4
Merge pull request #4100 from IvanSavenko/launcher_fix_drag_lag
Fix lag on dragging mod list in Launcher on Android
2024-06-08 16:56:38 +03:00
Ivan Savenko
0dcf6e4bc0
Merge pull request #4108 from IvanSavenko/launcher_project_fix
Fix .ui files not visible in generated project (QtCreator/CMake/Ninja)
2024-06-08 16:23:04 +03:00
Ivan Savenko
b58b96cd31 Improvements to first install / welcome screen in Launcher
- Removed H3 data language selector in favor of autodetection (and to
get more space on mobile systems)
- Replaced hard to click checkboxes in mod install screen with buttons
- Inaccessible system data directory is now hidden on mobile devices to
save space and to avoid displaying data useless to player
- Reworded texts in h3 data import screen to be more clear to players
- moved manual data installation to bottom
2024-06-08 12:02:36 +00:00
Ivan Savenko
295c145c5a Fix .ui files not visible in generated project (QtCreator/CMake/Ninja) 2024-06-08 11:53:58 +00:00
Ivan Savenko
f105a66736
Merge pull request #4107 from IvanSavenko/mod_install_fix
Mod install fixes
2024-06-08 13:48:49 +03:00
Ivan Savenko
3e05685de2 Fixes & improvements to help tab:
- Added "Configuration files directory" since it is located in different
path at least on Linux and may be of interest to a player
- Removed non-functioning "Open directory" buttons on mobile systems and
stretched text box into now-empty space
2024-06-08 10:48:25 +00:00
Ivan Savenko
e3ed4eda44 Fix lag on dragging mod list in Launcher on Android
Tested by enabling dragging on desktop. According to profiler, most of
time was spent on generating mod information. Cheap to do once, but it
looks like Qt does this A LOT.

Added simple caching & reduced copying. Seems to be working fine on PC,
but not yet confirmed whether same goes for mobile
2024-06-08 10:47:57 +00:00
Andrey Filipenkov
d7bf6b7dbe [android][launcher] copy existing oh3 files using Java 2024-06-08 00:10:03 +03:00
Laserlicht
ed6ab19818 [launcher] add more places for finger scrolling 2024-06-08 00:10:03 +03:00
Laserlicht
59b40c7871 [launcher] enable High DPI 2024-06-08 00:10:03 +03:00
Andrey Filipenkov
aa33a13c1c fix indentation 2024-06-08 00:10:02 +03:00
Andrey Filipenkov
99eb5b67cc [launcher] add option to ignore SSL errors
affects fetching mods list
2024-06-08 00:10:02 +03:00
Andrey Filipenkov
8cee8b72a6 [launcher] build for Android
also embeds icons and translations as Qt resources instead of reading from disk
2024-06-08 00:09:04 +03:00
Ivan Savenko
79ce3c7a0e Enable dependencies first before enabling newly downloaded mod
Also handles the case when mod dependency is scheduled to be enabled
only after dependent mod
2024-06-07 15:05:02 +00:00
Ivan Savenko
476beb5145 Do not attempt to install mods not available in repo, such as submods 2024-06-07 15:03:45 +00:00
Ivan Savenko
1855389ab9 Bump version to 1.5.3 2024-06-05 20:55:07 +00:00
Ivan Savenko
df83fa33a1 Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00
mggk
3ece214126 feat(translations): update french translation for launcher 2024-05-30 08:45:08 +00:00
Ivan Savenko
0c1dd45e9e
Merge pull request #4034 from Laserlicht/innoextract_userpath
extract files into userdata instead of tmp
2024-05-28 16:47:24 +03:00
Laserlicht
3bde84b163
fine tuning 2024-05-24 23:36:25 +02:00
mggk
30c413da3f feat(translations): update french translation for launcher 2024-05-24 23:00:43 +02:00
Laserlicht
faba115224 extract files into userdata instead of tmp 2024-05-23 01:19:31 +02:00
Ivan Savenko
25556424c7 Version bump to 1.5.2 2024-05-20 15:11:08 +00:00
Ivan Savenko
8931121d2e
Merge pull request #3995 from IvanSavenko/old_projects_remove
[1.6] Remove old project files
2024-05-19 15:44:32 +03:00
Ivan Savenko
eb67e04ccb Remove old and unmaintained codeblocks project 2024-05-17 10:44:57 +00:00
Ivan Savenko
3f6eb13ee0 Delete old and unmaintained msvc project files 2024-05-17 10:44:11 +00:00
Ivan Savenko
721b15d9de Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-17 08:26:37 +00:00
Ivan Savenko
2f70c530fa
Merge pull request #3969 from altiereslima/beta
Update portuguese.json
2024-05-15 13:24:23 +03:00
Laserlicht
b51028a643
update metainfo to reflect gamepad support 2024-05-15 01:42:43 +02:00
altiereslima
00a39921e8 Update portuguese.ts 2024-05-14 18:34:03 -03:00
Ivan Savenko
2a648ab63b Version bump to 1.5.1 2024-05-10 11:14:36 +00:00
Ivan Savenko
2ddb41e654 Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-10 08:09:51 +00:00
altiereslima
b35b493b56 Update portuguese.ts 2024-05-09 07:32:07 +00:00
Ivan Savenko
d4c953e012
Merge pull request #3883 from IvanSavenko/release_150
Preparation for 1.5.0 release
2024-05-09 10:29:38 +03:00
altiereslima
a486f103e9 Update portuguese.ts 2024-05-08 20:33:47 -03:00
Dydzio
9ba4667821 Update polish translations 2024-05-09 00:01:29 +02:00
kdmcser
c96216ec68 update Chinese translation 2024-05-08 13:38:13 +00:00
Ivan Savenko
a7b34d90de Added Ukrainian translation to metainfo 2024-05-08 13:38:13 +00:00
Ivan Savenko
413669ae42 Set 1.5 release date to May, 10th 2024-05-08 13:37:24 +00:00
kdmcser
1ec6f9dc66 update Chinese translation 2024-05-07 23:14:46 +08:00
Ivan Savenko
b827ac2625
Merge pull request #3899 from IvanSavenko/bump_version_160
Version bump to 1.6.0 on develop
2024-05-06 22:50:08 +03:00
Ivan Savenko
3ab8b609ed
Merge pull request #3884 from Laserlicht/german_update
update german translation
2024-05-06 19:15:06 +03:00
Ivan Savenko
b1390bde9c Version bump to 1.6.0 2024-05-06 15:40:17 +00:00
Laserlicht
090715f83c update german translation 2024-05-03 21:27:34 +02:00
Laserlicht
6ff648f72b Code review; use progress bar 2024-05-03 10:37:08 +02:00
Laserlicht
2dfff3a53d process of innoextract extraction 2024-05-02 23:18:53 +02:00