Commit graph

475 commits

Author SHA1 Message Date
Dominik Riebeling
b9b50d9782 Rework and improve http download cache: check cache against file on the server and download again if outdated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17496 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 19:38:17 +00:00
Dominik Wenger
0e7b8654cf rbutil: also use elides when the backup filename is changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17484 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 21:21:12 +00:00
Dominik Riebeling
8ea9b94cd9 fix some small glitches for backup:
- use the complete path as starting folder for browsing, not the elided one
- don't drop the old path if selection was cancelled
- show native dir separators


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17473 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 17:29:03 +00:00
Dominik Riebeling
da8552ff09 When setting a cache path also enable the cache implicitly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17467 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 20:25:35 +00:00
Dominik Wenger
4296bc4548 rbutil: use elides in the backup filename, also fix cache for archived builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17466 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 20:20:19 +00:00
Dominik Wenger
76e6ad9069 rbutil: more improvements for the backup mechanism.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17465 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 18:53:24 +00:00
Dominik Wenger
d24eb9e461 rbutil: improve the backup function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17463 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 18:22:42 +00:00
Nicolas Pennequin
9c54187678 Set svn:eol-style on files from the rbutil directory and its subdirectories.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17462 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 17:21:14 +00:00
Dominik Riebeling
850c4f98ba Make sansapatcher check and report permission denied errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17461 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 16:58:02 +00:00
Dominik Riebeling
b9ae6664b3 convert to unix line endings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17460 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 16:27:14 +00:00
Dominik Wenger
6e812b1d2e rbutil: Upps, forgot 2 new files for creating a zip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17441 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 17:55:53 +00:00
Dominik Wenger
acccee479a rbutil: Detect if Rockbox is already installed, and allow Backup bevor installing a new build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17440 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 17:53:15 +00:00
Dominik Wenger
251db06294 rbutil: remove encoder selection and bind it to selected device. (ie. lame for old archos, rbspeex for all others)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17439 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 15:23:15 +00:00
Dominik Riebeling
43217f84f4 fix size hint for spacers to get Ok button centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17435 a1c6a512-1295-4272-9138-f99709370657
2008-05-09 22:20:22 +00:00
Nicolas Pennequin
367aec35d7 Fix a couple quirks from the previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17370 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:49:31 +00:00
Nicolas Pennequin
357ffb3c46 Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:32:46 +00:00
Dominik Riebeling
194b2ca887 Check for permission denied error when trying to access the player and inform the user that raw disc access permissions are required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17351 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 11:59:04 +00:00
Dominik Riebeling
e23ea5d2a9 Add USB PID for Ipod Classic as incompatible variant of the Video. Remove PID for Nano -- detection is done using ipodpatcher only (PIDs are not unique).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17269 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 20:54:35 +00:00
Dominik Wenger
c5cd69e542 rbutil: fix a broken setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17264 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 18:06:09 +00:00
Dominik Riebeling
be594f6c8c percent-encode the query parts of a request too, not only the path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17263 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 17:32:49 +00:00
Dominik Wenger
db73339716 rbutil: fix another warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17247 a1c6a512-1295-4272-9138-f99709370657
2008-04-25 19:47:06 +00:00
Dominik Riebeling
6a471d8a58 Kill some warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17246 a1c6a512-1295-4272-9138-f99709370657
2008-04-24 21:42:31 +00:00
Dominik Wenger
7449751cff rbutil: rework rbsettings to have less code dublication.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17244 a1c6a512-1295-4272-9138-f99709370657
2008-04-24 20:40:33 +00:00
Dominik Riebeling
5d7d410a47 bump version to m1.0.5 release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17207 a1c6a512-1295-4272-9138-f99709370657
2008-04-21 18:42:39 +00:00
Dominik Riebeling
a987b7ef2d Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17129 a1c6a512-1295-4272-9138-f99709370657
2008-04-15 21:25:57 +00:00
Dominik Riebeling
73d1eb4ac0 Make httpget class work with URI paths containing characters that need to be percent-encoded. Fixes FS#8872. Add a few comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17099 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 18:43:51 +00:00
Dominik Wenger
c2a01fdc7a rbutil: another misplaced connect call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16999 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 20:29:26 +00:00
Dominik Wenger
86a5d62f7b rbutil: ups moved a connect to the wrong place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16998 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:59:53 +00:00
Dominik Wenger
b235b1306e rbutil: move many more connect calls, mainly for safety.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16997 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:50:38 +00:00
Dominik Riebeling
94d65d837c when resolving filenames also take system and hidden files into account.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16996 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:50:24 +00:00
Dominik Wenger
1b637754fa rbutil: fix complete install: make sure signals are connected before calling the function emiting the signal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16995 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:39:41 +00:00
Dominik Riebeling
a0e6641c10 progress indication should start at 1, not 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16994 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:07:53 +00:00
Dominik Riebeling
c3969ed4c5 create an UnZip derived class for zip file extraction to allow showing progress while unzipping. Makes the unzip process somewhat interruptable and the UI more responsible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16993 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 18:12:56 +00:00
Dominik Riebeling
5076dca58e Oops: don't report an error during cache initialization if the cache folder already exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16992 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 18:00:32 +00:00
Dominik Riebeling
2bcc5f782d make sure cachefolder is existent when enabling it using setCache(bool). Fixes cache not working properly if the cache folder didn't exist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16991 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 17:20:13 +00:00
Dominik Riebeling
be698f086d make resolvePathCase work properly on windows, the drive letter needs special handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16980 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 23:49:23 +00:00
Dominik Riebeling
229c64ba67 Upon autodetection tell the user if an incompatible player model (newer Sansa / Nano) was found. Detection is usb based only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16979 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 21:48:54 +00:00
Dominik Riebeling
00a3e13b1f fix a stupid bug which made mountpoint detection based on folders non-functional on Ipod and Gigabeat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16978 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 18:59:54 +00:00
Dominik Riebeling
a5d749c15d the player name shouldn't include the manufacturer, m:robe entry repeated that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16977 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 18:21:36 +00:00
Dominik Riebeling
5f5dca72a9 Make USB ID handling recognize multiple values in the configuration. That way players using multiple PIDs can now get detected by any valid PID. Same applies to PIDs indicating a wrong player model.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16958 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 23:14:58 +00:00
Dominik Wenger
1363881148 rbutil:let autodetection::detectUsb also use the rbsettings object.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16952 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 20:05:13 +00:00
Dominik Riebeling
3bb88b6190 Fix issues with file-based bootloader installation:
- resolve the path with real case. Fixes errors on case-sensitive OS.
- unset internal error after the (silent) creation of a backup copy. The error isn't checked and if one occured the file renaming afterwards would fail.
- make some wiki links nicer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16934 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 21:17:35 +00:00
Dominik Riebeling
92717eb9ed Implement a function to resolve a given path case-insensitively. This is needed by file-based bootloader installs on case-sensitive systems. Bootloader installation not updated yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16921 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 20:30:41 +00:00
Dominik Wenger
0a73b16a93 rbutil: fix closing of installwindow after successful install.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16920 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 20:22:45 +00:00
Dominik Wenger
2016ab4c96 rbutil: let rbutil use the new voice.zip files. Also make the download cache working again. (make sure to connect signals before calling getFile() ).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16917 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 18:02:56 +00:00
Dominik Riebeling
14e0d2dc80 Update installation document a bit to catch up with recent changes. Add notes about installation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16900 a1c6a512-1295-4272-9138-f99709370657
2008-03-31 18:32:20 +00:00
Dominik Riebeling
c70f81ff93 Rename InstallProgress form to ProgressLogger as it's a generic logger window now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16865 a1c6a512-1295-4272-9138-f99709370657
2008-03-28 17:30:37 +00:00
Dominik Riebeling
8406d92475 Clean up double path in resource file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16854 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 23:39:49 +00:00
Dominik Riebeling
22e1329c72 When trying to check for an installed bootloader treat an empty bootloader md5sum in the installation log as a missing bootloader. Should fix issues with rbutil reporting an up-to-date bootloader even if none was installed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16851 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 22:27:11 +00:00
Barry Wardell
386f77b052 Make sansapatcher and ipodpatcher compile on OS X 10.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16804 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:50:41 +00:00