summaryrefslogtreecommitdiff
path: root/src/session.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add support for --hashes=sha512_256 as another algorithmJohn Wiegley2024-08-051-3/+3
|
* --hashes option requires an argument to specify the algorithmJohn Wiegley2024-08-051-4/+4
| | | | | At the moment only "sha512" or "SHA512" is accepted, but this could extend to more algorithms in the future.
* Add support for hash chaining to detect modifications in postingsJohn Wiegley2024-08-051-3/+6
| | | | | | | | | | | | | | | | | | | The following details of a posting contribute to its hash: fullname of account string representation of amount Each posting hashes contributes to the transaction hash, which is compromised of: previous transaction’s hash (as encountered in parsing order) actual date optional auxiliary date optional code payee hashes of all postings Note that this means that changes in the “code” or any of the comments
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Make explicit option a no-opCandyAngel2020-04-031-2/+3
| | | | Fixes #1877
* Revert "Use an std::set instead of an std::list to store the the journal ↵John Wiegley2018-06-181-2/+2
| | | | | | | | file paths" This reverts commit 3364850cc7cf73fc67af1ea6cd9a65a32e336623. Fixes #559
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* Use an std::set instead of an std::list to store the the journal file pathsJohannes Loher2017-12-291-2/+2
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* Item sorting should have access to the report scopeJohn Wiegley2017-01-041-3/+3
|
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Re-indent some code that was indented incorrectlyJohn Wiegley2015-07-301-41/+42
|
* [ledger] Remove --cache optionAlexis Hildebrandt2015-02-181-19/+1
| | | | and all boost serialisation related code.
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | 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}/"
* Improve Embedded Python SupportELIPTUS2014-11-121-0/+5
| | | | | Discussion: https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ
* Cosmetic change - format code consistentlyMartin Michlmayr2014-05-181-3/+3
| | | | | Add a space between if and the opening bracket, between a closing round bracket and the following opening curly bracket, etc.
* The option --permissive now quiets balance assertionsJohn Wiegley2014-04-131-7/+9
|
* Adding option --no-aliases to completely disable alias expansionPeter Feigl2014-02-261-0/+5
|
* Adding option --recursive-aliases, adding documentation to man-page and manualPeter Feigl2014-02-261-0/+6
|
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Fixed problem finding the default priced file.Craig Earls2013-01-291-7/+8
| | | | Bug fix to detect badly specified priced files on the command line didn't handle the default correctly.
* Merge pull request #107 from afh/pull/time_colonJohn Wiegley2013-01-291-1/+3
|\ | | | | Add --time-colon option
| * Add --time-colon optionAlexis Hildebrandt2012-11-101-1/+3
| | | | | | | | | | | | | | | | | | The --time-colon option will display the value for a seconds based commodity as real hours and minutes. For example 8100 seconds by default will be displayed as 2.25 whereas with the --time-colon option they will be displayed as 2:15.
* | Fixes bugs 705 and 862. Ledger now fails if init or pricedb files are ↵Craig Earls2013-01-291-1/+5
| | | | | | | | specified on the command line but not found.
* | change handling of standard inputJohann Klähn2013-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For `-f /dev/stdin`, the `pathname` of the parsing context will be empty as for any other streamed input. `instance_t::include_directive` did not work as expected for `-f /dev/stdin` and relative file names. One would expect them to be relative to the current directory rather than `/dev`. This will lead to `While parsing file ""` messages. This could be adjusted to read `While parsing standard input`, but maybe it's not worth the special cases. This commit also fixes bug 788: behaviour of source_context for '-f -'
* | Revert "fix bug 788: behaviour of source_context for '-f -'"John Wiegley2013-01-161-1/+0
| | | | | | | | This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc.
* | fix bug 788: behaviour of source_context for '-f -'Johann Klähn2013-01-151-0/+1
|/ | | | | | `session_t::read_data` did not set context.pathname to `/dev/stdin` for the special case `-f -`. I chose to adjust `source_context` too as there is no sensible context if no file name is provided.
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-4/+4
|
* Always call TRACE_CTOR at the end of constructorsJohn Wiegley2012-03-201-2/+2
|
* Added option --day-breakJohn Wiegley2012-03-171-0/+3
|
* Fixed options processing of --value-exprJohn Wiegley2012-03-091-2/+5
|
* Added --value-expr optionJohn Wiegley2012-03-091-0/+2
|
* Added int and str value expression functionsJohn Wiegley2012-03-091-0/+19
|
* Allow --options to be added by the user in PythonJohn Wiegley2012-03-011-0/+2
|
* Started writing Python unit testsJohn Wiegley2012-03-011-3/+36
|
* Refactored the notion of "the current parsing context"John Wiegley2012-03-011-6/+25
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* --explicit wasn't being handled correctlyJohn Wiegley2012-02-271-1/+3
|
* Added --check-payees optionJohn Wiegley2012-02-271-0/+3
|
* Added new account/payee/commodity directivesJohn Wiegley2012-02-271-0/+13
| | | | | Also added supporting options: --explicit, --permissive, --pedantic, as well as new behavior for --strict.
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Support Boost 1.46 and Boost.Filesystem v3John Wiegley2011-02-281-1/+2
|
* Increase display precision of hours to 2 placesJohn Wiegley2010-12-121-1/+1
|
* Transactions no longer needed for budget/forecastJohn Wiegley2010-06-201-4/+6
| | | | | This means you can forecast or budget against a file containing only periodic transactions.
* Added initial implementation of lot_*() functionsJohn Wiegley2010-06-141-1/+34
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-3/+1
| | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year.
* Restored min() and max() virtual functionsJohn Wiegley2010-06-131-0/+18
|
* Completely reworked argument passing in expressionsJohn Wiegley2010-06-131-4/+3
|