summaryrefslogtreecommitdiff
path: root/src/filters.cc
Commit message (Collapse)AuthorAgeFilesLines
* use sha1sum in anonymize_posts::operator()dbear4962024-09-161-14/+2
|
* promote compatability with Boost <1.86.0dbear4962024-09-161-3/+3
|
* update to Boost 1.86.0dbear4962024-09-161-2/+2
| | | | fixes #2378
* Add new --align-intervals option.Ian20202024-08-061-3/+3
|
* include zero-amounts in balance_t::map_sorted_amountsdbear4962023-07-161-0/+1
|
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Fix unrounding for equityOleg Bulatov2022-05-061-0/+2
|
* collapse_posts: Use the existing accounts instead of tempsRahix2020-07-211-3/+3
| | | | | | The temps will not have correct depth information attached which means a display predicate involving `depth` will most likely lead to wrong results.
* collapse_posts: Fix some postings getting lost when collapsingRahix2020-07-211-1/+1
| | | | | | | | | | Because the only_predicate and display_predicate are applied to the original posts, not the collapsed ones, they sometimes yield wrong results leading to entire transactions getting dropped erroneously. As this code is only relevant to depth == 0 collapsing (that is, the old behavior), only follow the displayed_count == 1 code-path when the depth is 0.
* collapse_posts: Fix segfault when depth is too bigRahix2020-07-211-1/+1
| | | | | | | When an account already has less depth than collapse_depth, a segfault was caused by attempting to move up the account parents until parent is NULL. Fix this by exiting early if the depth is already less than collapse_depth.
* collapse_posts: Add a collapse_depth attributeRahix2020-07-211-4/+2
| | | | | Replace the hardcoded depth of 3 with a class attribute that can later be set from a commandline argument.
* first try for implementing --depth for registerjohannes@debussy2020-07-211-7/+26
|
* Fix typos in commentsMartin Michlmayr2020-05-211-1/+1
|
* Specify namespace of uintmax_takater2020-03-031-1/+1
| | | | | | | This fixes #1833 for me. @jwiegley said it's reasonable change, and nobody else took action so here it goes. The patch is the same as proposed originally, modulo whitespace.
* Remove an unneeded commentJohn Wiegley2019-07-051-9/+0
|
* Explicitly sort when creating the equity reportJohn Wiegley2019-03-151-11/+11
|
* budget_posts: Keep pending items until the last day they applysmr8942018-04-041-8/+17
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* Item sorting should have access to the report scopeJohn Wiegley2017-01-041-1/+1
|
* Periods should be initialized from from/since clause rather than earliest ↵Peter Pickford2016-03-091-4/+6
| | | | | | | | | | | | | | | | | | | | | transaction date Bug 1159 Use interval start date (period from/since) to initialize first period. This allows the offset of a period start to be specified -p 'every 12 months from 2000-04-01' will have periods yyyy-04-01 to yyyy-03-31 .... If no from/since is specified for the period the first transaction date reported is used to initialize the period as before. added test case regress/1159.test
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Merge remote-tracking branch 'origin/master' into nextJohn Wiegley2015-08-041-26/+7
|\
| * Revert "--depth for register"John Wiegley2015-08-041-26/+7
| |
* | Whitespace cleanupJohn Wiegley2015-08-041-3/+3
| |
* | Merge remote-tracking branch 'origin/master' into nextJohn Wiegley2015-08-041-7/+26
|\|
| * Merge pull request #216 from johannesgerer/masterJohn Wiegley2015-08-041-7/+26
| |\ | | | | | | --depth for register
| | * first implementation of --depth for registerjohannes@debussy2013-11-051-0/+4
| | |
| | * first implementation of --depth for registerjohannes@debussy2013-11-051-15/+12
| | |
| | * first try for implementing --depth for registerjohannes@debussy2013-11-051-7/+25
| | |
* | | fix build for boost 1.58Johann Klähn2015-07-281-1/+1
| | |
* | | Revert "fix build for boost 1.58"John Wiegley2015-05-171-1/+1
| | | | | | | | | | | | This reverts commit 68c9d649caa2c7c7f222613efe86576c379a5a7a.
* | | fix build for boost 1.58Johann Klähn2015-05-101-1/+1
|/ /
* | Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | | | | | | | 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}/"
* | Fix crash when using -M with empty resultAlexis Hildebrandt2014-12-161-1/+1
| | | | | | | | | | | | | | 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.
* | Replace sha1.cc with boost::uuid::details::sha1David Bremner2014-04-171-7/+7
| | | | | | | | | | | | | | | | 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.
* | Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|/
* Another whitespace fixJohn Wiegley2013-05-191-1/+1
|
* Whitespace fixJohn Wiegley2013-05-191-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Guard against a possible NULLJohn Wiegley2013-01-111-1/+2
|
* fix comment in display_filter_posts::output_rounding(post_t)Christophe Rhodes2012-11-061-3/+5
| | | | | slightly more detail in the case of zero display_amount and --empty not specified.
* Work around collision between Format's put & GraphJohn Wiegley2012-05-201-1/+0
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-5/+5
|
* Allow --invert to work with --monthlyJohn Wiegley2012-04-061-5/+18
| | | | Fixes #770
* Fixed sorting of equity outputJohn Wiegley2012-03-231-16/+40
|
* Fixed an interaction with equity and virtual accountsJohn Wiegley2012-03-221-2/+18
| | | | Fixes #686
* Fix problems with <Adjustment> postingsJohn Wiegley2012-03-201-3/+6
|
* Merge branch 't/A560FDAD' into nextJohn Wiegley2012-03-201-2/+4
|\