John Wiegley
4681e58d7f
Converted the Ledger build system to use CMake
2012-05-20 04:48:05 -05:00
John Wiegley
5addacfbf2
Fixed an interaction with equity and virtual accounts
...
Fixes #686
2012-03-22 23:42:18 -05:00
John Wiegley
22505d9527
Always call TRACE_CTOR at the end of constructors
2012-03-20 02:10:40 -05:00
John Wiegley
d2422f99e6
Allow the equity command to strip annotations
2012-03-19 04:18:56 -05:00
John Wiegley
20edb3a340
Fixed bug relating to historical pricing
...
Fixes #681
2012-03-18 02:33:25 -05:00
John Wiegley
098f3d45d7
Fixed speed issue with commodities reports
2012-03-12 22:38:52 -05:00
John Wiegley
fcc68a0041
Critical fix to temporary destruction order
2012-03-11 05:09:06 -05: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
e2afc783db
Increased file copyrights to 2012
2012-02-29 22:32:23 -06:00
John Wiegley
6adfcc8469
Rewrite the way interval reports are generated
2012-02-28 02:34:37 -06:00
John Wiegley
887f429ae4
Added debug code for debugging interval reports
2012-02-28 01:37:29 -06:00
John Wiegley
fc62402c60
Fixed nasty problem related to interval reporting
2012-02-28 00:08:39 -06:00
John Wiegley
f0791bbd72
Cleanup whitespace
2011-08-18 14:48:38 -04:00
John Wiegley
cf35984971
Use Boost iterator_facade to create new iterators
2011-07-19 23:29:41 -05:00
John Wiegley
d0dfff62a6
Changed how some of the filters are constructed
2011-07-17 16:25:05 -05:00
John Wiegley
ee7f5395e6
Added two missing calls to clear()
2011-06-30 09:25:35 -05:00
John Wiegley
21a123e525
Corrected a lingering reference to a temporary
...
Fixes: CEE57FBC-DF19-40DD-901D-68B1AEC29888
2011-02-10 23:00:18 -05:00
John Wiegley
7b6cc4c365
Output budget even if no postings directly matched
2010-06-20 20:55:24 -04:00
John Wiegley
3a5653e365
Rename dow_posts to day_of_week_posts, to be clearer
2010-06-20 20:29:56 -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
968a6f3c0a
Changes for building with Visual Studio 2008
2010-06-15 05:14:00 -04:00
John Wiegley
a1fc3c5cfe
The --anon option now randomizes its effect
2010-06-12 14:43:40 -04:00
John Wiegley
dea2aed0b5
Untabified all source files
2010-06-11 17:02:25 -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
8bd362b5d1
Minor optimization of how non --empty is handled
2010-06-07 08:32:13 -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
16f799767c
Value expression sequences are now comparable
...
Fixes #228 / ED9388D7-E523-40EB-841B-9AE9BAA70329
2010-06-05 03:26:43 -04:00
John Wiegley
5a2644c1b7
-V/-X options now take price history into account
2010-05-30 20:49:50 -06:00
John Wiegley
e86a4767bc
Added new post_splitter posting handler
2010-05-30 02:47:35 -06:00
John Wiegley
8f17d01f5e
Added new required item_handler_t::clear() method
2010-05-30 02:38:30 -06:00
John Wiegley
7bddcd676b
Added --rounding option, which is off by default
...
The purpose of this option is to add special "<Rounding>" postings, to
ensure that a regiter's running total is *always* the sum of its
postings. Within --rounding, these adjustment postings are missing,
which was the behavior in Ledger 2.x. It can be orders of magnitude
slower to turn it on for large reports with many commodities.
2010-05-23 15:45:51 -06:00
John Wiegley
2f9ea39869
Short-circuit --head handler when count is reached
2010-03-16 14:20:09 -04:00
John Wiegley
ab416f759f
Updated copyrights to 2003-2010
2010-03-05 22:14:10 -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
3f1861fb1e
Fixed a debug string
2009-11-19 01:27:10 -05:00
John Wiegley
20965d9fa3
Changed several pointers to references in filters
2009-11-19 01:26:34 -05:00
John Wiegley
ae8b57f157
Renamed bool controlling running total calculations
...
It used to be "account_wise", since it only happens for non-account-wise
reports. Now it's called just "calc_running_total", so anyone can
request it.
2009-11-18 23:25:28 -05:00
John Wiegley
d71f0867f9
Removed the virtual marker on several filter methods
2009-11-14 03:16:44 -05:00
John Wiegley
2d58224001
Break up multiple commodities in equity report
2009-11-14 02:32:49 -05:00
John Wiegley
86daa41a90
Added a collect_posts handler
2009-11-12 05:11:09 -05:00
John Wiegley
67c9cf134d
Added --date, similar to --account and --payee
...
This lets you do things like store a date as the value of a tag, then
run:
ledger --date='has_tag("Foo") ? to_date(tag("Foo")) : date' reg
2009-11-11 21:32:32 -05:00
John Wiegley
c3535d06c8
Redesigned the expr_t, predicate_t, query_t classes
2009-11-09 02:06:06 -05:00
John Wiegley
394c7bd8df
Removed a bunch of empty comments
2009-11-08 14:59:11 -05:00
John Wiegley
3dc200983d
Moved xdata clearing code into each type proper
2009-11-05 02:27:39 -05:00
John Wiegley
caff01ba75
Whitespace fixes
2009-11-01 21:14:18 -05:00
John Wiegley
b0f12c600c
Added a --forecast-years option
...
This sets how many years of forecasting Ledger will do before it
terminates the attempt.
2009-10-31 03:07:15 -04:00
John Wiegley
88460db2fb
Added a new "budget" report
...
This is a balance report with four columns:
Amount spent | Budgeted Amount | Difference | Percentage
2009-10-27 08:30:59 -04:00
John Wiegley
0fdb900c99
Redid the way temporaries are handled in filtering
2009-10-27 08:30:39 -04:00
John Wiegley
588f2ef2f5
Fixed many compiler warnings from g++ 4.4
2009-10-25 05:01:39 -04:00