Solomon Peachy
931fbb6734
rbutilqt: QtTTS: Pick a sane TTS engine/backend by default
...
* Ignore 'mock' tts engine
* Must support synthesizing to a file (ie not just "speaking")
* Don't claim 'speak' capabilities if the chosen engine does not
Change-Id: Id5fd224466ed62df5af837256fa66a340672d167
2026-07-10 08:08:39 -04:00
Solomon Peachy
8157759b7e
rbutil: Rephrase optional component "not found" messages
...
Prevents builder from falsely failing builds and their builders.
Change-Id: I44df41416ef41401248132114ee586abde05d93e
2026-07-09 22:40:44 -04:00
Solomon Peachy
814979d49b
rbutil: Enforce requirement of QT 6.6 or newer
...
Change-Id: I96064633c00ca2e13cfd9308a7f5d71cba7933cb
2026-07-09 20:32:34 -04:00
Solomon Peachy
d33d2f0840
rbutil: ttsqt: Bail if TTS engine doesn't support saving to file
...
Change-Id: Iaac0f77836727e5d8853d32a0b47c5d8d62b3365
2026-07-09 20:32:19 -04:00
Vencislav Atanasov
acba3fcb07
rbutilqt: Add the Qt TextToSpeech module as a new optional TTS engine
...
Co-authored-by: Qwen3.7-Plus
Change-Id: Ib6ddce52eee30139952e6597504ab96517dc15bd
2026-07-09 15:56:49 -04:00
Solomon Peachy
390d17893f
rbutil: Rework TTS classes to use a stringlist for arguments
...
Instead of passing the entire cmdline as a single string that was
treated as the exectuable name on some platforms
Change-Id: Ic4f043a3a48e1b1bfab82bbfa8983c2d224606ec
2026-07-09 15:00:20 -04:00
Solomon Peachy
a9a4b3316f
rbutil: Delete the long-disabled and very obsolete SAPI4 TTS code
...
Change-Id: I24f69cbe646d5c5ddb488a8a1912d028ec017acf
2026-07-09 14:58:37 -04:00
Vencislav Atanasov
3967180c62
rbutilqt: Simplify Utils::mountpoints() using QStorageInfo
...
Co-authored-by: Qwen3.7-Plus
Change-Id: I5832963d1a176754315dc28ffab75fa0a06f0334
2026-07-08 03:16:28 +03:00
Vencislav Atanasov
db1ca7c5c1
rbutilqt: Remove Utils::filesystemSize()
...
Implement the available/total functions using QStorageInfo. Unfortunately, QStorageInfo does not provide cluster size, so there's still some platform-specific code left extracted to Utils::filesystemClusterSize().
Co-authored-by: Qwen3.7-Plus
Change-Id: Iacec829b7d12afb65a966fe15e319d305c7384fd
2026-07-08 03:16:28 +03:00
Vencislav Atanasov
d06fa10485
rbutilqt: Simplify Utils::filesystemType() using QStorageInfo
...
Co-authored-by: Qwen3.7-Plus
Change-Id: Ia3b51be02d6848199ab573399f566eed7a2df085
2026-07-07 23:38:00 +03:00
Vencislav Atanasov
f62e29f311
rbutilqt: Simplify Utils::findExecutable() using QStandardPaths
...
Co-authored-by: Qwen3.7-Plus
Change-Id: I8f6f4003ebc7b9a4a8139f5dd4dfca3ae6cff273
2026-07-07 23:35:43 +03:00
Vencislav Atanasov
f9504df7bd
rbutilqt: Simplify Utils::recursiveFolderSize() using QDirIterator
...
Co-authored-by: Qwen3.7-Plus
Change-Id: I73ee0f25c0b06d120364e245f8adf66e9fa09bbf
2026-07-07 23:33:30 +03:00
Solomon Peachy
7437f7b214
rbutil: Fix up the last of the windows-specific compile warnings.
...
The remaining ones apply to all targets
Change-Id: Iadb33dfe12349c6fd8329dbba68e762e7bc2095b
2026-07-05 09:59:48 -04:00
Solomon Peachy
04a7a60f8b
lubucl: Update from upstream v1.01 to v1.03
...
Should hopefully address the small pile of windows build warnings
Change-Id: I0bc493ce5c76591eb2e663894702d003933fe14b
2026-07-05 08:06:53 -04:00
Solomon Peachy
f69d40564d
rbutil: Add file missing from mspack update
...
Change-Id: Ie764ed422c328da10e0a6c4144bf3abd30b98d68
2026-07-05 07:59:42 -04:00
Solomon Peachy
a82396b0be
rbutil: Update embedded 'mspack' library from 0.10.1alpha to 0.11alpha
...
Change-Id: I37210d1dc2c5cecdf8256f9e0294dcbd8516e8c8
2026-07-04 21:42:33 -04:00
Solomon Peachy
b54b10dc6d
sansapatcher: Correct use of FormatMessageA() for windows builds
...
Change-Id: I3e026400fa0440221b4fd6d8c96f515737e36433
2026-07-04 13:04:05 -04:00
Solomon Peachy
aa4ea8e279
ipodpatcher: Correct use of FormatMessageA() for windows builds
...
When called with FORMAT_MESSAGE_ALLOCATE_BUFFER you need to pass in
a pointer to an LPSTR, not the LPSTR itself.
Change-Id: Iecc6d79edceb2142d61034d61364262126957b46
2026-07-04 12:36:38 -04:00
Solomon Peachy
96f1b19149
rbutil: define USE_LIBUSBAPI for Linux builds
...
Resolves "DFU not working at all" under rbutil on Linux
And fix some related warnings
Change-Id: Ie44ebc960cfc0c5d0121e8ceb24576ed427746a8
2026-07-04 11:51:49 -04:00
Solomon Peachy
9e6135ecd2
rbutil: Update version in the '.desktop' file
...
Change-Id: Ifa4a852f8bbc01e9662fae9e5b9ee2140a54116c
2026-07-04 11:13:56 -04:00
Solomon Peachy
9a31255ff8
rbutil: Fix some compile warnings under Windows
...
Change-Id: I8abfbd61066c17297962de1432144692604cf245
2026-07-04 11:13:56 -04:00
Solomon Peachy
a3be8d1a12
rbutil: Documentation updates
...
Change-Id: I4782c034593e011d51ec213af1db3a82e6f832f3
2026-07-04 09:39:09 -04:00
Solomon Peachy
55d15b17b7
rbutil: Use 'English' as the default voice in the selection box
...
Instead of the first one on the (alphabetically sorted) list, currently
Bulgarian.
Ideally we'd try to discern this from the current system/UI language
Change-Id: I82a14716afb484fbaea22f78fe4dd7f00c24252e
2026-07-04 09:35:46 -04:00
Solomon Peachy
6351b64fff
rbutil: Change phrasing of message when system quazip is not found
...
It's not a fatal error (as we build in-tree instead) but the
builder infrastruture was treating it as one.
Change-Id: I7c0d00e36184f8d15642bce4a3bbbd5542943ed6
2026-07-03 16:01:33 -04:00
Solomon Peachy
412a78dd5f
mks5lboot/rbutil: When building for Windows, link with 'setupapi'
...
Change-Id: I92b1be12f7512eb58c3136349cb1f21b552a6477
2026-07-02 17:22:21 -04:00
Vencislav Atanasov
1ded71b751
mks5lboot: Mark uint8_t[] struct members that are initialized from a character array as not containing a null terminator
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I77c3d4b907b175447fef522378d6e61d65f4d2cf
2026-07-01 21:03:49 -04:00
Vencislav Atanasov
c7d5603c63
mkimxboot: Fix potentially unaligned pointer access of a packed structure
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I437ae173a8f1304a33082e62b86110c9bc4488ba
2026-07-01 17:27:49 +03:00
Vencislav Atanasov
3d3df07c45
bspatch: Fix compile warnings on Apple Clang 21
...
- signed/unsigned comparisons
- unambiguous fclose() result code handling
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I6c4184ddef39281610de01b5c6ab402450d9a3ec
2026-06-29 23:11:33 -04:00
Vencislav Atanasov
9e3b38c863
rbutilqt: Remove unused macOS includes from utils
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I603e327acbad48bb1dd2ff8be8a2953c7155f5b9
2026-06-29 21:18:23 -04:00
Vencislav Atanasov
379c056299
rbutilqt: Replace Utils::ejectDevice() on macOS with a diskutil process invocation
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Icedf758af6f1f0843c58e7ea5bb3efb2e7177b4a
2026-06-29 21:16:30 -04:00
Vencislav Atanasov
1039eb305a
rbutilqt: Add error handling to TTSCarbon::generateSettings()
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Iad04028853e930b508e72c2c9c3e9ebd9504d4bb
2026-06-29 21:16:19 -04:00
Vencislav Atanasov
92d62cf6ac
cmake: Make sure pip is upgraded before using it to install dmgbuild
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I4221aab7dd031bd79548a94b30ce5978d81e282b
2026-06-29 20:13:50 -04:00
Vencislav Atanasov
174a2330e9
rbutilqt/themeeditor: Fix compiler warnings
...
- match sign in integer comparison
- remove unused RBViewport member
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I9a59d701593a4290523bf4b837ab0794bea2ebaa
2026-06-29 20:13:29 -04:00
Vencislav Atanasov
6aa8d80ba2
rbutilqt: Replace Utils::findRunningProcess() on macOS with a libproc implementation
...
GetNextProcess, GetProcessPID and GetProcessInformation are replaced by proc_listallpids() and proc_pidpath()
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Ic4fe13c405e11b658b1a9540e49741d4e69069f3
2026-06-29 20:13:09 -04:00
Vencislav Atanasov
45bd7c4400
rbutilqt: Simplify Utils::filesystemName()
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Ib8851f27c473afa0d656ea3885e4d65342d10ab5
2026-06-29 20:12:48 -04:00
Vencislav Atanasov
204684f3e2
themeeditor: Fix class member initialization by calling the getter
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I5137c7c5094200809f79880bc425b0f31fee02cc
2026-06-29 20:12:32 -04:00
Vencislav Atanasov
05de3651d2
rbutilqt: Simplify conversion from UTF-16 string to QString for proxy host
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Idf3437f66c6ac95d38cad997143b995b2fe9a5f2
2026-06-29 17:41:25 -04:00
Vencislav Atanasov
cf2872af11
rbutilqt: Replace insecure sprintf() with snprintf()
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Ic2abe417f17a6f104cc4523b155ca6fdb5965bb1
2026-06-29 17:41:06 -04:00
Vencislav Atanasov
e3e416c51b
rbutilqt/themeeditor: Fix Qt6 deprecations
...
- insertMulti() -> insert()
- QString::fromUtf16() with a parameter type other than char16_t*
- enterEvent() parameter type changed from QEvent to QEnterEvent
- QVariant -> QMetaType
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Ia9c6c93e281475856e8355a8aa0e64c474eed80c
2026-06-29 17:28:53 -04:00
Vencislav Atanasov
d618846a8f
ipodpatcher: Remove unused functions
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Iedb2d42612d543e7761dd1c2628310cd053652e3
2026-06-29 16:56:16 -04:00
Vencislav Atanasov
dcc997e4e4
rbutilqt: Switch to a Qt API to get macOS version number, get system architecture using a compiler macro
...
This removes usage of the deprecated macOS Gestalt() API (2/2)
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Id10386285469c06f082a7dcdcc3284b97519b10a
2026-06-29 16:55:47 -04:00
Vencislav Atanasov
1cbf61607e
rbutilqt: Switch to a Qt API to get the CPU cores count
...
This removes usage of the deprecated macOS Gestalt() API (1/2)
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: Ia3af510412a97258dcd9fc9134708900c04c62c4
2026-06-29 16:54:27 -04:00
Vencislav Atanasov
cac0be6af5
rbutilqt: Replace deprecated macro Q_OS_MACX with Q_OS_MACOS
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I0c51044574b8ec96ceaf0b953c6735ccf5d19e5e
2026-06-29 16:53:48 -04:00
Vencislav Atanasov
e0ac7a75a3
macOS 12.0 Deprecation: kIOMasterPortDefault -> kIOMainPortDefault
...
Co-authored-by: ChatGPT (GPT-5.3 Mini) <chatgpt@openai.com>
Change-Id: I4b5d6b73b87b7ea9e79ed20bbd27fb88fc8647ab
2026-06-29 16:53:21 -04:00
Solomon Peachy
02f7dabc67
rbutil: Port TTS preview to QT6
...
Change-Id: Ib4a5b1ef1cd3927792e0022e387b6abc8e5f099e
2026-06-27 11:42:50 -04:00
Solomon Peachy
0db37606b0
rbutilqt: Handle translation load failures, part deux
...
This set happens on startup, when we try to load a translation
matching the system locale
Change-Id: Ib1d3effa7aa738550841023a14f733d8d5b48837
2026-06-27 07:35:21 -04:00
Solomon Peachy
4875f706c2
rbutil: Cleanly handle translation loading errors at runtime
...
Change-Id: I2d8c566437b9a6224db41608bf3cbab8aed76763
2026-06-27 07:29:21 -04:00
Solomon Peachy
a700dcdfb0
rbutil: Use add_compile_definitions instead of add_compile_options
...
Change-Id: Iaeca86f89ccfb961456a10b96f3257d444cc0971
2026-06-27 07:29:21 -04:00
Solomon Peachy
44713c3014
themeeditor: Fix a pile of unusued argument warnings
...
Change-Id: I919c239a410e0ff708276d5ca9d1046b70af536b
2026-06-27 07:29:21 -04:00
Solomon Peachy
5d3723bbf4
rbutil: Use QT_NO_USE_NODISCARD_FILE_OPEN everywhere
...
Not sure why we needed to specify this in three different places, but eh
Change-Id: If8d7304971f176bcfca839f5d6da626908621be4
2026-06-26 21:38:57 -04:00