Commit Graph

487 Commits (bae41357596e6ec24c1d1a222bc1036c469413c7)

Author SHA1 Message Date
Steve Murphy 8bf81e2bac Anything to keep gcc 4.2 happy...
18 years ago
Steve Murphy b7f66e48e8 closes issue #10777 -- by returning a null for the parse tree when there's really nothing there, and making sure we don't try to do checking on a null tree.
18 years ago
Steve Murphy fce1741a01 This is a regression update that matches what I did in 84134 for AEL regressions.
18 years ago
Steve Murphy 0ffda2d201 This issue sort of closes 10786; All config files support #include with globbing (you know, *,[chars],?,{list,list},etc), so I've updated the AEL system to support this also.
18 years ago
Russell Bryant a4dcd03dcb remove a todo item that has been completed
18 years ago
Steve Murphy 4cd59ff447 This closes issue #10788 -- The exact same fixes are made here for the first arg in the for(arg1; arg2; arg3) {} statement, as were done for the 3rd arg. It can now be an assignment that will embedded in a Set() app, or a macro call, or an app call.
18 years ago
Steve Murphy eef551c063 This closes issue #10788 -- the 3rd arg in the for statement is now wrapped in Set() only if there's an '=' in that string. Otherwise, if it begins with '&', then a Macro call is generated; otherwise it is made into an app call. A bit more accomodating, keeps the new guys happy, and the guys with ael-1 code should be happy, too
18 years ago
Russell Bryant d6b8fb4dc0 gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
18 years ago
Russell Bryant 885a35488a When copying the contents from the wildcard peer, do a deep copy instead of
18 years ago
Jason Parker 6da68a5f0a Fix a small typo.
18 years ago
Russell Bryant 057505c5a3 The sample dundi.conf claims support for a wildcard peer entry - [*], but the
18 years ago
Joshua Colp f2ba32f8e9 (closes issue #10577)
18 years ago
Russell Bryant dce43f8d32 revert unintentional changes in rev 81226
18 years ago
Russell Bryant 9b1802ffa3 Add Russian tones. (closes issue #7953, hanabana)
18 years ago
Russell Bryant a9c8aa431f Add a \todo to note that this module leaks most of the memory it allocates on
18 years ago
Russell Bryant 264aeeca70 explicity define a variable as a boolean
18 years ago
Steve Murphy 765b1af228 backport of 80649, a fix to an unreported problem in the ael parser, that results in a crash on a 64bit machine
18 years ago
Steve Murphy 7d83255ef8 memset really, really needs to be used here.
18 years ago
Steve Murphy 9020699e0a This patch fixes bug 10411. I added a new regression test, some regression test cleanups
18 years ago
Steve Murphy 241769b53c From a user complaint on #asterisk, I have forced pbx_spool to explain what reason codes mean, when they are logged
18 years ago
Joshua Colp 6d143d401f Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC 4.2.
18 years ago
Joshua Colp f836d642f9 (closes issue #10224)
18 years ago
Joshua Colp ce4e654f2c Few minor thread synchronization tweaks. (issue #10124 reported by gzero)
18 years ago
Joshua Colp 1944dea3bd Add a few sanity checks when writing out the dialplan. (issue #10157 reported by dome)
18 years ago
Russell Bryant fde5578a20 Merged revisions 72805 via svnmerge from
18 years ago
Russell Bryant 9fe9682f50 Merged revisions 72267 via svnmerge from
18 years ago
Joshua Colp 76c9d2be11 Make unloading of pbx_dundi actually work.
18 years ago
Tilghman Lesher 5ed9d5d64b "dialplan save" produced garbage in the config file
18 years ago
Steve Murphy dc63d79143 this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.
18 years ago
Steve Murphy b698ff265b Added code to automatically add a default case to switches that don't have one. In some cases, rather than fall thru, it results in a goto with -1 result, which terminates the extension; a sort of dialplan seqfault, sort of. This was required to fix bug reported in 9881
18 years ago
Steve Murphy 9056b0fa09 updated the ael regressions to match what's in trunk
18 years ago
Steve Murphy fd54b47404 These mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error. I also updated the regressions.
18 years ago
Steve Murphy 48b277a047 continue in for-loop should go to the incrementer, not the test. As per 9435, thanks to marcelbarbulescu
18 years ago
Steve Murphy bd5967ea0c via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk-dev, that DECLINE in this case the proper thing to do. This change now has it doing the proper thing.
18 years ago
Steve Murphy 1f08db56c5 fix for 9373 (duplicate context in AEL crashes asterisk). I turned a duplicate context from a WARNING to an ERROR. Now you get a module load failure, and asterisk just exits. That's better than a crash, right\?
18 years ago
Steve Murphy 19e8d3fdcb A fix for the flex input files, DONT_COMPILE, and STANDALONE_AEL
18 years ago
Joshua Colp ca9872278b Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should now work once again.
18 years ago
Steve Murphy 6e869d135c The fix for the AEL <<security hole>> (bug 9316) is here...
18 years ago
Steve Murphy b899145141 Updated the regression tests
18 years ago
Steve Murphy 9fab305234 I almost had comma escapes right, but 9184 points out the problem-- the escape is removed by pbx_config, and pbx_ael should also, before sending it down into the pbx engine. Also, you have to insert it back in, if you are generating extensions.conf code from the AEL.
18 years ago
Steve Murphy 96622ddd26 I was surprised that I had not yet downgraded missing goto targets and macro call defs to a warning, in case they are in extensions.conf; I rectified this problem. Also, A goto in a macro to a target in a catch block was not being found; I fixed this too; the cause was that I needed to treat catch statements like an extension in the find_match code.
18 years ago
Joshua Colp 31d02952de Merged revisions 56850 via svnmerge from
19 years ago
Russell Bryant 0c00d00d1e Fix setting "autofallthrough" to yes by default. It was set to enabled in
19 years ago
Russell Bryant 9aab046002 Merged revisions 53045 via svnmerge from
19 years ago
Tilghman Lesher f7459d4687 Argument number correction
19 years ago
Steve Murphy 99ce040a80 This fixes 8836, according to dnatural
19 years ago
Jason Parker 9e621e99a5 Save 1 whopping byte of allocated memory!
19 years ago
Steve Murphy 49cce60e51 This is a slight modification to Josh's edits for #8579; both files edited were the produced by flex; so the source files need to be changed instead, and the generated files regenerated.
19 years ago
Joshua Colp cc8ee54779 IAX has been deprecated for quite some time so we had better use IAX2 when creating the dial string for users. (issue #8697 reported by ssokol)
19 years ago
Steve Murphy eae46d9a28 A fix for 8661, where the CUT func needed to have comma args converted to vertical bars. I hope this change does little harm.
19 years ago