summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* days - do not stabalize periods spacified in daysPeter Pickford2016-03-131-12/+26
| | | | | | | | weeks - calculate start date for finding period using remainer 400/periodlength to reduce number of iterations (perhaps this ought to follow the same conventio as years months and quarters) add sample period command tests add add day period tests for forecasts and budgets add week period tests for forecasts and budgets - these do not change
* Increase maximum length for regexMartin Michlmayr2016-02-151-2/+2
| | | | Fixes bug #981
* [python] Remove double quotes from unicode valuesAlexis Hildebrandt2016-01-111-1/+0
| | | | | When converting a ledger.Value to unicode the Python API added double quotes around it.
* Make -A to imply -EJohn Wiegley2016-01-091-0/+1
|
* [python] Add fix for Boost.Python compile errorsAlexis Hildebrandt2016-01-022-0/+6
| | | | when using boost version 1.60.0.
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-02126-127/+127
| | | | [ci skip]
* Add workaround for Boost.Python compile errorsAlexis Hildebrandt2015-09-151-0/+12
| | | when using version 1.59.0
* Merge pull request #424 from thdox/bug-1057John Wiegley2015-08-041-1/+1
|\ | | | | Add regression test file for bug #1057
| * untabifythdox2015-07-311-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into nextJohn Wiegley2015-08-042-32/+14
|\ \
| * | Revert "--depth for register"John Wiegley2015-08-042-32/+14
| | |
* | | Whitespace cleanupJohn Wiegley2015-08-0411-17/+17
| | |
* | | Merge remote-tracking branch 'origin/master' into nextJohn Wiegley2015-08-043-14/+36
|\| | | |/ |/|
| * Merge pull request #216 from johannesgerer/masterJohn Wiegley2015-08-042-14/+32
| |\ | | | | | | --depth for register
| | * first implementation of --depth for registerjohannes@debussy2013-11-051-0/+4
| | |
| | * first implementation of --depth for registerjohannes@debussy2013-11-052-29/+29
| | |
| | * first try for implementing --depth for registerjohannes@debussy2013-11-052-25/+39
| | |
| * | Merge pull request #317 from tripun/code_coverageJohn Wiegley2015-08-041-0/+4
| |\ \ | | | | | | | | Add some unit tests for value_t
| | * | add case for addition to voidtripun2014-08-181-0/+4
| | | |
* | | | Re-indent some code that was indented incorrectlyJohn Wiegley2015-07-301-41/+42
| | | |
* | | | [cmake] Use CMAKE_SYSTEM_NAME to test the platform.Alexis Hildebrandt2015-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | APPLE and CMAKE_HOST_APPLE only check the host system, whereas CMAKE_SYSTEM_NAME checks the target system when cross-compiling.
* | | | Merge pull request #416 from tdsmith/python-exec-linkAlexis Hildebrandt2015-07-281-0/+3
|\ \ \ \ | | | | | | | | | | link ledger executable to Python on OS X
| * | | | link ledger executable to PythonTim D. Smith2015-05-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Since the ledger executable embeds the Python interpreter, it does need an explicit link to a Python framework on OS X after all.
* | | | | fix build for boost 1.58Johann Klähn2015-07-282-2/+2
| | | | |
* | | | | Convert boost::optional objects to bool explicitly.Jonathan Wakely2015-07-275-21/+5
| | | | | | | | | | | | | | | | | | | | Fixes #417.
* | | | | enable access to item's position in python bindingsJohann Klähn2015-06-091-2/+12
| | | | |
* | | | | Revert "boost::none_t no longer convertible from literal 0 in 1.58"John Wiegley2015-05-175-5/+21
| | | | | | | | | | | | | | | | | | | | This reverts commit 48aec0f093ff6494a3e4f7cd5166cb4a27c16814.
* | | | | Revert "fix build for boost 1.58"John Wiegley2015-05-172-2/+2
| | | | | | | | | | | | | | | | | | | | This reverts commit 68c9d649caa2c7c7f222613efe86576c379a5a7a.
* | | | | fix build for boost 1.58Johann Klähn2015-05-102-2/+2
| | | | |
* | | | | boost::none_t no longer convertible from literal 0 in 1.58Johann Klähn2015-05-105-21/+5
|/ / / / | | | | | | | | | | | | Instead we use boost::none, which has been documented since boost 1.34.0.
* | | | Add a --no-revalued optionJohn Wiegley2015-05-052-0/+5
| | | |
* | | | Use ./.ledgerrc if ~/.ledgerrc doesn't existDavid Sklar2015-04-271-4/+7
| | | |
* | | | Fix clang compile error (FreeBSD 10).Ilya T2015-03-132-7/+9
| | | |
* | | | Merge pull request #396 from thdox/auto-matchAlexis Hildebrandt2015-02-241-1/+1
|\ \ \ \ | | | | | | | | | | Fix Auto match
| * | | | Fix sorting for option --auto-match.thdox2015-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://en.cppreference.com/w/cpp/algorithm/max_element and http://www.cplusplus.com/reference/algorithm/max_element/ The sorting for max requires < (and not >).
* | | | | Fix alignment of cleared-format with 4 spaces as separator.thdox2015-02-231-1/+1
|/ / / /
* | | | [ledger] Remove --cache optionAlexis Hildebrandt2015-02-1826-1222/+1
| | | | | | | | | | | | | | | | and all boost serialisation related code.
* | | | [ledger] Remove --full-help optionAlexis Hildebrandt2015-02-182-4/+0
| | | | | | | | | | | | | | | | since it is the same as --help.
* | | | [fix] Make trim function trim trailing whitespaceAlexis Hildebrandt2015-01-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | std::isspace(*e) returns false for the end of c-string null-byte. Bugzilla: 1106
* | | | Add pre-release info to --version outputAlexis Hildebrandt2015-01-202-0/+3
| | | | | | | | | | | | | | | | Bump version to 3.1.1-alpha.1
* | | | [cmake] Minor cleanupAlexis Hildebrandt2015-01-201-1/+5
| | | |
* | | | Fix typoAlexis Hildebrandt2015-01-151-1/+1
| | | |
* | | | Fix -i short-option for --init-fileAlexis Hildebrandt2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bugfix for #1102 Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* | | | [doc] Add CheckTests to ctestAlexis Hildebrandt2015-01-152-6/+0
|/ / / | | | | | | | | | | | | | | | | | | to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* | | merge double fix + make changes minimalisticHans Erik van Elburg2015-01-041-12/+8
| | |
* | | also added cygwin tweak to src/CMakeLists.txtHans Erik van Elburg2015-01-031-2/+12
| | |
* | | Bugfix 1038: empty reg report for this month periodAlexis Hildebrandt2014-12-291-0/+5
| | | | | | | | | | | | | | | when year was specified with literal Y or year directive, but not when using apply year.
* | | Improve error handling when parsing year directivesAlexis Hildebrandt2014-12-281-9/+14
| | | | | | | | | | | | | | | | | | | | | A literal Y directive or ‘year’ directive with an empty or invalid argument, e.g. ‘2o14’ (that is a small letter ‘oh’ instead of a zero) would fail with the following rather unhelpful error message: Error: bad lexical cast: source type value could not be interpreted as target
* | | Fix plain year directiveAlexis Hildebrandt2014-12-281-0/+7
| | | | | | | | | | | | Only Y2014 or apply year 2014 would actually set the year for the following transactions; year 2014 would silently do nothing.
* | | Use same license text formatting in source filesAlexis Hildebrandt2014-12-273-6/+6
| | |