Commit Graph

57 Commits (6d5290a85b51a6409c7f94bc09c7b110a9cf137c)

Author SHA1 Message Date
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
17 years ago
Tilghman Lesher bf92cca5fa Use the readhandle for reads (closes issue #12069)
17 years ago
Tilghman Lesher f124988a35 Convert func_odbc to use SQLExecDirect for speed
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 d82a631f9c more removal of duplicate #include lines
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
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
Russell Bryant 5eb7cbef42 use ast_atomic_fetchadd_int for incrementing resultcount
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Tilghman Lesher 20bbd09de3 Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Steve Murphy 0e969271ae 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.
18 years ago
Steve Murphy 8a7732f067 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.
18 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
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 7216b96319 Merged revisions 66919 via svnmerge from
18 years ago
Tilghman Lesher e9251f42df Issue 9799 - Multirow results for func_odbc
18 years ago
Kevin P. Fleming e758ef09b3 Merged revisions 53779-53781 via svnmerge from
18 years ago
Tilghman Lesher 777a51ad5a Fix compiler warnings
19 years ago
Olle Johansson 0ddb38ddee Doxygen update
19 years ago
Russell Bryant 445269f001 Merged revisions 51205 via svnmerge from
19 years ago
Kevin P. Fleming 37182c873e finish const-ifying ast_func_read()
19 years ago
Joshua Colp f19c6f66aa Initialize obj pointers to NULL. Gets rid of two compiler warnings.
19 years ago
Tilghman Lesher 1e1fd3c3e0 Integrate functionality tested on svncommunity users back into trunk
19 years ago
Kevin P. Fleming 518f25f65c Merged revisions 48577 via svnmerge from
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Kevin P. Fleming 32d119746c move ODBC API into ast_ namespace
19 years ago
Tilghman Lesher bfef0a23ff Missing field terminator
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Tilghman Lesher 6fec811743 Convert func_odbc to use the prepare_and_execute callback, which helps with a database reconnection issue (bug 7693)
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Tilghman Lesher b68fa7a8f2 Should use the named handle, not one hardcoded
19 years ago
Mark Spencer 70defe19fe Lets not commit things that cause Asterisk to break when config files aren't present.
19 years ago
Tilghman Lesher 9e81cc3e0c Escaping commas within fields isn't always desireable.
19 years ago
Tilghman Lesher 912f9f9dc7 Argument macro janitor for func_odbc, fixes #7171
19 years ago
BJ Weschke 3e2079e46c Fix output delimiters and add prefix parameter to func_odbc #7025 (Corydon76)
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Russell Bryant 501ac5189c update res_odbc to support pooled connections
19 years ago
Tilghman Lesher b8317169d0 Compatibility fixes for loader changes
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Tilghman Lesher a55f8848bf Bugs 6883, 6930: compiler warnings
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 516d690aca Some sick individuals use SQL queries longer than 512 bytes in the dialplan. ;-)
19 years ago
Kevin P. Fleming 96bf384e7d major dialplan functions update
19 years ago
Kevin P. Fleming e42c6c4f9e set standard properties on all non-binary files
20 years ago