John Wiegley
4518ea9540
Value expression architecture is now rewritten, but the functionality of the
...
old system (for example, the meaning of 'a') has yet to be restored. In the
new scheme, this will be done by definition a function outside of the value
expression logic, rather than the tight coupling between journal innards and
value expressions that occurred in 2.x.
2008-07-29 05:59:38 -04:00
John Wiegley
63039ade92
Added the skeleton for the upcoming value_expr unit tests.
2008-07-28 03:42:18 -04:00
John Wiegley
e14d7b6e54
Cleaned up the value expression code a bit before undertaking the real work of
...
getting everything back up to what it was (plus the new code written for 3.0).
2008-07-27 20:37:21 -04:00
John Wiegley
0c76ac5b8f
Merge branch 'master' into v2.7a
2008-07-27 19:50:25 -04:00
John Wiegley
c93175183e
Added the concept of "balance setting transactions".
2008-07-27 18:37:55 -04:00
John Wiegley
ebfe2d1011
Updated all copyright messages to 2003-2008.
2008-07-27 02:26:35 -04:00
John Wiegley
035c418f60
Merge branch 'master' into v2.7a.
...
The only change to come forward was updating the binary version number.
2008-07-27 01:16:38 -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
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
e5a8bbf997
Another quick optimization that cuts down on memory allocation.
2008-07-26 23:55:17 -04:00
John Wiegley
9b7725ee18
Added a simple optimization to the way amount strings are parsed.
2008-07-26 23:55:06 -04:00
John Wiegley
7848dbd7f7
Increased binary cache file internal version number.
2008-07-26 23:54:35 -04:00
John Wiegley
162d982b0c
The --verify option is now working properly again. Use "--verify --verbose"
...
if you wish to see memory usage statistics along with a top-level trace.
2008-07-26 05:06:06 -04:00
John Wiegley
961b30926b
--verify works again, but the memory totals at the end still need work.
2008-07-26 04:08:55 -04:00
John Wiegley
ee39695722
Parsing now works again. And there was much rejoicing.
2008-07-24 11:36:40 -04:00
John Wiegley
171f79dda2
There are no more asserts or exceptions while parsing, but still there are
...
many balancing errors.
2008-07-24 09:13:03 -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
7409b050be
More fixes to restore parsing capability.
2008-07-23 19:40:01 -04:00
John Wiegley
90af218524
Merge branch 'master' into v2.7a
2008-07-23 15:56:31 -04:00
John Wiegley
0c070cde61
acprep: I don't keep ChangeLog files under version control anymore, but
...
automake requires it, so when preparing the sources for building the ChangeLog
is touch'd just as we were doing for AUTHORS and COPYING.
2008-07-23 15:54:44 -04:00
John Wiegley
14de0694a9
Fixed a memory bug due to a shallow copy in value_t::storage_t.
2008-07-22 21:58:00 -04:00
John Wiegley
f0f2b34ea9
More work toward getting my ledger data to parse.
2008-07-22 03:48:35 -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
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
8601a2a8bf
Added back the --version option, and changed acprep so that it hacks on the
...
generated Makefile to greatly reduce unneeded verbosity.
2008-07-21 19:03:26 -04:00
John Wiegley
ac5cc7796f
Merged in from master.
2008-07-21 17:34:39 -04:00
John Wiegley
b1370b654d
More copyright date updates.
2008-07-21 06:29:40 -04:00
John Wiegley
0c800d968c
A patch from Juergen Daubert, which fixes the output from --version.
2008-07-21 06:22:03 -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
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
689df61077
Changed the target directory within ~/Products.
2008-07-20 21:17:49 -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
025c9acda9
When using the "entry" command with an unknown payee, get the draw account
...
correct if one is specified. Fixes #203 .
2008-07-20 20:31:53 -04:00
John Wiegley
00a47a38f6
Corrected the copyright date in ledger.el.
2008-07-20 20:31:20 -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
59f6ffb863
Added a tracing statement.
2008-07-19 23:28: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
8e49f5242f
Erroneously compared a character position to NUL, rather than setting it.
2008-07-19 21:31:36 -04:00
John Wiegley
150abce0db
Commented out code that's not being used yet.
2008-07-19 21:02:58 -04:00
John Wiegley
931e5aa12d
Don't remove pre-existing build directories when running acprep
2008-07-19 21:00:46 -04:00
John Wiegley
911b866230
When converting datetime_t to a long, I now need to directly access the 'when'
...
member, otherwise C++ chooses the bool conversion, which is always wrong.
2008-07-19 16:52:16 -04:00
John Wiegley
2aeee0bb64
Merged over changes from the newer ledger.el that was in my FTP directory.
...
C-c C-c will no longer destroy information if the amount is too close to the
account name.
C-c C-e will clear a whole entry; TAB and C-TAB now perform completion; the
reporting infrastructure has been improved (thanks to a contributor); and
other small improvements.
2008-07-18 02:28:43 -04:00
John Wiegley
899f79d032
Reconciling using ledger.el is now line-based, instead of character based, due
...
to problems with UTF-8 characters.
2008-07-17 23:42:19 -04:00
John Wiegley
0f7776f7af
Updated the version number to 2.6.1.
2008-07-17 23:28:05 -04:00
John Wiegley
41e8d1871e
Changes to allow DATETIME values to be negated, for the purposes of reverse
...
sorting.
2008-07-17 22:23:14 -04:00
John Wiegley
3d1ab0e4e7
Changed the default value of ledger-binary-path to just "ledger", since
...
there's no need to require an absolute pathname.
2008-07-17 22:09:26 -04:00