dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

43 Commits

Author SHA1 Message Date
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
oej 60636c2599 Issue #5374 - Enable internal timing of generators (cmantunes)
Thanks everyone involved for hard work, testing and testing!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16473 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 06:07:04 +00:00
kpfleming 298fa6c9e1 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 22:53:49 +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
oej e04a0e3cf1 More doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20 00:18:42 +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
tilghman c1c4a6835a Reduce warnings on signedness conversions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7643 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 02:05:56 +00:00
russell ac9d70ac12 Merged revisions 7634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines

cast time_t to an int in printf/scanf (issue #5635)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7635 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26 18:35:28 +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 465d1d7712 make app_queue 1.2 jump compliant (issue #5580)
add missing includes of stdio.h
remove some unused and duplicate headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:48:00 +00:00
kpfleming e61f71745f application doc update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07 22:01:22 +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 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 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 789430016d eliminate signedness warnings (issue #5130)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6531 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 18:57:01 +00:00
kpfleming ff15e0fa53 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
russell d99da55a16 more ast_copy_string conversions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6074 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 23:12:25 +00:00
kpfleming dedd2c6fc8 clean up compiler warnings during build on 64-bit systems
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6059 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08 17:06:54 +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
kpfleming e500673791 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
kpfleming a4b06d6ac1 formatting cleanup (bug #4109)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5532 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 16:13:04 +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
kpfleming 535434ea0e ensure that needed headers are included for chmod() and mkdir() (bug #3937)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5366 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03 20:25:43 +00:00
russell 7288b1ced0 update copyright headers for 2005
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster 62d1e370ab SMS fix, pbx optimization (bug #3098)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4482 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19 17:16:39 +00:00
markster 70cedacdde Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14 23:36:30 +00:00
markster 780ddd6c32 Merge sms stuff and move to "utils" subdir (bug #2973)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4429 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-11 22:36:27 +00:00
markster 264c53472d Fix SMS thingy for Bezeq (bug #2708)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4067 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-23 20:34:40 +00:00
markster 6f10ea21dd Fix app_sms to use correct path (bug #2597)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3935 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-07 19:00:00 +00:00
markster 6868babd22 Huge callerid rework (might break H.323, others)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02 00:58:31 +00:00
markster efb40d0fe5 Merge NetBSD and Courtesty tone with modifications (bug #2329)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3686 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-31 13:32:11 +00:00
markster 0ab5f61e06 Fix directory name in SMS (bug #2307)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3659 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-26 21:28:42 +00:00
markster 4e18ef6889 Merge rgagnon's pedantic string changes (apps n-z) (bug #2038)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3429 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 07:34:34 +00:00
markster 62414649cb Merge OSX compatibility patch (bug #1940)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3331 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-28 20:10:28 +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
markster 0fc3e43ba0 Fix OpenBSD compile (bug #1830)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3194 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-12 14:53:53 +00:00
markster cd8e03c0b7 Fix compile warning on FreeBSD (bug #1755)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3120 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-31 17:01:32 +00:00
markster 349ca058ee Fix timezone handling for FreeBSD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2972 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-15 22:52:12 +00:00
markster bef23020c3 Add revk's SMS application (bug #1437). Thanks!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2805 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-28 20:43:06 +00:00