Commit graph

1268 commits

Author SHA1 Message Date
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
Dominik Riebeling
1727c9918f deploy-release: Make upx part optional and disable it.
upx doesn't like the Rockbox Utility binaries built with MinGW's gcc 4.5.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26794 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 20:02:59 +00:00
Dominik Riebeling
13d8649a34 Rework Rockbox Utility update version number check.
The version check failed on subrelease versions (as the 1.2.5-1 rebuild done
for Mac) and detected an updated version that is in fact an outdated one.
Rework the comparison completely, move it to the Utils class and display some
more information in the status bar upon update check. Especially keep a notice
in the status bar if an updated version was found.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26788 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:18:13 +00:00
Dominik Riebeling
a1209350d4 Convert uninstallation to use signals / slots for logging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26782 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 17:14:00 +00:00
Dominik Riebeling
47636e6382 Use program name variable instead of hardcoded name.
This allows easier reuse for other tools (like the theme editor).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26702 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 19:19:19 +00:00
Dominik Riebeling
18b350c972 Distinguish between release and current build when installing fonts.
As with the voice file installation changed in r26637 the same issue exists for
fonts.  While the fonts package rarely changes and therefore this shouldn't
have had a negative impact in the past use the correct font package anyway.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26667 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 17:04:02 +00:00
Dominik Riebeling
3f5e61e094 Fix typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26666 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 17:03:56 +00:00
Dominik Riebeling
2a90375c12 Sort rbutil.ini general section and rename voice_url for clarity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26638 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 18:41:02 +00:00
Dominik Riebeling
56fea4f74d Distinguish between release and current build when installing voice files.
Check the installed Rockbox and install release voice file if a release is
found. Fixes wrong voice file getting installed for releases, which especially
showed up with the recent lang file cleanup. This is likely to be the cause for
FS#11362.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26637 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 18:02:08 +00:00
Dominik Riebeling
b2998ef6c7 Move retrieval of revision and release numbers to RockboxInfo class.
This allows reusing retrieval for upcoming distinguishing between release and
current voice files.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26636 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 18:02:01 +00:00
Dominik Riebeling
32a2b3e3fa Transmit installed build revision and release version to theme site.
To allow the theme site handling different versions of the theme syntax
transmit the revision number and release number (whatever applies) to the
server. A later update to the theme site can then return a theme list with
themes compatible, and include the correct download links.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26625 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 12:56:27 +00:00
Dominik Wenger
fab86a6a4c rbutil: add mpio hd200 as disabled target (all untested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26561 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 21:43:15 +00:00
Dominik Wenger
a8c1934c9d rbutil: Make TTS and encoders run on all cores \n FS#11160 by Delyan Kratunov
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26558 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 21:22:25 +00:00
Dominik Riebeling
86b1ecca09 Update Brazilian Portuguese translation for Rockbox Utility
Author: Adilson Xavier
Flyspray: FS#11317

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26547 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 17:14:38 +00:00
Dominik Riebeling
8be2a90d78 Fix global proxy getting set too late.
Downloading the build information was done before setting the global proxy
values, so this broke in environments that completely block non-proxy
connections. Explicitly set the proxy on startup before downloading other
things. Remove some duplicated code. Fixes FS#11163.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26504 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 06:29:10 +00:00
Dominik Riebeling
0a4b576248 Move constructing the themes info download link to rbutil.ini.
Instead of constructing the download link with fixed script name put a template
into the system info file. That way changing the download link doesn't require
changing the code anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26495 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 21:55:22 +00:00
Rafaël Carré
27d529e186 mkamsboot / nrv2e_d8.S thubm decompressor : comment the use of mov pc, lr
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26449 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 16:53:26 +00:00
Dominik Riebeling
07ba746151 Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26339 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 22:06:16 +00:00
Dominik Riebeling
0dcf93ed18 Use build dir and respect TARGET_DIR when building mkamsboot.
libmkamsboot still did put files into its source folder when building for
Rockbox Utility out-of-tree. As with the other libraries use the specified
build folder.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26335 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 17:36:39 +00:00
Torne Wuff
02068ed6cd Bump ipodpatcher version number in preparation for a new ipod bootloader release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26284 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 15:43:16 +00:00
Rafaël Carré
ff6b0425e4 mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF
The field we thought was representative of the model is not, it has
changed in the past for fuzev1 and fuzev2.
For example the value 0x23 is found in 2 old fuzev1 OF versions, and in
the c200v2 OF

The only reliable way to detect the model of a given OF is by using the
built-in list of md5sums.

Modify mkamsboot and rbutilqt to load the rockbox bootloader first, and
then check if the model in the bootloader corresponds to the model of
the known md5sum of the given OF.

That way we can continue to present the user with a list of known OF
versions in case the OF is unknown to mkamsboot

Also explicit the dependency of main.c on mkamsboot.h in case the
prototypes change
Correct the header's description not updated in r21648

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26248 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 10:06:52 +00:00
Rafaël Carré
e2d1eb6fc8 mkamsboot: support Fuzev2 OF 2.03.33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26230 a1c6a512-1295-4272-9138-f99709370657
2010-05-21 13:13:53 +00:00
Yoshihisa Uchida
4efe1e6695 Rockbox Utility: updates Japanese translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26226 a1c6a512-1295-4272-9138-f99709370657
2010-05-21 11:49:32 +00:00
Rafaël Carré
d9e508b584 mkamsboot: support Clip+ OF v01.02.15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26207 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 18:51:49 +00:00
Rafaël Carré
c23a7ccbbc Fuzev2: use enrd0 for USB detection, GPIO didn't work on some models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26125 a1c6a512-1295-4272-9138-f99709370657
2010-05-18 00:11:42 +00:00
Rafaël Carré
66f183077d Clip+: boot to OF if USB is connected
To be sure that there is no mistake in this code, it is run *after*
the known to work HOME & LEFT buttons checks, unlike other Sansas

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26122 a1c6a512-1295-4272-9138-f99709370657
2010-05-17 21:57:46 +00:00
Dominik Wenger
738e23c5ec rbutil: change the binary name here too. Thanks to PyroBor for finding that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25957 a1c6a512-1295-4272-9138-f99709370657
2010-05-11 17:41:35 +00:00
Dominik Wenger
c699914c33 rbutil: fix fuzev2 firmware filename. Thanks to kisak for spotting it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25955 a1c6a512-1295-4272-9138-f99709370657
2010-05-11 16:43:24 +00:00
Dominik Wenger
26826b5ae5 rbutil: move bootloaderInstall object creation switches to bootloaderInstallBase .
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25882 a1c6a512-1295-4272-9138-f99709370657
2010-05-07 18:18:43 +00:00
Dominik Riebeling
feecb7d4be Add repeat counting to system trace.
This make the system trace check for repeating lines, and only print a "(last
message repeated n lines.)" instead of the real message multiple times. This
keeps the trace much shorter if messages are repeated. The drawback is that the
replacement count message will only get printed on the next line getting
traced, so until that happens it swallows the repeated lines.
Before saving the systrace buffer is flushed, so this should not raise a problem.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25878 a1c6a512-1295-4272-9138-f99709370657
2010-05-07 16:18:41 +00:00
Dominik Wenger
d48b3359fc fix libmkmpioboot.a building.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25834 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 19:45:08 +00:00
Dominik Wenger
8e2ebc1068 rbutil: fix compiling on windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25833 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 19:35:37 +00:00
Dominik Wenger
7a0efced16 rbutil: fix fuzev2 entry.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25829 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 15:14:33 +00:00
Marcoen Hirschberg
268f7c42f0 fix mkamsboot compilation on systems where 'make' is not 'GNU make' (FreeBSD for example)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25825 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 10:56:19 +00:00
Rafaël Carré
e77550a52d rbutil: add fuzev2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25824 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 07:38:49 +00:00
Dominik Riebeling
34e60dde60 Handle device name resolving failures.
Improve tracing of device name resolving. Explicitly fail if resolving the
device name from the mountpoint failed during ipod / sansa bootloader
installation. Fixes bootloader installation trying to use an empty device name
in some cases which can happen if the mountpoint to get resolved uses an
incompatible file system.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25743 a1c6a512-1295-4272-9138-f99709370657
2010-04-27 21:43:14 +00:00
Dominik Wenger
b6e1f1c0ad Fix talkfile generation for files starting with . and having no extension.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25742 a1c6a512-1295-4272-9138-f99709370657
2010-04-27 21:09:14 +00:00
Marcin Bukat
28d54c6016 Add MPIO HD200 port - new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25725 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:16 +00:00
Dominik Riebeling
5185d9e30a Log failures in mountpoint resolving, log filesystem formats in mountpoints().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25718 a1c6a512-1295-4272-9138-f99709370657
2010-04-25 21:22:36 +00:00
Dominik Riebeling
0d4a1f1ad3 Don't retrieve the mountpoint value for each file when displaying the installed files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25701 a1c6a512-1295-4272-9138-f99709370657
2010-04-23 19:38:04 +00:00
Dominik Riebeling
81422be15a Update year in about box. We are still working on this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25694 a1c6a512-1295-4272-9138-f99709370657
2010-04-21 18:57:15 +00:00
Rafaël Carré
fdf8e2d1e4 mkamsboot: accept Clip+ OF v01.02.13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25662 a1c6a512-1295-4272-9138-f99709370657
2010-04-17 12:17:01 +00:00
Alexander Levin
da018391e0 Fix typo and correct punctuation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25656 a1c6a512-1295-4272-9138-f99709370657
2010-04-16 20:04:50 +00:00
Amaury Pouly
f82a99863d rbutil: update french translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25620 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 12:18:23 +00:00
Dominik Riebeling
6e6673e822 Update Rockbox Utility version to 1.2.6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25567 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 15:39:39 +00:00
Tomer Shalev
7f860f72b7 Rbutil: Some small Hebrew translation fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25565 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 14:14:35 +00:00
Dominik Riebeling
a06f1416b9 Fix Ipod Mini manual.
With r24009 the manual used for Ipod Mini was changed from 2G to 1G, resulting
in Rockbox Utility not finding it anymore. Update manual name for both Minis.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25562 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 07:56:43 +00:00
Tomer Shalev
8402ffa377 FS#11193 - rbutil: HTTP 404 error when downloading zipped version of the manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25561 a1c6a512-1295-4272-9138-f99709370657
2010-04-10 06:55:21 +00:00
Amaury Pouly
e678690af0 rbutil: update french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25536 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 11:40:42 +00:00
Amaury Pouly
554be5cf87 rbutil: update french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25534 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 09:57:01 +00:00
Amaury Pouly
a21151d8ef rbutil: update french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25533 a1c6a512-1295-4272-9138-f99709370657
2010-04-08 09:33:56 +00:00
Tomer Shalev
289d66e330 rbutil: Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25520 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 18:37:32 +00:00
Dominik Riebeling
76d07bcd20 Fix layout special case for hebrew failing for system language (FS#11180).
For hebrew, a special case handles switching to RTL. Make this work if the
language selection is done by the system environment, i.e. no language has been
selected by the user previously.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25518 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 18:10:23 +00:00
Dominik Riebeling
fa84c2fdbf Try to detect Wine.
Make the Windoes binary try to detect if it's running under Wine. Display a
warning if so, as Rockbox Utility is likely to fail in all kind of strange ways
when running on Wine. We do provide Linux binaries, so it's not even a good
idea to try running under Wine at all.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25471 a1c6a512-1295-4272-9138-f99709370657
2010-04-04 21:08:17 +00:00
Dominik Riebeling
1cc1f4ee77 System Info: display OS X version number and architecture too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25442 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 21:32:51 +00:00
Dominik Riebeling
9fedc8187f Move utils.cpp functions into separate class and split it up.
Move class-less functions in utils.cpp into a new Utils class and make the old
functions static. This prevents clashes with system C functions. Rename some
functions to avoid macro problems (check() is a macro on OS X). Split out the
RockboxInfo class into a separate file.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25441 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 21:24:19 +00:00
Dominik Riebeling
b470303311 Implement system proxy values retrieval on OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25439 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 19:22:32 +00:00
Dominik Riebeling
98493fd398 Warn when selecting system proxy settings with invalid values.
Rockbox Utility doesn't support "proxy auto-config" (aka PAC) for system proxy
settings. This can result in users selecting system proxy and expecting it to
work even if their system uses PAC. While the configuration dialog displays the
proxy setting values retrieved from the system this is not totally obvious. Add
a message telling if the retrieved system proxy values are not useable. For now
this only checks if a proxy host and port are set which should catch the usual
cases when PAC is used.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25435 a1c6a512-1295-4272-9138-f99709370657
2010-04-02 10:59:38 +00:00
Dominik Riebeling
d6543b71af Fix leaking file descriptors on error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25431 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 22:06:52 +00:00
Dominik Riebeling
0d6828e064 Fix multiple warnings when network is unreachable.
Don't listen to requestFinished() signals for background downloads. The
only information needed is the done() signal. Fixes multiple error
messages popping up on unreachable network.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25430 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 22:06:49 +00:00
Dominik Riebeling
8cccb6e099 Add Gigabeat S to Rockbox Utility.
This adds the Beast as disabled target. Note that bootloader installation isn't
implemented yet.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25412 a1c6a512-1295-4272-9138-f99709370657
2010-03-31 20:54:04 +00:00
Dominik Riebeling
aae2213e0a Add build folder cleanup on build errors and add option to keep it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25411 a1c6a512-1295-4272-9138-f99709370657
2010-03-31 20:52:07 +00:00
Tomer Shalev
a3d5f95981 rbutil: Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25410 a1c6a512-1295-4272-9138-f99709370657
2010-03-31 20:11:43 +00:00
Tomer Shalev
f598a7baef rbutil: Make strings translatable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25409 a1c6a512-1295-4272-9138-f99709370657
2010-03-31 20:11:12 +00:00
Yoshihisa Uchida
c19466a2fa Rockbox Utility: Japanese translation updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25407 a1c6a512-1295-4272-9138-f99709370657
2010-03-31 12:10:08 +00:00
Dominik Riebeling
e35fe82931 Update german Rockbox Utility translation.
lupdate all other translations and drop obsolete strings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25404 a1c6a512-1295-4272-9138-f99709370657
2010-03-30 19:53:29 +00:00
Dominik Wenger
11c9be9c83 Fix Festival tts engine.
Author: Delyan Kratunov
Flyspray: FS#11155 part2

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25402 a1c6a512-1295-4272-9138-f99709370657
2010-03-30 17:45:23 +00:00
Dominik Wenger
a79fee019e Delete tts objects after use.
Author: Delyan Kratunov
Flyspray: FS#11155 part1

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25401 a1c6a512-1295-4272-9138-f99709370657
2010-03-30 17:43:49 +00:00
Dominik Riebeling
ebae474893 Add Rockbox Utility SVG window icon on Linux.
Create a svg version of the clef icon for Rockbox Utility and set it as window
icon on Linux; icon created from the svg logo in the manual. Addresses
FS#11094.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25385 a1c6a512-1295-4272-9138-f99709370657
2010-03-29 19:55:51 +00:00
Dominik Riebeling
d175874821 Remove OSX deployment script, Qt now has macdeployqt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25384 a1c6a512-1295-4272-9138-f99709370657
2010-03-29 19:55:47 +00:00
Rafaël Carré
be920c4fb5 Fix Fuzev2 OF version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25366 a1c6a512-1295-4272-9138-f99709370657
2010-03-28 02:58:00 +00:00
Rafaël Carré
0d96f9e581 mkamsboot: add fuzev2 OF 2.02.31
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25365 a1c6a512-1295-4272-9138-f99709370657
2010-03-28 02:45:09 +00:00
Dominik Riebeling
9f7842444b Fix uic warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25341 a1c6a512-1295-4272-9138-f99709370657
2010-03-26 08:53:56 +00:00
Szymon Dziok
43bc2e586a Packard Bell Vibe 500: correct the path to a proper one in rbutil (proper directory on the file server to the bootloader)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25335 a1c6a512-1295-4272-9138-f99709370657
2010-03-25 20:41:54 +00:00
Dominik Wenger
225853c5dd adjust the bootloader paths to the changed locations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25326 a1c6a512-1295-4272-9138-f99709370657
2010-03-24 21:39:10 +00:00
Szymon Dziok
f25731bbed add Packard Bell Vibe 500 to RBUtil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25325 a1c6a512-1295-4272-9138-f99709370657
2010-03-24 21:30:23 +00:00
Dominik Wenger
b9b105a0a9 add clipv2 and clip+ to rbutil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25324 a1c6a512-1295-4272-9138-f99709370657
2010-03-24 21:19:32 +00:00
Dominik Riebeling
630281a088 Remove unnecessary class declaration, this should come from the includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25319 a1c6a512-1295-4272-9138-f99709370657
2010-03-24 18:45:08 +00:00
Dominik Riebeling
56199d3dfb Save System Trace on exit and allow easy retrieval after restart.
The System Trace isn't preserved when quitting Rockbox Utility. Change this so
the last trace is saved in the cache folder, and add a button to the trace
window to allow easy saving it. Should help in cases where users have problems
but restart Rockbox Utility before saving the trace.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25313 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 22:07:17 +00:00
Rafaël Carré
20fccd8489 mkamsboot: add Clipv2 OF v2.01.35
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25287 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 08:32:04 +00:00
Dominik Riebeling
17f5637918 Rockbox Utility requires Qt 4.5 since a while; correct check in project file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25280 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 20:55:55 +00:00
Dominik Riebeling
bc8b9da4d0 Split source files out of project file.
Move the source files out of the project file into a project include, and
resort it a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25278 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 18:15:17 +00:00
Rafaël Carré
b0e3fc6560 mkamsboot: update README for Clip+/Fuzev2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25218 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 15:24:56 +00:00
Rafaël Carré
a384cdf7e8 mkamsboot: update for Clipv1 OF v01.01.35 (tested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25213 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 02:11:04 +00:00
Dominik Riebeling
9db98bb864 Fix bootloader files vanishing after installation (FS#11086).
QTemporaryFile creates temporary files, so they might get removed even if they
are renamed. Copy the downloaded temporary file instead.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25208 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 21:21:04 +00:00
Dominik Riebeling
76da921e56 Fix manual download links.
Use the buildserver modelname for downloading files. The Platform setting is
the internal Rockbox Utility value, which might contain an additional
identifier needed internally only. Broken download links reported as part of
FS#11109.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25206 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 18:14:59 +00:00
Dominik Riebeling
a4caff91f9 Respect the exit code of external encoder called.
Return an error if the exit code differs from 0. Fixes voice file creation
getting displayed as successful even if encoding didn't work (f.e. due to wrong
command line parameters set in the configuration dialog).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25138 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 21:52:25 +00:00
Dominik Riebeling
b4401e589e Implement speed adjustment for OS X TTS.
Note that some voices don't support speed adjustment. These voices will ignore
the selected value. The current implementation doesn't mark those voices in any
way.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25125 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 20:09:22 +00:00
Dominik Riebeling
c8752b428d Rearrange libraries linking order to work with --as-needed linker option.
If the linker uses the --as-needed option linking failed due to the order of
the libraries on the command line. Arch Linux seems to default to this option,
and the Gentoo documentation mentiones it as experimental feature.  Changing
the library order fixes the link issue.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25124 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 19:14:33 +00:00
Rafaël Carré
1f251ea30d mkamsboot: Use audio master irq_enrd0 usb_status bit instead of gpio on C200V2
FlySpray: FS#11085
Author: Tobias Diedrich

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25088 a1c6a512-1295-4272-9138-f99709370657
2010-03-09 16:29:38 +00:00
Thomas Martitz
5c4659ab29 Correct search&replace error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25073 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 17:49:06 +00:00
Thomas Martitz
d98520859f Make it easier to change the toolchain in the dualboot Makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25072 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 16:05:11 +00:00
Thomas Martitz
ccefc95d8e Make bin2c ensure that the generated C arrays are 32bit aligned. Building nrv2e_d8 with the eabi toolchain breaks this assumption
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25071 a1c6a512-1295-4272-9138-f99709370657
2010-03-08 16:05:08 +00:00
Rafaël Carré
86f2458269 mkamsboot/dualboot: make the unused vectors be infinite loops
Patch by Tobias Diedrich

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25018 a1c6a512-1295-4272-9138-f99709370657
2010-03-04 00:08:53 +00:00
Dominik Riebeling
897e041900 Code police.
- remove tabs.
- remove trailing spaces.
- break overly long lines.
- fix indentation errors.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25008 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 22:26:00 +00:00
Dominik Riebeling
8c8703038b Refactor device tree setup a bit.
- reorder value retrieval (display names etc) to cut down the number of
  necessary accesses. While this is not critical it cuts down the noise
  generated in the trace noticably.
- match the old target by its internal name instead of the display name.
- remove two access functions in SystemInfo that are not really needed anymore.
  Accessing the values via platformValue() is much more logical and in line with
  the rest of the value accesses.
- try to scroll to the selected item in the device list after setup and
  detection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24988 a1c6a512-1295-4272-9138-f99709370657
2010-03-01 22:45:17 +00:00
Dominik Riebeling
afeacb048f langstat: Output date of the latest and oldest language update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24986 a1c6a512-1295-4272-9138-f99709370657
2010-03-01 21:30:39 +00:00
Dominik Riebeling
239976ebfa Rename Rockbox Utility output binary to RockboxUtility.
This will also cause the archives created by deploy-release.py to use the new
binary name, so also update the update checking code to accept any base
filename when retrieving version numbers from the download server.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24980 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 20:28:45 +00:00
Dominik Riebeling
495edfb7b9 Add support for OS X' Speech Synthesis Manager TTS system.
This adds basic support for using the OS X' TTS system. The current
implementation does only support selecting the voice itself, no further
settings (like speed pitch / speed) adjustments are implemented. As OS X' TTS
system wants the strings to get spoken in 8 bit encoding problems with locale
combinations are possible. For this better error handling in the rbutil TTS is
needed. The voice test button in the configuration dialog reacts pretty slow
due to the way its speaking is done. This can get changed but also requires
adjustments in the rbutil TTS system.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24979 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 20:19:54 +00:00
Dominik Riebeling
0978b427ee Save values set in voice window before calling configuration dialog.
This fixes the values set in the voice window getting overwritten with the
initial values when opening the configuration dialog from the window via the
"Change" button.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24963 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 11:06:49 +00:00
Dominik Riebeling
dd0a571c49 Use the data partition device node when trying to resolve the mountpoint.
The stricter matching for device nodes introduced with r24802 broke resolving
the mountpoint during autodetection as sansapatcher and ipodpatcher return the
device node of the player instead of its data partition.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24936 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 11:27:13 +00:00
Robert Menes
43e95cf7e5 Have the Mac OS X port of Rockbox Utility actually be called Rockbox Utility instead of just rbutilqt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24931 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 20:09:18 +00:00
Thomas Martitz
f6540e800d Sansa Fuzev2: Add mkamsboot and dualboot support. The bootloader doesn't work, but pressing |<< or inserting USB to boot the OF does.
It should be pretty safe to run test code on it now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24924 a1c6a512-1295-4272-9138-f99709370657
2010-02-26 13:55:17 +00:00
Rafaël Carré
3b53fe0485 mkamsboot: make sure files depending on dualboot.h are updated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24915 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 18:08:16 +00:00
Rafaël Carré
c36a644cc6 mkamsboot: use version.sh properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24843 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 05:41:09 +00:00
Dominik Riebeling
b1cc087a67 Be more strict when when resolving devices and allow hfs too.
On OS X HFS is a valid filesystem on an Ipod. When resolving device node to
mountpoints and vice versa also check mounts of hfs partitions. This results in
trying to install the bootloader on a MacPod to show the (intended) MacPod
warning instead of failing with a "could not open ipod" error because no valid
device node could be retrieved. Also, be more strict on matching to prevent
problems with one name being a subset of another.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24802 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 22:46:58 +00:00
Dominik Riebeling
7709113b6a Add missing class prefix to logging call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24801 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 22:46:55 +00:00
Dominik Riebeling
7f33b7d9fa Recognize and handle MacPods during autodetection.
Previously MacPods were detected but the mountpoint can't get resolved due to
the different partition layout, thus having a MacPod would only detect the Ipod
itself but not the mountpoint. Rockbox does not support MacPods, so inform the
user as soon as possible.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24799 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 22:11:11 +00:00
Dominik Riebeling
5998a5507d Update an outdated comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24798 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 22:11:08 +00:00
Dominik Riebeling
773de4a150 If the Ipod has been recognized as MacPod always consider no bootloader installed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24797 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 22:11:04 +00:00
Rafaël Carré
8b1bbdb013 rbutil: link to the Sansa forums when the user is requested to download a Sansa AMS firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24778 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 23:45:29 +00:00
Rafaël Carré
b6c20c17e4 mkamsboot: prevents 2 potential problems
We checked if the new firmware block (bootloader+ucl function+packed
bootloader & OF) fit in the OF file, but not if it would run properly.

For example the Clipv2 OF is bigger than 0x50000 bytes uncompressed, but
it fitted in this space when packed and concatenated to a packed
bootloader + ucl function and dualboot code (but we use 1MB of RAM and
not 0x50000 anyway).

Now we check that both bootloader and OF are small enough to be unpacked
at runtime: the unpacked data must be smaller than available memory and
not overlap with ucl function and packed data (although the unpacked and
packed data could probably overlap a bit, I don't know how to calculate
this and this could be quite complex).

total_size() is replaced by check_sizes() which will perform all the
checks and set an error string if the firmware can't be patched.
(both mkamsboot and rbutilqt modified accordingly)

The second problem is that dualboot.S assumed r3 and r5 were left
untouched in the device specific checks. This was undocumented and very
error prone when modifying these checks.

r3 is the last byte of packed copy (bootloader or OF)
r5 is the entry point of uclunpack function derived from r3, so move r5
calculation after the device specific code.

Even if r3 is currently unused in the device specific code, we store it
in memory after copying the ucl function, when it points to the last byte
of packed data (not yet copied at this point since we didn't chose if we
boot the OF or the bootloader), and restore it just before using it so no
restriction is placed on registers usage in device specific code.

Add a new variable ucl_dest in dualboot.S set by mkamsboot.c, which
represents the last bound of buffer where we copy the ucl function, and
then the packed data (bootloader or OF).

RAM_SIZE definition is moved from dualboot.S to mkamsboot.c new
model_memory_size(), where it is a bit better documented.

Tested on e200v2 and Clip+

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24772 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 14:10:26 +00:00
Björn Stenberg
b4f6c6ffba Tweaked dependencies a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24770 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 08:09:41 +00:00
Rafaël Carré
75919d5f3d Revert r24763 : LIBOBJS is already included in OBJS
The problem seems related to dependency on a directory

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24765 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:16:51 +00:00
Rafaël Carré
a63b225a14 mkamsboot binary depends on the same object files than libmkamsboot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24763 a1c6a512-1295-4272-9138-f99709370657
2010-02-19 07:05:39 +00:00
Dominik Wenger
963fdc340b rbutil: fix voice downloads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24758 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 19:47:09 +00:00
Rafaël Carré
40e833af5f Clip+ remove setting GPIOB PIN0, it seems needed only for power
Also only use 0x50000 bytes of memory since the files just fit in.
TODO: make mkamsboot abort if the decompressed OF or bootloader doesn't
fit in RAM / or overlap on compressed data or uclunpack function

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24727 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 18:27:50 +00:00
Rafaël Carré
7c8dbf46a8 mkamsboot: update dualboot.c / dualboot.h in place
This removes the need for copying these files to ../ and removes the
risk of only copying one of the files (which led to bricking 2 c200v2
already)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24719 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 14:37:06 +00:00
Dominik Riebeling
d2cead083f Start with mountpoint as folder to talk selection if old value is invalid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24704 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:38:00 +00:00
Dominik Riebeling
7e91332e39 Use QFileDialog::getExistingDirectory() for path selection.
This makes it possible for native dialogs to get used on Windows and OS X. The
mountpoint selection dialog needs special handling and still uses the
BrowseDirtree class for now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24703 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:34:39 +00:00
Dominik Riebeling
e5b63c61ab Rename InstallFrm to InstallWindowFrm.
The Install class has been renamed recently to InstallWindow. Rename the
form too so it uses the same class basename again.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24698 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 18:30:24 +00:00
Dominik Riebeling
4d6b1b6eb3 Remove column from tree widget -- this is set up by the caller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24697 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 18:30:21 +00:00
Bertrik Sikken
b4fd5d852a Include dualboot.h in dualboot.c as an additional compile time sanity check
Author: Tobias Diedrich
Flyspray: FS #11009


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24636 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 18:53:29 +00:00
Dominik Riebeling
a583f7661f Update Rockbox Utility version to 1.2.5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24626 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 20:56:04 +00:00
Dominik Riebeling
4c9fc9cb7e Fix problems with platform retrieval.
- handle disabled platforms also for for variant and base groups.
- make variant detection more strict to prevent variants that are a substring
  of other variants to match. Happened e.g. for iriverh10 and iriverh100.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24625 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 20:38:17 +00:00
Dominik Riebeling
9a256c96f7 Rockbox Utility polish translation update.
Author: Daniel Kluz
Flyspray: FS#11003 

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24623 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 19:01:16 +00:00
Dominik Riebeling
80cc3d489e Remove turkish from the languages bundled in the binary. The translation is broken on file level (all non-ASCII characters are broken).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24609 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 22:26:38 +00:00
Dominik Riebeling
22056a9c37 Don't close the disk handle to the ipod too early.
ipodInitialize() is not supposed to close but only to open the disk handle. Fixes a segfault when trying to install the ipod bootloader on windows.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24608 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 22:19:34 +00:00
Dominik Riebeling
d868bfe521 Rockbox Utility russian translation update.
Author: Simon Zhukovsky
Flyspray: FS#10985

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24604 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 21:24:54 +00:00
Dominik Riebeling
446eda80c9 Restore the default message handler on application shutdown. Fixes sporadic segfaults on exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24599 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 19:51:50 +00:00
Dominik Riebeling
552a54d87f Restore width of the Autodetect button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24597 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 18:50:49 +00:00
Jack Halpin
aa8da2333e Sansa Clip+: Unset B0 correctly in dualboot.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24582 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 14:35:52 +00:00
Jack Halpin
74c48090ac Sansa Clip+: Unset pin B0 correctly in dualboot.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24573 a1c6a512-1295-4272-9138-f99709370657
2010-02-09 22:29:23 +00:00
Jack Halpin
de3489a6c8 Sansa Clip+ : Add dualboot support for sansa clip+ to mkamsboot.
Dualboot works on the sansa clip+ by holding either the left "|<<" or home buttons.
The USB pin is still undiscovered at this point and should replace the home button when found.
By including the home button for dualboot we avoid bricking due to a single button failure.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24561 a1c6a512-1295-4272-9138-f99709370657
2010-02-08 06:43:47 +00:00
Dominik Riebeling
a9ab407f84 Add option to show disabled targets in the configuration dialog.
Note that disabled targets support is not intended for use by end users.
This is to make development (and testing of svn) easier and should get
disabled for releases.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24513 a1c6a512-1295-4272-9138-f99709370657
2010-02-04 21:10:20 +00:00
Dominik Riebeling
7ea659221d Bump rbutil version to 1.2.4.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24499 a1c6a512-1295-4272-9138-f99709370657
2010-02-03 20:20:39 +00:00
Dominik Riebeling
1bef3a98e6 Update Português Brasileiro translation for Rockbox Utility.
Author: Adilson Xavier
Flyspray: FS#10963

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24488 a1c6a512-1295-4272-9138-f99709370657
2010-02-03 17:57:59 +00:00
Dominik Riebeling
24de239d3d Fix stupid typo in my last commit. How did I miss that?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24472 a1c6a512-1295-4272-9138-f99709370657
2010-02-02 21:20:10 +00:00
Dominik Riebeling
a54cacb508 Add italian to the list of language names.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24468 a1c6a512-1295-4272-9138-f99709370657
2010-02-02 20:19:28 +00:00
Dominik Riebeling
107ce4ed32 Disable D2 in rbutil as discussed in IRC.
Bootloader installation for the D2 is still not end-user ready for the upcoming release.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24467 a1c6a512-1295-4272-9138-f99709370657
2010-02-02 20:19:24 +00:00
Dominik Riebeling
156c75cec3 Update german rbutil translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24464 a1c6a512-1295-4272-9138-f99709370657
2010-02-02 20:03:21 +00:00
Dominik Riebeling
47dbdf4cf8 OSX: Add CFBundleName to display a nicer name in the menu bar. Replace deprecated CFBundleGetInfoString.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24442 a1c6a512-1295-4272-9138-f99709370657
2010-02-01 22:05:08 +00:00
Dominik Riebeling
b659936ca5 Give the user a hint on where find the required bootloader file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24441 a1c6a512-1295-4272-9138-f99709370657
2010-02-01 20:30:22 +00:00
Dominik Riebeling
ea4130fd2d Extend SystemInfo to allow distinguishing between platforms and variants.
Doing so removes the need to loop over all targets to fill in values for
target variants in ServerInfo.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24427 a1c6a512-1295-4272-9138-f99709370657
2010-01-31 21:57:45 +00:00
Dominik Riebeling
1c6cada297 Fix typos in messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24419 a1c6a512-1295-4272-9138-f99709370657
2010-01-31 15:06:45 +00:00
Dominik Riebeling
56ac38265e Rename About menu to Help.
The About menu name was off since the introduction of the
Troubleshooting submenu. Renaming it should make it more obvious to look
at it in case of problems.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24418 a1c6a512-1295-4272-9138-f99709370657
2010-01-31 14:45:00 +00:00
Dominik Riebeling
c8d13b6a7d Implement ipod_scsi_inquiry() on OS X.
This implements the basic functionality for sending inquiries on OS X.
The current implementation has some limitations:
- it will not respect the selected device but pick the first Ipod found.
- it is inefficient due to the way ipodpatcher expects this which doesn't
  really match how it works on OS X.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24382 a1c6a512-1295-4272-9138-f99709370657
2010-01-30 17:02:37 +00:00
Dominik Riebeling
4239273108 Minimize unnecessary accesses to SystemInfo and RbSettings.
With the separation of the SystemInfo values accessing all the values
will create traces, making them rather noisy due to unnecessary multiple
accesses.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24373 a1c6a512-1295-4272-9138-f99709370657
2010-01-29 22:46:40 +00:00
Dominik Riebeling
64ead78a9f Adjust to the buildserver now using ipod4g instead of ipod4gray.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24372 a1c6a512-1295-4272-9138-f99709370657
2010-01-29 22:46:35 +00:00
Dominik Riebeling
bd1e96aef8 Change several platform names to match configure names.
Rbutil's (internal) platform names are now identical to the configure
model names except for the cases where further differentiation is
needed. In those cases the platform name is now the configure name with
an additional postfix, separated by a dot. This makes it possible
getting the configure name from the platform name.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24371 a1c6a512-1295-4272-9138-f99709370657
2010-01-29 20:00:57 +00:00
Dave Chapman
428064016b Revert most of r24361 - it was committed in error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24362 a1c6a512-1295-4272-9138-f99709370657
2010-01-28 09:37:05 +00:00
Dave Chapman
4cb879d08d Update the comments describing how to build ipodpatcher - no functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24361 a1c6a512-1295-4272-9138-f99709370657
2010-01-28 09:20:32 +00:00
Dominik Wenger
cbc549def7 rbutil: fix doubled configure dialog.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24332 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 21:15:42 +00:00
Dominik Wenger
6128bd14e9 rbutil: split RbSettings. use Stable/unstable status from server.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 21:12:11 +00:00
Dominik Wenger
7fe60537d4 rbutil: rename a few more targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24330 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 21:10:46 +00:00
Dominik Riebeling
0f6bfdb4c3 Merge rbutil CREDITS file with main one and use that.
Similar to removing the separate CREDITS file for the manual remove the
rbutil one as discussed on IRC.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24329 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 20:48:38 +00:00
Dominik Riebeling
12dd944d9b Respect default values for ServerSettingsList as well. No idea why I missed that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24326 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 19:24:56 +00:00
Rafaël Carré
43e894690f Italian translation for rbutil
Flyspray: FS#10923
Author: Domenico Di Misa

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24324 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 18:59:20 +00:00
Dominik Riebeling
329ea014e8 Store server info in RbSettings volatile in a QMap instead of putting it into the user settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24312 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 17:50:47 +00:00
Michael Chicoine
b1dfdd4c7a Update mkamsboot for Fuze OF 01.02.31
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24311 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 14:34:04 +00:00
Rafaël Carré
0061234579 rbutil: mark e200v2 and fuze as stable (remove "Unstable")
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24305 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 08:57:12 +00:00
Dominik Riebeling
f18b9d9d78 Make parsing the server date locale independent also for asctime and RFC850 representation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24302 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 22:48:11 +00:00
Dominik Wenger
8363619e66 rbutil: store the info from the server centrally in RbSetttings. Dont download build-info multiple times. Rename install.cpp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24301 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 22:18:36 +00:00
Dominik Wenger
052812d575 rbutil: remove some unneeded accesses to the raw build-info file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24299 a1c6a512-1295-4272-9138-f99709370657
2010-01-20 20:22:34 +00:00
Dominik Riebeling
70cfcf3fd6 Add new translations to resources. Sort files in resource.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24294 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 23:24:43 +00:00
Dominik Riebeling
92042548a2 Make Rockbox Utility build again and make some strings translatable. Break some long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24293 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 23:16:43 +00:00
Dominik Riebeling
fd3abfc6c7 Add standard Rockbox header and license text.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24292 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 23:01:54 +00:00
Dominik Riebeling
93bba47001 Add script for generating rbutil translation status overview.
Small script to generate an overview of the current translation status
of Rockbox Utility. The sources are retrieved from svn for this, so it
doesn't mess up with a working copy. Current limitations:
- expects lupdate-qt4 and lrelease-qt4 to be in the PATH. Doesn't try to
  find them using other names.
- always works on SVN HEAD.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24290 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 22:51:16 +00:00
Dominik Wenger
8d29cadaa1 rbutil: add a few qDebug outputs, to better track the install process in BootloaderInstallAms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24288 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 21:59:25 +00:00
Rafaël Carré
f50edb1509 Polish translation for rbutil
Flyspray: FS#10737
Author: Daniel Kluz

Also add russian translation to project file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24245 a1c6a512-1295-4272-9138-f99709370657
2010-01-16 08:02:57 +00:00
Rafaël Carré
e597224210 Russian translation for rbutil
Flyspray: FS#10909
Author: Simon Zhukovsky

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24243 a1c6a512-1295-4272-9138-f99709370657
2010-01-16 07:47:50 +00:00
Rafaël Carré
8b926e98f8 Add Sansa Clip+ target to test mkamsboot
UNTESTED, could ver well brick your Clip+
If it works, booting should just be delayed by a small delay (perhaps
not noticeable)
Hopefully the Clipv2 checks will work for Clip+ and then we'll be able
to test the other Clipv2 code (LCD/button)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24219 a1c6a512-1295-4272-9138-f99709370657
2010-01-13 03:05:29 +00:00
Tomer Shalev
294b017cd1 Revert r24174 following the discussion on mailing-list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24213 a1c6a512-1295-4272-9138-f99709370657
2010-01-10 17:13:32 +00:00
Dominik Riebeling
f011fe2b5d Set the layout direction of the dir tree when setting up the widget.
Don't set the layout direction when setting the starting folder, that might not get set at all.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24190 a1c6a512-1295-4272-9138-f99709370657
2010-01-05 22:39:05 +00:00
Dominik Riebeling
2895b659c8 An ellipsis is always exactly three dots, not two.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24177 a1c6a512-1295-4272-9138-f99709370657
2010-01-04 19:24:25 +00:00
Dominik Riebeling
68fa655dc4 Make strings better translatable by allowing to change the position of the dynamic part.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24176 a1c6a512-1295-4272-9138-f99709370657
2010-01-04 19:23:07 +00:00
Tomer Shalev
86c1360169 rbutil: Fix some messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24174 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 20:17:36 +00:00
Tomer Shalev
a398e44680 rbutil: Explicitly set some widgets layout direction to LTR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24173 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 20:04:45 +00:00
Dominik Riebeling
92eb0c1841 Rename player sections to match the platform section.
- The platforms section holds all players that should be considered as available. Correct mismatches.
- Correct a couple of buildserver and configure modelnames that still used old values.

Fixes several supported players not showing up in the configuration.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24101 a1c6a512-1295-4272-9138-f99709370657
2009-12-23 17:19:03 +00:00
Dominik Riebeling
3e0e14b592 Remove scanning for Ipod from Ipod bootloader installation and clean it up a bit. The Ipod is specified by its mountpoint, so there is no need to scan at all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24056 a1c6a512-1295-4272-9138-f99709370657
2009-12-17 21:54:07 +00:00
Dominik Riebeling
b283967ebd Use QLocale::toDateTime() for parsing the date instead of QDateTime::fromString(). Fixes server timestamps not parsed correctly on systems with a non-english locale.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24017 a1c6a512-1295-4272-9138-f99709370657
2009-12-15 21:58:07 +00:00
Dominik Riebeling
bd62c853d4 Fix Ipod Video 64MB workaround for rockbox-info.txt detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24013 a1c6a512-1295-4272-9138-f99709370657
2009-12-15 21:10:32 +00:00
Dominik Riebeling
69a5ff7f8a Make lipo calls silent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23982 a1c6a512-1295-4272-9138-f99709370657
2009-12-13 21:30:28 +00:00
Dominik Riebeling
c3a908f04b Always format error message using ANSI functions to get rid of type-punning when building with rbutil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23913 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 19:04:02 +00:00
Dave Chapman
5742f89394 Fix ipodpatcher to work with new target names introduced in r23883
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23906 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 13:13:58 +00:00
Björn Stenberg
c0740440ac Rename targets to be consistent in all places. (FS #10819). Take 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23883 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 12:19:08 +00:00
Dominik Riebeling
e8bab4e3a0 Improve detection of system libspeex and fallback earlier.
libspeex is split into libspeex and libspeexdsp. We need both, so check
for them the same time instead of trying to respect the fact that old
versions didn't have the libspeexdsp part. Should fix issues with
distributions that have libspeex and libspeexdsp split into separate
packages and only the libspeex one is installed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23872 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 10:19:43 +00:00
Dominik Riebeling
d587794dfc Remove special lib Makefile targets that aren't used anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23871 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 10:19:39 +00:00
Dominik Riebeling
03246172b8 Fix "Warning: Signals cannot be declared virtual" for progresslogger when building with Qt 4.6.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23848 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 21:33:25 +00:00
Dominik Riebeling
f6a92b8e71 Name some unnamed GridLayouts. Fixes uic warnings about names being used multiple times.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23837 a1c6a512-1295-4272-9138-f99709370657
2009-12-03 21:30:45 +00:00
Dominik Riebeling
5f7a846b97 Add support for OS X.
- make the deploy script work on OS X.
- use macdeployqt for copying Frameworks macdeployqt is part of Qt, at least since 4.5.
- add a workaround for Qt not copying icons and plist file correctly when building out of tree.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23789 a1c6a512-1295-4272-9138-f99709370657
2009-11-29 21:09:21 +00:00
Dominik Riebeling
93eefbabe3 Suppress unused warnings for functions that haven't been implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23785 a1c6a512-1295-4272-9138-f99709370657
2009-11-29 19:20:38 +00:00
Dominik Riebeling
f0d0ba86ff Fix building universal binaries.
When building various libraries for Rockbox Utility make sure they use the same compiler as Qt. Pass Qt's CC instead of explicitly setting it. This fixes issues linking on OS X (with recent XCode building universal binaries requires the use of gcc-4-0 while the default one is 4.2).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23779 a1c6a512-1295-4272-9138-f99709370657
2009-11-28 22:39:05 +00:00
Dominik Riebeling
cca6f747f8 Handle TARGET_DIR in universal library building.
Building universal libraries needs to take TARGET_DIR into account as when set the individual libraries are placed into the build output folder and didn't got found anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23778 a1c6a512-1295-4272-9138-f99709370657
2009-11-28 22:39:00 +00:00
Dominik Riebeling
38dde55c27 FS#10100: Wait for the system to remount the player after bootloader installation.
OS X requires to unmount the player during bootloader installation on Sansas / Ipods. The system remounts the player automatically after a short while.
Not waiting for the system to remount the player will result in a changed mount point, making the small / full install write the main build to the wrong
 location.
This currently waits up to 60 seconds for the player to get remounted until it errors out. This value seems to be sufficient, if it's not please report
so we can adjust it. Also, the waiting can't be interrupted right now.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23716 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 22:13:25 +00:00
Dominik Riebeling
46e56582b0 Fix Sansa bootloader installation on OS X.
- adjust the regex to figure the correct drive from the partition name.
- move the check for an old bootloader into the first installation step -- it's a fatal problem so it should appear as soon as possible.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23715 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 21:03:07 +00:00