Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | item_t::get_uncleared was returning true if CLEARED. | John Wiegley | 2009-02-07 | 1 | -1/+1 | |
| | ||||||
* | The "note" expressions returns an empty string if there is no note. | John Wiegley | 2009-02-07 | 1 | -1/+1 | |
| | ||||||
* | Refer to empty expression operators as simply NULL. | John Wiegley | 2009-02-07 | 1 | -1/+1 | |
| | ||||||
* | Greatly simplified the way option and command handlers are defined. | John Wiegley | 2009-02-05 | 1 | -2/+0 | |
| | ||||||
* | Largely removed all of Ledger's use of global variables, for the REPL's sake. | John Wiegley | 2009-02-04 | 1 | -16/+6 | |
| | ||||||
* | Simplified the textual parser, and improved metadata support. | John Wiegley | 2009-02-04 | 1 | -2/+28 | |
| | ||||||
* | Removed used of src_idx. | John Wiegley | 2009-02-03 | 1 | -34/+28 | |
| | ||||||
* | Removed the global references to session->report. | John Wiegley | 2009-02-03 | 1 | -2/+4 | |
| | ||||||
* | Don't allow implicit matching of strings against masks, =~ is needed. | John Wiegley | 2009-02-02 | 1 | -7/+23 | |
| | ||||||
* | Use > quoting characters when excerpting from the user's data file. | John Wiegley | 2009-02-02 | 1 | -1/+1 | |
| | ||||||
* | Added a missing brace. | John Wiegley | 2009-02-02 | 1 | -1/+1 | |
| | ||||||
* | Simplified error context handling. | John Wiegley | 2009-02-02 | 1 | -2/+45 | |
| |