Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make xact hashes independent of posting order | John Wiegley | 2024-08-05 | 1 | -1/+5 |
| | | | | | Also, support matching provided hashes against a prefixed of the generated hash. | ||||
* | Fix compiler warning about std::binary_function | Alexis Hildebrandt | 2023-12-12 | 1 | -0/+2 |
| | | | | being deprecated as of C++11 | ||||
* | Update copyright year | Alexis Hildebrandt | 2023-02-02 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Update copyright statement for 2022 | Alexis Hildebrandt | 2022-07-02 | 1 | -1/+1 |
| | |||||
* | Fix build for x86_64-w64-mingw32 | Daniel Coonce | 2021-02-02 | 1 | -1/+1 |
| | | | | Fixes #1905 | ||||
* | Fix tag value parsing | Michael Budde | 2019-03-30 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 | ||||
* | Fix parsing issue involving effective dates | Martin Michlmayr | 2019-01-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | Cory Duplantis reported that "A specially crafted journal file can cause [an] integer underflow resulting in code execution". Cory provided this test case: Expenses:Food:Groceries $ 37.50 ; ] [=2004/01/01] Note the ] that comes before [ after the ;. This issue was reported and described in great detail by Cory Duplantis of Cisco Talos. This issue is known as TALOS-2017-0303 and has been assigned CVE-2017-2807. Cory's description can be found at https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0303 Fixes #1722 | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2016 | Alexis Hildebrandt | 2016-01-02 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Bump copyright notice to 2015 | Alexis Hildebrandt | 2014-12-27 | 1 | -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}/" | ||||
* | Bump copyright information to 2014 | Alexis Hildebrandt | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | fix ledger xml output, remove ledger json command | Johann Klähn | 2013-03-08 | 1 | -5/+4 |
| | | | | | | | | | | | | As the format used by property trees to represent valid JSON and that for valid XML is too different and given that there are more requests for valid XML output I decided to pursue a quick fix and remove the json command in favor of a working xml command. See bug #782, #909, recent discussion on mailing list. JSON support is postponed until I or someone else finds time to work on this or the python bindings are more stable. | ||||
* | Bump copyright information to 2013 | John Wiegley | 2013-02-18 | 1 | -1/+1 |
| | |||||
* | change handling of standard input | Johann Klähn | 2013-01-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | 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 -' | ||||
* | remove superfluous 'break' | Johann Klähn | 2013-01-15 | 1 | -1/+0 |
| | |||||
* | Added filebase and filepath values | Craig Earls | 2012-10-23 | 1 | -1/+21 |
| | | | | | | 'filename' returns the complete path/filename of the file containg the current xact. This is inconvenient for some displays. filebase returns only the base name. For completeness added filepath as well. | ||||
* | Converted the Ledger build system to use CMake | John Wiegley | 2012-05-20 | 1 | -1/+1 |
| | |||||
* | Switched to Boost.PropertyTree for XML generation | John Wiegley | 2012-05-18 | 1 | -0/+14 |
| | |||||
* | Switch to using Boost.Format | John Wiegley | 2012-05-14 | 1 | -8/+8 |
| | |||||
* | post.x = y defines metadata tag x | John Wiegley | 2012-04-04 | 1 | -0/+7 |
| | |||||
* | Make metadata tags case insensitive | John Wiegley | 2012-04-04 | 1 | -1/+11 |
| | |||||
* | Make status and state valexpr synonyms | John Wiegley | 2012-04-04 | 1 | -1/+1 |
| | |||||
* | Whitespace fix | John Wiegley | 2012-04-04 | 1 | -3/+2 |
| | |||||
* | Made an assert more relaxed in item_context() | John Wiegley | 2012-03-19 | 1 | -1/+1 |
| | |||||
* | Another fix to metadata value parsing | John Wiegley | 2012-03-07 | 1 | -15/+9 |
| | |||||
* | Fix parsing of metadata values containing spaces | John Wiegley | 2012-03-07 | 1 | -13/+19 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Fixed problem with the Python build | John Wiegley | 2012-02-29 | 1 | -5/+2 |
| | |||||
* | Change occurrences of auxiliary_date to just aux_date | John Wiegley | 2012-02-28 | 1 | -1/+1 |
| | |||||
* | Renamed actual/effective dates to primary/auxiliary | John Wiegley | 2012-02-28 | 1 | -9/+13 |
| | |||||
* | The "id" of an item now maps to its UUID | John Wiegley | 2012-02-27 | 1 | -0/+10 |
| | |||||
* | Added --rich-data for 'convert', and SHA1 checksum checking | John Wiegley | 2012-02-26 | 1 | -1/+1 |
| | |||||
* | Fixed many Clang type conversion warnings with static_cast | John Wiegley | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | Changed an int to std::size_t | John Wiegley | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | Fixes for variable shadowing (15/28) | John Wiegley | 2012-02-17 | 1 | -3/+3 |
| | |||||
* | Cleanup whitespace | John Wiegley | 2011-08-18 | 1 | -1/+1 |
| | |||||
* | Improved an assert | John Wiegley | 2011-02-12 | 1 | -3/+2 |
| | |||||
* | A metadata key must occur at the beginning | John Wiegley | 2010-06-18 | 1 | -1/+3 |
| | | | | | | | | | Before, this was valid: ; Today Yesterday: Tomorrow Which would set the key Yesterday to the value Tomorrow. Now, it is just an ordinary comment. | ||||
* | has_tag and get_tag now take an 'inherit' parameter | John Wiegley | 2010-06-18 | 1 | -4/+5 |
| | |||||
* | Only look for [date] outside of metadata entries | John Wiegley | 2010-06-18 | 1 | -16/+16 |
| | |||||
* | Revised how Ledger handles the "current year" | John Wiegley | 2010-06-14 | 1 | -11/+9 |
| | | | | | 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. | ||||
* | Completely reworked argument passing in expressions | John Wiegley | 2010-06-13 | 1 | -7/+6 |
| | |||||
* | Add support for typed metadata | John Wiegley | 2010-06-12 | 1 | -7/+23 |
| | | | | | | | | | | The metadata construct 'Key: Value' is now just a special case for 'Key:: "Value"'. Another after a :: in metadata setting is parsed as a full value expression and typed as such. For example: ; Key:: $400 + $500 ledger -l 'tag("Key") < $1000' | ||||
* | Store metadata values as value_t instead of string | John Wiegley | 2010-06-12 | 1 | -21/+23 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -57/+57 |
| | |||||
* | Fixed interaction with -V/X and grouped postings | John Wiegley | 2010-06-09 | 1 | -0/+5 |
| | | | | | | | | | | With -s, -M/Y/D, -n, and a few other flags, postings get "grouped" into meta-transactions that contain more postings than before. In all these cases, -V use the date of the *earliest* posting in that group, which makes little sense and caused breakages with -J. It now uses the latest date. Fixes #197 / 68EAF363-D0FE-4127-866E-A5AEBACB65D6 | ||||
* | Added new "addr" value expression function | John Wiegley | 2010-06-03 | 1 | -0/+6 |
| | | | | | It returns the address of the given object as an integer. This can be used to uniquely compare entities. | ||||
* | Empty notes and tags now return null values | John Wiegley | 2010-05-30 | 1 | -4/+5 |
| | |||||
* | Tags were not being set properly on postings | John Wiegley | 2010-03-17 | 1 | -15/+22 |
| |