John Wiegley
b14c814fec
Whitespace fix
2009-11-04 20:40:42 -05:00
John Wiegley
6a78c24463
Stream out item metadata last in item_t::serialize
2009-11-01 21:15:46 -05:00
John Wiegley
2ae2c47a38
When copying an item, copy its metadata
2009-11-01 21:15:31 -05:00
John Wiegley
3909d2678e
Removed most #if 0 blocks and callout comments
2009-10-31 04:50:07 -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
cb6f7cd54e
Add a position_t object for tracking item positions
...
It is also optional, which is useful for generated items.
2009-10-30 17:54:54 -04:00
John Wiegley
924c0a3013
Fixed a comment, and some whitespace
2009-10-30 17:48:31 -04:00
John Wiegley
8b2bf571d8
Added a comment about a confusing bit of code
2009-10-27 05:22:12 -04:00
John Wiegley
f161aea8ce
Removed reliance on strptime/strftime
...
The code now uses Boost's input and output facets for times and dates.
This ensures completely consistency regarding timezones and times, and
fixes the regression test that was broken while I was away coding in
London (where it was GMT-0 and I didn't notice the difference between
local and GMT).
2009-10-11 05:19:01 -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
a577e8c48e
Added a new --raw option, for use with print
2009-02-21 19:45:13 -04:00
John Wiegley
ee5e0600aa
xact metadata searches get passed up to the entry
...
That is, if a metadata tag cannot be found in a transaction, look in the
parent entry to see if it was set there. Transactions "inherit"
notational details from their entries.
2009-02-14 05:37:53 -04:00
John Wiegley
6ca01af594
Fixed the use of --effective and --date-format (-y).
2009-02-09 17:27:54 -04:00
John Wiegley
02bd9d29cf
Improved an error message that was trying to show transaction context.
2009-02-08 20:05:56 -04:00
John Wiegley
408b819c6e
Greatly simplified the way option and command handlers are defined.
2009-02-05 21:20:09 -04:00
John Wiegley
3f960be96c
Removed all references to the old binary cache.
2009-02-04 20:57:14 -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
2ce7ae376c
Removed used of src_idx.
2009-02-03 19:06:53 -04:00
John Wiegley
dfe04b9943
Removed some dead code.
2009-02-03 17:46:04 -04:00
John Wiegley
43c4636d9d
Removed the global references to session->report.
2009-02-03 13:03:10 -04:00
John Wiegley
9540406af1
Simplified error context handling.
2009-02-02 00:24:26 -04:00
John Wiegley
fb5428ce85
Added support for metadata and tagging, and made regexs a first-class type.
2009-02-01 22:10:32 -04:00
John Wiegley
59a080cdb6
Changed many uses of "unsigned long" to std::size_t.
2009-02-01 18:33:46 -04:00
John Wiegley
1ece3f8b1c
Added documentation stubs for all include files and classes.
2009-01-31 15:28:23 -04:00
John Wiegley
887828a40c
Increased copyright range to include 2009.
2009-01-20 01:53:31 -04:00
John Wiegley
0e95974360
Changed some of the transaction flags, since all must fit in 8 bits.
2008-09-19 08:31:17 -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