Commit graph

205 commits

Author SHA1 Message Date
John Wiegley
0951bcebef Bump copyright information to 2013 2013-02-18 06:51:21 -06:00
John Wiegley
2b245f823b Added missing call to timelog.close() 2013-01-30 17:00:07 -06:00
John Wiegley
63712728e1 Properly handle metadata tags on auto-postings 2012-11-12 02:30:04 -06:00
John Wiegley
3b9b2cf908 Corrected a typo 2012-10-31 00:14:47 -05:00
Johann Klähn
e824070b4a fix bucket directive (bug 765)
This was caused by both 'A' and 'bucket' using
default_account_directive. This function was still stripping the 'A'
directive, so the first character of the account name used with 'bucket'
was cut off. Maybe the code for the other directives should be changed
accordingly for consistency (put line + 1 in call instead of function).
2012-10-23 12:13:22 +02:00
John Wiegley
afc023406a Always store absolute paths internally 2012-08-02 16:13:58 -05:00
John Wiegley
4681e58d7f Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
John Wiegley
f4f3058b8c Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
John Wiegley
c0fa144ca5 Added "last_checkout_cleared" valexpr variable 2012-05-07 01:53:53 -05:00
John Wiegley
fcabd64a89 Whitespace fix 2012-04-04 02:26:34 -05:00
John Wiegley
bc31e4838b Fixed #711: Parsing of alias directive 2012-03-17 07:02:03 -05:00
John Wiegley
22c1b867f0 Added option --day-break 2012-03-17 05:27:43 -05:00
John Wiegley
20c076dff9 Improved error reports about leading whitespace 2012-03-16 03:50:40 -05:00
John Wiegley
11067d9cc6 Unexpected initial whitespace is an error (again)
Fixes #565
2012-03-16 02:39:42 -05:00
John Wiegley
be289fba1f Fixed a few bugs related to apply directives 2012-03-12 22:38:36 -05:00
John Wiegley
ed42a7ebfe Allow payee names to contain multiple spaces 2012-03-12 05:48:10 -05:00
John Wiegley
fb2e80406f Ignore all trailing whitespace in Ledger journals 2012-03-12 05:48:10 -05:00
John Wiegley
c9f7195936 Added the notion of "virtual costs" 2012-03-09 01:28:20 -06:00
John Wiegley
7bb83173da Added some missing DEBUG #if's 2012-03-07 08:34:15 -06:00
John Wiegley
76f97a63da Added parsing support for the many value directives 2012-03-07 05:20:42 -06:00
John Wiegley
3ae4a38e4d Fixed parsing of "deferred notes" in auto xacts 2012-03-07 05:19:21 -06:00
John Wiegley
9ea5b60899 Whitespace fixes 2012-03-07 00:32:56 -06:00
John Wiegley
71d0033b6f Corrected several compile and link problems 2012-03-06 23:04:27 -06:00
John Wiegley
97d68ebc8c Added "value" sub-directive for commodity directive 2012-03-06 03:24:06 -06:00
John Wiegley
59a16e59ee Simplified Python import in a journal file 2012-03-05 21:48:45 -06:00
John Wiegley
97dbf379d5 Rewrote the way annotated commodities are managed
The new scheme should be much more efficient, and allows for future
growth of what annotations may appear on a commodity.
2012-03-05 17:50:17 -06:00
John Wiegley
b6adc8f460 Use unique_ptr instead of std::auto_ptr 2012-03-05 17:46:42 -06:00
John Wiegley
ddba59b703 This now works: ledger --import os eval 'os.path.isdir("/tmp")' 2012-03-02 01:36:58 -06:00
John Wiegley
a125f24d29 Allow --options to be added by the user in Python 2012-03-01 23:40:02 -06:00
John Wiegley
7a141edb49 Propagate out parsing context counts 2012-03-01 22:09:17 -06:00
John Wiegley
0e81c60d70 Fixed a typo 2012-03-01 21:33:27 -06:00
John Wiegley
a3a877284a Was missing an assignment of context.scope 2012-03-01 21:18:49 -06:00
John Wiegley
f6c087cfe4 Added a new 'python' directive 2012-03-01 17:32:51 -06:00
John Wiegley
ff89cb9c4d Fixed a bug that was causing includes to crash
Fixes #661
2012-03-01 16:22:08 -06:00
John Wiegley
9ec9cdf41e Started writing Python unit tests 2012-03-01 05:50:07 -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
8021955292 Removed incorrect session.h include in textual.cc 2012-02-29 22:12:24 -06:00
John Wiegley
656e46e182 Renamed actual/effective dates to primary/auxiliary 2012-02-28 03:02:16 -06:00
John Wiegley
7a55c7ffc1 Allow xact notes on periodic transactions
Fixes #448
2012-02-28 02:47:22 -06:00
John Wiegley
6d04f60573 Fixed display problem in an error message 2012-02-28 00:08:21 -06:00
John Wiegley
07137cc042 'end apply' doesn't need a qualifier 2012-02-27 12:39:12 -06:00
John Wiegley
440371d296 Added a TODO comment 2012-02-27 12:39:00 -06:00
John Wiegley
268127cf11 Added 'note' sub-directive to 'commodity' 2012-02-27 12:38:51 -06:00
John Wiegley
bee748cc93 Added a TODO comment 2012-02-27 12:38:39 -06:00
John Wiegley
2ec35ea6e9 Implement the "tag" metadata directive 2012-02-27 05:02:25 -06:00
John Wiegley
0e7b4fb182 Implemented account and commodity directives 2012-02-27 04:58:38 -06:00
John Wiegley
1d89093059 Output some line numbers with warnings 2012-02-27 04:10:16 -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