Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved around most of the files so that source code is in src/, documentation | John Wiegley | 2008-08-05 | 1 | -212/+0 |
| | | | | is in doc/, etc. | ||||
* | Moved the option code for 2.6.1 from option.cc into report.h. It's still | John Wiegley | 2008-08-05 | 1 | -543/+0 |
| | | | | commented out, but now it's nearer the right place for conversion. | ||||
* | Rearranged the code a bit, breaking walk.cc into several different files: | John Wiegley | 2008-08-03 | 1 | -169/+0 |
| | | | | | | | | | | compare compare_items<T> handler item_handler<T> iterators used to iterators sets of journal objects filters derived from item_handler, they morph the result set output derived from item_handler, these do the printing Also, created a new 'help' files which contains just Ledger's help text. | ||||
* | Formatting now relies exclusively on value expressions. | John Wiegley | 2008-08-02 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | What this means is that the utility code, basic math, value expressions, string formatting and option handling are now entirely decoupled from the rest of the code. This decoupling not only greatly simplifies the more basic parts of Ledger, but makes it much easier to test and verify its completeness. For example, when the formatting code %X is seen by the format parser, it turns into a call to the expression function fmt_X, which must be defined when the format string is first compiled against an object. If that object is a transaction, the transaction's scope will be the first to have a chance at providing a definition. If an account is being reported, it will. If neither does, the next scope in sequence -- soon to be the current report -- will, and then the session object that "owns" the current Ledger session. In 2.6, the formatting code new everything about transaction and accounts, and relied on flags to communicate special details between them. Now the transaction will offer the details for its own reporting, while the formatter worries only about strings and how to output them. | ||||
* | Added a new 'format' debugging command, which dissects the formatting | John Wiegley | 2008-08-01 | 1 | -2/+2 |
| | | | | expression in its argument. | ||||
* | Change many uses of for+iterator to use Boost.Foreach. | John Wiegley | 2008-07-31 | 1 | -3/+3 |
| | |||||
* | Revised the way that exceptions are thrown around. Instead of context being a | John Wiegley | 2008-07-31 | 1 | -28/+19 |
| | | | | | | | complicated string of pointers, it's now just a global block of text that gets appended to as the error is being thrown up, and can be displayed at the catch point if desired. There are almost no cases where a thrown exception will not result in an error message being displayed to the user. | ||||
* | Enabled a huge number of warning flags for g++ in acprep, and fixed them all | John Wiegley | 2008-07-30 | 1 | -1/+1 |
| | | | | | | except for several unused parameter warnings (because there is so much code still #if 0'd out), and one implicit conversion from long long to long which still has to be dealt with. | ||||
* | Moved around and renamed a very large amount of code in order to rationalize | John Wiegley | 2008-07-29 | 1 | -1/+1 |
| | | | | the way that value expressions extract information from journal objects. | ||||
* | Value expression architecture is now rewritten, but the functionality of the | John Wiegley | 2008-07-29 | 1 | -12/+12 |
| | | | | | | | old system (for example, the meaning of 'a') has yet to be restored. In the new scheme, this will be done by definition a function outside of the value expression logic, rather than the tight coupling between journal innards and value expressions that occurred in 2.x. | ||||
* | Cleaned up the value expression code a bit before undertaking the real work of | John Wiegley | 2008-07-27 | 1 | -8/+8 |
| | | | | getting everything back up to what it was (plus the new code written for 3.0). | ||||
* | Updated all copyright messages to 2003-2008. | John Wiegley | 2008-07-27 | 1 | -1/+1 |
| | |||||
* | Added the var_t helper class, which can be seen in the beginning | John Wiegley | 2008-07-21 | 1 | -26/+4 |
| | | | | implementation of register_command in main.cc. | ||||
* | Added back the --version option, and changed acprep so that it hacks on the | John Wiegley | 2008-07-21 | 1 | -2/+1 |
| | | | | generated Makefile to greatly reduce unneeded verbosity. | ||||
* | Merged in from master. | John Wiegley | 2008-07-21 | 1 | -0/+734 |
|\ | |||||
| * | A patch from Juergen Daubert, which fixes the output from --version. | John Wiegley | 2008-07-21 | 1 | -1/+1 |
| | | |||||
* | | Brought in the final round of 3.0 code, although it does not compile yet: | John Wiegley | 2008-07-20 | 1 | -982/+153 |
| | | | | | | | | report, session, parts of xpath, main, journal, option. | ||||
* | | Merged in bug fixes from master (done for 2.6.1b) | John Wiegley | 2008-07-19 | 1 | -13/+10 |
|\| | |||||
| * | Reverted changes to option.cc in commit 2bdafd71, since I do not want to | John Wiegley | 2008-07-17 | 1 | -3/+3 |
| | | | | | | | | change the exclusive (as opposed to inclusive) behavior of -e DATE. | ||||
| * | Fix compile errors with gcc 4.3 | Nathan Jones | 2008-05-23 | 1 | -0/+1 |
| | | |||||
* | | The code is compiling again, but it's far from being able to run yet. | John Wiegley | 2008-05-08 | 1 | -81/+71 |
|/ | |||||
* | option.cc: Include unistd.h, to pull in the prototype for access(). This was | John Wiegley | 2008-05-07 | 1 | -0/+1 |
| | | | | | | preventing OpenBSD 4 from building. acprep (CXXFLAGS): Don't use the compile flag -Wno-long-double except on OS X. | ||||
* | Reverted the master branch back to the state of v2.6.0.90, because I intend to | John Wiegley | 2008-05-02 | 1 | -3/+3 |
| | | | | | | be much more thorough about what gets commited to the master and why. This will still be the branch where new work will be checked in, but only after thorough review in a development branch. | ||||
* | Fixed #36: -e wasn't parsing the passed in date correctly. | John Wiegley | 2008-04-13 | 1 | -3/+3 |
| | |||||
* | Corrected help documentation for --budget flag. | John Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | Made separate modules for the csv command, since the prior method was | John Wiegley | 2008-04-13 | 1 | -25/+29 |
| | | | | not fully correct. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -0/+1 |
| | |||||
* | Added elision styles. | John Wiegley | 2008-04-13 | 1 | -5/+23 |
| | |||||
* | Reworked the way date/times are handled. | John Wiegley | 2008-04-13 | 1 | -25/+23 |
| | |||||
* | Several fixes to lot price handling. | John Wiegley | 2008-04-13 | 1 | -0/+874 |
| | |||||
* | Added much better error location. | John Wiegley | 2008-04-13 | 1 | -11/+32 |
| | |||||
* | Began support for improved commodity handling. | John Wiegley | 2008-04-13 | 1 | -7/+7 |
| | |||||
* | Checked in all major updates. | John Wiegley | 2008-04-13 | 1 | -106/+83 |
| | |||||
* | Removed Python integration support. | John Wiegley | 2008-04-13 | 1 | -91/+0 |
| | |||||
* | (process_environment): If the environment tag is NULL (which is really | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | | | | should never be), then don't use it. | ||||
* | updated to version 2.0 | John Wiegley | 2008-04-13 | 1 | -0/+261 |
| | |||||
* | changes | John Wiegley | 2008-04-13 | 1 | -257/+0 |
| | |||||
* | fixed a serious problem that prevented environment settings from being read | John Wiegley | 2004-09-27 | 1 | -2/+2 |
| | |||||
* | made several of the buffers used non-static | John Wiegley | 2004-09-26 | 1 | -7/+9 |
| | |||||
* | if a commodity price cannot be downloaded, report it as an error | John Wiegley | 2004-09-25 | 1 | -4/+2 |
| | |||||
* | whitespace fix | John Wiegley | 2004-09-23 | 1 | -1/+1 |
| | |||||
* | make config_t visible to Python; almost possible to implement main.cc in main.py | John Wiegley | 2004-09-14 | 1 | -27/+40 |
| | |||||
* | switch from using deque back to list; affects speed by up to 30%! | John Wiegley | 2004-09-06 | 1 | -8/+8 |
| | |||||
* | a bit of a reorg; still much more to go | John Wiegley | 2004-08-29 | 1 | -22/+111 |
| | |||||
* | added (disabled) code for Boost.Python | John Wiegley | 2004-08-27 | 1 | -3/+3 |
| | |||||
* | removed all uses of std::vector; simplified some code | John Wiegley | 2004-08-24 | 1 | -4/+2 |
| | |||||
* | a few fixes | John Wiegley | 2004-08-24 | 1 | -1/+2 |
| | |||||
* | use value_t instead of balance_pair_t; gains for 10% binary, 2% textual | John Wiegley | 2004-08-21 | 1 | -0/+2 |
| | |||||
* | added missing header | John Wiegley | 2004-08-17 | 1 | -0/+1 |
| | |||||
* | several significant speed improvements (removed excessive copying of strings) | John Wiegley | 2004-08-17 | 1 | -6/+15 |
| |