Commit graph

402 commits

Author SHA1 Message Date
John Wiegley
ea283a27ce (option_full_help): Added docs for --no-cache. (option_help): Added
docs for --no-cache.  Added --no-cache option.
2008-04-13 02:40:50 -04:00
John Wiegley
538bce10c0 (libledger_a_CXXFLAGS): Define -DHAVE_XMLPARSE=1 if the configure file
did.
2008-04-13 02:40:50 -04:00
John Wiegley
db59f768bb *** empty log message *** 2008-04-13 02:40:49 -04:00
John Wiegley
0fc8d78daa Increased version to 2.1. 2008-04-13 02:40:49 -04:00
John Wiegley
861cd6911c *** empty log message *** 2008-04-13 02:40:49 -04:00
John Wiegley
3e61a94f76 Added commodity_t::default_commodity. Initialize the same. 2008-04-13 02:40:49 -04:00
John Wiegley
1d88eca4b6 (class commodity_t): Added commodity_t::default_commodity. 2008-04-13 02:40:49 -04:00
John Wiegley
c59a5c9f86 Updated binary file version. (read_binary_journal): Read in the
default commodity.  (write_binary_journal): Write out the default
commodity.
2008-04-13 02:40:49 -04:00
John Wiegley
cb15e764eb (derive_new_entry): Simplified some code. (derive_new_entry): If no
commodity was specified for an amount, and none was figured out from
previous transactions, then use the default commodity (which is
specified using "D <SYMBOL>" in the ledger file).
2008-04-13 02:40:49 -04:00
John Wiegley
d142018bcd Added code for setting the default year/month given in the prompt to
C-c C-a.  This is helpful for people with lots of receipts in a past
month.
2008-04-13 02:40:49 -04:00
John Wiegley
b697424b44 (parse): Added "D" directive to ledger files, which allows the user to
specify which commodity is used for the default when none is specified
or calculated by the "entry" command.
2008-04-13 02:40:49 -04:00
John Wiegley
fdac1f14e9 updated cache version 2008-04-13 02:40:49 -04:00
John Wiegley
003de10848 Increased version to 2.06 2008-04-13 02:40:48 -04:00
John Wiegley
462540756a *** empty log message *** 2008-04-13 02:40:48 -04:00
John Wiegley
9403113c59 (read_binary_amount): If the commodity ident is zero,
it is an explicit reference to commodity_t::null_commodity.
(write_binary_journal): Initialize account_index and
commodity_index to zero before writing.
(write_binary_journal): Set the "ident" field of the
null_commodity to 0, so that read_binary_amount can recognize it.
2008-04-13 02:40:48 -04:00
John Wiegley
a69bddcf2a Fixed a textual parsing bug. 2008-04-13 02:40:48 -04:00
John Wiegley
b02c7ef8aa Fixed a textual parsing bug. 2008-04-13 02:40:48 -04:00
John Wiegley
aa3101f7ed Increased version to 2.04 2008-04-13 02:40:48 -04:00
John Wiegley
b4cdc528b4 *** empty log message *** 2008-04-13 02:40:48 -04:00
John Wiegley
695c2d6e28 Upped version to 2.03 2008-04-13 02:40:48 -04:00
John Wiegley
bff8e8f7f0 added a missing #include 2008-04-13 02:40:48 -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
fa2ceaed13 changes 2008-04-13 02:40:47 -04:00
John Wiegley
a32173ace6 changes 2008-04-13 02:40:47 -04:00
John Wiegley
cc98b59d1e corrected semantics of -j and -J 2004-09-27 19:13:08 -04:00
John Wiegley
ccf5571910 fixed a serious problem that prevented environment settings from being read 2004-09-27 18:29:11 -04:00
John Wiegley
ba2c04072c fixed several segfaults (using new option-scrambler test harness) 2004-09-27 18:08:48 -04:00
John Wiegley
eb6861e192 fixed assertion 2004-09-27 00:12:10 -04:00
John Wiegley
f8a62c444f made several of the buffers used non-static 2004-09-26 23:48:31 -04:00
John Wiegley
f32f698d7f added safety to READ_INT macro 2004-09-26 20:22:57 -04:00
John Wiegley
17808869b2 updated main.py to reflect recent changes to main.cc 2004-09-26 01:02:43 -04:00
John Wiegley
0c36849f3f updated TODO file 2004-09-26 00:58:00 -04:00
John Wiegley
dbc55008cb finished balance reporting capability in main.py 2004-09-26 00:57:15 -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
d74e926b43 doc updated 2004-09-25 07:21:07 -04:00
John Wiegley
0af7e5f44d modified "report" script to expect a full register command, with -j or -J 2004-09-25 07:21:03 -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
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
2eb2b1428b fixed another value_t comparison issue 2004-09-25 06:02:31 -04:00
John Wiegley
555c2d855f a couple of fixes to collapsed and subtotal reports 2004-09-25 05:39:33 -04:00
John Wiegley
a4d96f79bf corrected a small problem with conversion of numeric types to amount_t's 2004-09-25 04:21:28 -04:00
John Wiegley
d4657c66f4 added TODO item 2004-09-25 03:34:49 -04:00
John Wiegley
8873769155 added documentation for the 'prices' command 2004-09-25 03:34:28 -04:00
John Wiegley
66bc51db6d added pysample.dat, which provides a more realistic example of using Python 2004-09-25 03:30:23 -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