Commit graph

500 commits

Author SHA1 Message Date
Dominik Riebeling
24bb08ddd3 Explicitly set the dialog's result code for TTS / Encoder windows. Fixes an issue where one couldn't close the dialog anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17766 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 20:08:22 +00:00
Dominik Riebeling
a1f7fd85ad use getpwuid() instead of getlogin() on linux as the latter doesn't seem to work in all cases. Thanks to BigBambi for reporting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17740 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 11:40:04 +00:00
Dominik Riebeling
c16a61a84b Fix building on Windows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17738 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 11:06:20 +00:00
Dominik Riebeling
1876a0bcf2 Add System Info screen showing some values that could be helpful in case of problems using rbutil. Most noteable is showing the permission level of the user on windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17736 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 10:28:10 +00:00
Dominik Riebeling
d131a31266 Rename variables sectorbuf and verbose to avoid clashes in rbutil. Cleanup exports a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17730 a1c6a512-1295-4272-9138-f99709370657
2008-06-17 17:52:13 +00:00
Dominik Riebeling
e0f7b7a830 add "tags" rule to create ctags file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17726 a1c6a512-1295-4272-9138-f99709370657
2008-06-15 20:53:51 +00:00
Dominik Riebeling
fb573630b8 Simplify progress emit in httpget class a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17706 a1c6a512-1295-4272-9138-f99709370657
2008-06-09 20:43:59 +00:00
Dominik Riebeling
2a4c0f5cb2 Only create cache file when no error occured. Ignore server errors when using download cache to make offline mode work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17702 a1c6a512-1295-4272-9138-f99709370657
2008-06-07 17:17:19 +00:00
Dominik Riebeling
f9bf137b67 Remove the html formatting designer added for description labels and use simple tags instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17694 a1c6a512-1295-4272-9138-f99709370657
2008-06-05 18:53:02 +00:00
Dominik Riebeling
9ea6bc06da Use the new progressbar value slot instead of wrapping around it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17685 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 20:08:25 +00:00
Dominik Riebeling
0d83a188cc Don't invalidate the server timestamp variable when download finishes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17681 a1c6a512-1295-4272-9138-f99709370657
2008-06-02 21:46:23 +00:00
Dominik Riebeling
44bc9157ee Extend http class to allow retrieving of the server timestamp once a file has been downloaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17680 a1c6a512-1295-4272-9138-f99709370657
2008-06-02 19:29:54 +00:00
Dominik Wenger
ae4b677736 rbutil: improve talkfile generation. remove the options to keep and overwrite the wavfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17637 a1c6a512-1295-4272-9138-f99709370657
2008-05-27 20:02:25 +00:00
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