John Wiegley
0951bcebef
Bump copyright information to 2013
2013-02-18 06:51:21 -06:00
John Wiegley
4681e58d7f
Converted the Ledger build system to use CMake
2012-05-20 04:48:05 -05:00
John Wiegley
08a7f5ae07
Changed a const string map key to string
2012-04-28 05:23:49 -05:00
John Wiegley
22505d9527
Always call TRACE_CTOR at the end of constructors
2012-03-20 02:10:40 -05:00
John Wiegley
22c1b867f0
Added option --day-break
2012-03-17 05:27:43 -05:00
John Wiegley
76f97a63da
Added parsing support for the many value directives
2012-03-07 05:20:42 -06:00
John Wiegley
944e580825
Refactored the notion of "the current parsing context"
2012-03-01 03:31:28 -06:00
John Wiegley
e2afc783db
Increased file copyrights to 2012
2012-02-29 22:32:23 -06:00
John Wiegley
eac84f5e21
Removed comment that no longer made sense
2012-02-29 22:11:40 -06:00
John Wiegley
5532a1a8b7
Added --check-payees option
2012-02-27 11:52:23 -06:00
John Wiegley
2ec35ea6e9
Implement the "tag" metadata directive
2012-02-27 05:02:25 -06:00
John Wiegley
61bc7362ca
Added new account/payee/commodity directives
...
Also added supporting options: --explicit, --permissive, --pedantic, as
well as new behavior for --strict.
2012-02-27 02:31:09 -06:00
John Wiegley
aa9b07d79b
Added --rich-data for 'convert', and SHA1 checksum checking
2012-02-26 15:45:15 -06:00
John Wiegley
dcffd218a1
Revised how Ledger handles the "current year"
...
Now when the Y directive sets the current year for a region, it affects
everything, as if the clock really were set back to that year.
2010-06-14 03:23:09 -04:00
John Wiegley
8d2fce1ae8
Automated xacts may now contain "deferred tags"
...
For example, consider the following automated transaction:
= /Food/
; Next Date:: date + 10
(Expenses:Tax) 1.00
; Next Date:: date + 20
This will add a metadata field named 'Next Date' to the _matching
posting_, with a value that is 10 days later than that posting. It will
also generate a new posting for that transaction, whose amount is the
same as the matching posting. Further, it will add a 'Next Date'
metadata tag to the _generated posting_ whose value is 20 days later
than the date of the matching posting.
2010-06-13 01:03:48 -04:00
John Wiegley
dea2aed0b5
Untabified all source files
2010-06-11 17:02:25 -04:00
John Wiegley
e275caa5fb
Two members of journal_t weren't being serialized
2010-06-02 02:08:44 -04:00
John Wiegley
3318722089
Added new "payee" and "capture" directives
...
The payee directive allows for transformation of payee names during the
parsing of a Ledger file. This means you can record the payee name in
one form, but always have it reported in another form. The syntax is
(and will be):
payee PAYEE_NAME REGEXP
or
payee PAYEE_NAME
REGEXP1
REGEXP2
...
The account directive sets the account automatically based on the payee
iff the base account name is Unknown. For example, if you have a bunch
of transaction in Expenses:Unknown, you can assign accounts for several
automatically using:
account ACCOUNT_NAME PAYEE_REGEXP
or
account ACCOUNT_NAME
PAYEE_REGEXP1
PAYEE_REGEXP2
...
2010-03-05 22:14:14 -05:00
John Wiegley
ab416f759f
Updated copyrights to 2003-2010
2010-03-05 22:14:10 -05:00
John Wiegley
4e30fcdf40
Many improvements to Ledger's Python bindings
2009-11-19 22:24:24 -05:00
John Wiegley
48dc654eda
Added has_xdata() methods for journal_t and xact_t
2009-11-12 05:11:06 -05:00
John Wiegley
c22b8457ef
Did away with the "finalizer" abstraction
...
This was from an earlier time, when it was intended to be used by
Python. But it's not needed anymore.
2009-11-11 18:29:21 -05:00
John Wiegley
394c7bd8df
Removed a bunch of empty comments
2009-11-08 14:59:11 -05:00
John Wiegley
06f4c27867
Renamed journal_t::basket to bucket
2009-11-07 06:39:50 -05:00
John Wiegley
34ee358f5e
Moved journal reading code into journal_t
2009-11-05 02:27:42 -05:00
John Wiegley
3dc200983d
Moved xdata clearing code into each type proper
2009-11-05 02:27:39 -05:00
John Wiegley
40a430139e
Transactions, etc., are now accessed by iterators
2009-11-05 02:22:17 -05:00
John Wiegley
b14c814fec
Whitespace fix
2009-11-04 20:40:42 -05:00
John Wiegley
36a01d82f9
Changed a data type to be consistent with its usage
2009-10-31 00:25:16 -04:00
John Wiegley
2149a8e773
Create a --cache option, for using a binary cache
2009-10-31 00:09:57 -04:00
John Wiegley
63aa8992a8
Moved ownership of master account into journal_t
...
The journal_t now completely represents the data part of a session.
2009-10-30 19:03:28 -04:00
John Wiegley
a757b19f51
Added serialization methods for most type
...
This allows journal_t objects to be completed serialized to disk and
deserialized.
2009-10-30 18:06:37 -04:00
John Wiegley
c11d325712
Reduced the #include dependency tree to a minimum
2009-03-04 23:53:43 -04:00
John Wiegley
944c63e6f2
The Great Renaming, Part II
...
The last commit did not contain the majority of changes because of a
slight mishap. This contains the real changeset.
2009-02-23 19:07:30 -04:00
John Wiegley
f2f52066d2
Added a --strict session option
...
When enabled, if any accounts or commodities are seen in an uncleared
transaction, which were not seen previously in a cleared or pending
transaction or a textual directive dealing with accounts or commodities,
a warning is generated about the unknown item.
2009-02-19 22:36:08 -04:00
John Wiegley
3c3606aa0d
Break libledger_data's dependency on session_t.
2009-02-09 18:46:01 -04:00
John Wiegley
589eabd8e6
Threw away the "multiple parser" infrastructure.
2009-02-07 17:45:48 -04:00
John Wiegley
2d941730b1
Largely removed all of Ledger's use of global variables, for the REPL's sake.
2009-02-04 19:55:27 -04:00
John Wiegley
1cc33531ea
Simplified the textual parser, and improved metadata support.
2009-02-04 03:34:37 -04:00
John Wiegley
1ece3f8b1c
Added documentation stubs for all include files and classes.
2009-01-31 15:28:23 -04:00
John Wiegley
05c77351e4
Stopped using the generic "unsigned int" in favor of more specific types.
2009-01-29 18:23:57 -04:00
John Wiegley
9aaab88c61
Update Doxygen documentation. Still much more work to be done.
2009-01-29 02:24:42 -04:00
John Wiegley
887828a40c
Increased copyright range to include 2009.
2009-01-20 01:53:31 -04:00
John Wiegley
fdc7a4e4c5
Factored common parts of entry_t and xact_t into new item_t
2008-09-19 08:06:20 -04:00
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