Commit graph

731 commits

Author SHA1 Message Date
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
Dominik Riebeling
40137a9c07 Trim description text before displaying and display newlines as line breaks.
Trim themes titles before displaying in the list to remove stray whitespace.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20810 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 16:07:27 +00:00
Dominik Riebeling
e45a249916 Bump rbutil version to 1.2.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20807 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 20:36:25 +00:00
Dominik Riebeling
fe1f8d545f Let unzip class accept files created by Info-Zip 3.0 instead of rejecting the files without reporting an error. Seems to not cause negative side effects but further investigation needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20803 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 13:05:33 +00:00
Dominik Riebeling
f43515eaf7 Update OSDaB Zip class to most current version from the projects svn repo (r7).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20802 a1c6a512-1295-4272-9138-f99709370657
2009-04-26 11:27:23 +00:00
Dominik Riebeling
29dbd8f317 Invalidate preview image cache when updating to prevent a resize event repainting the old image before the new image is downloaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20773 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 19:50:27 +00:00
Dominik Riebeling
b388200519 Simplify a debug output case and fix a gcc warning (as reported in FS#10124, only appears on new gcc versions).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20725 a1c6a512-1295-4272-9138-f99709370657
2009-04-17 22:09:39 +00:00
Dominik Riebeling
8d24f97c2c Explicitly drop the chown() result to remove a gcc warning. chown() is warn_unused_result but we can't do anything useful in this case and it isn't a problem anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20718 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 21:09:19 +00:00
Dominik Riebeling
e82aedd451 Fix overflow on free space calculation (Linux / OS X).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20717 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 20:56:52 +00:00
Dominik Riebeling
bfce7eea5c Refactor USB ID map retrieval from device settings file and minimize duplicated code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20716 a1c6a512-1295-4272-9138-f99709370657
2009-04-16 20:49:43 +00:00
Thomas Martitz
238337087e Support Fuze 01.02.26 OF version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20688 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 20:46:28 +00:00
Dominik Riebeling
a137733d10 Install dialog: fix version notes not getting cleared correctly for current build if a release is available.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20675 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 15:11:53 +00:00
Dominik Riebeling
e62bf12fcd Fix a typo in the german translation (thanks to pyro_maniac on IRC for pointing it out) and update it partly. lupdate all translations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20636 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 18:14:30 +00:00
Dominik Riebeling
9def6b2345 Fix a potentially dangerous bug with bootloader installation for Sansas:
check the downloaded bootloader file against the target reported by sansapatcher as otherwise one could install an e200 bootloader to a c200 (and vice versa).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20630 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 19:19:27 +00:00
Dominik Riebeling
baef133f5f Code police:
- kill trailing whitespace
- replace tabs by spaces


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20623 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 12:46:41 +00:00
Dominik Riebeling
f3af25f5b7 Fix typo in configuration file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20622 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 12:46:37 +00:00
Dominik Riebeling
a61e63cb41 Fix a wrong debug message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20620 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 09:22:22 +00:00
Dominik Riebeling
270106d151 Rename ThemeInstall class files to actually match the class name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20594 a1c6a512-1295-4272-9138-f99709370657
2009-03-31 19:50:43 +00:00
Dominik Riebeling
76e2ce3a44 Code police and remove trailing whitespaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20590 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 22:05:21 +00:00
Dominik Riebeling
246192b349 Clean up theme size display.
- show the size and number of all selected themes instead of the selected one only
- use currentItemChanged() signal instead of currentRowChanged() to simplify code a bit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20587 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 21:15:43 +00:00
Dominik Riebeling
83aa2d2b18 Enable sorting of themes list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20586 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 21:15:38 +00:00
Dominik Riebeling
148b0e98fc Only display status message for themes window if not empty.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20572 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 21:11:27 +00:00
Dominik Wenger
d1af8f879a rbutil: correct another instance of incorrect modelname.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20569 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 18:23:47 +00:00
Dominik Wenger
faa22f6c54 rbutil: add the forgotten ui file from festival support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20564 a1c6a512-1295-4272-9138-f99709370657
2009-03-28 23:44:31 +00:00
Dominik Wenger
8f2aaaf79d rbutil: commit FS#9983 by Delyan Kratunov. It adds support for the Festival TTS on Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20559 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 19:18:14 +00:00
Dominik Wenger
75a5b9321b rbutil:
1. Make Themesite integration work again
2. Fix FS#10055 (Theme sizes are 0) and FS#10061 (Incorrect Target missmatch detected)
3. Rename platform and voicename in rbutil.ini to reflect better what they are. (modelnames from either configure or the buildserver)
4. Fix a few places where they were used incorrectly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20558 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 18:09:01 +00:00
Dominik Riebeling
decc59b3f7 Bump Rockbox Utility version number to 1.2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20493 a1c6a512-1295-4272-9138-f99709370657
2009-03-23 18:53:52 +00:00
Dominik Riebeling
b1814466df Enable word wrapping in the progress logger list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20479 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 22:55:45 +00:00
Dominik Riebeling
fb3e163796 Check the themes site response for a status message and display it after the themes window opens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20473 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 21:39:40 +00:00
Dominik Riebeling
694c830121 Improve error handling for theme preview image:
- if loading the image failed display the HTTP error and clear any old image.
- make sure the first theme on startup always gets its details refreshed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20469 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 19:56:13 +00:00
Dominik Riebeling
ba830e4cfe Don't connect the headerFinished slot during each get. Fixes the header result getting evaluated more than once if a HttpGet object is reused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20447 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 08:50:55 +00:00
Dominik Riebeling
5274dfd86a Properly reset theme file group if a checked group turned out to not include any theme information and gets skipped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20446 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 08:33:49 +00:00
Dominik Riebeling
b9e07aded2 Don't connect updateImage slot during update but statically. Fixes the slot getting an additional coonection upon each image update. Remove an unneeded function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20445 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 08:33:39 +00:00
Dominik Riebeling
6a76ebbab1 Cleanup HttpGet debugging output: make it somewhat more silent and streamline the messages in general.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20438 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 23:18:57 +00:00
Dominik Riebeling
e8f25d91e8 Don't ignore errors when finishing a HTTP request for cached request as that is already done. Fixes a wrong status reported when an error occured.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20435 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 21:04:24 +00:00
Dominik Riebeling
e70f24c7d7 Silence current file debug output of RbUnzip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20434 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 21:04:21 +00:00
Dominik Riebeling
8037fed8d5 HttpGet: if downloaded data should be written to output buffer make sure the buffer empty. This prevents old data available to the caller if a HttpGet object is reused and the new request fails.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20432 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 18:01:59 +00:00
Dominik Riebeling
a5394727a0 Simplify platform name retrieval call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20431 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 17:28:27 +00:00