Commit Graph

129 Commits (fc52fd88847e9ff0dd3be7848be01ab757be97ac)

Author SHA1 Message Date
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
17 years ago
Tilghman Lesher d4d73b50a1 Merged revisions 102214 via svnmerge from
17 years ago
Terry Wilson 3570ad103d Added a new module, res_phoneprov, which allows auto-provisioning of phones
18 years ago
Mark Michelson 5107c5474c Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar)
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo 5490960453 remove a bunch of duplicate includes
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Tilghman Lesher 64a0a9aa2c Merged revisions 87262 via svnmerge from
18 years ago
Tilghman Lesher 446a6cdc94 Use the same delimited character as the FILTER function in FIELDQTY and CUT.
18 years ago
Tilghman Lesher 1acdae4f12 Document my changes from Friday
18 years ago
Tilghman Lesher 3d8d4b25ee Enable ranges, hexadecimal, octal, and special backslashed characters for the FILTER function
18 years ago
Tilghman Lesher 82cf384e03 Merged revisions 82285 via svnmerge from
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Tilghman Lesher 2baca1b2c5 Merged revisions 66538 via svnmerge from
18 years ago
Tilghman Lesher 03aa8f7b8f Merged revisions 59049 via svnmerge from
18 years ago
Tilghman Lesher 4e8f978287 Merged revisions 58880 via svnmerge from
18 years ago
Russell Bryant e66a64fa71 Merged revisions 53093 via svnmerge from
18 years ago
Tilghman Lesher 0e209d5e1c Merged revisions 53075 via svnmerge from
18 years ago
Tilghman Lesher e5304e54cc Merged revisions 53070 via svnmerge from
18 years ago
Olle Johansson 0ddb38ddee Doxygen update
19 years ago
Jason Parker 5d25265403 Merged revisions 51265 via svnmerge from
19 years ago
Tilghman Lesher 785483f304 Modifications to allow the output of SHELL() to be split per line (Issue 8676)
19 years ago
Kevin P. Fleming 37182c873e finish const-ifying ast_func_read()
19 years ago
Tilghman Lesher 1e1fd3c3e0 Integrate functionality tested on svncommunity users back into trunk
19 years ago
Tilghman Lesher 496d3e72f2 Merged revisions 48382 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Steve Murphy 4c937339e5 As per discussion on bug 7862, the problem wasn't the fact that the documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small.
19 years ago
Steve Murphy a7b5ef30e7 With respect to bug 7862, the syntax and description are misleading to users. the syntax included a space after the double quotes between the regex and the data to match. I removed this from the function doc, and added some verbage to make this crystal clear, I hope.
19 years ago
Russell Bryant badabb5bb9 oops.
19 years ago
Russell Bryant 42fc890acc The behavior of REGEX when it did not match was not defined by the docs, so
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Tilghman Lesher e3482f7f38 Don't attempt to run a regcomp if we haven't even parsed arguments correctly
19 years ago
Tilghman Lesher 2465fd611c Revert the previous change to FILTER and fix the embedded documentation instead.
19 years ago
Russell Bryant df2223416d fix the parsing of options in the FILTER function to match the documentation.
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Joshua Colp e08dc08ae2 Add SPRINTF dialplan function made by the ever insaneful Corydon (issue #7078 reported by Corydon76)
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Matt O'Gorman 5f446b24ea minor fixes to commit 10934 from bug#6257
19 years ago
Matt O'Gorman a4734960e7 added function QUOTE into strings, which allows
19 years ago
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
19 years ago
Kevin P. Fleming c5ff2c4f42 add KEYPADHASH dialplan function (issue #6441)
19 years ago
Kevin P. Fleming 4662d58b01 add API function for parsing strings to time_t (issue #6320, with mods)
19 years ago
Kevin P. Fleming 96bf384e7d major dialplan functions update
19 years ago
Kevin P. Fleming a38a7eec61 build function modules independently (no more pbx_functions.so)
19 years ago
Tilghman Lesher 7d897634dc Bug 6262 - New function STRPTIME
20 years ago
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
20 years ago
Russell Bryant 9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
20 years ago
Russell Bryant 2499926195 remove useless checks of the result of ast_strdupa
20 years ago
Tilghman Lesher 109b5baa8d Argh, another ERROR that should have been DEBUG
20 years ago
Tilghman Lesher 7f28989616 Change a debugging message committed with the wrong level
20 years ago
BJ Weschke fa07ae94ec More code optimization with the new argument macros #6253
20 years ago
Tilghman Lesher 2dec3747df Clarify description of ARRAY function
20 years ago
Tilghman Lesher 9702fac4f8 Bug 6238 - Janitor - update to app_args macros
20 years ago
Tilghman Lesher 3578c5b19d Merged revisions 8074 via svnmerge from
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Tilghman Lesher 340f5b67de Bug 5906 - ARRAY dialplan function
20 years ago
Tilghman Lesher 5323442db4 Bug 5327 - new function FILTER and optional argument to CALLERID
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Russell Bryant 987b87662c make app_queue 1.2 jump compliant (issue #5580)
20 years ago
Kevin P. Fleming a0a9769616 issue #5648
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant a863d2b280 clean up function to be more consistent with coding guidelines
20 years ago
Kevin P. Fleming 9a85d06a64 initialize variable
20 years ago
Russell Bryant 33377538b0 provide the correct string to evaluate with the given regex, instead of the
20 years ago
Kevin P. Fleming d612e3bc27 ensure result buffer is initialized (issue #5285)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago
Kevin P. Fleming 2638192439 add EVAL function, deprecate Eval application (bug #4277)
20 years ago
Kevin P. Fleming 7cd4ac0ee1 clean up file headers
20 years ago
Kevin P. Fleming f01e832eef add STRFTIME dialplan function (bug #4098, modified to use new funcs subdirectory)
20 years ago
Kevin P. Fleming 4d2537ae11 major re-work of dialplan functions, including:
20 years ago