Luigi Rizzo
|
cb7d858653
more removal of duplicate #include lines
|
17 years ago |
Luigi Rizzo
|
47e70077d6
Start untangling header inclusion in a way that does not affect
|
17 years ago |
Steve Murphy
|
38f510abd2
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.
|
17 years ago |
Tilghman Lesher
|
4c4b3fa340
Merged revisions 87262 via svnmerge from
|
17 years ago |
Russell Bryant
|
7d3790b6b0
use ast_atomic_fetchadd_int for incrementing resultcount
|
17 years ago |
Tilghman Lesher
|
d903e91cdc
Don't reload a configuration file if nothing has changed.
|
17 years ago |
Tilghman Lesher
|
c2cbffc457
Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
|
17 years ago |
Russell Bryant
|
2470bd1b9d
Do a massive conversion for using the ast_verb() macro
|
17 years ago |
Tilghman Lesher
|
34c4795347
Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
|
17 years ago |
Steve Murphy
|
0feb25e65b
After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
|
17 years ago |
Steve Murphy
|
bf892d5905
via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
|
17 years ago |
Russell Bryant
|
7070ea68a0
Merged revisions 69702 via svnmerge from
|
17 years ago |
Tilghman Lesher
|
888d03a44b
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
|
17 years ago |
Tilghman Lesher
|
b33b04cc44
Merged revisions 66919 via svnmerge from
|
17 years ago |
Tilghman Lesher
|
fb0e35830b
Issue 9799 - Multirow results for func_odbc
|
17 years ago |
Kevin P. Fleming
|
801cba3ca5
Merged revisions 53779-53781 via svnmerge from
|
18 years ago |
Tilghman Lesher
|
2843f3f574
Fix compiler warnings
|
18 years ago |
Olle Johansson
|
904fe70416
Doxygen update
|
18 years ago |
Russell Bryant
|
f7dbc58e73
Merged revisions 51205 via svnmerge from
|
18 years ago |
Kevin P. Fleming
|
a46aff2ba9
finish const-ifying ast_func_read()
|
18 years ago |
Joshua Colp
|
bcab09189c
Initialize obj pointers to NULL. Gets rid of two compiler warnings.
|
18 years ago |
Tilghman Lesher
|
a828046541
Integrate functionality tested on svncommunity users back into trunk
|
18 years ago |
Kevin P. Fleming
|
0151cb1c98
Merged revisions 48577 via svnmerge from
|
18 years ago |
Tilghman Lesher
|
75f3818876
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
|
18 years ago |
Kevin P. Fleming
|
9a6a5bb9f0
move ODBC API into ast_ namespace
|
18 years ago |
Tilghman Lesher
|
43515d4732
Missing field terminator
|
18 years ago |
Matt O'Gorman
|
4dd7e4bbac
everything that loads a config that needs a config file to run
|
18 years ago |
Kevin P. Fleming
|
90db3f33ab
merge new_loader_completion branch, including (at least):
|
18 years ago |
Tilghman Lesher
|
5c1d662fbf
Convert func_odbc to use the prepare_and_execute callback, which helps with a database reconnection issue (bug 7693)
|
18 years ago |
Kevin P. Fleming
|
2687538ae6
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
|
18 years ago |