summaryrefslogtreecommitdiff
path: root/src/cstore/cstore.cpp
AgeCommit message (Collapse)Author
2024-07-03T6527: remove remaining references to PerlJohn Estabrook
2023-05-29T5234: add bash prompt identifier for given Network NamespaceChristian Breunig
2023-05-21T5234: add bash prompt identifier for given VRF instanceChristian Breunig
2023-02-13debian: T5003: Fixes for GCC in Debian 12 "Bookworm"sarthurdev
Fixes compile error: void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function
2022-09-05cstore: T4664: add validation: no whitespace in tag node value namesJohn Estabrook
2022-05-16vyos-debug: T4394: extend profiling supportVolodymyr Huti
1. Use chrono library instead of basic C library to improve accuracy 2. Introduce the tracing helpers 3. Add tracing calls to the main processing points NOTE: loger is writing to the stdout, and for bootloader it is redirected to - /var/log/vyatta/vyos-boot-config-loader.log
2019-03-21T1310: use FQDN as hostname in config promptChristian Poessinger
2019-02-28T1273: add rudimentary script profiling support.Daniil Baturin
2017-11-01use unique_ptr if gcc is version 6 or higherKim Hagen
2017-11-01replace deprecated auto_ptr for unique_ptrKim Hagen
2015-12-17Fix the reversed sort order for nodes.Thomas Jepp
2015-12-17Go back to using the apt version comparison for node sorting.Thomas Jepp
2015-12-17Replace dpkg version comparisions with strcmp.Thomas Jepp
2015-11-23Build fixes for updated libraries on Jessie.Thomas Jepp
2012-09-12Fix a few completion bugsJohn Southworth
1. Bugfix 8254: Show the help text first so users don't think there is only one completion for a value when it exists with non-comps 2. Fix config mode inconsistencies with operational mode. Show all values in help text. 3. Fix "exists_only" command handling. Only show nodes that exist when doing completion for show, comment, and delete.
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.
2011-10-24Add VarRef translation to the allowed field for config modeJohn Southworth
2011-07-29Bugfix 2823: Configuration mode command interpreter, output adjustments for ↵John Southworth
consistency
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-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-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-01tweak map iterator usageAn-Cheng Huang
2011-02-28add config template abstractionAn-Cheng Huang
2011-02-18namespace reorgAn-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-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-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-15fix for bug 6427An-Cheng Huang
* also show non-existing nodes for "edit" completion.
2010-11-10fix typo in commentAn-Cheng Huang
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-08-26mark the root as "changed" after "comment" operation.An-Cheng Huang
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