Commit graph

35180 commits

Author SHA1 Message Date
Franklin Wei
84cd812ccd puzzles: resync with upstream
This updates the upstream sources to include a modified get_cursor_location
patch that I anticipate Simon will merge shortly. Also, I've streamlined
the resync process to only copy the exact files we need to reduce clutter.

Change-Id: I6a5ac60821fce346c500b101c363ae0c63c2ee95
2020-12-07 02:08:18 -05:00
Dominik Riebeling
ae59995553 rbutil: Update changelog.
Add changes that haven't been added yet.

Change-Id: I90e1326e62bb121c7a1242ee76610faae745505c
2020-12-05 19:11:18 +01:00
Dominik Riebeling
731c5db875 rbutil: Fix autodetection messing up with multiple players.
When multiple players are connected, and at least one of them has a USB
ID that is shared between multiple targets the resulting list would be
off. Fix that by avoiding to modify a list while iterating over it,
that's usually not a good idea.

Change-Id: I0c1fc5e1a3264f269de2d71c3a7f2b82877636ba
2020-12-05 19:11:18 +01:00
Dominik Riebeling
82b53ebf54 rbutil: Merge finding player by USB ID with PlayerBuildInfo.
Remaining rework of player info data handling.

Change-Id: I0e10cdff43e0c9fef43b3b9a30af81f1cd7c4853
2020-12-05 19:11:18 +01:00
Dominik Riebeling
0e315e848a rbutil: Rework handling of available voice languages.
- Move Rockbox voice language names handling to PlayerBuildInfo, and
  handle it similarly to the rest of the device specific values. Rework
  internal handling to simplify things.
- Enable language list from build server for installing prerendered
  voice files other than english.
- Extend unit tests.

Change-Id: I1a1a717fa4409fa965dabc86f52d52a4fc516315
2020-12-05 13:44:37 +01:00
Dominik Riebeling
ac5fc26085 rbutil: Make target list part of new player info.
Also remove the unused cases.

Change-Id: Ic53c12c68f9d62d9c3e4406641355893e137bcf7
2020-12-05 11:19:32 +01:00
Dominik Riebeling
c51c6c1eb3 rbutil: Add MIDI patchset to plugin data installation.
Add installing the MIDI patchset, and subsequently rename from Game
Files to Plugin Data Files.

Change-Id: Ib71ce4c8992ffc9185d961a60296c9671ebc9709
2020-12-04 21:26:19 +01:00
Dominik Riebeling
7739bb31b3 rbutil: Convert RockboxInfo unit test to data driven QTest.
Change-Id: Ic566f9be3532d327af4916605f0215da636ee7d6
2020-12-03 22:25:12 +01:00
Dominik Riebeling
3300815c44 rbutil: Update and fix unit tests.
- Fix changed dependencies and provide real stubs.
- Update to use QTest global data for test table, so individual test
  vector entries show up as individual tests. That way a single
  comparison failing doesn't make all appear as failed and provide
  better indication what went wrong.

Change-Id: I69681c3acd5ceceb4c8ceb1feb341e90a65dd603
2020-12-03 22:25:12 +01:00
Dominik Riebeling
b064a6cbb5 rbutil: Rework and merge player and build server info handling.
Handling the data for players from rbutil.ini and the build-info data
from the server is closely related. Splitting things up into different
classes only creates tightly coupling, which is unnecessary, and the
need to differentiate between them in the application.

Merge both classes into a single one and rework handling so the
application doesn't have to deal with two separate classes anymore.

Furthermore, change URL templates to use new values from build-info
instead of hard coding them.

Change-Id: Ica550973ce23d1559110782add52bc214eba552d
2020-12-03 22:25:12 +01:00
Dominik Riebeling
78a01db47c rbutil: Get rid of configure_modelname in rbutil.ini.
The target selection string used for configure is the same as the
internally used player string, minus the (optional) variant suffix.
Don't duplicate things, simply strip the suffix.

Change-Id: Ic34bd5f933fab0d837adce0d0ae9c403868d720d
2020-12-03 22:25:12 +01:00
Solomon Peachy
10f05b3b27 build-info: Replace %MODEL% with %TARGET%
Change-Id: I93bcaae9f8f053bec783500418561faa84c60afe
2020-11-29 09:54:47 -05:00
Solomon Peachy
a5961c944b FS#5320: Keypad hold doesn't let go until scrolling is used (ipod 4g/5g)
Patch by Boris Gjenero

Change-Id: I7df956fb63478bbbe891104faf5ab35096da7576
2020-11-29 08:51:37 -05:00
Dominik Riebeling
c8da2bc145 rbutil: Treat Aigo Eros clones as variant of it.
Fixes installing those builds, since they relied on the broken
buildserver_modelname. Also simplifies internal handling.

Change-Id: I5b67b7d65ee2299e01ea4e009e47f93c3343911a
2020-11-27 21:30:19 +01:00
Dominik Riebeling
8765650fe0 rbutil: Remove buildserver modelname string.
This isn't needed anymore, and the only player it was actually used for
were the 8MB modded Archos ones, for which the usage was broken.

Change-Id: I2aa235113be2e6ae88973711bd8ee4734cbc266a
2020-11-27 20:54:03 +01:00
Dominik Riebeling
716643572d rbutil: Remove Archos 8MB modded players.
The Archos Recorder has 2MB RAM and can be modded to 8MB. While we
previously had separate builds for those the last release which it was
built for is 3.4; installing for 8MB modded players was broken and
installed the normal 2MB build.

Since we never provided builds for other hardware mods (like Ondio
backlight mod, h100 series RTC mod) there isn't much reason to do so for
the 8MB mod. Furthermore, given that the current state is broken and
nobody complained the number of users of the mod can be assumed to be
very low, and people with a modded player also building Rockbox on their
own.

Change-Id: Ia200651773a2f5b58321299bad30d539fe1a5ada
2020-11-27 20:48:30 +01:00
Dominik Riebeling
3ee6ce956f rbutil: Remove duplicated enum entry.
SystemInfo::PlatformName and Name actually retrieve the same value.
That's not usefule, so remove one of both.

Change-Id: I8ee429f099588e0e1e8129302542cd0f6f836203
2020-11-26 22:41:51 +01:00
Dominik Riebeling
185dfb42c2 rbutil: Fix wrong format string.
Only caused a warning, but no need to pass format parameters if there is
no format string.

Change-Id: Ifed38d8af3881c40e8609ccda3786cea23a3bc2f
2020-11-23 20:44:46 +01:00
Dominik Riebeling
9a52991bbd rbutil: Add support for installing daily builds.
Change-Id: If6618a4b2b1b0a718374ed8bac6976c4775947e1
2020-11-23 20:44:46 +01:00
Dominik Riebeling
1ba6785e46 rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I19f179907742092c970c27dd1bbf70f7e00fed76
2020-11-23 20:44:46 +01:00
Dominik Riebeling
ec730f1609 rbutil: Fix selecting the previously selected build type.
When starting Rockbox Utility select the same build type that was used
during the previous run. This broke during refactoring, fix it.

Change-Id: Ibbca3431cbfe65daedd3e5783e0940d83d1594a6
2020-11-23 20:44:46 +01:00
Solomon Peachy
64fe7e03a8 build-info: Additions for new rbutil.
Change-Id: If61c7a013af78e064a0f5f5ab1046ef07af44730
2020-11-22 12:41:53 -05:00
Dominik Riebeling
f598ef9c27 rbutil: Add support for installing daily builds.
Change-Id: If2bb23adcbd4a441f18846515c609118da8c5b5e
2020-11-22 18:30:01 +01:00
Dominik Riebeling
0ea8f074ed rbutil: Remove Install Voice button from Accessibility tab.
Installing the voice file is now done via the main installation.

Change-Id: I431744467faaf1720b3c82d339a424d67c84e6e6
2020-11-22 18:30:01 +01:00
Dominik Riebeling
0b911b7500 rbutil: Fix wrong section name in installation log.
Change-Id: I7e65d5486298253add0a4a0b5f07d4c979bb2098
2020-11-22 18:30:01 +01:00
Dominik Riebeling
ff7e8b4293 deploy: Update sources list for Rockbox Utility.
Change-Id: If23a2ee8056b124500e385a9d973dfbddbc32e02
2020-11-22 18:30:01 +01:00
Solomon Peachy
25529e4fe0 lang: More automated rejiggering, USB_MODE_* is no longer ibasso-specific
Change-Id: I8e7eb3bb3c5ed61572c0ade4059c3e3527558932
2020-11-22 14:45:16 +00:00
Dominik Riebeling
e8f8df4ee0 rbutil: Update Iriver h100 / h300 series bootloader paths.
The patching code now requires the new version 8.0 bootloaders.

Change-Id: I7bf26db2e0858523740c43e57863eb9480a93548
2020-11-22 14:52:46 +01:00
Dominik Riebeling
1b9eebb39d rbutil: Update Windows application icon.
Bring it in line with the other icons and always show the same image,
regardless of size.

Change-Id: I93f562fad168975f58064fdd64c42874f496cce6
2020-11-22 14:43:01 +01:00
Dominik Riebeling
ba2bbd60bd rbutil: Move Manual installation to main tab.
The manual tab didn't show the manual, so it's clearer to have that as
part of the main tab.

Also fixes the wrong manual getting downloaded for releases.

Change-Id: I5d4a287102af037f94f0de8464e025d9ff5f76ed
2020-11-22 14:43:01 +01:00
Dominik Riebeling
5f36aed4bf rbutil: Unify template parameter for release version.
Don't use different parameter names for the same parameter.

Change-Id: I3800d2ed7dcecf76b111b15945d62449efa70bcc
2020-11-22 14:43:01 +01:00
Dominik Riebeling
dfe9d63640 rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I984ce56b5b45bbe705ac178cfe26cbc8b0d7e9d2
2020-11-22 14:43:01 +01:00
Dominik Riebeling
1a3d12ceea rbutil: Don't try to install voice file if it's not available.
Change-Id: I42f70d6cf76298216bb626fd0fe760c0ce0a9835
2020-11-22 14:43:01 +01:00
Dominik Riebeling
0d2257d1f7 rbutil: Replace stringly types build type handling with enum.
Avoid having to repeat the same strings for lookup again and again and
use an enum instead, which is also less error prone.

Change-Id: I6ee8393948dbce97cb53850a6d8bdc4de12b4167
2020-11-22 14:43:01 +01:00
Dominik Riebeling
c2dacf6736 rbutil: Add voice installation to main widget.
Add checkbox for installing the prerendered voice file to the main
install widget. Current limitations:
- only english for now. The available languages are available from the
  build server but are not yet taken into account.
- only for releases. This is the same limitations we had before. We do
  have voices for daily builds, but that requires adding daily builds
  again (those have been removed some time back.)
- Old voice installation dialog still present.

Change-Id: Ia6443b0f15365196df86cc1b64d5e043dff70c4c
2020-11-22 14:43:01 +01:00
Dominik Riebeling
ad37655687 rbutil: Use pattern replacement for SystemInfo build type.
Use pattern replacement for lookup instead of expanded values. Will
allow simplifying things later for better handling of different build
types.

Change-Id: Iaad67a6c8654d27c3206cf95a379acab169565bc
2020-11-22 14:43:01 +01:00
James Buren
6b3b4df6f6 rockbox: move firmware checksum algorithms into a common header
Before this was just implemented inline wherever it was needed. Now
it is provided as 2 inline functions in a header called checksum.h.
There should be no differences in actual behavior.

Change-Id: I5d756cc01dc6225f5cc8b6af90911a3fc7b57cd5
2020-11-22 05:12:04 +00:00
Solomon Peachy
2eb191a3f4 manual: hopefully fix html generation
(by using the 'scrhack' package)

Change-Id: I229b59878016d18ac7714139debc1ad2b0621fed
2020-11-21 23:55:45 -05:00
Solomon Peachy
9d33ed10ab manual: Remove some (very) obsolete latex style files.
* scrreprt.4ht
  * booktabs.sty
  * optional.sty
  * pdfdraftcopy.sty

Use system-provided stuff instead.

Change-Id: I8d11d789b2e1c074a2b10f8ac1c0fec2e0792b20
2020-11-21 23:17:22 -05:00
Moshe Piekarski
332433eb3d fix a few manual warnings
Change-Id: I4b9bf1e418367b2a420f56ce36f30cb0926e816f
2020-11-22 03:48:28 +00:00
Solomon Peachy
4641d86c46 xduoox3: Fix a few issues with the manual
Change-Id: I5055fc280170686f4f0bb1f298d66fb362a5d963
2020-11-21 19:55:47 -05:00
Dominik Riebeling
efacce58eb rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I6bb86e34438eef10813f0d19e910599156a876e6
2020-11-21 10:21:31 +01:00
Dominik Riebeling
f29b81d521 rbutil: Avoid creating temporary object.
There's a static function for that.

Change-Id: I5d07d73368f20167bb45f5b0df510be6d4227109
2020-11-19 21:32:41 +01:00
Dominik Riebeling
fb6840e572 rbutil: Remove done() signal from Themes Install window.
This shadows a slot from the base class. Since it isn't used simply
remove it.

Change-Id: If2e524141b7ca4ab1083b4b713b2db3a0b25e6a6
2020-11-19 21:32:41 +01:00
Dominik Riebeling
12764781c6 rbutil: Modernize code to use C++11 nullptr.
Change-Id: I112cf95122a896cdb30a823b4c1f49831273dc7e
2020-11-19 21:32:41 +01:00
Dominik Riebeling
f608de723c rbutil: Convert ServerInfo to singleton.
Change-Id: I29d94eb6bae084754e5e3f337c41de8354ba123c
2020-11-19 21:32:41 +01:00
Dominik Riebeling
f8fb4274ee rbutil: Rework server info data handling.
Remove map that isn't used anymore.

Change-Id: I771a98c9b64f3dac36e71041c566b89fbea51e06
2020-11-19 20:53:32 +01:00
Solomon Peachy
497618e51e Add libraries to native MIPS toolchain to enable bluetooth support
libffi, zlib, glib, expat, and dbus

Change-Id: I9453b3cabe91fd3dc992e065729d61d7e005091e
2020-11-19 12:33:01 -05:00
Solomon Peachy
b7b0c7c648 languages: convert recording_swcodec -> recording
Change-Id: I481a53284d63457717f4a6524edc5b477f29a20a
2020-11-19 09:52:37 -05:00
Solomon Peachy
6d62a7a1bd Clean out some obsolete strings from the Russian translation
Change-Id: Ic0878ae5d8e5d12c803702f3c069a1d1a3a74ef8
2020-11-19 09:52:05 -05:00