Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restored the --invert option | John Wiegley | 2009-02-22 | 5 | -36/+15 |
| | |||||
* | Fix for systems that don't build with gettext | John Wiegley | 2009-02-22 | 2 | -1/+2 |
| | |||||
* | Removed unused --totals option | John Wiegley | 2009-02-22 | 3 | -5/+1 |
| | | | | This option was for outputting <total> elements in 2.x's XML output. | ||||
* | Added more option baseline tests | John Wiegley | 2009-02-21 | 3 | -0/+56 |
| | |||||
* | Added a new --colors option, for terminal fun | John Wiegley | 2009-02-21 | 3 | -21/+66 |
| | | | | | | | | | The following colors are applied in the balance and register reports: GREEN To a date, if it occurs in the future BOLD If a payee name relates to an uncleared entry BLUE For account names RED For negative values | ||||
* | Allow balance values to be compared < or > 0 | John Wiegley | 2009-02-21 | 1 | -0/+42 |
| | |||||
* | Fixed a bug with interactive_t's arg validation | John Wiegley | 2009-02-21 | 1 | -1/+1 |
| | |||||
* | Fixed an accumulator bug that was mangling errors | John Wiegley | 2009-02-21 | 1 | -1/+5 |
| | |||||
* | Removed a bash-ism from acprep | John Wiegley | 2009-02-21 | 1 | -1/+1 |
| | |||||
* | And more README updates | John Wiegley | 2009-02-21 | 2 | -20/+8 |
| | |||||
* | More README updates | John Wiegley | 2009-02-21 | 1 | -16/+20 |
| | |||||
* | Updated dependencies in the README | John Wiegley | 2009-02-21 | 1 | -10/+18 |
| | |||||
* | Added excludes necessary for tools/pre-commit | John Wiegley | 2009-02-21 | 2 | -1/+4 |
| | |||||
* | Added variant baseline tests relating to --empty | John Wiegley | 2009-02-21 | 5 | -8/+426 |
| | |||||
* | Added support for using GNU gettext | John Wiegley | 2009-02-21 | 7 | -5/+307 |
| | |||||
* | Use a "format accumulator" for error strings | John Wiegley | 2009-02-21 | 5 | -4/+187 |
| | | | | | | | | This makes it possible to internationalize strings while still using I/O streams. For example: std::cout << ACCUM(_("Hello to %1 and %2!") << "me" << "you") << std::endl; | ||||
* | Added a new --raw option, for use with print | John Wiegley | 2009-02-21 | 6 | -32/+67 |
| | |||||
* | Removed an unused class: format_entries | John Wiegley | 2009-02-21 | 4 | -60/+4 |
| | |||||
* | Fixes to tools/myacprep | John Wiegley | 2009-02-21 | 1 | -2/+4 |
| | |||||
* | Use more general scrub valexpr function in formats | John Wiegley | 2009-02-21 | 2 | -42/+46 |
| | |||||
* | Bury the report buffer after quitting. | Jesse Alama | 2009-02-21 | 1 | -2/+3 |
| | |||||
* | Create a new interactive_t helper class | John Wiegley | 2009-02-21 | 11 | -152/+367 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this class is much like Emacs' (interactive) form: it allows a value expression function to declare exactly how many arguments, and of what type, it intends to receive. It then offers type-safe access to theese arguments in a consistent manner. An example value expression function definition in C++: value_t fn_foo(call_scope_t& scope) { // We expect a string, an integer, and an optional date interactive_t args(scope, "sl&d"); std::cout << "String = " << args.get<string>(0) << "Integer = " << args.get<long>(1) << std::endl; if (args.has(2)) // was a date provided? std::cout << "Date = " << args.get<date_t>(2) << std::endl; return NULL_VALUE; } There is also an in_context_t<T> template, which finds the context type T in the current scope hierarchy. The in_context_t then also acts as a smart pointer to reference this context object, in addition to serving the same duty as interactive_t. This combination of intent is solely for the sake of brevity. value_t fn_bar(call_scope_t& scope) { in_context_t<account_t> env(scope, "sl&d"); std::cout << "Account name = " << env->fullname() << "String arg = " << env.get<string>(0) << std::endl; return NULL_VALUE; } As you can see here, 'env' acts as a smart pointer to the required context, and an object to extract the typed arguments. | ||||
* | Added all current value expressions to man page | John Wiegley | 2009-02-21 | 1 | -42/+94 |
| | |||||
* | Fixed a script typo | John Wiegley | 2009-02-21 | 1 | -1/+1 |
| | |||||
* | acprep --gprof now passes -g -pg to the linker | John Wiegley | 2009-02-21 | 1 | -0/+1 |
| | |||||
* | Tools changes to build for multiple targets | John Wiegley | 2009-02-21 | 4 | -13/+71 |
| | | | | | This makes it easier for me to build a version of ledger with optimizations, one for coverage analysis, one for profiling, etc. | ||||
* | Improved the pre-commit hook | John Wiegley | 2009-02-21 | 1 | -7/+5 |
| | |||||
* | The --help (-h, -H) options now visit the man page | John Wiegley | 2009-02-21 | 7 | -273/+36 |
| | |||||
* | Added an automake rule for installing the man page | John Wiegley | 2009-02-21 | 1 | -2/+3 |
| | |||||
* | Made --leeway a synonym for --price-exp | John Wiegley | 2009-02-21 | 1 | -0/+1 |
| | |||||
* | Began creation of an Nroff-formatted man page | John Wiegley | 2009-02-21 | 1 | -0/+267 |
| | |||||
* | Run regression and baseline tests using --verify | John Wiegley | 2009-02-21 | 1 | -4/+5 |
| | |||||
* | Fixed another memory bug in by_payee_xacts | John Wiegley | 2009-02-21 | 3 | -20/+21 |
| | |||||
* | Fixed a memory leak in value_t::storage_t | John Wiegley | 2009-02-21 | 2 | -14/+18 |
| | |||||
* | Added several more baseline tests | John Wiegley | 2009-02-21 | 10 | -0/+1766 |
| | |||||
* | Fixed the spelling of some option exceptions | John Wiegley | 2009-02-21 | 1 | -4/+4 |
| | |||||
* | Added --start-of-week option, used with --weekly | John Wiegley | 2009-02-21 | 4 | -0/+228 |
| | | | | | For example, --start-of-week=monday can be used to report weeks that begin on Mondays. | ||||
* | Handle reporting widths that are too small | John Wiegley | 2009-02-21 | 2 | -2/+3 |
| | |||||
* | Added a new --exact option | John Wiegley | 2009-02-21 | 6 | -35/+282 |
| | | | | | | | | | The purpose of this option is that usually when you do a --monthly periodic report, you see dates ranges from the first day of each month, to the last day. With --exact, the first day of each range will be the date of the first transaction found in that range, and likewise with the end of the range. Essentially it "contracts" the reported period dates to reflect the exact begin and end dates. | ||||
* | Greatly improved the way "weeks" are iterated | John Wiegley | 2009-02-21 | 4 | -34/+61 |
| | |||||
* | Restored the --deviation option | John Wiegley | 2009-02-21 | 2 | -1/+247 |
| | |||||
* | Justify integers correctly when printing | John Wiegley | 2009-02-21 | 1 | -6/+8 |
| | |||||
* | Don't allow '-' as part of an identifier token | John Wiegley | 2009-02-21 | 1 | -1/+1 |
| | |||||
* | Restored --forecast, now also --forecast-while | John Wiegley | 2009-02-21 | 7 | -13/+318 |
| | |||||
* | Restored the --base option | John Wiegley | 2009-02-20 | 5 | -5/+439 |
| | |||||
* | Restored the --budget option | John Wiegley | 2009-02-20 | 9 | -24/+296 |
| | |||||
* | Added more option baseline tests | John Wiegley | 2009-02-20 | 5 | -0/+332 |
| | |||||
* | Added more option baseline tests, enabled --dow | John Wiegley | 2009-02-20 | 9 | -1/+326 |
| | |||||
* | Enabled --current option | John Wiegley | 2009-02-20 | 4 | -1/+29 |
| | |||||
* | Added more option baseline tests | John Wiegley | 2009-02-20 | 6 | -3/+68 |
| |