Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added make rule to build mondo.dat | John Wiegley | 2009-03-10 | 1 | -0/+7 |
| | |||||
* | Simplified Makefile.am somewhat | John Wiegley | 2009-03-10 | 1 | -7/+6 |
| | | | | | I removed some extraneous macro expansions which owed to my lack of understanding of automake previously. | ||||
* | Fixed the 'acprep distcheck' build | John Wiegley | 2009-03-10 | 1 | -10/+8 |
| | |||||
* | Rewrote acprep in Python and improved the build | John Wiegley | 2009-03-09 | 1 | -44/+23 |
| | |||||
* | Disabled some tests, which were running too slowly | John Wiegley | 2009-03-08 | 1 | -2/+2 |
| | |||||
* | Doxygen is no longer being used | John Wiegley | 2009-03-07 | 1 | -8/+30 |
| | | | | | Since I'm going to focus on the man page and manual, there is no time to work on code comments that may only rarely be seen in the 3.0 version. | ||||
* | make release-distcheck works again | John Wiegley | 2009-03-07 | 1 | -5/+4 |
| | |||||
* | Don't remove ABOUT-NLS file during distriution | John Wiegley | 2009-03-06 | 1 | -1/+0 |
| | |||||
* | Removed outdated reference to python/interp.py | John Wiegley | 2009-03-06 | 1 | -1/+0 |
| | |||||
* | Revised the ways statistics are computed | John Wiegley | 2009-03-06 | 1 | -0/+2 |
| | | | | | | | It is no longer done in calc_posts, but recursively on each account. This allows value expressions to ask statistical questions, like "earliest cleared posting?" (TBD) from any specific account, computed lazily. | ||||
* | In fullcheck, divide --verify and --gmalloc | John Wiegley | 2009-03-06 | 1 | -4/+8 |
| | |||||
* | Restored Makefile.am ordering to be top-down | John Wiegley | 2009-03-05 | 1 | -38/+38 |
| | |||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -38/+38 |
| | |||||
* | Using ./acprep now builds statically by default | John Wiegley | 2009-03-03 | 1 | -2/+4 |
| | |||||
* | Added missing reference to LedgerHarness.py | John Wiegley | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | Fixed a broken Makefile dependency | John Wiegley | 2009-03-01 | 1 | -2/+2 |
| | |||||
* | Move tools/autogen.sh to root of distribution | John Wiegley | 2009-03-01 | 1 | -2/+4 |
| | |||||
* | Filter debug info output by GuardMalloc | John Wiegley | 2009-02-28 | 1 | -5/+10 |
| | |||||
* | Added LedgerHarness.py, to simplify test creation | John Wiegley | 2009-02-28 | 1 | -11/+17 |
| | |||||
* | Removed custom rules relating to TAGS generation | John Wiegley | 2009-02-28 | 1 | -6/+0 |
| | |||||
* | Removed an extraneous addition to EXTRA_DIST | John Wiegley | 2009-02-27 | 1 | -2/+0 |
| | |||||
* | Added generate command, --seed, and GenerateTests | John Wiegley | 2009-02-27 | 1 | -1/+11 |
| | |||||
* | Fixed a bad option passed to rm in Makefile.am | John Wiegley | 2009-02-26 | 1 | -1/+1 |
| | |||||
* | The -B, -G, -V reports now show rounding amounts | John Wiegley | 2009-02-26 | 1 | -43/+51 |
| | | | | | | | | | This way, if the running total is off by a penny or two due to rounding of one or more commodities in the account, the user will see it. This commit also reorganizes the testing code a bit, which I did after adding the ninth test series (ConfirmTests), to validate the new rounding code. | ||||
* | Added rm -fr test/python to distclean-local hook | John Wiegley | 2009-02-25 | 1 | -0/+1 |
| | |||||
* | Made a dependency ref to UnitTest.py explicit | John Wiegley | 2009-02-25 | 1 | -1/+2 |
| | |||||
* | Removed reference to test/__init__.py | John Wiegley | 2009-02-25 | 1 | -1/+1 |
| | |||||
* | Created some new Python scripts under python/ | John Wiegley | 2009-02-24 | 1 | -1/+6 |
| | |||||
* | Moved python/*.cc files into src/ | John Wiegley | 2009-02-24 | 1 | -85/+85 |
| | | | | | This is because soon, I intend to have real Python source files in python/. | ||||
* | Restored the use of Python unit tests | John Wiegley | 2009-02-24 | 1 | -10/+10 |
| | |||||
* | Build Python module using automake, not setup.py | John Wiegley | 2009-02-24 | 1 | -51/+7 |
| | |||||
* | Restored the py_amount and py_balance mappings | John Wiegley | 2009-02-24 | 1 | -0/+2 |
| | |||||
* | The Great Renaming, Part II | John Wiegley | 2009-02-23 | 1 | -4/+4 |
| | | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset. | ||||
* | Renamed acconf.h to config.h, for included gettext | John Wiegley | 2009-02-22 | 1 | -2/+2 |
| | |||||
* | Added support for using GNU gettext | John Wiegley | 2009-02-21 | 1 | -4/+7 |
| | |||||
* | Use a "format accumulator" for error strings | John Wiegley | 2009-02-21 | 1 | -0/+2 |
| | | | | | | | | 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; | ||||
* | Create a new interactive_t helper class | John Wiegley | 2009-02-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | The --help (-h, -H) options now visit the man page | John Wiegley | 2009-02-21 | 1 | -2/+0 |
| | |||||
* | Added an automake rule for installing the man page | John Wiegley | 2009-02-21 | 1 | -2/+3 |
| | |||||
* | Added feature baseline tests | John Wiegley | 2009-02-20 | 1 | -4/+12 |
| | | | | | | These are like regression tests to confirm the basic functionality of every Ledger feature. Also, made the release-distcheck target less sensitive. | ||||
* | Moved around some functions for clarity | John Wiegley | 2009-02-16 | 1 | -0/+1 |
| | |||||
* | Properly handle UTF-8 characters in commodity strings. | John Wiegley | 2009-02-12 | 1 | -0/+1 |
| | |||||
* | make clean should remove system.hh.gch from the source tree. | John Wiegley | 2009-02-12 | 1 | -1/+1 |
| | |||||
* | Wired up the "entry" command from 2.x, though it still needs to be ported. | John Wiegley | 2009-02-10 | 1 | -2/+0 |
| | |||||
* | Removed the balance_pair_t type, since it's now an unneeded abstraction. | John Wiegley | 2009-02-09 | 1 | -2/+0 |
| | | | | | This type was a holdback from the days before the amount_expr was used everywhere to determine a transaction's value. | ||||
* | Corrected libraries dependencies for some of the unit tests. | John Wiegley | 2009-02-09 | 1 | -2/+2 |
| | |||||
* | Attribute lookup on a Value object which is a Scope now searches the scope. | John Wiegley | 2009-02-08 | 1 | -0/+1 |
| | |||||
* | Temporarily stub out the Python unit tests. | John Wiegley | 2009-02-08 | 1 | -7/+7 |
| | |||||
* | Removed a great many unnecessary Boost.Python files. | John Wiegley | 2009-02-07 | 1 | -21/+3 |
| | |||||
* | Threw away the "multiple parser" infrastructure. | John Wiegley | 2009-02-07 | 1 | -2/+0 |
| |