Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2385 from ↵ | Alexis Hildebrandt | 2024-09-26 | 1 | -1/+1 |
|\ | | | | | | | | | ledger/dependabot/github_actions/cachix/install-nix-action-v29 chore(deps): bump cachix/install-nix-action from V28 to 29 | ||||
| * | chore(deps): bump cachix/install-nix-action from V28 to 29 | dependabot[bot] | 2024-09-26 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V28 to 29. This release includes the previously tagged commit. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/V28...v29) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
* | Merge pull request #2381 from dbear496/update-boost | Alexis Hildebrandt | 2024-09-16 | 0 | -0/+0 |
|\ | |||||
| * | use sha1sum in anonymize_posts::operator() | dbear496 | 2024-09-14 | 2 | -15/+3 |
| | | |||||
| * | promote compatability with Boost <1.86.0 | dbear496 | 2024-09-14 | 2 | -18/+28 |
| | | |||||
| * | update to Boost 1.86.0 | dbear496 | 2024-09-13 | 2 | -8/+8 |
| | | | | | | | | fixes #2378 | ||||
* | | remove exception specifications | dbear496 | 2024-09-16 | 1 | -34/+4 |
| | | |||||
* | | update to C++17 | dbear496 | 2024-09-16 | 1 | -1/+1 |
| | | | | | | | | | | - Uses CMAKE_CXX_STANDARD instead of setting -std flag manually. - Fixes #2375 | ||||
* | | use sha1sum in anonymize_posts::operator() | dbear496 | 2024-09-16 | 2 | -15/+3 |
| | | |||||
* | | promote compatability with Boost <1.86.0 | dbear496 | 2024-09-16 | 2 | -18/+28 |
| | | |||||
* | | update to Boost 1.86.0 | dbear496 | 2024-09-16 | 2 | -8/+8 |
| | | | | | | | | fixes #2378 | ||||
* | | chore(deps): bump cachix/install-nix-action from V27 to 28 | dependabot[bot] | 2024-09-12 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V27 to 28. This release includes the previously tagged commit. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/V27...V28) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
* | Avoid string in amount_t::in_place_truncate | Max Nikulin | 2024-08-15 | 1 | -26/+1 |
| | | | | | Do not serialize to string just to get rounded value. `in_place_roundto` should be reliable enough now. | ||||
* | add unittest for #ledger/2348 | Tavis Ormandy | 2024-08-08 | 1 | -0/+16 |
| | |||||
* | disable checking for generated transactions | Tavis Ormandy | 2024-08-08 | 1 | -0/+3 |
| | | | | | | | | | There is no parse_context_stack for generated transactions, because they were not parsed from anywhere. This breaks strict checking, because errors can't be reported. It doesn't make sense to report errors for these anyway, so lets just disable them. | ||||
* | fix use-after-free with regex_match() | Tavis Ormandy | 2024-08-08 | 1 | -4/+4 |
| | | | | | | The smatch does not copy the input, it points to the original. So if the string is on the stack and goes out of scope because it's only used as a parameter, it will just be junk. Make a copy of it at a higher scope. | ||||
* | Add doc for account, display_account and account_base variables | matclab | 2024-08-07 | 1 | -0/+21 |
| | |||||
* | More unit tests for amount_t::roundto | Max Nikulin | 2024-08-07 | 2 | -3/+15 |
| | | | | | - Add some tests from comments to pull request #2361. - Fix decimal separator in earlier added tests. | ||||
* | Add Python bindings for roundto | Max Nikulin | 2024-08-07 | 3 | -0/+10 |
| | | | | | | | | | Expose `roundto` and `in_place_roundto` to `Amount`, `Balance`, and `Value` Python classes. They may be handy for debugging. The methods were added after introducing of bindings and likely it is a reason why they were missed. Closes: #2365 | ||||
* | Revert "also copy costs that round to zero" | dbear496 | 2024-08-06 | 1 | -1/+1 |
| | | | | | | This reverts commit e2f64be216506b51c029147982f1addc50f4c745. post->cost is actually of type optional, so the cast to bool iscorrect. | ||||
* | also copy costs that round to zero | dbear496 | 2024-08-06 | 1 | -1/+1 |
| | |||||
* | copy cost from automatic transaction posting | dbear496 | 2024-08-06 | 1 | -0/+2 |
| | | | | fixes #2268 | ||||
* | add regress test for #2268 | dbear496 | 2024-08-06 | 1 | -0/+13 |
| | |||||
* | Avoid ctype abuse. | Taylor R Campbell | 2024-08-06 | 13 | -47/+76 |
| | | | | | fix https://github.com/ledger/ledger/issues/2338 fix https://github.com/ledger/ledger/issues/2340 | ||||
* | Add new --align-intervals option. | Ian2020 | 2024-08-06 | 10 | -19/+347 |
| | |||||
* | Fix copy on write for amount_t::in_place_roundto | Max Nikulin | 2024-08-06 | 4 | -28/+10 |
| | | | | | | | | | | | | - Copy amount quantity before rounding. - Fix `amount_t::roundto(int)`. - Transform `balance/testRound` into `balance/testRoundto`. It was a mix of `round` and `roundto` operation with unclear purpose and was relying on `in_place_roundto` behavior modifying all copies. There is no unit tests for balance `round` and `unround` any more. Closes #2362 | ||||
* | Another whitespace change | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | |||||
* | Add whitespace to xact_t::hash | John Wiegley | 2024-08-05 | 1 | -0/+8 |
| | |||||
* | Rename SHA-512/256 to the more appropriate SHA-512Half | John Wiegley | 2024-08-05 | 5 | -7/+7 |
| | |||||
* | Add two missing system headers to sha512.cc | John Wiegley | 2024-08-05 | 1 | -0/+2 |
| | |||||
* | Revert all changes to sha512.c | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | |||||
* | Change one prototype | John Wiegley | 2024-08-05 | 1 | -3/+1 |
| | |||||
* | Remove most changes to sha512.cc | John Wiegley | 2024-08-05 | 1 | -5/+11 |
| | |||||
* | Include sys/types.h | John Wiegley | 2024-08-05 | 1 | -0/+1 |
| | |||||
* | Include stdint.h in sha512.cc | John Wiegley | 2024-08-05 | 1 | -0/+1 |
| | |||||
* | Fix return type of SHA512 | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | |||||
* | Try something else | John Wiegley | 2024-08-05 | 1 | -7/+1 |
| | |||||
* | Revert a type change | John Wiegley | 2024-08-05 | 1 | -2/+2 |
| | |||||
* | Type signature fix | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | |||||
* | Minor doc update | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | |||||
* | Update src/sha512.cc | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | | | Co-authored-by: Alexis Hildebrandt <afh@surryhill.net> | ||||
* | Update src/sha512.cc | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | | | Co-authored-by: Alexis Hildebrandt <afh@surryhill.net> | ||||
* | Update doc/ledger.1 | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | | | Co-authored-by: Alexis Hildebrandt <afh@surryhill.net> | ||||
* | Update doc/ledger.1 | John Wiegley | 2024-08-05 | 1 | -1/+1 |
| | | | Co-authored-by: Alexis Hildebrandt <afh@surryhill.net> | ||||
* | Add support for --hashes=sha512_256 as another algorithm | John Wiegley | 2024-08-05 | 14 | -28/+81 |
| | |||||
* | Add further documentation on the --hashes option | John Wiegley | 2024-08-05 | 1 | -13/+40 |
| | |||||
* | Improvements to the hashing tests | John Wiegley | 2024-08-05 | 3 | -4/+36 |
| | |||||
* | Make xact hashes independent of posting order | John Wiegley | 2024-08-05 | 8 | -40/+50 |
| | | | | | Also, support matching provided hashes against a prefixed of the generated hash. | ||||
* | Add documentation for the --hashes option | John Wiegley | 2024-08-05 | 2 | -1/+21 |
| | |||||
* | Add positive and negative tests for the --hashes option | John Wiegley | 2024-08-05 | 2 | -0/+51 |
| |