dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

537 Commits

Author SHA1 Message Date
russell ddb0e59eb0 - specify that 'depend' is a .PHONY target
- use separate targets instead of a for loop for doing 'make depend' for
  each sub directory


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:08:08 +00:00
russell 0bb78235cb - specify that 'all' is a .PHONY target
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
  by the main Makefile already


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 14:09:18 +00:00
russell b70a7c6a7c add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets.  Using .PHONY in this manner improves make
performance by never having to check for resulting files.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 11:27:03 +00:00
russell 31fff75d63 don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
is valid in some cases, such as "make clean".


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34738 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19 00:14:16 +00:00
russell 0851906c83 merge changes from team/murf/AEL-trunk-fixesonly
- fix callerid matching for extensions
 - fix nested switch statements
 - fix compilation with bison 2.1a or higher
(issue #7309)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34665 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-18 21:36:24 +00:00
russell c521e83995 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
already calls "make depend" for each of the subdirectories


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34497 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 16:54:00 +00:00
russell f352569f79 don't use ast_copy_string when building for an external tool
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:41:34 +00:00
russell 44ee84a182 convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:34:48 +00:00
kpfleming 926f67f682 various minor portability fixes (mostly from tholo for OpenBSD)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 20:26:25 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell 745248fa58 remove the need to have to re-run make after a default menuselect.makeopts
file is generated.  This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 16:03:31 +00:00
kpfleming bb0b421ea8 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 20:46:27 +00:00
kpfleming dd10dd3b7a it's time... only enable global priority jumping if the config file says to do so
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 14:00:13 +00:00
file be0f7def4c Add Archive option to call files and add documentation on them. (issue #5426 reported by ezio - props to blitzrage for proof reading the documentation)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30299 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 17:58:55 +00:00
russell 379b206f6b on a clean, we have to clean out the ael directory too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29731 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 17:09:51 +00:00
russell da313b1c57 Make the new behavior where the timestamp is checked on the call file before
deleting it optional, defaulting to the old behavior, where it is always
deleted (issue #6750, jcollie)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 22:51:44 +00:00
russell d7bcf1c25c only delete call files if the timestamp on the file is not in the future, so
that a call file can be reused (issue #6750, patch by moy, committed patch is
slightly simplified)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28705 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 17:25:52 +00:00
rizzo 941aace414 change macro into a function, remove unused code.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26656 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 21:55:25 +00:00
rizzo 189f0cfda2 start cleanup indentation etc.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26655 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 21:12:55 +00:00
russell d99b677f35 remove almost all of the checks of the result from ast_strdupa() or alloca().
As it turns out, all of these checks were useless, because alloca will never
return NULL.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
kpfleming f1898a71f1 various doxygen fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 16:24:07 +00:00
bweschke 0c3d4f7959 use pid_t instead of long for pid variables. #7099 (casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25488 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 12:32:44 +00:00
russell 6c10810c56 - use ast_calloc instead of malloc+memset
- conver one malloc to ast_malloc


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25356 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-07 15:19:13 +00:00
rizzo 89c5a63088 more simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24460 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 17:07:56 +00:00
rizzo af3527e67d consistent rule for goto...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24431 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:58:16 +00:00
rizzo 35c0f353a2 remove another useless nonterminal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24430 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:46:55 +00:00
rizzo 5fbd74dfef remove a useless nonterminal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24429 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:38:50 +00:00
rizzo bc6ca5127d more simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24428 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:37:14 +00:00
rizzo cb2e7e5fe0 remove more shift-reduce conflicts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24427 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:34:31 +00:00
rizzo fb458f5cf7 remove a redundant rule
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24426 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:33:00 +00:00
rizzo 34daabde85 reduce shift/reduce warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24425 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:28:48 +00:00
rizzo d9a549e560 simplify case_statements
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24424 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:12:31 +00:00
rizzo 088b8e75cf switch statement in one place
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:08:35 +00:00
rizzo f2f9525d91 common syntax for context name
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 16:00:49 +00:00
rizzo cf5362948b another instance of context name
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24344 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 20:50:18 +00:00
rizzo 4771c6238d fix a bug previously introduced in the handling of timespec.
Fortunately we have regression tests!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24343 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 20:44:56 +00:00
rizzo 70b436e197 simplify case statements
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24341 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 20:18:02 +00:00
rizzo 35a2caa607 one more instance of assignment
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24340 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 20:13:58 +00:00
rizzo 863c65f310 global_statement is really an assignment statement
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 20:11:24 +00:00
rizzo 62c2fd849e expressions used in if, while, switch are all of the same kind
(it remains to see why 'random' gives 16 shift/reduce conflicts...)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24292 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 19:17:49 +00:00
rizzo d0683971e0 macro statements can be empty
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24258 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 18:51:33 +00:00
rizzo ef483c5c9f empty arglists are valid
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24257 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 18:48:47 +00:00
rizzo ffd1bcd9f3 rename the rule for context names properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24256 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 18:45:18 +00:00
rizzo 40d3c6b9b2 simplify handling of 'include' lists
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 18:41:57 +00:00
rizzo 336d560b5b ... and use a single rule for timespec
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24254 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 18:33:15 +00:00
rizzo 9e5769ac19 use a single rule to parse timeranges hh:mm-hh:mm
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24252 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 18:23:41 +00:00
rizzo ef8ba06c68 if/ifTime/random statements are all the same thing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 18:08:27 +00:00
rizzo 634d0379f7 includedname is just a regular word_or_default name,
no need for a separate nonterminal


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24219 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 17:58:57 +00:00
rizzo 533cd5d2f5 remove useless 'extern' declaration
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24216 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 17:37:33 +00:00
rizzo ff3229d132 remove some unneeded local variables.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 14:27:19 +00:00
rizzo e2130b6ab3 more usage of nword(). I think the references to source
line/columns are also correct now.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24175 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 14:25:01 +00:00
rizzo f087b9e8e2 more simplifications involving linku1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24174 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 14:12:01 +00:00
rizzo 7bccde50c6 correct linku1() to handle the case tail = NULL correctly.
Now the function can be used to simplify other conditional blocks.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24173 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 14:08:18 +00:00
russell 0d37c9585d staticize the list heads from my recent conversions to list macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24139 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 04:40:09 +00:00
russell f2062e9c84 The build of aelparse was still broken in some cases, so instead of having to
keep figuring out workarounds for build issues on various platforms, just go
ahead and remove what started all of this.  Two instances of ast_calloc have
been changed to calloc in pbx/ael/ael.y.

ast_copy_string isn't actually needed here because the only place it is used is
in ast_expr2f.c.  However, the utils Makefile already builds its own
ast_expr2f.o with -DSTANDALONE, which makes it use strncpy instead of
ast_copy_string.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24115 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 03:03:27 +00:00
tilghman 56d7229005 Bug 7062 - Rename ael2 CLI commands to ael
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 22:07:18 +00:00
russell 53b65775fb - 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: http://svn.digium.com/svn/asterisk/trunk@23831 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 01:26:37 +00:00
russell adbff042de conver the lists of dundi packets to use the list macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23810 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 00:56:04 +00:00
russell 6e0ff9169d - convert the dundi precache list to use the list macros
- change an instance of malloc+memset to ast_calloc


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23808 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 00:33:24 +00:00
rizzo 31362c2aec more simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23807 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 00:31:47 +00:00
rizzo 76542d50f3 always trim the trailing ';'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 00:27:27 +00:00
rizzo f657c7d759 comment usage of contexts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 00:20:11 +00:00
rizzo eac1edd58f fix dereferencing freed memory
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23795 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 00:02:12 +00:00
rizzo e3c71666dd 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: http://svn.digium.com/svn/asterisk/trunk@23783 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 23:53:22 +00:00
rizzo 1058940398 put back some simplifications, this time really tested
(ael_lex.c manually deleted, runtest passed)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23782 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 23:31:43 +00:00
rizzo 2746adf5a3 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: http://svn.digium.com/svn/asterisk/trunk@23781 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 23:21:49 +00:00
rizzo 1559c47a4f another small set of simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23780 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 23:04:58 +00:00
russell 276acd2890 - convert the lists of dundi_transactions to the list macros
- remove an unused variable, keypending, from the dundi_peer struct


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23769 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 23:01:50 +00:00
rizzo eb6ab4720c simplify logic (runtest passed).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23758 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 22:56:41 +00:00
rizzo fce5938ee4 more nword() usages, and mark some dubious places.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23669 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 14:06:04 +00:00
rizzo 00e4b7e562 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: http://svn.digium.com/svn/asterisk/trunk@23640 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 13:57:08 +00:00
rizzo 8dba0c2ad5 another client for switchlist_block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 12:46:15 +00:00
rizzo 68f13a13c7 more merge of common blocks through intermediate rules.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23614 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 12:44:54 +00:00
rizzo 52268e0664 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: http://svn.digium.com/svn/asterisk/trunk@23613 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 12:30:08 +00:00
rizzo c5049bbee1 remove some commented-out code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23612 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 12:14:33 +00:00
rizzo 061c47780e simplify updating the token position markers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23611 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 12:12:39 +00:00
kpfleming 7313590690 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: http://svn.digium.com/svn/asterisk/trunk@23582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 11:40:06 +00:00
rizzo ee42775399 more comments
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23557 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 09:24:04 +00:00
rizzo 79b955ea61 comment some code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23550 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 09:06:28 +00:00
rizzo 27f2b805b2 more simplifications in the bison sources,
more annotation with XXX of dubious code.
(The code still passes tests)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23534 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 08:21:46 +00:00
russell d419dcffbb remove unneeded define - it is already in asterisk.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23494 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:27:57 +00:00
russell 42ab0b1445 convert the dundi_request list to use the list macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23493 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:24:10 +00:00
russell 06ccc3d745 convert existing comments to doxygen format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:15:53 +00:00
russell 658212c4a2 fix indentation for this function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23491 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:09:34 +00:00
russell ed1caa71f4 immediately handle ast_strdupa result so that one more level of indentation
can be removed from this function


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23490 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:07:52 +00:00
russell 4a493cac7d fix the indentation of a large block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23489 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:06:14 +00:00
russell a1c748420c handle a memory allocation failure immediately so the following large block
does not have to be indented


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23480 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:02:07 +00:00
russell 4fba9b433c - 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: http://svn.digium.com/svn/asterisk/trunk@23468 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:59:36 +00:00
russell 7c173e8b7d change a list traversal to use a for loop
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23466 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:28:47 +00:00
russell d4a3a827cb fix the indentation of a large block of code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23465 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:26:11 +00:00
russell 5f70bde331 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: http://svn.digium.com/svn/asterisk/trunk@23464 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:23:09 +00:00
russell 211ac379f1 - 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: http://svn.digium.com/svn/asterisk/trunk@23463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:20:20 +00:00
russell 8dc07ce85e add a small optimization for deleting all the members of a list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23271 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 04:13:07 +00:00
rizzo e165a9c6b9 make the 'runtest' filter less strict on line numbers.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:51:31 +00:00
rizzo 4b4456cf10 simplify handling of line numbers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:42:13 +00:00
rizzo e00ea05cea fix last known bug in computing columb numbers in error messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23152 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:33:05 +00:00
rizzo 859a7936e1 fix a bug in computing line numbers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23151 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:24:30 +00:00
rizzo 5a2411d0df - 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: http://svn.digium.com/svn/asterisk/trunk@23130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 14:17:03 +00:00
rizzo 06c0629cdc last batch of npval -> npval2 changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23109 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 11:20:21 +00:00
rizzo 37f396a2c1 more npval -> npval2 changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 10:06:10 +00:00
rizzo 8d0224e1fa more npval -> npval2 conversions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 06:26:27 +00:00
rizzo 64087d59b3 fix destructor for pval objects (thanks to Steve Murphy);
rearrange initial part of ael.flex for flexibility.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23011 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 21:09:52 +00:00
rizzo 33978b8dad always call the destructor
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 20:23:49 +00:00
rizzo ad431d039d document variable and options used.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 20:08:42 +00:00
rizzo 98e3db96a7 document options, move objects of the same type close to
each other so it is evident what they are.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22958 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 19:51:59 +00:00
rizzo 1fae650d42 slightly restructure a block to reduce nesting,
mark some missing error checks



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22957 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 19:29:14 +00:00
rizzo 1d7939dc55 imore npval -> npval2 conversions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22955 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 19:14:07 +00:00
rizzo eef97cc6b4 more npval2 replacement, mark XXX dubious arguments
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22930 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 18:26:37 +00:00
rizzo 377da00caf more npval -> npval2 replacement, and a fix for a likely
bug (marked XXX)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22929 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 18:18:12 +00:00
rizzo c4484da6b0 introduce a simplified interface for npval and start using it
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22928 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 18:09:20 +00:00
rizzo cdd3c42dda formatting fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22906 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:59:09 +00:00
rizzo b3bf9462b4 use ast_calloc for memory allocations
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22903 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:43:49 +00:00
rizzo 6378d5405a fix a couple of bugs in arguments to npval
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22902 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:39:55 +00:00
rizzo f61c9a3779 remove some commented-out code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22901 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:16:41 +00:00
rizzo 9558688d60 finish packing yylloc into macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22900 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:10:15 +00:00
rizzo c57318b3f1 add some comments to the code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:00:09 +00:00
rizzo 4c3d554f4f more formatting cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22868 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 16:40:25 +00:00
rizzo c5bf7f5572 more dup removal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22844 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 11:43:34 +00:00
rizzo a025f2e456 more duplicate removal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22843 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 11:34:44 +00:00
rizzo 80c2929289 remove duplicated code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 11:20:26 +00:00
rizzo e06b5cef42 staticize c_prevword()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 10:13:39 +00:00
rizzo 93dded1d19 more indentation fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 08:37:40 +00:00
rizzo bb2e30b629 use asprintf instead of malloc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22797 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 08:31:18 +00:00
rizzo 3c05744de4 more formatting cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22796 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 08:24:00 +00:00
rizzo 5404b09fba more indentation fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22772 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 06:44:38 +00:00
rizzo 2ca27fb8e2 more formatting cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22750 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 02:29:32 +00:00
rizzo 38a10ed86b cleanup formatting to emphsize common code blocks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22730 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 02:00:35 +00:00
rizzo 60df902cc1 move similar blocks close to each other to make similarities
more evident



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22727 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 01:35:52 +00:00
rizzo e1712dc54e normalize and simplify the code for keeping track of line and column number.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22726 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 01:27:07 +00:00
rizzo 1808e784cb define some flex constants for character sets.
partly fix indentation and normalize code layout.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22725 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 01:07:24 +00:00
rizzo d87a3b0d91 uncomment some functions in the flex code that were actually
used in the bison code - detected by making aelparse compile
again.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 00:05:05 +00:00
rizzo 127c8f0535 use \t to indicate a tab, and fix indentation for
the whitespace-handling rules



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22680 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 23:36:05 +00:00
rizzo 4d578ce209 remove common blocks of code with a macro (waiting for a better
solution).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22679 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 23:18:03 +00:00
rizzo cbb21c8e36 staticize some variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 23:08:47 +00:00
rizzo f2d3571c41 comment behaviour of pbcwhere in preparation for its use
in more places.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22656 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 22:56:18 +00:00
rizzo 3a16c3d072 include/asterisk/ael_structs.h:
- protect against multiple includes of ael_structs.h
  - remove prototypes for unused or undeclared functions

pbx/ael/ael.y
  - staticize functions as appropriate
  - constify arguments
  - remove useless extern

pbx/ael/ael.flex
  - ifdef out unused functions

pbx/pbx_ael.c
  - constify some variables and arguments
  - ifdef out unused functions
  - staticize functions as appropriate

update generated files accordingly 



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 22:41:16 +00:00
rizzo cc65f7202c whitespace-only change:
partly fix indentation/formatting of the bison source,
and of the generated file



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 18:43:29 +00:00
rizzo 9f8d8e1a8c whitespace-only change:
fix formatting and indentation of the flex file,
and regenerate the ael_lex.c



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 18:40:09 +00:00
kpfleming 74df229c6c don't rely on default search paths for finding local include files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22438 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-25 18:29:02 +00:00
rizzo 6f82474a89 wrong path in include file.
Maybe it compiled on some platform because of extra -I
statements in the Makefiles.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22414 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-25 17:08:41 +00:00
rizzo 62f50212c0 fix variable declaration in the middle of a block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22413 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-25 17:06:37 +00:00
kpfleming 6baa8fbab8 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:41:27 +00:00
kpfleming 29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo 3664249356 This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming 88396ce2e3 Merged revisions 19345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19345 | kpfleming | 2006-04-11 16:14:42 -0500 (Tue, 11 Apr 2006) | 2 lines

don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19346 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 21:18:27 +00:00
kpfleming e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
rizzo 6976601d47 whitespace and formatting fix postponed from last commit:
fix indentation of a large function, localize some variables
and add/remove whitespace where needed.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17827 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 14:40:47 +00:00
rizzo 865e3d129b split pbx_load_module so we can reduce the indentation depth.
Also convert to MOD_1 style.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17825 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 14:23:37 +00:00
rizzo 218ae95065 use FREE instead of free as pointer to the destructor function.
This way the MALLOC_DEBUG code will always get the correct argument.

(bug introduced in SVN15818)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17824 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 14:02:19 +00:00
tilghman e0ba99b7f5 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
rizzo 2ddc55345a fix formatting
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16640 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 09:53:05 +00:00
rizzo 80b72c84c1 minor code simplifications - no need to use temporary
variables.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16639 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 09:50:54 +00:00
rizzo c977f70f81 as discussed with Mark a few weeks ago, the 'newstack' argument
in pbx_exec is always 1 so it can be removed.

This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16558 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 21:29:39 +00:00
oej 895046a666 Whitespace fix forgotten by someone who added a note about needing to fix this...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16234 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29 20:08:14 +00:00
rizzo cc0506a672 as reported in mantis #6066, fix a bunch of cli bugs and
inconsistencies.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15818 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 22:44:55 +00:00
russell e4c28d165d Merged revisions 15658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15658 | russell | 2006-03-28 13:09:05 -0500 (Tue, 28 Mar 2006) | 2 lines

fix the order in which for loops are expanded (issue #6810)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15659 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 18:13:53 +00:00
rizzo 5e75d18d31 - remove an unnecessary cast and recomputation of (timeout - now);
- remove useless recomputations of strlen(word) in a loop, and
  normalize the form of complete_peer_helper();
- move LOCAL_USER_ADD() to after the verification of arguments,
  thus removing the need for one LOCAL_USER_REMOVE() call.

The three chunks of the patch are fully disjoint.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15581 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 15:19:32 +00:00
oej 45d29914cc Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-24 10:50:43 +00:00
oej 5d7fbc4b1e Update to trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-24 10:17:40 +00:00
kpfleming 9c4950dff3 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
update pbx_dundi to use ast_get_time_t
eliminate some compiler warnings


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 17:13:57 +00:00
markster efb2e34d29 Fix a few compile warnings (turned errors) and disable -Werror on the
normal build.  If people want this they can turn it on, and don't anyone 
turn it on by default until you fix building on GCC 4.x


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 04:38:38 +00:00
russell c72e5e1b38 remove the uses of the deprecated STANDARD_LOCAL_USER
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 20:11:56 +00:00
russell 4c6776c6d7 remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-13 20:12:50 +00:00
kpfleming e217105bfc ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 16:52:42 +00:00
kpfleming 5d9ed5739a major dialplan functions update
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 04:28:58 +00:00
russell 29c48e23e2 Merged revisions 9609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines

fix memory leak from not destroying the scheduler context on module unload

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 19:31:11 +00:00
russell 0a0b84d8de Merged revisions 9581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r9581 | russell | 2006-02-11 13:15:00 -0500 (Sat, 11 Feb 2006) | 2 lines

now that CDR is a loadable module, don't depend on it elsewhere (issue #6460)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 18:31:59 +00:00
kpfleming 64cdc6493a use auto-build for pbx modules
correct install variable for format modules


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9568 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 17:48:44 +00:00
mogorman 4ef13bdcda Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 18:39:41 +00:00
russell c6643537f1 constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18 22:17:31 +00:00
kpfleming 8723f63be1 remove some more deprecated (pre-1.2) stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8157 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 23:45:05 +00:00
russell a1447ba856 remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:51:35 +00:00
tilghman 1a5a52c68b Merged revisions 7908 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7909 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-09 20:12:07 +00:00
tilghman 80163cc68b Merged revisions 7848 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7849 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 07:31:08 +00:00
tilghman 06a8b57c0c Merged revisions 7831 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-06 00:36:12 +00:00
russell ac9d70ac12 Merged revisions 7634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines

cast time_t to an int in printf/scanf (issue #5635)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7635 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26 18:35:28 +00:00
tilghman 70141a02c7 Merged revisions 7577 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7578 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-21 19:24:56 +00:00
russell cfb1ef4712 convert most of the option_*'s to a single ast_flags structure. Also, fix some
formatting, remove some unnecessary casts, and other little code cleanups.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04 20:40:46 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming 6c54a7cf87 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:09:49 +00:00
twisted c7fb2d8749 Make conform to coding guidelines... thanks drumkilla :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7145 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-20 10:32:28 +00:00
twisted 398581f321 issue #5806
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-20 06:59:42 +00:00
kpfleming 18013517e4 issue #5761
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7113 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16 17:16:23 +00:00
russell 8acbf04043 finish merging doxygen updates from issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14 19:00:38 +00:00
markster a6c125b59e Never call load_module / unload_module
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7093 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-13 02:19:14 +00:00
kpfleming 0406912cf9 issue #5354
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7060 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 00:14:13 +00:00
kpfleming 99e5289a45 issue #5701
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7055 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:28:55 +00:00
russell 465d1d7712 make app_queue 1.2 jump compliant (issue #5580)
add missing includes of stdio.h
remove some unused and duplicate headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:48:00 +00:00
kpfleming df706a8900 issue #5648
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 01:55:31 +00:00
russell d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
kpfleming 4d4023555b issue #4678
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:53:30 +00:00
kpfleming 3b5ed22f12 fix various bugs related to list handling of channel variables (issue #5548)
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6900 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 15:34:11 +00:00
russell db653f9eb1 use ast_skip_blanks in pbx_ael
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6861 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 18:03:44 +00:00
russell 2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
russell ce9ca3a713 clean up DUNDiLookup application
implement 'b' option to bypass DUNDi cache for the lookup
add DUNDILOOKUP dialplan function to eventually replace the application
mark DUNDiLookup application as deprecated
don't register all of the DUNDi goodies until after everything has initialized


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6825 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 21:03:49 +00:00
kpfleming 3f7ec7e310 fix typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 20:48:34 +00:00
kpfleming ceb4041960 ensure that priorityjumping option returns to its default during reload if it is no longer specified in extensions.conf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6771 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 22:55:28 +00:00
markster f99e92a6b6 Fix ael if, while, else (bug #5370)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6756 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 15:36:29 +00:00
markster 0bcc41da75 Back out improper freeing of variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6751 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-12 20:18:13 +00:00
russell 31fbdff1d7 allow semicolons to be escaped in call files (issue #5407)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6742 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-11 20:52:37 +00:00