Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Automated postings defer amount expression calculation | John Wiegley | 2009-11-11 | 1 | -30/+45 |
| | | | | | | | | | | | | | | | | | This allows for value expressions to be used which reference the incoming posting, for example: = Income:Clients: (Liabilities:Taxes:VAT1) (floor(amount) * 1) (Liabilities:Taxes:VAT2) 0.19 2009/07/27 * Invoice Assets:Bank:Checking $1,190.45 Income:Clients:ACME_Inc The automated posting for VAT1 will use the floored amount multiplied by a factor, while the posting for VAT2 multiples the whole amount as before. | ||||
* | Timeclock events now record their file position | John Wiegley | 2009-11-11 | 1 | -5/+25 |
| | |||||
* | Timeclock entries can now have notes | John Wiegley | 2009-11-11 | 1 | -4/+18 |
| | | | | | | | | | | Example of a tagged entry: i 2009/11/01 12:00:00 Account Payee ; :Foo: o 2009/11/01 13:00:00 Two spaces or a tab must separate account from payee, and payee from note. | ||||
* | Fixed an erroneous use of operator>> in textual.cc | John Wiegley | 2009-11-10 | 1 | -1/+1 |
| | |||||
* | Automated transactions now use report query syntax | John Wiegley | 2009-11-10 | 1 | -2/+3 |
| | | | | This returns their behavior back very close to what 2.x accepts. | ||||
* | Corrected the parsing of data file directives | John Wiegley | 2009-11-10 | 1 | -9/+15 |
| | |||||
* | Added "bucket" directive, as alt for A | John Wiegley | 2009-11-10 | 1 | -6/+13 |
| | |||||
* | Support include-ing of relative pathnames | John Wiegley | 2009-11-10 | 1 | -1/+11 |
| | |||||
* | It's now an error to use "end" without "account" | John Wiegley | 2009-11-10 | 1 | -2/+2 |
| | |||||
* | Directives no longer require @ or ! prefix char | John Wiegley | 2009-11-10 | 1 | -59/+62 |
| | |||||
* | Throw an exception if an include file doesn't exist | John Wiegley | 2009-11-10 | 1 | -0/+4 |
| | |||||
* | Redesigned the expr_t, predicate_t, query_t classes | John Wiegley | 2009-11-09 | 1 | -19/+15 |
| | |||||
* | Throw an error for unrecognized options in data files | John Wiegley | 2009-11-07 | 1 | -11/+2 |
| | |||||
* | Renamed journal_t::basket to bucket | John Wiegley | 2009-11-07 | 1 | -2/+2 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -8/+6 |
| | | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler) | ||||
* | Fix to xact_t::valid() | John Wiegley | 2009-11-01 | 1 | -0/+3 |
| | |||||
* | Commented out dependency on session_t (for now) | John Wiegley | 2009-10-31 | 1 | -0/+4 |
| | |||||
* | Removed most #if 0 blocks and callout comments | John Wiegley | 2009-10-31 | 1 | -18/+1 |
| | |||||
* | Add a position_t object for tracking item positions | John Wiegley | 2009-10-30 | 1 | -25/+29 |
| | | | | It is also optional, which is useful for generated items. | ||||
* | Setting --date-format in ~/.ledgerrc works again | John Wiegley | 2009-10-29 | 1 | -15/+23 |
| | |||||
* | Further improvements to handling temporaries | John Wiegley | 2009-10-28 | 1 | -14/+1 |
| | |||||
* | Renamed two methods, for consistency's sake | John Wiegley | 2009-10-27 | 1 | -1/+1 |
| | |||||
* | Redid the way temporaries are handled in filtering | John Wiegley | 2009-10-27 | 1 | -3/+3 |
| | |||||
* | Balance assertions now really assert | John Wiegley | 2009-10-26 | 1 | -17/+25 |
| | | | | | | | | There are two kinds of balance related options for a posting: a balance assignment, where the amount of the posting is blank and so it fills it in to make the assertion true; and plain assertions, where the amount is not blank and an error is reported if the balance does not match the given amount after the posting is taken into account. | ||||
* | If a pricing entry fails to parse, give an error | John Wiegley | 2009-10-26 | 1 | -1/+2 |
| | |||||
* | Removed reliance on strptime/strftime | John Wiegley | 2009-10-11 | 1 | -2/+3 |
| | | | | | | | | The code now uses Boost's input and output facets for times and dates. This ensures completely consistency regarding timezones and times, and fixes the regression test that was broken while I was away coding in London (where it was GMT-0 and I didn't notice the difference between local and GMT). | ||||
* | Split commodity.h/cc into three files | John Wiegley | 2009-06-24 | 1 | -1/+2 |
| | | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management | ||||
* | Restored --download, although not done yet | John Wiegley | 2009-06-24 | 1 | -53/+4 |
| | | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day. | ||||
* | Allow uncommoditized amounts to be used as costs | John Wiegley | 2009-06-18 | 1 | -1/+7 |
| | |||||
* | Fixed a problem with accounts and trailing spaces | John Wiegley | 2009-06-16 | 1 | -0/+3 |
| | | | | | | | This issue is caused by having a single space at the end of a posting that has neither an amount nor a note. Fixes C523E23F-CFAC-4A53-B0C6-21226640E763 | ||||
* | Strip annotations before handling bal assignments | John Wiegley | 2009-06-13 | 1 | -1/+2 |
| | |||||
* | Added new debug option --options | John Wiegley | 2009-06-02 | 1 | -1/+1 |
| | | | | | This reports which options are in place before invoking a command, and where exactly each option value came from. | ||||
* | The new code is working now. | John Wiegley | 2009-03-16 | 1 | -2/+0 |
| | |||||
* | Enabled use of pre-compiled headers by default | John Wiegley | 2009-03-10 | 1 | -0/+2 |
| | |||||
* | Changed the way that account balances are computed | John Wiegley | 2009-03-06 | 1 | -7/+6 |
| | |||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -0/+4 |
| | |||||
* | Changed many assert() calls to VERIFY() | John Wiegley | 2009-03-04 | 1 | -2/+2 |
| | |||||
* | Gather account details in a details_t structure | John Wiegley | 2009-03-03 | 1 | -4/+5 |
| | |||||
* | If a posting has an integer amount, convert it | John Wiegley | 2009-03-03 | 1 | -3/+7 |
| | |||||
* | Fixed parsing of '(1, 2, (3, 4))' | John Wiegley | 2009-03-03 | 1 | -0/+3 |
| | |||||
* | Corrected warnings g++-4.3.3 was complaining about | John Wiegley | 2009-02-28 | 1 | -5/+7 |
| | |||||
* | Fixed bugs relating to sign and rounding of costs | John Wiegley | 2009-02-27 | 1 | -0/+2 |
| | |||||
* | Fixes to entry note parsing | John Wiegley | 2009-02-27 | 1 | -2/+3 |
| | |||||
* | Fixed the way item state is parsed and managed | John Wiegley | 2009-02-27 | 1 | -0/+14 |
| | |||||
* | Added support for tag/pop parsing directives | John Wiegley | 2009-02-26 | 1 | -7/+49 |
| | | | | | | | | | | | | | | | | | | There are now "tag/pop" directives, to apply metadata to a range of transactions (and their postings). For example, if you wanted a conceptual "page" of transactions relating to business trip to Chicago, you could do this: tag Location: Chicago tag Purpose: Business ... transactions go here pop pop It would be as if you'd applied "; Location: Chicago", etc., to every transaction. | ||||
* | Fixes to the way textual directives were parsed | John Wiegley | 2009-02-26 | 1 | -20/+24 |
| | |||||
* | Enriched the context report during textual parsing | John Wiegley | 2009-02-26 | 1 | -29/+80 |
| | |||||
* | Added a warning_() macro | John Wiegley | 2009-02-26 | 1 | -14/+6 |
| | |||||
* | Marked all strings needing internationalization | John Wiegley | 2009-02-25 | 1 | -27/+34 |
| | | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install". | ||||
* | Fixed an issue involving costs and reduced values | John Wiegley | 2009-02-24 | 1 | -1/+2 |
| |