Commit Graph

46 Commits (36b2a4053387e5e43e4b91bef24b1b79af15aabb)

Author SHA1 Message Date
Matt Jordan 4a58261694 git migration: Refactor the ASTERISK_FILE_VERSION macro
10 years ago
Leif Madsen a525edea59 Merged revisions 328247 via svnmerge from
14 years ago
Tilghman Lesher d38d930ed5 Because ExecIf needs to reprocess arguments, it's best if we don't remove quotes during parsing.
15 years ago
Russell Bryant 12ff77f975 Global var cleanup - constification and removing unused vars.
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Tilghman Lesher a866a75900 Merge str_substitution branch.
16 years ago
Russell Bryant 6f314f4d42 Fix various spelling and grammatical issues in documentation
17 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
17 years ago
Tilghman Lesher 15dd5c0a50 For the purpose of making the changed syntax to ExecIf easier to transition,
17 years ago
Michiel van Baak 4dccb58fb7 whitespace fixes only.
17 years ago
Jason Parker f573e85ecc Make 'else' argument to ExecIf optional. Clean up the description and usage text a bit.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Mark Michelson 5a4867543d "show application <foo>" changes for clarity.
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 f595811265 If no '?' is found in the arguments, don't attempt to continue.
18 years ago
Russell Bryant 2e6fe76de6 Make this module build on my mac
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Joshua Colp b8cd949cce Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
18 years ago
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
18 years ago
Joshua Colp db868d0807 Few more code clean ups.
18 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Russell Bryant e5b6df5769 move ExecIf from app_while.c to app_exec.c (issue #7094, north)
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
Tilghman Lesher e019a106c7 Bug 6886 - Add application TryExec, which does mostly the same thing, but returns differently
19 years ago
Luigi Rizzo 6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
19 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
19 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 7ad681adc8 remove lots of useless checks of the result of ast_strdupa
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant 29829640bf it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
20 years ago
Kevin P. Fleming b8f23573fa more license/copyright header updates (thanks Ian!)
20 years ago
Kevin P. Fleming c0b1e88e8a the last round of file version tags
20 years ago
Kevin P. Fleming a1d24f740f help text cleanups (bug #4072, with mods)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Mark Spencer b02fd7a66d Make sure ExecIf stuff returns properly (bug #3864)
20 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
James Golovich f864caba2f Add app_exec (bug 1198
21 years ago