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
Steve Murphy a63f6be669
closes issue #11363; where the pattern _20x. buried in an included context, didn't match 2012; There were a small set of problems to fix: 1. I needed NOT to score patterns unless you are at the end of the data string. 2. Capital N,X,Z and small n,x,z are OK in patterns. I canonicalize the patterns in the trie to caps. 3. When a pattern ends with dot or exclamation, CANMATCH/MATCHMORE should always report this pattern, no matter the length. With this commit, I also supplied the wish of Luigi, where the user can select which pattern matching algorithm to use, the old (legacy) pattern matcher, or the new, trie based matcher. The OLD matcher is the default. A new [general] section variable, extenpatternmatchnew, is added to the extensions.conf, and the example config has it set to false. If true, the new matcher is used. In all other respects, the context/exten structs are the same; the tries and hashtabs are formed, but in the new mode the tries are not used. A new CLI command 'dialplan set extenpatternmatch true/false' is provided to allow switching at run time. I beg users that are forced to return to the old matcher to please report the reason in the bug tracker. Measured the speed benefit of the new matcher against an impossibly large context with 10,000 extensions: the new matcher is 374 times faster.
18 years ago
..
db1-ast clean up assembler and preprocessor files if they are here too 18 years ago
editline Merged revisions 87567 via svnmerge from 18 years ago
minimime more header removal/normalization 18 years ago
stdtime Start untangling header inclusion in a way that does not affect 18 years ago
Makefile initial makefile changes to build loadable modules under cygwin 18 years ago
abstract_jb.c remove a bunch of useless #include "options.h" 18 years ago
acl.c remove some unnecessary includes 18 years ago
adsistub.c remove a bunch of useless #include "options.h" 18 years ago
aescrypt.c use the OpenSSL AES implementation if it's available (unless configured not to) 18 years ago
aeskey.c use the OpenSSL AES implementation if it's available (unless configured not to) 18 years ago
aesopt.h
aestab.c use the OpenSSL AES implementation if it's available (unless configured not to) 18 years ago
alaw.c another bunch of include removals (errno.h and asterisk/logger.h) 18 years ago
app.c Added <sys/file.h> include to allow trunk to compile. Hope this doesn't louse thing up. 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. 18 years ago
ast_expr2.fl Hoping to avoid a crash in OSX for a problem blitzrage found 18 years ago
ast_expr2.h Simplify some preprocessor logic by using #elif 18 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. 18 years ago
ast_expr2f.c Doxygen fixes. 18 years ago
asterisk.c remove a bunch of useless #include "options.h" 18 years ago
astmm.c remove a bunch of useless #include "options.h" 18 years ago
astobj2.c move internal function declarations to include/asterisk/_private.h 18 years ago
audiohook.c remove a bunch of useless #include "options.h" 18 years ago
autoservice.c remove a bunch of useless #include "options.h" 18 years ago
buildinfo.c
callerid.c remove a bunch of useless #include "options.h" 18 years ago
cdr.c remove a bunch of useless #include "options.h" 18 years ago
channel.c remove a bunch of useless #include "options.h" 18 years ago
chanvars.c another bunch of include removals (errno.h and asterisk/logger.h) 18 years ago
cli.c remove a bunch of useless #include "options.h" 18 years ago
config.c remove a bunch of useless #include "options.h" 18 years ago
cryptostub.c another bunch of include removals (errno.h and asterisk/logger.h) 18 years ago
cygload.c add a missing return 18 years ago
db.c remove a bunch of useless #include "options.h" 18 years ago
devicestate.c remove a bunch of useless #include "options.h" 18 years ago
dial.c remove a bunch of useless #include "options.h" 18 years ago
dlfcn.c Start untangling header inclusion in a way that does not affect 18 years ago
dns.c remove a bunch of useless #include "options.h" 18 years ago
dnsmgr.c remove a bunch of useless #include "options.h" 18 years ago
dsp.c remove a bunch of useless #include "options.h" 18 years ago
ecdisa.h
enum.c remove a bunch of useless #include "options.h" 18 years ago
event.c move internal function declarations to include/asterisk/_private.h 18 years ago
file.c more removal of fcntl.h and other system headers 18 years ago
fixedjitterbuf.c Start untangling header inclusion in a way that does not affect 18 years ago
fixedjitterbuf.h
frame.c remove a bunch of useless #include "options.h" 18 years ago
fskmodem.c Start untangling header inclusion in a way that does not affect 18 years ago
hashtab.c remove a bunch of useless #include "options.h" 18 years ago
http.c remove some unnecessary includes 18 years ago
image.c remove a bunch of useless #include "options.h" 18 years ago
indications.c remove a bunch of useless #include "options.h" 18 years ago
io.c remove a bunch of useless #include "options.h" 18 years ago
jitterbuf.c remove a bunch of useless #include "options.h" 18 years ago
loader.c remove a bunch of useless #include "options.h" 18 years ago
logger.c remove a bunch of useless #include "options.h" 18 years ago
manager.c Merged revisions 89536 via svnmerge from 18 years ago
md5.c Start untangling header inclusion in a way that does not affect 18 years ago
netsock.c more removal of fcntl.h and other system headers 18 years ago
pbx.c closes issue #11363; where the pattern _20x. buried in an included context, didn't match 2012; There were a small set of problems to fix: 1. I needed NOT to score patterns unless you are at the end of the data string. 2. Capital N,X,Z and small n,x,z are OK in patterns. I canonicalize the patterns in the trie to caps. 3. When a pattern ends with dot or exclamation, CANMATCH/MATCHMORE should always report this pattern, no matter the length. With this commit, I also supplied the wish of Luigi, where the user can select which pattern matching algorithm to use, the old (legacy) pattern matcher, or the new, trie based matcher. The OLD matcher is the default. A new [general] section variable, extenpatternmatchnew, is added to the extensions.conf, and the example config has it set to false. If true, the new matcher is used. In all other respects, the context/exten structs are the same; the tries and hashtabs are formed, but in the new mode the tries are not used. A new CLI command 'dialplan set extenpatternmatch true/false' is provided to allow switching at run time. I beg users that are forced to return to the old matcher to please report the reason in the bug tracker. Measured the speed benefit of the new matcher against an impossibly large context with 10,000 extensions: the new matcher is 374 times faster. 18 years ago
plc.c Start untangling header inclusion in a way that does not affect 18 years ago
poll.c
privacy.c remove a bunch of useless #include "options.h" 18 years ago
rtp.c remove a bunch of useless #include "options.h" 18 years ago
say.c remove a bunch of useless #include "options.h" 18 years ago
sched.c remove a bunch of useless #include "options.h" 18 years ago
sha1.c more header removal/normalization 18 years ago
slinfactory.c another bunch of include removals (errno.h and asterisk/logger.h) 18 years ago
srv.c remove a bunch of useless #include "options.h" 18 years ago
strcompat.c Start untangling header inclusion in a way that does not affect 18 years ago
tdd.c another bunch of include removals (errno.h and asterisk/logger.h) 18 years ago
term.c remove a bunch of useless #include "options.h" 18 years ago
threadstorage.c move internal function declarations to include/asterisk/_private.h 18 years ago
translate.c remove a bunch of useless #include "options.h" 18 years ago
udptl.c remove a bunch of useless #include "options.h" 18 years ago
ulaw.c another bunch of include removals (errno.h and asterisk/logger.h) 18 years ago
utils.c remove a bunch of useless #include "options.h" 18 years ago