Commit graph

135 commits

Author SHA1 Message Date
John Wiegley
962e17c1a9 (chain_xact_handlers): Added head or tail handlers, using the
transaction handler `truncate_entries'.
2008-04-13 02:41:00 -04:00
John Wiegley
4ed59bcf8c Fixed a Gnucash problem. 2008-04-13 02:40:58 -04:00
John Wiegley
88042027e7 *** empty log message *** 2008-04-13 02:40:57 -04:00
John Wiegley
9618057215 Added an Emacs formatter, accessible with the new "emacs" command. 2008-04-13 02:40:56 -04:00
John Wiegley
4ca26fbd73 *** empty log message *** 2008-04-13 02:40:56 -04:00
John Wiegley
f3c736006c *** empty log message *** 2008-04-13 02:40:55 -04:00
John Wiegley
193a801c03 Added preliminary support for OFX, using libofx. Needs much
real-world testing.
2008-04-13 02:40:55 -04:00
John Wiegley
d8f35f3152 (parse_and_report): Added new "reconcile" and "output" commands.
Likely not to be documented, as these are intended primarily for
future GUI development.
2008-04-13 02:40:54 -04:00
John Wiegley
2cc62a4f76 (parse_and_report): Removed "files" argument. 2008-04-13 02:40:53 -04:00
John Wiegley
9a99b755cb *** empty log message *** 2008-04-13 02:40:50 -04:00
John Wiegley
e6c4532c56 (parse_and_report): If cache_file is "<none>", blank it out. This
steps around the logic that sets the default name.
2008-04-13 02:40:50 -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
dbc55008cb finished balance reporting capability in main.py 2004-09-26 00:57:15 -04:00
John Wiegley
a27ae2fb00 fixed another problem with interval reports and the -s option 2004-09-25 07:12:14 -04:00
John Wiegley
3a3227298d if a commodity price cannot be downloaded, report it as an error 2004-09-25 02:51:55 -04:00
John Wiegley
fbad042178 can't reliably use `access' and W_OK 2004-09-25 02:39:07 -04:00
John Wiegley
eda733a56e improved error checking in parser, in case parts of an amount are missing 2004-09-24 23:11:50 -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
c5d519447e fixed a rather obscure memory bug, which also simplified some code 2004-09-24 05:25:52 -04:00
John Wiegley
3038b7cee8 finalizer fixes; removed use of timing.h from main.cc 2004-09-24 04:56:46 -04:00
John Wiegley
1416f3b978 a bit more refactoring 2004-09-23 21:54:11 -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
c57bfb72c3 moved entry hooking mechanism to journal_t; further improvements to "entry" 2004-09-23 21:08:42 -04:00
John Wiegley
69c84c86b8 always sort the transaction chain, if interval reporting is being used 2004-09-23 19:16:52 -04:00
John Wiegley
4e6157b74a added some error checking 2004-09-23 02:37:42 -04:00
John Wiegley
e59ba74814 if --file and the --cache refer to the same file, don't use caching 2004-09-20 06:18:24 -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
5d99b1e241 using main.py is now only 50% slower than using main.cc 2004-09-14 19:15:08 -04:00
John Wiegley
0c890de44b main.py now implements nearly all the functionality of main.cc 2004-09-14 17:34:48 -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
435b9ed779 added python support for Format() objects. see main.py 2004-09-10 19:52:51 -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
842359474e optimize python iterations of entries, transactions; use exceptions more 2004-09-08 03:33:56 -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
032afa5657 a bit of a reorg; still much more to go 2004-08-29 03:23:55 -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
3c50b2fb7a read all binary data in at one go; gains 33% 2004-08-26 15:35:14 -04:00
John Wiegley
ac000a67c4 fixed two memory corruption bugs 2004-08-25 21:02:07 -04:00
John Wiegley
c6860970f2 removed all uses of std::vector; simplified some code 2004-08-24 20:01:51 -04:00
John Wiegley
5b0bfeac0c added validation code, to walk through a journal_t and make sure it's ok 2004-08-24 04:41:39 -04:00
John Wiegley
c3b1de42de fixed a few minor bugs 2004-08-24 02:59:22 -04:00
John Wiegley
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
73e2abd1b2 a little cleanup; reversed the meaning of -z and -p (to be more mnemonic) 2004-08-23 18:23:31 -04:00