Commit graph

869 commits

Author SHA1 Message Date
John Wiegley
e663a13502 Changed protection level of many parts of commodity_t 2009-11-02 17:05:51 -05:00
John Wiegley
dea9530cb7 Renamed Python global "session" to "current_session" 2009-11-02 17:04:49 -05:00
John Wiegley
cec0f5ec49 Moved make_qualified_name into commodity_pool_t 2009-11-02 16:58:10 -05:00
John Wiegley
3f8c126c79 Use is_annotated() method rather than "annotated" 2009-11-02 16:57:53 -05:00
John Wiegley
ede73e8889 Corrected an incorrect call to remove_account 2009-11-02 16:00:32 -05:00
John Wiegley
c03fd75d09 Completed Python bindings for balance_t 2009-11-02 04:41:14 -05:00
John Wiegley
4e78dcff3f Fixes to the Python bindings for amount_t 2009-11-02 04:41:07 -05:00
John Wiegley
f9b833b685 Corrected balance_t's arithmetic interface 2009-11-02 04:40:51 -05:00
John Wiegley
60d016a21c Fleshed out the Python bindings for amount_t 2009-11-02 03:50:26 -05:00
John Wiegley
1d1b9465e4 Wire up the --european option 2009-11-02 03:44:32 -05:00
John Wiegley
a8db7bd303 Set default LESS options to -FRSX 2009-11-02 02:55:22 -05:00
John Wiegley
094794c640 Added a --european flag, to use commas for decimals
Ledger can often figure this out for itself, but this flag just makes it
the default behavior.  It is meant to be added to one's ~/.ledgerrc
file.
2009-11-02 02:39:31 -05:00
John Wiegley
4a249d6172 Fixed issues with period strings like "2009/10" 2009-11-02 01:59:24 -05:00
John Wiegley
3a0879aff0 Added "reported posts" into account xdata
This is necessary because sometimes, a post from one account will get
reported as though it were in another account (this happens with
--budget, to show child account postings within their parent account).
In that case, the account needs to remember which postings have been
reported as being within it, so that it can add these amounts to its own
total in the balance report.
2009-11-02 01:40:07 -05:00
John Wiegley
aef7510f19 Renamed two debug categories 2009-11-02 01:21:35 -05:00
John Wiegley
c0fe2b5300 Fixed a bug with budgeting
It only occurred if you asked for a budget report on the day that a
budgeting period started.
2009-11-02 01:21:28 -05:00
John Wiegley
1b7640dbb0 Don't delete acct_temps if it was never set 2009-11-02 00:32:18 -05:00
John Wiegley
6538a2d1b8 Extended xact example used by some pre-commands 2009-11-01 21:17:53 -05:00
John Wiegley
39973b1277 A posting's note includes its parent xact's note 2009-11-01 21:17:31 -05:00
John Wiegley
a0a91a61c4 If an item doesn't have a given tag, return "" 2009-11-01 21:16:47 -05:00
John Wiegley
1482298e41 Implemented "meta" query report operator 2009-11-01 21:16:31 -05:00
John Wiegley
0849bf24b1 Fixed a typo in the processing of "note" query term 2009-11-01 21:16:09 -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
449c7ca790 New: --set-reported-account, --set-reported-payee 2009-11-01 21:15:11 -05:00
John Wiegley
52d1441646 Fixed copy constructors for transactions 2009-11-01 21:14:34 -05:00
John Wiegley
caff01ba75 Whitespace fixes 2009-11-01 21:14:18 -05:00
John Wiegley
6b6ca6d4c7 Improved the way account temporaries are managed 2009-11-01 21:14:05 -05:00
John Wiegley
48f024a42a Increased size of buffer used to split account names 2009-11-01 21:12:57 -05:00
John Wiegley
5ef50f8877 Removed excessive validity check from xact_t::valid 2009-11-01 06:48:49 -05:00
John Wiegley
977e7db164 Improved archive header logic for cache files 2009-11-01 06:01:21 -05:00
John Wiegley
de3893a08a Added missing TRACE_CTOR calls 2009-11-01 06:01:11 -05:00
John Wiegley
c5c2027624 Fix to xact_t::valid() 2009-11-01 04:25:23 -05:00
John Wiegley
ead642c7fa Commented out dependency on session_t (for now) 2009-10-31 17:54:40 -04:00
John Wiegley
3adfaf0eaa Removed unnecessary forward declaration 2009-10-31 17:54:30 -04:00
John Wiegley
e0b5605dcc Fixed an unused variable warning 2009-10-31 05:19:19 -04:00
John Wiegley
3909d2678e Removed most #if 0 blocks and callout comments 2009-10-31 04:50:07 -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
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
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