summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Bump copyright notice to 2015Alexis Hildebrandt2014-12-27128-129/+129
| | | | | | | | | | | | | | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* | | Correct no-python error messagesAlexis Hildebrandt2014-12-251-2/+2
| | | | | | | | | | | | [ci skip]
* | | Fix crash when using --trace 10 or aboveAlexis Hildebrandt2014-12-233-3/+3
| | | | | | | | | | | | | | | uint8_t is typedef'd to char, thus boost::lexical_cast treats it as such instead of a number.
* | | Fix crash when using -M with empty resultAlexis Hildebrandt2014-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | ledger -f /dev/null reg -M test causes a segmentation fault, see bug 730 and duplicates 1080 and 1084 for details. Kudos to Ikke for helping with debugging.
* | | Fix off by one error in textual.ccAdrian Lang2014-12-111-1/+1
| | | | | | | | | This fixes parsing of transactions with single-character payees and comments.
* | | support date as well as datetime in Balance.value()Christophe Rhodes2014-12-011-0/+6
| | | | | | | | | | | | cargo-cut'n'paste from py_amount.cc
* | | Improve Embedded Python SupportELIPTUS2014-11-125-3/+35
| | | | | | | | | | | | | | | Discussion: https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ
* | | make --columns default to terminal width, as returned by ioctl()Stefano Zacchiroli2014-10-133-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If set, the COLUMNS environment variable will take precedence over terminal width. However, please note that COLUMNS is usually *not* exported by shells to child processes, so in most cases COLUMNS will be undefined for ledger---hence the motivation for this change. Terminal width is queried using ioctl() on stdin. For the sake of portability the querying is done only on platform where ioctl() is detected as supported at compile-time.
* | | Add ISO 8601 date as recognized date stringMartin Michlmayr2014-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Dates specified via --begin and --end are converted to a value expression using an ISO 8601 (yyyy-mm-dd) date, but this date was not recognized by ledger. Bug fix for #1072