aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
AgeCommit message (Collapse)AuthorFilesLines
2006-05-10change macro into a function, remove unused code.rizzo1-53/+56
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26656 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10start cleanup indentation etc.rizzo1-33/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26655 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-2/+1
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-09various doxygen fixeskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 use pid_t instead of long for pid variables. #7099 (casper)bweschke1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25488 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-07- use ast_calloc instead of malloc+memsetrussell1-11/+6
- conver one malloc to ast_malloc git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25356 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03more simplificationsrizzo2-398/+391
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24460 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03consistent rule for goto...rizzo2-265/+264
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24431 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03remove another useless nonterminalrizzo2-609/+590
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24430 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03remove a useless nonterminalrizzo2-419/+399
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24429 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03more simplificationsrizzo2-219/+211
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24428 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03remove more shift-reduce conflictsrizzo2-207/+195
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24427 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03remove a redundant rulerizzo2-495/+459
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24426 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03reduce shift/reduce warningsrizzo2-573/+552
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24425 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03simplify case_statementsrizzo2-467/+446
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24424 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03switch statement in one placerizzo2-298/+300
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03common syntax for context namerizzo2-308/+292
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02another instance of context namerizzo2-309/+296
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24344 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02fix a bug previously introduced in the handling of timespec.rizzo2-6/+6
Fortunately we have regression tests! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24343 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02simplify case statementsrizzo2-307/+305
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24341 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02one more instance of assignmentrizzo2-452/+440
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24340 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02global_statement is really an assignment statementrizzo2-579/+563
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02expressions used in if, while, switch are all of the same kindrizzo2-617/+613
(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-02macro statements can be emptyrizzo2-560/+559
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24258 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02empty arglists are validrizzo2-612/+583
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24257 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02rename the rule for context names properlyrizzo2-28/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24256 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02simplify handling of 'include' listsrizzo2-445/+441
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02... and use a single rule for timespecrizzo2-670/+669
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24254 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02use a single rule to parse timeranges hh:mm-hh:mmrizzo2-651/+569
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24252 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02if/ifTime/random statements are all the same thingrizzo2-656/+613
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02includedname is just a regular word_or_default name,rizzo2-484/+458
no need for a separate nonterminal git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24219 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02remove useless 'extern' declarationrizzo2-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24216 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02remove some unneeded local variables.rizzo2-165/+149
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02more usage of nword(). I think the references to sourcerizzo2-231/+187
line/columns are also correct now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24175 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02more simplifications involving linku1rizzo2-220/+191
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24174 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02correct linku1() to handle the case tail = NULL correctly.rizzo2-192/+180
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-02staticize the list heads from my recent conversions to list macrosrussell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24139 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02The build of aelparse was still broken in some cases, so instead of having to russell3-266/+264
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-01Bug 7062 - Rename ael2 CLI commands to aeltilghman1-9/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01- convert permission lists to use list macrosrussell1-68/+48
- 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-01conver the lists of dundi packets to use the list macrosrussell1-48/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23810 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01- convert the dundi precache list to use the list macrosrussell1-46/+37
- 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-01more simplificationsrizzo2-97/+71
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23807 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01always trim the trailing ';'rizzo2-11/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01comment usage of contextsrizzo2-22/+62
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01fix dereferencing freed memoryrizzo2-52/+54
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23795 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30switch a couple of operands.rizzo2-137/+140
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-30put back some simplifications, this time really testedrizzo2-38/+24
(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-30revert ael.flex to the last correct version.rizzo1-25/+34
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-30another small set of simplificationsrizzo1-8/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23780 f38db490-d61c-443f-a65b-d21fe96a405b