summaryrefslogtreecommitdiff
path: root/src/session.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename SHA-512/256 to the more appropriate SHA-512HalfJohn Wiegley2024-08-051-2/+2
|
* Add support for --hashes=sha512_256 as another algorithmJohn Wiegley2024-08-051-5/+2
|
* --hashes option requires an argument to specify the algorithmJohn Wiegley2024-08-051-2/+17
| | | | | 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-0/+3
| | | | | | | | | | | | | | | | | | | 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
* Use #pragma onceAlexis Hildebrandt2023-04-101-4/+1
|
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Change header guard names to use `INCLUDED_` prefixPhil Newton2022-04-061-3/+3
| | | | Fixes #2049
* 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]
* don't add paths to files, if there is already a path that points to the same ↵Johannes Loher2017-12-291-1/+11
| | | | file
* 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]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* [ledger] Remove --cache optionAlexis Hildebrandt2015-02-181-2/+0
| | | | 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/+2
| | | | | Discussion: https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ
* Adding option --no-aliases to completely disable alias expansionPeter Feigl2014-02-261-0/+2
|
* Adding option --recursive-aliases, adding documentation to man-page and manualPeter Feigl2014-02-261-0/+2
|
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Add --time-colon optionAlexis Hildebrandt2012-11-101-0/+5
| | | | | | | | | 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.
* Added option --day-breakJohn Wiegley2012-03-171-0/+2
|
* Fixed options processing of --value-exprJohn Wiegley2012-03-091-2/+2
|
* Added --value-expr optionJohn Wiegley2012-03-091-0/+3
|
* Reworked the way that options are handledJohn Wiegley2012-03-091-11/+7
|
* Added int and str value expression functionsJohn Wiegley2012-03-091-0/+2
|
* Use unique_ptr instead of std::auto_ptrJohn Wiegley2012-03-051-2/+2
|
* Allow --options to be added by the user in PythonJohn Wiegley2012-03-011-0/+1
|
* Started writing Python unit testsJohn Wiegley2012-03-011-1/+3
|
* Refactored the notion of "the current parsing context"John Wiegley2012-03-011-0/+3
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Added --check-payees optionJohn Wiegley2012-02-271-0/+2
|
* Added new account/payee/commodity directivesJohn Wiegley2012-02-271-0/+6
| | | | | Also added supporting options: --explicit, --permissive, --pedantic, as well as new behavior for --strict.
* Scopes can now provide a description of themselvesJohn Wiegley2010-06-241-0/+4
| | | | | | This isn't being used yet, but it likely will to improve the information presented to users if their value expressions fail to compile or evaluate.
* Added initial implementation of lot_*() functionsJohn Wiegley2010-06-141-0/+3
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-2/+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/+2
|
* Completely reworked argument passing in expressionsJohn Wiegley2010-06-131-4/+3
|
* account(NAME) function can lookup account objectsJohn Wiegley2010-06-131-0/+2
| | | | | | For example, just the word "account" returns the name of the current posting's account, but account("Expenses:Food") returns the actual account object, so that it's total may be accessed.
* Untabified all source filesJohn Wiegley2010-06-111-3/+3
|
* A little bit of code cleanupJohn Wiegley2010-06-041-1/+0
|
* Changed --european option to --decimal-commaJohn Wiegley2010-06-011-3/+3
| | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* session_t now holds a std::auto_prt<journal_t>John Wiegley2009-11-121-3/+3
|
* Removed a bunch of empty commentsJohn Wiegley2009-11-081-9/+0
|
* Renamed --set-reported-account to just --accountJohn Wiegley2009-11-061-2/+2
| | | | | | | This fits better with the --amount and --total options, which both change the amount and total used for calculation. Same with --account: it happens after filtering, but before calculation so that balance reports look as you'd expect.
* Moved journal reading code into journal_tJohn Wiegley2009-11-051-8/+0
|
* Moved xdata clearing code into each type properJohn Wiegley2009-11-051-8/+0
|
* Segregated symbols into 5 separate namespacesJohn Wiegley2009-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler)