summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* print command correctly prints amount expressionsJohn Wiegley2010-05-072-5/+22
|
* The --invert option now works with "convert"John Wiegley2010-05-071-1/+6
|
* The include directive now supports file globbingJohn Wiegley2010-03-173-5/+68
| | | | | This only happens at the base filename, not for any of the directory names for now.
* Added new --meta and --meta-width optionsJohn Wiegley2010-03-172-9/+52
| | | | | | | | The usages are: --meta=<TAG> prepend value of TAG before every line --meta-width=<NUM> force the meta column to be NUM wide --meta=<TAG>:<NUM> shortcut that also applies --meta-width
* Tags were not being set properly on postingsJohn Wiegley2010-03-173-23/+32
|
* The --pivot=X option now only matches the tag "X"John Wiegley2010-03-171-1/+1
|
* Improved the new implementation of "print"John Wiegley2010-03-171-4/+4
|
* Do not implicitly sort register outputJohn Wiegley2010-03-171-0/+2
| | | | The switches the default back to the same as 2.x, which is --unsorted.
* Short-circuit --head handler when count is reachedJohn Wiegley2010-03-162-4/+11
|
* Extended regexp syntax for "payee" and "capture"John Wiegley2010-03-101-4/+32
|
* Commented out the date limiter in the lookup codeJohn Wiegley2010-03-101-0/+2
|
* When deriving, don't carry over the code or notJohn Wiegley2010-03-101-6/+6
|
* Cleaned up the intelligent lookup algorithm a bitJohn Wiegley2010-03-101-87/+72
|
* Corrected a debug stringJohn Wiegley2010-03-101-1/+1
|
* Added experimental account lookup logicJohn Wiegley2010-03-084-24/+404
| | | | | This is used by the "xact" command, and the CSV importer. It is very slow O(xacts*records).
* The CSV reader now auto-correlates fields by regexJohn Wiegley2010-03-082-52/+210
|
* Added find() and operator[] to unistringJohn Wiegley2010-03-081-0/+19
|
* Rewrite the "print" command as a custom functionJohn Wiegley2010-03-0814-90/+358
| | | | | There ended up being too many corner cases for the generalized formatter to handle.
* Corrected a case for value < valueJohn Wiegley2010-03-061-1/+3
|
* Abstracted an sha1sum() functionJohn Wiegley2010-03-062-6/+11
|
* Fixed a problem with the "quoted" valexpr functionJohn Wiegley2010-03-051-2/+2
|
* Added some preliminary code for convert CSV to LedgerJohn Wiegley2010-03-056-2/+445
|
* Added new "payee" and "capture" directivesJohn Wiegley2010-03-053-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The payee directive allows for transformation of payee names during the parsing of a Ledger file. This means you can record the payee name in one form, but always have it reported in another form. The syntax is (and will be): payee PAYEE_NAME REGEXP or payee PAYEE_NAME REGEXP1 REGEXP2 ... The account directive sets the account automatically based on the payee iff the base account name is Unknown. For example, if you have a bunch of transaction in Expenses:Unknown, you can assign accounts for several automatically using: account ACCOUNT_NAME PAYEE_REGEXP or account ACCOUNT_NAME PAYEE_REGEXP1 PAYEE_REGEXP2 ...
* Change an exception test to a plain ifJohn Wiegley2010-03-051-4/+2
|
* Updated copyrights to 2003-2010John Wiegley2010-03-05115-116/+116
|
* Renamed the "args" command to "query"John Wiegley2010-03-043-3/+7
|
* Some minor refactoring of the textual parserJohn Wiegley2010-02-053-176/+145
|
* Reformatted a commentJohn Wiegley2010-02-051-3/+2
|
* Added post_t::compare_by_date_and_sequence comparatorJohn Wiegley2010-02-051-0/+14
|
* Refactored some comparison helper classesJohn Wiegley2010-02-054-8/+9
|
* Added actual_date() methods for itemsJohn Wiegley2010-02-054-0/+22
|
* Added a "seq" sequence property for all itemsJohn Wiegley2010-02-043-20/+39
| | | | | This indicates the absolute parsing order of every transaction and posting. It is 0 for generated items.
* Improved the behavior of pivot reportsJohn Wiegley2010-02-041-12/+19
|
* Added a --pivot=TAG optionJohn Wiegley2010-02-024-6/+48
| | | | | | This is equivalent to the following: --account='"TAG:" + tag(/TAG/)'
* When creating temporary accounts, transfer flagsJohn Wiegley2010-02-021-1/+7
|
* Added a debug statement for report.predicateJohn Wiegley2010-02-021-2/+5
|
* Fixed assertion failure in -M -A bal reportJohn Wiegley2010-01-211-1/+1
|
* Guard against divide by zero error in -A reg reportJohn Wiegley2010-01-211-1/+1
|
* Fixed account display bug in the balance reportJohn Wiegley2010-01-211-5/+4
|
* Restore "-p this" option (aka -p 'this month')John Wiegley2010-01-211-11/+7
|
* Guard against using an uninitialized valueJohn Wiegley2010-01-181-1/+4
| | | | Fixes DDB54BB8-8C1C-4129-A137-07A38068F3BE
* Fix for date parsing when no year is givenJohn Wiegley2010-01-161-1/+1
|
* Cost of a post with neg. amount should be negativeJohn Wiegley2009-12-073-2/+8
|
* Allow relative includes in the current directoryJohn Wiegley2009-12-071-4/+10
|
* Added some debugging code related to boost::regexJohn Wiegley2009-11-251-0/+2
|
* Added support for a "fixed" directiveJohn Wiegley2009-11-254-21/+75
| | | | | | | | | | | | | | | | | | | It lets you specify a fixed cost for a duration of a ledger file, for example: fixed ecu $2 2008/01/01 income assets:bank:checking 1 ecu income:salary end fixed This is equivalent to: 2008/01/01 income assets:bank:checking 1 ecu {=$2} income:salary
* Added a trim() value expression functionJohn Wiegley2009-11-252-0/+29
|
* * and | now comment chars, for the sake of Org-modeJohn Wiegley2009-11-251-2/+4
|
* Added options: --unrealized-gains and --unrealized-lossesAristid Breitkreuz2009-11-243-2/+19
| | | | | | | | | | | These options allow the user to specify what accounts names should be used for these two types of accounts. They are optional, and default to: --unrealized-gains "Equity:Unrealized Gains" --unrealized-losses "Equity:Unrealized Losses" These are intended to be set in one's ~/.ledgerrc file.
* Very minor but easy optimization for symbol_scope_tJohn Wiegley2009-11-242-11/+15
| | | | | | | Lots of symbol_scope_t throwaway objects get created during value expression calculation, and 99% of them are never used. Therefore, the std::map which each contains is now within an optional<> wrapper, so that no constructor happens unless one is actually used.