Commit graph

3204 commits

Author SHA1 Message Date
John Wiegley
f56b29eb4b Added "=" to the character set used to scan for dates at the beginning
of lines, to accomodate virtual dates.  (This came from the mailing
list, thanks guys).
2008-04-13 02:41:22 -04:00
John Wiegley
d09da94a93 (derive_new_entry): Added an error check if only a payee is specified
for "entry" but the payee wasn't found.  (This came from the mailing
list, thanks guys).
2008-04-13 02:41:21 -04:00
John Wiegley
ca9ea27081 (derive_new_entry): Added an error check if only a payee is specified
for "entry" but the payee wasn't found.  (This came from the mailing
list, thanks guys).
2008-04-13 02:41:21 -04:00
John Wiegley
ce3491c99f Removed Python integration support. 2008-04-13 02:41:21 -04:00
John Wiegley
a8012940f4 Removed Python integration support. 2008-04-13 02:41:21 -04:00
John Wiegley
2eafddc91b *** no comment *** 2008-04-13 02:41:21 -04:00
John Wiegley
20f100cd5a *** empty log message *** 2008-04-13 02:41:21 -04:00
John Wiegley
85b81a762b Added support for outputting to CSV format. 2008-04-13 02:41:21 -04:00
John Wiegley
2d7d6c6f15 Added support for outputting to CSV format. 2008-04-13 02:41:21 -04:00
John Wiegley
fd8957368d changes 2008-04-13 02:41:21 -04:00
John Wiegley
318d562c20 changes 2008-04-13 02:41:21 -04:00
John Wiegley
3ba6e10852 (parse_and_report): Set ledger::terminus in main.cc, instead of
relying on static initialization of valexpr.cc.
2008-04-13 02:41:21 -04:00
John Wiegley
d021582d28 (parse_and_report): Set ledger::terminus in main.cc, instead of
relying on static initialization of valexpr.cc.
2008-04-13 02:41:21 -04:00
John Wiegley
122af13d85 Added a safety check to see if moment is less than date. 2008-04-13 02:41:21 -04:00
John Wiegley
7f34e080fd Added a safety check to see if moment is less than date. 2008-04-13 02:41:21 -04:00
John Wiegley
e984f50869 *** no comment *** 2008-04-13 02:41:21 -04:00
John Wiegley
c482e8a317 *** empty log message *** 2008-04-13 02:41:21 -04:00
John Wiegley
5b06ef234e *** no comment *** 2008-04-13 02:41:21 -04:00
John Wiegley
61166ea4d3 *** empty log message *** 2008-04-13 02:41:21 -04:00
John Wiegley
e1d0dbf220 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
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
6f4957c8c3 *** no comment *** 2008-04-13 02:41:20 -04:00
John Wiegley
3a689c568a *** empty log message *** 2008-04-13 02:41:20 -04:00
John Wiegley
3b88c287b0 Added support for a Y flag which matches against a transaction's
PENDING state (as opposed to X, which checks only CLEARED).  Now it
should be possible to query for all combinations of PENDING, CLEARED
or UNCLEARED.
2008-04-13 02:41:20 -04:00
John Wiegley
d949440872 Added support for a Y flag which matches against a transaction's
PENDING state (as opposed to X, which checks only CLEARED).  Now it
should be possible to query for all combinations of PENDING, CLEARED
or UNCLEARED.
2008-04-13 02:41:20 -04:00
John Wiegley
aadc36a65a *** no comment *** 2008-04-13 02:41:20 -04:00
John Wiegley
a8bc3c8436 *** empty log message *** 2008-04-13 02:41:20 -04:00
John Wiegley
6421f57469 (parse_amount): Ignore inline math characters that are found quotes. 2008-04-13 02:41:20 -04:00
John Wiegley
b2bb3b4510 (parse_amount): Ignore inline math characters that are found quotes. 2008-04-13 02:41:20 -04:00
John Wiegley
7f0a1ac5a3 *** no comment *** 2008-04-13 02:41:20 -04:00
John Wiegley
c7d72a09af *** empty log message *** 2008-04-13 02:41:20 -04:00
John Wiegley
4957bd4064 (class transaction_t): Initialize _date_eff to zero. 2008-04-13 02:41:20 -04:00
John Wiegley
7d1f07a2a7 (class transaction_t): Initialize _date_eff to zero. 2008-04-13 02:41:20 -04:00
John Wiegley
4f1636dbb2 Added a `terminus' global, which if set marks the "current time" as
seen by the value expression logic.  This has the effect of changing
valexprs that test against the current time, such as for calculating
the market value of commodities.
2008-04-13 02:41:20 -04:00
John Wiegley
00fe8bc815 Added a `terminus' global, which if set marks the "current time" as
seen by the value expression logic.  This has the effect of changing
valexprs that test against the current time, such as for calculating
the market value of commodities.
2008-04-13 02:41:20 -04:00
John Wiegley
162313d60a *** no comment *** 2008-04-13 02:41:20 -04:00
John Wiegley
83cc662b85 *** empty log message *** 2008-04-13 02:41:20 -04:00
John Wiegley
ef93067227 (class entry_base_t): Initialize the `journal' pointer to NULL on
object creation.
2008-04-13 02:41:20 -04:00
John Wiegley
251d501c10 (class entry_base_t): Initialize the `journal' pointer to NULL on
object creation.
2008-04-13 02:41:20 -04:00
John Wiegley
b18977e51f (endElement): Changed the parser a bit to always prefer the
transaction commodity over the account commodity.
2008-04-13 02:41:20 -04:00
John Wiegley
5492cad53e (endElement): Changed the parser a bit to always prefer the
transaction commodity over the account commodity.
2008-04-13 02:41:20 -04:00
John Wiegley
8eae667ba5 *** no comment *** 2008-04-13 02:41:19 -04:00
John Wiegley
19fdcce1c6 *** empty log message *** 2008-04-13 02:41:19 -04:00
John Wiegley
f1f13c6972 *** no comment *** 2008-04-13 02:41:19 -04:00
John Wiegley
170f606428 *** empty log message *** 2008-04-13 02:41:19 -04:00
John Wiegley
493f48b304 *** no comment *** 2008-04-13 02:41:19 -04:00
John Wiegley
2518887d7b *** empty log message *** 2008-04-13 02:41:19 -04:00
John Wiegley
56bf4ea27c (parse_and_report): Added a check for HAVE_EXPAT in addition to
HAVE_XMLPARSE, which was causing the xml/gnucash parsers not to be
registered!
2008-04-13 02:41:19 -04:00
John Wiegley
348349f98c (parse_and_report): Added a check for HAVE_EXPAT in addition to
HAVE_XMLPARSE, which was causing the xml/gnucash parsers not to be
registered!
2008-04-13 02:41:19 -04:00
John Wiegley
2a82e904e9 *** no comment *** 2008-04-13 02:41:19 -04:00