Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A metadata key must occur at the beginning | John Wiegley | 2010-06-18 | 1 | -1/+3 |
| | | | | | | | | | Before, this was valid: ; Today Yesterday: Tomorrow Which would set the key Yesterday to the value Tomorrow. Now, it is just an ordinary comment. | ||||
* | has_tag and get_tag now take an 'inherit' parameter | John Wiegley | 2010-06-18 | 1 | -4/+5 |
| | |||||
* | Only look for [date] outside of metadata entries | John Wiegley | 2010-06-18 | 1 | -16/+16 |
| | |||||
* | Revised how Ledger handles the "current year" | John Wiegley | 2010-06-14 | 1 | -11/+9 |
| | | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year. | ||||
* | Completely reworked argument passing in expressions | John Wiegley | 2010-06-13 | 1 | -7/+6 |
| | |||||
* | Add support for typed metadata | John Wiegley | 2010-06-12 | 1 | -7/+23 |
| | | | | | | | | | | The metadata construct 'Key: Value' is now just a special case for 'Key:: "Value"'. Another after a :: in metadata setting is parsed as a full value expression and typed as such. For example: ; Key:: $400 + $500 ledger -l 'tag("Key") < $1000' | ||||
* | Store metadata values as value_t instead of string | John Wiegley | 2010-06-12 | 1 | -21/+23 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -57/+57 |
| | |||||
* | Fixed interaction with -V/X and grouped postings | John Wiegley | 2010-06-09 | 1 | -0/+5 |
| | | | | | | | | | | With -s, -M/Y/D, -n, and a few other flags, postings get "grouped" into meta-transactions that contain more postings than before. In all these cases, -V use the date of the *earliest* posting in that group, which makes little sense and caused breakages with -J. It now uses the latest date. Fixes #197 / 68EAF363-D0FE-4127-866E-A5AEBACB65D6 | ||||
* | Added new "addr" value expression function | John Wiegley | 2010-06-03 | 1 | -0/+6 |
| | | | | | It returns the address of the given object as an integer. This can be used to uniquely compare entities. | ||||
* | Empty notes and tags now return null values | John Wiegley | 2010-05-30 | 1 | -4/+5 |
| | |||||
* | Tags were not being set properly on postings | John Wiegley | 2010-03-17 | 1 | -15/+22 |
| | |||||
* | Rewrite the "print" command as a custom function | John Wiegley | 2010-03-08 | 1 | -12/+24 |
| | | | | | There ended up being too many corner cases for the generalized formatter to handle. | ||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Added actual_date() methods for items | John Wiegley | 2010-02-05 | 1 | -0/+5 |
| | |||||
* | Added a "seq" sequence property for all items | John Wiegley | 2010-02-04 | 1 | -0/+6 |
| | | | | | This indicates the absolute parsing order of every transaction and posting. It is 0 for generated items. | ||||
* | Added a --pivot=TAG option | John Wiegley | 2010-02-02 | 1 | -5/+33 |
| | | | | | | This is equivalent to the following: --account='"TAG:" + tag(/TAG/)' | ||||
* | Guard against using an uninitialized value | John Wiegley | 2010-01-18 | 1 | -1/+4 |
| | | | | Fixes DDB54BB8-8C1C-4129-A137-07A38068F3BE | ||||
* | Whitespace fix | John Wiegley | 2009-11-24 | 1 | -2/+4 |
| | |||||
* | Made the transaction date parser a bit more strict | John Wiegley | 2009-11-15 | 1 | -10/+13 |
| | |||||
* | Added historical support for single-letter valexprs | John Wiegley | 2009-11-14 | 1 | -0/+5 |
| | |||||
* | Changed the type being throw of some exceptions | John Wiegley | 2009-11-05 | 1 | -5/+5 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | If an item doesn't have a given tag, return "" | John Wiegley | 2009-11-01 | 1 | -1/+1 |
| | |||||
* | Improved arg checking for several valexpr functions | John Wiegley | 2009-10-31 | 1 | -5/+22 |
| | |||||
* | Add a position_t object for tracking item positions | John Wiegley | 2009-10-30 | 1 | -13/+17 |
| | | | | It is also optional, which is useful for generated items. | ||||
* | Added missing check in item_t::get_actual | John Wiegley | 2009-10-30 | 1 | -1/+1 |
| | |||||
* | Fixed many compiler warnings from g++ 4.4 | John Wiegley | 2009-10-25 | 1 | -1/+1 |
| | |||||
* | Removed reliance on strptime/strftime | John Wiegley | 2009-10-11 | 1 | -2/+2 |
| | | | | | | | | 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). | ||||
* | Restored --percent option, added baseline test | John Wiegley | 2009-06-21 | 1 | -0/+11 |
| | |||||
* | If a posting comment is very short, let it hang | John Wiegley | 2009-06-14 | 1 | -3/+5 |
| | | | | This applies when using the "print" report, or the "comment" variable. | ||||
* | Fix pointer const-ness in parse_tags() | Andrew Potter | 2009-05-26 | 1 | -2/+2 |
| | |||||
* | Enabled use of pre-compiled headers by default | John Wiegley | 2009-03-10 | 1 | -0/+2 |
| | |||||
* | Cured several harmless compiler warnings | John Wiegley | 2009-03-04 | 1 | -0/+2 |
| | |||||
* | Changed how comments are output to be more logical | John Wiegley | 2009-03-01 | 1 | -6/+9 |
| | |||||
* | Corrected warnings g++-4.3.3 was complaining about | John Wiegley | 2009-02-28 | 1 | -1/+1 |
| | |||||
* | The print command now prints xact's effective date | John Wiegley | 2009-02-27 | 1 | -0/+7 |
| | |||||
* | If an item tag is already set, don't overwrite it | John Wiegley | 2009-02-26 | 1 | -1/+2 |
| | |||||
* | Added a new source_context function | John Wiegley | 2009-02-26 | 1 | -23/+2 |
| | |||||
* | Marked all strings needing internationalization | John Wiegley | 2009-02-25 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | 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". | ||||
* | Switched from using POST_AUTO to ITEM_GENERATED | John Wiegley | 2009-02-24 | 1 | -2/+10 |
| | |||||
* | Added a new --raw option, for use with print | John Wiegley | 2009-02-21 | 1 | -18/+28 |
| | |||||
* | Added valexpr vars for accessing item position | John Wiegley | 2009-02-19 | 1 | -0/+23 |
| | | | | | | | | - filename - beg_line - beg_pos - end_line - end_pos | ||||
* | Fixed several unused value and param warnings | John Wiegley | 2009-02-16 | 1 | -1/+1 |
| | |||||
* | xact metadata searches get passed up to the entry | John Wiegley | 2009-02-14 | 1 | -42/+52 |
| | | | | | | That is, if a metadata tag cannot be found in a transaction, look in the parent entry to see if it was set there. Transactions "inherit" notational details from their entries. | ||||
* | Rewrote the "entry" command. It's ALIVE! | John Wiegley | 2009-02-11 | 1 | -0/+3 |
| | |||||
* | Fixed the use of --effective and --date-format (-y). | John Wiegley | 2009-02-09 | 1 | -7/+10 |
| | |||||
* | Terminate the buffer used to read in item context. | John Wiegley | 2009-02-08 | 1 | -0/+2 |
| | |||||
* | Improved an error message that was trying to show transaction context. | John Wiegley | 2009-02-08 | 1 | -3/+2 |
| | |||||
* | Have all items respond to the "depth" property, defaulting to 0. | John Wiegley | 2009-02-08 | 1 | -0/+6 |
| |