Prevent duplicate sorcery wizards from being applied to sorcery object types.
This commit contains several changes to sorcery: 1) Application of sorcery configuration based on module name is automatically performed when sorcery is opened for a module. 2) Sorcery will not attempt to apply the same wizard to an object type more than once. 3) Sorcery gives more exact results when attempting to apply a wizard, whether as the default or based on configuration. Sorcery unit tests still pass for me after making these changes. Review: https://reviewboard.asterisk.org/r/3326 ........ Merged revisions 411159 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- configs/sorcery.conf.sample 1 addition, 1 deletionconfigs/sorcery.conf.sample
- include/asterisk/sorcery.h 34 additions, 7 deletionsinclude/asterisk/sorcery.h
- main/bucket.c 2 additions, 2 deletionsmain/bucket.c
- main/sorcery.c 39 additions, 14 deletionsmain/sorcery.c
- res/res_mwi_external.c 2 additions, 4 deletionsres/res_mwi_external.c
- res/res_pjsip/config_system.c 0 additions, 2 deletionsres/res_pjsip/config_system.c
- res/res_pjsip/pjsip_configuration.c 0 additions, 2 deletionsres/res_pjsip/pjsip_configuration.c
- tests/test_sorcery.c 20 additions, 20 deletionstests/test_sorcery.c
- tests/test_sorcery_astdb.c 1 addition, 1 deletiontests/test_sorcery_astdb.c
- tests/test_sorcery_realtime.c 1 addition, 1 deletiontests/test_sorcery_realtime.c
Loading
Please register or sign in to comment