Commit graph

487 commits

Author SHA1 Message Date
Dominik Riebeling
bec0a59937 Let qmake generate an install Makefile target to install the binary. Doesn't handle translations yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17623 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 16:57:40 +00:00
Dominik Riebeling
64e7705e68 Add a slot to set the progress bar value and a member to hide it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17615 a1c6a512-1295-4272-9138-f99709370657
2008-05-23 21:07:58 +00:00
Dominik Riebeling
9c3bbc3bf9 Move error message generation out of irivertools.cpp to make it independent from the GUI. First step to improve code reuse later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17614 a1c6a512-1295-4272-9138-f99709370657
2008-05-23 19:05:20 +00:00
Dominik Riebeling
3f65a7051f Move C linkage binding for c++ to exporting header files instead of includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
2008-05-22 17:51:35 +00:00
Dominik Riebeling
1692d9b996 processEvents before starting autodetection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17600 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 22:27:48 +00:00
Dominik Riebeling
23744fe314 disable device tree during autodetection to give some (small) visual feedback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17599 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 22:03:37 +00:00
Dominik Riebeling
2da6868d59 Make addItem() a slot to be able adding items using a signal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17596 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 20:57:19 +00:00
Dominik Riebeling
01f7223083 don't save mountpoint using native separators in the configuration. Makes things more consistent and fixes browsing the backup folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17568 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 10:38:26 +00:00
Dominik Riebeling
faceafc411 autodetection: convert path to native separators before displaying it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17566 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 10:14:47 +00:00
Dominik Riebeling
c769cf586f make offline mode work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17561 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 20:21:55 +00:00
Dominik Riebeling
e338fc9130 Allow http caching to use the old dumb mode again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17560 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 19:36:54 +00:00
Dominik Riebeling
2e1e219025 Make the call to link libusb statically nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17555 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 14:50:51 +00:00
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