John Wiegley
9e9f25b566
'make check' is now working again. Also, conversion from amount_t to/from
...
double has been disabled, because I am no longer packaging the gdtoa library
with Ledger (because double conversion really has nothing to do with what
Ledger does). If you wish to use it, you can find gdtoa in cpp-rewrite-2006,
under a sub-directory of the same name.
2008-07-27 01:03:41 -04:00
John Wiegley
713f896790
A large body of work to get the register report printing again, but still
...
fails due to the fact that 2.x value expression syntax is not restored.
2008-07-27 00:10:35 -04:00
John Wiegley
643f2d33cf
More work toward getting the textual parser working again. Since this means
...
that value expressions must work, there are a lot of details involved.
2008-07-24 09:02:47 -04:00
John Wiegley
4bc29e1351
A great deal of reorganization to restore the old parsing code (since the
...
newer XML stuff was pulled).
2008-07-22 02:23:45 -04:00
John Wiegley
d86a91d45b
The new XPath parser has been integrated, although I have removed the
...
XML-related bits -- I just wanted the better infrastructure that had been
created during the rewrite. It doesn't work, but it compiles and links now.
This means that all of the previous 3.0 code has been moved over, although
there are still snippets of code in pending/old that need to be restored.
2008-07-20 23:12:04 -04:00
John Wiegley
52fc9f2e44
Brought in the final round of 3.0 code, although it does not compile yet:
...
report, session, parts of xpath, main, journal, option.
2008-07-20 05:03:54 -04:00
John Wiegley
150abce0db
Commented out code that's not being used yet.
2008-07-19 21:02:58 -04:00
John Wiegley
d159501993
The code is compiling again, but it's far from being able to run yet.
2008-05-08 02:50:19 -04:00
John Wiegley
b45037e334
Migrated over both code and build environment from was-v3.0 branch.
2008-05-08 02:50:19 -04:00
John Wiegley
5a93d4819e
Reworked the way date/times are handled.
2008-04-13 02:41:32 -04:00
John Wiegley
a5aff9eee9
Several fixes to lot price handling.
2008-04-13 02:41:31 -04:00
John Wiegley
32bdfe20d9
Tons of corrections and fixes to value expressions and lot figures.
2008-04-13 02:41:31 -04:00
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