Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix auto xact posts not getting applied to account total durring journal parse | DJ Edmonson | 2018-03-23 | 1 | -3/+6 |
| | |||||
* | Add (currently undocumented) function 'clear_commodity' | John Wiegley | 2018-02-16 | 2 | -0/+10 |
| | |||||
* | Merge pull request #519 from mbudde/accounts-prepend-format | John Wiegley | 2018-01-27 | 1 | -0/+15 |
|\ | | | | | Add support for --prepend-format in accounts command | ||||
| * | Add support for --prepend-format in accounts command | Michael Budde | 2018-01-25 | 1 | -0/+15 |
| | | | | | | | | | | Add support for the `--prepend-format` and `--prepend-width` options in the `accounts` command. | ||||
* | | Merge pull request #521 from mbudde/fix-trim | Alexis Hildebrandt | 2018-01-27 | 1 | -7/+4 |
|\ \ | | | | | | | Fix handling of edge cases in trim function | ||||
| * | | Fix handling of edge cases in trim function | Michael Budde | 2018-01-25 | 1 | -7/+4 |
| |/ | | | | | | | Fixes #520 | ||||
* / | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 126 | -127/+127 |
|/ | | | | [ci skip] | ||||
* | journal: Expose register_account to Python | Kyle Fuller | 2018-01-23 | 1 | -0/+9 |
| | |||||
* | Transfer null_post flags to generated postings | Aaron Lindsay | 2018-01-09 | 1 | -1/+1 |
| | | | Resolve issue where generated balanced postings would become real when the original null post was virtual. | ||||
* | Fix segfault when using --market with --group-by | Michael Budde | 2018-01-04 | 1 | -4/+4 |
| | | | | | | | | | | | `changed_value_posts::create_accounts()` reuses the `<Revalued>` account from `display_filter`, but when clearing `changed_value_posts` `create_accounts()` would be called before the account had been recreated by `display_filter_posts`. This results in a segfault when using the --group-by option. I'm not sure if `display_filter_posts` has the same problem but I reordered the calls there too for good measure. | ||||
* | 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. | ||||
* | The "format" directive for commodities now disables "style observation" | John Wiegley | 2018-01-01 | 3 | -1/+5 |
| | |||||
* | Initialize field in constructor | Michael Budde | 2018-01-01 | 1 | -2/+5 |
| | | | | | Should fix problem with garbage being read from this field causing some test failures on my machine. | ||||
* | Be a bit more defensive when calculating the budget | John Wiegley | 2017-12-30 | 1 | -2/+2 |
| | |||||
* | don't add paths to files, if there is already a path that points to the same ↵ | Johannes Loher | 2017-12-29 | 1 | -1/+11 |
| | | | | file | ||||
* | Use an std::set instead of an std::list to store the the journal file paths | Johannes Loher | 2017-12-29 | 2 | -4/+4 |
| | |||||
* | Expose journal expand_aliases to Python | Kyle Fuller | 2017-12-24 | 1 | -0/+4 |
| | |||||
* | account to return the depth of its last displayed parent | Jakob Demler | 2017-11-02 | 1 | -0/+16 |
| | |||||
* | Strip annotation before adding exchange value | Ismaël Bouya | 2017-10-30 | 1 | -0/+3 |
| | |||||
* | Merge pull request #494 from jjlee/fix-total | John Wiegley | 2017-10-26 | 1 | -0/+13 |
|\ | | | | | Fix bug where .total used in value exprs breaks totals | ||||
| * | Fix bug where .total used in value exprs breaks totals | John Lee | 2017-10-26 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Re-initialize (to VOID) totals for the account and its ancestors on adding postings. Otherwise the cache intended for use by recursive calls of C++ function total() in computing family (i.e. account hierarchy) totals is incorrectly retained from one top-level call to the next, causing inconsistent and broken behaviour. * Re-initialize (to false) calculated and gathered. Otherwise we won't e.g. recalculate stale totals for ancestor accounts (e.g. won't recalculate Assets:Savings total if Assets:Savings changes via a posting). Although the value expression total function is used by ledger itself in computing totals, this bug would only appear on use of .total in user-supplied value expressions computed *during parsing* of ledger files, rather than after parsing (I believe ledger only ever calls it for internal purposes after parsing is complete). It is possible this bug also affected other functions than total (perhaps even in circumstances other than analagous to that described in the preceding paragraph). I have not checked that. | ||||
* | | Merge pull request #484 from mk12/bug-1182-ptr | John Wiegley | 2017-10-26 | 1 | -0/+3 |
|\ \ | | | | | | | Fix Bug 1182: Error message for parse failure after '=' | ||||
| * | | Print error message if parsing predicate after '=' | Mitchell Kember | 2016-12-20 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #482 from AndrewSav/next | John Wiegley | 2017-10-26 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | Fix MSVC build | ||||
| * | | | Fix MSVC build | Andrew Savinykh | 2016-11-17 | 1 | -0/+2 |
| |/ / | |||||
* | | | Merge pull request #490 from sunny256/fix-braces-warning | John Wiegley | 2017-10-26 | 1 | -12/+13 |
|\ \ \ | | | | | | | | | Remove compiler warning about missing braces | ||||
| * | | | Remove compiler warning about missing braces | Øyvind A. Holm | 2017-04-17 | 1 | -12/+13 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | Remove the following warning from gcc 5.4.0: "[...]/src/output.cc:335:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]". Instead of adding braces around the whole function body, return early if item.metadata is 0. | ||||
* / | | src/global.cc: do not parse user-specified init-file twice | Ivy Foster | 2017-10-26 | 1 | -3/+1 |
|/ / | |||||
* | | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 126 | -127/+127 |
| | | | | | | | | [ci skip] | ||||
* | | Item sorting should have access to the report scope | John Wiegley | 2017-01-04 | 9 | -37/+69 |
|/ | |||||
* | Further simplifications src/CMakeLists.txt | John Wiegley | 2016-11-13 | 1 | -5/+3 |
| | |||||
* | Disable #pragma messages from Clang | John Wiegley | 2016-11-13 | 1 | -0/+1 |
| | |||||
* | Escape ++ in cmake matches | John Wiegley | 2016-11-13 | 1 | -1/+1 |
| | |||||
* | Don't use -isystem with g++ anymore | John Wiegley | 2016-11-13 | 1 | -1/+1 |
| | |||||
* | Change src/CMakeLists.txt to notice c++ as g++ | John Wiegley | 2016-11-13 | 1 | -14/+19 |
| | |||||
* | Fix 1043 | John Wiegley | 2016-11-12 | 2 | -10/+18 |
| | |||||
* | Make bool implicitly convertible in Python to value_t | John Wiegley | 2016-11-12 | 1 | -0/+1 |
| | |||||
* | Add new reporting function quoted_rfc4180 | John Wiegley | 2016-11-12 | 2 | -0/+20 |
| | |||||
* | --force-color does not require anymore --color. | thdox | 2016-10-27 | 1 | -0/+3 |
| | | | | This was reported as Bug #1109 | ||||
* | Fix bug 1187: Allow balance assertions with multiple posts to same account | Mitchell Kember | 2016-10-07 | 1 | -1/+12 |
| | |||||
* | Merge pull request #470 from schmave/win-strptime | John Wiegley | 2016-10-03 | 1 | -8/+8 |
|\ | | | | | Fix Windows strptime | ||||
| * | Fix Windows strptime | Evan Mallory | 2016-10-02 | 1 | -8/+8 |
| | | | | | | | | This fixes the datetime-related tests in testAddition and testSubtraction in the LedgerMathTests | ||||
* | | Merge pull request #471 from schmave/win-path | John Wiegley | 2016-10-03 | 1 | -8/+5 |
|\ \ | | | | | | | Use boost parent_path() method instead of manual computation | ||||
| * | | Use boost parent_path() method instead of manual computation | Evan Mallory | 2016-10-02 | 1 | -8/+5 |
| |/ | | | | | | | This fixes error-in-include.test, dir-apply.test, 6188B0EC.test, and 89233B6D.test when running under msys2 on Windows. The manual computation is incorrect when there are both forward slash and backward slash characters in the path. | ||||
* / | Fix build under Cygwin. | Ivan Vanyushkin | 2016-09-29 | 8 | -10/+23 |
|/ | |||||
* | Merge pull request #465 from dkasak/patch-1 | Alexis Hildebrandt | 2016-09-26 | 1 | -1/+1 |
|\ | | | | | Fix compilation error with boost 1.61 | ||||
| * | Fix compilation error with boost 1.61 | Denis | 2016-09-12 | 1 | -1/+1 |
| | | |||||
* | | Fix build under msys32; add Appveyor continuous build | Evan Mallory | 2016-09-17 | 12 | -26/+27 |
|/ | | | | | | | | | | | | * 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. | ||||
* | Revert "[python] Add fix for Boost.Python compile errors" | Alexis Hildebrandt | 2016-06-22 | 2 | -6/+0 |
| | | | | This reverts commit 11590e134eafa768ccc4a171cc7fb216e906095f. | ||||
* | Fix Bug 1147: Check balance assertions against the amount AFTER | Mitchell Kember | 2016-03-22 | 1 | -10/+12 |
| |