summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead codeMichael Budde2019-04-021-9/+0
|
* Remove next from build statusMartin Michlmayr2019-04-021-1/+0
|
* Release 3.1.3Martin Michlmayr2019-03-313-5/+5
|
* Fix tag value parsingMichael Budde2019-03-303-1/+20
| | | | | | | | | | | | If a tag is more than 2 characters from the beginning of the comment the tag value offset will be wrong. #1702 gives an example where the tag line starts with `;;` and the tag value thus becomes `: Bar` because of this bug. The use `index` in the offset calulation seems to be a lucky coincidence that works in the common case: "; tag: value" Fixes #1702
* Reject postings with comment after flagMichael Budde2019-03-303-1/+15
| | | | Fixes #1753
* Convert NEWS to MarkdownMartin Michlmayr2019-03-291-219/+231
|
* Convert NEWS to MarkdownMartin Michlmayr2019-03-291-0/+0
|
* Update NEWS for 3.1.3Martin Michlmayr2019-03-291-0/+10
|
* Merge pull request #1777 from GeorgLink/patch-2John Wiegley2019-03-231-0/+1
|\ | | | | | | | | add step $ ./acprep dependencies to INSTALL.md
| * add step $ ./acprep dependencies to INSTALL.mdGeorg J.P. Link2019-03-231-0/+1
| | | | | | Signed-off-by: Georg J.P. Link <linkgeorg@gmail.com>
* | Merge pull request #1779 from GeorgLink/patch-4John Wiegley2019-03-231-1/+1
|\ \ | | | | | | | | | | | | fix "Income increases with credits"
| * | fix "Income increases with credits"Georg J.P. Link2019-03-231-1/+1
| |/ | | | | Signed-off-by: Georg J.P. Link <linkgeorg@gmail.com>
* / fix typoGeorg J.P. Link2019-03-231-1/+1
|/ | | Signed-off-by: Georg J.P. Link <linkgeorg@gmail.com>
* fix typoGeorg J.P. Link2019-03-221-1/+1
| | | Signed-off-by: Georg J.P. Link <linkgeorg@gmail.com>
* Explicitly sort when creating the equity reportJohn Wiegley2019-03-151-11/+11
|
* Greatly simplify balance_t::operator==John Wiegley2019-03-151-8/+1
|
* Switch amounts_map to std::unordered_mapJohn Wiegley2019-03-152-1/+2
|
* Remove the 'org' command, which was always a hack to begin withJohn Wiegley2019-03-158-340/+1
|
* Corrections to opt-lots.testJohn Wiegley2019-03-151-1495/+1495
|
* Change compare_by_commodity to return an integerJohn Wiegley2019-03-154-80/+108
|
* Further improvements to commodity sortingJohn Wiegley2019-03-151-4/+6
|
* Add more debugging information to compare_by_commodityJohn Wiegley2019-03-151-13/+41
|
* Merge pull request #1769 from alberto56/patch-2John Wiegley2019-03-051-0/+6
|\ | | | | Provide Docker information in README
| * Provide Docker information in READMEAlbert Albala2019-03-051-0/+6
|/
* Update date in manpageMartin Michlmayr2019-02-241-1/+1
|
* Mention ledger3 Texinfo manual in manpageMartin Michlmayr2019-02-241-0/+8
| | | | | | Thanks to Alexis Hildebrandt. Fixes #1763
* Fix possible fail acprep make doctolva2019-02-081-1/+1
|
* Release 3.1.2Martin Michlmayr2019-02-053-22/+3
|
* Merge branch 'next' into release/3.1.2Martin Michlmayr2019-02-0581-698/+847
|\
| * Update NEWS for 3.1.2Martin Michlmayr2019-02-051-2/+2
| |
| * Add back some whitespace for clarityJohn Wiegley2019-01-301-1/+1
| |
| * Expose a new utility function for balances: sorted_amountsJohn Wiegley2019-01-302-9/+16
| |
| * Update copyright statement for 2019Martin Michlmayr2019-01-303-4/+4
| |
| * Merge pull request #1755 from scfc/add-travis-ci-setup-for-macosJohn Wiegley2019-01-293-4/+33
| |\ | | | | | | Add Travis CI setup for macOS and homebrew-installed Boost
| | * Add Travis CI setup for macOS and homebrew-installed BoostTim Landscheidt2019-01-303-4/+33
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On macOS, CMake detects the Boost.Python component installed by homebrew only when named "python27". Thus this change not only adds a Travis CI setup for macOS, but also a CMake option to switch the component name between "python" and "python27". In addition, precompiling system.hh does not work with the current setup for Clang, so another CMake option to disable it is added. The currently used commands to compile specific versions of Boost do not produce a result that works out of the box on macOS. It should be possible just to mimic homebrew's formula for boost-python (https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost-python.rb), but for the moment on macOS this change tests only against Boost installed by homebrew.
| * Merge pull request #1752 from mbudde/gain-use-after-freeJohn Wiegley2019-01-282-0/+3
| |\ | | | | | | | | | | | | Fix use-after-free when destroying filter chain
| | * Fix use-after-free when destroying filter chainMichael Budde2019-01-282-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the `--gain` option the `temporaries_t` in `changed_value_posts` filter stores a reference to the `<Revalued>` temp account created in `display_filter_posts`. When destroying the filter chain `display_filter_posts` is destroyed before `changed_value_posts` and this can result in a use-after-free in `temporaries_t::clear()` when `temps` in `changed_value_posts` is cleared during destruction if there are any temp posts referencing the `<Revalued>` account. Fix the issue by clearing the `temporaries_t` in `changed_value_posts` before destroying the rest of the filter chain (which includes `display_filter_posts`). Fixes #541
| * Merge pull request #1751 from ↵John Wiegley2019-01-272-4/+3
| |\ | | | | | | | | | | | | scfc/use-cmake-cxx-compiler-id-to-select-on-compiler Use CMAKE_CXX_COMPILER_ID for conditions based on compiler
| | * Use CMAKE_CXX_COMPILER_ID for conditions based on compilerTim Landscheidt2019-01-262-4/+3
| |/ | | | | | | | | | | | | | | | | CMAKE_CXX_COMPILER is the path to the compiler binary and does not need to follow a specific pattern. For example, on Linux with GCC and without an explicit "-DCMAKE_CXX_COMPILER:PATH=" option, CMAKE_CXX_COMPILER is "/usr/bin/c++" which does not match "g++". CMAKE_CXX_COMPILER_ID however will always reliably be "Clang" or "GNU".
| * Add short option -f (for --file) to man pageJonas Meurer2019-01-261-1/+1
| |
| * Fix possible stack overflow in option parsing routineMartin Michlmayr2019-01-263-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible to create a stack overflow by giving an option that is longer than the buffer that is used during option parsing because the length of the input string is not checked. Prevent the issue by always checking the input string length and discarding options that does not fit in the buffer as invalid. This issue has been assigned CVE-2017-12481. Thanks to Gwan Yeong Kim for reporting this issue. Fixes #1222
| * Fix possible stack overflow in date parsing routineMichael Budde2019-01-263-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible to create a stack overflow by giving a date that is longer than the buffer that is used during date parsing because the length of the input string is not checked. The `VERIFY` macro is only enabled when debug-mode is enabled and the `--verify-memory` argument is used. Prevent the issue by always checking the input string length and discarding dates that does not fit in the buffer as invalid. This issue has been assigned CVE-2017-12482. Fixes #1224
| * Merge pull request #1657 from ↵John Wiegley2019-01-251-1/+1
| |\ | | | | | | | | | | | | nagakiran/timelog-checkin-multiple-accounts-at-a-time Timelog: Not able to check-in to multiple accounts at a time
| | * Timelog: Not able to check-in to multiple accounts at a timeNaga Kiran2018-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checking-in to multiple accounts at a time throws the following error "When multiple check-ins are active, checking out requires an account" Issue is that the acount name was sent as 3rd parameter to time_xact_t constructor whereas it is supposed to be sent as 4th parameter Corrected the argument position of account name in constructor call to time_xact_t
| * | Merge pull request #1726 from scfc/compile-strptime-only-on-windowsJohn Wiegley2019-01-252-5/+12
| |\ \ | | | | | | | | Compile strptime.cc only on Windows
| | * | Compile strptime.cc only on WindowsTim Landscheidt2019-01-162-5/+12
| | | |
| * | | Merge pull request #1736 from scfc/drop-conditionals-for-boost-earlier-than-1-49John Wiegley2019-01-257-62/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Drop conditionals for Boost earlier than 1.49
| | * | | Drop conditionals for Boost earlier than 1.49Tim Landscheidt2019-01-177-64/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ledger requires Boost 1.49 or later and enforces this in CMakeLists.txt. This means BOOST_VERSION will always be 104900 or higher. Also, since Boost 1.46, BOOST_FILESYSTEM_VERSION is 3.
| * | | | Merge pull request #1742 from scfc/rephrase-boost-build-matrixJohn Wiegley2019-01-253-96/+29
| |\ \ \ \ | | | | | | | | | | | | Rephrase Boost build matrix
| | * | | | Use build matrix to specify Boost versions for Travis CITim Landscheidt2019-01-223-45/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Travis CI, versions of libraries, etc. to build against are typically specified in a build matrix. In addition, currently there is no way to build against the distribution-provided Boost version. This change uses a build matrix for BOOST_VERSION and allows that variable to be empty for building against the distribution-provided Boost version.