summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #2250 from afh/fix-no-assertAlexis Hildebrandt2023-06-101-1/+2
|\ \ | |/ |/| Fix compilation errors with NO_ASSERT
| * Fix compilation errors with NO_ASSERTAlexis Hildebrandt2023-04-251-1/+2
| |
* | Merge pull request #2248 from afh/improve-web-docsAlexis Hildebrandt2023-04-264-3/+22
|\ \ | |/ |/| Improve web docs
| * doc: Generate Ledger Python module documentationAlexis Hildebrandt2023-04-254-3/+22
| | | | | | | | using pydoc when building web docs.
* | boost: Fix compilation warningsAlexis Hildebrandt2023-04-256-1/+10
|/ | | | Closes #2227
* Merge pull request #2245 from taviso/masterAlexis Hildebrandt2023-04-192-1/+2
|\ | | | | Fix bucket transactions with reg --related
| * fix #2220, bucket transactions ignored with reg --relatedTavis Ormandy2023-04-182-1/+2
| | | | | | | | | | | | This adds a new item flag, `ITEM_INFERRED`, that differentiates generated items from bucket items. This makes them show up as related items in reports.
* | Merge pull request #2238 from afh/cleanup-system-definesAlexis Hildebrandt2023-04-1912-113/+123
|\ \ | |/ |/| Cleanup system defines
| * Remove unused REVERSE_PREDECESSOR_MAP guarded codeAlexis Hildebrandt2023-04-191-23/+0
| |
| * Reorder system.hh includesAlexis Hildebrandt2023-04-191-15/+12
| |
| * Move app defines into ledger.hh.inAlexis Hildebrandt2023-04-192-3/+3
| |
| * Introduce ledger.hhAlexis Hildebrandt2023-04-165-34/+76
| |
| * Move DEBUG_MODE related defines to system.hh.inAlexis Hildebrandt2023-04-152-25/+23
| |
| * Use #cmakedefine01 for system capability checksAlexis Hildebrandt2023-04-158-35/+35
| | | | | | | | and reply #ifdev HAVE_ with #if HAVE_
| * Modernize system.hh.inAlexis Hildebrandt2023-04-151-5/+1
| |
* | gpgme: Remove obsoleted rewind wrapper functionAlexis Hildebrandt2023-04-181-6/+2
| | | | | | | | kudos to @spacefrogg
* | gpgme: Remove code handling versions prior to required versionAlexis Hildebrandt2023-04-181-10/+0
| |
* | Clean-up doxygen modulesAlexis Hildebrandt2023-04-167-7/+11
|/
* Refactor python related types into ledger::python namespaceAlexis Hildebrandt2023-04-1215-54/+65
|
* Refactor basic_flags_t to ledger::flags::basic_tAlexis Hildebrandt2023-04-1213-27/+32
|
* Refactor flag and pstream related types into ledger namespaceAlexis Hildebrandt2023-04-123-1/+8
|
* Merge branch 'master' into pragma-onceAlexis Hildebrandt2023-04-116-5/+62
|\
| * Merge pull request #2228 from afh/api-documentationAlexis Hildebrandt2023-04-116-4/+63
| |\ | | | | | | Fix generation of API documentation and prepare for publishing on ledger-cli.org
| | * Update api docsAlexis Hildebrandt2023-04-103-1/+41
| | |
| | * doc: Minor clean-upAlexis Hildebrandt2023-04-103-3/+22
| | |
| * | Fix typoAlexis Hildebrandt2023-04-111-1/+1
| |/
* / Use #pragma onceAlexis Hildebrandt2023-04-1057-228/+57
|/
* Bump required Boost version to 1.72Alexis Hildebrandt2023-03-244-25/+0
|
* Change a use of is_realzero to just is_zeroJohn Wiegley2023-03-231-1/+1
| | | | This is needed to avoid a possible divide by zero.
* Increase string size limit in src/unistring.h assertJohn Wiegley2023-03-081-1/+2
|
* Do not perform commodity reduction when parsing a format directiveJohn Wiegley2023-03-031-3/+5
|
* Enforce use of non-deprecated boost::filesystem APIAlexis Hildebrandt2023-02-201-0/+1
| | | | 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-202-44/+0
|
* Add info about compile features to --versionAlexis Hildebrandt2023-02-141-0/+9
|
* When a post has no date at all, default to the current dateJohn Wiegley2023-02-061-2/+4
|
* Update copyright yearAlexis Hildebrandt2023-02-02123-124/+124
| | | | [skip ci]
* Fix deprecation warningsAlexis Hildebrandt2023-02-011-14/+18
| | | | Code clean-up
* Remove support for Python 2.xAlexis Hildebrandt2023-02-017-353/+7
|
* 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-271-4/+5
| | | | | | | | | | | | | | 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-251-1/+1
|
* Rename quoted_rfc4180 to quoted_rfc, to avoid parser quirkDonald Lam2023-01-252-4/+4
| | | | | | | Ledger's expression parser considers quoted_rfc4180 to be an amount (quantity 4180 of commodity "quoted_rfc"). Fixes #2007.
* typo and column alignmentspaette2023-01-231-1/+1
|
* Initial fix for #2147WY2023-01-201-1/+1
|
* Python: Transaction.remove_post should call xact_base_t::remove_postDavid Sklar2023-01-101-1/+1
|
* Python: test cleanupsDavid Sklar2023-01-091-0/+5
| | | | | | | | 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.
* 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.