Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add new --align-intervals option. | Ian2020 | 2024-08-06 | 1 | -0/+3 |
| | |||||
* | Use #cmakedefine01 for system capability checks | Alexis Hildebrandt | 2023-04-15 | 1 | -1/+1 |
| | | | | and reply #ifdev HAVE_ with #if HAVE_ | ||||
* | Use #pragma once | Alexis Hildebrandt | 2023-04-10 | 1 | -4/+1 |
| | |||||
* | Update copyright year | Alexis Hildebrandt | 2023-02-02 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | If the amount-width has not been set, use the old default of 20 | John Wiegley | 2023-01-27 | 1 | -3/+3 |
| | |||||
* | Use amount_width for balance report | Vladimir Parfinenko | 2023-01-27 | 1 | -3/+3 |
| | |||||
* | Rename quoted_rfc4180 to quoted_rfc, to avoid parser quirk | Donald Lam | 2023-01-25 | 1 | -1/+1 |
| | | | | | | | Ledger's expression parser considers quoted_rfc4180 to be an amount (quantity 4180 of commodity "quoted_rfc"). Fixes #2007. | ||||
* | Update copyright statement for 2022 | Alexis Hildebrandt | 2022-07-02 | 1 | -1/+1 |
| | |||||
* | Change header guard names to use `INCLUDED_` prefix | Phil Newton | 2022-04-06 | 1 | -3/+3 |
| | | | | Fixes #2049 | ||||
* | Revert "Use amount_width for balance report" | John Wiegley | 2022-02-03 | 1 | -3/+3 |
| | | | | This reverts commit 7baa0efd71896711e563feb957926433f529d892. | ||||
* | Use amount_width for balance report | Vladimir Parfinenko | 2022-02-03 | 1 | -3/+3 |
| | |||||
* | Revert "Revert "Revert "Change --invert to invert displayed amounts and ↵ | John Wiegley | 2022-02-03 | 1 | -2/+1 |
| | | | | | | totals, not amounts""" This reverts commit c99a4b03320242d3d5a6d64f73f8581fe5ea2306. | ||||
* | Revert "Revert "Change --invert to invert displayed amounts and totals, not ↵ | John Wiegley | 2022-02-03 | 1 | -1/+2 |
| | | | | | | amounts"" This reverts commit 1600ee1f64f659b151c1c873d478baa1bdab89f2. | ||||
* | Use PAGER when environment variable is set | Martin Michlmayr | 2020-06-18 | 1 | -10/+15 |
| | | | | | | | The code looked for "less" if $PAGER is not set, but it didn't actually use $PAGER when it it defined. Fixes #1674 | ||||
* | Revert "Change --invert to invert displayed amounts and totals, not amounts" | Martin Michlmayr | 2020-05-18 | 1 | -2/+1 |
| | | | | | | This reverts commit 9ad0dcc85a3ec59a1dd23f36964d083cf59bd7a9. Fixes #1895 | ||||
* | Add two (for the moment undocumented) functions: | John Wiegley | 2020-04-23 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | - commodity_price(NAME, DATE) - set_commodity_price(NAME, DATE) Using these two I am able to compute rate of return over a period of transactions, taking additional deposits and withdrawals into account, using the following automated transactions: P 2019-12-31 12:00:00 ROI $1.00 2020-01-01 Start of record (ROI) 0 ROI = expr date >= [2020/01/01] && account =~ /Broker:Cash$/ and any(account =~ /Assets:Checking/) (ROI) (1 ROI * (amount / commodity_price(1 ROI, date))) = expr date >= [2020/01/01] && account =~ /:Capital:/ (ROI) (set_commodity_price(1 ROI, date, ((commodity_price(1 ROI, date) * account("ROI").amount) - amount) / account("ROI").amount) || 0 ROI) | ||||
* | Add --averaged-lot-prices | John Wiegley | 2019-12-06 | 1 | -0/+9 |
| | | | | | This joins together lots of the same underlying, averaging the reported price and using the date of the oldest lot. | ||||
* | Change --invert to invert displayed amounts and totals, not amounts | John Wiegley | 2019-07-05 | 1 | -1/+2 |
| | |||||
* | Add (currently undocumented) function 'clear_commodity' | John Wiegley | 2018-02-16 | 1 | -0/+1 |
| | |||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Use amount_width variable for budget report | Paulo Flabiano Smorigo | 2018-01-03 | 1 | -5/+5 |
| | | | | | Instead of using a "magic" value (12), use the proper variable to set the width. | ||||
* | Be a bit more defensive when calculating the budget | John Wiegley | 2017-12-30 | 1 | -2/+2 |
| | |||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Add new reporting function quoted_rfc4180 | John Wiegley | 2016-11-12 | 1 | -0/+1 |
| | |||||
* | Fix build under Cygwin. | Ivan Vanyushkin | 2016-09-29 | 1 | -1/+1 |
| | |||||
* | Fix build under msys32; add Appveyor continuous build | Evan Mallory | 2016-09-17 | 1 | -1/+2 |
| | | | | | | | | | | | | * Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts * Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers. * Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function. * Add missing include in test/unit/t_value.cc Almost all tests fail when you run them on msys32. I will address that in a future PR. | ||||
* | Make -A to imply -E | John Wiegley | 2016-01-09 | 1 | -0/+1 |
| | |||||
* | [misc] Update year in copyright notice to 2016 | Alexis Hildebrandt | 2016-01-02 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Add a --no-revalued option | John Wiegley | 2015-05-05 | 1 | -0/+4 |
| | |||||
* | Fix alignment of cleared-format with 4 spaces as separator. | thdox | 2015-02-23 | 1 | -1/+1 |
| | |||||
* | Bump copyright notice to 2015 | Alexis Hildebrandt | 2014-12-27 | 1 | -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 rare bug in balance report output if the budgeted amount happens to be zero. | Craig Earls | 2014-08-24 | 1 | -2/+2 |
| | | | | See emails in group from John Rakestraw circa November 2011 | ||||
* | Add the --no-pager option | John Wiegley | 2014-04-27 | 1 | -0/+1 |
| | |||||
* | Bump copyright information to 2014 | Alexis Hildebrandt | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Commodity column in default CSV format should match the displayed amount | Steve Purcell | 2014-01-06 | 1 | -1/+1 |
| | | | | | | | | If one uses --exchange to force CSV display amounts into a particular currency, then the commodity output column should match that currency. Without this patch, the commodity column contains the original commodity, not the commodity for the exported amount. | ||||
* | Bump copyright information to 2013 | John Wiegley | 2013-02-18 | 1 | -1/+1 |
| | |||||
* | Bug 634 Added roundto function, optimized floor and ceiling | Craig Earls | 2013-01-30 | 1 | -0/+1 |
| | | | | Fixes Bug634 by adding roundto(amount, places). | ||||
* | Addes tags command and --values option | Craig Earls | 2013-01-29 | 1 | -0/+2 |
| | | | | | Tags command reports all metadat tags in use. With the values option it reports tags and their values. | ||||
* | Bug 634 and 488, Corrected behavior of floor, and added ceiling | Craig Earls | 2012-10-25 | 1 | -0/+1 |
| | | | | This is only a partial fix for 634, since rounding is not fixed. | ||||
* | Fix compilation warning: be sure we call the base class copy constructor. | Hyrum Wright | 2012-08-14 | 1 | -1/+1 |
| | |||||
* | Converted the Ledger build system to use CMake | John Wiegley | 2012-05-20 | 1 | -2/+2 |
| | |||||
* | Switch to using Boost.Format | John Wiegley | 2012-05-14 | 1 | -6/+6 |
| | |||||
* | Added a * for cleared entries in the time report | John Wiegley | 2012-05-10 | 1 | -4/+7 |
| | |||||
* | Allow --invert to work with --monthly | John Wiegley | 2012-04-06 | 1 | -1/+1 |
| | | | | Fixes #770 | ||||
* | Added --verify-memory and missing TRACE_[CD]TOR calls | John Wiegley | 2012-03-18 | 1 | -2/+21 |
| | |||||
* | Always close the last report output stream | John Wiegley | 2012-03-16 | 1 | -0/+4 |
| | | | | Should fix #701 | ||||
* | Change abbrev_len to int(abbrev_len) | John Wiegley | 2012-03-13 | 1 | -3/+2 |
| | |||||
* | Added --time-report option | John Wiegley | 2012-03-13 | 1 | -0/+20 |
| | | | | | | | | | | | | | This is a rather basic option at the moment which only affects the balance report. I use it as follows, for entering contractor hours into a project planning application, where $1 is the contractor's timelog file, and $2 is the date after which new entries appear in the file: ledger -f $1 balance \ --account=payee \ --time-report \ -d "latest > [$2]" \ --datetime-format='%m/%d/%y %I:%M %p' | ||||
* | Added format_datetime valexpr function | John Wiegley | 2012-03-13 | 1 | -0/+1 |
| | |||||
* | Added --immediate option | John Wiegley | 2012-03-10 | 1 | -0/+2 |
| |