summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-05-12fix for bug 6771An-Cheng Huang
* reimplement process management to fix breakage caused by commit 792d6aa0dd0ecfd45c9b5ab57c6c0cb71a9b8da6.
2011-05-10clean up when committing no changesAn-Cheng Huang
(cherry picked from commit 113b5ee593fd3196e2b1c828c3dd82032758e492)
2011-05-10preliminary implementation of new commitAn-Cheng Huang
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
2011-04-15add validation to config file APIAn-Cheng Huang
2011-04-15initial implementation of "config file" shell APIAn-Cheng Huang
* this API allows shell scripts to "query" the "config" represented by a config file in a way similar to how they query the active/working config.
2011-04-13fix for bug 6996An-Cheng Huang
* add "ignore-edit" option for config output. * ignore "edit level" when saving config file.
2011-04-08fix for bug 6985An-Cheng Huang
* rename needs to mark the new tag value "changed".
2011-04-06minor refactoringAn-Cheng Huang
2011-03-31add missing initializationAn-Cheng Huang
2011-03-31fix for bug 6966An-Cheng Huang
* fix paths issue in edit mode.
2011-03-18fix for bug 6927An-Cheng Huang
* handle "default state transition" correctly for "show".
2011-03-17remove debug outputAn-Cheng Huang
2011-03-17add config path abstraction and high-level cachingAn-Cheng Huang
* part of the config backend cleanup/optimization work. * improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%.
2011-03-11remove another copied-and-pasted functionAn-Cheng Huang
2011-03-09switch query functions to use lower-level API directly.An-Cheng Huang
2011-03-03remove deactivate-handling code from commitAn-Cheng Huang
* activate/deactivate is pending redesign, so the old code no longer applies. * conceptually activate/deactivate should be transparent to commit so removing the old code.
2011-03-02clean up commit dead code etc. etc. etc.An-Cheng Huang
2011-03-02change indentation in commit codeAn-Cheng Huang
2011-03-01tweak map iterator usageAn-Cheng Huang
2011-03-01add caching for parsed config templatesAn-Cheng Huang
* this improves backend performance by ~15% in, e.g., "load" (w/o commit) and "show". * this is only temporary and eventually caching should be done at higher level for better performance, and that will require config path abstraction.
2011-02-28add config template abstractionAn-Cheng Huang
2011-02-23compile commit with g++An-Cheng Huang
2011-02-23remove compiler warningsAn-Cheng Huang
2011-02-22clean up dead code etc. etc. etc.An-Cheng Huang
2011-02-18namespace reorgAn-Cheng Huang
2011-02-10Improve memory allocation (and freeing), so commit will support a ↵Michael Larson
configuration booting with 6000 vpn tunnels (w/ 2 gigs ram).
2011-02-09fix for bug 6791An-Cheng Huang
* work around comment syntax ambiguity by ignoring comments not associated with any nodes.
2011-01-27rework/simplify path handlingAn-Cheng Huang
2011-01-20added a parameter to the break on priority group option:Michael Larson
-b [priority] break at priority node (debug mode) Allows a commit to proceed up the passed in priority group number and then from there single step through each priority group. Useful in debugging large/complex configuration files.
2011-01-20add comments for showConfigAn-Cheng Huang
2011-01-20export config output algorithms through shell APIAn-Cheng Huang
2011-01-18show single context for consecutive nodes at the same level.An-Cheng Huang
2011-01-18have caller handle edit level for context diffAn-Cheng Huang
2011-01-18add comments for context diff codeAn-Cheng Huang
2011-01-18initial implementation of context diffAn-Cheng Huang
2011-01-13remove compiler warningsAn-Cheng Huang
* squeeze already __USE_ISOC99. (cherry picked from commit dc1294e97c46938105194639c7bff89399ef93a5)
2011-01-11reset initial parser stateAn-Cheng Huang
(cherry picked from commit f780a3fe2703874219e70e7cf443846fd85e9a67)
2011-01-11tweak parser for top-level commentAn-Cheng Huang
(cherry picked from commit 7f436bd240d19bace94f102ce2f035399e48d612)
2011-01-11use the old interface rather than call unlink directly.Michael Larson
(cherry picked from commit 3246881725b219e532464a0191d074e9f02cba23)
2011-01-11and fix for bug 6638Michael Larson
(cherry picked from commit ef1635f3d6784b77ecce922fbfad0ca96b749a30)
2011-01-11re-enable concurrent configuration commit locking.Michael Larson
locking can be overrode though commit -l flag. (cherry picked from commit c13f949c55df81052c73d394d5ed5ea18a65502b)
2011-01-07improve load error messageAn-Cheng Huang
(cherry picked from commit 42f2fdb35cff89debd346126eb69cd95d855ff7b)
2011-01-05fix for bug 6641An-Cheng Huang
* change shell API to only use "edit level" when needed. * add factory functions for cstore creation to simplify code. (cherry picked from commit 2208bfef1004295d3227492c6a3e9d7b36903db5)
2011-01-04workaround for bug 5388An-Cheng Huang
* disallow double quote (") character in config values. (cherry picked from commit 143d9b4ed9fcf3ac29fd8bc8c6af6bb1921fada8)
2010-12-21propagate constnessAn-Cheng Huang
2010-12-20make output-related functions staticAn-Cheng Huang
2010-12-13make the library croak when internal error occurs in perl context.An-Cheng Huang
* extend output/assert mechanism and simplify code. * when handling internal error, automatically detect perl context and croak if the library is used from perl.
2010-12-10fix for bug 6026An-Cheng Huang
* for unionfs cstore implementation, enforce file size limit on both read and write and raise limit to 256 KB.
2010-12-08output session assert message to userAn-Cheng Huang
2010-12-08need to check if process terminated normally before checking return code status.Michael Larson