Commit graph

1858 commits

Author SHA1 Message Date
John Wiegley
ae5325f0a9 Guard against global_scope being NULL 2012-10-31 14:57:19 -05:00
John Wiegley
ab5dd39be4 Merge pull request #97 from enderw88/Bug726-727-draft-and-lisp-command
Added "draft" and "lisp" command synonyms
2012-10-31 12:03:22 -07:00
John Wiegley
3b9b2cf908 Corrected a typo 2012-10-31 00:14:47 -05:00
Craig Earls
5c5c6463c7 Added missing break; statement in report.cc 2012-10-26 15:46:10 -07:00
Craig Earls
10180f0fff Added "draft" and "lisp" command synonyms 2012-10-26 13:33:27 -07:00
John Wiegley
7cee6c559b Merge pull request #96 from enderw88/Bug634-floor-ceil-round
Bug 634 and 488, Corrected behavior of floor, and added ceiling
2012-10-26 08:31:57 -07:00
Craig Earls
b044a74bd3 Bug 634 and 488, Corrected behavior of floor, and added ceiling
This is only a partial fix for 634, since rounding is not fixed.
2012-10-25 22:28:26 -07:00
John Wiegley
34ca6b3991 Merge pull request #95 from enderw88/Bug695-init-file
Bug695 init file
2012-10-25 12:52:03 -07:00
Craig Earls
4b261f99bc Fixes Bug 695, ledger ignores --init-file
Handle --init-file as a special command option like the debug options.
That wway we can have the argument captured before teh global scope is
created.
2012-10-25 10:39:48 -07:00
Craig Earls
41cc9a7f3c Added filebase and filepath values
'filename' returns the complete path/filename of the file containg the current xact.
This is inconvenient for some displays.  filebase returns only the base name. For
completeness added filepath as well.
2012-10-23 14:10:19 -07:00
Craig Earls
14dcb27777 Implemented Bug551 Automatic Transactions are cleared base on parent 2012-10-23 13:07:39 -07: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
Johann Klähn
49b02614a3 fix account mapping in csv conversion
By using payees_for_unknown_accounts instead of account_mappings in
csv.cc ledger will have the same behaviour as in `ledger -f - print`
in that it uses payee fields in account directives to rewrite the
account.
2012-10-18 13:45:40 -07:00
Johann Klähn
937c9c7bd1 ignore extra fields when converting csv files
This fixes bug #736.
2012-10-13 20:04:10 +02:00
Johann Klähn
1f2fe401f1 ignore (some) empty field when converting csv
This fixes bug #733 and bug #734.
2012-10-13 19:39:10 +02:00
Hyrum Wright
73aa585efa Fix compilation warning: ensure a destructor is properly defined to avoid
compiler confusion.
2012-08-14 01:23:32 -04:00
Hyrum Wright
6ccb5e9687 Fix compilation warning: be sure we call the base class copy constructor. 2012-08-14 01:23:04 -04:00
John Wiegley
97693b43b5 Resolve account.date to latest post in the account 2012-08-09 16:56:53 -05:00
John Wiegley
afc023406a Always store absolute paths internally 2012-08-02 16:13:58 -05:00
John Wiegley
2de6af2761 Don't use __has_feature in utils.cc 2012-08-02 13:11:24 -05:00
John Wiegley
8538878d8d Guard some function definitions for ASan 2012-07-30 23:24:15 -05:00
John Wiegley
8869566331 Fixed a subtle memory overwrite
Fixes #608
2012-06-27 16:55:46 -05:00
John Wiegley
ff589a1656 Also using Clang's PCH with my "cxx" compiler 2012-05-27 03:02:42 -05:00
John Wiegley
d1444f4c97 Fixed a reference to HAVE_EDIT 2012-05-20 18:17:12 -05:00
John Wiegley
05d1704eb8 Removed an unnecessary #define 2012-05-20 16:06:43 -05:00
John Wiegley
54649d1b7a Make profiling builds work with Clang 2012-05-20 16:06:32 -05:00
John Wiegley
a916ed87bc Guard against an incorrect use of assert() 2012-05-20 15:31:49 -05:00
John Wiegley
2345f48094 Changed all ASSERTS_ON -> !NO_ASSERTS 2012-05-20 15:25:10 -05:00
John Wiegley
1b1c7cd4ac A few more CMake-related fixes 2012-05-20 15:23:52 -05:00
John Wiegley
f579e6ddac Work around inclusion ordering bug with Xpressive 2012-05-20 15:15:54 -05:00
John Wiegley
a9bdcc3301 Work around collision between Format's put & Graph 2012-05-20 15:03:22 -05:00
John Wiegley
4681e58d7f Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
John Wiegley
303976e563 Fixed a variable name shadowing 2012-05-18 01:47:04 -06:00
John Wiegley
7e8ba51cd0 Added a "json" report command 2012-05-18 01:38:39 -06:00
John Wiegley
a38ed141c1 Switched to Boost.PropertyTree for XML generation 2012-05-18 01:31:01 -06:00
John Wiegley
f4f3058b8c Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
John Wiegley
9617266905 Improved detection of iostream's eof() condition 2012-05-14 21:41:38 -06:00
John Wiegley
32eaa03469 Fixed a hidden memory corruption bug 2012-05-14 21:41:38 -06:00
John Wiegley
1cc618a956 Added a * for cleared entries in the time report 2012-05-10 04:03:32 -05:00
John Wiegley
2bc14c3919 Merge branch 't/checkout_cleared' into next 2012-05-10 04:01:16 -05:00
John Wiegley
e5c4c20cbb Made some code in option.h a bit safer 2012-05-07 01:54:20 -05:00
John Wiegley
c0fa144ca5 Added "last_checkout_cleared" valexpr variable 2012-05-07 01:53:53 -05:00
John Wiegley
95c44609a4 Made some of the value term parsing code more resilient 2012-04-28 05:24:29 -05:00
John Wiegley
7b406922e9 Silenced a warning in the very latest Clang 2012-04-28 05:24:07 -05:00
John Wiegley
08a7f5ae07 Changed a const string map key to string 2012-04-28 05:23:49 -05:00
John Wiegley
c8f58ea686 Added support for building with Clang and libc++ in C++11 2012-04-28 05:23:36 -05:00
John Wiegley
548af968f6 #if 0'd out some unused code 2012-04-25 03:09:56 -05:00
John Wiegley
ee641f353c Resolve some issues with proof builds 2012-04-15 01:17:01 -05:00
John Wiegley
1e572d508d Add 'data' member to account/journal objects 2012-04-13 15:16:27 -05:00
John Wiegley
6a5360e2b5 Make --detail a synonym for --rich-data 2012-04-13 15:16:24 -05:00