Commit graph

79 commits

Author SHA1 Message Date
John Wiegley
5a93d4819e Reworked the way date/times are handled. 2008-04-13 02:41:32 -04:00
John Wiegley
a5aff9eee9 Several fixes to lot price handling. 2008-04-13 02:41:31 -04:00
John Wiegley
44561c1c1d Further refinement of commodity lot information. 2008-04-13 02:41:31 -04:00
John Wiegley
c8ebf53ed8 *** empty log message *** 2008-04-13 02:41:31 -04:00
John Wiegley
32bdfe20d9 Tons of corrections and fixes to value expressions and lot figures. 2008-04-13 02:41:31 -04:00
John Wiegley
9800e3febc *** empty log message *** 2008-04-13 02:41:31 -04:00
John Wiegley
4f83a2bf8f Added new --descend option. 2008-04-13 02:41:30 -04:00
John Wiegley
e32d9e64a7 Added much better error location. 2008-04-13 02:41:29 -04:00
John Wiegley
b737cd8e6d Added a DATETIME value type. 2008-04-13 02:41:29 -04:00
John Wiegley
2ebfddf401 Began support for improved commodity handling. 2008-04-13 02:41:28 -04:00
John Wiegley
96d6d62ad9 Began support for improved commodity handling. 2008-04-13 02:41:28 -04:00
John Wiegley
2930b89ea3 *** empty log message *** 2008-04-13 02:41:27 -04:00
John Wiegley
a597b0fb5e Further improvements to lot pricing. 2008-04-13 02:41:27 -04:00
John Wiegley
7901598f1d Checked in all major updates. 2008-04-13 02:41:27 -04:00
John Wiegley
a8012940f4 Removed Python integration support. 2008-04-13 02:41:21 -04:00
John Wiegley
f691735c6c Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build
process by default (for the sake of speed).
2008-04-13 02:41:21 -04:00
John Wiegley
eb0525e315 See ChangeLog 2008-04-13 02:41:19 -04:00
John Wiegley
a53f44ecda Support has been added for clearing of individual transactions. Set
`ledger-clear-whole-entries' in Emacs to revert to the old behavior.
2008-04-13 02:41:19 -04:00
John Wiegley
312f0c27e3 (operator): Rearranged some code and added an assert. 2008-04-13 02:41:16 -04:00
John Wiegley
5fb495858b (operator): Rearranged some code and added an assert. 2008-04-13 02:41:16 -04:00
John Wiegley
ed8a236fe6 (subtotal_transactions::operator()): Changed the usage of the
temporary `values' map so that account names are always properly
sorted in the subtotaled output view.  As it was, they were being
reported in account creation order.
2008-04-13 02:41:15 -04:00
John Wiegley
b79b3cf54b (report_budget_items): Removed an unused local variable. 2008-04-13 02:41:15 -04:00
John Wiegley
c8bbbf3f9c (sort_transactions::post_accumulated_xacts): Created this function so
that interval_transactions has a way to post sorted xacts without
calling flush().
2008-04-13 02:41:10 -04:00
John Wiegley
396491c568 (truncate_entries::flush): Fix so that --head and --tail can be used
at the same time.  (export_walk): Added TruncateEntries for Python.
2008-04-13 02:41:01 -04:00
John Wiegley
d0997fa821 Changed truncate_entries so that --head and --tail can be used at the
same time.
2008-04-13 02:41:00 -04:00
John Wiegley
dc4c2b8d50 Added the new transaction handler `truncate_entries' which can be used
to trim a number of entries from the beginning or end of a transction
stream.  (push_to_transactions_list): Removed unneeded "handler"
argument.
2008-04-13 02:41:00 -04:00
John Wiegley
bffa2703fc (clear_transactions_xdata): Clear the transaction xdata pointers once
they have been freed.  (clear_accounts_xdata): Clear the account xdata
pointers once they have been freed.
2008-04-13 02:40:56 -04:00
John Wiegley
9bf398f914 *** empty log message *** 2008-04-13 02:40:55 -04:00
John Wiegley
c4dfcc997c *** empty log message *** 2008-04-13 02:40:55 -04:00
John Wiegley
46302362dd (related_transactions::flush): Handle the case where an auto_entry or
period_entry passes through the related_transactions handler.
2008-04-13 02:40:54 -04:00
John Wiegley
06b6e9bf0a Added #include <alogrithm> 2008-04-13 02:40:52 -04:00
John Wiegley
1db60b12e2 updated to 2.02 2008-04-13 02:40:48 -04:00
John Wiegley
c9fb11bd60 updated to version 2.0 2008-04-13 02:40:47 -04:00
John Wiegley
a32173ace6 changes 2008-04-13 02:40:47 -04:00
John Wiegley
2b8a4abdbf another fix to interval reporting; end condition was sometimes off by one 2004-09-26 00:38:12 -04:00
John Wiegley
c2c59d612b corrected the way that transaction handlers are flushed 2004-09-26 00:29:41 -04:00
John Wiegley
26de701a4e corrected the deviation report (-D) when -V is also being used 2004-09-25 17:59:14 -04:00
John Wiegley
5ad722fcdf fixed a problem with interval strings that use only a beg or end date 2004-09-25 07:01:22 -04:00
John Wiegley
b1aa1344ae sorting optimization 2004-09-25 06:50:18 -04:00
John Wiegley
555c2d855f a couple of fixes to collapsed and subtotal reports 2004-09-25 05:39:33 -04:00
John Wiegley
528019ce25 added support for "equity" in main.py 2004-09-24 07:00:52 -04:00
John Wiegley
d110df6741 added a custom transaction formatter, format_entries, used by "print" 2004-09-24 06:29:01 -04:00
John Wiegley
8a7cee24c8 fixed a bug with interval reporting 2004-09-23 19:17:21 -04:00
John Wiegley
be18ab2f1a more error checking and robustness mods 2004-09-23 07:05:03 -04:00
John Wiegley
c57a2e74b8 shored up error checking of value expressions 2004-09-23 06:34:27 -04:00
John Wiegley
e9f0dc8bb9 fix to date mask parsing; put in a safety cutoffs when asserts are enabled 2004-09-23 01:52:47 -04:00
John Wiegley
5429792edc the "bal" command mostly works now in main.py; added a finalize_entry hook 2004-09-20 03:25:28 -04:00
John Wiegley
18879bbe85 some changes in the way formatting strings are handled; for simplicity 2004-09-18 02:33:51 -04:00
John Wiegley
79b664f6f0 changed the management of "xdata" in walk.h 2004-09-17 04:38:24 -04:00
John Wiegley
0c890de44b main.py now implements nearly all the functionality of main.cc 2004-09-14 17:34:48 -04:00