John Wiegley
9800e3febc
*** empty log message ***
2008-04-13 02:41:31 -04:00
John Wiegley
82d0ee869b
Added --ansi and --ansi-invert options.
2008-04-13 02:41:30 -04:00
John Wiegley
e32d9e64a7
Added much better error location.
2008-04-13 02:41:29 -04:00
John Wiegley
d02f74efea
*** empty log message ***
2008-04-13 02:41:29 -04:00
John Wiegley
7acc1306d9
*** empty log message ***
2008-04-13 02:41:29 -04:00
John Wiegley
96d6d62ad9
Began support for improved commodity handling.
2008-04-13 02:41:28 -04:00
John Wiegley
cf773a5a12
*** empty log message ***
2008-04-13 02:41:28 -04:00
John Wiegley
0c55a5ee1b
(read_binary_journal): Fixed a tiny memory leak when reading from a
...
binary cache.
2008-04-13 02:41:28 -04:00
John Wiegley
9db08c4c7d
(read_binary_journal): Fixed a tiny memory leak when reading from a
...
binary cache.
2008-04-13 02:41:28 -04:00
John Wiegley
a2423f99db
*** empty log message ***
2008-04-13 02:41:27 -04:00
John Wiegley
7901598f1d
Checked in all major updates.
2008-04-13 02:41:27 -04:00
John Wiegley
224273fa54
*** empty log message ***
2008-04-13 02:41:26 -04:00
John Wiegley
5a8d1fc8ea
*** empty log message ***
2008-04-13 02:41:26 -04:00
John Wiegley
f4e4cd2db8
*** empty log message ***
2008-04-13 02:41:26 -04:00
John Wiegley
f2a167e0ed
*** empty log message ***
2008-04-13 02:41:26 -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
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
6cee916e04
Added in.clear() before resetting I/Os streams. Again, thanks to the
...
list.
2008-04-13 02:41:22 -04:00
John Wiegley
a8012940f4
Removed Python integration support.
2008-04-13 02:41:21 -04:00
John Wiegley
c482e8a317
*** empty log message ***
2008-04-13 02:41:21 -04:00
John Wiegley
19fdcce1c6
*** 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
ed63481f3b
*** empty log message ***
2008-04-13 02:41:17 -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
39a7aed8b1
Increased binary version number.
2008-04-13 02:41:14 -04:00
John Wiegley
529604b204
Updated binary version number. (read_binary_entry_base): Read in
...
beginning and ending line information for each entry.
(write_binary_entry_base): Write out beginning and ending line
information for each entry.
2008-04-13 02:41:12 -04:00
John Wiegley
81e4851a6c
Updated binary file version. (read_binary_journal): Read in the
...
"basket" account, if used. (write_binary_journal): Write out the
"basket" account, if used.
2008-04-13 02:41:11 -04:00
John Wiegley
889014dedc
Increased binary file version number.
2008-04-13 02:41:11 -04:00
John Wiegley
7252b8a6cd
updated binary version number
2008-04-13 02:41:08 -04:00
John Wiegley
1c7669671c
Changes to support building with gcc 2.95.
2008-04-13 02:40:57 -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
d1d63be306
Updated binary cache version, for good measure.
...
(read_binary_journal): Read in the price_db, in order to throw away
the cache if it has changed. (write_binary_journal): Removed unused
"files" parameter. Changed logic for writing out files list. Also,
write out the prices database that was used.
(py_write_binary_journal): Removed "files" argument.
2008-04-13 02:40:52 -04:00
John Wiegley
e83b8a0471
Updated binary cache version, for good measure.
2008-04-13 02:40:52 -04:00
John Wiegley
c59a5c9f86
Updated binary file version. (read_binary_journal): Read in the
...
default commodity. (write_binary_journal): Write out the default
commodity.
2008-04-13 02:40:49 -04:00
John Wiegley
fdac1f14e9
updated cache version
2008-04-13 02:40:49 -04:00
John Wiegley
9403113c59
(read_binary_amount): If the commodity ident is zero,
...
it is an explicit reference to commodity_t::null_commodity.
(write_binary_journal): Initialize account_index and
commodity_index to zero before writing.
(write_binary_journal): Set the "ident" field of the
null_commodity to 0, so that read_binary_amount can recognize it.
2008-04-13 02:40:48 -04:00
John Wiegley
b02c7ef8aa
Fixed a textual parsing bug.
2008-04-13 02:40:48 -04:00
John Wiegley
1db60b12e2
updated to 2.02
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
3a3227298d
if a commodity price cannot be downloaded, report it as an error
2004-09-25 02:51:55 -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
23799b5f4e
main.py does everything except balance reports now
2004-09-14 18:48:26 -04:00
John Wiegley
e414123ecb
change commodity->symbol to const, and added set_symbol
2004-09-10 05:07:50 -04:00
John Wiegley
63367e3aac
the amount/balance/value logic is now a library, completely separate from ledger
2004-08-29 23:32:29 -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
16841fbae3
added (disabled) code for Boost.Python
2004-08-27 23:38:39 -04:00
John Wiegley
3c50b2fb7a
read all binary data in at one go; gains 33%
2004-08-26 15:35:14 -04:00
John Wiegley
942943323e
don't placement new() amount_t in binary.cc when it isn't necessary
2004-08-26 14:31:50 -04:00