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
John Wiegley
b10ff955a3
cleaned up binary data writing, and file handling
2004-08-15 02:39:13 -04:00
John Wiegley
c6b82f8359
added timing debug code
2004-08-14 00:12:59 -04:00
John Wiegley
0279827768
added timing code
2004-08-13 18:23:34 -04:00
John Wiegley
6944e5950a
more options fixes
2004-08-13 17:02:25 -04:00
John Wiegley
eed99acfee
long options are now supported
2004-08-13 04:30:36 -04:00
John Wiegley
7a1d0d4614
new debug code; automated transactions now use value expression predicates
2004-08-10 17:54:47 -04:00
John Wiegley
7e87a0a0b1
added back sorting support
2004-08-05 19:12:23 -04:00
John Wiegley
1741c80fe4
rewrote the way registers are computed -- again
2004-08-04 03:12:26 -04:00
John Wiegley
f570e6644f
brought back the "print" and "equity" reports; this time much better!
2004-07-31 07:42:34 -04:00
John Wiegley
c06fad4291
removed constraints_t entirely
2004-07-31 02:23:29 -04:00
John Wiegley
94e76ae87e
two major changes
...
Complete changed the way format strings are handled. They are now
compiled first, which is far more efficient than what was being done
before.
Also, there is now a global ledger::commodity_t::commodities map,
which saves me from having to pass the current journal around to a
zillion different functions, for the sole purpose of making sure that
all commodity symbols that are parsed refer to the same commodity
object.
2004-07-30 21:57:02 -04:00
John Wiegley
a2f805ef73
Exit if parsing errors are encountered
2004-07-29 01:56:53 -04:00