John Wiegley
d1d63be306
Updated binary cache version, for good measure.
...
(read_binary_journal): Read in the price_db, in order to throw away
the cache if it has changed. (write_binary_journal): Removed unused
"files" parameter. Changed logic for writing out files list. Also,
write out the prices database that was used.
(py_write_binary_journal): Removed "files" argument.
2008-04-13 02:40:52 -04:00
John Wiegley
df44635260
*** empty log message ***
2008-04-13 02:40:52 -04:00
John Wiegley
ee55dad882
*** empty log message ***
2008-04-13 02:40:52 -04:00
John Wiegley
e83b8a0471
Updated binary cache version, for good measure.
2008-04-13 02:40:52 -04:00
John Wiegley
482331d425
*** empty log message ***
2008-04-13 02:40:52 -04:00
John Wiegley
08e81c1858
(operator/): Added a more complete divide-by-zero check.
2008-04-13 02:40:52 -04:00
John Wiegley
2474f28c0a
*** empty log message ***
2008-04-13 02:40:52 -04:00
John Wiegley
06b6e9bf0a
Added #include <alogrithm>
2008-04-13 02:40:52 -04:00
John Wiegley
5ac1f9716f
Changed all of the library tests into actual compile/link tests, to
...
ensure that the compilation environment is what it needs to be. Also,
added a test to make sure the C++ compiler has some basic features,
since gcc2.95 will not work.
2008-04-13 02:40:51 -04:00
John Wiegley
45091a4918
*** empty log message ***
2008-04-13 02:40:51 -04:00
John Wiegley
44eff1c099
*** empty log message ***
2008-04-13 02:40:51 -04:00
John Wiegley
7054632aba
doc updates
2008-04-13 02:40:51 -04:00
John Wiegley
e34151a776
*** empty log message ***
2008-04-13 02:40:51 -04:00
John Wiegley
e4b5af061e
Changed the reconciling feature so that it doesn't need to ask for the
...
"number of days".
2008-04-13 02:40:51 -04:00
John Wiegley
76968b844c
*** empty log message ***
2008-04-13 02:40:51 -04:00
John Wiegley
f2fc4b3a3c
doc fix
2008-04-13 02:40:50 -04:00
John Wiegley
9cd4cf6df8
(format): Pay attention to the max_width setting for each formatting
...
element. This means that "%.20N" can no longer exceed 20 characters
of width.
2008-04-13 02:40:50 -04:00
John Wiegley
632c54788c
Updated to python2.4
2008-04-13 02:40:50 -04:00
John Wiegley
9a99b755cb
*** empty log message ***
2008-04-13 02:40:50 -04:00
John Wiegley
1029560a6e
*** 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
79f9a1efb5
Set cache_file to "<none>" if --no-cache is used.
2008-04-13 02:40:50 -04:00
John Wiegley
3a8729420e
*** empty log message ***
2008-04-13 02:40:50 -04:00
John Wiegley
35d7cbb7a0
Check for libxmlparse.a using a compile test instead of a link test.
...
This is much less ambiguous.
2008-04-13 02:40:50 -04:00
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