Commit Graph

83 Commits

Author SHA1 Message Date
Luigi Rizzo dde76c531c Replace ast_say_* functionn with function pointers, so that modules
can override them.
On passing, fix a potential problem in the top level Makefile:

if a static library is not referenced by any of the core objects,
it is not linked in the main program, and will not be available
to modules, which leads to failure at runtime when the modules
are loaded.
This is the case of stdtime/localtime.o, which supplies some core
symbolx, but is only linked in as a library. Fix the problem by
linking in the object.

NOTE: this is intended as a temporary aid to replace the
existing say.c with a newer implementation. Once the
task is completed, we may decide whether or not the ast_say*()
functions should be pluggable or not and possibly revert
part of this change.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 14:28:16 +00:00
Olle Johansson f942e6365c Issue 6710: saydate crash. Fix by Luigi Rizzo. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-13 09:02:55 +00:00
Kevin P. Fleming 6204abdae2 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 22:53:49 +00:00
Matt O'Gorman cc9cbda7ed Changed say.c aliased zh to the tw say.c output.
Done in relation to bug 6135.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-09 21:50:20 +00:00
Russell Bryant d41c5918b2 - fix some doxygen errors
- add the flag definitions to the page about global options


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-31 19:45:30 +00:00
Russell Bryant a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Tilghman Lesher 06d1a99163 Make the English language of date format 'Q' and 'q' sound a little bit more natural
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-23 20:43:11 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Russell Bryant d8dfa4434d finish merging doxygen updates from issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 19:00:38 +00:00
Kevin P. Fleming e463c42ba7 issue #5576
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 02:14:42 +00:00
Russell Bryant 3332a8acd1 clean up a lot of doxygen errors and warnings (issue #5522)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 23:11:36 +00:00
Russell Bryant 6324072247 more doxygenification (issue #5513)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Kevin P. Fleming bc596e3543 say minutes/seconds using existing 'say number' code for Danish (issue #5277)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-27 02:25:12 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming 8084c8d9d7 add Russian support to say_number (issue #4781)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 20:29:11 +00:00
Mark Spencer 6afb367b96 Fix issue with say digit str (bug #4883)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 04:23:58 +00:00
Kevin P. Fleming c59c42e166 don't declare variables inside a code block (bug #4681)
fix formatting


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 14:58:25 +00:00
Kevin P. Fleming 9985055fd7 add support for say_number in Hebrew (bug #4420)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 03:00:49 +00:00
Kevin P. Fleming 1ea58b4517 support military-style time announcing ('hundred' instead of 'o-clock') (bug #4605)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 02:36:53 +00:00
Russell Bryant 436a8474b0 '9' doesn't fall there anymore ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 17:19:26 +00:00
Mark Spencer 2f39b2c5ab Okay ;)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23 18:37:27 +00:00
Kevin P. Fleming 2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming 0e6762dd5f remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Kevin P. Fleming c0ff0e340b consolidate API functions for saying numbers/digits/alpha/phonetic into less functions, using more efficient and clearer code (inspired by bug #4414)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 21:26:02 +00:00
Mark Spencer 45a92ba5c2 Fix French time (bug #4197)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:34:10 +00:00
Kevin P. Fleming 199add9567 phase 1 of header include cleanup (bug #4067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +00:00
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Mark Spencer b32b3c1e50 Fix dashes, etc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 05:07:47 +00:00
Kevin P. Fleming b6151c5141 correct french pronounciation of years between 1900 and 1999 (bug #3949)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 04:26:59 +00:00
Kevin P. Fleming 72ccf76581 let ast_say_digit_str say 'minus' preceding negative numbers (bug #3948)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 16:10:09 +00:00
Mark Spencer 1ce96b63c0 Repair danish format (bug #3239)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 22:07:39 +00:00
Mark Spencer a76b90bfef Fix spanish date format (bug #3642)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-10 08:58:01 +00:00
Mark Spencer 662356e3d8 Fix spanish pronunciation (bug #3121, thanks to David Corredor)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-04 07:11:28 +00:00
Mark Spencer aeb1002057 Fix ordering in portugese (bug #3452)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-29 17:35:12 +00:00
Mark Spencer 160c04b793 Repair // comments to /* */ comments (bug #3347)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 23:48:12 +00:00
Mark Spencer ea8882067e Add partial greek support (bug #3107)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-22 00:08:53 +00:00
Mark Spencer 9bf92ad7e4 More OpenBSD fixes (bug #3120)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-21 21:58:11 +00:00
Mark Spencer 30a4094907 Fix a small typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-20 09:30:09 +00:00
Mark Spencer 9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-14 23:36:30 +00:00
Mark Spencer dd43338425 Updates from char * to const char * + german syntax + enumeration (bug #2780)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-13 16:13:07 +00:00
Mark Spencer f2b31be954 Merge italian "say" support (bug #2840)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-12 01:32:45 +00:00
Mark Spencer 0364da8271 Add British and Norwegian syntax (bug #2683)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-08 15:02:44 +00:00
Mark Spencer 1f8baf8b09 Add french support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-03 14:08:32 +00:00
Mark Spencer 3c5099158d Fix say for portugese (bug #2749)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 01:51:12 +00:00
Anthony Minessale II 9ecfd9f33e fix polish stuff in say.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-24 22:15:43 +00:00
Mark Spencer 0da197d593 Compute power of 10 using ints instead of silly floats (bug #2390)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-07 01:28:52 +00:00
Mark Spencer a703e927b1 Add Czech digit/voicemail support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-06 15:43:43 +00:00
Mark Spencer 7fffa6e20a Make the polish speech not such an insane coding style
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-29 17:23:54 +00:00
Mark Spencer da49f53b66 datetime patches from Tilghman (bug #1905)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-23 20:19:12 +00:00