John Wiegley
080c1d9a2d
Added syntactic sugar for lot pricing: {{$500.00}}
2012-03-10 02:27:33 -06:00
John Wiegley
50f202c4e8
Make --lot-notes a synonym for --lot-tags
2012-03-10 01:01:26 -06:00
John Wiegley
022059f2a8
Added --value-expr option
2012-03-09 20:11:38 -06:00
John Wiegley
2df8edc71c
Improved the behavior of -X
2012-03-09 20:02:53 -06:00
John Wiegley
318b5f49ff
Fixed the behavior of fn_nail_down
2012-03-09 07:02:53 -06:00
John Wiegley
59f5ebe2df
Reworked the way that options are handled
2012-03-09 03:51:53 -06:00
John Wiegley
113fb0ee6a
Added --historical option
2012-03-08 01:00:16 -06:00
John Wiegley
4d01143400
Many improvements to lambdas and function calling
2012-03-08 00:44:40 -06:00
John Wiegley
7e250696e0
Many options now have additive effect
...
For example, -A and -V used to override each other, whereas now:
-A report the average amount
-V report all amounts at current value
-AV report the current value of the average
-VA report the average of all current values
2012-03-07 12:46:46 -06:00
John Wiegley
04f884b14f
Added test for value directives and annotations
2012-03-07 05:38:28 -06:00
John Wiegley
5a027166cc
Added balance assertion test
2012-03-06 03:31:46 -06:00
John Wiegley
97d68ebc8c
Added "value" sub-directive for commodity directive
2012-03-06 03:24:06 -06:00
John Wiegley
59a16e59ee
Simplified Python import in a journal file
2012-03-05 21:48:45 -06:00
John Wiegley
8d6bf11334
All tests are working again but one
2012-03-05 05:03:52 -06:00
John Wiegley
c8c2a17e28
Fixed invocation of lambda expressions
...
foo = x, y, z -> print(x, y, z)
foo(1, 2, 3)
However, this still does not work:
(x, y, z -> print(x, y, z))(1, 2, 3)
2012-03-05 05:03:51 -06:00
John Wiegley
ddba59b703
This now works: ledger --import os eval 'os.path.isdir("/tmp")'
2012-03-02 01:36:58 -06:00
John Wiegley
a125f24d29
Allow --options to be added by the user in Python
2012-03-01 23:40:02 -06:00
John Wiegley
a0c9ab08dc
Added more baseline testing, for valexprs and Python
2012-03-01 22:20:20 -06:00
John Wiegley
576aa90bb6
Fixed an explicit path within a unit test
2012-03-01 21:21:25 -06:00
John Wiegley
f6c087cfe4
Added a new 'python' directive
2012-03-01 17:32:51 -06:00
John Wiegley
944e580825
Refactored the notion of "the current parsing context"
2012-03-01 03:31:28 -06:00
John Wiegley
656e46e182
Renamed actual/effective dates to primary/auxiliary
2012-02-28 03:02:16 -06:00
John Wiegley
6adfcc8469
Rewrite the way interval reports are generated
2012-02-28 02:34:37 -06:00
John Wiegley
acb3c57332
Correctly elide amount sometimes in "print"
2012-02-27 22:48:02 -06:00
John Wiegley
9240403011
Improved a test
2012-02-27 12:38:31 -06:00
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