summaryrefslogtreecommitdiff
path: root/src/draft.cc
Commit message (Collapse)AuthorAgeFilesLines
* disable checking for generated transactionsTavis Ormandy2024-08-081-0/+3
| | | | | | | | | There is no parse_context_stack for generated transactions, because they were not parsed from anywhere. This breaks strict checking, because errors can't be reported. It doesn't make sense to report errors for these anyway, so lets just disable them.
* fix use-after-free with regex_match()Tavis Ormandy2024-08-081-4/+4
| | | | | | The smatch does not copy the input, it points to the original. So if the string is on the stack and goes out of scope because it's only used as a parameter, it will just be junk. Make a copy of it at a higher scope.
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Fix using day-of-week names for `xact` commandAlan Bram2021-04-101-13/+13
| | | | Also fix end-of-command boundary checks for keywords "at", "to", etc.
* Fix some boost format stringsTommi Komulainen2019-01-171-1/+1
| | | | | | Fixes: Error: boost::bad_format_string: format-string is ill-formed
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [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]
* 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}/"
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-3/+3
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-3/+3
|
* Resolve some issues with proof buildsJohn Wiegley2012-04-151-7/+7
|
* Change some #if guards to test for gcc 4.7John Wiegley2012-03-171-2/+2
|
* Reworked the way that options are handledJohn Wiegley2012-03-091-1/+1
|
* Corrected several compile and link problemsJohn Wiegley2012-03-061-0/+7
|
* Use unique_ptr instead of std::auto_ptrJohn Wiegley2012-03-051-2/+2
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Added STR() utility functionJohn Wiegley2012-02-291-3/+1
|
* Fixes for variable shadowing (11/28)John Wiegley2012-02-171-2/+2
|
* Fixes for variable shadowing (10/28)John Wiegley2012-02-171-3/+2
|
* Removed unused variablesJohn Wiegley2011-08-181-10/+0
|
* Lookup probable accounts in reverse historical orderJohn Wiegley2011-07-191-4/+4
| | | | Fixes #510
* Untabified all source filesJohn Wiegley2010-06-111-222/+222
|
* Corrected behavior of "draft" argument parserJohn Wiegley2010-06-101-37/+36
|
* Ommitting args to the entry command print nothingJohn Wiegley2010-05-221-1/+5
|
* When deriving, don't carry over the code or notJohn Wiegley2010-03-101-6/+6
|
* Corrected a debug stringJohn Wiegley2010-03-101-1/+1
|
* Added experimental account lookup logicJohn Wiegley2010-03-081-9/+17
| | | | | This is used by the "xact" command, and the CSV importer. It is very slow O(xacts*records).
* Rewrite the "print" command as a custom functionJohn Wiegley2010-03-081-5/+2
| | | | | There ended up being too many corner cases for the generalized formatter to handle.
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Cost of a post with neg. amount should be negativeJohn Wiegley2009-12-071-0/+3
|
* Added some missing calls to add_postJohn Wiegley2009-11-111-0/+2
|
* Redesigned the draft_t classJohn Wiegley2009-11-091-0/+525