Commit graph

45 commits

Author SHA1 Message Date
Dominik Riebeling
be0e197190 Split up encoders sources.
Create a separate source / header file for each supported encoder and the base
class and rename classes for better readability. This should also make it
easier adding new encoders.

Remove a few trailing spaces while at it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31592 a1c6a512-1295-4272-9138-f99709370657
2012-01-06 19:19:32 +00:00
Dominik Riebeling
7263ccb105 Remove svn keyword lines from sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
2011-10-19 20:51:16 +00:00
Dominik Riebeling
d1e5c74ca8 Rockbox Utility: refresh some more dynamic strings after translation change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30710 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 18:30:27 +00:00
Dominik Riebeling
2e3de70401 Rockbox Utility: listen to translation change events.
When changing the language don't require a restart anymore. Instead listen to
the appropriate changeEvent and retranslate the UI. Designer generated UI files
already provide such a function.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30633 a1c6a512-1295-4272-9138-f99709370657
2011-10-02 14:30:05 +00:00
Dominik Riebeling
39f7968bf5 Remove BrowseDirTree.
With the rework of the mountpoint selection the tree browser isn't used
anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30142 a1c6a512-1295-4272-9138-f99709370657
2011-07-16 08:51:02 +00:00
Dominik Riebeling
d2cead083f Start with mountpoint as folder to talk selection if old value is invalid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24704 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:38:00 +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 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
Dominik Wenger
11bd80cd38 rbutil: rework and rename the "dont overwrite talkfiles" option so it really generates only new Talkfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23162 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:51:20 +00:00
Dominik Wenger
7feb639938 rbutil: add a option to ignore specific files for .talk file generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22478 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 18:57:50 +00:00
Dominik Riebeling
5de08ea834 When changing TTS settings from the talkfile dialog make sure to not reset the currently selected folder if its valid. Fixes FS#10409.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21637 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 18:00:13 +00:00
Dominik Wenger
20bf8aaf18 rbutil: improve voice and talk generation.
- introduce a talkgenerator to better share code between voice and talk generation.
- name intermediate .talkfiles after the md5sum of the text. (prevents naming problems).
- do not directly use the logger, instead emit signals.
- move talkfile and voicefile generation to base/

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21524 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 20:40:51 +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 Riebeling
7cfdd47587 Clean up ProgressLogger state handling:
- use better names for member functions
- don't emit aborted() when exiting a successful log


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20844 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:40:04 +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 Wenger
572b7cbe0d rbutil: Ups. forgot a file in the previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18017 a1c6a512-1295-4272-9138-f99709370657
2008-07-12 17:30:01 +00:00
Dominik Riebeling
a5ab84f37a Fix some source strings to clean up translations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17947 a1c6a512-1295-4272-9138-f99709370657
2008-07-05 22:14:15 +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 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
77e036af7d when changing settings from the Talk and Voice window also update the main widgets settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16668 a1c6a512-1295-4272-9138-f99709370657
2008-03-14 18:27:39 +00:00
Dominik Riebeling
05f24a1ec4 Fix voicefile / talkfile generation windows not updating the displayed settings if the user used the "change" button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16462 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 13:42:14 +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 Riebeling
c5b8a7b45d Redo my previous segfault fix in a better way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16205 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 11:49:29 +00:00
Dominik Riebeling
91a503b23e Don't segfault upon opening the voice / talk creation window if the encoder setting is missing. This could happen if the configuration file is older and the user didn't re-save the settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16202 a1c6a512-1295-4272-9138-f99709370657
2008-02-02 21:34:39 +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
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 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
Dominik Wenger
04f1eaf4f0 rbutil: try to fix all Bugs from FS#7982 in the talkfile creation. Additionally fix the positon of the _dirname.talk file and uninstallation of talkfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15212 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 21:49:07 +00:00
Dominik Wenger
611f2bc77a rbutil: add options to create .talk files only for Folders or only for Files or for Both.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15087 a1c6a512-1295-4272-9138-f99709370657
2007-10-12 15:52:04 +00:00
Dominik Wenger
acc70ec58d rbutil: added support for talkfile creation with the rockbox sapi_voice.vbs script. Also let the configure dialog remember options and paths for different tts and encoders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14828 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 13:35:45 +00:00
Antoine Cellerier
1464c9b5d0 Cosmetics: remove trailing spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14723 a1c6a512-1295-4272-9138-f99709370657
2007-09-15 22:57:07 +00:00
Antoine Cellerier
4c881e2c91 Add BrowseDirtree::setDir(const QString&) to simplify the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14694 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 20:10:54 +00:00
Dominik Riebeling
b9dbd4ee9c - rework language selection a bit: use language string as key instead of language file basename. Display the language string in the selection list too. This makes it possible to distinguish between two variants of the same language without adjusting the language name.
- move user settings from "defaults" section to "general". Makes the code cleaner and has been that way for historical reasons only anyway.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14592 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 14:37:00 +00:00
Dominik Riebeling
7db65ab5a7 Fix a possible crash when entering the talkfile window without correct settings. Thanks to Nico_P.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14553 a1c6a512-1295-4272-9138-f99709370657
2007-08-31 13:00:50 +00:00
Dominik Riebeling
6fd7573d32 Connect close signal earlier so the talk window also closes upon error confirmation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14529 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 21:46:12 +00:00
Dominik Riebeling
c03102b346 Completely rework the talk files window: move settings to configuration dialog and add configuration presets. Remove some old cruft from talkfile handling and rely on values from rbutil.ini. Autodetection of executables is missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14495 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 23:10:42 +00:00
Dominik Riebeling
1dc307a586 set missing keywords property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14446 a1c6a512-1295-4272-9138-f99709370657
2007-08-23 22:11:50 +00:00
Dominik Wenger
6bc9abcceb rbutilQt: Add Uninstallation for Rockbox and Bootloaders. Also add Talkfiles to the installlog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14275 a1c6a512-1295-4272-9138-f99709370657
2007-08-10 22:17:43 +00:00
Dominik Wenger
2ee205ae0d rbutilqt: use the new dirbrowser in the talkfile generation. Also little changes to the dirbrowser to run it statically and without signals.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14234 a1c6a512-1295-4272-9138-f99709370657
2007-08-07 17:49:35 +00:00
Dominik Wenger
e70f7f4ca8 rbutilQt: added Talkfile creation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14197 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 16:17:35 +00:00