You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asterisk/main
Luigi Rizzo 04497db215
remove duplicate headers.
18 years ago
..
db1-ast clean up assembler and preprocessor files if they are here too 19 years ago
editline Merged revisions 87567 via svnmerge from 19 years ago
minimime (closes issue #10692) 19 years ago
stdtime Start untangling header inclusion in a way that does not affect 18 years ago
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. 19 years ago
abstract_jb.c Start untangling header inclusion in a way that does not affect 18 years ago
acl.c remove duplicate headers. 18 years ago
adsistub.c Start untangling header inclusion in a way that does not affect 18 years ago
aescrypt.c use the OpenSSL AES implementation if it's available (unless configured not to) 19 years ago
aeskey.c use the OpenSSL AES implementation if it's available (unless configured not to) 19 years ago
aesopt.h
aestab.c use the OpenSSL AES implementation if it's available (unless configured not to) 19 years ago
alaw.c Merged revisions 80166 via svnmerge from 19 years ago
app.c Start untangling header inclusion in a way that does not affect 18 years ago
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. 19 years ago
ast_expr2.fl Hoping to avoid a crash in OSX for a problem blitzrage found 19 years ago
ast_expr2.h Simplify some preprocessor logic by using #elif 19 years ago
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. 19 years ago
ast_expr2f.c Doxygen fixes. 18 years ago
asterisk.c remove duplicate headers. 18 years ago
astmm.c Start untangling header inclusion in a way that does not affect 18 years ago
astobj2.c improve linked-list macros in two ways: 19 years ago
audiohook.c Start untangling header inclusion in a way that does not affect 18 years ago
autoservice.c Start untangling header inclusion in a way that does not affect 18 years ago
buildinfo.c
callerid.c Start untangling header inclusion in a way that does not affect 18 years ago
cdr.c Start untangling header inclusion in a way that does not affect 18 years ago
channel.c Start untangling header inclusion in a way that does not affect 18 years ago
chanvars.c Start untangling header inclusion in a way that does not affect 18 years ago
cli.c Start untangling header inclusion in a way that does not affect 18 years ago
config.c Start untangling header inclusion in a way that does not affect 18 years ago
cryptostub.c Start untangling header inclusion in a way that does not affect 18 years ago
db.c Start untangling header inclusion in a way that does not affect 18 years ago
devicestate.c Start untangling header inclusion in a way that does not affect 18 years ago
dial.c Start untangling header inclusion in a way that does not affect 18 years ago
dlfcn.c Start untangling header inclusion in a way that does not affect 18 years ago
dns.c Start untangling header inclusion in a way that does not affect 18 years ago
dnsmgr.c Start untangling header inclusion in a way that does not affect 18 years ago
dsp.c Start untangling header inclusion in a way that does not affect 18 years ago
ecdisa.h
enum.c Start untangling header inclusion in a way that does not affect 18 years ago
event.c Start untangling header inclusion in a way that does not affect 18 years ago
file.c Start untangling header inclusion in a way that does not affect 18 years ago
fixedjitterbuf.c Start untangling header inclusion in a way that does not affect 18 years ago
fixedjitterbuf.h
frame.c Start untangling header inclusion in a way that does not affect 18 years ago
fskmodem.c Start untangling header inclusion in a way that does not affect 18 years ago
hashtab.c Start untangling header inclusion in a way that does not affect 18 years ago
http.c Start untangling header inclusion in a way that does not affect 18 years ago
image.c Start untangling header inclusion in a way that does not affect 18 years ago
indications.c Start untangling header inclusion in a way that does not affect 18 years ago
io.c Start untangling header inclusion in a way that does not affect 18 years ago
jitterbuf.c Start untangling header inclusion in a way that does not affect 18 years ago
loader.c Start untangling header inclusion in a way that does not affect 18 years ago
logger.c Start untangling header inclusion in a way that does not affect 18 years ago
manager.c Start untangling header inclusion in a way that does not affect 18 years ago
md5.c Start untangling header inclusion in a way that does not affect 18 years ago
netsock.c Start untangling header inclusion in a way that does not affect 18 years ago
pbx.c Start untangling header inclusion in a way that does not affect 18 years ago
plc.c Start untangling header inclusion in a way that does not affect 18 years ago
poll.c
privacy.c Start untangling header inclusion in a way that does not affect 18 years ago
rtp.c Start untangling header inclusion in a way that does not affect 18 years ago
say.c Start untangling header inclusion in a way that does not affect 18 years ago
sched.c Start untangling header inclusion in a way that does not affect 18 years ago
sha1.c Start untangling header inclusion in a way that does not affect 18 years ago
slinfactory.c Start untangling header inclusion in a way that does not affect 18 years ago
srv.c Start untangling header inclusion in a way that does not affect 18 years ago
strcompat.c Start untangling header inclusion in a way that does not affect 18 years ago
tdd.c Start untangling header inclusion in a way that does not affect 18 years ago
term.c Start untangling header inclusion in a way that does not affect 18 years ago
threadstorage.c Start untangling header inclusion in a way that does not affect 18 years ago
translate.c Start untangling header inclusion in a way that does not affect 18 years ago
udptl.c Start untangling header inclusion in a way that does not affect 18 years ago
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. 19 years ago
utils.c Start untangling header inclusion in a way that does not affect 18 years ago