John Wiegley
688f572ffd
(clock_out_from_timelog): If a timelog file is left "open", clock out
...
at the present time.
2008-04-13 02:41:09 -04:00
John Wiegley
2d4fc10ca4
(parse_transaction): If an account name matches an alias definition,
...
use the aliased account.
(parse): Added an "!alias ALIAS = ACCOUNT" directive, to make it
easier to manage long account names in a textual ledger file.
2008-04-13 02:41:09 -04:00
John Wiegley
f7090b1c33
(test): Sense of an #ifdef test was reversed somehow.
2008-04-13 02:41:07 -04:00
John Wiegley
56b5f5fcce
*** empty log message ***
2008-04-13 02:41:07 -04:00
John Wiegley
a1c6758265
(test): Added a test for the presence of <?xml... in the input stream;
...
if it is there, report an error based on whether XML support was
actually compiled in or not.
2008-04-13 02:41:07 -04:00
John Wiegley
9ff282bd11
(parse_entry): Parse the pending flag if a ! is used in place of *.
2008-04-13 02:41:05 -04:00
John Wiegley
30e6111b0f
(parse): Updated the "D" command to take a regular amount, from which
...
the default flags and precision for its commodity are determined.
2008-04-13 02:41:05 -04:00
John Wiegley
48cb87b8bd
formatting changes
2008-04-13 02:41:04 -04:00
John Wiegley
4faed720b5
Whitespace changes.
2008-04-13 02:41:01 -04:00
John Wiegley
10c78678bc
(parse): When an entry does not balance, print the entry so the user
...
can see what Ledger saw.
2008-04-13 02:40:59 -04:00
John Wiegley
1c7669671c
Changes to support building with gcc 2.95.
2008-04-13 02:40:57 -04:00
John Wiegley
a874bc851e
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
9aad55540e
*** empty log message ***
2008-04-13 02:40:55 -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
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
b02c7ef8aa
Fixed a textual parsing bug.
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
a32173ace6
changes
2008-04-13 02:40:47 -04:00
John Wiegley
eda733a56e
improved error checking in parser, in case parts of an amount are missing
2004-09-24 23:11:50 -04:00
John Wiegley
3038b7cee8
finalizer fixes; removed use of timing.h from main.cc
2004-09-24 04:56:46 -04:00
John Wiegley
4f56735dfa
changed entry_finalizer scheme to use objects, not just function pointers
2004-09-24 04:10:39 -04:00
John Wiegley
84259bde51
changed ledger.h to journal.h; moved adding of autoxact hook
2004-09-23 21:37:39 -04:00
John Wiegley
c57bfb72c3
moved entry hooking mechanism to journal_t; further improvements to "entry"
2004-09-23 21:08:42 -04:00
John Wiegley
9f8a32ab48
fixed several issues in value_t's core
2004-09-21 03:41:40 -04:00
John Wiegley
5429792edc
the "bal" command mostly works now in main.py; added a finalize_entry hook
2004-09-20 03:25:28 -04:00
John Wiegley
18879bbe85
some changes in the way formatting strings are handled; for simplicity
2004-09-18 02:33:51 -04:00
John Wiegley
061e19e302
make config_t visible to Python; almost possible to implement main.cc in main.py
2004-09-14 06:25:29 -04:00
John Wiegley
a013b520ba
python integrated both ways (see sample.dat), and initialized on-demand
2004-09-14 04:47:41 -04:00
John Wiegley
6c66d1e0ef
improvements to python exposure of commodity_t
2004-09-11 02:18:04 -04:00
John Wiegley
842359474e
optimize python iterations of entries, transactions; use exceptions more
2004-09-08 03:33:56 -04:00
John Wiegley
305c6159af
small fixes
2004-08-30 05:29:34 -04:00
John Wiegley
2d62f7b633
redid the way amount_t::commodity is handled; no more direct access
2004-08-29 04:31:59 -04:00
John Wiegley
b4304515ff
ledger.so (the python module) now builds based on autoconf discovery
2004-08-28 04:26:48 -04:00
John Wiegley
16841fbae3
added (disabled) code for Boost.Python
2004-08-27 23:38:39 -04:00
John Wiegley
02168c7823
escape codes in format strings; can now redefine individual report formats
2004-08-22 02:40:18 -04:00
John Wiegley
6d5333b896
use value_t instead of balance_pair_t; gains for 10% binary, 2% textual
2004-08-21 23:18:45 -04:00
John Wiegley
000bfe1cec
only compute the cost when it differs from the amount
2004-08-21 15:55:03 -04:00
John Wiegley
225acd14e5
removed some redundant code
2004-08-21 06:23:10 -04:00
John Wiegley
b030416982
fixes to how commodities are looked up using quotes.cc
2004-08-21 03:54:27 -04:00
John Wiegley
06ac87ab20
support arbitrary precision after the decimal point; increase speed 0-10%
2004-08-21 01:43:50 -04:00
John Wiegley
f19aeb6d44
fixes
2004-08-19 22:05:22 -04:00
John Wiegley
a9b207205f
several fixes
2004-08-19 22:03:23 -04:00
John Wiegley
aba3d3037a
added support for parsing QIF files
2004-08-19 17:55:33 -04:00
John Wiegley
bf923ab33e
use std::auto_ptr wherever a thrown exception might otherwise leak memory
2004-08-19 03:28:48 -04:00
John Wiegley
f62a4906d1
fix to textual parsing, and a bit of reconstruction in main.cc
2004-08-19 02:30:56 -04:00
John Wiegley
8af33274fb
more time interval support: last month, last feb, next year, etc.
2004-08-18 02:15:31 -04:00
John Wiegley
019a42f199
fixes
2004-08-17 16:10:48 -04:00
John Wiegley
325cf53ea7
several significant speed improvements (removed excessive copying of strings)
2004-08-17 04:57:38 -04:00
John Wiegley
b009998930
if NO_CLEANUP is defined in the Makefile (now default), no cleanup is done
2004-08-17 03:09:46 -04:00
John Wiegley
7189b181ef
further restructuring
2004-08-15 17:08:56 -04:00