Commit graph

188 commits

Author SHA1 Message Date
Alexis Hildebrandt
1dd9dcaab4 Bump copyright notice to 2015
The following script makes it a no-brainer:
% NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \
  | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
2014-12-27 11:24:55 +01:00
Alexis Hildebrandt
0a0f2f0d69 Fix crash when using -M with empty result
ledger -f /dev/null reg -M test causes a segmentation fault,
see bug 730 and duplicates 1080 and 1084 for details.

Kudos to Ikke for helping with debugging.
2014-12-16 19:37:37 +01:00
David Bremner
0ef8256409 Replace sha1.cc with boost::uuid::details::sha1
sha1.cc is not redistributable by Debian because the license doesn't
permit redistribution of modified versions.

This isn't ideal since the ::details namespace is subject to change,
but it avoids adding a dependency to ledger.
2014-04-17 14:27:21 -05:00
Alexis Hildebrandt
2b9208e850 Bump copyright information to 2014 2014-02-02 12:36:22 +01:00
John Wiegley
3656e692ff Another whitespace fix 2013-05-19 02:51:29 -05:00
John Wiegley
62c2ab968c Whitespace fix 2013-05-19 02:41:38 -05:00
John Wiegley
0951bcebef Bump copyright information to 2013 2013-02-18 06:51:21 -06:00
John Wiegley
82ac7ef313 Guard against a possible NULL 2013-01-11 00:10:30 -06:00
Christophe Rhodes
8214a69e20 fix comment in display_filter_posts::output_rounding(post_t)
slightly more detail in the case of zero display_amount and --empty
not specified.
2012-11-06 12:31:01 +00: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
ad7ace902c Allow --invert to work with --monthly
Fixes #770
2012-04-06 01:32:38 -05:00
John Wiegley
4b05759962 Fixed sorting of equity output 2012-03-23 16:46:11 -05:00
John Wiegley
5addacfbf2 Fixed an interaction with equity and virtual accounts
Fixes #686
2012-03-22 23:42:18 -05:00
John Wiegley
e3248ee5a6 Fix problems with <Adjustment> postings 2012-03-20 04:56:03 -05:00
John Wiegley
446beee376 Merge branch 't/A560FDAD' into next 2012-03-20 03:16:13 -05:00
John Wiegley
f76d458ab7 Strip annotations in display_filter_posts
Fixes #718
2012-03-20 03:15:42 -05:00
John Wiegley
22505d9527 Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
John Wiegley
ceb8dd89a6 Don't output zero balances with the equity command 2012-03-19 04:21:15 -05:00
John Wiegley
d2422f99e6 Allow the equity command to strip annotations 2012-03-19 04:18:56 -05:00
John Wiegley
20edb3a340 Fixed bug relating to historical pricing
Fixes #681
2012-03-18 02:33:25 -05:00
John Wiegley
09cf0cbb2a Change some #if guards to test for gcc 4.7 2012-03-17 23:14:17 -05:00
John Wiegley
610a3e1709 Don't map_prices if price commodity matches source
Fixes #680
2012-03-15 04:58:53 -05:00
John Wiegley
f35f68823a The anonymizer wasn't properly setting the journal 2012-03-13 00:04:44 -05:00
John Wiegley
7bb83173da Added some missing DEBUG #if's 2012-03-07 08:34:15 -06:00
John Wiegley
71d0033b6f Corrected several compile and link problems 2012-03-06 23:04:27 -06:00
John Wiegley
3ea5d88eb3 The last test is closer to working now 2012-03-05 05:03:52 -06:00
John Wiegley
8d6bf11334 All tests are working again but one 2012-03-05 05:03:52 -06:00
John Wiegley
48ab6ad1db Switched to using Boost.Graph for commodity pricing 2012-03-05 05:03:52 -06:00
John Wiegley
e2afc783db Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
John Wiegley
6adfcc8469 Rewrite the way interval reports are generated 2012-02-28 02:34:37 -06:00
John Wiegley
887f429ae4 Added debug code for debugging interval reports 2012-02-28 01:37:29 -06:00
John Wiegley
fc62402c60 Fixed nasty problem related to interval reporting 2012-02-28 00:08:39 -06:00
John Wiegley
c3a9a7d2c5 Fixed many Clang type conversion warnings with static_cast 2012-02-17 15:17:52 -06:00
John Wiegley
a19b541dd9 Removed unneeded default cases 2012-02-17 15:15:32 -06:00
John Wiegley
3fd0c4229c Fixes for variable shadowing (14/28) 2012-02-17 15:06:12 -06:00
John Wiegley
f0791bbd72 Cleanup whitespace 2011-08-18 14:48:38 -04:00
John Wiegley
add6f6ca2a Removed unused variables 2011-08-18 14:46:36 -04:00
John Wiegley
cf35984971 Use Boost iterator_facade to create new iterators 2011-07-19 23:29:41 -05:00
John Wiegley
d0dfff62a6 Changed how some of the filters are constructed 2011-07-17 16:25:05 -05:00
John Wiegley
d36606582f Whitespace fix 2011-07-02 17:51:35 -05:00
John Wiegley
96dc3dcf9e Simplified some code 2011-06-30 09:26:14 -05:00
John Wiegley
77e6694de5 Corrected a debug string 2011-06-30 09:26:03 -05:00
John Wiegley
a5f2c25f47 Whitespace fix 2011-06-30 09:25:58 -05:00
John Wiegley
21a123e525 Corrected a lingering reference to a temporary
Fixes: CEE57FBC-DF19-40DD-901D-68B1AEC29888
2011-02-10 23:00:18 -05:00
John Wiegley
7b6cc4c365 Output budget even if no postings directly matched 2010-06-20 20:55:24 -04:00
John Wiegley
c5714a81e3 Factored out some unused local variables 2010-06-20 20:29:56 -04:00
John Wiegley
3a5653e365 Rename dow_posts to day_of_week_posts, to be clearer 2010-06-20 20:29:56 -04:00
John Wiegley
b95818026f When anonymizing posts, remove the transaction code 2010-06-20 17:13:59 -04:00
John Wiegley
135d997293 If a periodic posting terminates, stop forecasting with it 2010-06-20 17:08:27 -04:00