John Wiegley
244bbb6d12
Fixed some compiler complaints.
2008-04-13 02:41:25 -04:00
John Wiegley
4e76407003
*** empty log message ***
2008-04-13 02:41:25 -04:00
John Wiegley
34ed895907
(entries::format_last_entry): XML format now always uses the same date
...
format, and ignores --date-format.
2008-04-13 02:41:25 -04:00
John Wiegley
1761ae9272
*** empty log message ***
2008-04-13 02:41:25 -04:00
John Wiegley
c51704a2a1
(parse): Do not balance automated entries: they are now balanced as
...
part of the entry they match. (parse): Report the remainder of failed
balances using `entry_balance'. This can give a much better idea of
what went wrong, especially when values are being calculated.
2008-04-13 02:41:25 -04:00
John Wiegley
8916ec2483
Added a global variable `entry_balance' which contains the balance of
...
the last attempted entry finalization.
2008-04-13 02:41:24 -04:00
John Wiegley
21722ae484
(add_entry): Run `entry_finalize_hooks' before finalizing an entry.
...
This allows automated entries to add their transactions to the current
matching entry before that entry's balance is checked.
2008-04-13 02:41:24 -04:00
John Wiegley
7154896d20
*** empty log message ***
2008-04-13 02:41:24 -04:00
John Wiegley
5e0d36bc39
*** empty log message ***
2008-04-13 02:41:24 -04:00
John Wiegley
8d3403fbef
(ledger-run-ledger): Report better error messages if
...
`ledger-binary-path' is set to an invalid value.
2008-04-13 02:41:24 -04:00
John Wiegley
c1b609d4e5
*** empty log message ***
2008-04-13 02:41:24 -04:00
John Wiegley
349183d5ea
(write_textual_journal): Corrected an error message.
2008-04-13 02:41:24 -04:00
John Wiegley
10fc16e114
(actual_date, effective_date): Changed an assert for non-NULL to a
...
mere check (it happens with the 'output' command).
2008-04-13 02:41:24 -04:00
John Wiegley
e22fa78e84
Added a check for null.
2008-04-13 02:41:24 -04:00
John Wiegley
2df14a5b86
Transactions now track their beginning and ending position, as do
...
entries. The new format strings %xB %xE %xb %xe can be used to
display those values relative to a transaction. The Emacs module now
relies on this support to exactly determine where a transaction is,
rather than the Elisp logic it relied on previously.
2008-04-13 02:41:24 -04:00
John Wiegley
085420dd28
*** empty log message ***
2008-04-13 02:41:23 -04:00
John Wiegley
71a0ad82b9
(parse): The period phrase "every month" was not working (it required
...
you to say "every monthly").
2008-04-13 02:41:23 -04:00
John Wiegley
917ef6934c
*** empty log message ***
2008-04-13 02:41:23 -04:00
John Wiegley
d9102c7559
(increment): When calculating time interval increments, set tm_isdst
...
to zero to avoid gaining or losing a day because of daylight savings
time.
2008-04-13 02:41:23 -04:00
John Wiegley
7a44b2e367
*** empty log message ***
2008-04-13 02:41:23 -04:00
John Wiegley
4aea9709bb
Made several changes to the parsing infrastructure to allow passing
...
the "config_t" object around. This is needed for parsing option
settings in the initialization file.
2008-04-13 02:41:23 -04:00
John Wiegley
17e872689e
*** empty log message ***
2008-04-13 02:41:23 -04:00
John Wiegley
d19f377491
(Format strings): Removed the note saying that -P is an alternative to
...
--price-db.
2008-04-13 02:41:23 -04:00
John Wiegley
c9bae72c91
*** empty log message ***
2008-04-13 02:41:23 -04:00
John Wiegley
ced1d5a308
Relaxed parsing so that tabs are allowed in several places that
...
required spaces before.
2008-04-13 02:41:23 -04:00
John Wiegley
0ac399d68f
*** empty log message ***
2008-04-13 02:41:22 -04:00
John Wiegley
c4b55427d0
*** empty log message ***
2008-04-13 02:41:22 -04:00
John Wiegley
963f05e8d0
Use libtoolize if glibtoolize can't be found.
2008-04-13 02:41:22 -04:00
John Wiegley
722b9c78bf
*** empty log message ***
2008-04-13 02:41:22 -04:00
John Wiegley
c1b88790d0
*** empty log message ***
2008-04-13 02:41:22 -04:00
John Wiegley
17920eef79
(ofx_proc_transaction_cb): Applied patch for a bad reference to
...
entry->date.
2008-04-13 02:41:22 -04:00
John Wiegley
b25a1e7bc7
Added build logic for the Emacs file.
2008-04-13 02:41:22 -04:00
John Wiegley
732c2691f4
*** empty log message ***
2008-04-13 02:41:22 -04:00
John Wiegley
6cee916e04
Added in.clear() before resetting I/Os streams. Again, thanks to the
...
list.
2008-04-13 02:41:22 -04:00
John Wiegley
56b2234809
*** empty log message ***
2008-04-13 02:41:22 -04:00
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
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
a8012940f4
Removed Python integration support.
2008-04-13 02:41:21 -04:00
John Wiegley
20f100cd5a
*** empty log message ***
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
318d562c20
changes
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
7f34e080fd
Added a safety check to see if moment is less than date.
2008-04-13 02:41:21 -04:00
John Wiegley
c482e8a317
*** empty log message ***
2008-04-13 02:41:21 -04:00
John Wiegley
61166ea4d3
*** empty log message ***
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
3a689c568a
*** empty log message ***
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
a8bc3c8436
*** empty log message ***
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