0abc9b0bd7 
								
							
								 
							
						 
						
							
							
								
								test commit to ensure the server is happy again  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24379  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								1f46755f75 
								
							
								 
							
						 
						
							
							
								
								fix a mostly harmless error introduced by svn merge.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20036  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								e43bc6634d 
								
							
								 
							
						 
						
							
							
								
								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: https://origsvn.digium.com/svn/asterisk/trunk@20003  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								1dbf98061e 
								
							
								 
							
						 
						
							
							
								
								remove extraneous warning message  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19767  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								08d6fd6e17 
								
							
								 
							
						 
						
							
							
								
								remove an unused function  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19226  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								68b136c263 
								
							
								 
							
						 
						
							
							
								
								remove unused fields  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19219  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								628a3e8d1b 
								
							
								 
							
						 
						
							
							
								
								update module license key text and update loader to accept it  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18574  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a60d8196df 
								
							
								 
							
						 
						
							
							
								
								small cleanups to module.h and loader.c to start playing with  
							
							... 
							
							
 
							
							new-style modules using static symbols.
Everything will still work as before, but new-style modules
can now be defined by putting a '#define STATIC_MODULE' somewhere
before including module.h, then declaring STATIC_MODULE the
various methods (load, unload, key...) that the module is
supposed to supply, and adding a 'STD_MOD(MOD_1, reload_fn, NULL, NULL)'
macro call at the end.
A module compiled in this way will be loaded RTLD_NOW|RTLD_LOCAL
so symbol pollution is reduced, and symbols are resolved immediately.
Removing just the '#define STATIC_MODULE' will restore the old
behaviour.
In order for a module to be loaded RTLD_NOW|RTLD_LOCAL, it must not
export any symbol[1], and all the modules it depends on (e.g. res_*)
must be loaded already.
[1] Mechanisms are in place, and will be enabled later, to still
allow such modules to 'export' symbols and resolving the dependencies
irrespective of the load order.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17790  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								8a366ba988 
								
							
								 
							
						 
						
							
							
								
								Reduce debugging messages from WARNING to DEBUG  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16922  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								7058495f97 
								
							
								 
							
						 
						
							
							
								
								Doxygen fixes  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15860  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								2326d0d499 
								
							
								 
							
						 
						
							
							
								
								Bring in the new loader code as described in mantis  #4377  
							
							... 
							
							
 
							
							and updated to today's version.
The core of the patch is only two files, loader.c
and include/asterisk/module.h, with the other files
touched only to adapt non-standard usages of the
reference counts and localuser lists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15784  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								9164eac21a 
								
							
								 
							
						 
						
							
							
								
								Add micro-http server and abstract manager interface, make snmp not die  
							
							... 
							
							
 
							
							on reload.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								b0ac62573a 
								
							
								 
							
						 
						
							
							
								
								revert loader changes that have clearly not undergone adequate testing before commit  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14952  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								bdd24455b4 
								
							
								 
							
						 
						
							
							
								
								Bug 4377 - Round 2 of the loader updates  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14886  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								5c38240187 
								
							
								 
							
						 
						
							
							
								
								conversions to allocation wrappers and various other coding guideliens fixes (issue  #6582 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11231  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								f1209276fd 
								
							
								 
							
						 
						
							
							
								
								Bug 4377 - Initial round of loader changes  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								6f71e1178e 
								
							
								 
							
						 
						
							
							
								
								constify arguments in more places where strings should not be modified (issue  #6286 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								e57319b1e5 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 8162 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r8162 | mogorman | 2006-01-17 18:47:04 -0600 (Tue, 17 Jan 2006) | 4 lines
Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8163  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a725468381 
								
							
								 
							
						 
						
							
							
								
								update doxygen docs to specify authors  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								ec05153ac4 
								
							
								 
							
						 
						
							
							
								
								convert most of the option_*'s to a single ast_flags structure. Also, fix some  
							
							... 
							
							
 
							
							formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								2c65582b66 
								
							
								 
							
						 
						
							
							
								
								remove extraneous svn:executable properties  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								3453e3efa5 
								
							
								 
							
						 
						
							
							
								
								Doxygen documentation update from oej (issue  #5505 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								44aff84c2e 
								
							
								 
							
						 
						
							
							
								
								use a more generic means to decide whether we need to provide poll/dlfcn functionality (issue  #5297 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6664  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								5da915dcfd 
								
							
								 
							
						 
						
							
							
								
								update MANY more files with proper copyright/license info (thanks Ian!)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								52594b6b12 
								
							
								 
							
						 
						
							
							
								
								fix a bunch of gcc4 warnings realted to pointer signedness  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6290  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								32a267db40 
								
							
								 
							
						 
						
							
							
								
								formatting fixes (bug  #4770 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6185  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								f268ea2b3c 
								
							
								 
							
						 
						
							
							
								
								make CLI output use singular/plural when appropriate (bug  #4654 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								054317fb13 
								
							
								 
							
						 
						
							
							
								
								add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage  
							
							... 
							
							
 
							
							add warning for when file mapping is found but the engine is not available
add warning for trying to map 'logger.conf', since it cannot be reliably mapped
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								2b8338cb52 
								
							
								 
							
						 
						
							
							
								
								more file version tags  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								0e6762dd5f 
								
							
								 
							
						 
						
							
							
								
								remove experimental module version tags  
							
							... 
							
							
 
							
							add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								6cbf69981d 
								
							
								 
							
						 
						
							
							
								
								clean up module version number output  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5863  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								43cf15e339 
								
							
								 
							
						 
						
							
							
								
								add support for per-module version numbers  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5862  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								4f299de252 
								
							
								 
							
						 
						
							
							
								
								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: https://origsvn.digium.com/svn/asterisk/trunk@5855  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								23472dd2c0 
								
							
								 
							
						 
						
							
							
								
								support configurable batch posting of CDRs (off by default) (bug  #3883 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								199add9567 
								
							
								 
							
						 
						
							
							
								
								phase 1 of header include cleanup (bug  #4067 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								1f9ab2380a 
								
							
								 
							
						 
						
							
							
								
								use double-quotes instead of angle-brackets for non-system include files (bug  #4058 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								d254db31c8 
								
							
								 
							
						 
						
							
							
								
								*** empty log message ***  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								5f726ad8c7 
								
							
								 
							
						 
						
							
							
								
								Merge config updates (bug  #3406 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								0c30452423 
								
							
								 
							
						 
						
							
							
								
								update copyright headers for 2005  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								1496da97fb 
								
							
								 
							
						 
						
							
							
								
								Optimize module loading (bug  #3356 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4814  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								ff6c09c775 
								
							
								 
							
						 
						
							
							
								
								Revert loader change now that we do it at runtime  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4753  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								127c3c93d0 
								
							
								 
							
						 
						
							
							
								
								Load formats first (bug  #3242 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4664  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								6cd0d316e2 
								
							
								 
							
						 
						
							
							
								
								fix logging issue  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4563  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								a085c07f89 
								
							
								 
							
						 
						
							
							
								
								Don't hold modlock while doing reload  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4276  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								dffb2566bc 
								
							
								 
							
						 
						
							
							
								
								Big agent / queue fixes  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4231  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								3e5368b763 
								
							
								 
							
						 
						
							
							
								
								Provide module command completion (make twisted happy)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4022  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								7c4337dc91 
								
							
								 
							
						 
						
							
							
								
								Add option for "show modules like" (bug  #2643 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3996  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								befaca888d 
								
							
								 
							
						 
						
							
							
								
								Minor config updates, add module counts (bug  #2593 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3953  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								eb57ea95d6 
								
							
								 
							
						 
						
							
							
								
								reload documentation, don't display res in app_test...  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3718  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								fd7577eed2 
								
							
								 
							
						 
						
							
							
								
								Don't try to look offhook with channel banks & Loopstart (bug  #2362 ), also make individual modules reloadable...  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3714  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago