John Wiegley
2518887d7b
*** empty log message ***
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
b433b9142e
*** empty log message ***
2008-04-13 02:41:19 -04:00
John Wiegley
aa4cb6c371
When computing a report period, use the direct results of the parse
...
rather than passing back to --begin and --end.
2008-04-13 02:41:19 -04:00
John Wiegley
c1b998980f
*** empty log message ***
2008-04-13 02:41:19 -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
50c689e1ae
Made the anonymous enum for action types into a named enum, as this
...
causes problems for template instantiation in the latest versions of
gcc.
2008-04-13 02:41:18 -04:00
John Wiegley
b462a8bf50
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
1d49b94512
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
4819302633
(parse_entry): Allow for the possibility that a transaction might end
...
with EOF.
2008-04-13 02:41:18 -04:00
John Wiegley
c0d2ec851d
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
ac5f42fd30
(parse_inclusion_specifier): When a specific day is given as a date
...
specifier, set the end of the "range" to be the beginning of the next
day, rather than the beginning of the next month.
2008-04-13 02:41:18 -04:00
John Wiegley
8291ec951e
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
97066c46f0
(dataHandler): Expand commodity precision based on whatever values are
...
seen for that commodity (although this may expand things too much,
will have to wait for real world data tests to be sure).
2008-04-13 02:41:18 -04:00
John Wiegley
f9cd17bd31
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
14b49db046
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
747332b085
*** empty log message ***
2008-04-13 02:41:17 -04:00
John Wiegley
95e282a4f7
*** empty log message ***
2008-04-13 02:41:17 -04:00
John Wiegley
fe825a9b78
(parse): Improvements to QIF parsing.
2008-04-13 02:41:17 -04:00
John Wiegley
266c43727a
*** empty log message ***
2008-04-13 02:41:17 -04:00
John Wiegley
6af2a5d9ba
(parse_entry): Removed "single line" transaction parsing and went back
...
to 2.3 behavior (where transactions always appear after the line
containing the date and payee).
2008-04-13 02:41:17 -04:00
John Wiegley
d98a13da06
(finalize): Improved the logic which auto-computes per unit cost for
...
self-balancing transactions of two different commodity types. Now it
doesn't matter how many transactions of each commodity there are, only
that only two commodities are involved. Whichever commodity type is
used first is the one divided into.
2008-04-13 02:41:17 -04:00
John Wiegley
98895eb1cf
*** empty log message ***
2008-04-13 02:41:17 -04:00
John Wiegley
37f31611c6
*** empty log message ***
2008-04-13 02:41:17 -04:00
John Wiegley
e2dab6eac9
Changed manual to note that --end is now inclusive.
2008-04-13 02:41:17 -04:00
John Wiegley
b40006f450
Changed the --begin and --end switches to rely on interval parsing to
...
determine the beginning and ending of their range. Also, the ending
is now inclusive.
2008-04-13 02:41:17 -04:00
John Wiegley
ed63481f3b
*** empty log message ***
2008-04-13 02:41:17 -04:00
John Wiegley
d65a758c84
Moved the setting of time quantities to the commodity initialization
...
section.
2008-04-13 02:41:16 -04:00
John Wiegley
312f0c27e3
(operator): Rearranged some code and added an assert.
2008-04-13 02:41:16 -04:00
John Wiegley
b1b79de6d4
*** empty log message ***
2008-04-13 02:41:16 -04:00
John Wiegley
b98901664c
(read_binary_journal, write_binary_journal): The "basket" account
...
pointer was being incorrectly restored from the cache.
2008-04-13 02:41:16 -04:00
John Wiegley
5fb495858b
(operator): Rearranged some code and added an assert.
2008-04-13 02:41:16 -04:00
John Wiegley
cf83c024d9
*** empty log message ***
2008-04-13 02:41:16 -04:00
John Wiegley
6777a8519a
(derive_new_entry): Backed out a change which caused the "from"
...
account to be incorrectly determined.
2008-04-13 02:41:16 -04:00
John Wiegley
059843b1cf
*** empty log message ***
2008-04-13 02:41:16 -04:00
John Wiegley
c29eed174d
(process_options): Test the "i" and "arg" variables thoroughly before
...
making use of either one of them.
2008-04-13 02:41:16 -04:00
John Wiegley
f8610dbfd7
*** empty log message ***
2008-04-13 02:41:15 -04:00
John Wiegley
46978b2d5d
(regexps_to_predicate): Don't modify the display predicate for balance
...
commands if a payee regexp is being processed.
2008-04-13 02:41:15 -04:00
John Wiegley
557e103b2e
*** empty log message ***
2008-04-13 02:41:15 -04:00
John Wiegley
ed8a236fe6
(subtotal_transactions::operator()): Changed the usage of the
...
temporary `values' map so that account names are always properly
sorted in the subtotaled output view. As it was, they were being
reported in account creation order.
2008-04-13 02:41:15 -04:00
John Wiegley
d83aa2f732
*** empty log message ***
2008-04-13 02:41:15 -04:00
John Wiegley
1f433a129f
(derive_new_entry): If the "entry" command can't figure out which
...
account to draw from, and if there is a "basket account" (defined with
"A" in a textual ledger), use that.
2008-04-13 02:41:15 -04:00
John Wiegley
dab2bfabc8
*** empty log message ***
2008-04-13 02:41:15 -04:00
John Wiegley
b79b3cf54b
(report_budget_items): Removed an unused local variable.
2008-04-13 02:41:15 -04:00
John Wiegley
f9c2ddfd96
*** empty log message ***
2008-04-13 02:41:15 -04:00
John Wiegley
b22b655c34
(parse): Removed some unnecessary code which was actually causing
...
price histories to be parsed wrong when compiler optimizations were
used (at least on my machine).
2008-04-13 02:41:15 -04:00
John Wiegley
d4bdaa2d2b
*** empty log message ***
2008-04-13 02:41:15 -04:00
John Wiegley
e00c568add
When --input-date-format is seen, don't wipe out the rest of the date
...
formats, simply replace the first one. Then, when --period is seen,
use the first date format as the template for what to pass to the
begin/end options.
2008-04-13 02:41:14 -04:00
John Wiegley
4e822d213f
(derive_new_entry): If no argument were given but the payee, assume
...
the user wants to see the same transaction as last time.
2008-04-13 02:41:14 -04:00