Commit graph

88 commits

Author SHA1 Message Date
Dominik Riebeling
7f33b7d9fa Recognize and handle MacPods during autodetection.
Previously MacPods were detected but the mountpoint can't get resolved due to
the different partition layout, thus having a MacPod would only detect the Ipod
itself but not the mountpoint. Rockbox does not support MacPods, so inform the
user as soon as possible.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24799 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 22:11:11 +00:00
Dominik Riebeling
7e91332e39 Use QFileDialog::getExistingDirectory() for path selection.
This makes it possible for native dialogs to get used on Windows and OS X. The
mountpoint selection dialog needs special handling and still uses the
BrowseDirtree class for now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24703 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:34:39 +00:00
Dominik Riebeling
a9ab407f84 Add option to show disabled targets in the configuration dialog.
Note that disabled targets support is not intended for use by end users.
This is to make development (and testing of svn) easier and should get
disabled for releases.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24513 a1c6a512-1295-4272-9138-f99709370657
2010-02-04 21:10:20 +00:00
Dominik Wenger
6128bd14e9 rbutil: split RbSettings. use Stable/unstable status from server.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 21:12:11 +00:00
Tomer Shalev
a398e44680 rbutil: Explicitly set some widgets layout direction to LTR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24173 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 20:04:45 +00:00
Dominik Riebeling
23aecc4539 Don't set the layout direction twice in a row, one time is enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23448 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 20:02:33 +00:00
Tomer Shalev
d011eecad4 FS#10748 - rbutil: Explicitly override GUI layout direction setting for some widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23441 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:16:34 +00:00
Dominik Wenger
3215c09462 rbutil: split tts.cpp/h into individual files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23158 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 19:54:27 +00:00
Dominik Riebeling
1644cd8741 Clean up a few source strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22833 a1c6a512-1295-4272-9138-f99709370657
2009-09-25 15:51:17 +00:00
Dominik Riebeling
76100783af Improve notification about unsupported players.
- Display the name of a detected unsupported player when running autodetection from the configuration window.
- Extend the list of known-unsupported players.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22334 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 21:29:31 +00:00
Dominik Riebeling
6cea3308d0 Clean up accessing system setting values for a specific player.
Remove the ugly "save, change and restore platform" accesses and extend the settings class to allow accessing player specific system values.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22254 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 17:02:35 +00:00
Dominik Riebeling
e2f5086916 Clean up and rename Detect class.
Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:46:51 +00:00
Dominik Riebeling
bd5b744a6d Clean up some debug output, kill some trailing spaces and break some overly long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22204 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 12:12:49 +00:00
Dominik Wenger
b6143b053f rbutil: make the test TTS Function use aplay or play on Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21530 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 15:04:53 +00:00
Dominik Wenger
07a55a747d rbutil: add a Button to test a TTS Engine. Remove a old .ui file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21525 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 21:52:08 +00:00
Dominik Wenger
18e74c9d81 rbutil: improve accessibility a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21300 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:41:16 +00:00
Dominik Riebeling
7f17fce424 Clean up configuration dialog debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21201 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 10:17:03 +00:00
Dominik Wenger
33d9cf091a rbutil: make RbSettings a static class. (FS#10183 with improvements)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20890 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 16:59:14 +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
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
194fe0e6f0 Check configuration for validity in the configuration dialog.
If the configuration is invalid display information about the issues and don't accept the values. Fixes issue reported in FS#9944.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20100 a1c6a512-1295-4272-9138-f99709370657
2009-02-24 23:36:31 +00:00
Dominik Riebeling
af58ec63b6 Display cache path using native directory separators in configuration dialog.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19939 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 15:59:20 +00:00
Dominik Riebeling
5c1b47dd1a Make autodetection show a busy cursor (hourglass) during detection to improve visual feedback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19114 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 11:00:27 +00:00
Dominik Riebeling
cbc9208e54 Don't reset the language setting if it wasn't changed but the configuration saved.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18279 a1c6a512-1295-4272-9138-f99709370657
2008-08-14 21:32:32 +00:00
Dominik Riebeling
c367c21a76 Make rbutil check the system language and try to use the correct translation. A language selection in the configuration file will override this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18118 a1c6a512-1295-4272-9138-f99709370657
2008-07-25 19:28:24 +00:00
Frank Gevaerts
ee3ed8a163 handle new installations (or upgrades) differently from invalid configurations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17983 a1c6a512-1295-4272-9138-f99709370657
2008-07-07 21:40:44 +00:00
Dominik Riebeling
b39c20e557 Make encoder selection update on device change. This includes a workaround as the settings object currently doesn't allow getting the encoder for any other than the selected device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17968 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 19:57:22 +00:00
Dominik Riebeling
537ed0133c Make two missing strings translateable and translate to german.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17961 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 16:23:51 +00:00
Dominik Riebeling
6667857eb2 Add a hint for translators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17946 a1c6a512-1295-4272-9138-f99709370657
2008-07-05 21:35:23 +00:00
Dominik Wenger
7fb11a82a1 rbutil: move some detecting code, to make detecing things nicer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 21:53:22 +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
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 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 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
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 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
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
8f0c7908b0 Make encoder name conversion functions static to the base class.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16305 a1c6a512-1295-4272-9138-f99709370657
2008-02-13 18:11:09 +00:00
Dominik Riebeling
8820c0114b Make TTS name conversion functions static members.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16294 a1c6a512-1295-4272-9138-f99709370657
2008-02-12 21:45:50 +00:00
Dominik Riebeling
c789f3a8a2 Save the internal name for tts / encoder in the configuration file, not the displayed nice name. Additionally, kill a few warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16233 a1c6a512-1295-4272-9138-f99709370657
2008-02-06 21:51:35 +00:00
Dominik Wenger
3a54c9b58d rbtutil: introduce a RbSettings class help code reuse, and minimises duplicated code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16159 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 00:12:25 +00:00
Dominik Wenger
df6c5f414f rbutil: introduce a util function to get the systemproxy, for better reuse.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16150 a1c6a512-1295-4272-9138-f99709370657
2008-01-23 21:54:40 +00:00
Dominik Wenger
6b5780dae3 rbutilqt: made the sapi TTS more configurable, you can now select a specific voice in the config dialog. Also reworked some setSetting functions, to remove depencies.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16111 a1c6a512-1295-4272-9138-f99709370657
2008-01-19 18:33:33 +00:00
Dominik Riebeling
9d482ebb6c w32: when utilizing IE values for system proxy also honor the ProxyEnable value. In the configuration dialog, display a note when system proxy is disabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15962 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 10:11:51 +00:00
Dominik Wenger
bebddd42c2 rbutil: reworked configuration of TTS engines to the new Style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15932 a1c6a512-1295-4272-9138-f99709370657
2007-12-15 13:13:57 +00:00
Dominik Wenger
f5c695b43f rbutil: added a button into talkfile dialog, to directly jump to config of tts and enc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15926 a1c6a512-1295-4272-9138-f99709370657
2007-12-14 19:49:11 +00:00
Dominik Wenger
815504b449 rbutil: added builtin rbspeex encoder. Reworked encoder configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15925 a1c6a512-1295-4272-9138-f99709370657
2007-12-14 19:26:54 +00:00