aea62ae959
								
									
										
											
								
							 
						 
						
							
									Allow out-of-tree intonations compilation (#1470) 
							 
							
							
So we can ship data bundle and compile it AOT.
Helps to make #1291  
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								4e5bc19047
								
									
										
											
								
							 
						 
						
							
									Allow out-of-tree intonations compilation 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								99dc51ca3a
								
									
										
											
								
							 
						 
						
							
									Respect custom N_PATH_HOME definition if passed 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								385105b7cd
								
							 
						 
						
							
									Merge branch 'staticanalysis' 
							 
							
							
Fixes for some code smells found with cppcheck static code analysis tool. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								507a5f5410
								
							 
						 
						
							
									cleanup: fix unreadVariable code smell for variant_name in SelectVoiceByName() 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								14f12376a3
								
							 
						 
						
							
									cleanup: change int skip to bool 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								8ddcf6ed94
								
							 
						 
						
							
									cleanup: reduce variable scopes in voices.c 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								9900d55ccf
								
							 
						 
						
							
									cleanup: reduce variable scopes in setlengths.c 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								78a037924e
								
							 
						 
						
							
									cleanup: fix code smell knownConditionTrueFalse for strlen() >= 0 
							 
							
							
Strlen never retuns a negative value. Also combined if statements to
reduce complexity. This code currently has no tests. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								07da7edeea
								
							 
						 
						
							
									cleanup: fix code smell knownConditionTrueFalse 
							 
							
							
Inner 'n_bytes >= 0' will always be true. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								59177db8ef
								
							 
						 
						
							
									cleanup: fix code smell knownConditionTrueFalse 
							 
							
							
Inner 'p->stresslevel>=4' will always be true. Thus checking for
count_stressed is redundant. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								ef809dcd7e
								
									
										
											
								
							 
						 
						
							
									SetSpeed() refactoring (#1465) 
							 
							
							
Unify common parts of two implementations. Split into smaller functions. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								d1e98942e3
								
									
										
											
								
							 
						 
						
							
									Update README.md (#1442) 
							 
							
							
Google is now a LLC not Inc. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								b94a5b160b
								
									
										
											
								
							 
						 
						
							
									Add arm CI (#1463) 
							 
							
							
This allows to cover
- another arch that x86, which is also very common
- an arch where char is unsigned
- a little-endian arch
This is running under qemu-user, so significantly slower and doesn't
support ptrace thus no address sanitizer etc. but at least the undefined
sanitizer works. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								8170775113
								
							 
						 
						
							
									code cleanup: refactor and remove duplication by unifying SetSpeed() 
							 
							
							implemantations.
It is unclear why the two implementations differ. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								0c82988b44
								
							 
						 
						
							
									cleanup: refactor and remove duplication from SetSpeed() implementations. 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								84f58824af
								
							 
						 
						
							
									cleanup: refactor and remove duplication from SetSpeed() implementations. 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								9e9fb16b56
								
							 
						 
						
							
									cleanup: use parameters instead of globals with SetSpeedMods 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								a4c70d7921
								
							 
						 
						
							
									cleanup: remove setting samplerate with Sonic. 
							 
							
							
we currently only support 22050 as samplerate so this code has no
effect. This should be readded to setSpeed() with and without Sonic if
multiple samplerates are supported in the future. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								4f556bb4fd
								
							 
						 
						
							
									Add arm CI 
							 
							
							
This allows to cover
- another arch that x86, which is also very common
- an arch where char is unsigned
- a little-endian arch
This is running under qemu-user, so significantly slower and doesn't support
ptrace thus no address sanitizer etc. but at least the undefined sanitizer
works. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								548c3e3069
								
									
										
											
								
							 
						 
						
							
									Factorize deps list (#1462) 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								4281b15f4f
								
							 
						 
						
							
									Factorize deps list 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								bc16f819dd
								
							 
						 
						
							
									cleanup: refactor and remove duplication from SetSpeed() implementations. 
							 
							
							
There are two SetSpeed(), one for Sonic and one without. The differences
are very small.
In SetSpeedMods(), sample rate is adjusted for Sonic only:
 speed.min_sample_len = (speed.min_sample_len * samplerate_native) / 22050;
Since samplerate_native is 22050 at the moment this line has no effect. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								819cab294e
								
							 
						 
						
							
									Add almost-33-digits test 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								4f3aa3335e
								
									
										
											
								
							 
						 
						
							
									Fix long numbers (#1458) 
							 
							
							
nvda happened to be speaking 3647 because strtoi was actually
overflowing. Better make sure to have proper ascii to number translation
before continuing.
Fixes #1385  
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								0127aea5c9
								
							 
						 
						
							
									Fix long numbers 
							 
							
							
nvda happened to be speaking 3647 because strtoi was actually
overflowing. Better make sure to have proper ascii to number translation
before continuing.
Fixes #1385  
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								5db96bd845
								
									
										
											
								
							 
						 
						
							
									Staticanalysis (#1457) 
							 
							
							
Fixes for code smells from cppcheck static code analysis tool.
Also includes some function refactoring. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								9e3ade9004
								
							 
						 
						
							
									cleanup: reduce variable scopes in ssml.c 
							 
							
							
Contributes to #9 . 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								185c93e702
								
							 
						 
						
							
									cleanup: reduce variable scopes in readclause.c 
							 
							
							
Contributes to #9 . 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								9be76c0b30
								
							 
						 
						
							
									cleanup: fix cppcheck unusedVariable code smells 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								0551a234eb
								
							 
						 
						
							
									cleanup: reduce variable scopes in translateword.c 
							 
							
							
Contributes to #9 . 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								b4053da400
								
							 
						 
						
							
									cleanup: fix cppcheck identicalInnerCondition code smells 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								77df00ad79
								
							 
						 
						
							
									cleanup: fix cppcheck unreadVariable code smell in common.c 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								80a632ed26
								
							 
						 
						
							
									cleanup: reduce variable scopes in common.c 
							 
							
							
Contributes to #9 . 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								39ea6e3a90
								
							 
						 
						
							
									cleanup: reduce variable scopes in translate.c 
							 
							
							
Contributes to #9 .
Found with cppcheck static code analyzer variableScope parameter. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								ef1b562714
								
							 
						 
						
							
									cleanup: remove code duplication by using SetPlist2() 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								319ce7b09f
								
							 
						 
						
							
									cleanup: refactor duplicate loops to CalcWordLength(). 
							 
							
							
Note: This code has no tests. Tests would pass even without a call to
this function. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								139eef57d2
								
							 
						 
						
							
									cleanup: refactor checking for _^_ to function SwitchLanguage() 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								bdf8d0690b
								
									
										
											
								
							 
						 
						
							
									russian_update (#1455) 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								e48fa8fd90
								
							 
						 
						
							
									Russian: fix for word помощник 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								a6f8c5dd02
								
							 
						 
						
							
									Russian: fix for letter э 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								268f5899c8
								
							 
						 
						
							
									fixup  e2862bbc 
							 
							
							
Changing da_rules was accidentally included in the commit. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								c92f7b7bfe
								
									
										
											
								
							 
						 
						
							
									cleanup: refactor checking FLAG_COMBINE into a function (#1454) 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								e2862bbc51
								
							 
						 
						
							
									cleanup: refactor checking FLAG_COMBINE into a function 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								14088025d2
								
									
										
											
								
							 
						 
						
							
									Remove breath attributes from languages (#1451) 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								5b13292390
								
									
										
											
								
							 
						 
						
							
									Re-enable ltg/lv phonemes tests 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								bf2ee4b007
								
									
										
											
								
							 
						 
						
							
									Remove breath attributes from languages 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								a25fa3d044
								
									
										
											
								
							 
						 
						
							
									Fix pronunciation of bitwarden (#1450) 
							 
							
							
Fix pronunciation of [Bitwarden](https://bitwarden.com ), the open source
password manager. 
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								8e0486b537
								
							 
						 
						
							
									Fix pronunciation of bitwarden 
							 
							
							
							
						 
						3 years ago  
				
					
						
							
								 
						
							
								eaa62b6e95
								
									
										
											
								
							 
						 
						
							
									Android: build updates (#1449) 
							 
							
							
							
						 
						3 years ago