summaryrefslogtreecommitdiff
path: root/src/cstore
AgeCommit message (Collapse)Author
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.
2010-09-14fix for bug 6195An-Cheng Huang
* fix ".*" filtering.
2010-08-26mark the root as "changed" after "comment" operation.An-Cheng Huang
2010-08-26don't show extra empty level for typeless leaf nodes.An-Cheng Huang
2010-08-26mark changed ancestors up to the rootAn-Cheng Huang
2010-08-26new implementation for config outputAn-Cheng Huang
* replace the original ConfigOutput perl module. * simplify logic and fix bugs in original code.
2010-08-25remove sorting from unsorted API callsAn-Cheng Huang
2010-08-25switch to unordered_mapAn-Cheng Huang
2010-08-24add extensible node sorting mechanismAn-Cheng Huang
* unify node sorting implementation into the backend library. * allow future implementation of per-node, customized sorting policy.
2010-08-23move "changed" status handling into libraryAn-Cheng Huang
* remove public status modifier as high-level operations no longer need it. * add more information to clarify changed status handling in library. * mark changed status at appropriate places in library.
2010-08-20don't remove the workaround yetAn-Cheng Huang
* need to move changed status handling into the library.
2010-08-20mark nodes created by "default" as "changed"An-Cheng Huang
2010-08-20remove workaround for "changed" status handlingAn-Cheng Huang
2010-08-20handle "changed" status properlyAn-Cheng Huang
* original backend implementation uses unionfs-specific "changes only" dir to determine "changed" status. this breaks when it involves deactivated nodes. * new library design uses explicit per-node "changed" marker. however, since previously "commit" only handles a root "changed" marker, the new library could not implement this scheme and used a workaround instead. * now add API functions for "commit" to properly clean up "changed" markers. * modify "commit" to use these API functions and remove the workaround from the new library.
2010-08-19adjust deactivate-aware logicAn-Cheng Huang
2010-08-19add API functionAn-Cheng Huang
2010-08-13add API function for retrieving deleted values of a multi node.An-Cheng Huang
2010-08-13change all vector/string size to size_t just to be safe.An-Cheng Huang
* would have been a problem if template tree becomes more than 2^32 levels deep or if value strings longer than 2^32 characters are allowed.