]>
git.ipfire.org Git - thirdparty/asterisk.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Luigi Rizzo [Fri, 28 Apr 2006 06:26:27 +0000 (06:26 +0000)]
more npval -> npval2 conversions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23066
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 28 Apr 2006 00:59:30 +0000 (00:59 +0000)]
remove this option for now, because it can only be enabled when
optimizations aren't being used
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23037
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 27 Apr 2006 21:26:24 +0000 (21:26 +0000)]
add STACK_BACKTRACES to the CFLAGS selectable in menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23012
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 21:09:52 +0000 (21:09 +0000)]
fix destructor for pval objects (thanks to Steve Murphy);
rearrange initial part of ael.flex for flexibility.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23011
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 27 Apr 2006 20:34:48 +0000 (20:34 +0000)]
when doing the checks necessary for chan_phone, look for all of the linux
headers it uses, not just ixjuser.h (issue #7049, different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22990
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 20:23:49 +0000 (20:23 +0000)]
always call the destructor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22989
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 20:08:42 +0000 (20:08 +0000)]
document variable and options used.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22988
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 19:51:59 +0000 (19:51 +0000)]
document options, move objects of the same type close to
each other so it is evident what they are.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22958
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 19:29:14 +0000 (19:29 +0000)]
slightly restructure a block to reduce nesting,
mark some missing error checks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22957
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 27 Apr 2006 19:14:59 +0000 (19:14 +0000)]
Blocked revisions 22954 via svnmerge
........
r22954 | file | 2006-04-27 16:11:47 -0300 (Thu, 27 Apr 2006) | 2 lines
Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22956
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 19:14:07 +0000 (19:14 +0000)]
imore npval -> npval2 conversions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22955
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 27 Apr 2006 18:57:45 +0000 (18:57 +0000)]
dont free unallocated block ,and dont close a fd
we never opened. bug #7045
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22933
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 27 Apr 2006 18:53:47 +0000 (18:53 +0000)]
allows for chan_zap to have all channels reloaded
via zap restart patch from bug 6955
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22932
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 27 Apr 2006 18:51:45 +0000 (18:51 +0000)]
Add option 'I' which allows you to record your name, but not review it. This rocks! (issue #7037 reported by jon with minor mods done by moi)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22931
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 18:26:37 +0000 (18:26 +0000)]
more npval2 replacement, mark XXX dubious arguments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22930
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 18:18:12 +0000 (18:18 +0000)]
more npval -> npval2 replacement, and a fix for a likely
bug (marked XXX)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22929
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 18:09:20 +0000 (18:09 +0000)]
introduce a simplified interface for npval and start using it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22928
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 17:59:09 +0000 (17:59 +0000)]
formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22906
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 27 Apr 2006 17:53:52 +0000 (17:53 +0000)]
Change channel locking to API, nifty janitor project. (issue #7039 reported by Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22905
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 27 Apr 2006 17:52:12 +0000 (17:52 +0000)]
- add missing IXJUSER to menuselect-deps.in
- don't check for a private function when looking for nbs
- fix the path to ixjuser.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22904
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 17:43:49 +0000 (17:43 +0000)]
use ast_calloc for memory allocations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22903
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 27 Apr 2006 17:39:55 +0000 (17:39 +0000)]
fix a couple of bugs in arguments to npval
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22902
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3