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
e41dbc204a
Report an error if the user forgets to pass an argument to --trace.
2008-07-22 00:58:46 -04:00
John Wiegley
aa4f0d4364
Added the var_t helper class, which can be seen in the beginning
...
implementation of register_command in main.cc.
2008-07-21 20:41:42 -04:00
John Wiegley
0a1bce0f80
Re-enabled almost all of the code in main.cc.
2008-07-20 23:28:29 -04:00
John Wiegley
219cc71bb0
Things are at least compiling and linking again, but we're still far from
...
having a functional binary.
2008-07-20 21:17:26 -04:00
John Wiegley
b85e9ba95f
Everything but main.cc is compiling again (but with much #if 0'd code).
2008-07-20 06:00:06 -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
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
88634973a2
Some basic fixes to get things almost running, although we still can't parse
...
my personal ledger file yet.
2008-07-19 23:10:37 -04:00
John Wiegley
d568319495
Merged in bug fixes from master (done for 2.6.1b)
2008-07-19 21:36:34 -04:00
John Wiegley
5f472969cd
Moved an auto_ptr up into main, since the memory it governs must still be
...
available to the exception handlers that come immediately after it.
2008-07-17 20:55:15 -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
04dfda2282
Made separate modules for the csv command, since the prior method was
...
not fully correct.
2008-04-13 02:41:33 -04:00
John Wiegley
5a93d4819e
Reworked the way date/times are handled.
2008-04-13 02:41:32 -04:00
John Wiegley
c3c401ac0f
*** empty log message ***
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
49ae3b65d5
*** empty log message ***
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
b737cd8e6d
Added a DATETIME value type.
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
7d3e45958e
*** empty log message ***
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
e75bb1f71f
*** 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
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
a8012940f4
Removed Python integration support.
2008-04-13 02:41:21 -04:00
John Wiegley
2d7d6c6f15
Added support for outputting to CSV format.
2008-04-13 02:41:21 -04:00
John Wiegley
d021582d28
(parse_and_report): Set ledger::terminus in main.cc, instead of
...
relying on static initialization of valexpr.cc.
2008-04-13 02:41:21 -04:00
John Wiegley
f691735c6c
Restructed the code that it can build and be used as a shared library.
...
The command-line version is still statically bound in the build
process by default (for the sake of speed).
2008-04-13 02:41:21 -04:00
John Wiegley
348349f98c
(parse_and_report): Added a check for HAVE_EXPAT in addition to
...
HAVE_XMLPARSE, which was causing the xml/gnucash parsers not to be
registered!
2008-04-13 02:41:19 -04:00
John Wiegley
b462a8bf50
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
69881ae385
(chain_xact_handlers): When budgeting and forecasting are being used,
...
never update the binary cache (and don't create one if none was
there). This is because certain intermediary accounts get created
during generation of these reports, which should never be recorded in
the cache as actual accounts. Also, run the account filter both
before and after the budgeting and forecasting filters, to ensure that
only the accounts the user is interested in get included in the
report.
2008-04-13 02:41:12 -04:00
John Wiegley
ecee0bc921
*** empty log message ***
2008-04-13 02:41:06 -04:00
John Wiegley
ba8981a3f6
Removed the --reconcilable option, since the pending flag is now being
...
used.
2008-04-13 02:41:05 -04:00
John Wiegley
25655cf91a
(main): Do not sync I/O streams with stdio, since I do not use stdin,
...
stdout or stderr.
2008-04-13 02:41:04 -04:00
John Wiegley
cd339f9ddc
(parse_and_report): If XML support was not compiled in, generate an
...
error when the "xml" command is used.
2008-04-13 02:41:04 -04:00
John Wiegley
48cb87b8bd
formatting changes
2008-04-13 02:41:04 -04:00
John Wiegley
2d3e852d30
(chain_xact_handlers): Chain the reconcile_transactions handler the
...
same way as everything else.
2008-04-13 02:41:02 -04:00
John Wiegley
74456d89b5
(parse_and_report): Rearranged some code for efficiency's sake.
2008-04-13 02:41:01 -04:00
John Wiegley
d0997fa821
Changed truncate_entries so that --head and --tail can be used at the
...
same time.
2008-04-13 02:41:00 -04:00
John Wiegley
8fd5f4ee57
Added support for "--pager PROGRAM". A likely way to define it in
...
your login file would be: "export LEDGER_PAGER=$PAGER".
2008-04-13 02:41:00 -04:00
John Wiegley
962e17c1a9
(chain_xact_handlers): Added head or tail handlers, using the
...
transaction handler `truncate_entries'.
2008-04-13 02:41:00 -04:00
John Wiegley
4ed59bcf8c
Fixed a Gnucash problem.
2008-04-13 02:40:58 -04:00
John Wiegley
88042027e7
*** empty log message ***
2008-04-13 02:40:57 -04:00
John Wiegley
9618057215
Added an Emacs formatter, accessible with the new "emacs" command.
2008-04-13 02:40:56 -04:00
John Wiegley
4ca26fbd73
*** empty log message ***
2008-04-13 02:40:56 -04:00
John Wiegley
f3c736006c
*** empty log message ***
2008-04-13 02:40:55 -04:00