dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/main
rizzo 18911d90cb remove a bunch of duplicate includes
Reproduce with

grep -r #include . | grep -v .svn | grep -v Binary | sort | uniq -c | sort -nr 



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89348 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 23:54:45 +00:00
..
db1-ast clean up assembler and preprocessor files if they are here too 2007-10-29 22:24:44 +00:00
editline Merged revisions 87567 via svnmerge from 2007-10-30 15:47:19 +00:00
minimime (closes issue #10692) 2007-09-11 13:10:04 +00:00
stdtime Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
Makefile 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. 2007-11-09 16:00:22 +00:00
abstract_jb.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
acl.c remove duplicate headers. 2007-11-16 20:28:19 +00:00
adsistub.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
aescrypt.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
aeskey.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
aesopt.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
aestab.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
alaw.c Merged revisions 80166 via svnmerge from 2007-08-22 14:12:24 +00:00
app.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
ast_expr2.c closes issue #11045 - each file needs to define ASTERISK_FILE_VERSION, if you are going to set MTX_PROFILE in the compiler flags; the problem was that the fixes were getting made to the generated .c file, and erased the next time someone regenerated that file from the corresponding .y or .flex file. Moral of story: keep your eyes open and make mods to the .y (or flex input file) and re-run bison (or flex) as the Makefile directs for that file, and then check in both. Also, res_config_sqlite was kinda missed, and has the same issue. 2007-10-25 16:21:30 +00:00
ast_expr2.fl Hoping to avoid a crash in OSX for a problem blitzrage found 2007-11-06 19:40:33 +00:00
ast_expr2.h Simplify some preprocessor logic by using #elif 2007-10-17 21:16:40 +00:00
ast_expr2.y closes issue #11045 - each file needs to define ASTERISK_FILE_VERSION, if you are going to set MTX_PROFILE in the compiler flags; the problem was that the fixes were getting made to the generated .c file, and erased the next time someone regenerated that file from the corresponding .y or .flex file. Moral of story: keep your eyes open and make mods to the .y (or flex input file) and re-run bison (or flex) as the Makefile directs for that file, and then check in both. Also, res_config_sqlite was kinda missed, and has the same issue. 2007-10-25 16:21:30 +00:00
ast_expr2f.c Doxygen fixes. 2007-11-12 23:44:20 +00:00
asterisk.c remove a bunch of duplicate includes 2007-11-16 23:54:45 +00:00
astmm.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
astobj2.c improve linked-list macros in two ways: 2007-11-08 05:28:47 +00:00
audiohook.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
autoservice.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
buildinfo.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
callerid.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
cdr.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
channel.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
chanvars.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
cli.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
config.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
cryptostub.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
db.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
devicestate.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
dial.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
dlfcn.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
dns.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
dnsmgr.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
dsp.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
ecdisa.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
enum.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
event.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
file.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
fixedjitterbuf.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
fixedjitterbuf.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
frame.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
fskmodem.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
hashtab.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
http.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
image.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
indications.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
io.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
jitterbuf.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
loader.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
logger.c remove a bunch of duplicate includes 2007-11-16 23:54:45 +00:00
manager.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
md5.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
netsock.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
pbx.c My goodness, haven't handled an extension deletion. Add code to ast_context_remove_extension2() to remove an extension from the trie. Done by marking it deleted. The scoreboard won't update for it any more. Also, a couple of calls to insert hashtab had a spurious ->exten, which was removed. 2007-11-16 23:33:32 +00:00
plc.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
poll.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
privacy.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
rtp.c remove a bunch of duplicate includes 2007-11-16 23:54:45 +00:00
say.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
sched.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
sha1.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
slinfactory.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
srv.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
strcompat.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
tdd.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
term.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
threadstorage.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
translate.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
udptl.c remove a bunch of duplicate includes 2007-11-16 23:54:45 +00:00
ulaw.c This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision. 2007-08-20 22:53:48 +00:00
utils.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00