Commit Graph

146 Commits (25e721ee9b849671b37dfa3db7b9f5a32508eb0c)

Author SHA1 Message Date
Steve Murphy 95ee34a654 This fix closes issue #10642 -- it's not perfect, but should retain most blank lines in config files, via read/write cycles.
18 years ago
Russell Bryant 2a3ed7b879 remove unused functions that made this file not build under dev mode
18 years ago
Steve Murphy c88e216a14 This solves an unreported solaris compile problem (missing -lnsl -lsocket).
18 years ago
Steve Murphy dcb85e2456 this set of changes fixes issue # 10643 by keeping track of the last object defined in a file, and attaching any accumulated comments to that object (category header or variable declaration). The file_save routine also had to be upgraded to output these trailing comments. Config.h was modified to include the trailing comment list on categories and variables.
18 years ago
Tilghman Lesher 3305af34d6 Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag (fixes #include) (closes issue #10629)
18 years ago
Tilghman Lesher 87044d37a0 We shouldn't use a filename blindly without checking to make sure it's unused first
18 years ago
Steve Murphy 876ebb3ec7 init newer so compile won't complain.
18 years ago
Russell Bryant 8555b694ee make trunk build again. murf will have to review this to see if it was the right fix, as it is related to his last change.
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Tilghman Lesher 8b63009338 Change this flag... might not otherwise unlock in an OOM situation
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Mark Michelson c4c0e45c8b Merged revisions 78103 via svnmerge from
18 years ago
Jason Parker 3f0a1faed2 Merged revisions 78180 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Luigi Rizzo 72b99a2817 Introduce ast_parse_arg() , a generic function to parse strings
18 years ago
Jason Parker a5bdba6074 Merged revisions 69470 via svnmerge from
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Olle Johansson 980642a846 Merged revisions 63254 via svnmerge from
18 years ago
Joshua Colp 489f9c68c3 Merged revisions 61959 via svnmerge from
18 years ago
Russell Bryant 97d0661327 Merged revisions 61690 via svnmerge from
18 years ago
Steve Murphy 69bb679e14 via 8118, a RealTime upgrade to make RT a complete storage abstraction. The store/destroy mechanisms needed these missing peices.
18 years ago
Steve Murphy d6943624c8 Merged revisions 59225 via svnmerge from
18 years ago
Olle Johansson 75d387acbc Doxygen additions, corrections
18 years ago
Olle Johansson 8ac0fb2bc3 New CLI command "Core show settings" to list some core settings
18 years ago
Joshua Colp 3388474e15 Merged revisions 53118 via svnmerge from
18 years ago
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
19 years ago
Russell Bryant a01ebfc13b Merged revisions 51057 via svnmerge from
19 years ago
Tilghman Lesher 836956f1df Bug 8803 - Fix crash in API
19 years ago
Joshua Colp 278f2fe4c1 Merged revisions 50405 via svnmerge from
19 years ago
Tilghman Lesher c4c2c546da When calling the Realtime app more than once, unset fields which were
19 years ago
Kevin P. Fleming d0f3b18d16 a little more const-ification
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Joshua Colp 50d9c8ad07 Merged revisions 49551 via svnmerge from
19 years ago
Kevin P. Fleming 1c86ec8222 Merged revisions 47690 via svnmerge from
19 years ago
Kevin P. Fleming 00c5f6d032 Merged revisions 47684 via svnmerge from
19 years ago
Steve Murphy cd74836d3a This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Steve Murphy 1bb9f6b362 Cleanups suggested by Russell.
19 years ago
Mark Spencer b7517f1231 Fix comment preservation code (thanks murf!)
19 years ago
Tilghman Lesher 2b55678e1f Remove deprecated CLI apps from the core
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Matt O'Gorman d0a1a0033d similar patch for verbose vs debug with minor changes
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago