summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-11-11continue config parser workAn-Cheng Huang
* add parser to package build. * add prefix, error handling, etc. * fix handling of empty and 1-char values in lex. * add API function.
2010-11-10consolidate similar logic and simplify codeAn-Cheng Huang
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-09make commit aware of error location key and allow for passthrough.Michael Larson
2010-11-09modify formatting options for GUI client on -x option. Set option on GUI ↵Michael Larson
invoked commit.
2010-11-08extend initial error location support to ↵Michael Larson
begin,delete,create,update,end--currently only enabled via commit flag.
2010-11-04add session assertion for API functionsAn-Cheng Huang
* enforce session for API functions requiring it.
2010-10-29change first, last, firstlast behavior to apply environment setting on each ↵Michael Larson
action applied. will be used to help resolve problems identified w/ fw synchronization of rules.
2010-10-26Merge branch 'mendocino' of http://git.vyatta.com/vyatta-cfg into mendocinoMichael Larson
2010-10-26increase resolution of timing messages.Michael Larson
2010-10-25initial lex/yacc config file parserAn-Cheng Huang
2010-10-18temporary workaround for bug 5708An-Cheng Huang
* disallow deactivate on leaf nodes. revisit after "default value"-related issues are resolved.
2010-10-11change error location tag from commit processroot
2010-10-01Pass optional commit comment through commit to commit hooks.Stig Thormodsrud
2010-09-24cleanupAn-Cheng Huang
* set help string only if available. * use "builtin" explicitly.
2010-09-24fix for bug 6213.root
old cli code uses a char to store length of a string when unescaping the string, w/o checking string length.
2010-09-14fix for bug 6195An-Cheng Huang
* fix ".*" filtering.
2010-08-27fix for bug 5982.Michael Larson
upped max_length_buffer length from 1024 to 4096. Should leave open and reassign to mendocino so that a proper string length check can be added to the commit. (cherry picked from commit df3c80575ea539e560afc3357eb322e3e9df64bf)
2010-08-27allow commit hook commands to write to stdout.Michael Larson
(cherry picked from commit a213dd1c48581294fc967e7198d78ca270c6ae46)
2010-08-26fix for bug 5960An-Cheng Huang
* change "commit" to use syscalls (instead of system("...") calls) for mount/umount. * this is a temporary fix, and such low-level details need to be moved into the backend library.
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.
2010-08-12add more functions to shell APIAn-Cheng Huang
2010-08-12add more functions to shell APIAn-Cheng Huang
2010-08-11document equivalent perl API functions for shell API.An-Cheng Huang
2010-08-11add comments to document shell API usageAn-Cheng Huang
2010-08-11add functions to shell APIAn-Cheng Huang
2010-08-10further simplify shell API extension and add more functions.An-Cheng Huang
2010-08-10simplify extension of shell APIAn-Cheng Huang
2010-08-10add functions to shell APIAn-Cheng Huang
2010-08-09add function to C APIAn-Cheng Huang
2010-08-09provide default edit levelAn-Cheng Huang
2010-08-09commit needs to flush "progress file"An-Cheng Huang
2010-08-03remove "def" and "node.val" usage from high-level operations.An-Cheng Huang