Archived
14
0
Fork 0
Commit graph

31 commits

Author SHA1 Message Date
tilghman
56d7229005 Bug 7062 - Rename ael2 CLI commands to ael
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 22:07:18 +00:00
rizzo
52268e0664 make destroy_pval able to handle a NULL value
(the warning should be removed);
define a 'elements_block' rule to simplify some other rules
removing duplicated code - runtests seems happy with this.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23613 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 12:30:08 +00:00
rizzo
3a16c3d072 include/asterisk/ael_structs.h:
- protect against multiple includes of ael_structs.h
  - remove prototypes for unused or undeclared functions

pbx/ael/ael.y
  - staticize functions as appropriate
  - constify arguments
  - remove useless extern

pbx/ael/ael.flex
  - ifdef out unused functions

pbx/pbx_ael.c
  - constify some variables and arguments
  - ifdef out unused functions
  - staticize functions as appropriate

update generated files accordingly 



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 22:41:16 +00:00
rizzo
62f50212c0 fix variable declaration in the middle of a block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22413 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-25 17:06:37 +00:00
kpfleming
6baa8fbab8 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:41:27 +00:00
rizzo
3664249356 This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming
e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
russell
e4c28d165d Merged revisions 15658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15658 | russell | 2006-03-28 13:09:05 -0500 (Tue, 28 Mar 2006) | 2 lines

fix the order in which for loops are expanded (issue #6810)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15659 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 18:13:53 +00:00
tilghman
70141a02c7 Merged revisions 7577 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7578 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-21 19:24:56 +00:00
kpfleming
24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming
18013517e4 issue #5761
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7113 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16 17:16:23 +00:00
markster
a6c125b59e Never call load_module / unload_module
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7093 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-13 02:19:14 +00:00
kpfleming
0406912cf9 issue #5354
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7060 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 00:14:13 +00:00
kpfleming
99e5289a45 issue #5701
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7055 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:28:55 +00:00
kpfleming
df706a8900 issue #5648
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 01:55:31 +00:00
russell
db653f9eb1 use ast_skip_blanks in pbx_ael
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6861 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 18:03:44 +00:00
russell
2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
markster
f99e92a6b6 Fix ael if, while, else (bug #5370)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6756 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 15:36:29 +00:00
russell
b6f867a38a move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
clean up some formatting
remove some commented out reference code
move unload_module in pbx_ael down to be with the rest of the standard module functions


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6630 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-23 02:57:14 +00:00
russell
5f24c08422 Use Goto instead of GotoIf when jumping over the else block (issue #4660)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6629 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-23 02:53:53 +00:00
kpfleming
95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
67d98e550b use matching char types for strings (issue #5106)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6506 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-02 19:12:35 +00:00
kpfleming
d456701073 work around parsing problem by using GotoIf() (issue #4876)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6425 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-26 20:10:17 +00:00
kpfleming
5017d85472 ignore equals-signs inside parens (issue #5022)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6424 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-26 20:08:28 +00:00
markster
becc9777cf Fix AEL max character bug (bug #4837)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6259 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03 02:26:19 +00:00
russell
467a58ed8f get rid of compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6142 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 16:32:44 +00:00
kpfleming
b329e2e4b0 don't force autofallthrough to on (bug #4599)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6028 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 19:22:58 +00:00
markster
2d08845d06 Oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5930 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17 14:33:29 +00:00
kpfleming
e9bbd73622 dueling commits, mark won!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5923 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17 12:56:35 +00:00
markster
a9885aaeec AEL minor fixes (bug #4539)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5922 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17 12:53:26 +00:00
markster
20cc8387a9 Add Asterisk Extension Language support (AEL) from Astricon talk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5918 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-16 08:47:06 +00:00