John Wiegley
9c9a34388a
First round of work to get the balance report working again.
2008-08-04 16:24:41 -04:00
John Wiegley
3e4b016940
Added several missing copyright notices.
2008-08-03 20:56:43 -04:00
John Wiegley
5a90fe7357
Moved xact_xdata_t into xact_t itself, as a set of "extended data" that might
...
be gathered during reporting.
Removed the references to accounts and such from the mask logic, which means
that the value expression "acount =~ /foo/" is needed in place of just
"/foo/".
2008-08-02 22:45:35 -04:00
John Wiegley
858978de89
Journal data structures now use date_t instead of datetime_t.
...
This means transactions can only have day-level granularity -- which has
always been the case from an data file point of view. The advantage to this
restriction is that reports will now be immune from daylight savings related
bugs, where a transaction falls to the wrong side of a --monthly report, for
example.
2008-08-01 17:37:22 -04:00
John Wiegley
e5048ec71b
Change many uses of for+iterator to use Boost.Foreach.
2008-07-31 17:48:29 -04:00
John Wiegley
99313ebc6c
Revised the way that exceptions are thrown around. Instead of context being a
...
complicated string of pointers, it's now just a global block of text that gets
appended to as the error is being thrown up, and can be displayed at the catch
point if desired. There are almost no cases where a thrown exception will not
result in an error message being displayed to the user.
2008-07-31 06:24:45 -04:00
John Wiegley
ea27d1b45a
Moved around and renamed a very large amount of code in order to rationalize
...
the way that value expressions extract information from journal objects.
2008-07-29 20:10:03 -04:00
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
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
20e35aa6f5
I have walked further along the road less compiled by...
2008-07-20 05:32:09 -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
5a93d4819e
Reworked the way date/times are handled.
2008-04-13 02:41:32 -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
e32d9e64a7
Added much better error location.
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
7901598f1d
Checked in all major updates.
2008-04-13 02:41:27 -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
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
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
b462a8bf50
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
b671d2934b
minor bit twiddling
2008-04-13 02:41:07 -04:00
John Wiegley
c0285de46b
Moved `format_xml_entries' to xml.cc.
2008-04-13 02:41:03 -04:00
John Wiegley
1895ae6653
(test): Check for <?xml only, not the full version string.
2008-04-13 02:41:00 -04:00
John Wiegley
38653c0166
(endElement): Handle the <tr:virtual> and <tr:generated> tags, which
...
were being ignored. (parse): Corrected error reporting when it is a
Ledger error.
2008-04-13 02:40:53 -04:00
John Wiegley
c9fb11bd60
updated to version 2.0
2008-04-13 02:40:47 -04:00