John Wiegley
f6f4a46cf5
Moved around most of the files so that source code is in src/, documentation
...
is in doc/, etc.
2008-08-05 18:05:49 -04:00
John Wiegley
bbdab79302
Rearranged the code a bit, breaking walk.cc into several different files:
...
compare compare_items<T>
handler item_handler<T>
iterators used to iterators sets of journal objects
filters derived from item_handler, they morph the result set
output derived from item_handler, these do the printing
Also, created a new 'help' files which contains just Ledger's help text.
2008-08-03 21:38:53 -04:00
John Wiegley
3e4b016940
Added several missing copyright notices.
2008-08-03 20:56:43 -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
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
ac5cc7796f
Merged in from master.
2008-07-21 17:34:39 -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
d568319495
Merged in bug fixes from master (done for 2.6.1b)
2008-07-19 21:36:34 -04:00
John Wiegley
a7377e4581
The "entry" command now correctly allows for a "draw account".
2008-07-17 22:04:41 -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
7acc1306d9
*** empty log message ***
2008-04-13 02:41:29 -04:00
John Wiegley
7901598f1d
Checked in all major updates.
2008-04-13 02:41:27 -04:00
John Wiegley
ca9ea27081
(derive_new_entry): Added an error check if only a payee is specified
...
for "entry" but the payee wasn't found. (This came from the mailing
list, thanks guys).
2008-04-13 02:41:21 -04:00
John Wiegley
a8012940f4
Removed Python integration support.
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
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
6777a8519a
(derive_new_entry): Backed out a change which caused the "from"
...
account to be incorrectly determined.
2008-04-13 02:41:16 -04:00
John Wiegley
1f433a129f
(derive_new_entry): If the "entry" command can't figure out which
...
account to draw from, and if there is a "basket account" (defined with
"A" in a textual ledger), use that.
2008-04-13 02:41:15 -04:00
John Wiegley
4e822d213f
(derive_new_entry): If no argument were given but the payee, assume
...
the user wants to see the same transaction as last time.
2008-04-13 02:41:14 -04:00
John Wiegley
37ae9bf0c2
added missing headers
2008-04-13 02:40:57 -04:00
John Wiegley
cb15e764eb
(derive_new_entry): Simplified some code. (derive_new_entry): If no
...
commodity was specified for an amount, and none was figured out from
previous transactions, then use the default commodity (which is
specified using "D <SYMBOL>" in the ledger file).
2008-04-13 02:40:49 -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
2c7593ae29
fix to entry
2004-09-24 00:23:27 -04:00
John Wiegley
1416f3b978
a bit more refactoring
2004-09-23 21:54:11 -04:00