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
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
Dominik Wenger
6c73482d00
rbutil: create a RockboxInfo class so all rockbox-info.txt handling is in one place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20429 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 16:30:40 +00:00
Dominik Riebeling
3822126de8
Use target string instead of target id when checking the target selection against an existing Rockbox installation. Removes the need to resolve id -> name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20325 a1c6a512-1295-4272-9138-f99709370657
2009-03-14 23:34:40 +00:00
Dominik Riebeling
42483bacc8
Fix cache path selection on Windows only allowing to select drives (FS#10013 by Yoshihisa Uchida).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20319 a1c6a512-1295-4272-9138-f99709370657
2009-03-13 16:53:28 +00:00
Dominik Riebeling
bf8a2775bb
Update japanese translation for Rockbox Utility (FS#10008 by Yoshihisa Uchida).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20293 a1c6a512-1295-4272-9138-f99709370657
2009-03-11 18:05:35 +00:00
Dominik Riebeling
b9d8ae49d9
The credits file is utf-8 but QTextStream defaults to the system locale codec. Explicitly use utf-8 when reading the credits. Fixes names containing non-ASCII characters getting displayed wrong.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20245 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 18:53:32 +00:00
Dominik Riebeling
e05e7932f3
Some HttpGet cleanup: use references when setting options.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20232 a1c6a512-1295-4272-9138-f99709370657
2009-03-08 09:06:05 +00:00
Dominik Riebeling
10b26554ce
Update year in about box -- we are still working on this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20230 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 19:02:14 +00:00
Dominik Riebeling
c8a60784d0
Bump rbutil version to 1.1, remove the m (milestone) prefix and show the version number first in the about dialog.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20217 a1c6a512-1295-4272-9138-f99709370657
2009-03-06 22:18:22 +00:00
Dominik Riebeling
cf25649597
Update german translation and drop obsolete strings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20209 a1c6a512-1295-4272-9138-f99709370657
2009-03-05 23:03:23 +00:00
Dominik Riebeling
a4cd1d9dab
Fix automated install using the wrong release information.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20148 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 23:24:00 +00:00
Dominik Riebeling
10c1fef096
Fix automated install not aborting when bootloader installation was canceled during prerequisite confirmation. Add info to the log window when cancelled or skipped.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20147 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 23:11:26 +00:00
Dominik Riebeling
b14fe221ab
Use reference for version map instead of copy in prototype.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20144 a1c6a512-1295-4272-9138-f99709370657
2009-02-28 20:48:55 +00:00
Dominik Riebeling
c96452ac92
Work around sudo not changing $HOME thus the configuration file ending up in the invoking user $HOME with root permissions, leading to an unwriteable configuration file if running as user.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20103 a1c6a512-1295-4272-9138-f99709370657
2009-02-25 21:05:57 +00:00