speechd
15 months agoUpdate NEWS and ANNOUNCE for 0.8.8 master
Luke Yelavich [Tue, 7 Nov 2017 22:46:41 +0000 (09:46 +1100)]
Update NEWS and ANNOUNCE for 0.8.8

15 months agoAdd baratinoo support (Voxygen TTS)
Colomban Wendling [Tue, 17 Oct 2017 14:51:15 +0000 (16:51 +0200)]
Add baratinoo support (Voxygen TTS)

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Remove unused function locale_map_free
Luke Yelavich [Thu, 20 Apr 2017 22:24:54 +0000 (08:24 +1000)]
server: Remove unused function locale_map_free

18 months agoserver: Fix a small memory leak when failing to load speech symbols file
Colomban Wendling [Tue, 18 Apr 2017 15:05:51 +0000 (17:05 +0200)]
server: Fix a small memory leak when failing to load speech symbols file

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Use singly-linked lists
Colomban Wendling [Tue, 18 Apr 2017 14:09:52 +0000 (16:09 +0200)]
server: Use singly-linked lists

We don't need a doubly linked list, and a singly linked list is more
space efficient.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Improve a few comments
Colomban Wendling [Tue, 18 Apr 2017 13:55:43 +0000 (15:55 +0200)]
server: Improve a few comments

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Optimize list building
Colomban Wendling [Tue, 18 Apr 2017 13:43:11 +0000 (15:43 +0200)]
server: Optimize list building

GLib lists are nodes alone, referenced by the a pointer to the first
node.  This means that to append to a list, it has to walk the whole
set of nodes to find the last one.  This is heavily inefficient when
adding several items, so instead use the common idiom of adding at the
start and then reverse the list.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Fix a fully theoretical out-of-bounds access
Colomban Wendling [Tue, 18 Apr 2017 13:56:48 +0000 (15:56 +0200)]
server: Fix a fully theoretical out-of-bounds access

This is fully theoretical as the only way to have less than 1 element
in `parts` would be an empty line, and those are already filtered.
However, it's safer in the event this would change in any point in the
future.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Add overview documentation to the symbols pre-processing module
Colomban Wendling [Tue, 18 Apr 2017 10:35:43 +0000 (12:35 +0200)]
server: Add overview documentation to the symbols pre-processing module

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoconfig: Add a config option controlling server-side symbols pre-processing
Colomban Wendling [Tue, 18 Apr 2017 09:58:33 +0000 (11:58 +0200)]
config: Add a config option controlling server-side symbols pre-processing

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver/symbols: Don't use C99 for loops
Colomban Wendling [Tue, 18 Apr 2017 08:55:12 +0000 (10:55 +0200)]
server/symbols: Don't use C99 for loops

18 months agoserver: Keep complex symbols in the order they are declared
Colomban Wendling [Fri, 14 Apr 2017 16:01:49 +0000 (18:01 +0200)]
server: Keep complex symbols in the order they are declared

Reviewed-by: Luke Yelavich <themuso@themuso.com>
It might or might not matter (depending on the regexes), but NVDA
keeps the order so do the same.

18 months agoserver: Don't even load entries for NUL byte
Colomban Wendling [Fri, 14 Apr 2017 15:38:14 +0000 (17:38 +0200)]
server: Don't even load entries for NUL byte

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Avoid theoretical use of uninitialized variable if a value is out of range
Colomban Wendling [Fri, 14 Apr 2017 14:03:49 +0000 (16:03 +0200)]
server: Avoid theoretical use of uninitialized variable if a value is out of range

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Fix loading fallback language symbols files
Colomban Wendling [Fri, 14 Apr 2017 13:53:51 +0000 (15:53 +0200)]
server: Fix loading fallback language symbols files

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Log an explicit error if symbols file opening fails
Colomban Wendling [Fri, 14 Apr 2017 13:40:26 +0000 (15:40 +0200)]
server: Log an explicit error if symbols file opening fails

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Avoid casting functions when possible
Colomban Wendling [Fri, 14 Apr 2017 13:37:00 +0000 (15:37 +0200)]
server: Avoid casting functions when possible

Reviewed-by: Luke Yelavich <themuso@themuso.com>
18 months agoserver: Import symbols pre-processing from NVDA
Colomban Wendling [Fri, 14 Apr 2017 13:28:22 +0000 (15:28 +0200)]
server: Import symbols pre-processing from NVDA

This allows to handle punctuation mode at a higher level than the
module, allowing both modules that don't support punctuation mode and
giving consistent punctuation results with all modules.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
  - Added locale symbols files to the distribution tarball

18 months agoImport NVDA symbols replacement rules
Colomban Wendling [Wed, 12 Apr 2017 14:20:50 +0000 (16:20 +0200)]
Import NVDA symbols replacement rules

Reviewed-by: Luke Yelavich <themuso@themuso.com>
19 months agoAdd German translation, thanks to Chris Leick for the patch
Luke Yelavich [Wed, 19 Jul 2017 01:01:30 +0000 (11:01 +1000)]
Add German translation, thanks to Chris Leick for the patch

19 months agoFix some spelling mistakes, thanks to Paul Gevers for the patch
Luke Yelavich [Wed, 19 Jul 2017 00:35:03 +0000 (10:35 +1000)]
Fix some spelling mistakes, thanks to Paul Gevers for the patch

20 months agoserver: Move spd_get_path and make it static
Luke Yelavich [Mon, 29 May 2017 00:18:51 +0000 (10:18 +1000)]
server: Move spd_get_path and make it static

21 months agoUpdate NEWS and ANNOUNCE for 0.8.7
Luke Yelavich [Mon, 20 Feb 2017 04:35:05 +0000 (15:35 +1100)]
Update NEWS and ANNOUNCE for 0.8.7

21 months agoserver: Remove carriage return when processing synthesis_voice string
Luke Yelavich [Tue, 9 May 2017 01:16:38 +0000 (11:16 +1000)]
server: Remove carriage return when processing synthesis_voice string

I had the number of characters to remove right in the first place, essentially
a revert of the last two commits, brown paper bag and all.

21 months agoserver: Only remove the newline character harder
Luke Yelavich [Wed, 26 Apr 2017 08:19:28 +0000 (18:19 +1000)]
server: Only remove the newline character harder

There is more than one instance, and I missed the second one in the
last commit.

21 months agoserver: Only remove the newline character
Luke Yelavich [Wed, 26 Apr 2017 08:15:32 +0000 (18:15 +1000)]
server: Only remove the newline character

In commit b50ab0c05e5c14eb7c2aac21e1f0e9fab1619b94, the newline character
is removed from voice name strings. However one extra character is also
removed when it shouldn't be.

23 months agodoc: Do not remove mdate-sh on clean
Luke Yelavich [Wed, 8 Mar 2017 20:20:20 +0000 (07:20 +1100)]
doc: Do not remove mdate-sh on clean

23 months agomodules/flite: Fix stripped audio output of flite module
Samuel Thibault [Sun, 5 Mar 2017 22:13:08 +0000 (23:13 +0100)]
modules/flite: Fix stripped audio output of flite module

Reviewed-by: Luke Yelavich <themuso@themuso.com>
23 months agoserver: Remove the newline character from any synthesis voice string
Luke Yelavich [Tue, 28 Feb 2017 03:17:29 +0000 (14:17 +1100)]
server: Remove the newline character from any synthesis voice string

When we loop through, we don't know how many parts the voice name string will
be, so we should make sure to remove the newline character from them all if
it is present.

23 months agoRevert "server: Improve code responsible for sending the synthesis voice"
Luke Yelavich [Tue, 28 Feb 2017 03:09:46 +0000 (14:09 +1100)]
Revert "server: Improve code responsible for sending the synthesis voice"

This reverts commit 287ab775d612fdc81793f1e11aad5cd4c0d4f599.

There is the potential for accessing the array out of bounds, which would
cause a crash.

23 months agoserver: Improve code responsible for sending the synthesis voice
Luke Yelavich [Tue, 21 Feb 2017 09:28:44 +0000 (20:28 +1100)]
server: Improve code responsible for sending the synthesis voice

23 months agomodules/espeak-ng: Retrieve variants even if the user hasn't enabled them
Luke Yelavich [Tue, 21 Feb 2017 08:56:56 +0000 (19:56 +1100)]
modules/espeak-ng: Retrieve variants even if the user hasn't enabled them

We need them for setting the voice and variant, as clients allow users to
set the voice and variant directly without getting the available voices.

23 months agomodules/espeak-ng: Look up the variant file name and use that when setting the variant
Luke Yelavich [Tue, 21 Feb 2017 08:17:51 +0000 (19:17 +1100)]
modules/espeak-ng: Look up the variant file name and use that when setting the variant

23 months agoserver: Allow for spaces in synthesizer voice names
Luke Yelavich [Mon, 20 Feb 2017 22:39:32 +0000 (09:39 +1100)]
server: Allow for spaces in synthesizer voice names

Also don't change the case of the voice name, as some synths have capital
letters in their names.

2 years agomodules: Fix a compiler warning
Luke Yelavich [Mon, 20 Feb 2017 03:58:52 +0000 (14:58 +1100)]
modules: Fix a compiler warning

2 years agoUse tab as the delimiter between synthesis voice attributes
Luke Yelavich [Mon, 20 Feb 2017 00:55:58 +0000 (11:55 +1100)]
Use tab as the delimiter between synthesis voice attributes

Espeak-ng now includes spaces in its voice names, and this breaks the listing
and setting of voices. Instead of replacing whitespace characters with
something else that may sound odd to the user when spoken, I think the better
approach is to use a delimiter character that is not very likely to be used
as a character in voice identification strings.

2 years agomodules: Split the espeak-ng module out into its own source file
Luke Yelavich [Thu, 16 Feb 2017 02:45:10 +0000 (13:45 +1100)]
modules: Split the espeak-ng module out into its own source file

2 years agobuild: Use info-in-builddir automake option
Luke Yelavich [Mon, 23 Jan 2017 21:59:49 +0000 (08:59 +1100)]
build: Use info-in-builddir automake option

2 years agospd-conf: Fix usage and return value of parse_args
Samuel Thibault [Mon, 23 Jan 2017 21:13:44 +0000 (22:13 +0100)]
spd-conf: Fix usage and return value of parse_args

Reviewed-by: Luke Yelavich <themuso@themuso.com>
2 years agoUpdate ANNOUNCE for 0.8.6
Luke Yelavich [Wed, 30 Nov 2016 01:51:07 +0000 (12:51 +1100)]
Update ANNOUNCE for 0.8.6

2 years agoUpdate NEWS file for 0.8.6
Luke Yelavich [Wed, 30 Nov 2016 01:48:56 +0000 (12:48 +1100)]
Update NEWS file for 0.8.6

2 years agoRemove one reference to previously removed ChangeLog
Luke Yelavich [Fri, 25 Nov 2016 03:30:24 +0000 (14:30 +1100)]
Remove one reference to previously removed ChangeLog

2 years agoRemove ChangeLog files
Luke Yelavich [Fri, 25 Nov 2016 02:30:37 +0000 (13:30 +1100)]
Remove ChangeLog files

They can be dug up again from commit history if there is a need to reference
them.

2 years agomodules/pico - Fix compiler warnings
Luke Yelavich [Fri, 25 Nov 2016 01:25:35 +0000 (12:25 +1100)]
modules/pico - Fix compiler warnings

 - g_thread_create is deprecated since glib 2.32, so use g_thread_try_new()
   instead.
 - Cast SPDVoice** in module_list_voices.

2 years agobuild - Add extra autotools files to .gitignore at build time
Luke Yelavich [Mon, 14 Nov 2016 08:43:04 +0000 (19:43 +1100)]
build - Add extra autotools files to .gitignore at build time

2 years agoapi/python: make speechd_config importable
Sebastian Humenda [Tue, 27 Sep 2016 05:39:31 +0000 (07:39 +0200)]
api/python: make speechd_config importable

-   get rid of globals
-   convert cmd argument parsing to argparse
-   fix tons of pylint errors

Reviewed-by: Luke Yelavich <themuso@themuso.com>
2 years agoapi/python: fix various bugs reported by pylint
Sebastian Humenda [Tue, 27 Sep 2016 04:16:34 +0000 (06:16 +0200)]
api/python: fix various bugs reported by pylint

Reviewed-by: Luke Yelavich <themuso@themuso.com>
2 years agomodules - Move module_get_ht_option into generic module and rename
Luke Yelavich [Sat, 29 Oct 2016 01:53:13 +0000 (12:53 +1100)]
modules - Move module_get_ht_option into generic module and rename

2 years agoRemove .gitignore and use git.mk to generate .gitignore at build time.
Jeremy Whiting [Thu, 18 Aug 2016 15:04:38 +0000 (09:04 -0600)]
Remove .gitignore and use git.mk to generate .gitignore at build time.

2 years agoMake use of TODO file to dump thought and current status of work
Luke Yelavich [Wed, 10 Aug 2016 06:24:43 +0000 (16:24 +1000)]
Make use of TODO file to dump thought and current status of work

2 years agoserver - Be consistant with use of the command-line options structure
Luke Yelavich [Wed, 10 Aug 2016 02:40:42 +0000 (12:40 +1000)]
server - Be consistant with use of the command-line options structure

Using the macros in getopt.h instead of numbers make it clearer at a glance
as to what the various fields in the structure are used for.

2 years agoAdd sd_ibmtts to .gitignore
Luke Yelavich [Wed, 10 Aug 2016 02:33:10 +0000 (12:33 +1000)]
Add sd_ibmtts to .gitignore

2 years agoUpdate NEWS and ANNOUNCE for 0.8.5
Luke Yelavich [Wed, 10 Aug 2016 02:14:35 +0000 (12:14 +1000)]
Update NEWS and ANNOUNCE for 0.8.5

2 years agoserver - Add command-line argument to allow for custom module location
Luke Yelavich [Wed, 10 Aug 2016 01:54:49 +0000 (11:54 +1000)]
server - Add command-line argument to allow for custom module location

2 years agomodules - Document the IbmttsAudioChunkSize configuration option for ibmtts
Luke Yelavich [Fri, 22 Jul 2016 06:23:43 +0000 (16:23 +1000)]
modules - Document the IbmttsAudioChunkSize configuration option for ibmtts

This option is in the code and used, but not present in the config file.

2 years agomodules - Remove unused configuration options from the ibmtts module
Luke Yelavich [Fri, 22 Jul 2016 06:03:51 +0000 (16:03 +1000)]
modules - Remove unused configuration options from the ibmtts module

The configuration options IbmttsMaxChunkLength and IbmttsDelimiters are not
used in the code, and are not in the config file, so may as well remove them.

2 years agoserver - Remove unused method output_read_reply2
Luke Yelavich [Fri, 22 Jul 2016 05:42:21 +0000 (15:42 +1000)]
server - Remove unused method output_read_reply2

2 years agomodules - Fix compiler warnings in ibmtts module
Luke Yelavich [Fri, 22 Jul 2016 01:25:21 +0000 (11:25 +1000)]
modules - Fix compiler warnings in ibmtts module

2 years agoAdd sd_pico to .gitignore
Jeremy Whiting [Sat, 9 Jul 2016 20:37:30 +0000 (14:37 -0600)]
Add sd_pico to .gitignore

Reviewed-by: Luke Yelavich <themuso@themuso.com>
2 years agomodules - Add support for espeak-ng
Luke Yelavich [Wed, 11 May 2016 23:48:47 +0000 (09:48 +1000)]
modules - Add support for espeak-ng

The sd_espeak-ng is a separate executable, but we are using espeak.c for now,
since espeak-ng is currently API compatible with espeak.

2 years agoaudio - Fix implicit function declaration warning in NAS driver
Luke Yelavich [Tue, 3 May 2016 03:34:42 +0000 (13:34 +1000)]
audio - Fix implicit function declaration warning in NAS driver

2 years agoserver - Remove another unused variable
Luke Yelavich [Fri, 29 Apr 2016 12:05:55 +0000 (14:05 +0200)]
server - Remove another unused variable

2 years agoUpdate ANNOUNCE for 0.8.4
Luke Yelavich [Fri, 15 Apr 2016 04:28:13 +0000 (14:28 +1000)]
Update ANNOUNCE for 0.8.4

2 years agoUpdate NEWS file for 0.8.4
Luke Yelavich [Fri, 15 Apr 2016 04:12:24 +0000 (14:12 +1000)]
Update NEWS file for 0.8.4

2 years agoserver - Remove unused variable
Luke Yelavich [Fri, 15 Apr 2016 04:10:25 +0000 (14:10 +1000)]
server - Remove unused variable

2 years agoAdd sd_flite to gitignore
Luke Yelavich [Fri, 15 Apr 2016 03:44:10 +0000 (13:44 +1000)]
Add sd_flite to gitignore

2 years agobuild - Enable silent rules by default
Luke Yelavich [Fri, 15 Apr 2016 03:38:23 +0000 (13:38 +1000)]
build - Enable silent rules by default

2 years agomodules - Fix compiler warnings
Luke Yelavich [Fri, 15 Apr 2016 03:34:23 +0000 (13:34 +1000)]
modules - Fix compiler warnings

2 years agoserver - Fix compiler warnings
Luke Yelavich [Fri, 15 Apr 2016 03:14:15 +0000 (13:14 +1000)]
server - Fix compiler warnings

2 years agoRemove bogus header guards around include
Frederik Gladhorn [Thu, 7 Apr 2016 15:36:31 +0000 (17:36 +0200)]
Remove bogus header guards around include

speechd_types.h has proper header guards, duplicating the check for them
doesn't make sense.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
2 years agoUse quotation marks to include own headers
Frederik Gladhorn [Thu, 7 Apr 2016 15:34:12 +0000 (17:34 +0200)]
Use quotation marks to include own headers

Only use <> for headers that do not come from the library itself.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoremove dead code after server_data_on call
Andrei Kholodnyi [Thu, 28 Jan 2016 22:42:55 +0000 (23:42 +0100)]
remove dead code after server_data_on call

server_data_on function always returns 0, no need to analyze return value
make function return void instead and remove dead code

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoupdate dotconf version and the project link
Andrei Kholodnyi [Sun, 24 Jan 2016 21:52:41 +0000 (22:52 +0100)]
update dotconf version and the project link

dotconf version is now 1.3 and the project link has been changed

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoRefer to RFC 1766, 'Tags for the Identification of Languages', instead of RFC 1776.
Mikkel Krautz [Fri, 15 Jan 2016 22:37:46 +0000 (23:37 +0100)]
Refer to RFC 1766, 'Tags for the Identification of Languages', instead of RFC 1776.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoespeak: Check variant_list for null before checking if it's empty.
Jeremy Whiting [Tue, 12 Jan 2016 02:58:15 +0000 (19:58 -0700)]
espeak: Check variant_list for null before checking if it's empty.

Removes GLib-Critical messages about variant_list being not a GQueue.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoFix include paths in libspeechd.h
Jeremy Whiting [Tue, 12 Jan 2016 02:53:48 +0000 (19:53 -0700)]
Fix include paths in libspeechd.h

Anything built against libspeechd should have prefix/speech-dispatcher in its include paths.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoFix OK_MODULES_LIST_SENT message.
Jeremy Whiting [Sun, 6 Dec 2015 06:13:57 +0000 (23:13 -0700)]
Fix OK_MODULES_LIST_SENT message.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoUse speech-dispatcher/ subpath when including libspeechd_version.h in libspeechd.h.
Jeremy Whiting [Fri, 2 Oct 2015 18:50:33 +0000 (12:50 -0600)]
Use speech-dispatcher/ subpath when including libspeechd_version.h in libspeechd.h.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoserver - Remove unused method compare_message_fd
Luke Yelavich [Wed, 12 Aug 2015 01:15:30 +0000 (11:15 +1000)]
server - Remove unused method compare_message_fd

3 years agoFix Timeout config value valid range.
Jeremy Whiting [Thu, 30 Jul 2015 16:03:12 +0000 (10:03 -0600)]
Fix Timeout config value valid range.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoMake pulse audio code use the same MSG and ERR macros as other audio modules.
Jeremy Whiting [Mon, 27 Jul 2015 19:45:04 +0000 (13:45 -0600)]
Make pulse audio code use the same MSG and ERR macros as other audio modules.

Also fix capitalization in DEFAULT_PA_MIN_AUDIO_LENGTH

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoserver - Add support for setting the timeout in the configuration file
Luke Yelavich [Tue, 21 Oct 2014 19:37:40 +0000 (15:37 -0400)]
server - Add support for setting the timeout in the configuration file

A value of 0 either on the command-line or the config file will disable the
timer. Also adjusted some log levels.

Reviewed-by: Jeremy Whiting <jpwhiting@kde.org>
3 years agoserver - Implement shutdown timer
Luke Yelavich [Tue, 21 Oct 2014 18:04:01 +0000 (14:04 -0400)]
server - Implement shutdown timer

When the -t flag is given on the command-line along with a value greater than
0, the Speech Dispatcher server will automatically shut itself down after
the specified number of seconds, if no clients are connected.

Reviewed-by: Jeremy Whiting <jpwhiting@kde.org>
3 years agoserver - Use a GLib main loop in the main thread
Luke Yelavich [Wed, 1 Oct 2014 06:03:08 +0000 (16:03 +1000)]
server - Use a GLib main loop in the main thread

This lays the groundwork for further enhancements and features.
A bonus is simplified code, and probing only the file descriptors we care
about.

Also terminate on SIGTERM and SIGKILL signals.

Reviewed-by: Jeremy Whiting <jpwhiting@kde.org>
3 years agoAPI - Try to find libspeechd_version.h in the include dir
Luke Yelavich [Thu, 23 Jul 2015 05:31:12 +0000 (15:31 +1000)]
API - Try to find libspeechd_version.h in the include dir

3 years agobuild - Adjust the includedir variable to point to the correct speechd include dir
Luke Yelavich [Thu, 23 Jul 2015 05:28:51 +0000 (15:28 +1000)]
build - Adjust the includedir variable to point to the correct speechd include dir

3 years agoupdated audio part of INSTALL
Andrei Kholodnyi [Tue, 30 Jun 2015 11:03:28 +0000 (11:03 +0000)]
updated audio part of INSTALL

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agofix description of the -D option in help
Andrei Kholodnyi [Mon, 29 Jun 2015 21:32:01 +0000 (21:32 +0000)]
fix description of the -D option in help

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoadd libspeechd_version.h to .gitignore
razr [Fri, 26 Jun 2015 10:18:45 +0000 (10:18 +0000)]
add libspeechd_version.h to .gitignore

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoUpdate ANNOUNCE for 0.8.3
Luke Yelavich [Fri, 12 Jun 2015 00:09:34 +0000 (10:09 +1000)]
Update ANNOUNCE for 0.8.3

3 years agoUpdate NEWS file for 0.8.3
Luke Yelavich [Fri, 12 Jun 2015 00:03:28 +0000 (10:03 +1000)]
Update NEWS file for 0.8.3

3 years agoForgot to update the NEWS file for 0.8.2
Luke Yelavich [Thu, 11 Jun 2015 23:47:27 +0000 (09:47 +1000)]
Forgot to update the NEWS file for 0.8.2

3 years agoUpdate ANNOUNCE for 0.8.2
Luke Yelavich [Fri, 20 Mar 2015 03:18:18 +0000 (14:18 +1100)]
Update ANNOUNCE for 0.8.2

3 years agoRemove reference to GNOME Speech from the INSTALL file
Luke Yelavich [Thu, 11 Jun 2015 23:39:24 +0000 (09:39 +1000)]
Remove reference to GNOME Speech from the INSTALL file

3 years agoespeak - Add config option to show variants in voice list
Luke Yelavich [Mon, 25 May 2015 01:30:43 +0000 (11:30 +1000)]
espeak - Add config option to show variants in voice list

Longre term we need to extend the client API to allow synths to present
such information to the user, but this will work for now, disabled by default.

Reviewed-by: Jeremy Whiting <jpwhiting@kde.org>
3 years agoserver - Use the GQueue data structure to remove hard-coded upper limits on voice...
Luke Yelavich [Wed, 3 Jun 2015 00:23:38 +0000 (10:23 +1000)]
server - Use the GQueue data structure to remove hard-coded upper limits on voice lists

No synthesizer at this time provides more than 256 voices, but hard-coding
a maximum is not a good idea either.

Reviewed-by: Jeremy Whiting <jpwhiting@kde.org>
3 years agoDon't try to dereference voices or output_modules if they are null.
Jeremy Whiting [Mon, 8 Jun 2015 20:49:12 +0000 (14:49 -0600)]
Don't try to dereference voices or output_modules if they are null.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoExpand SPD_SET_COMMAND_INT|STR|SPECIAL, SPD_GET_COMMAND_INT|STR
Jeremy Whiting [Fri, 8 May 2015 00:59:20 +0000 (18:59 -0600)]
Expand SPD_SET_COMMAND_INT|STR|SPECIAL, SPD_GET_COMMAND_INT|STR

Added speechd_defines.h for common definitions.
Change SPD_SET_COMMAND_INT to spd_w_set_command_int helper method.
Change SPD_GET_COMMAND_INT to spd_get_command_int helper method.
Likewise for the STR commands.
Likewise for the SPECIAL commands.

Reviewed-by: Luke Yelavich <themuso@themuso.com>
3 years agoFestival - Only terminate the speak thread if the thread has been created
Luke Yelavich [Wed, 20 May 2015 00:32:13 +0000 (10:32 +1000)]
Festival - Only terminate the speak thread if the thread has been created

Patch originally from OpenSUSE/Fedora, thanks to Mike Mike Gorse
<mgorse@alum.wpi.edu> for bringing this to my attention.

3 years agobuild - Bump libsndfile to a mandetory dependency
Luke Yelavich [Mon, 18 May 2015 03:19:51 +0000 (13:19 +1000)]
build - Bump libsndfile to a mandetory dependency

Sound icon functionality requires it, and behavior is confusing for
users if sndfile is not present.

Reviewed-by: Jeremy Whiting <jpwhiting@kde.org>