Commit graph

71 commits

Author SHA1 Message Date
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
f9b874e1cb Added elision styles. 2008-04-13 02:41:32 -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
2964dd15b2 *** empty log message *** 2008-04-13 02:41:30 -04:00
John Wiegley
82d0ee869b Added --ansi and --ansi-invert options. 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
b737cd8e6d Added a DATETIME value type. 2008-04-13 02:41:29 -04:00
John Wiegley
7acc1306d9 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
9db08c4c7d (read_binary_journal): Fixed a tiny memory leak when reading from a
binary cache.
2008-04-13 02:41:28 -04:00
John Wiegley
7901598f1d Checked in all major updates. 2008-04-13 02:41:27 -04:00
John Wiegley
2df14a5b86 Transactions now track their beginning and ending position, as do
entries.  The new format strings %xB %xE %xb %xe can be used to
display those values relative to a transaction.  The Emacs module now
relies on this support to exactly determine where a transaction is,
rather than the Elisp logic it relied on previously.
2008-04-13 02:41:24 -04:00
John Wiegley
a8012940f4 Removed Python integration support. 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
66b4147958 (class format_account): Fixed initialization order 2008-04-13 02:41:14 -04:00
John Wiegley
b5726ac831 (struct element_t): Added BEG_LINE and END_LINE. 2008-04-13 02:41:12 -04:00
John Wiegley
c0285de46b Moved `format_xml_entries' to xml.cc. 2008-04-13 02:41:03 -04:00
John Wiegley
3ddd46c307 (format_xml_entries): Moved the stream finalization to flush(), where
it belongs.
2008-04-13 02:41:03 -04:00
John Wiegley
16e449dc05 Added pystream_handler_wrap class, which wraps an item_handler taking
a std::ostream so that it can take a PyObject* instead.  Relies on
pyfstream.h, which allows Python file objects to be treating as I/O
streams.
2008-04-13 02:41:02 -04:00
John Wiegley
4fda551752 (parse_elements): Added %S, %B and %E elements, for printing the
source path, beginning and ending positions of an entry.
2008-04-13 02:40:54 -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
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
a7ea33a8ec passing --enable-python to configure is now required for python support 2004-09-20 04:07:02 -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
061e19e302 make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
John Wiegley
ff4589caae added support for ValueExpr objects to python. 2004-09-10 20:08:07 -04:00
John Wiegley
435b9ed779 added python support for Format() objects. see main.py 2004-09-10 19:52:51 -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
032afa5657 a bit of a reorg; still much more to go 2004-08-29 03:23:55 -04:00
John Wiegley
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
6365b8b7a8 simplified some code 2004-08-22 18:34:18 -04:00
John Wiegley
5619a1d5be a little more reorganizing, but only fractionally faster. diminishing returns! 2004-08-22 02:13:41 -04:00
John Wiegley
6d5333b896 use value_t instead of balance_pair_t; gains for 10% binary, 2% textual 2004-08-21 23:18:45 -04:00
John Wiegley
06ac87ab20 support arbitrary precision after the decimal point; increase speed 0-10% 2004-08-21 01:43:50 -04:00
John Wiegley
a9b207205f several fixes 2004-08-19 22:03:23 -04:00
John Wiegley
aba3d3037a added support for parsing QIF files 2004-08-19 17:55:33 -04:00
John Wiegley
f62a4906d1 fix to textual parsing, and a bit of reconstruction in main.cc 2004-08-19 02:30:56 -04:00
John Wiegley
e1086a3040 added --help docs, and fixed some problems with balance reproting 2004-08-18 05:26:59 -04:00
John Wiegley
b009998930 if NO_CLEANUP is defined in the Makefile (now default), no cleanup is done 2004-08-17 03:09:46 -04:00
John Wiegley
7610aec86d added support for interval reporting; changed some option flags 2004-08-12 20:06:06 -04:00
John Wiegley
0cf1d8fe69 more reorg 2004-08-11 23:16:00 -04:00
John Wiegley
a77c20a772 many more formatting changes 2004-08-11 22:54:42 -04:00
John Wiegley
3edf298633 added several kinds of transaction filters 2004-08-11 01:37:12 -04:00