Commit graph

1268 commits

Author SHA1 Message Date
Robert Menes
651c9cb272 Rockbox Utility: Add in support to install Rockbox on the Philips
GoGear HDD16x0, HDD18x0, and HDD63x0 series. Currently disabled for now.


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

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

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


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



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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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