summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test: Unbreak one more test case with python3 bridgeDimitri John Ledkov2019-12-063-5/+5
| | | | | | | | | | | python3 has buffered output by default, hence testcase option_py returned no output when executed under test harness. I think this is a real problem in the way python interpreter is embeded, and i.e. stdout is not flushed until after test case has died. However, running things unbuffered seems to make everything work. But for some reason I had to adjust 1057.test slightly. I have no idea what those numbers mean, and if running things unbuffered break stuff.
* Add --averaged-lot-pricesJohn Wiegley2019-12-064-0/+81
| | | | | This joins together lots of the same underlying, averaging the reported price and using the date of the oldest lot.
* travis: use the same python executable, as found by cmakeDimitri John Ledkov2019-12-061-1/+1
|
* Port to python3Dimitri John Ledkov2019-12-058-17/+63
|
* Remove dependency on other testAlexis Hildebrandt2019-12-051-3/+3
|
* Make tests scripts Python 3 compatibleAlexis Hildebrandt2019-12-0515-81/+137
|
* Use print functionOndřej Kuzník2019-12-052-8/+12
| | | | [ci skip]
* Enable py2 & py3 buildsDimitri John Ledkov2019-12-052-5/+9
|
* Modernize CMake using backported FindPython module.Dimitri John Ledkov2019-12-055-79/+28
|
* Adjust FindPython/Support.cmake for backportDimitri John Ledkov2019-12-051-1/+5
|
* Cherrypick FindPython module from cmake 3.15, introduced in 3.12.Dimitri John Ledkov2019-12-055-0/+2607
|
* Format annotations using format that can be parsedOleg Bulatov2019-11-276-6/+8
| | | | | | | | | | | | | | | | | I expect an output of `ledger print` to be consumable by ledger. But on the next journal ``` 2019/11/25 * test Foo 1 AAPL {1.00 EUR} [2019/11/24] Bar ``` it prints [19-Nov-24], which it does not understand with default options. With this patch it prints [2019/11/24].
* Add note regarding $account under --strict or --pedantic modesEnrico Lamperti2019-11-161-0/+6
| | | | | | | This change adds a warning in the documentation for users using automated transactions with `--strict` or `--pedantic`, as ledger will throw an error when `$account` is not defined explicitly (see #545).
* Fix a typo in the documentationChristian Egli2019-10-251-3/+4
| | | | | and add some cross references to more detailed documentation and examples.
* Correction to the way parens are parsed in query expressionsJohn Wiegley2019-09-172-9/+47
|
* Add Conda installation instructions to the READMETravis Wrightsman2019-09-091-0/+7
|
* Merge pull request #1819 from CandyAngel/know-ification_fixJohn Wiegley2019-08-283-22/+14
|\ | | | | Remove know-ification of elements due to post state
| * Remove know-ification of elements due to post stateCandyAngel2019-08-273-22/+14
|/
* Fix typosChen Rotem Levy2019-08-231-2/+2
|
* Switch from using utf8::is_bom to utf8::starts_with_bom (#1817)John Wiegley2019-08-191-1/+3
|\ | | | | Switch from using utf8::is_bom to utf8::starts_with_bom
| * Switch from using utf8::is_bom to utf8::starts_with_bomJohn Wiegley2019-08-181-1/+3
|/ | | | Fixes #1816
* option: fix typo in error messageChristian Dietrich2019-08-011-1/+1
|
* Remove use of balance --average since it doesn't work (#1810)John Wiegley2019-07-151-1/+1
|\ | | | | Remove use of balance --average since it doesn't work
| * Remove use of balance --average since it doesn't workRyan Nowakowski2019-07-151-1/+1
|/ | | | | | Currently the docs recommend the use of balance --average to help generate a budget. Apparently that doesn't work. Instead use the register command with --average.
* fix typo (#1808)John Wiegley2019-07-141-1/+1
|\ | | | | fix typo
| * fix typoliqlvnvn2019-07-141-1/+1
|/ | | Common misspelling of aforementioned.
* Change --invert to invert displayed amounts and totals, not amo… (#1804)John Wiegley2019-07-052-10/+2
|\ | | | | Change --invert to invert displayed amounts and totals, not amounts
| * Remove an unneeded commentJohn Wiegley2019-07-051-9/+0
| |
| * Change --invert to invert displayed amounts and totals, not amountsJohn Wiegley2019-07-051-1/+2
|/
* Add support for '%F' date format specifierMichael Budde2019-04-023-7/+31
| | | | | | | | | '%F' is equivalent to '%Y-%m-%d'. Using the '%F' format without this change this would not give any hard errors but instead give dates with wrong years because the 'has_year' trait would not be correctly detected and thus parsed dates would get set to the current year. Fixes #1775
* 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
|