Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | print: Align amounts even when account names are long | Gwyneth Morgan | 2024-07-10 | 1 | -30/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the account name is longer than the --account-width (default 36), the amounts stop aligning: 2023/01/01 Transaction with long account names Assets:Very:Long:Account:Name:That:Will:Push:The:Amount -10 ABC Assets:Another:Long:Account:Name:That:Will:Push:The:Amount -10 ABC Expenses:Short 20 ABC One can set a larger --account-width, but that is not a great solution for cases where you have only a few accounts with problematically long names. Instead, keep the current account width wherever possible, but when an account name is longer than the account width, account for that and still align the values: 2023/01/01 Transaction with short account names Assets:Short -10 ABC Assets:Short -10 ABC Expenses:Short 20 ABC 2023/01/01 Transaction with long account names Assets:Very:Long:Account:Name:That:Will:Push:The:Amount -10 ABC Assets:Another:Long:Account:Name:That:Will:Push:The:Amount -10 ABC Expenses:Short 20 ABC This is similar to hledger's behavior. | ||||
* | Update copyright year | Alexis Hildebrandt | 2023-02-02 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Update copyright statement for 2022 | Alexis Hildebrandt | 2022-07-02 | 1 | -1/+1 |
| | |||||
* | Fix garbled dates when using --date-format | Tommi Komulainen | 2018-06-13 | 1 | -1/+3 |
| | | | | | | | | Capture the `std::string` value from options in a local variable that lives as long as the `c_str()` taken from it to ensure it does not get freed prematurely. Fixes: #546 | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2016 | Alexis Hildebrandt | 2016-01-02 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | 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}/" | ||||
* | Preserve the given cost for print | Martin Michlmayr | 2014-07-14 | 1 | -3/+3 |
| | | | | Patch from John Wiegley | ||||
* | Handle POST_COST_VIRTUAL in print | Martin Michlmayr | 2014-05-30 | 1 | -2/+10 |
| | | | | Bug fix for #1046 | ||||
* | Bump copyright information to 2014 | Alexis Hildebrandt | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Resolve new compiler warnings from Clang | John Wiegley | 2013-05-19 | 1 | -1/+1 |
| | |||||
* | Bump copyright information to 2013 | John Wiegley | 2013-02-18 | 1 | -1/+1 |
| | |||||
* | right-justify amount_expr text in print report where possible | Christophe Rhodes | 2012-11-06 | 1 | -6/+7 |
| | |||||
* | print computed annotations if --generated | John Wiegley | 2012-03-19 | 1 | -1/+2 |
| | |||||
* | Reworked the way that options are handled | John Wiegley | 2012-03-09 | 1 | -8/+9 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Renamed actual/effective dates to primary/auxiliary | John Wiegley | 2012-02-28 | 1 | -4/+4 |
| | |||||
* | Correctly elide amount sometimes in "print" | John Wiegley | 2012-02-27 | 1 | -12/+42 |
| | |||||
* | Added TODO comment | John Wiegley | 2012-02-27 | 1 | -0/+2 |
| | |||||
* | Stubbed out some code-in-progress | John Wiegley | 2012-02-27 | 1 | -0/+2 |
| | |||||
* | Revert behavior of 40ab81308025e9655074da37671c444b4257f867 | John Wiegley | 2012-02-26 | 1 | -3/+6 |
| | |||||
* | Keep notes on their own line if parsed that way | John Wiegley | 2012-02-26 | 1 | -5/+10 |
| | |||||
* | Don't print amounts when not necessary in 'print' | John Wiegley | 2012-02-26 | 1 | -10/+20 |
| | |||||
* | Fixed many Clang type conversion warnings with static_cast | John Wiegley | 2012-02-17 | 1 | -8/+12 |
| | |||||
* | Fixes for variable shadowing (22/28) | John Wiegley | 2012-02-17 | 1 | -9/+9 |
| | |||||
* | Corrected printing of assigned amounts | John Wiegley | 2010-06-18 | 1 | -1/+1 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -91/+91 |
| | |||||
* | Fixed the "generate" command | John Wiegley | 2010-06-10 | 1 | -4/+4 |
| | |||||
* | Fixed the way prices and costs are print'd | John Wiegley | 2010-06-07 | 1 | -7/+9 |
| | |||||
* | amount_t::print and value_t::print now use flags | John Wiegley | 2010-06-07 | 1 | -3/+4 |
| | |||||
* | Make --anon work with the print command | John Wiegley | 2010-06-05 | 1 | -0/+1 |
| | | | | Fixes #226 / C1C1E731-D991-40ED-BE43-8ED55585386C | ||||
* | Inlined the print_xacts constructor | John Wiegley | 2010-06-02 | 1 | -7/+0 |
| | |||||
* | New: --group-by=EXPR and --group-title-format=FMT | John Wiegley | 2010-05-30 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | The --group-by option allows for most reports to be split up into sections based on the varying value of EXPR. For example, to see register subtotals by payee, use: ledger reg --group-by=payee -s This works for separated balances too: ledger bal --group-by=payee Another interesting possibility is seeing a register of all the accounts affected by a related account: ledger reg -r --group-by=payee The option --group-title-format can be used to add a separator bar to the group titles. The option --no-titles can be used to drop titles altogether. | ||||
* | print honors --columns, --account,amount-width | John Wiegley | 2010-05-22 | 1 | -22/+59 |
| | |||||
* | The print command now honors use of --date-format | John Wiegley | 2010-05-22 | 1 | -3/+10 |
| | |||||
* | print command correctly prints amount expressions | John Wiegley | 2010-05-07 | 1 | -3/+9 |
| | |||||
* | Improved the new implementation of "print" | John Wiegley | 2010-03-17 | 1 | -4/+4 |
| | |||||
* | Rewrite the "print" command as a custom function | John Wiegley | 2010-03-08 | 1 | -0/+208 |
There ended up being too many corner cases for the generalized formatter to handle. |