Commit graph

2337 commits

Author SHA1 Message Date
John Wiegley
97a9b42b2c Merge branch 'next' 2009-10-31 04:17:40 -04:00
John Wiegley
a0a980b9f4 Don't add price_db to sources if it doesn't exist 2009-10-31 04:15:29 -04:00
John Wiegley
e1c419b6be Removed -j16 from lib/Makefile 2009-10-31 04:14:33 -04:00
John Wiegley
a51b7ec4fa Construct global_scope object within the exception handler 2009-10-31 04:07:41 -04:00
John Wiegley
d7a06a31aa Correct some code in process_environment 2009-10-31 04:07:41 -04:00
John Wiegley
289f1ec0ee Line number were off in the Emacs report 2009-10-31 04:07:41 -04:00
John Wiegley
4427016b1b Improved arg checking for several valexpr functions 2009-10-31 04:07:33 -04:00
John Wiegley
77c9d7b1ff Add valexpr functions for lot dates, prices and tags 2009-10-31 03:22:38 -04:00
John Wiegley
d5b1ee56e1 Don't output extra commodity "posts"
If a posting has already been registered for a given date with a given
price, don't register it again.
2009-10-31 03:22:31 -04:00
John Wiegley
e182f01de1 Parse \n and such in all strings read with READ_INTO 2009-10-31 03:07:28 -04:00
John Wiegley
b0f12c600c Added a --forecast-years option
This sets how many years of forecasting Ledger will do before it
terminates the attempt.
2009-10-31 03:07:15 -04:00
John Wiegley
451b0e9b76 Allow @ and @@ cost specifiers on the xact command 2009-10-31 02:54:50 -04:00
John Wiegley
a2cb549b1d Merge branch 'next' 2009-10-31 00:55:56 -04:00
John Wiegley
a88a4c55b2 Added a few more missing casts 2009-10-31 00:43:16 -04:00
John Wiegley
36a01d82f9 Changed a data type to be consistent with its usage 2009-10-31 00:25:16 -04:00
John Wiegley
4becc1f938 Added two missing casts 2009-10-31 00:14:17 -04:00
John Wiegley
7a299ec8a6 Increased version number in lisp/ledger.el to 3.0 2009-10-31 00:10:01 -04:00
John Wiegley
435677eea4 Added another FAQ item to README-1ST 2009-10-31 00:10:01 -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
a3799eebdb Moved autoconf-related files into tools
This makes it more certain that people cloning from Git will use acprep.
2009-10-30 18:38:09 -04:00
John Wiegley
007bc843c5 Added a README-1ST file 2009-10-30 18:38:05 -04:00
John Wiegley
37efdfab23 Extended configure.ac to look for boost_serialization 2009-10-30 18:07:02 -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
1b8811f997 Removed erroneous throw specifier from period_xact_t 2009-10-30 18:03:40 -04:00
John Wiegley
3a9b7df4e5 date_interval_t now uses a duration_t object
This is instead of using boost::variant.
2009-10-30 18:03:26 -04:00
John Wiegley
4481396913 Added an assert for op_t::left() 2009-10-30 18:02:10 -04:00
John Wiegley
1dce419ba3 The destructor for expr_t doesn't need to be virtual 2009-10-30 18:01:58 -04:00
John Wiegley
fefedefd56 balance_t does not need to refer to const commodities 2009-10-30 18:01:44 -04:00
John Wiegley
7ca80112fc Change the value_t::POINTER type to value_t::SCOPE
scope_t pointers are the only kind that are ever stored in value
objects, so there was no need to make it generic and use boost::any.
2009-10-30 17:57:29 -04:00
John Wiegley
5f2c766e0d Whitespace fix 2009-10-30 17:55:16 -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
00886a32e7 Look for Boost in /opt/local before /usr/local 2009-10-30 17:50:41 -04:00
John Wiegley
4fec10777b On my system, use _GLIBCXX_FULLY_DYNAMIC_STRING 2009-10-30 17:49:32 -04:00
John Wiegley
924c0a3013 Fixed a comment, and some whitespace 2009-10-30 17:48:31 -04:00
John Wiegley
f3565495b1 Added missing check in item_t::get_actual 2009-10-30 17:48:28 -04:00
John Wiegley
4bc99310f7 Made acprep more verbose, and sensitive to errors 2009-10-30 17:46:09 -04:00
John Wiegley
20a6d51cf1 Renamed bigint_t::refc, for consistency with value_t 2009-10-29 05:37:39 -04:00
John Wiegley
2af8b0555a Removed the "all" phase from acprep 2009-10-29 04:31:32 -04:00
John Wiegley
349fc5d175 Merge branch 'next' 2009-10-29 01:15:39 -04:00
John Wiegley
b8b48abdc0 Change to opt build to resolve warnings 2009-10-29 01:11:42 -04:00
John Wiegley
0b6460d062 Merge branch 'next' 2009-10-29 00:55:01 -04:00
John Wiegley
55f5868380 Setting --date-format in ~/.ledgerrc works again 2009-10-29 00:52:51 -04:00
John Wiegley
2b2ffb7787 If isatty is available, no colors/pager for non-ttys 2009-10-29 00:23:57 -04:00
John Wiegley
2b3f3e9867 Merge branch 'next' 2009-10-28 23:46:14 -04:00
John Wiegley
52433e56e5 Fixed "show" keywords, and added // syntax 2009-10-28 23:44:57 -04:00
John Wiegley
d6d8ed6d99 Fixes to the Python unit tests 2009-10-28 23:09:35 -04:00
John Wiegley
218a333e83 Fixes to the new query expression parser 2009-10-28 23:07:03 -04:00
John Wiegley
9a07652fd8 Disabled some of the expression tests under Python 2009-10-28 22:50:33 -04:00
John Wiegley
47df7dd60e Rewrote the report query parser
It is now a full parser that parses report queries directly into value
expression trees.  These then get rendered into text so that other
options may extend the expression.
2009-10-28 18:40:31 -04:00