Commit Graph

187 Commits

Author SHA1 Message Date
David VILLAUME 9de281133a [mod_say_fr] Fix "10" not playing in French. 2019-10-01 17:07:29 +02:00
Andrey Volk 85d963f666 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_say_en 2019-07-15 23:41:03 +04:00
Andrey Volk a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
Sebastian Kemper 3ca75eb8ef FS-11783: [mod_say_ja] quiet overflow warning
With -Wformat-overflow gcc warns about calls to formatted input/output
function "sprintf" that might overflow the destination buffer.

In this case gcc does not know the upper bound of tm_min and assumes
that up to 11 bytes might be written to buffer (3 bytes). But we know
that tm_min can only be within the range 0 to 59.

mod_say_ja.c: In function 'ja_say_time':
mod_say_ja.c:376:35: error: '%d' directive writing between 2 and 10 bytes into a region of size 3 [-Werror=format-overflow=]
                  sprintf(buffer, "%d", tm.tm_min);
                                   ^~
mod_say_ja.c:376:34: note: directive argument in the range [11, 2147483647]
                  sprintf(buffer, "%d", tm.tm_min);
                                  ^~~~
mod_say_ja.c:376:18: note: 'sprintf' output between 3 and 11 bytes into a destination of size 3
                  sprintf(buffer, "%d", tm.tm_min);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This commits adds a hint for gcc, which silences the warning.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-04-14 19:23:52 +02:00
Mike Jerris 40a7c72f6f Merge pull request #1685 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11373-fix-mod_say_it-date to master
* commit 'c4e9995f54cf01215aa3ee3553910ac63fe6aadb':
  FS-11373: [mod_say_it] fix say date
2019-02-28 19:07:31 -06:00
Dragos Oancea c4e9995f54 FS-11373: [mod_say_it] fix say date 2019-02-28 15:27:40 -05:00
Dragos Oancea 6b2ad1d48d FS-11636: [mod_say_de] fix SST_CURRENT_DATE_TIME
FS-11636: [mod_say_en] fix SST_CURRENT_DATE_TIME
2019-02-28 15:04:46 -05:00
Andrey Volk 671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Andrey Volk d91374edde FS-11078: [Build-System] Add mod_say_(es_ar, fa, he, hr, hu, ja, pl, th) modules to the Windows build. 2018-07-24 07:21:44 +00:00
Bas Couwenberg 4be66ff5c3 FS-10279: Fix double digit pronounciation (mod_say_nl). 2017-05-02 09:28:01 +02:00
Merwan Ouddane 8132248ba3 [FS-10155] French digits are not spelled right 2017-04-13 16:53:42 +02:00
Mike Jerris c03842754e FS-10058: [mod_voicemail] voicemail timestamp plays in military time 2017-02-21 11:22:38 -06:00
Brian West f6cc8e54bf /FS-10058: [mod_voicemail] voicemail timestamp plays in military time #resolve 2017-02-20 17:30:28 -06:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale eee5abcc0c FS-10008: [mod_say_en] Add military time to say_en #resolve 2017-02-03 16:24:53 -06:00
Chris Walder f6e1056c94 FS_8775 Add function SST_SHORT_DATE_TIME to mod_say_de.c and some language tweaks
German voice-mail is broken since mod_say_de.c is missing function SST_SHORT_DATE_TIME.
Insert function SST_SHORT_DATE_TIME into mod_say_de.c (refering and equal to mod_say_en.c) and tweaks some german language issues.
2016-01-25 21:07:40 +01:00
Leo Noordergraaf 5d140310bd FS-8756: [mod_say_nl] Improve dutch localisation
This change fixes various Dutch localisation issues.
Euro is used instead of Dollar
Some date/time digits are played different to be compatible with the Dutch language.
2016-01-19 11:19:30 +01:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Mike Jerris 288c62576f FS-7966: fix more warnings in msvc 2015 build 2015-08-28 17:42:55 -04:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Hristo Trendev 410850fa75 FS-7685 fix Dutch numbers pronunciation
The Dutch number pronunciation is more like the German one. 21 is
pronounced as "one-and-twenty".

FS-7685 #resolve
2015-07-09 09:34:46 +02:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Jeff Lenk 345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris 2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Ken Rice 02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Marcel Haldemann c7fdcc2ad8 FS-7391 #resolve corrected currency for mod_say_de it's now "Ein Euro und Ein Cent" rather than "Eins Euro und Eins Cent" 2015-03-26 19:16:44 +01:00
Antonio Eugenio Burriel 23b10d5da3 Get ordering of dates in Spanish right (dd-mm-yyyy)
1. Switch from mm-dd-yyyy to dd-mm-yyyy
2. Insert "de" (Spanish for "of") preposition.
3. Document this new voice recording "of.wav".

As reported in FS-7279.
2015-02-16 17:45:44 +01:00
Hristo Trendev a8c5a0c87b add timezone support to mod_say_{de,es,ja,nl,th,zh}
This is nothing more than a shameless copy/paste from another mod_say
module, which already had timezone support. It simply checks if the
timezone variable is set and if it contains a valid timezone, then this
timezone will be used when announcing times/dates.

FS-7048 #resolve
2014-12-02 17:08:12 +01:00
Michael Jerris 0f8b993769 fix mod_say_es_ar Makefile.am 2014-11-10 11:12:56 -05:00
Michael Jerris 11e62dd40d Revert "Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant.""
This reverts commit d9d9510ce4.
2014-11-10 11:12:15 -05:00
Ken Rice d9d9510ce4 Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant."
This reverts commit e75d0675af.

Revert "Add mod_say_es_ar to debian packaging"
This reverts commit ebb3c8fbfa.

Conflicts:
	configure.ac
2014-11-08 15:53:57 -06:00
Joao Mesquita e75d0675af FS-6967 New mod_say_es_AR to support Argentina Spanish variant. 2014-11-06 19:21:13 -03:00
Moises Silva d6574e8c0f dos2unix a bunch of files
For some reason these files would get marked as modified
just after a fresh clone on Linux
2014-07-22 15:04:28 -04:00
Brian West b3555b91e9 FS-6539 fix typo 2014-05-20 16:20:36 -05:00
Steve Underwood 34807208c6 Chinese say now say "one" before "ten" for numbers >99 2014-05-17 14:28:58 +08:00
Michael Jerris 02f6269cf1 check for say errors in say_money functions 2014-05-07 13:18:21 -04:00
Michael MCGuinness 974cebd389 SIP-686 changed mod_say (en) to speak full dates when asked to speak a date in the future (rather than only weekday and time). 2014-05-02 14:48:09 -05:00
Michael Jerris 6add88b43f check return value for es_say_general_count 2014-04-30 16:43:35 -04:00
Michael Jerris 95d4d0031c don't set variable we don't use, and fix off by 1 buffer overflow in 1 case 2014-04-28 14:46:05 -04:00
Michael Jerris dbaf49926c remove unnecessary null check, we would have crashed already if that strdup failed 2014-04-28 14:38:38 -04:00
Tamas Cseke 9b56dff275 Say zero in time measurement only if it is neccessary 2014-03-31 09:33:17 +02:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Peter Olsson 3162635dc9 FS-5045 --resolve Added build for Visual Studio 2010/2012. 2014-02-16 14:23:09 +01:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson 9059fb91cc FS-5045 2014-02-02 12:33:37 +01:00
Jeff Lenk 1fb555770e FS-6052 line endings 2013-12-24 10:40:32 -06:00
Jeff Lenk 87e3d25515 FS-6052 --resolve 2013-12-24 10:37:17 -06:00
Anthony Minessale 6c384012ed FS-5740 --resolve 2013-09-12 20:42:16 +05:00
Seven Du f255f65a82 add SHORT_DATE_TIME support 2013-08-01 09:54:33 +08:00
Seven Du 51d3282d06 FS-2809 --resolved 2013-07-14 10:34:35 +08:00