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/pbx/ael/ael-test
murf 8a8a482e05 Merged revisions 84511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84511 | murf | 2007-10-03 08:23:00 -0600 (Wed, 03 Oct 2007) | 1 line

closes issue #10834 ; where a null input to a switch statement results in a hangup; since switch is implemented with extensions, and the default case is implemented with a '.', and the '.' matches 1 or more remaining characters, the case where 0 characters exist isn't matched, and the extension isn't matched, and the goto fails, and a hangup occurs. Now, when a default case is generated, it also generates a single fixed extension that will match a null input. That extension just does a goto to the default extension for that switch. I played with an alternate solution, where I just tack an extra char onto all the patterns and the goto, but not the default case's pattern. Then even a null input will still have at least one char in it. But it made me nervous, having that extra char in , even if that's a pretty secret and low-level issue.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84512 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-03 14:39:05 +00:00
..
ael-ntest9 OK, here is everything I changed to fix 7474: 2006-07-06 22:49:18 +00:00
ael-ntest10 The contents of branch teams/murf/bug_7598 are being folded in here. 2006-08-07 12:59:47 +00:00
ael-ntest12 This branch will resolve the bug 7635. 2006-08-01 19:03:32 +00:00
ael-ntest22 the last commit for AEL affected a small number of tests. Added a regression test for glob'd includes 2007-09-29 22:40:58 +00:00
ael-test1 This commit merges the contents of 7721, as it applied to the trunk version. Added the item that would previously trigger a false error to test1. 2006-08-12 19:28:33 +00:00
ael-test2 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-) 2006-04-24 17:41:27 +00:00
ael-test3 This commits the changes to AEL to use the gosub-with-args from Tilghman to perform macro calls. This results in substantially smaller stack footprint, which allows macro call depths in excess of 100,000 levels, rather than the limit of 7 calls deep, which the Macro app is subject to. 2006-09-27 03:45:22 +00:00
ael-test4 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-) 2006-04-24 17:41:27 +00:00
ael-test5 Merged revisions 79255 via svnmerge from 2007-08-14 14:32:21 +00:00
ael-test6 Merged revisions 79255 via svnmerge from 2007-08-14 14:32:21 +00:00
ael-test7 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-) 2006-04-24 17:41:27 +00:00
ael-test8 merge changes from team/murf/AEL-trunk-fixesonly 2006-06-18 21:36:24 +00:00
ael-test11 This commits the changes to AEL to use the gosub-with-args from Tilghman to perform macro calls. This results in substantially smaller stack footprint, which allows macro call depths in excess of 100,000 levels, rather than the limit of 7 calls deep, which the Macro app is subject to. 2006-09-27 03:45:22 +00:00
ael-test14 Changes to fix all problems reported in 7804 are included here. 2006-08-25 20:43:51 +00:00
ael-test15 This commit is a basic AEL enhancement: c-style comments 2006-08-31 02:53:15 +00:00
ael-test16 These changes resolve the problems in bug 8090, where there's a crash compiling an empty context 2006-10-04 19:33:37 +00:00
ael-test18 added the no. 18 regression test 2007-03-26 22:24:16 +00:00
ael-test19 updated the regressions with regards to 9373, the crash on double contexts, and brought other regressions up to date 2007-03-26 22:17:37 +00:00
ael-test20 Merged revisions 62883 via svnmerge from 2007-05-03 14:24:00 +00:00
ael-vtest13 This bug adds enhancement as per bug 7606, the -w 2006-08-09 01:16:37 +00:00
ael-vtest17 Correction for bug 8128 in trunk 2006-10-13 18:08:33 +00:00
ael-vtest21 Merged revisions 79255 via svnmerge from 2007-08-14 14:32:21 +00:00
ref.ael-ntest9 These changes correspond to the changes to app_stack's Gosub() application 2006-10-03 16:42:26 +00:00
ref.ael-ntest10 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-ntest12 These changes correspond to the changes to app_stack's Gosub() application 2006-10-03 16:42:26 +00:00
ref.ael-ntest22 the last commit for AEL affected a small number of tests. Added a regression test for glob'd includes 2007-09-29 22:40:58 +00:00
ref.ael-test1 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-test2 the last commit for AEL affected a small number of tests. Added a regression test for glob'd includes 2007-09-29 22:40:58 +00:00
ref.ael-test3 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-test4 the last commit for AEL affected a small number of tests. Added a regression test for glob'd includes 2007-09-29 22:40:58 +00:00
ref.ael-test5 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-test6 an unreported crash I debugged, looked like it was backing up way too far after hitting the syntax error. An inspection of the code revealed that error tokens in lists were not rearranged when the rules were rearranged as part of a code neatening-up process. By moving the error tokens to where they should be, I also reduced the number of shift/reduce conflicts to 3 instead of 8. This introduces subtle differences in error messages, so the regressions had to be updated. 2007-08-23 23:37:33 +00:00
ref.ael-test7 an unreported crash I debugged, looked like it was backing up way too far after hitting the syntax error. An inspection of the code revealed that error tokens in lists were not rearranged when the rules were rearranged as part of a code neatening-up process. By moving the error tokens to where they should be, I also reduced the number of shift/reduce conflicts to 3 instead of 8. This introduces subtle differences in error messages, so the regressions had to be updated. 2007-08-23 23:37:33 +00:00
ref.ael-test8 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-test11 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. 2007-08-15 19:21:27 +00:00
ref.ael-test14 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. 2007-08-15 19:21:27 +00:00
ref.ael-test15 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. 2007-08-15 19:21:27 +00:00
ref.ael-test16 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. 2007-08-15 19:21:27 +00:00
ref.ael-test18 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-test19 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-test20 Merged revisions 62883 via svnmerge from 2007-05-03 14:24:00 +00:00
ref.ael-vtest13 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-vtest17 Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
ref.ael-vtest21 Merged revisions 79255 via svnmerge from 2007-08-14 14:32:21 +00:00
runtests This bug adds enhancement as per bug 7606, the -w 2006-08-09 01:16:37 +00:00
setref Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-) 2006-04-24 17:41:27 +00:00