asterisk/asterisk.git
14 years agoMerged revisions 24019 via svnmerge from
Tilghman Lesher [Mon, 1 May 2006 21:48:30 +0000 (21:48 +0000)]
Merged revisions 24019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24019 | tilghman | 2006-05-01 15:44:24 -0500 (Mon, 01 May 2006) | 2 lines

Bug 6864 - drop realtime priority on ALL external processes

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24053 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd missing functions - see the comment in the file explaining
Luigi Rizzo [Mon, 1 May 2006 20:44:26 +0000 (20:44 +0000)]
add missing functions - see the comment in the file explaining
in detail why this is needed and that hopefully this is a
temporary workaround.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23988 via svnmerge from
BJ Weschke [Mon, 1 May 2006 19:35:53 +0000 (19:35 +0000)]
Merged revisions 23988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23988 | bweschke | 2006-05-01 14:34:29 -0500 (Mon, 01 May 2006) | 3 lines

 Correct a condition from the prior patch that could happen in rare circumstances and cause a core dump. Thanks Qwell!

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23989 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23985 via svnmerge from
BJ Weschke [Mon, 1 May 2006 19:32:47 +0000 (19:32 +0000)]
Merged revisions 23985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23985 | bweschke | 2006-05-01 14:26:43 -0500 (Mon, 01 May 2006) | 3 lines

 Make sure that when someone 0's out while recording a msg and then chooses to DELETE the recorded file, the .txt file isn't left around by itself to cause problems later. #7061 (dimitripietro reporting, blitzrage confirmed)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23987 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake sure non-inlined versions of ast_copy_string and _ast_calloc are available
Russell Bryant [Mon, 1 May 2006 19:23:43 +0000 (19:23 +0000)]
make sure non-inlined versions of ast_copy_string and _ast_calloc are available
in the cases where they are needed (issue #7054)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23984 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23952 65c4cc65-6c06-0410...
Russell Bryant [Mon, 1 May 2006 15:13:10 +0000 (15:13 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23952 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert the list of dialplan function to the list macros
Russell Bryant [Mon, 1 May 2006 15:09:51 +0000 (15:09 +0000)]
- convert the list of dialplan function to the list macros
- add missing locking of the functions list in the "show functions" CLI command

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23950 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove \n from the end of a couple of synopsis fields
Russell Bryant [Mon, 1 May 2006 14:57:48 +0000 (14:57 +0000)]
remove \n from the end of a couple of synopsis fields

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23929 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't put bogus paths like -L/lib into link commands
Kevin P. Fleming [Mon, 1 May 2006 10:34:20 +0000 (10:34 +0000)]
don't put bogus paths like -L/lib into link commands
do the QT check properly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23897 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodo the check for VoiceTronix support using C++
Kevin P. Fleming [Mon, 1 May 2006 10:03:44 +0000 (10:03 +0000)]
do the check for VoiceTronix support using C++
set the library/header include parameters properly for the search

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodo check for ixjuser.h in a way that can actually succeed :-)
Kevin P. Fleming [Mon, 1 May 2006 09:38:32 +0000 (09:38 +0000)]
do check for ixjuser.h in a way that can actually succeed :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23875 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDon't return stack pointers from functions (especially since the code will attempt...
Tilghman Lesher [Mon, 1 May 2006 03:58:13 +0000 (03:58 +0000)]
Don't return stack pointers from functions (especially since the code will attempt to free() them later)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23854 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoconvert the applications list to the list macros
Russell Bryant [Mon, 1 May 2006 03:14:21 +0000 (03:14 +0000)]
convert the applications list to the list macros

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23853 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove an extra newline, none of the other synopsis fields for apps have one
Russell Bryant [Mon, 1 May 2006 03:02:06 +0000 (03:02 +0000)]
remove an extra newline, none of the other synopsis fields for apps have one

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23852 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert permission lists to use list macros
Russell Bryant [Mon, 1 May 2006 01:26:37 +0000 (01:26 +0000)]
- convert permission lists to use list macros
- remove unused precachesend and precachereceive variables from dundi_peer

This concludes the visit to pbx_dundi ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoconver the lists of dundi packets to use the list macros
Russell Bryant [Mon, 1 May 2006 00:56:04 +0000 (00:56 +0000)]
conver the lists of dundi packets to use the list macros

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23810 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomove some code used only --with-pri in the proper
Luigi Rizzo [Mon, 1 May 2006 00:51:38 +0000 (00:51 +0000)]
move some code used only --with-pri in the proper
conditionally-compiled area.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23809 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert the dundi precache list to use the list macros
Russell Bryant [Mon, 1 May 2006 00:33:24 +0000 (00:33 +0000)]
- convert the dundi precache list to use the list macros
- change an instance of malloc+memset to ast_calloc

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23808 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore simplifications
Luigi Rizzo [Mon, 1 May 2006 00:31:47 +0000 (00:31 +0000)]
more simplifications

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoalways trim the trailing ';'
Luigi Rizzo [Mon, 1 May 2006 00:27:27 +0000 (00:27 +0000)]
always trim the trailing ';'

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23806 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocomment usage of contexts
Luigi Rizzo [Mon, 1 May 2006 00:20:11 +0000 (00:20 +0000)]
comment usage of contexts

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23805 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix dereferencing freed memory
Luigi Rizzo [Mon, 1 May 2006 00:02:12 +0000 (00:02 +0000)]
fix dereferencing freed memory

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23795 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoswitch a couple of operands.
Luigi Rizzo [Sun, 30 Apr 2006 23:53:22 +0000 (23:53 +0000)]
switch a couple of operands.
This gives slightly different results from the previous code
on syntax errors, but it actually makes fewer mistakes so
i think it is an improvement. Additionally, it makes the
code more uniform (the other call of reset_argcount
occurs after LP and not before).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23783 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoput back some simplifications, this time really tested
Luigi Rizzo [Sun, 30 Apr 2006 23:31:43 +0000 (23:31 +0000)]
put back some simplifications, this time really tested
(ael_lex.c manually deleted, runtest passed)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23782 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agorevert ael.flex to the last correct version.
Luigi Rizzo [Sun, 30 Apr 2006 23:21:49 +0000 (23:21 +0000)]
revert ael.flex to the last correct version.
For some reason the makefile did not regenerate the
ael_lex.c file correctly so i was not testing the changes.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23781 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoanother small set of simplifications
Luigi Rizzo [Sun, 30 Apr 2006 23:04:58 +0000 (23:04 +0000)]
another small set of simplifications

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23780 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert the lists of dundi_transactions to the list macros
Russell Bryant [Sun, 30 Apr 2006 23:01:50 +0000 (23:01 +0000)]
- convert the lists of dundi_transactions to the list macros
- remove an unused variable, keypending, from the dundi_peer struct

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23769 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify logic (runtest passed).
Luigi Rizzo [Sun, 30 Apr 2006 22:56:41 +0000 (22:56 +0000)]
simplify logic (runtest passed).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23758 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove macro defined that is no longer needed
Kevin P. Fleming [Sun, 30 Apr 2006 17:53:37 +0000 (17:53 +0000)]
remove macro defined that is no longer needed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23737 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse proper method of detecting OSS support on Linux and FreeBSD
Kevin P. Fleming [Sun, 30 Apr 2006 17:49:50 +0000 (17:49 +0000)]
use proper method of detecting OSS support on Linux and FreeBSD

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23736 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove remaining MFC/R2 stuff
Kevin P. Fleming [Sun, 30 Apr 2006 17:25:01 +0000 (17:25 +0000)]
remove remaining MFC/R2 stuff

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23735 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23705 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 15:48:56 +0000 (15:48 +0000)]
Merged revisions 23705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23705 | kpfleming | 2006-04-30 10:46:22 -0500 (Sun, 30 Apr 2006) | 2 lines

remove a pointless comparison, since the buffer is smaller than the length being checked for

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23706 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix a libtonezone detection issue on FreeBSD
Russell Bryant [Sun, 30 Apr 2006 15:29:38 +0000 (15:29 +0000)]
fix a libtonezone detection issue on FreeBSD

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23704 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd a command-line flag and option to force forking, even with -v or -d
Kevin P. Fleming [Sun, 30 Apr 2006 14:55:05 +0000 (14:55 +0000)]
add a command-line flag and option to force forking, even with -v or -d
rename a flag to have the proper name

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23675 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23673 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 14:28:25 +0000 (14:28 +0000)]
Merged revisions 23673 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23673 | kpfleming | 2006-04-30 09:27:56 -0500 (Sun, 30 Apr 2006) | 2 lines

allow top-level OPTIMIZE setting to affect builds in these subdirectories too

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23674 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix up the app_rpt.o target. oops! (Thanks to Denis Smirnov on the -dev list)
Russell Bryant [Sun, 30 Apr 2006 14:12:14 +0000 (14:12 +0000)]
fix up the app_rpt.o target.  oops!  (Thanks to Denis Smirnov on the -dev list)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23672 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodocument the removal of MFC/R2 support
Kevin P. Fleming [Sun, 30 Apr 2006 14:10:48 +0000 (14:10 +0000)]
document the removal of MFC/R2 support

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23671 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove unusable MFC/R2 support
Kevin P. Fleming [Sun, 30 Apr 2006 14:09:13 +0000 (14:09 +0000)]
remove unusable MFC/R2 support

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23670 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore nword() usages, and mark some dubious places.
Luigi Rizzo [Sun, 30 Apr 2006 14:06:04 +0000 (14:06 +0000)]
more nword() usages, and mark some dubious places.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23669 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agointroduce a new frontend to npval for the very common case
Luigi Rizzo [Sun, 30 Apr 2006 13:57:08 +0000 (13:57 +0000)]
introduce a new frontend to npval for the very common case
of creating an object for a tring value PV_WORD.
Start using it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23638 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 13:56:37 +0000 (13:56 +0000)]
Merged revisions 23638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23638 | kpfleming | 2006-04-30 08:55:59 -0500 (Sun, 30 Apr 2006) | 2 lines

let the compiler determine whether hardware or software floating point should be used (like we do in the editline subdirectory)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23636 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 13:39:49 +0000 (13:39 +0000)]
Merged revisions 23636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23636 | kpfleming | 2006-04-30 08:38:22 -0500 (Sun, 30 Apr 2006) | 4 lines

remove extraneous -m64 flag that is not needed
(these are coming from Debian patches <G>)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoanother client for switchlist_block
Luigi Rizzo [Sun, 30 Apr 2006 12:46:15 +0000 (12:46 +0000)]
another client for switchlist_block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23615 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore merge of common blocks through intermediate rules.
Luigi Rizzo [Sun, 30 Apr 2006 12:44:54 +0000 (12:44 +0000)]
more merge of common blocks through intermediate rules.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23614 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake destroy_pval able to handle a NULL value
Luigi Rizzo [Sun, 30 Apr 2006 12:30:08 +0000 (12:30 +0000)]
make destroy_pval able to handle a NULL value
(the warning should be removed);
define a 'elements_block' rule to simplify some other rules
removing duplicated code - runtests seems happy with this.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23613 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove some commented-out code
Luigi Rizzo [Sun, 30 Apr 2006 12:14:33 +0000 (12:14 +0000)]
remove some commented-out code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify updating the token position markers
Luigi Rizzo [Sun, 30 Apr 2006 12:12:39 +0000 (12:12 +0000)]
simplify updating the token position markers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify CFLAGS handling for subdirectories
Kevin P. Fleming [Sun, 30 Apr 2006 11:40:06 +0000 (11:40 +0000)]
simplify CFLAGS handling for subdirectories
don't put paths into the include search path when they are not needed
don't auto-rebuild the AEL bison/flex output based on make dependencies (the generated files are already checked in, and the timestamps generated by a checkout will usually cause them to be overwritten)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23582 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23580 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 11:20:09 +0000 (11:20 +0000)]
Merged revisions 23580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23580 | kpfleming | 2006-04-30 06:19:04 -0500 (Sun, 30 Apr 2006) | 2 lines

ensure that the script output is correctly generated when the system's character set does not use the English lowercase/uppercase character groups

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23581 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore comments
Luigi Rizzo [Sun, 30 Apr 2006 09:24:04 +0000 (09:24 +0000)]
more comments

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23557 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocomment some code
Luigi Rizzo [Sun, 30 Apr 2006 09:06:28 +0000 (09:06 +0000)]
comment some code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23550 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove T38_SUPPORT define that is no longer needed
Kevin P. Fleming [Sun, 30 Apr 2006 08:47:47 +0000 (08:47 +0000)]
remove T38_SUPPORT define that is no longer needed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agowhen compiling ast_expr2 from utils/ the current directory
Luigi Rizzo [Sun, 30 Apr 2006 08:35:49 +0000 (08:35 +0000)]
when compiling ast_expr2 from utils/ the current directory
is utils/ so the compiler fails to find the header which is in ../
(at least on FreeBSD; this works on linux but it may be due to
differences in gmake).
For the time being, fix it by adding -I.. to the includes.
However i think a proper fix is to make sure that ast_expr2
is built using the rules in the top-level makefile instead
of those in the subdirectory.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23535 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore simplifications in the bison sources,
Luigi Rizzo [Sun, 30 Apr 2006 08:21:46 +0000 (08:21 +0000)]
more simplifications in the bison sources,
more annotation with XXX of dubious code.
(The code still passes tests)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23534 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove attribute checking... it was an attempt to support older GCC compilers but...
Kevin P. Fleming [Sun, 30 Apr 2006 06:50:53 +0000 (06:50 +0000)]
remove attribute checking... it was an attempt to support older GCC compilers but is not worth the effort :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23514 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove unneeded define - it is already in asterisk.h
Russell Bryant [Sun, 30 Apr 2006 05:27:57 +0000 (05:27 +0000)]
remove unneeded define - it is already in asterisk.h

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoconvert the dundi_request list to use the list macros
Russell Bryant [Sun, 30 Apr 2006 05:24:10 +0000 (05:24 +0000)]
convert the dundi_request list to use the list macros

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23493 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoconvert existing comments to doxygen format
Russell Bryant [Sun, 30 Apr 2006 05:15:53 +0000 (05:15 +0000)]
convert existing comments to doxygen format

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23492 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix indentation for this function
Russell Bryant [Sun, 30 Apr 2006 05:09:34 +0000 (05:09 +0000)]
fix indentation for this function

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23491 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoimmediately handle ast_strdupa result so that one more level of indentation
Russell Bryant [Sun, 30 Apr 2006 05:07:52 +0000 (05:07 +0000)]
immediately handle ast_strdupa result so that one more level of indentation
can be removed from this function

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23490 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix the indentation of a large block
Russell Bryant [Sun, 30 Apr 2006 05:06:14 +0000 (05:06 +0000)]
fix the indentation of a large block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23489 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agohandle a memory allocation failure immediately so the following large block
Russell Bryant [Sun, 30 Apr 2006 05:02:07 +0000 (05:02 +0000)]
handle a memory allocation failure immediately so the following large block
does not have to be indented

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23480 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert the list of dundi mappings to use the list macros
Russell Bryant [Sun, 30 Apr 2006 04:59:36 +0000 (04:59 +0000)]
- convert the list of dundi mappings to use the list macros
- change an instance of malloc+memset to use ast_calloc, instead

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23468 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse the INSTALL variable instead of "install" directly
Russell Bryant [Sun, 30 Apr 2006 04:34:04 +0000 (04:34 +0000)]
use the INSTALL variable instead of "install" directly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23467 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agochange a list traversal to use a for loop
Russell Bryant [Sun, 30 Apr 2006 04:28:47 +0000 (04:28 +0000)]
change a list traversal to use a for loop

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23466 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix the indentation of a large block of code
Russell Bryant [Sun, 30 Apr 2006 04:26:11 +0000 (04:26 +0000)]
fix the indentation of a large block of code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23465 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoimmediately handle a memory allocation failure so the rest of the function
Russell Bryant [Sun, 30 Apr 2006 04:23:09 +0000 (04:23 +0000)]
immediately handle a memory allocation failure so the rest of the function
doesn't have to be indented (indentation still to be fixed)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23464 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert some comments to doxygen format
Russell Bryant [Sun, 30 Apr 2006 04:20:20 +0000 (04:20 +0000)]
- convert some comments to doxygen format
- convert the list of dundi peers to use the list macros
- convert a use of malloc+memset to use ast_calloc

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23463 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadded an up-queue message mechanism to avoid buffer fillups in the kernel, also chang...
Christian Richter [Sat, 29 Apr 2006 22:56:00 +0000 (22:56 +0000)]
added an up-queue message mechanism to avoid buffer fillups in the kernel, also changed some strdups to ast_strdupa

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23443 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agorevert the last change to this Makefile which removed the rules to build
Russell Bryant [Sat, 29 Apr 2006 19:26:53 +0000 (19:26 +0000)]
revert the last change to this Makefile which removed the rules to build
app_apt.  These rules *are* needed beacause this module uses libtonezone,
so it needs this information from autoconf in case it is located in a
non-standard location.  Also, without it, app_rpt.so would not be linked
with libtonezone at all.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23422 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove now useless rule for app_rpt (bug 7059)
Luigi Rizzo [Sat, 29 Apr 2006 18:22:08 +0000 (18:22 +0000)]
remove now useless rule for app_rpt (bug 7059)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23402 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agooops, i modified the Makefile isntead of Makefile.in
Russell Bryant [Sat, 29 Apr 2006 15:44:02 +0000 (15:44 +0000)]
oops, i modified the Makefile isntead of Makefile.in

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23382 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- the configure script should never be regenerated for mxml
Russell Bryant [Sat, 29 Apr 2006 15:34:33 +0000 (15:34 +0000)]
- the configure script should never be regenerated for mxml
- also remove an unneeded .cvsignore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23381 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoand now with the correct filenames
Kevin P. Fleming [Sat, 29 Apr 2006 15:31:45 +0000 (15:31 +0000)]
and now with the correct filenames
add basic support for checking for C compiler attribute support

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23380 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd the other two files that should have been on this target... oops
Kevin P. Fleming [Sat, 29 Apr 2006 15:15:21 +0000 (15:15 +0000)]
add the other two files that should have been on this target... oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23378 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd aelparse to svn:ignore
Russell Bryant [Sat, 29 Apr 2006 15:07:16 +0000 (15:07 +0000)]
add aelparse to svn:ignore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23376 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoa bunch of conversion to ast_channel_*lock (issue #7058)
Russell Bryant [Sat, 29 Apr 2006 14:50:18 +0000 (14:50 +0000)]
a bunch of conversion to ast_channel_*lock (issue #7058)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23355 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix up dependencies for aelparse so that bison/flex will not be run to rebuild source...
Kevin P. Fleming [Sat, 29 Apr 2006 14:48:32 +0000 (14:48 +0000)]
fix up dependencies for aelparse so that bison/flex will not be run to rebuild source files (that should _only_ be done manually)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23354 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoif the "action-if-found" is left empty, AC_CHECK_LIB will add a default result
Russell Bryant [Sat, 29 Apr 2006 13:32:38 +0000 (13:32 +0000)]
if the "action-if-found" is left empty, AC_CHECK_LIB will add a default result
instead which can break things in the rest of the script (issue #7043)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23335 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert lists to use linked list macros
Russell Bryant [Sat, 29 Apr 2006 13:15:05 +0000 (13:15 +0000)]
- convert lists to use linked list macros
- instead of allocating a frame on the stack every time the music on hold
  generator is called, put a frame in the mohdata structure.  Also, initialize
  the parts of the frame that will never change when the mohdata struct is
  allocatted and only change the necessary parts in the generator function.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23334 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 23305 via svnmerge from
Kevin P. Fleming [Sat, 29 Apr 2006 11:42:31 +0000 (11:42 +0000)]
Merged revisions 23305 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23305 | kpfleming | 2006-04-29 06:40:04 -0500 (Sat, 29 Apr 2006) | 3 lines

do installation in subdirs as a separate target (so external modules can use the Makefile more easily)
generate final messages -after- running any post-install script that may be present

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23306 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- don't create duplicate log messages
Russell Bryant [Sat, 29 Apr 2006 05:02:17 +0000 (05:02 +0000)]
- don't create duplicate log messages
- note when the data part of the tech/data pair is missing not only when using
  the app version, but the exten version as well
- instead of logging syntax errors, just output them to the CLI

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23284 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd reload() (bug 9981)
Luigi Rizzo [Sat, 29 Apr 2006 04:55:47 +0000 (04:55 +0000)]
add reload() (bug 9981)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23273 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agopartial adaptation to the new module loading
Luigi Rizzo [Sat, 29 Apr 2006 04:54:05 +0000 (04:54 +0000)]
partial adaptation to the new module loading
(not sure if it compiles, partly inspired by #9981 but
with adaptations)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23272 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd a small optimization for deleting all the members of a list
Russell Bryant [Sat, 29 Apr 2006 04:13:07 +0000 (04:13 +0000)]
add a small optimization for deleting all the members of a list

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert the list of zones to use the list macros, and add locking (issue #7027...
Russell Bryant [Sat, 29 Apr 2006 01:05:13 +0000 (01:05 +0000)]
- convert the list of zones to use the list macros, and add locking (issue #7027, with mods)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23250 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomove the "show version" CLI command from cli.c to asterisk.c so that only one
Russell Bryant [Sat, 29 Apr 2006 00:15:28 +0000 (00:15 +0000)]
move the "show version" CLI command from cli.c to asterisk.c so that only one
file depends on version.h, and thus, only one file has to be rebuilt when
version.h gets regenerated (issue #6942)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23229 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosupport "make distclean" as well as "make dist-clean" for the picky people
Russell Bryant [Fri, 28 Apr 2006 17:39:54 +0000 (17:39 +0000)]
support "make distclean" as well as "make dist-clean" for the picky people

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23208 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix spelling typo -- what's a Diaplan?
Russell Bryant [Fri, 28 Apr 2006 17:17:46 +0000 (17:17 +0000)]
fix spelling typo -- what's a Diaplan?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23207 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix sending the group numbers for a sip peer over the manager interface
Russell Bryant [Fri, 28 Apr 2006 16:50:32 +0000 (16:50 +0000)]
fix sending the group numbers for a sip peer over the manager interface
(issue #7046)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23178 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agonote that group assignments must be from 0 to 63 (issue #7048)
Russell Bryant [Fri, 28 Apr 2006 16:42:42 +0000 (16:42 +0000)]
note that group assignments must be from 0 to 63 (issue #7048)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23177 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agowhitespace - format the source in a more readable way;
Luigi Rizzo [Fri, 28 Apr 2006 16:39:25 +0000 (16:39 +0000)]
whitespace - format the source in a more readable way;
On passing, define the macros as do {... } while (0) to
be free of unwanted side effects.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23175 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake the 'runtest' filter less strict on line numbers.
Luigi Rizzo [Fri, 28 Apr 2006 15:51:31 +0000 (15:51 +0000)]
make the 'runtest' filter less strict on line numbers.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23154 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify handling of line numbers
Luigi Rizzo [Fri, 28 Apr 2006 15:42:13 +0000 (15:42 +0000)]
simplify handling of line numbers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix last known bug in computing columb numbers in error messages
Luigi Rizzo [Fri, 28 Apr 2006 15:33:05 +0000 (15:33 +0000)]
fix last known bug in computing columb numbers in error messages

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23152 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix a bug in computing line numbers
Luigi Rizzo [Fri, 28 Apr 2006 15:24:30 +0000 (15:24 +0000)]
fix a bug in computing line numbers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23151 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- fix miscalculation in column numbers when multiple tabs
Luigi Rizzo [Fri, 28 Apr 2006 14:17:03 +0000 (14:17 +0000)]
- fix miscalculation in column numbers when multiple tabs
  or empty lines are involved;
- change linku1() to return the head of the list (unused at the moment);
- ignore the source line number in runtests as they change with the
  source and cause mismatches in the comparison with the reference output.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23130 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agolast batch of npval -> npval2 changes
Luigi Rizzo [Fri, 28 Apr 2006 11:20:21 +0000 (11:20 +0000)]
last batch of npval -> npval2 changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23109 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore npval -> npval2 changes
Luigi Rizzo [Fri, 28 Apr 2006 10:06:10 +0000 (10:06 +0000)]
more npval -> npval2 changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agominor cleanup
Luigi Rizzo [Fri, 28 Apr 2006 06:40:40 +0000 (06:40 +0000)]
minor cleanup

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23067 65c4cc65-6c06-0410-ace0-fbb531ad65f3