aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
AgeCommit message (Collapse)AuthorFilesLines
2007-06-14Fix an issue where the line number in an unterminated comment block error ↵qwell1-1/+1
message would show the wrong line number. "Reported" to me on #asterisk (somebody posted an error message, and I happened to catch it) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@69469 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-07Releasing the whole in-memory configuration while you're adding to it is not ↵oej1-1/+0
a good thing. Please review this change. Caused by additions (+) to non-existing contexts. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@63195 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-26Don't count failed include attempts against the configuration include level. ↵file1-0/+2
(issue #9593 reported by mostyn) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@61958 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02Pass the glob expanded filename to process_text_line so that error messages ↵file1-1/+1
contain the actual filename, not the original include one. (issue #8959 reported by tzafrir) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53117 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15when re-writing the config file, don't repeat the path if it hasn't changedkpfleming1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47689 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15when appending a list of variable to a category, ensure the tail pointer ↵kpfleming1-0/+2
points to the last variable in the list git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47688 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15clear the category's variable tail pointer as well when variables are ↵kpfleming1-0/+1
detached from it git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47686 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15ouch... don't use printf, use ast_log/ast_verbosekpfleming1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47682 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19fixes some verbose vs debug issues. patch from bug 2617mogorman1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43269 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26cast time_t to an int in printf/scanf (issue #5635)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7634 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07remove extraneous messagekpfleming1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6993 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01issue #4678kpfleming1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31ignore non-regular files during config parsing (issue #5510, different fix)kpfleming1-11/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6902 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26change ast_strlen_zero to also check for the string to be definedrussell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-17correct behavior change introduced by issue #5448 patchkpfleming1-6/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6805 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-17Improve config parsing performance (bug #5448)markster1-3/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6804 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-4/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30major header file cleanup: license, copyrights, descriptions, markers, etc.kpfleming1-1/+1
remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6454 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23add 'sip show settings' CLI command (issue #4806)kpfleming1-5/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6370 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10more ast_copy_string conversionsrussell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6073 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05add support for 'early loading' modules, so that nearly all configuration ↵kpfleming1-2/+12
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: http://svn.digium.com/svn/asterisk/trunk@6034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05clean up find_engine()kpfleming1-13/+11
issue a warning when a config file mapping is found but the desired driver is not available (inspired by bug #4628) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6032 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24split up string/time functions into separate header fileskpfleming1-30/+0
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: http://svn.digium.com/svn/asterisk/trunk@6008 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21make 'show config mapping' show all mappings associated with an engine (bug ↵kpfleming1-1/+0
#4564) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5957 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07fix memory leaks in config loader (bug #4223)kpfleming1-6/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5879 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-1/+4
add per-file revision tags and 'show version files' CLI command git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06major Makefile and build process improvements, including removal of all ↵kpfleming1-2/+1
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-05-25Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin ↵twisted1-1/+1
being open sourced, and able to run on x86, OSX isn't really suitable) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5769 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25various code cleanups (bug #4353)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5764 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08Fix improper config dir path (bug #4184)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5607 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-8/+8
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17Fix help and command line completion for "show config mappings" (Bug #3766)twisted1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5185 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-11Fix "not found" case (bug #3404)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5008 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-10Separate IAX and SIP tables for users/peersmarkster1-32/+47
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5004 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-02Clarify documentation (bug #3495)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-02Merge #exec functionality (must be explicitly enabled!)markster1-7/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4950 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-30Fix seg in variable replacement (bug #3464)markster1-51/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4930 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-30Add category inheritance (bug #3099)markster1-20/+166
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4925 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-28Fix properly the issue of the verbose level for parsing... (bug #3404 etc)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4900 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-27Fixing "parsing" bug in config.c (AGAIN!)anthm1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@4899 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25Merge config updates (bug #3406)markster1-475/+514
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-22Un-revert in preparation for actual fixmarkster1-204/+188
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4880 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-22repeal config prototype changesanthm1-188/+204
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4878 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-22Fix tiny typo (bug #3404)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4877 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21Fix this annoying typeo that has been torturing me for weeks nowanthm1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4870 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b