Mark Michelson
|
9b08352d97
Add module support level to ast_module_info structure. Print it in CLI "module show" .
|
%!s(int64=10) %!d(string=hai) anos |
Sean Bright
|
16308d58a8
Make the AEL load process less chatty.
|
%!s(int64=10) %!d(string=hai) anos |
Sean Bright
|
32cfe5e842
Revert r410981. aelparse blew up.
|
%!s(int64=10) %!d(string=hai) anos |
Sean Bright
|
abca6aa53d
Make the AEL load process less chatty.
|
%!s(int64=10) %!d(string=hai) anos |
Kinsey Moore
|
882ec55b31
Clean up and ensure proper usage of alloca()
|
%!s(int64=12) %!d(string=hai) anos |
Leif Madsen
|
bdf076843a
Merged revisions 328247 via svnmerge from
|
%!s(int64=13) %!d(string=hai) anos |
Tilghman Lesher
|
bd4edde0cd
Merged revisions 310462 via svnmerge from
|
%!s(int64=13) %!d(string=hai) anos |
Jeff Peeler
|
3fcb5f952b
Merged revisions 271399 via svnmerge from
|
%!s(int64=14) %!d(string=hai) anos |
Kevin P. Fleming
|
0b18e53c42
Const-ify the world (or at least a good part of it)
|
%!s(int64=15) %!d(string=hai) anos |
Joshua Colp
|
9223550baa
Numerous documentation updates.
|
%!s(int64=16) %!d(string=hai) anos |
Steve Murphy
|
79dde81f51
A possibly "horrible fix" for a "horribly broken"
|
%!s(int64=16) %!d(string=hai) anos |
Eliel C. Sardanons
|
de93eb36b2
Janitor, use ARRAY_LEN() when possible.
|
%!s(int64=16) %!d(string=hai) anos |
Michiel van Baak
|
c280406c04
This commit does two things:
|
%!s(int64=16) %!d(string=hai) anos |
Kevin P. Fleming
|
a6e68ccb24
Merged revisions 144924-144925 via svnmerge from
|
%!s(int64=16) %!d(string=hai) anos |
Steve Murphy
|
73c04b92cf
Merged revisions 111341 via svnmerge from
|
%!s(int64=16) %!d(string=hai) anos |
Steve Murphy
|
92e3f5e8f0
(closes issue #6002)
|
%!s(int64=16) %!d(string=hai) anos |
Russell Bryant
|
20f1d6f50e
Merge changes from team/mvanbaak/cli-command-audit
|
%!s(int64=17) %!d(string=hai) anos |
Luigi Rizzo
|
4644588a8d
more errno.h removal
|
%!s(int64=17) %!d(string=hai) anos |
Luigi Rizzo
|
47e70077d6
Start untangling header inclusion in a way that does not affect
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
63e27e79fb
This is the perhaps the biggest, boldest, most daring change I've ever committed to trunk. Forgive me in advance any disruption this may cause, and please, report any problems via the bugtracker. The upside is that this can speed up large dialplans by 20 times (or more). Context, extension, and priority matching are all fairly constant-time searches. I introduce here my hashtables (hashtabs), and a regression for them. I would have used the ast_obj2 tables, but mine are resizeable, and don't need the object destruction capability. The hashtab stuff is well tested and stable. I introduce a data structure, a trie, for extension pattern matching, in which knowledge of all patterns is accumulated, and all matches can be found via a single traversal of the tree. This is per-context. The trie is formed on the first lookup attempt, and stored in the context for future lookups. Destruction routines are in place for hashtabs and the pattern match trie. You can see the contents of the pattern match trie by using the 'dialplan show' cli command when 'core set debug' has been done to put it in debug mode. The pattern tree traversal only traverses those parts of the tree that are interesting. It uses a scoreboard sort of approach to find the best match. The speed of the traversal is more a function of the length of the pattern than the number of patterns in the tree. The tree also contains the CID matching patterns. See the source code comments for details on how everything works. I believe the approach general enough that any issues that might come up involving fine points in the pattern matching algorithm, can be solved by just tweaking things. We shall see. The current pattern matcher is fairly involved, and replicating every nuance of it is difficult. If you find and report problems, I will try to resolve than as quickly as I can. The trie and hashtabs are added to the existing context and exten structs, and none of the old machinery has been removed for the sake of the multitude of functions that use them. In the future, we can (maybe) weed out the linked lists and save some space.
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
af37587208
Merged revisions 87168 via svnmerge from
|
%!s(int64=17) %!d(string=hai) anos |
Jason Parker
|
5fd5a97871
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
|
%!s(int64=17) %!d(string=hai) anos |
Jason Parker
|
278b08ca23
Convert NEW_CLI to AST_CLI.
|
%!s(int64=17) %!d(string=hai) anos |
Russell Bryant
|
8e0c5ac93d
Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
a278a6a4c2
Merged revisions 84239 via svnmerge from
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
54e274f581
Merged revisions 83558 via svnmerge from
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
74a89324fa
This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
a4b1c27b0b
Merged revisions 79255 via svnmerge from
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
8ceac6c189
These fixes take care of two problems: a complaint in asterisk-dev that goto's aren't working in trunk, a side effect of the move to commas as arg seps in apps and funcs; and a problem I spotted myself with dial's 'e' option, where gotos were off by one, because I forgot to set the AUTOLOOP flag in the peer channel.
|
%!s(int64=17) %!d(string=hai) anos |
Steve Murphy
|
c5ca693edb
The upgrade of application argument separators to comma has an effect on AEL; I commented out the code that substitutes commas with vertbars, so we can get apps to parse their args correctly.
|
%!s(int64=17) %!d(string=hai) anos |