提交历史

作者 SHA1 备注 提交日期
  Mark Michelson 9b08352d97 Add module support level to ast_module_info structure. Print it in CLI "module show" . 10 年之前
  Sean Bright 16308d58a8 Make the AEL load process less chatty. 10 年之前
  Sean Bright 32cfe5e842 Revert r410981. aelparse blew up. 10 年之前
  Sean Bright abca6aa53d Make the AEL load process less chatty. 10 年之前
  Kinsey Moore 882ec55b31 Clean up and ensure proper usage of alloca() 12 年之前
  Leif Madsen bdf076843a Merged revisions 328247 via svnmerge from 13 年之前
  Tilghman Lesher bd4edde0cd Merged revisions 310462 via svnmerge from 13 年之前
  Jeff Peeler 3fcb5f952b Merged revisions 271399 via svnmerge from 14 年之前
  Kevin P. Fleming 0b18e53c42 Const-ify the world (or at least a good part of it) 15 年之前
  Joshua Colp 9223550baa Numerous documentation updates. 16 年之前
  Steve Murphy 79dde81f51 A possibly "horrible fix" for a "horribly broken" 16 年之前
  Eliel C. Sardanons de93eb36b2 Janitor, use ARRAY_LEN() when possible. 16 年之前
  Michiel van Baak c280406c04 This commit does two things: 16 年之前
  Kevin P. Fleming a6e68ccb24 Merged revisions 144924-144925 via svnmerge from 16 年之前
  Steve Murphy 73c04b92cf Merged revisions 111341 via svnmerge from 16 年之前
  Steve Murphy 92e3f5e8f0 (closes issue #6002) 16 年之前
  Russell Bryant 20f1d6f50e Merge changes from team/mvanbaak/cli-command-audit 17 年之前
  Luigi Rizzo 4644588a8d more errno.h removal 17 年之前
  Luigi Rizzo 47e70077d6 Start untangling header inclusion in a way that does not affect 17 年之前
  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. 17 年之前
  Steve Murphy af37587208 Merged revisions 87168 via svnmerge from 17 年之前
  Jason Parker 5fd5a97871 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense 17 年之前
  Jason Parker 278b08ca23 Convert NEW_CLI to AST_CLI. 17 年之前
  Russell Bryant 8e0c5ac93d Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :) 17 年之前
  Steve Murphy a278a6a4c2 Merged revisions 84239 via svnmerge from 17 年之前
  Steve Murphy 54e274f581 Merged revisions 83558 via svnmerge from 17 年之前
  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. 17 年之前
  Steve Murphy a4b1c27b0b Merged revisions 79255 via svnmerge from 17 年之前
  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. 17 年之前
  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. 17 年之前