[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeaccessibility/kttsd
From:       Jeremy Paul Whiting <jpwhiting () kde ! org>
Date:       2010-01-09 19:24:36
Message-ID: 1263065076.011982.1495.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1072265 by whiting:

krazy fixes (const & in foreach, QComboBox -> KComboBox) and TODO, Changelog, AUTHORS \
update

 M  +1 -0      AUTHORS  
 M  +6 -0      ChangeLog  
 M  +2 -50     TODO  
 M  +2 -2      kcmkttsmgr/addtalker.cpp  
 M  +55 -51    kcmkttsmgr/addtalkerwidget.ui  
 M  +8 -3      kcmkttsmgr/kttsjobmgr.ui  


--- trunk/KDE/kdeaccessibility/kttsd/AUTHORS #1072264:1072265
@@ -3,3 +3,4 @@
 Gunnar Schmi Dt <gunnar@schmi-dt.de>
 Olaf Schmidt <ojschmidt@kde.org>
 Paul Giannaros <ceruleanblaze@gmail.com>
+Jeremy Whiting <jpwhiting@kde.org>
\ No newline at end of file
--- trunk/KDE/kdeaccessibility/kttsd/ChangeLog #1072264:1072265
@@ -1,3 +1,9 @@
+2010-01-09  Jeremy Whiting (jpwhiting)
+        * Moved kttsjobmgr into the kcm itself, no more plugin/kpart for it.  \
Finished making the +          controls on the Jobs tab apply on apply or ok click.
+        * Using speech-dispatcher for a while now - no more jobs in kttsd, no more \
sbd filter (also +          no more sentence or job control from within kttsmgr).
+
 2005-07-19  Gary Cramblitt (PhantomsDad)
         * Name kept .wav files in format kttsd-jjjjjjjj-ssssssss.wav where jjjjjjjj \
                is the job 
           number zero-filled to the left and ssssssss is the sentence sequence \
                number zero-filled
--- trunk/KDE/kdeaccessibility/kttsd/TODO #1072264:1072265
@@ -53,51 +53,14 @@
       filters with the standard set.  The standard set should probably include
       the Qt to Plain Text and Fix Festival Unspeakable Characters filters, but I'm \
not  sure about the latter when desktop is not ISO 8859-1.
-    _ The SBD Filter configuration dialog can be shrunk smaller than the widgets on \
                it.
-      This apparently due to a bug in the QLabel widget when it contains RichText.  \
                If
-      forced to plain text, the problem won't happen (I am told).  However, the \
                WARNING
-      in the dialog needs to be bolded.  What to do?
+
 _ Handbook:
     _ Mention that "Root element is" and "DOCTYPE" are case sensitive.  "html" is \
                not
       the same as "HTML".  It should stay this way, BTW.  Proper xhtml requires \
lowercase  tags.
-_ Audio Plugins:
-    _ At least one user experiences a freeze-up using ALSA plugin.  Speak a web \
                page,
-      pause the page, cause a knotify to speak, kttsd freezes.  This appears to be \
                an
-      ALSA device contention problem?  In this situation, there are two alsaplayer \
                objects;
-      one in pause state, and one attempting to speak notify.
-    _ akodelib does not stop instantly when pause() or stop() is called.  See \
                bug:107135.
-    _ Popping noise at the end of each utterance when using ALSA audio plugin.
-    _ Why must Player constructor take a 3rd "args" argument, while PluginProc \
                constructor
-      does not.  They are essentially the same. ??
-    _ Add option to automatically turn down music player volume while speaking (via \
                dcop).
-_ Festival Interactive plugin:
-    _ Need someone who can read czech to try integrating this into KTTS: 
-      http://www.freebsoft.org/festival-czech
-_ Command plugin:
-    _ Command plugin encodes text on command line using %t in user's chosen \
                encoding, but
-      if this differs from user's desktop default encoding, doesn't work.  K3Process \
                always
-      encodes command line stuff using user's default encoding.  There is no point, \
                therefore,
-      in attempting to encode it differently, just mangles the text even more.  \
                Short of modifying
-      K3Process, I see no way around this.  But perhaps a warning to user advising \
                to use %f instead?
-    _ Command plugin crashes when using command 'flite -t "%t"' and flite can't get \
                write access to /dev/dsp*.
-_ Hadifix plugin:
-    _ When stopText() is called, and Hadifix process is killed, the temporary wav \
                file is not deleted,
-      despite QFile::remove call.  Possibly still locked by exiting mbrola process?  \
                This only seems
-      to happen in the configuration dialog when canceling Tests.
 _ KTTSMgr:
     _ Speech is paused when showing tooltip when mouse cursor is placed over tray \
                icon.
-    _ Give Talkers a Talker Name entered by user.  Show this name in Jobs tab, \
                Change Talker screen,
-      and in systray menu.
-    _ Change the Current Sentence panel to show the current sentence of the selected \
                job?  If selected
-      job is not the currently speaking job, won't show currently-speaking text \
                anymore.  However, would
-      be helpful when using advance/rewind buttons.  Perhaps to be effective, if the \
                currently-selected
-      job IS the currently speaking job, and that job finishes, would automatically \
                select the next
-      speaking job?  But that could become confusing for users with selection \
jumping around.  _ Add ability to quickly pick default Talker in systray menu.
-    _ KCMultiDialog has a bug that won't allow sizing the screen narrower than 640.
-    _ Overall Audio Speed should be a realtime setting, i.e., not necessary to click \
                Apply.
-    _ Disable Audio Speed control if sox not installed (configure.in.in but runtime \
                check would be better).
     _ Add drag N drop for the Talkers so it is easier to change the ordering.
     _ It is possible to configure multiple instances of Talkers with the exact same \
                configuration.
     _ In kcmkttsmgr, use setHelp() to set help anchor based on current tab.
@@ -105,10 +68,6 @@
 _ KTTSD:
     _ I am told that when kttsd crashes, it can take knotify down with it.  See \
about  "disconnecting" knotify from kttsd (using post to Qt event queue).
-    _ Strange msg being produced by KIO::move, but it works fine. ??
-        kio (KIOJob): stat \
                file:///home/kde-devel/.kde/share/apps/kttsd/audio/kttsd-5-1.wav
-        kio (KIOJob): error 11 \
                /home/kde-devel/.kde/share/apps/kttsd/audio/kttsd-5-1.wav
-        kio (KIOJob): This seems to be a suitable case for trying to rename before \
                stat+[list+]copy+del
     _ While kttsd currently configures a Talker automatically, would be nice if it \
                could
       autoconfigure talkers for each requested language, if one has not already been \
configured.  _ Add support for speech markers.
@@ -120,15 +79,8 @@
     _ Save buttons should confirm if user chooses an existing file.  KFileDialog \
doesn't seem to  offer this option, but shouldn't it?
     _ .desktop files must have a Type keyword, but what to use for \
                kcmkttsd_testmessage.desktop?
-    _ Add option to kill plugin process when no longer needed so that memory can be \
                recovered.
-      Or maybe some sort of "nice" setting so that process will be swapped out when \
no longer needed.  _ Convert to KConfig XT.
     _ Add a plugin for TuxTalk, http://tuxtalk.sourceforge.net/.  Since it only \
                supports
       English (at the moment) and is alpha, don't think it is worth it now.
-    _ Add a plugin for dhvani, an Indian and Hindi TTS engine, \
                http://dhvani.sourceforge.net/
-      Currently written in c, but it looks like future versions will require Java \
                VM.
-      Main problem at the moment is that dhvani sends audio directly to /dev/dsp \
                with no option
-      to send to a wav file.
-    _ Investigate what is involved in getting Gnopernicus screen reader to use \
                KTTSD.
-    _ IBM ViaVoice plugin?
+    _ IBM ViaVoice speech-dispatcher plugin?
     _ Add KTTS plugin to aKregator.
--- trunk/KDE/kdeaccessibility/kttsd/kcmkttsmgr/addtalker.cpp #1072264:1072265
@@ -71,11 +71,11 @@
 
     QTableWidgetItem * defaultItem = 0;
 
-    foreach (const QString module, m_outputModules)
+    foreach (const QString & module, m_outputModules)
     {
         QStringList languages = kspeech->languagesByModule(module);
         
-        foreach (const QString language, languages)
+        foreach (const QString & language, languages)
         {
             int rowcount = mUi->AvailableTalkersTable->rowCount();
             mUi->AvailableTalkersTable->setRowCount(rowcount + 1);
--- trunk/KDE/kdeaccessibility/kttsd/kcmkttsmgr/addtalkerwidget.ui #1072264:1072265
@@ -79,51 +79,7 @@
      </property>
     </widget>
    </item>
-   <item row="2" column="1">
-    <widget class="QComboBox" name="voiceComboBox">
-     <item>
-      <property name="text">
-       <string>Male 1</string>
-      </property>
-     </item>
-     <item>
-      <property name="text">
-       <string>Male 2</string>
-      </property>
-     </item>
-     <item>
-      <property name="text">
-       <string>Male 3</string>
-      </property>
-     </item>
-     <item>
-      <property name="text">
-       <string>Female 1</string>
-      </property>
-     </item>
-     <item>
-      <property name="text">
-       <string>Female 2</string>
-      </property>
-     </item>
-     <item>
-      <property name="text">
-       <string>Female 3</string>
-      </property>
-     </item>
-     <item>
-      <property name="text">
-       <string>Male Child</string>
-      </property>
-     </item>
-     <item>
-      <property name="text">
-       <string>Female Child</string>
-      </property>
-     </item>
-    </widget>
-   </item>
-   <item row="3" column="0">
+   <item row="4" column="0">
     <widget class="QLabel" name="label_3">
      <property name="text">
       <string>&amp;Speed</string>
@@ -133,7 +89,7 @@
      </property>
     </widget>
    </item>
-   <item row="3" column="1">
+   <item row="4" column="1">
     <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
       <widget class="QSlider" name="speedSlider">
@@ -169,7 +125,7 @@
      </item>
     </layout>
    </item>
-   <item row="4" column="0">
+   <item row="5" column="0">
     <widget class="QLabel" name="label_4">
      <property name="text">
       <string>&amp;Pitch</string>
@@ -179,7 +135,7 @@
      </property>
     </widget>
    </item>
-   <item row="4" column="1">
+   <item row="5" column="1">
     <layout class="QHBoxLayout" name="horizontalLayout_2">
      <item>
       <widget class="QSlider" name="pitchSlider">
@@ -215,7 +171,7 @@
      </item>
     </layout>
    </item>
-   <item row="5" column="0">
+   <item row="6" column="0">
     <widget class="QLabel" name="label_5">
      <property name="text">
       <string>&amp;Volume</string>
@@ -225,7 +181,7 @@
      </property>
     </widget>
    </item>
-   <item row="5" column="1">
+   <item row="6" column="1">
     <layout class="QHBoxLayout" name="horizontalLayout_3">
      <item>
       <widget class="QSlider" name="volumeSlider">
@@ -261,6 +217,50 @@
      </item>
     </layout>
    </item>
+   <item row="2" column="1">
+    <widget class="KComboBox" name="voiceComboBox">
+     <item>
+      <property name="text">
+       <string>Male 1</string>
+      </property>
+     </item>
+     <item>
+      <property name="text">
+       <string>Male 2</string>
+      </property>
+     </item>
+     <item>
+      <property name="text">
+       <string>Male 3</string>
+      </property>
+     </item>
+     <item>
+      <property name="text">
+       <string>Female 1</string>
+      </property>
+     </item>
+     <item>
+      <property name="text">
+       <string>Female 2</string>
+      </property>
+     </item>
+     <item>
+      <property name="text">
+       <string>Female 3</string>
+      </property>
+     </item>
+     <item>
+      <property name="text">
+       <string>Male Child</string>
+      </property>
+     </item>
+     <item>
+      <property name="text">
+       <string>Female Child</string>
+      </property>
+     </item>
+    </widget>
+   </item>
   </layout>
  </widget>
  <customwidgets>
@@ -274,11 +274,15 @@
    <extends>QLineEdit</extends>
    <header>klineedit.h</header>
   </customwidget>
+  <customwidget>
+   <class>KComboBox</class>
+   <extends>QComboBox</extends>
+   <header>kcombobox.h</header>
+  </customwidget>
  </customwidgets>
  <tabstops>
   <tabstop>nameEdit</tabstop>
   <tabstop>AvailableTalkersTable</tabstop>
-  <tabstop>voiceComboBox</tabstop>
   <tabstop>speedSlider</tabstop>
   <tabstop>speedSpinBox</tabstop>
   <tabstop>pitchSlider</tabstop>
--- trunk/KDE/kdeaccessibility/kttsd/kcmkttsmgr/kttsjobmgr.ui #1072264:1072265
@@ -234,10 +234,10 @@
        </widget>
       </item>
       <item row="0" column="1" colspan="2">
-       <widget class="QComboBox" name="moduleComboBox"/>
+       <widget class="KComboBox" name="moduleComboBox"/>
       </item>
       <item row="2" column="1" colspan="2">
-       <widget class="QComboBox" name="voiceComboBox">
+       <widget class="KComboBox" name="voiceComboBox">
         <item>
          <property name="text">
           <string>Male 1</string>
@@ -295,7 +295,7 @@
        </widget>
       </item>
       <item row="1" column="1" colspan="2">
-       <widget class="QComboBox" name="languageComboBox"/>
+       <widget class="KComboBox" name="languageComboBox"/>
       </item>
       <item row="1" column="0">
        <widget class="QLabel" name="label_6">
@@ -320,6 +320,11 @@
    <extends>QPushButton</extends>
    <header>kpushbutton.h</header>
   </customwidget>
+  <customwidget>
+   <class>KComboBox</class>
+   <extends>QComboBox</extends>
+   <header>kcombobox.h</header>
+  </customwidget>
  </customwidgets>
  <resources/>
  <connections>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic