Commit graph

1268 commits

Author SHA1 Message Date
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
Dominik Riebeling
bbfe57377c FS#9833: Fix Ipods being wrongly detected as MacPods on OS X
- when scanning for Ipods save the complete ipod_t structure on match. Only saving the disk name can result in the structure holding a disk name not matching the rest of the structure. This lead to wrong detection of macpod on OS X, as Mac drives might get detected later.
- reopen the Ipod in RW mode on scanning on W32 only. On OS X reopening also unmounts the player, which in turn makes resolving the mount point fail.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23707 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 16:35:35 +00:00
Dominik Riebeling
48df607faa Fix stupid combination of CnP error and typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23703 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:41:00 +00:00
Dominik Riebeling
49ed16cd29 Fix two strings and warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23702 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:37:31 +00:00
Dominik Riebeling
de37ce51ed OS X uses msdos as filesystem for vfat which is the same OpenBSD does. Fixes mountpoint resolving.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23701 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:29:22 +00:00
Rafaël Carré
6b06648239 rbutilqt: always rename the OF to the name specified in rbtutil.ini
The OF could have been stored by the user with a different name

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23700 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:28:48 +00:00
Rafaël Carré
e30d13e344 rbutilqt: activate Unstable Clip support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23699 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:23:25 +00:00
Dominik Riebeling
9dd6396aa2 Use f_frsize when calculating the free disk space from the block count. Fixes wrong value on implementations with f_bsize != f_frsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23685 a1c6a512-1295-4272-9138-f99709370657
2009-11-21 18:54:34 +00:00
Dominik Riebeling
1717217cb8 Add docs/COPYING to rbutil source folder and make checkout slightly more robust.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23679 a1c6a512-1295-4272-9138-f99709370657
2009-11-20 21:04:23 +00:00
Rafaël Carré
a721007e39 mkamsboot: fix linking (typo from r23520)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23571 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 21:00:55 +00:00
Dominik Riebeling
3e489c14c1 Rename print_error() in ipodpatcher and sansapatcher.
Both patchers use the same function name with one being removed when
building for rbutil. This gets in the way trying to move the patchers to
libraries, and it also results a linking dependency of sansapatcher on
ipodpatcher. Renaming the function makes both more self-contained and
avoids potential issues if the functions happen to not do the same.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23568 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 13:38:10 +00:00
Dominik Riebeling
8e47406b76 Fix a compile warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23558 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 20:03:36 +00:00
Dominik Riebeling
992b57324e Allow the bin2c output filename stem to contain a path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23557 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 20:03:32 +00:00
Dominik Riebeling
513a76e14e Update portugues-brasileiro lang file (FS#10765 by Adilson Xavier).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23556 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 19:48:40 +00:00
Dominik Riebeling
7e0fe361d7 Set svn:keywords property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23545 a1c6a512-1295-4272-9138-f99709370657
2009-11-06 23:20:51 +00:00
Dominik Riebeling
3bae42e9f9 Use mingw32-make when deploy-building on Windows / MinGW as make might not be the MinGW version one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23525 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 22:24:47 +00:00
Dominik Riebeling
3762b36b1a mktccboot doesn't use any version string passed by the Makefile, remove unneeded call to version.sh.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23524 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 22:23:05 +00:00
Dominik Riebeling
d47366bb78 Remove unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23523 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 21:57:28 +00:00
Dominik Riebeling
20f3e646d8 Clean up mktccboot building. No functional changes.
- Adjust the Makefile similar to the changes done in r23520.
- Split out the standalone part into a separate source file.
- Put telechips.o inside the archive instead of building it separately for rbutil. It is part of mktccboot.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23522 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 21:56:40 +00:00
Dominik Riebeling
ea6178065c Clean up mkamsboot building. No functional changes.
- split out standalone functions to a separate file.
- adjust and clean up Makefile.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23520 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 20:58:40 +00:00
Dominik Riebeling
606a333a5f Fix building of Rockbox Utility by restoring object list for libmkamsboot.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23505 a1c6a512-1295-4272-9138-f99709370657
2009-11-03 22:05:35 +00:00
Tomer Shalev
bcadf96066 FS#10740 - rbutil: Test Cowon D2 OF file for CRC consistency before patching
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23470 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 18:26:00 +00:00
Tomer Shalev
0fa6eea2fb rbutil: Fix Cowon D2 bootloaderfile had no slash prefix.
Also remove filename itseld as it is not being considered. The output patched
firmware filename is taken from the original firmware file.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23468 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 17:49:19 +00:00
Tomer Shalev
04f84cf1e8 FS#10747 - Disable actions if rbutil is not configured properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23466 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 17:16:02 +00:00
Dominik Riebeling
23aecc4539 Don't set the layout direction twice in a row, one time is enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23448 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 20:02:33 +00:00
Tomer Shalev
15ea6e663f FS#10741 - rbutil: Fix mkamsboot Makefile dependancies
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23443 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:18:17 +00:00
Tomer Shalev
3b3377b0f4 rbutil: Update Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23442 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:17:38 +00:00
Tomer Shalev
d011eecad4 FS#10748 - rbutil: Explicitly override GUI layout direction setting for some widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23441 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:16:34 +00:00
Tomer Shalev
e3e8898fef Remove tooltip from 'Install Rockbox' button, since no other button has one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23433 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 09:03:21 +00:00
Tomer Shalev
62e583fa9c Fix cowon D2 bootloader file path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23430 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 22:51:31 +00:00
Dominik Riebeling
1121206ea7 Catch import errors for modules that are not part of python.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23427 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:40:07 +00:00
Dominik Riebeling
2468748800 Building Rockbox Utility now also needs telechips.[ch].
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23425 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:13:09 +00:00
Dominik Riebeling
8ed7a590ad Fix mktccboot to make Rockbox Utility compile again.
- when building out-of-tree don't build objects in the tools folder.
- take out-of-tree building into account when looking for objects.
- don't lie to the user -- linking is not compiling.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23423 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:04:07 +00:00
Tomer Shalev
08c5a66f8a mktccboot: Remove excessive use of defines in Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23420 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 14:27:16 +00:00
Tomer Shalev
d0bc525df1 rbutil: Update bootloader name for cowon d2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23413 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 22:21:30 +00:00
Tomer Shalev
ad78551811 FS#10728 - Cowon D2: Add support for D2 in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23410 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 21:31:50 +00:00
Dominik Riebeling
aca1d8b50b Improve a few debug logger messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23407 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 19:43:48 +00:00
Dave Chapman
48430bfabd Move mktccboot from tools/ to rbutil/mktccboot/ - inspired by FS#10728 but with no functional changes to code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23382 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:11:43 +00:00
Dominik Riebeling
6f9724706f Show status about downloading build information in the status bar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23369 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 19:28:51 +00:00
Dominik Riebeling
18e6547ffa Add a pointer to the manual and wiki for finding an OF file for AMS bootloader installation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23364 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 22:18:27 +00:00
Dominik Riebeling
07e8647d88 Add simple progress indicator when building.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23317 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 22:02:56 +00:00
Tomer Shalev
334e03e55b rbutil: Updated Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23267 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 19:29:33 +00:00
Tomer Shalev
660dbd697d rbutil: Change layout to RTL if Hebrew language is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23264 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 17:38:46 +00:00
Björn Stenberg
00695baac0 Updated location of Gigabeat F/X bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23257 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 11:42:11 +00:00
Tomer Shalev
602316095a rbutil: Updated Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23248 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 20:17:49 +00:00
Dominik Riebeling
10305ea887 When cancelling the bootloader installation delete the bootloader install object.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23222 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 09:19:09 +00:00
Dominik Riebeling
e4af86a834 rbutil: build our libraries in the build folder like everything else. Centralize the build rules for them within the project file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23216 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:44:06 +00:00
Dominik Riebeling
5c244cfcaa Move rbutil documents into a separate subfolder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23213 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:33:12 +00:00
Dominik Riebeling
1383be8fb0 Fix a compiler warning showing up with newer gcc versions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23175 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 20:43:50 +00:00
Dominik Riebeling
0fcc84f463 Add cache index file to HttpGet class to maintain a list of hash - file origin mappings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23174 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 20:21:23 +00:00
Dominik Riebeling
96adddaab3 Don't trace every device in the machine when scanning for USB devices on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23173 a1c6a512-1295-4272-9138-f99709370657
2009-10-14 20:21:17 +00:00
Dominik Riebeling
2e9155c3c5 Add the left brace again that was unintentionally lost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23165 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:55:56 +00:00
Dominik Riebeling
bc748951b9 Fix building Rockbox Utility when using newer versions of libspeex.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23164 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:53:25 +00:00
Dominik Wenger
11bd80cd38 rbutil: rework and rename the "dont overwrite talkfiles" option so it really generates only new Talkfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23162 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:51:20 +00:00
Dominik Wenger
3215c09462 rbutil: split tts.cpp/h into individual files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23158 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 19:54:27 +00:00
Dave Chapman
c06bc788c9 Fix Nano2G bootloader installation - no longer assume that the OSOS image is the first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23154 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 14:39:28 +00:00
Rafaël Carré
71e79e7dac rbutil: YH820 Unstable support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23153 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 14:08:32 +00:00
Dave Chapman
8e95cc4329 ipodpatcher and rbutil support for the Nano2G - FS#10609 with a few further changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23142 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 08:02:59 +00:00
Dominik Wenger
e486241c01 rbutil: store the voice language in the correct setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23141 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 20:40:42 +00:00
Dave Chapman
747b9ca258 mkamsboot: allow the version string to be overridden from the commandline - e.g. "make APPVERSION=v1.1 mkamsboot".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23097 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 09:47:15 +00:00
Dominik Riebeling
ef9dfb89b8 Rework configuration dialog for TTS / Encoder values.
The generated dialogs for encoder and TTS configuration didn't scale well and were missing icons. Use a grid layout so buttons are aligned properly now, remove the fixed width for buttongs (which breaks immediately if a label text is getting too long, especially when using a translation).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23075 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 16:52:36 +00:00
Dominik Riebeling
205231caf7 Don't put the complete HTML source in the trace when checking for a new version. The recognized filenames is enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23071 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 15:31:18 +00:00
Rafaël Carré
e51dbc0f4f mkamsboot: support Fuze OF v 1.02.28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23067 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 11:21:15 +00:00
Dominik Riebeling
e1009476ca Update german rbutil translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23052 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 18:32:13 +00:00
Rafaël Carré
30ea0b6368 mkamsboot: build and package (dmg) an universal OSX binary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23034 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 08:49:41 +00:00
Dominik Riebeling
67059947a9 Add Czech translation to the resources too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23018 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 21:48:24 +00:00
Dominik Riebeling
b5240fd93b Czech translation for Rockbox Utility (FS#10662 by Pavel Rzehák).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23017 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 21:40:12 +00:00
Dominik Riebeling
21a712cba1 If available, use the systems libspeex when linking rbspeex(enc|dec) and rbutil dynamically. This is similar to FS#9233 but utilizes pkg-config.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23016 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 21:26:39 +00:00
Dominik Riebeling
32b367b042 Don't warn if the archive has to be created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23013 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 20:10:03 +00:00
Dominik Riebeling
6b51e5b089 Add some more options to rbutil deploy script.
- Allow building the source tarball only
- Allow building the binary only
- Allow building the binary dynamically linked.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22964 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 18:35:28 +00:00
Dominik Riebeling
d5529efec7 Add command line option for adding additional files to the build folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22928 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 21:17:59 +00:00
Dominik Riebeling
45c411e6c8 Rework rbutil deployment script.
- When building from trunk or a tag, retrieve the sources to build from svn.
- Create a source archive as well.
- Default to building from trunk instead of using a local source copy.
- Disable creation of a source tarball when building from a local source tree.
- Build in the systems temporary folder when building with sources from svn.
- Display a short summary of the files created on success.
- Disable the use of ccache when building.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22923 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 16:45:59 +00:00
Dominik Riebeling
f65170f1df Add config option to disable ccache during build.
When building releases in a temporary folder using ccache doesn't help, as the path of the source files is also used for identification. Disabling ccache makes it not cache objects that are likely to be never needed again (i.e. the next build will use a different file).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22922 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 16:41:24 +00:00
Dominik Riebeling
2b05ef77d7 Add command line option to specify project file for deploying out-of-tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22898 a1c6a512-1295-4272-9138-f99709370657
2009-10-03 20:42:02 +00:00
Dominik Riebeling
9e25f04e5b Handle which not returning anything when searching for qmake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22895 a1c6a512-1295-4272-9138-f99709370657
2009-10-03 18:16:41 +00:00
Dominik Riebeling
bbe9d32383 Refactor rbutil deploy script.
- refactor some duplicated code.
- fix a wrong exit() call.
- improve build failure detection and abort on errors instead of going on.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22894 a1c6a512-1295-4272-9138-f99709370657
2009-10-03 17:19:07 +00:00
Dominik Riebeling
1644cd8741 Clean up a few source strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22833 a1c6a512-1295-4272-9138-f99709370657
2009-09-25 15:51:17 +00:00
Dominik Riebeling
b9a17dd0ce Add special handling for ipodvideo64mb when detecting the player via rockbox-info.txt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22831 a1c6a512-1295-4272-9138-f99709370657
2009-09-25 15:26:59 +00:00
Dominik Riebeling
4e4510ee91 Query RAM size when scanning for Ipods. Return the target string for Video 64MB when apropriate amount of RAM is detected. Makes Rockbox Utility detect it correctly for first time installs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22829 a1c6a512-1295-4272-9138-f99709370657
2009-09-25 08:39:08 +00:00
Dominik Wenger
885dc15a02 rbutil: correct url to samsung bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22806 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 20:23:17 +00:00
Rafaël Carré
4802673807 Samsung YH920 & YH925 are in the unstable category
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22804 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 19:59:36 +00:00
Dominik Wenger
976784b405 rbutil: correct dependencies by setting DEPENDPATH.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22803 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 19:57:37 +00:00
Dominik Riebeling
8b32a2d473 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@22759 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 17:03:58 +00:00
Dominik Riebeling
2474708498 Substract the correct number of minutes when calculating the durations seconds part.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22752 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 15:10:09 +00:00
Dominik Riebeling
d7b9f996e3 Fix short version of qmake command option. Add display of building time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22751 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 14:59:29 +00:00
Dominik Wenger
019a75db87 rbutil: bump version in preparation for release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22749 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 13:44:27 +00:00
Dominik Wenger
6bb507a345 rbutil: mark e200v2 and fuze as unstable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22743 a1c6a512-1295-4272-9138-f99709370657
2009-09-19 23:44:46 +00:00
Dominik Wenger
d0b048e82d rbutil: dont output a error if rbutil follows a http redirect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22739 a1c6a512-1295-4272-9138-f99709370657
2009-09-19 21:00:07 +00:00
Dominik Wenger
293a4b62d7 rbutil: check for new Versions at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22734 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 22:28:09 +00:00
Dominik Wenger
f10450e44e rbutil: change some more URLs to match new locations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22713 a1c6a512-1295-4272-9138-f99709370657
2009-09-16 21:39:14 +00:00
Dominik Wenger
f1330aeb3e rbutil: fix URL to the font pack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22706 a1c6a512-1295-4272-9138-f99709370657
2009-09-16 19:00:18 +00:00
Dominik Wenger
0695b1af6c rbutil: fix URL to build-info for dailies and releases. And hide targets which are not in the stable or unstable category.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22705 a1c6a512-1295-4272-9138-f99709370657
2009-09-16 18:57:29 +00:00
Maurus Cuelenaere
98f5c30b05 Fix ccpmp.bin backup in ChinaChippatcher (thanks to Aaron DeMille)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22699 a1c6a512-1295-4272-9138-f99709370657
2009-09-14 12:29:34 +00:00
Dominik Wenger
fc79569c33 rbutil: correct several name entrys in the rbutil.ini file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22640 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 14:23:17 +00:00
Dominik Riebeling
2417023652 Make mkamsboot Makefile operate silent per default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22629 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 08:54:52 +00:00
Dominik Wenger
4d86861ce5 rbutil: modify buildsystem so you can build outside of the rbutilqt directoy. (similar to the normal buildsystem). Attention: Spaces in the path will cause errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22624 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 21:31:17 +00:00
Dominik Riebeling
4dd44bffb0 Explicitly set CC to prevent make trying to use cc instead. Fixes build issues on w32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22623 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 19:54:18 +00:00
Dominik Wenger
0bafa03363 rbutil: correct debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22563 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 20:14:27 +00:00
Dominik Wenger
624c608c9d rbutil: correct usb-id reading on windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22562 a1c6a512-1295-4272-9138-f99709370657
2009-08-30 20:05:51 +00:00
Dominik Wenger
6fd6adbc44 rbutil: dont write logfile if user aborts filename selection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22544 a1c6a512-1295-4272-9138-f99709370657
2009-08-29 18:55:52 +00:00
Dominik Wenger
7feb639938 rbutil: add a option to ignore specific files for .talk file generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22478 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 18:57:50 +00:00
Dominik Wenger
139127217a rbutil: fix festival tts handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22477 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 18:02:44 +00:00
Dominik Wenger
40952de355 rbutil: also remove the target-id from the onda targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22464 a1c6a512-1295-4272-9138-f99709370657
2009-08-22 14:43:00 +00:00
Dominik Wenger
da358058cb rbutil: use target-id from rockbox-info.txt and remove it from rbutil.ini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22463 a1c6a512-1295-4272-9138-f99709370657
2009-08-22 14:05:20 +00:00
Maurus Cuelenaere
e4c754b30a Rockbox Utility: fix some typos in Dutch translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22460 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 22:38:03 +00:00
Maurus Cuelenaere
11826e9040 Rockbox Utility: make chinachippatch translateable + update Dutch translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22450 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 15:46:15 +00:00
Maurus Cuelenaere
e49ffb23fc * Onda VX747/VX767: fix target_id & MODEL_NUMBER
* Add support to Rockbox Utility for Onda VX747+ & VX777


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22359 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 21:03:22 +00:00
Maurus Cuelenaere
e8c71aa40c Rockbox Utility: add preliminary support for installing the bootloader (+ dual boot) on ChinaChip targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22356 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 20:39:00 +00:00
Dominik Riebeling
9db05403bd Add Save icon and add a note to the about dialog about the origin of the icons. Should have been there much earlier ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22353 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 19:46:41 +00:00
Dominik Riebeling
76100783af Improve notification about unsupported players.
- Display the name of a detected unsupported player when running autodetection from the configuration window.
- Extend the list of known-unsupported players.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22334 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 21:29:31 +00:00
Dominik Riebeling
9cdfbfede4 Fix up some USB IDs.
- remove e200v2 and fuze IDs as incompatible since we now have support for those in rbutil.
- fix swapped IDs for e200v2 and fuze
- fix a typo.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22333 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 21:05:18 +00:00
Dominik Riebeling
9f75cc3b3c Set svn:executable property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22332 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 19:16:19 +00:00
Dominik Riebeling
de247bfd91 Remove resolution from system configuration as it isn't used anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22331 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 19:04:45 +00:00
Dominik Riebeling
1da97be26f Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22330 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 18:57:58 +00:00
Dominik Wenger
426bfa8d03 rbutil: add a errorlog function into rbutil and the possibility to save a log if a error happens. (thanks to bluebrother for the trace functionality)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22329 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 17:02:25 +00:00
Dominik Wenger
26a0dd086f rbutil: use universal mkamsboot.a and libucl.a on mac.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22326 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:26:05 +00:00
Dominik Riebeling
ac77c08f11 Make mkamsboot Makefile more silent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22320 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 14:26:08 +00:00
Dominik Wenger
cb55d5c65f rbutil: move extern "C" declaration into mkamsboot.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22319 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 14:09:05 +00:00
Dominik Wenger
f4e2d83f04 mkamsboot: move intermediate files into a build directory and allow building of a universal lib (for macs)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22318 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 13:54:13 +00:00
Dominik Wenger
a66dfa4ab7 rbutil: add ams sansa targets. (FS#10185)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22317 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 13:04:21 +00:00
Dominik Riebeling
e9d81ba089 Fix Rockbox Utility build on W32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22260 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 20:40:02 +00:00
Dominik Riebeling
6cea3308d0 Clean up accessing system setting values for a specific player.
Remove the ugly "save, change and restore platform" accesses and extend the settings class to allow accessing player specific system values.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22254 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 17:02:35 +00:00
Dominik Riebeling
e2f5086916 Clean up and rename Detect class.
Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:46:51 +00:00
Dominik Riebeling
84ced00bbd Simplify and cleanup rockbox-info.txt handling.
Simplify RockboxInfo file handling. Remove Detect::installedVersion() and Detect::installedTarget(), as those became wrappers around RockboxInfo without functionality.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22237 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:20:53 +00:00
Dominik Riebeling
ad7dab615f Add missing multiple inclusion protection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22236 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 18:08:06 +00:00
Dominik Riebeling
15ff26d3ba Add (untested) support for Samsung YH-820, YH-920 and YH-925. Based on FS#10373 with adjustments to match the recent changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22231 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 19:38:34 +00:00
Dominik Riebeling
0b7bfb6270 Extend bootloader installation to accept alternatives for the destination filename.
Remove the hardcoded special case for the H10 bootloader installation and uninstallation. Allow multiple bootloader filenames to be present and pick the existing one on (un)installation. This is also needed for easily adding support for the Samsung YH players (to make FS#10373 actually work).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22220 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 10:57:39 +00:00
Dominik Riebeling
63ba647ee0 Clean up bootloader installation debug output a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22219 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 10:57:33 +00:00
Dominik Wenger
de460fe783 rbutil: try to fix voicefile creation for releases. (genlang.cgi still needs fixing).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22207 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 13:06:01 +00:00
Dominik Riebeling
363cbc22b5 Support libusb-1.0.
Use "qmake -config libusb1" to use libusb-1.0 instead of libusb-0.1.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22205 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 12:28:47 +00:00
Dominik Riebeling
bd5b744a6d Clean up some debug output, kill some trailing spaces and break some overly long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22204 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 12:12:49 +00:00
Dominik Riebeling
89e5333bc1 Move download link pattern description to rbutil.ini.
Don't hard code the creation of the download links anymore but use pattern replacement and define the basic structure in rbutil.ini.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22200 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 00:02:33 +00:00
Dominik Riebeling
059255705b Fix SCSI inquiry on W32.
W32 returns additional bytes containing garbage on pages returning the maximum amount (i.e. 255) of bytes. Ignoring those bytes makes the output being correct. Someone needs to find out why those additional bytes are indicated at all.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22199 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 22:58:20 +00:00
Dominik Riebeling
8b77ce2d61 Fix rbutil build on w32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22197 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 22:19:59 +00:00
Dave Chapman
1eca02d863 Add support (on Linux and win32 only - I couldn't figure this out on OS X) for reading the XML device information from ipods. This information includes the RAM size, which is potentially useful for rbutil to distinguish between the two ipod video builds. This is implemented as both a new --dump-xml option (to dump the entire XML to a file) and a new 'ramsize' field in struct ipod_t.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22165 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 20:32:30 +00:00
Dave Chapman
71f0814e52 Make ipodpatcher compile on *BSD and recent Linux distributions - htole16/htole32 are standard BSD functions, and they now also appear in glibc 2.9 or later on Linux. As the functions are so simple, we just rename to avoid a clash instead of attempting to use the library versions on some platforms. Same as fix provided in FS#10428 by Alyssa Milburn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22164 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 20:03:17 +00:00
Rafaël Carré
b5f9f6152b mkamsboot: remove runtime copyright notice
add a cast to remove a warning in printf()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21925 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 17:51:01 +00:00
Dominik Riebeling
844b2147ee FS#10439: Português Brasileiro Translation for Rockbox Utility by Adilson Xavier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21902 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 08:32:56 +00:00
Dave Chapman
34213c388b Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg creation rule
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21793 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 22:50:22 +00:00
Rafaël Carré
b9bcadf19c e200rpatcher: new e200rpatcher.dmg creation rule for OSX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21779 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 15:23:56 +00:00
Rafaël Carré
06cd53bc40 sansapatcher: new sansapatcher.dmg creation rule for OSX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:46:09 +00:00
Frank Gevaerts
99edc7b075 Also bump version in trunk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21747 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 16:52:02 +00:00
Frank Gevaerts
1b752474a6 fix bin2c.c path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21670 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 18:45:12 +00:00
Thomas Martitz
ff2f839c39 Change to versioning for mkamsboot to <rXXXXX>-<DATE> for svn builds. A fixed number like 1.1 can (and should) be used for releases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21652 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 10:35:47 +00:00
Rafaël Carré
ef7ad19d37 mkamsboot: change version string to 1.1, move devices list in the header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21650 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 08:25:44 +00:00
Thomas Martitz
f9eeab2b6c Slightly rewrite some parts of mkamsboot for better output and some sanity in the early array declarations. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21648 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 02:30:33 +00:00
Dominik Riebeling
5de08ea834 When changing TTS settings from the talkfile dialog make sure to not reset the currently selected folder if its valid. Fixes FS#10409.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21637 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 18:00:13 +00:00
Dominik Wenger
13d0b526c3 rbutil: move ProgressloggerInterface to base/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21531 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 15:21:42 +00:00
Dominik Wenger
b6143b053f rbutil: make the test TTS Function use aplay or play on Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21530 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 15:04:53 +00:00
Dominik Wenger
07a55a747d rbutil: add a Button to test a TTS Engine. Remove a old .ui file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21525 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 21:52:08 +00:00
Dominik Wenger
20bf8aaf18 rbutil: improve voice and talk generation.
- introduce a talkgenerator to better share code between voice and talk generation.
- name intermediate .talkfiles after the md5sum of the text. (prevents naming problems).
- do not directly use the logger, instead emit signals.
- move talkfile and voicefile generation to base/

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21524 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 20:40:51 +00:00
Dave Chapman
28a2b4514f Add an explicit rule to compile bin2c - r21272 broke compilation of sansapatcher on at least Linux because Make's implicit rule for compiling bin2c was being used, which uses CC, which was set to i586-mingw32msvc-gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21476 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 23:06:56 +00:00
Dominik Riebeling
01363eca7d Update japanese translation for Rockbox Utility (FS#10349 by Yoshihisa Uchida).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21363 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 07:52:08 +00:00
Dominik Riebeling
efb9343bc6 Initial script to automate rbutil release builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21339 a1c6a512-1295-4272-9138-f99709370657
2009-06-18 22:17:17 +00:00
Dominik Riebeling
bc1fd05dc1 Bump Rockbox Utility version number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21319 a1c6a512-1295-4272-9138-f99709370657
2009-06-17 19:42:06 +00:00
Dominik Riebeling
f2a8dd3ce5 Clean up several debug messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21314 a1c6a512-1295-4272-9138-f99709370657
2009-06-16 18:45:20 +00:00
Dominik Riebeling
c038ab4710 Set the maximum first when updating the progresslogger progress bar as otherwise the new value will get dropped if outside of the valid range. Fixes the progress showing 0% after downloading the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21302 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 20:37:55 +00:00
Dominik Riebeling
9c19e39a40 Fix default filename for manual downloads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21301 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 20:10:32 +00:00
Dominik Wenger
18e74c9d81 rbutil: improve accessibility a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21300 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:41:16 +00:00
Dominik Wenger
b386406707 rbutil: fix voice download for some targets. (again naming issues)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21298 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:18:13 +00:00
Dominik Riebeling
7533dcb6eb Fix manual download using the wrong filename if the manual name differs from the target name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21296 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:06:03 +00:00
Dominik Riebeling
73f9bde908 Make bin2c compile with VS2005 and move it to a separate folder as its getting used by different tools now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 14:15:50 +00:00
Maurus Cuelenaere
cb08ef2420 Update Dutch RBUtility translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21240 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 22:14:31 +00:00
Dominik Riebeling
86b39ccd90 Update rbutil translations:
- japanese by Yoshihisa Uchida (FS#10302)
- german by myself
- lupdate all other languages and drop obsolete messages.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21239 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 21:59:43 +00:00
Dominik Riebeling
11cd9e4464 Set svn:eol-style on several files missing it and dos2unix them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21238 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 21:49:34 +00:00
Dominik Riebeling
86041b1d33 Make labels in generated TTS / Encoder setting dialogs translatable.
Code police: break some long lines, remove trailing spaces.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21237 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 21:46:05 +00:00
Maurus Cuelenaere
72e7b99f78 Update Dutch translation of RBUtility
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21226 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 19:59:06 +00:00
Dominik Riebeling
41b8ffc9d1 Add Lithuanian to rbutil voice language options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21215 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 10:38:03 +00:00
Dominik Riebeling
7f17fce424 Clean up configuration dialog debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21201 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 10:17:03 +00:00
Dominik Riebeling
fe72c890a7 Show Qt version number in Sysinfo dialog and in startup debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21194 a1c6a512-1295-4272-9138-f99709370657
2009-06-05 21:49:53 +00:00
Rafaël Carré
8bb5e430e5 mkamsboot: refuse to patch an untested OF, and provide a list of tested OF versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21189 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 16:31:11 +00:00
Nils Wallménius
4746cde685 Add usb ids for third and fourth gen nanos to the list of unsupported targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21156 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 15:41:23 +00:00
Rafaël Carré
a96f2373db mkamsboot : brackets at the start of functions must be on their line - thanks to linuxstb for noticing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21122 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 21:19:21 +00:00
Rafaël Carré
96165abec2 FS#10253 : mkamsboot v1.0
- Bump version to 1.0
- Add Clipv2 target
- Make mkamsboot work as a library (work by domonoky : FS#10185, with a few modifications by me)
  . Use a macro with variadic arguments for error cases in functions which might error.
  . Add detailed descriptions to functions exported by the library (in the header file)
- modify bin2c.c to produce only one pair of .c/.h files with several files embedded in it
- move files needing to be built by an ARM cross compiler into dualboot/
- commit produced .c/.h files (containing nrv2e_d8.S and dualboot.S built for Clip, Fuze, e200v2, c200v2, m200v4, Clipv2)
- Write a real README file
- cosmetics: indent dualboot.S properly, remove trailing spaces, limit lines to 80 characters
- comments: add/correct comments in dualboot.S and mkamsboot.c
- move back extract_fw.c to utils/AMS/hacking

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21118 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 18:27:08 +00:00
Rafaël Carré
b0e0ec832b mkamsboot: really error out if OF model is different from bootloader model
Error out if firmware md5sum isn't known, and leave the current code #if 0'ed for easier testing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21073 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 10:35:15 +00:00
Rafaël Carré
9ed51a029d mkamsboot : use left button for dual boot on Sansa Clip for consistency with other Sansa models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21029 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:44:06 +00:00
Rafaël Carré
f2c07a6b8a mkamsboot : remove a misleading comment (we only use IRAM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21028 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:44:03 +00:00
Dominik Riebeling
132176e120 RFC2616 requires requests made to proxies to use the absoluteURI form while HTTP/1.1 clients shall only create it when sending a request to a proxy. Fixes proxy support not working correctly (most noticably on theme installation).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20992 a1c6a512-1295-4272-9138-f99709370657
2009-05-19 22:46:57 +00:00
Dominik Riebeling
f1fadb2b60 Clean up and improve themes install window debug messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20989 a1c6a512-1295-4272-9138-f99709370657
2009-05-19 21:10:19 +00:00
Dominik Wenger
6d2432cf8e rbutil: make the Credits and Licence texts in the about dialog accessible via <TAB>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20910 a1c6a512-1295-4272-9138-f99709370657
2009-05-11 17:36:24 +00:00
Dominik Wenger
25f77f60dd rbutil: make sure the voice creation window updates its display on startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20896 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 20:04:08 +00:00
Bertrik Sikken
a7970d32e8 rbutil: fix spelling, enginge -> engine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20895 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 19:07:01 +00:00
Dominik Wenger
f6ba4cbe0d rbutil: show logger windows earlier in bootloader install, to catch all errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20894 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 18:49:49 +00:00
Dominik Wenger
9ca29354e1 rbutil: enforce parents for bootloader install classes. and rework OF handling a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20892 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 18:17:05 +00:00
Dominik Wenger
33d9cf091a rbutil: make RbSettings a static class. (FS#10183 with improvements)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20890 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 16:59:14 +00:00
Dominik Riebeling
d5f7dab230 Cleanup and un-gui ZipInstaller class:
- Use signals for updating the progress logger from  ZipInstaller class.
- Move ZipInstaller class to base folder as it doesn't rely on QtGui anymore.
- cleanup debugging output a bit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20845 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:50:31 +00:00
Dominik Riebeling
7cfdd47587 Clean up ProgressLogger state handling:
- use better names for member functions
- don't emit aborted() when exiting a successful log


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20844 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:40:04 +00:00
Dominik Riebeling
b22516f995 Make sure the global buffers for ipodpatcher and sansapatcher get allocated and freed only once. Fixes segfaults when the bootloader install class was instanciated multiple times.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20835 a1c6a512-1295-4272-9138-f99709370657
2009-05-01 21:35:06 +00:00
Dominik Wenger
3c15e78349 rbutil: correct use of parent ptr in constructor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20833 a1c6a512-1295-4272-9138-f99709370657
2009-04-30 19:52:34 +00:00
Dominik Riebeling
f679cf91cf Bootloader installation for ipod and sansa: override the scanning with the device pointed to by the mountpoint. This allows selecting the correct player if two of the same brand are connected (FS#10096).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20832 a1c6a512-1295-4272-9138-f99709370657
2009-04-30 19:14:24 +00:00
Dominik Riebeling
19c2588471 Move Settings class to base.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20827 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:36:05 +00:00
Dominik Wenger
2265691102 rbutil: ups, forgot to update the .pro file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20826 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:32:53 +00:00
Dominik Wenger
357d35c20e rbutil: move the tts and encoders and its settings interface to base/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20825 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:29:35 +00:00
Dominik Wenger
5b85ef6006 rbutil: completely rework how tts and encoders are configured. (FS#10070)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20824 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:27:01 +00:00
Dominik Riebeling
3d2e42ab4c Completely rework RbSettings class.
- use a single member function for accessing a settings value.
- use an enum to figure the correct value in the settings file instead of functions.
- return the settings value as QVariant instead and leave converting to the caller.
- accept QVariant as value when setting values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20823 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 20:58:47 +00:00
Dominik Riebeling
4e747f1c5c If downloading the build information didn't work don't try to populate the version information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20817 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 21:33:51 +00:00
Dominik Riebeling
a357c202a2 Fix missing include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20816 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 21:20:09 +00:00
Dominik Riebeling
e993d77a8e Rename display names for Sansas to include "series" to make it more clear that it's not a player model "e200". Change casing of e200 / c200 to lowercase to be in line with the actual print on the player. Include "v1" to be more specific.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20815 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 20:10:48 +00:00
Dominik Riebeling
244ab33298 Fix the includes I forgot when renaming the ZipInstaller class file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20814 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 19:58:24 +00:00
Dominik Riebeling
9104b808fd Rename installzip.{cpp,h} to better reflect the actual class name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20813 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 19:37:34 +00:00
Dominik Riebeling
d111f3b66f Qt always assumes ini files to use Latin1 encoding but the theme site uses utf-8. Explicitly convert texts displayed to the user. Fixes non-ascii characters showing up incorrectly.
Replace some HTML entities for the themes list as that isn't parsed as HTML.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20811 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 17:48:49 +00:00