f4248fd728
								
							 
						 
						
							
									tests: Fix -Wmissing-prototypes warnings. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								74f9f5e34b
								
							 
						 
						
							
									wavegen.c: Fix -Wmissing-prototypes warnings. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								05d9a4839c
								
							 
						 
						
							
									Enable and fix -Wmissing-prototypes warnings. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								d89fa59bed
								
							 
						 
						
							
									Enable and fix -Wunused-variable warnings. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								6d9bb7ef17
								
							 
						 
						
							
									Enable and fix -Wunused-parameter warnings. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								119c200e00
								
							 
						 
						
							
									Use strcpy instead of memcpy+strlen. 
							 
							
							
This replaces uses of:
	memcpy(dst, src, strlen(src))
with:
	strcpy(dst, src)
This fixes issues with reading past the end of the copied buffer
(e.g. when processing word-based replacements for emoji characters)
by ensuring that the destination buffer is null terminated.
Reported by Michael Curran <[email protected] > 
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								d19da58fa0
								
							 
						 
						
							
									Fix running languages.test on sh/bash. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								3115f769b1
								
							 
						 
						
							
									tests/language.test: Use different hashing commands when needed 
							 
							
							
Outside of Linux platforms, sha1 hashing from the command-line is accomplished
by commands other than sha1sum. OSX uses shasum and FreeBSD uses sha1, so I've
added in detection for the appropriate command before falling back and failing
the test. 
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								8585b0b47d
								
							 
						 
						
							
									Fix the return status code from Synthesize when the voices cannot be found. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								882c2651e1
								
							 
						 
						
							
									Fix setting the default voice from espeak_SetVoiceByProperties. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								16bea7fd0f
								
							 
						 
						
							
									Don't crash in LoadVoice if langopts is NULL. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								4d4a8419f8
								
							 
						 
						
							
									Test espeak_SetVoiceByName with an invalid voice name. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								aee367c334
								
							 
						 
						
							
									Add espeak_SetVoiceByProperties tests with the languages property. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								c0308e3140
								
							 
						 
						
							
									tests/api: test that the translator's dictionary is correct. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								7fc1e30316
								
							 
						 
						
							
									Add tests for espeak_SetVoiceByName. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								cec0e773a4
								
							 
						 
						
							
									Remove the tokenizer code. This is not currently used, and should be designed from espeak's behaviour. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								bdc255835e
								
							 
						 
						
							
									Provide a compatibility implementation of iswblank for C89 compilers. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								223d14bec8
								
							 
						 
						
							
									Move the type declaration out of the for loops to support building with a C89 compiler. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								0b56f2e5bc
								
							 
						 
						
							
									Use C-style comments to support using a C89 compiler. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								ddee4d6386
								
							 
						 
						
							
									languages.test: fix running the Japanese test 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								ea0dcc9473
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-14c. emoji keycap sequence 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								37819f0781
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-14b. emoji combining sequence 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								6f39beb154
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-14. emoji tag sequence (tag_base = emoji character) 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								421518e8cc
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-14. emoji flag sequence 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								40eed16247
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-13. emoji modifier sequence 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								281cb5513e
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-9a. emoji presentation sequence 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								e02ab7d0c2
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-8a. text presentation sequence 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								f94f7effcd
								
							 
						 
						
							
									Test ReadClause with a Latin-character sentence. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								fbd2e679fc
								
							 
						 
						
							
									Don't crash if loading the default voice fails. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								dced9f58fd
								
							 
						 
						
							
									Clean up the decoder memory in espeak_Terminate. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								63e2826753
								
							 
						 
						
							
									Ensure that the old translator is not used after calling espeak_Terminate. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								ae6116bf97
								
							 
						 
						
							
									Fix calling espeak_Synth without first setting a voice, with tests. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								3189d194f1
								
							 
						 
						
							
									Testing UTS 51 (5.0-12) ED-3. emoji character 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								27a08c5fea
								
							 
						 
						
							
									Test ReadClause on single character emoji sequences. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								5aa47e01ea
								
							 
						 
						
							
									Simplify the readclause test names. 
							 
							
							
This is to support additional logic (i.e. testing the ReadClause
function) in the test functions. 
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								37bae427c4
								
							 
						 
						
							
									Remove the current voice tests. 
							 
							
							
These tests are limited in scope and should really be part of a
more comprehensive API tests. 
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								48ca2239bb
								
							 
						 
						
							
									Fix non-Latin character languages falling back to English when reading Latin characters. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								d674529b9c
								
							 
						 
						
							
									tests/languages.test: Rename the test function to test_lang, to avoid a conflict with the test command. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								5030ff95cc
								
							 
						 
						
							
									automake: don't make the tests print 'done', have the make rule print 'PASSED' instead. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								8821c9e361
								
							 
						 
						
							
									Split out the readclause tests so the tokenizer tests can use public-only APIs. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								d72557aed2
								
							 
						 
						
							
									Add simple tests for testing voice selection by name. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								6ec3e85007
								
							 
						 
						
							
									Add language.tests for de, en and jp to test the phoneme generation. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								dd90d3812d
								
							 
						 
						
							
									tokenizer.c: Support general symbol tokens. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								786575c6ed
								
							 
						 
						
							
									tokenizer.c: Support general punctuation tokens. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								683579f403
								
							 
						 
						
							
									Make the tokenizer.h API public. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								9af96da469
								
							 
						 
						
							
									Make the encoding.h API public. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								55bfbb4754
								
							 
						 
						
							
									tokenizer.c: Support ellipsis tokens. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								b847df63b5
								
							 
						 
						
							
									tokenizer.c: Support semicolon tokens. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								af7e8fc5a3
								
							 
						 
						
							
									tokenizer.c: Support colon tokens. 
							 
							
							
							
						 
						8 years ago  
				
					
						
							
								 
						
							
								7560070dcd
								
							 
						 
						
							
									tokenizer.c: Support comma tokens. 
							 
							
							
							
						 
						8 years ago