Luigi Rizzo
590e21393e
optimize move_variables() so that two lists can be created
...
in constant time instead of scanning the entire list.
On passing, minor formatting fixes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 16:06:57 +00:00
Olle Johansson
d61a6c9a1c
README files have changed names, better change references too :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 17:27:57 +00:00
Olle Johansson
acfc219733
Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:50:43 +00:00
Olle Johansson
dd5222fd30
Update to trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:17:40 +00:00
Tilghman Lesher
f1209276fd
Bug 4377 - Initial round of loader changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 23:08:06 +00:00
Russell Bryant
b96af335d8
conversions to memory allocation wrappers, remove duplicated error messages,
...
remove unnecessary casts, malloc+memset to calloc (issue #6395 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 16:59:50 +00:00
Olle Johansson
ad5eaa9aca
More doxygen updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 00:18:42 +00:00
Tilghman Lesher
e92b19bc35
Bug 6160 - Replace inlined code with ast_skip_blanks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 15:18:23 +00:00
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Tilghman Lesher
ca92ea82d6
Bug 5854 - Allow quotation of the second field in extconfig, for the purpose of including commas (for LDAP configuration)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 06:42:29 +00:00
Russell Bryant
ef1ce7aec9
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: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 18:35:28 +00:00
Russell Bryant
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
2005-12-04 20:40:46 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming
87c87fe158
remove extraneous message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-07 22:05:31 +00:00
Kevin P. Fleming
7ffb604a2f
issue #4678
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Kevin P. Fleming
f9c8bb8087
ignore non-regular files during config parsing (issue #5510 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:08:55 +00:00
Russell Bryant
a736096e0b
change ast_strlen_zero to also check for the string to be defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:54:24 +00:00
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Kevin P. Fleming
7a59bc42c8
correct behavior change introduced by issue #5448 patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 13:53:50 +00:00
Mark Spencer
43fd4d64b0
Improve config parsing performance (bug #5448 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 03:53:27 +00:00
Kevin P. Fleming
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
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
1632d52795
major header file cleanup: license, copyrights, descriptions, markers, etc.
...
remove deprecated config_old.c/config_old.h
remove unused cvsid.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 18:32:10 +00:00
Kevin P. Fleming
a5b640cb40
add 'sip show settings' CLI command (issue #4806 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:44:28 +00:00
Russell Bryant
edbc500b77
more ast_copy_string conversions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 22:56:21 +00:00
Kevin P. Fleming
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
2005-07-05 22:11:43 +00:00
Kevin P. Fleming
65e52f3ba9
clean up find_engine()
...
issue a warning when a config file mapping is found but the desired driver is not available (inspired by bug #4628 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 21:17:58 +00:00
Kevin P. Fleming
3e44b65090
split up string/time functions into separate header files
...
make more LOW_MEMORY optimizations, and ensure that a non-inline version of each inlinable function is always available (for external modules)
move compiler-specific stuff into a separate header file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 22:45:15 +00:00
Kevin P. Fleming
2f5da9a173
make 'show config mapping' show all mappings associated with an engine (bug #4564 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 19:09:35 +00:00
Kevin P. Fleming
304bc75cf1
fix memory leaks in config loader (bug #4223 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-07 21:28:04 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
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
2005-06-06 20:27:51 +00:00
Kevin P. Fleming
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
2005-06-06 03:04:58 +00:00
Josh Roberson
43866b0ef2
Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin being open sourced, and able to run on x86, OSX isn't really suitable)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 21:56:50 +00:00
Russell Bryant
9644f1dcfe
various code cleanups (bug #4353 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 10:57:15 +00:00
Mark Spencer
ee79fe4036
Fix improper config dir path (bug #4184 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 17:31:09 +00:00
Kevin P. Fleming
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
2005-04-22 13:11:34 +00:00
Kevin P. Fleming
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
2005-04-21 06:02:45 +00:00
Josh Roberson
48b6ab921b
Fix help and command line completion for "show config mappings" (Bug #3766 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 00:35:06 +00:00
Mark Spencer
188fdf9260
Fix "not found" case (bug #3404 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-11 16:09:01 +00:00
Mark Spencer
c52f076bca
Separate IAX and SIP tables for users/peers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-10 21:14:11 +00:00
Mark Spencer
f286c413c0
Clarify documentation (bug #3495 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 19:48:53 +00:00
Mark Spencer
b4f05e2c98
Merge #exec functionality (must be explicitly enabled!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 03:38:24 +00:00
Mark Spencer
7cd91c85fa
Fix seg in variable replacement (bug #3464 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 17:34:44 +00:00
Mark Spencer
0b04b3dfb2
Add category inheritance (bug #3099 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 06:26:19 +00:00
Mark Spencer
976bdba2d1
Fix properly the issue of the verbose level for parsing... (bug #3404 etc)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-28 00:31:50 +00:00
Anthony Minessale II
dad010329b
Fixing "parsing" bug in config.c (AGAIN!)
...
if you had a verbose of 2 you got the following:
Parsing '/etc/asterisk/cdr_odbc.conf': == Parsing '/etc/asterisk/confcall.conf': *CLI> == Parsing '/etc/asterisk/sip_notify.conf':
the carraige return only prints on verbose of 3 or more so i am again moving them to be the same.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-27 21:10:44 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Mark Spencer
17c311c9b9
Un-revert in preparation for actual fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-22 22:13:11 +00:00
Anthony Minessale II
d52d919a29
repeal config prototype changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-22 21:00:31 +00:00
Mark Spencer
9dfb8aac36
Fix tiny typo (bug #3404 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-22 17:18:28 +00:00