John Wiegley
a874bc851e
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
37ae9bf0c2
added missing headers
2008-04-13 02:40:57 -04:00
John Wiegley
9eb691bd1e
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
646c6a1ec1
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
69abac7512
Added "a" and "d" commands to *Reconcile* mode.
2008-04-13 02:40:57 -04:00
John Wiegley
073652f464
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
e961ce5f6a
(ledger-reconcile): Added back the feature that C-u C-c C-r will
...
assume that an auto-reconcile is to be attempted.
2008-04-13 02:40:57 -04:00
John Wiegley
88042027e7
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
be52e2a9c8
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
983618d266
Added new options --reconcile, --reconcilable and --reconcile-date.
2008-04-13 02:40:56 -04:00
John Wiegley
d516c64bec
Updated the Emacs interface to use the ledger executable more fully
...
(it doesn't do its own parsing anymore, for example). Many things
should be faster, and things should work for users of earlier Emacsen.
2008-04-13 02:40:56 -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
f2390964cb
(search_for_balance): Sped things up by a factor of ten. Still won't
...
help for uncleared lists >~27 items (2^27), but it helps.
2008-04-13 02:40:56 -04:00
John Wiegley
9d8b36a258
(format_transactions::operator): Corrected a bad memory access.
2008-04-13 02:40:56 -04:00
John Wiegley
003464dccc
(push_to_transactions_list): Added a new transaction handler, which
...
simply adds the received transactions to a transctions_list container.
2008-04-13 02:40:56 -04:00
John Wiegley
bffa2703fc
(clear_transactions_xdata): Clear the transaction xdata pointers once
...
they have been freed. (clear_accounts_xdata): Clear the account xdata
pointers once they have been freed.
2008-04-13 02:40:56 -04:00
John Wiegley
cc6275cd63
*** empty log message ***
2008-04-13 02:40:56 -04:00
John Wiegley
c240ec23fa
(ledger-reconcile): If a prefix argument is passed to C-c C-r
...
(ledger-reconcile), then it will attempt to use the auto-reconciler to
pre-mark the uncleared transactions. Note that if it fails, and the
uncleared list is long, it might appear to hang. It's far from
fool-proof, but when it does work, it's like magic!
2008-04-13 02:40:56 -04:00
John Wiegley
8f928b3bd9
*** empty log message ***
2008-04-13 02:40:56 -04:00
John Wiegley
4ca26fbd73
*** empty log message ***
2008-04-13 02:40:56 -04:00
John Wiegley
8f373c049c
(AMOUNT_CMP_AMOUNT): Fixed a very serious error in basic amount math,
...
when lhs is zero.
2008-04-13 02:40:55 -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
bbffd8632e
*** empty log message ***
2008-04-13 02:40:55 -04:00
John Wiegley
4eac6dc9d6
Fix to the reconcile function, for the case when there are spaces in
...
an account name.
2008-04-13 02:40:55 -04:00
John Wiegley
ee1fd0f4ec
*** empty log message ***
2008-04-13 02:40:55 -04:00
John Wiegley
9aad55540e
*** empty log message ***
2008-04-13 02:40:55 -04:00
John Wiegley
9bf398f914
*** empty log message ***
2008-04-13 02:40:55 -04:00
John Wiegley
c4dfcc997c
*** empty log message ***
2008-04-13 02:40:55 -04:00
John Wiegley
46302362dd
(related_transactions::flush): Handle the case where an auto_entry or
...
period_entry passes through the related_transactions handler.
2008-04-13 02:40:54 -04:00
John Wiegley
3b112af362
Added new "output" command. Likely not to be documented, as these are
...
intended primarily for future GUI development.
2008-04-13 02:40:54 -04:00
John Wiegley
ed000a6967
Added support for each entry to remember: the file it came from, and
...
the beginning and ending character positions of that entry within the
file. This makes it possible to reproduce the input exactly, with
only the changed entries updated.
2008-04-13 02:40:54 -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
9c60361e17
#include'd reconcile.h.
2008-04-13 02:40:54 -04:00
John Wiegley
4fda551752
(parse_elements): Added %S, %B and %E elements, for printing the
...
source path, beginning and ending positions of an entry.
2008-04-13 02:40:54 -04:00
John Wiegley
64461f0d95
Added write_hdr_format and write_xact_format, which are used by the
...
"output" command.
2008-04-13 02:40:54 -04:00
John Wiegley
9361c7c2e4
Added support for each entry to remember: the file it came from, and
...
the beginning and ending character positions of that entry within the
file. This makes it possible to reproduce the input exactly, with
only the changed entries updated.
(read_binary_journal, write_binary_journal): All accounts and entries
now know which journal they are a member of, and have a `journal'
member pointing to it.
2008-04-13 02:40:54 -04:00
John Wiegley
dc80c23809
*** empty log message ***
2008-04-13 02:40:54 -04:00
John Wiegley
b5a6384d8d
Check for `realpath' function, used by the new "output" command. If
...
it's not available, filename matching must be exact.
2008-04-13 02:40:54 -04:00
John Wiegley
23f8faad13
Added framework for an auto-reconcile command. Useful primarily for
...
GUI developers.
2008-04-13 02:40:54 -04:00
John Wiegley
37a67d89b0
(parse_ledger_data): Don't auto-create equivalencies for bytes,
...
kilobytes, etc., since people may want to use "b" for something else.
2008-04-13 02:40:53 -04:00
John Wiegley
3ea12c622d
*** empty log message ***
2008-04-13 02:40:53 -04:00
John Wiegley
38653c0166
(endElement): Handle the <tr:virtual> and <tr:generated> tags, which
...
were being ignored. (parse): Corrected error reporting when it is a
Ledger error.
2008-04-13 02:40:53 -04:00
John Wiegley
911c178394
(parse): Corrected error reporting lines when it is a Ledger error.
2008-04-13 02:40:53 -04:00
John Wiegley
8f63d2d172
(format_last_entry): Output tr:cost as an amount, not as an amount
...
string.
2008-04-13 02:40:53 -04:00
John Wiegley
93d8d2c811
*** empty log message ***
2008-04-13 02:40:53 -04:00
John Wiegley
ea36f88f95
Fixed check for libxmlparse.
2008-04-13 02:40:53 -04:00
John Wiegley
e2e808032c
*** empty log message ***
2008-04-13 02:40:53 -04:00
John Wiegley
2cc62a4f76
(parse_and_report): Removed "files" argument.
2008-04-13 02:40:53 -04:00
John Wiegley
a151daddc3
(class journal_t): Added `price_db' member, which is the price
...
database used to read in historical prices for a given journal.
2008-04-13 02:40:53 -04:00