John Wiegley
ea27d1b45a
Moved around and renamed a very large amount of code in order to rationalize
...
the way that value expressions extract information from journal objects.
2008-07-29 20:10:03 -04:00
John Wiegley
4518ea9540
Value expression architecture is now rewritten, but the functionality of the
...
old system (for example, the meaning of 'a') has yet to be restored. In the
new scheme, this will be done by definition a function outside of the value
expression logic, rather than the tight coupling between journal innards and
value expressions that occurred in 2.x.
2008-07-29 05:59:38 -04:00
John Wiegley
9e9f25b566
'make check' is now working again. Also, conversion from amount_t to/from
...
double has been disabled, because I am no longer packaging the gdtoa library
with Ledger (because double conversion really has nothing to do with what
Ledger does). If you wish to use it, you can find gdtoa in cpp-rewrite-2006,
under a sub-directory of the same name.
2008-07-27 01:03:41 -04:00
John Wiegley
713f896790
A large body of work to get the register report printing again, but still
...
fails due to the fact that 2.x value expression syntax is not restored.
2008-07-27 00:10:35 -04:00
John Wiegley
162d982b0c
The --verify option is now working properly again. Use "--verify --verbose"
...
if you wish to see memory usage statistics along with a top-level trace.
2008-07-26 05:06:06 -04:00
John Wiegley
961b30926b
--verify works again, but the memory totals at the end still need work.
2008-07-26 04:08:55 -04:00
John Wiegley
4bc29e1351
A great deal of reorganization to restore the old parsing code (since the
...
newer XML stuff was pulled).
2008-07-22 02:23:45 -04:00
John Wiegley
52fc9f2e44
Brought in the final round of 3.0 code, although it does not compile yet:
...
report, session, parts of xpath, main, journal, option.
2008-07-20 05:03:54 -04:00
John Wiegley
d159501993
The code is compiling again, but it's far from being able to run yet.
2008-05-08 02:50:19 -04:00
John Wiegley
5a93d4819e
Reworked the way date/times are handled.
2008-04-13 02:41:32 -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
4f83a2bf8f
Added new --descend option.
2008-04-13 02:41:30 -04:00
John Wiegley
47e2a34176
*** empty log message ***
2008-04-13 02:41:29 -04:00
John Wiegley
e32d9e64a7
Added much better error location.
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
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
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
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
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
51ca2ca08d
(transaction_xdata_t): Added a `ptr' void *, for general use. The
...
reconcile_transactions handler uses it.
2008-04-13 02:41:02 -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
003464dccc
(push_to_transactions_list): Added a new transaction handler, which
...
simply adds the received transactions to a transctions_list container.
2008-04-13 02:40:56 -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
ba2c04072c
fixed several segfaults (using new option-scrambler test harness)
2004-09-27 18:08:48 -04:00
John Wiegley
c2c59d612b
corrected the way that transaction handlers are flushed
2004-09-26 00:29:41 -04:00
John Wiegley
b1aa1344ae
sorting optimization
2004-09-25 06:50:18 -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
84259bde51
changed ledger.h to journal.h; moved adding of autoxact hook
2004-09-23 21:37:39 -04:00
John Wiegley
8a7cee24c8
fixed a bug with interval reporting
2004-09-23 19:17:21 -04:00
John Wiegley
c57a2e74b8
shored up error checking of value expressions
2004-09-23 06:34:27 -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
e1d6c4bff2
interval_t objects now play nicely with python. see the bottom of main.py
2004-09-10 18:38:52 -04:00
John Wiegley
6261da4660
slight changed semantics of item_handler<T>, to play better with Boost.Python
2004-09-10 04:38:38 -04:00
John Wiegley
fcaaa37201
switch from using deque back to list; affects speed by up to 30%!
2004-09-06 05:38:32 -04:00
John Wiegley
63367e3aac
the amount/balance/value logic is now a library, completely separate from ledger
2004-08-29 23:32:29 -04:00
John Wiegley
b4304515ff
ledger.so (the python module) now builds based on autoconf discovery
2004-08-28 04:26:48 -04:00
John Wiegley
16841fbae3
added (disabled) code for Boost.Python
2004-08-27 23:38:39 -04:00
John Wiegley
5f30c790db
fixed another memory strangeness (too much destruction)
2004-08-26 02:01:29 -04:00
John Wiegley
69bd31b4d0
added usual operator
2004-08-25 21:51:11 -04:00
John Wiegley
ac000a67c4
fixed two memory corruption bugs
2004-08-25 21:02:07 -04:00