Commit graph

1263 commits

Author SHA1 Message Date
Rafaël Carré
1a6172d2a0 mkamsboot: remove useless casts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30115 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:01 +00:00
Rafaël Carré
621524e001 mkamsboot: correct old comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30114 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:48:54 +00:00
Dominik Riebeling
a3875d7dfe Rockbox Utility: fix proxy password getting lost (FS#12166).
The proxy settings are stored as string representation in the configuration
file. If username / password contains characters used as separators parsing the
string again will cause wrong results. Percent-encode them before storing, and
parse it as percent-encoded string when reading it back.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30071 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 17:21:06 +00:00
Dominik Riebeling
dfd4183a7d Fix bootloader uninstallation on Gigabeat F / X.
The "file" bootloader installation method usually can uninstall the bootloader.
Some upgrade methods (like the Iaudio players) remove the bootloader file
placed on the player after upgrading so those can't uninstall the bootloader.
Instead of rejecting uninstallation for all players using this method check the
current bootloader and only display an error if no suitable bootloader is
found (which would happen in the Iaudio case).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30070 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 17:21:01 +00:00
Dominik Riebeling
c891ddb506 Fix a source string whitespace error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30069 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 17:20:56 +00:00
Jens Arnold
91ce4b2a60 Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289.
In order to enable it, #define HAVE_DUALBOOT when building the bootloader.
Do not use the automatically created x5_fw.bin or m5_fw.bin, but use mkboot
to create a new firmware file from an OF x5_fw.bin resp. m5_fw.bin and
bootloader.bin.

The dual-boot bootloader boots the OF when pressing Play (main or remote) for
more than 3 seconds. Hold it a bit longer because the OF also checks buttons.
Short press boots rockbox.

As a bonus, the Play button read (for hold check) is done a bit earlier for
single-boot mode as well.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30018 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 17:23:18 +00:00
Dominik Riebeling
9b7b653f85 Move various logo files to a single location.
Introduce a new folder that will hold the original files for various variants
of the Rockbox logo. The "Rb" variant of the icon (used in the Rockbox Utility
icon on Windows) has been missing from svn.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29960 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 20:31:11 +00:00
Dominik Riebeling
b5feacfaac Fix some gcc 4.6 warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29933 a1c6a512-1295-4272-9138-f99709370657
2011-05-29 19:46:20 +00:00
Michael Giacomelli
6484b45d71 Make the AMS bootloader prompt slightly more specific.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29870 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 18:35:19 +00:00
Dominik Riebeling
bdfd95e27d Rockbox Utility: bump version to 1.2.10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29834 a1c6a512-1295-4272-9138-f99709370657
2011-05-08 18:49:54 +00:00
Dominik Riebeling
75e3fb7edb SAPI voice creating: add slovak to languages.
Extend sapi_voice.vbs with slovak (FS#10904). Additionally add it to the list
of supported languages in Rockbox Utility and fix the country code used for
slovenscina (by myself).

Author: Peter Lecky
Flyspray: FS#10904

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29830 a1c6a512-1295-4272-9138-f99709370657
2011-05-07 15:55:42 +00:00
Dominik Riebeling
0925bfbb1c Rockbox Utility: Add some more cases to version check test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29829 a1c6a512-1295-4272-9138-f99709370657
2011-05-07 15:39:09 +00:00
Dominik Riebeling
6ba552cc5d deploy.py: support adding a build id.
Add support for passing and injecting a build ID to the souces prior to
compiling. Allows to easily create rebuilds of Rockbox Utility without creating
false positives on update detection.
Fix a typo in version.h. Thanks to sideral for noting.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29825 a1c6a512-1295-4272-9138-f99709370657
2011-05-05 17:19:00 +00:00
Dominik Riebeling
e90d53cea8 Rockbox Utility: add build id to version string.
The purpose of this is to allow versioning of builds. This is useful when a new
build is made to fix problems with the build itself that haven't been noticed
earlier (like the accessibility issue reported as FS#12089) as it will avoid
false positives for the update check.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29824 a1c6a512-1295-4272-9138-f99709370657
2011-05-04 22:18:34 +00:00
Dominik Riebeling
d955dc4ead Rockbox Utility: fix some names missing from the CREDITS.
The regexp used when displaying the names didn't take into account that names
could start with non-ASCII letters. Use a different approach when filtering the
header to make them not disappear.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29803 a1c6a512-1295-4272-9138-f99709370657
2011-04-30 21:09:15 +00:00
Dominik Riebeling
18373fef85 Rockbox Utility: bump version to 1.2.9.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29801 a1c6a512-1295-4272-9138-f99709370657
2011-04-30 20:25:23 +00:00
Dominik Riebeling
de40194b61 Add missing strings to German Rockbox Utility translation.
Run lupdate on all other translation files as well and drop obsolete strings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29795 a1c6a512-1295-4272-9138-f99709370657
2011-04-29 21:57:27 +00:00
Dominik Riebeling
3467ee8ddd Fix SAPI default speed being way too fast.
The settings currently can't differentiate between default values for different
subitems (i.e. different TTS systems). As a result the default value returned
for SAPI speed was way out of bounds, leading to the upper limit getting used.
Work around this limitation by checking the value for bounds and use a sensible
value in that case.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29763 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 18:58:01 +00:00
Dominik Riebeling
c6a8efb8af Implement simple run for non-multithreaded TTS.
Since setting the maximum number of threads to use to 1 causes sporadically
files missing add a simple alternative implementation that doesn't use futures.
This is a stop-gap solution to fix voice files not creating (reported on
Windows with SAPI voices, see FS#11994). Encoding doesn't seem to be affected
by the problem and is unchanged.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29762 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 17:59:43 +00:00
Dominik Riebeling
afa6afc3bc Better hilight detected item after autodetection.
To have a better indication what player has been detected and to keep this
information in view make the entry for the detected player bold. This also
(partly) addresses FS#10694.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29761 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 17:39:05 +00:00
Dominik Riebeling
4d25fb8fe1 Fix "Test TTS" button not working.
Make sure the temporary file doesn't get destroyed before it has been played.
Fixes the "Test TTS" button not giving a test playback anymore for TTS systems
that cannot do the playback themselves.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29760 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 15:38:41 +00:00
Dominik Riebeling
88e68ec5b0 Make TTS names translatable and change Sapi to SAPI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29759 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 13:32:13 +00:00
Dominik Riebeling
2e990a6827 Use System TTS if none is set.
If no TTS has been selected previously default to the system one if any.
Otherwise use espeak.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29758 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 13:32:04 +00:00
Dominik Riebeling
c7227a7620 Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29681 a1c6a512-1295-4272-9138-f99709370657
2011-04-05 20:02:07 +00:00
Dominik Riebeling
86f70de809 Properly remove the configuration dialog.
The configuration dialog isn't needed anymore once the finished() signal is
emitted. In that case schedule it for deletion by the event loop.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29674 a1c6a512-1295-4272-9138-f99709370657
2011-04-03 14:04:21 +00:00
Dominik Riebeling
1c635a8c3c OS X TTS: add pitch setting.
The current TTS configuration doesn't allow querying the system values so it
currently can't be displayed. A value of 0 will use the system default. The
default pitch is dependent on the voice; most voices should have a default
pitch of 45 - 55.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29673 a1c6a512-1295-4272-9138-f99709370657
2011-04-03 09:23:21 +00:00
Dominik Riebeling
746f01dd77 Add capability to speak directly from the TTS engine.
The OS X TTS engine (and likely others) allows outputting its speech directly
to the sound system. This avoids the extra step of creating a temporary file to
play for TTS preview. Currently implemented as TTS capability reported.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29672 a1c6a512-1295-4272-9138-f99709370657
2011-04-03 08:06:59 +00:00
Dominik Riebeling
76c112ce6e Update build instructions for Rockbox Utility.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29671 a1c6a512-1295-4272-9138-f99709370657
2011-04-02 19:51:01 +00:00
Dominik Riebeling
96fad95bcf Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29670 a1c6a512-1295-4272-9138-f99709370657
2011-04-02 19:03:50 +00:00
Dominik Riebeling
2f7cf08532 Use template pattern for genlang url.
Instead of hard coding the query part of the genlang url store the full url as
template and replace parts as done for other urls as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29669 a1c6a512-1295-4272-9138-f99709370657
2011-04-02 08:59:00 +00:00
Dominik Riebeling
8c1d114dcf Rockbox Utility: Replace OSDaB Zip with QuaZip.
This change fixes problems with zip files created with newer zip utilities (a
known issue is the iLike theme). QuaZip also allows better feedback during
operations without changing the imported code. Additionally Rockbox Utility and
the Theme Editor are now both using QuaZip; currently Rockbox Utility uses a
copy of the sources, merging them later is planned.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29645 a1c6a512-1295-4272-9138-f99709370657
2011-03-25 22:16:12 +00:00
Dominik Riebeling
d1098f3100 Fix MTP detection only working on e200v1.
Autodetection only showed an MTP device error for e200v1 and an unspecified
error for all other players (except if the detected player is an Ipod, in which
case the error indicates a WinPod). Consider all non-Ipod errors as MTP error.
Fix wrong MTP USB ID for e200v1 which made that detection fail even for e200v1.
Should fix FS#11563.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29621 a1c6a512-1295-4272-9138-f99709370657
2011-03-20 10:26:05 +00:00
Dominik Riebeling
56d214543d Update copyright information in about box. We're still working on this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29620 a1c6a512-1295-4272-9138-f99709370657
2011-03-20 10:25:58 +00:00
Dominik Riebeling
fa565048f6 Fix Rockbox Utility update detection on Linux 64bit.
Remove the "64bit" part of the filename before comparing. We're checking for
that in the filename explicitly but the version number doesn't contain it, so
the comparison will otherwise misinterpret it as additional version
information.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29617 a1c6a512-1295-4272-9138-f99709370657
2011-03-19 11:47:10 +00:00
Dominik Riebeling
92183d2dd0 Improve visual feedback when testing TTS.
Disable the "Test TTS" button during a running test and on invalid TTS
configuration.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29581 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 14:57:58 +00:00
Dominik Riebeling
9946def79d Don't link libz explicitly on Windows.
On Windows Qt already includes libz. Since the Qt SDK comes without a separate
libz linking it explicitly fails. Also, if libz is installed via MinGW linking
it explicitly will clash with the libz functions in Qt.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29512 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 19:31:26 +00:00
Dominik Riebeling
952d82b7bd Rockbox Utility voicefile generation: add Latvian to supported languages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29436 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 20:25:55 +00:00
Robert Menes
0ddfa057d1 Rockbox Utility: Move the USB ID for the HDD16x0 into the right place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29385 a1c6a512-1295-4272-9138-f99709370657
2011-02-23 01:12:51 +00:00
Robert Menes
bd3d11a186 Enable installation for the GoGear HDD16x0 and HDD63x0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29382 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 23:15:08 +00:00
Dominik Riebeling
988b3083df Replace list of languages with map.
- Use ISO codes as keys for voice languages instead of enumeration.
- Instead of trying to select a suitable voicefile language from the UI
  language use the ISO codes stored as UI language and match against the
  mapping.
- Always store the selected UI language. Fixes the voicefile creation
  language lookup to fail if the language used is the system language.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29207 a1c6a512-1295-4272-9138-f99709370657
2011-02-04 23:28:34 +00:00
Dominik Riebeling
3419422c23 systrace: convert input strings using local codepage.
The message handler uses C strings so no information about encoding is
present. Since an 8 bit encoding is used convert them to make the
systrace window show non-ASCII characters properly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29206 a1c6a512-1295-4272-9138-f99709370657
2011-02-04 21:08:59 +00:00
Dominik Riebeling
e3d84ba22e Fix sansac200v2 not showing up in device selection.
When adding new targets it's necessary to also add them to the
[platforms] section since that is used to determine which devices to
show and in which order. Sort Sansa players while at it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29184 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 22:12:07 +00:00
Dominik Riebeling
02dce4500d mkamsboot: restructure model / firmware file information.
Merge the various arrays holding model specific information into a
structure and give it a distinct name. Avoids problems when linking with
Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29177 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 20:15:50 +00:00
Dominik Riebeling
6f2bba961f mkmpioboot: restructure model / firmware file information.
Collect the various arrays holding model names, numbers etc. into a
structure. This makes the code cleaner since there aren't multiple
arrays that need to be kept in sync any more and avoids issues with
other tools (like mkamsboot) when linked together with Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29176 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 19:16:06 +00:00
Alexander Levin
282f9ac530 Rockbox Utility: update the Russian translation (FS#11861 by Simon Zhukovsky with minor tweaks by me)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28997 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 20:53:36 +00:00
Robert Menes
651c9cb272 Rockbox Utility: Add in support to install Rockbox on the Philips
GoGear HDD16x0, HDD18x0, and HDD63x0 series. Currently disabled for now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28936 a1c6a512-1295-4272-9138-f99709370657
2010-12-30 22:24:42 +00:00
Dominik Riebeling
e1b1183f40 Tweak Makefiles a bit to allow cross compiling Rockbox Utility.
- pass AR to the lib Makefiles to make sure the correct one gets used.
- create an archive index for archives.
- simplify ucl Makefile a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:59:58 +00:00
Dominik Riebeling
7f6c271bad Set APPVERSION for libmkamsboot and libmkmpioboot.
This avoids an ugly "file not found" error for version.sh when building with
deploy.py since the latter doesn't retrieve version.sh. Doing so would be
pointless since the export doesn't know about the version, and the svn version
string isn't used when building with Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28882 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:59:41 +00:00
Dominik Riebeling
084d57cef4 Check if creating the dictionary worked before accessing it, not afterwards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28860 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 21:21:28 +00:00
Dominik Riebeling
a6d7a67080 Respect TARGET_DIR when building.
When building out-of-tree (which is the case when building for Rockbox Utility)
no objects should get placed in the source folder.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28857 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 18:06:38 +00:00
Marcin Bukat
029f0d5223 fix rbutil.ini entries for MPIOs as pointed out by Michael Leslie
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28781 a1c6a512-1295-4272-9138-f99709370657
2010-12-09 20:35:17 +00:00
Marcin Bukat
14b3108fa5 Add MPIO HD300 to rbutil.ini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28779 a1c6a512-1295-4272-9138-f99709370657
2010-12-08 22:25:34 +00:00
Dominik Riebeling
271441eb9d MinGW: prefer C99 compliance by using replacement implementations.
This addresses several warnings caused by format modifiers that are not
supported by MSVCRT. MinGW provides replacement functions since mingw-runtime
3.15 so use them. See also
http://article.gmane.org/gmane.comp.gnu.mingw.user/27539/



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28735 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 15:24:10 +00:00
Mustapha Senhaji
4063389bff rbutil: r28687 touched too much. Restore some accelerator keys.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28692 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 13:15:40 +00:00
Dominik Riebeling
10e0279afc Make model_names static in mkmpioboot.
Both mkmpioboot and mkamsboot use an array model_names which clash when
linking with Rockbox Utility so don't export the mkmpioboot one.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28690 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 10:06:01 +00:00
Mustapha Senhaji
0aea17676a rbutil: Bring the french translation up to date.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28688 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 02:48:18 +00:00
Mustapha Senhaji
ba0bb7af66 rbutil: Fix typos in french translation plus some minor changes (fix few typos on source strings too while I was here).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28687 a1c6a512-1295-4272-9138-f99709370657
2010-11-27 23:18:13 +00:00
Marcin Bukat
d1302940b9 mkmpioboot - Add support for HD300, increase verbosity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28605 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 20:42:58 +00:00
Dominik Riebeling
90e8815673 Fix crash on proxy detection on OS X (FS#11654).
If the proxy dialog doesn't contain any values searching for the values in the
system returns NULL pointers instead of empty values. Check for them to fix
crashes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28212 a1c6a512-1295-4272-9138-f99709370657
2010-10-05 19:53:48 +00:00
Frank Gevaerts
037c0ef23a Remove obsolete 2nd gen nano check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28178 a1c6a512-1295-4272-9138-f99709370657
2010-09-27 19:02:34 +00:00
Dominik Riebeling
51321cc6f8 Improve some trace messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28171 a1c6a512-1295-4272-9138-f99709370657
2010-09-26 11:43:34 +00:00
Dominik Riebeling
7b68b7e9dc Bump Rockbox Utility version to 1.2.8.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28154 a1c6a512-1295-4272-9138-f99709370657
2010-09-23 18:17:27 +00:00
Dominik Riebeling
770505a49a Link libstdc++ and libgcc statically.
Since the current MinGW version behaves differently here explicitly link
libstdc++ and libgcc statically. Avoids dependency to those DLLs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28152 a1c6a512-1295-4272-9138-f99709370657
2010-09-23 17:53:53 +00:00
Dominik Riebeling
cb20579dcc Escape Backslash and improve version check.
Since Qt 4.7 unescaped backslashes are deprecated so escape it. Change
the order of the version check message to make sure it gets displayed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28149 a1c6a512-1295-4272-9138-f99709370657
2010-09-23 16:42:01 +00:00
Amaury Pouly
11ce23a989 rbutil: update french translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28122 a1c6a512-1295-4272-9138-f99709370657
2010-09-20 15:07:36 +00:00
Dominik Riebeling
a742ba4656 Make tooltip for Offline Mode setting wrap properly.
Qt wraps tooltip texts automatically when it detects the text to be Rich
text. Embed the tooltip text into <p> tags to get it recognized as such.
Manually update translations to avoid the need to retranslation that
line.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28117 a1c6a512-1295-4272-9138-f99709370657
2010-09-19 20:32:32 +00:00
Dominik Riebeling
f75d912d7c Display number of processors in System Info dialog.
Oops: on Windows, ask the system about the values before displaying it instead
of expecting the structure to fill itself.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28107 a1c6a512-1295-4272-9138-f99709370657
2010-09-18 20:50:11 +00:00
Dominik Riebeling
752ce1e6e7 Display number of processors in System Info dialog.
Since Rockbox Utility got support for utilizing more than one CPU / Core
this value might be helpful in case of issues like FS#11496 (QThreadPool
defaults to the number of CPUs found as maximum number of threads).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28106 a1c6a512-1295-4272-9138-f99709370657
2010-09-18 20:41:03 +00:00
Dominik Riebeling
40a6aef0c3 Implement USB VID / PID retrieval using IOKit on OS X.
Instead of using libusb as wrapper query the USB IDs via IOKit. Since libusb is
only used for that this means that it's no longer necessary on OS X.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28001 a1c6a512-1295-4272-9138-f99709370657
2010-09-05 18:19:23 +00:00
Dominik Riebeling
d71d537b17 Don't search for libspeex on Windows and Mac.
Make sure to not try to dynamically link libspeex on Mac, since it's not a
standard library, and application bundles aren't statically linked anyway.
Remove looking up libspeex on Windows since it's not a standard library there
either. Don't search for libspeex multiple times but instead pass it to the
librbspeex Makefile.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27999 a1c6a512-1295-4272-9138-f99709370657
2010-09-05 10:27:39 +00:00
Dominik Riebeling
81bce3b5b3 Add -config intel option to allow building for Intel targets only on Mac.
This doesn't change building of the used libraries, so librbspeex etc. are
still built as universal libraries. Building for Intel also targets 10.5 and up
instead of 10.4 and up which is targeted by default. Addresses FS#10938.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27997 a1c6a512-1295-4272-9138-f99709370657
2010-09-05 09:44:49 +00:00
Dominik Riebeling
839f777aaa Remove duplicated license file.
Remove the plain text license file below the rbutilqt folder and move
the HTML variant to the top-level docs folder. It's all GPL, so there's
no need to duplicate those files.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27996 a1c6a512-1295-4272-9138-f99709370657
2010-09-04 18:50:12 +00:00
Dominik Riebeling
0110e558de Remove Ipod Video 64MB handling.
Since the builds for the Ipod Video 32MB and 64MB are now unified there
is no need to handle them separately in Rockbox Utility anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27966 a1c6a512-1295-4272-9138-f99709370657
2010-09-01 17:47:33 +00:00
Dominik Riebeling
b81a116f7f Update INSTALL file and move it in preparation of merging rbutil/ and utils/.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27946 a1c6a512-1295-4272-9138-f99709370657
2010-08-30 17:52:01 +00:00
Dominik Riebeling
ad4deec074 Update Brazilian Portuguese translation for Rockbox Utility
Author: Adilson Xavier
Flyspray: FS#11528

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27778 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 08:32:54 +00:00
Rafaël Carré
fb53804b97 rbutil: c200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27621 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 23:35:42 +00:00
Rafaël Carré
b0db713970 mkamsboot: don't boot OF if USB is plugged (AMSv1 only)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27618 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 23:15:55 +00:00
Dominik Riebeling
05e5fbf5e2 Add deployment script for Theme Editor.
Also move scripts to utils folder, in preparation of merging rbutil and
utils folders.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27600 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 18:46:20 +00:00
Dominik Riebeling
a9acd1f45b Restructure and rename deploy-release.py.
Move actual working functionality into a python module, and write a
simple script to use it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27598 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 18:37:12 +00:00
Dominik Riebeling
980e0c7383 Fix a typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27597 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 18:37:07 +00:00
Dominik Riebeling
803a0edb58 Fix USB ID retrieval on Windows 7.
The device string containing the USB IDs differs in casing on Windows 7
so always convert to upper case before scanning the string.  Use
DEVICEDESC instead of LOCATION_INFORMATION for the user visible device
string as the latter doesn't show anything useful to the user on W7, at
least for the devices I've tried. Unfortunately DEVICEDESC is less
descriptive than the previously used.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27561 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 19:25:38 +00:00
Rafaël Carré
bff5e3d7ab mkamsboot: take in account the additional 0x200 block when calculating size
Align sizes of different blocks on mkamsboot output

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27482 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 17:05:05 +00:00
Rafaël Carré
765c4f1a97 mkamsboot: update outdated comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27442 a1c6a512-1295-4272-9138-f99709370657
2010-07-16 00:05:52 +00:00
Rafaël Carré
f5c79105a4 mkamsboot: fix for newer fuzev2
These models are restricted to OF >= v02.3.31, probably because of a
hardware change
The OF checks a version string located between 0x0 and 0x200 in the
firmware block, so let's keep this part unmodified

We put our dualboot code at 0x200, and insert a branch + vectors at 0x0
That way our patched file will present the OF version to the fuzev2 OF
patching it, and we only waste 512 bytes on other models

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27441 a1c6a512-1295-4272-9138-f99709370657
2010-07-16 00:00:29 +00:00
Dominik Riebeling
a6df932003 Generalize the application bundle copy workaround to simplify later reuse.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27377 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 21:22:22 +00:00
Dominik Riebeling
4b321649a8 Rockbox Utility: Explicitly link zlib.
zlib is required by the zip class. Explicitly link it instead of relying it to
get implicitly linked via Qt. Fixes link errors on distributions with implicit
linking disabled. Don't do this on Windows as things are different here.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27251 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 23:49:26 +00:00
Dominik Riebeling
10b8e327d8 FS#11439: Fix version comparison regression.
Improve string suffix handling by distinguishing between version number
separators (i.e. dots) and extended separators and additional version
characters. Corrects false update information displayed for 64bit binaries of
Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27201 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 21:59:47 +00:00
Dominik Riebeling
168eba1aec Detect when building for 64bit Linux and adjust tarball name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27095 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 20:15:14 +00:00
Tobias Diedrich
49a3808ddf Remove the unused ENRD0_USB_STATUS define, I'll leave the other button defines in, maybe someone wants his bootloader to use one of those instead ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27081 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:05:05 +00:00
Tobias Diedrich
7d15c43bd7 Use DBOP to check for left button on C200v2 like we are supposed to instead of right button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27080 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:01:38 +00:00
Tobias Diedrich
470be759e6 Use DBOP to check for left button on C200v2 like we are supposed to instead of right button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27079 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 06:57:53 +00:00
Dominik Riebeling
e8829618b9 Bump Rockbox Utility version to 1.2.7.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27062 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 20:22:00 +00:00
Dominik Riebeling
e7a536bc1d Don't close libusb device handle if opening failed.
This issue has been pointed out as FS#11420. Redone by myself because the
change is trivial and the submitter didn't state his real name.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27061 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 20:13:39 +00:00
Dominik Riebeling
90bc818696 Log filesystem free value to system trace.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26935 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 19:46:45 +00:00
Dominik Riebeling
955bb4004f Rockbox Utility translation updates.
- Update german translation.
- lupdate all other translations and drop obsolete strings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26932 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 19:04:12 +00:00
Dominik Riebeling
2c6895207d Make System and Utils class based on QObject.
Those classes use Qt objects anyway, and making them based on QObject moved the
strings into the appropriate class when translating.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26931 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 19:04:06 +00:00
Dominik Riebeling
6e5330f663 Fix source string spelling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26925 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 14:59:23 +00:00
Rafaël Carré
c0bd4173aa Make sure files which aren't windows-specific use \n line endings only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 16:59:51 +00:00
Dominik Riebeling
d258c58937 Remove ugly RTL writing direction hack.
Instead of hard coding the languages to be rendered as RTL make it dependent on
a translation string. Translate the string LTR to RTL to switch to RTL layout.
This is equivalent to the handling done in the i18n example for Qt Jambi and
while not the best solution at least cleaner than hardcoded languages.

Update hebrew translation for this which is currently the only RTL translation.
lupdate all other translations.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26865 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 21:14:11 +00:00
Dominik Riebeling
738d83c59b Add cleaned up tests used for Utils::compareVersionStrings().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26861 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 19:49:43 +00:00