Commit Graph

54 Commits (3bd33214b967072e77b0e54c9e7145aa2fe99c27)

Author SHA1 Message Date
Jason Parker 3bd33214b9 Move code from res_features into (new file) main/features.c
18 years ago
Joshua Colp 96f5a494cf Move ModuleLoad and ModuleCheck manager commands from loader.c to manager.c. Previously they would get registered twice because of the way manager.c operates.
18 years ago
Luigi Rizzo b9aeecdb66 some cleanup of this code while I am trying to debug a problem with
18 years ago
Olle Johansson 9dc965eadd Merged revisions 91366 via svnmerge from
18 years ago
Olle Johansson a30972ee65 More "moremanager" fixes. Manager commands to check module status.
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 915b97d300 move internal function declarations to include/asterisk/_private.h
18 years ago
Kevin P. Fleming 4d522da4aa switch compile-time option checking to string storage mode in this branch too
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo 6cca49b9d0 define RTLD_LOCAL for platforms that don't have it.
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Kevin P. Fleming 547306835e Merged revisions 89325 via svnmerge from
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Luigi Rizzo d0b2d2dc62 remove a debugging message which i forgot in.
18 years ago
Luigi Rizzo 81456f8493 Fix embedding of modules on FreeBSD:
18 years ago
Kevin P. Fleming 6a0ae0aca4 merging patches that don't compile is bad... mmkay?
18 years ago
Joshua Colp e4b75ab0e0 Merged revisions 86630 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
18 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
18 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
18 years ago
Russell Bryant 80166c6de8 Conversions to ast_debug()
18 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant 508d36f5ad Merged revisions 67308 via svnmerge from
18 years ago
Olle Johansson 0cc7c0640b Constifications
18 years ago
Kevin P. Fleming 431b4a44d0 Merged revisions 62986 via svnmerge from
18 years ago
Jason Parker 8762bae610 Merged revisions 61705 via svnmerge from
18 years ago
Joshua Colp 42a36967c8 It is possible for mod to become invalid after we unload it (if it's a dynamic module) so move it around a bit.
18 years ago
Joshua Colp 21b9973d21 Make the loader less noisy under valgrind.
18 years ago
Kevin P. Fleming 1bec2f5bfa give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded
18 years ago
Tilghman Lesher 588fcc7be7 Merged revisions 53532 via svnmerge from
18 years ago
Olle Johansson 0487368645 Take two, using find_resource on Kevin's suggestion.
19 years ago
Olle Johansson 11d00cac15 Adding dialplan function IFMODULE, so you can create dialplans that handle
19 years ago
Joshua Colp 62d3a11eb9 Merged revisions 45817 via svnmerge from
19 years ago
Kevin P. Fleming 41eb95e055 Merged revisions 44322 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Anthony LaMantia e421b69ce6 reveting modifaction to __ast_module_user_remove
19 years ago
Joshua Colp 10e6fbc3bc Tweak changes that went in on revision 42891
19 years ago
Anthony LaMantia 09d8972be6 small fix for 7944
19 years ago
Kevin P. Fleming a757ca2947 ensure that unload_dynamic_module won't continue dereferencing a module pointer after the module has been unloaded from memory
19 years ago
Kevin P. Fleming 970c6876c5 instead of reverting this supposedly 'stupid' change, let's try to get it working properly
19 years ago
Matthew Fredrickson 16157e26d6 Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.
19 years ago
Kevin P. Fleming 7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
19 years ago
Kevin P. Fleming e0df1dfd7c generate a message when a module cannot be found and loadable modules are disabled
19 years ago
Kevin P. Fleming e274fc0b54 minor improvements
19 years ago
Kevin P. Fleming 804f49e2c9 when loadable modules are disabled, if someone tries to load a module that does not exist, don't dereference a NULL pointer, just stop trying to load it...
19 years ago
Kevin P. Fleming 26fa229138 restore 'preload' functionality in loader
19 years ago