summaryrefslogtreecommitdiff
path: root/src/cstore
AgeCommit message (Collapse)Author
2012-07-11Don't leak file descriptors to actionStephen Hemminger
Bug 8204 Make sure we don't handle unnecessary file descriptors to child processes. This is done by marking file descriptors as close on exec, and closing pipe before exec.
2012-06-03Fix more load/commit memory leaksJohn Southworth
This fixes some more of the memory leaks in load and commit. Some still exist in the legacy cli_new/cli_parse code. Since that code is supposed to be rewritten such that it interfaces with the rewritten commit code in a clean way, these will not be fixed right now.
2012-03-22Bugfix 7267: make inodes allocate dynamicallyJohn Southworth
2011-10-24Add VarRef translation to the allowed field for config modeJohn Southworth
2011-07-29Fix build on older gccStephen Hemminger
Incorrect use of #ifdef. Gcc major version is in __GNUC__
2011-07-29Merge branch 'oxnard' of git.vyatta.com:/git/vyatta-cfg into oxnardJohn Southworth
2011-07-29Bugfix 2823: Configuration mode command interpreter, output adjustments for ↵John Southworth
consistency
2011-07-29Fix build of config backend on Glibc 4.6Stephen Hemminger
Bug 7188 The problem is that vyatta cfg backend is using internals of c++ templates (in std::tr1) and these will change between versions of glibc. Workaround by adding necessary conditional compilation
2011-07-25Bugfix 7362: Make some adjustments to previous patch per An-Cheng's suggestionsJohn Southworth
2011-07-23Oops, should have been false by default.John Southworth
2011-07-23Bugfix 7362: Make reset_paths reset to root level when resolving varrefsJohn Southworth
2011-07-15Bugfix 7331: better fix for the bugJohn Southworth
(cherry picked from commit fdac525b7596f1b18c201bdcd5923d3e76453ebd)
2011-07-15Don't allow users to set migration commentsJohn Southworth
(cherry picked from commit 9f1ff5427e0f72f2bded287be6e1d4cf442945cb)
2011-06-15Bugfix 6767: Move log files from /tmp to /var/log/vyatta.Bob Gilligan
2011-05-20update comment, fix typo, etc.An-Cheng Huang
2011-05-18correct comment file handling in copy and minor cleanup.An-Cheng Huang
2011-05-17add var ref "bug" to maintain backward compatibility.An-Cheng Huang
2011-05-17reimplement commit lockingAn-Cheng Huang
2011-05-17minor feature etc.An-Cheng Huang
* add commit notification. * fix relative VAR references that traverse up to root level.
2011-05-16tweak directory handling for unionfsAn-Cheng Huang
2011-05-13provide more info on failuresAn-Cheng Huang
2011-05-12fix for bug 6771An-Cheng Huang
* reimplement process management to fix breakage caused by commit 792d6aa0dd0ecfd45c9b5ab57c6c0cb71a9b8da6.
2011-05-10preliminary implementation of new commitAn-Cheng Huang
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
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-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-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-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-18namespace reorgAn-Cheng Huang
2011-01-27rework/simplify path handlingAn-Cheng Huang
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)
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-02implement load function in new config input/output infrastructure.An-Cheng Huang
* add "commands diff" functionality to config input/output infrastructure. * consolidate similar logic in "commands diff" and "show diff". * add loadFile functionality to cstore using "commands diff". * export loadFile through shell API.
2010-11-22fix for bug 6459An-Cheng Huang
* don't throw away "unsaved" state when doing "discard".
2010-11-19fix existence check in "syntax" when builtin expression is used.An-Cheng Huang
2010-11-15fix for bug 6427An-Cheng Huang
* also show non-existing nodes for "edit" completion.
2010-11-10switch to new output frameworkAn-Cheng Huang
* change showCfg to use new code. * remove old files.
2010-11-10fix typo in commentAn-Cheng Huang
2010-11-09initial rework of config output frameworkAn-Cheng Huang
* separate data from algorithm. * prepare for unified input/output framework.
2010-11-04add session assertion for API functionsAn-Cheng Huang
* enforce session for API functions requiring it.
2010-10-18temporary workaround for bug 5708An-Cheng Huang
* disallow deactivate on leaf nodes. revisit after "default value"-related issues are resolved.
2010-09-24cleanupAn-Cheng Huang
* set help string only if available. * use "builtin" explicitly.