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
c72e5e1b38
remove the uses of the deprecated STANDARD_LOCAL_USER
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 20:11:56 +00:00
russell
252fb982f4
on this pass, only remove duplicate log messages
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00
russell
b14bdc5a12
revert my pass through the tree to remove checks of the result of ast_strdupa
...
(revisions 8378 through 8381)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell
3f2c7248c6
remove lots of useless checks of the result of ast_strdupa
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:13:12 +00:00
mogorman
982eb0aa2b
Merged revisions 8140 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines
Stop any generators running on a channel when
festival is called as described in 5996
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8141 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 20:16:18 +00:00
bweschke
589c3c0044
More memory wrapper cleanup. #6224
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8045 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 03:34:31 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
kpfleming
907b53f827
Merged revisions 7265-7266,7268-7275 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines
Changing bug report address to the Asterisk issue tracker
........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines
Makefile 'update' target now supports updating from Subversion repositories (issue #5875 )
remove support for 'patches' subdirectory, it's no longer useful
........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines
ensure channel's scheduling context is freed (issue #5788 )
........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines
don't block waiting for the Festival server forever when it goes away (issue #5882 )
........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines
allow variables to exist on both 'halves' of the Local channel (issue #5810 )
........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines
protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879 )
........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines
properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870 )
reformat password changing code to conform to coding guidelines (issue #5870 )
........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines
allow previous context-searching behavior to be used if desired (issue #5899 )
........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines
inherit channel variables into channels created by Page() application (issue #5888 )
........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines
Bug #5907 . Improve SIP INFO DTMF debugging output. (1.2 & Trunk)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7276 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-02 01:01:11 +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
russell
d3ddc001a2
issue #5605
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
russell
2a1fd152ed
remove unnecessary checks before calls to ast_strlen_zero
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 19:48:14 +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
russell
58818426d6
Massive cleanups to applications for LOCAL_USER handling and some other things.
...
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application. An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6832 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 18:19:02 +00:00
russell
2c83f05ebb
it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 22:52:21 +00:00
kpfleming
f89c44df03
more license/copyright header updates (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 15:44:26 +00:00
kpfleming
8dc28b2439
the last round of file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:39:32 +00:00
russell
0d20c914a9
remove seemingly useless write (bug #4299 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5756 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-23 23:16:43 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
markster
2207b9a515
Merge config updates (bug #3406 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25 06:10:20 +00:00
markster
10717cc766
Merge Olle's comment patch (bug #3097 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4488 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19 21:13:41 +00:00
markster
0b59f08c8d
Oops it didn't make it in
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4018 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-16 16:00:04 +00:00
citats
d0d8861797
Fix 2 memory leaks
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3844 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-27 05:06:22 +00:00
markster
28f0f8240e
Make app_festival change more portable, allow '*' for context in iax2
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3692 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-31 14:59:58 +00:00
markster
7764126fc3
Fix permissions for festival app (bug #2334 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3687 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-31 13:37:30 +00:00
markster
59d780973e
Merge rgagnon's pedantic string checks (apps a-m, bug #2035 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3428 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 07:22:30 +00:00
citats
31e064cf03
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3277 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 19:32:52 +00:00
markster
1e1095862d
x86-64 compile fixes and cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3202 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-13 21:25:10 +00:00
citats
9bd61aa747
More ast_strlen_zero changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2930 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-09 07:51:44 +00:00
markster
8f30aa2984
gethostbyname isn't reentrant, who knew...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2734 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-22 00:20:34 +00:00
markster
3f7a1cfb4f
Answer if it needs it...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2699 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-16 02:51:47 +00:00
markster
b837107b6b
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06 22:17:32 +00:00
markster
5acf40987d
Make read/write mode have a lock parameter and use it properly.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2572 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-27 06:50:12 +00:00
malcolmd
14986c0779
Bug # 1287: Festival cache string bug fixed
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2555 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-24 22:50:43 +00:00
markster
fd3c1f36e8
Alpha portability from Ricudis
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2442 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-15 16:51:58 +00:00
markster
a220372694
Fix MD5Hex size (bug #883 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2060 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-22 21:47:58 +00:00
jeremy
7e057382e9
fix festival for big endian. Bug #709
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1937 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 08:32:50 +00:00
jeremy
44d44bd08e
fix the check to usecache. Bug #731
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1886 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-30 10:07:55 +00:00
markster
69275635f1
Make festival less verbose (bug #320 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1567 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-27 02:31:07 +00:00
markster
32b1bf0a15
Fix dtmf buglet
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1345 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-15 22:45:26 +00:00
markster
00339022da
Don't ignore return value
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1342 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-15 21:28:04 +00:00
markster
a1136fedf4
Asterisk:
...
#72 - Should eliminate probs on VMWI
#41 - Dynamic add survives reload
#73 - Make festival honor its arguments
#93 - Make events on FXO interfaces more logical
#26 - Prefer "bindaddr" to logical address for registrations
??? - Record crashes AGI
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1338 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-15 04:38:39 +00:00
markster
8c5e6b7b8c
Oops
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1324 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-14 16:01:25 +00:00
markster
18ecda6b7d
First pass at restoring festival operation
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1323 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-14 15:58:55 +00:00
markster
d148cde249
Minor cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1126 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-27 23:02:52 +00:00
markster
cdb0b6b8a3
Add commonly used include headers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@889 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-23 19:09:13 +00:00
markster
6939931599
Version 0.3.0 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@556 f38db490-d61c-443f-a65b-d21fe96a405b
2002-11-29 02:14:13 +00:00
markster
3dc668ea5d
Version 0.2.0 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@523 f38db490-d61c-443f-a65b-d21fe96a405b
2002-09-11 17:09:48 +00:00