Commit Graph

24 Commits (192cadcd9de7ce7d33c4fe154c893dd3b9df02bb)

Author SHA1 Message Date
Steve Murphy 4c7393a6a4 closes issue #11086 where a user complains that references to following contexts report a problem; The problem was REALLy that he was referring to empty contexts, which were being ignored. Reporter stated that empty contexts should be OK. I checked it out against extensions.conf, and sure enough, empty contexts ARE ok. So, I removed the restriction from AEL. This, though, highlighted a problem with multiple contexts of the same name. This should be OK, also. So, I added the extend keyword to AEL, and it can preceed the 'context' keyword (mixed with 'abstract', if nec.). This will turn off the warnings in AEL if the same context name is used 2 or more times. Also, I now call ast_context_find_or_create for contexts now, instead of just ast_context_create; I did this because pbx_config does this. The 'extend' keyword thus becomes a statement of intent. AEL can now duplicate the behavior of pbx_config,
18 years ago
Russell Bryant d6b8fb4dc0 gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
18 years ago
Russell Bryant e56cb20774 Tweak the formatting of this MODULEINFO block. I think this would have caused
18 years ago
Steve Murphy 3e5c8457e1 This change addresses JerJer's complaint that aelparse builds and installs even if pbx_ael is unchecked in the menuselect stuff.
18 years ago
Steve Murphy 9020699e0a This patch fixes bug 10411. I added a new regression test, some regression test cleanups
18 years ago
Steve Murphy 9fab305234 I almost had comma escapes right, but 9184 points out the problem-- the escape is removed by pbx_config, and pbx_ael should also, before sending it down into the pbx engine. Also, you have to insert it back in, if you are generating extensions.conf code from the AEL.
18 years ago
Steve Murphy 4d6a91eef0 removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.
19 years ago
Kevin P. Fleming 9a78e1f90e remove some now-unnecessary explicit includes of autoconfig.h
19 years ago
Russell Bryant 5a2f8ea4b7 In muted.c, check the return value of strdup. In ael_main.c, check the return
19 years ago
Steve Murphy d5572fac38 My apologies, I missed the compiler warning in a previous commit for the ael_main.c;
19 years ago
Steve Murphy 51132bbdbf Changes to fix all problems reported in 7804 are included here.
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Steve Murphy 1d2b76a0f8 added a -q for quiet, option to aelparse
19 years ago
Steve Murphy f56d340b1c This commit adds the enhancemnt per bug 7606, adding
19 years ago
Russell Bryant 89672b86d0 don't redefine PATH_MAX
19 years ago
Russell Bryant 0e140be311 convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
19 years ago
Kevin P. Fleming 274ce731e2 move autoconfig.h to the include/asterisk directory so it will get installed
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 3d022d073a fix the build of func_realtime and aelparse with MTX_PROFILE enabled
19 years ago
Russell Bryant 34e0ae0e6a The build of aelparse was still broken in some cases, so instead of having to
19 years ago
Luigi Rizzo e635b463fc add missing functions - see the comment in the file explaining
19 years ago
Russell Bryant d2e78c7b35 make sure non-inlined versions of ast_copy_string and _ast_calloc are available
19 years ago
Luigi Rizzo d19f767c3c uncomment some functions in the flex code that were actually
19 years ago
Kevin P. Fleming 5f58cc8770 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
19 years ago