John Wiegley
5532a1a8b7
Added --check-payees option
2012-02-27 11:52:23 -06:00
John Wiegley
2ec35ea6e9
Implement the "tag" metadata directive
2012-02-27 05:02:25 -06:00
John Wiegley
0e7b4fb182
Implemented account and commodity directives
2012-02-27 04:58:38 -06:00
John Wiegley
1d89093059
Output some line numbers with warnings
2012-02-27 04:10:16 -06:00
John Wiegley
61bc7362ca
Added new account/payee/commodity directives
...
Also added supporting options: --explicit, --permissive, --pedantic, as
well as new behavior for --strict.
2012-02-27 02:31:09 -06:00
John Wiegley
bb0c534414
Revert behavior of 40ab813080
2012-02-26 16:42:50 -06:00
John Wiegley
aa9b07d79b
Added --rich-data for 'convert', and SHA1 checksum checking
2012-02-26 15:45:15 -06:00
John Wiegley
40ab813080
Don't print amounts when not necessary in 'print'
2012-02-26 02:18:04 -06:00
John Wiegley
4a18317e7c
Added --auto-match option, for use with 'convert'
2012-02-26 02:16:09 -06:00
John Wiegley
f3e1c8ded0
Fixed cmd-script_2.test
2012-02-21 03:55:13 -06:00
John Wiegley
c47350dce9
Corrected handling of nested definitions
2012-02-21 03:53:00 -06:00
John Wiegley
021fc50842
Corrected two tests
2011-02-12 18:14:30 -05:00
John Wiegley
9c62463f84
Changed testing format to aid with debugging
2011-02-12 18:11:26 -05:00
John Wiegley
61f11bab17
Removed needless "=== 0" and ">>>2" lines from test files
2011-02-12 17:55:55 -05:00
John Wiegley
c00188d6a8
Increase display precision of hours to 2 places
2010-12-12 19:13:44 -05:00
John Wiegley
4d1eea90c5
Added baseline test for "check" feature
2010-06-26 01:17:08 -04:00
John Wiegley
64c6329b5d
Added baseline tests for --meta and --meta-width
2010-06-26 01:07:30 -04:00
John Wiegley
e8fe3649c2
Added baseline test for --now
2010-06-26 01:04:32 -04:00
John Wiegley
c78f84cef2
Added baseline tests for prepend-format/width
2010-06-26 00:58:30 -04:00
John Wiegley
0648c2f6dc
Extended feat-fixated-prices.test
2010-06-22 21:03:04 -04:00
John Wiegley
266dee564f
Price annotation no longer inject an implied cost
...
Consider the following transaction:
2010-06-22 Sample
Assets:Brokerage 10 AAPL {$30}
Assets:Brokerage
Previously, this would have been equivalent to:
2010-06-22 Sample
Assets:Brokerage 10 AAPL @ $30
Assets:Brokerage
However, this is not always what the user expects to happen. When @ is
not being used, the transaction should reflect a mere transfer of
commodities. This is now how it works, and thus the above transaction
is now equivalent to the following instead:
2010-06-22 Sample
Assets:Brokerage 10 AAPL {$30}
Assets:Brokerage -10 AAPL {$30}
2010-06-22 20:56:35 -04:00
John Wiegley
81bf38584e
Added new --bold-if option
2010-06-22 01:27:05 -04:00
John Wiegley
2f1b1c8ced
Change weighting of account-name abbreviation
...
Parent accounts are abbreviated even more, so that child accounts can
show more text.
2010-06-21 18:05:26 -04:00
John Wiegley
009e07690d
Added tests for sole budget/forecast reports
2010-06-21 13:25:17 -04:00
John Wiegley
6770380b6d
Subsantial fixes and improvements to budgeting
...
1. A bounded budget "from DATE to DATE" will now generate entries
throughout that entire range, if it is triggered.
2. An unbounded budget begins, as before, in the timeframe of the
reported posting which triggered it, but now continues until the
present date.
2010-06-19 16:07:59 -04:00
John Wiegley
5da1e7756d
Added new option --inject=KEY[,KEY...]
...
If you have a typed metadata key which contains an amount, you can use
--inject=KEY to inject a posting with that amount wherever a match
occurs. There are two main forms of usage:
2010-06-18 Sample
; Key:: $100
Expenses:Food $100.00
Assets:Checking
The command would be:
ledger reg --inject=Key
In the above, transactional form, a posting under the account "Key" will
be injected before the first posting reported for this transaction.
It's amount will be $100. This only happens once for the whole
transaction.
It is also possible to associate the key with a posting:
2010-06-18 Sample
Expenses:Food $100.00
; Key:: $100
Assets:Checking
Now the injected posting is generated whenever that particular post is
reported.
2010-06-18 02:28:12 -04:00
John Wiegley
35ca4f0bb0
Ensure that all options are tested and documented
2010-06-15 18:19:54 -04:00
John Wiegley
34fcc62b4d
Removed unused --unsorted option
2010-06-15 04:34:16 -04:00
John Wiegley
c367dcab82
Improved algorithm for abbreviating account names
2010-06-14 07:20:23 -04:00
John Wiegley
e78af146e8
Corrected bug with forecasting date bounded xacts
2010-06-13 23:41:50 -04:00
John Wiegley
a1fc3c5cfe
The --anon option now randomizes its effect
2010-06-12 14:43:40 -04:00
John Wiegley
c28fad384c
The --anon option now anonymizes commodities
...
Fixes #227 / 1C90D8AF-830E-43C2-A5B7-D382F68EBDE3
2010-06-09 07:47:45 -04:00
John Wiegley
c85cf0d810
Fixed the way prices and costs are print'd
2010-06-07 08:32:14 -04:00
John Wiegley
39f9854e2c
Reworked the way that <Rounding> entries are shown
...
Fixes #188 / 53BCED29-F3B9-4E02-9A35-6C739ABB9662
2010-06-06 06:20:07 -04:00
John Wiegley
038c24357e
Changed --european option to --decimal-comma
...
Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC
2010-06-01 17:56:41 -04:00
John Wiegley
654c842348
-G option now takes price history into account
2010-05-30 21:58:05 -06:00
John Wiegley
5a2644c1b7
-V/-X options now take price history into account
2010-05-30 20:49:50 -06:00
John Wiegley
4f3b39e22c
Empty notes and tags now return null values
2010-05-30 03:01:11 -06:00
John Wiegley
dd8f4ce88f
Added a new baseline test for the print command
2010-05-23 17:04:00 -06:00
John Wiegley
91f839e827
Do not implicitly sort register output
...
The switches the default back to the same as 2.x, which is --unsorted.
2010-03-17 00:49:11 -04:00
John Wiegley
75b7294a6d
Rewrite the "print" command as a custom function
...
There ended up being too many corner cases for the generalized formatter
to handle.
2010-03-08 01:11:48 -05:00
John Wiegley
ac9a84463d
Fixed tests relative to recent --pivot change
2010-02-04 04:23:27 -05:00
Aristid Breitkreuz
a3338a2a67
Added baseline tests for unrealized options
...
This includes another baseline test for --unrealized, and also new ones
for --unrealized-gains and --unrealized-losses.
2009-11-25 04:50:36 -05:00
John Wiegley
a84c42fc17
Fixed regression tests relating to b1d6ea876c
2009-11-24 04:15:21 -05:00
John Wiegley
ef5c0b37d5
Added baseline test for "sample.dat" contents
2009-11-20 18:24:22 -05:00
John Wiegley
63fee4c837
Added an --unrealized option, for use with bal -V
...
When this option is on, then in balance report which show market values,
any gains or losses in value will be balanced into a pair of accounts
called Equity:Unrealized Gains and Equity:Unrealized Losses.
2009-11-19 02:00:10 -05:00
John Wiegley
ee93b5c740
Added baseline test for reg -n
2009-11-14 02:32:18 -05:00
John Wiegley
c182b7051b
Renamed the pricesdb command to pricedb
2009-11-12 01:43:57 -05:00
John Wiegley
39532bdf35
Automated transactions now use report query syntax
...
This returns their behavior back very close to what 2.x accepts.
2009-11-10 02:44:16 -05:00
John Wiegley
832e53f300
Column widths are always calculated now
2009-11-07 05:17:00 -05:00