summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: Fix texinfo invalid previous node referenceAlexis Hildebrandt2023-02-211-1/+1
|
* Enforce use of non-deprecated boost::filesystem APIAlexis Hildebrandt2023-02-202-1/+5
| | | | For details see https://www.boost.org/doc/libs/1_81_0/libs/filesystem/doc/deprecated.html
* Fix compiler warningsAlexis Hildebrandt2023-02-202-1/+5
| | | | minimizing use of deprecated API where possible.
* Remove unused server related codeAlexis Hildebrandt2023-02-203-50/+0
|
* Add info about compile features to --versionAlexis Hildebrandt2023-02-141-0/+9
|
* docs: Standardise spellingAlexis Hildebrandt2023-02-141-8/+8
|
* Mention that some Ledger features require PythonAlexis Hildebrandt2023-02-141-0/+3
| | | | Closes #1932
* Update urls in README to httpsAlexis Hildebrandt2023-02-141-21/+25
|
* Bump Python version in READMEAlexis Hildebrandt2023-02-141-1/+1
|
* Format markdown table in READMEAlexis Hildebrandt2023-02-141-13/+13
|
* Update flake.nix to match nixpkgs ledger/default.nixAlexis Hildebrandt2023-02-141-22/+29
|
* Cross reference Auxiliary and Effective dates sectionsAlexis Hildebrandt2023-02-091-5/+13
| | | | Closes #2150
* Release 3.3.0Martin Michlmayr2023-02-083-5/+5
|
* Update NEWSMartin Michlmayr2023-02-081-0/+25
|
* docs: move section "Payee metadata tag"Alexis Hildebrandt2023-02-081-49/+50
| | | | Closes #2151
* docs: Specify regex dialect used by ledgerAlexis Hildebrandt2023-02-082-4/+4
| | | | Closes #2145
* Add test/baseline/cmd-stats1.testJohn Wiegley2023-02-061-0/+24
|
* When a post has no date at all, default to the current dateJohn Wiegley2023-02-061-2/+4
|
* doc: Clarify evaluation of balance assertsions or assignmentsAlexis Hildebrandt2023-02-041-2/+8
| | | | Addresses: #1687
* Update copyright yearAlexis Hildebrandt2023-02-02127-128/+128
| | | | [skip ci]
* acprep: Replace deprecated getargspec with getfullargspecAlexis Hildebrandt2023-02-011-4/+1
|
* Updated lib/utfcppAlexis Hildebrandt2023-02-0129-157/+2769
| | | | | | | * Squashed 'lib/utfcpp/' content from commit 79835a5fa git-subtree-dir: lib/utfcpp git-subtree-split: 79835a5fa57271f07a90ed36123e30ae9741178e * Change include path to utfcpp
* Update flake.lockAlexis Hildebrandt2023-02-011-3/+3
|
* Fix deprecation warningsAlexis Hildebrandt2023-02-011-14/+18
| | | | Code clean-up
* Remove obsolete from __future__ importsAlexis Hildebrandt2023-02-0117-30/+0
|
* Remove support for Python 2.xAlexis Hildebrandt2023-02-018-356/+15
|
* Remove Python 2 references from .travis.ymlAlexis Hildebrandt2023-02-011-2/+0
|
* Minor cosmetic changesAlexis Hildebrandt2023-02-012-4/+4
|
* Sort 786A3DD0.test chronologically by dateAlexis Hildebrandt2023-02-011-1/+1
|
* Attempt to fix Linux CI failureAlexis Hildebrandt2023-02-011-1/+1
|
* Rerun failed tests with outputAlexis Hildebrandt2023-02-011-1/+1
| | | | for debugging
* Update checkout action to Node.js 16Alexis Hildebrandt2023-02-011-1/+1
| | | | | | | | | | | as suggested by action warning For more information see: https://github.com/ledger/ledger/actions and https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
* If the amount-width has not been set, use the old default of 20John Wiegley2023-01-272-3/+10
|
* Use amount_width for balance reportVladimir Parfinenko2023-01-271-3/+3
|
* Fix python/c++ conversion for boost::optional<T>David Sklar2023-01-272-4/+14
| | | | | | | | | | | | | | Setters for types wrapped in boost::optional, such as item_t::note were broken, e.g. setting a note on a transaction resulted in garbled data that would cause Python to throw utf-8 errors when retrieving the note. (But setters that accessed strings directly, e.g. "payee" on a transaction worked fine.) This change alters the from-python conversion for optional-wrapped types based on the example at https://stackoverflow.com/questions/36485840/wrap-boostoptional-using-boostpython and a test case to verify the behavior.
* Fix IDENT format comment to match recent change 35713fe79Donald Lam2023-01-271-1/+1
|
* Disallow numbers in function namesJohn Wiegley2023-01-252-1/+3
|
* Rename quoted_rfc4180 to quoted_rfc, to avoid parser quirkDonald Lam2023-01-256-18/+27
| | | | | | | Ledger's expression parser considers quoted_rfc4180 to be an amount (quantity 4180 of commodity "quoted_rfc"). Fixes #2007.
* typo and column alignmentspaette2023-01-234-4/+4
|
* Initial fix for #2147WY2023-01-202-1/+29
|
* Python: Transaction.remove_post should call xact_base_t::remove_postDavid Sklar2023-01-102-7/+22
|
* Python: test cleanupsDavid Sklar2023-01-094-8/+9
| | | | | | | | 1. Remove references to modules (exceptions, StringIO) no longer needed for Pythn3 2. Use assertEqual instead of assertEquals 3. Clear journal files with a close_journal_files() function that uses the then-current underlying python_session pointer. Calling session.close_journal_files() sometimes leads to segfaults because python_session has changed after it was injected into the python module (as "session") on module startup.
* fix brew link error on mac CIAndy Clayton2023-01-091-0/+9
| | | | | | | | | | | | | | The github mac runner images added python 3.11 but, unlike 3.10, not via brew. This causes brew install to fail with link conflict errors now that boost-python3 switched over to 3.11. Workaround this, and future python brew link errors, by overwriting all links for python packages. https://github.com/Homebrew/homebrew-core/commit/8c79089ae410bcd38065dfa3748bbcdb64b228d2 https://github.com/orgs/Homebrew/discussions/3895 https://github.com/actions/setup-python/issues/577 https://github.com/actions/runner-images/issues/6459 https://github.com/actions/runner-images/issues/6507 https://github.com/actions/runner-images/issues/2322
* typosspaette2023-01-076-10/+10
|
* Add compatability for Python 3.10 and later to acprepAlexis Hildebrandt2022-12-291-1/+4
| | | | Fixes #2154
* docs: add info on on expr directiveMartin Michlmayr2022-12-271-1/+1
| | | | Fixes #2149
* Update Debian releasesMartin Michlmayr2022-12-261-3/+3
|
* Add python support for error_contextAdam Wendt2022-11-131-0/+7
| | | | | | Added ledger.session.error_context() to py_session.cc to get the error context message when exceptions are thrown.
* Fix balancing commodity with smaller unit.Maria2022-10-113-1/+27
|
* xml: Include posting-specific payee in outputGwyneth Morgan2022-10-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In `ledger xml` export, include the `<posting>`-specific payee (from the `Payee:` tag) as `<payee>`. This data is already included under `<metadata>` as `<value key="Payee">`, but that is more specific to Ledger's implementation; if in the future there is another way to set the payee (or perhaps an option to have the Payee tag in one's own language), that field wouldn't be a reliable method of getting this info. Example: 2022-01-01 Transaction-level payee a 10 b ; Payee: Posting-level payee Relevant XML output: <transaction> <date>2022-01-01</date> <payee>Transaction-level payee</payee> <postings> <posting> <account ref="0000558defd6f260"> <name>a</name> </account> <post-amount> <amount> <quantity>10</quantity> </amount> </post-amount> <total> <amount> <quantity>10</quantity> </amount> </total> </posting> <posting> <payee>Posting-level payee</payee> <account ref="0000558defd6f960"> <name>b</name> </account> <post-amount> <amount> <quantity>-10</quantity> </amount> </post-amount> <note> Payee: Posting-level payee</note> <metadata> <value key="Payee"> <string>Posting-level payee</string> </value> </metadata> <total> <amount> <quantity>0</quantity> </amount> </total> </posting> </postings> </transaction>