summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* vim. highlight typed tagsJohann Klähn2010-10-071-2/+4
| | | | | See mailing list on June 12 2010 / "New: Support for typed metadata" Message-Id: <D22C04C4-64F7-49B9-8006-2F7F97A4298A@gmail.com>
* vim. parse comments at eol in parse_body()Johann Klähn2010-09-151-13/+18
|
* vim. highlight metadata on same line as postingJohann Klähn2010-09-151-1/+1
|
* vim. fix off-by-one bug in ToggleTransactionStateJohann Klähn2010-09-151-1/+1
|
* vim. fix issue with description in from_lnum()Johann Klähn2010-09-151-3/+4
| | | | | | | | | | | | Thanks to Chad Voegele, see mailing list ledger-cli@googlegroups.com: Whenever I had a transaction such as 2010/09/10 * castle bar, nyc (beer) the transaction.from_lnum function would recognize (beer) as the code for the transaction which is incorrect since it comes at the end of the line. Message ID: 73e397f4-234e-46fe-87e5-45f86f934bf1@k30g2000vbn.googlegroups.com
* vim. fix highlighting of comments at end of lineJohann Klähn2010-09-131-1/+2
|
* vim. change syntax file to allow comments at eolJohann Klähn2010-09-131-31/+24
|
* vim. remove tag completion for nowJohann Klähn2010-09-121-64/+5
|
* vim. avoid misinterpretion of 1 char wordsJohann Klähn2010-09-121-1/+1
|
* vim. check for most common case first (parse_body)Johann Klähn2010-09-081-7/+7
|
* vim. add LedgerToggleTransactionState()Johann Klähn2010-09-081-6/+31
| | | | | | | | | | | By using call LedgerToggleTransactionState(line('.'), ' *?') the state of the transaction will toggle through: no state -> * -> ? -> no state -> … beginning at what ever state it currently has. Adjust to your liking. Thanks to Chad Voegele for the suggestion.
* vim. make sure cursor/line is on a transactionJohann Klähn2010-09-081-0/+5
| | | | | Thanks to Chad Voegele for reporting and fixing this in the first place.
* vim. update s:get_columns()Johann Klähn2010-09-081-8/+16
|
* vim. get transactions in a range of linesJohann Klähn2010-09-081-0/+35
|
* vim. fix return type of s:transaction.from_lnum()Johann Klähn2010-09-081-2/+2
|
* vim. add function to parse postingsJohann Klähn2010-09-081-0/+75
|
* vim. add case of automatic transactionsJohann Klähn2010-09-081-2/+17
|
* vim. reimplement function to change stateJohann Klähn2010-09-081-1/+14
| | | | | Note: You now have to provide the line number: call LedgerSetTransactionState(line('.', '*')
* vim. allow use of 0 as timestampJohann Klähn2010-09-081-1/+1
| | | | | To remove the effective date you would now call the function like this: call LedgerSetDate(line('.'), 'effective', -1)
* vim. add function to modify actual/effective dateJohann Klähn2010-09-081-0/+35
| | | | | | | This allows you to set the effective date in a convenient way. Maybe I will add date selection using calendar.vim by Yasuhiro Matsumoto. Until then, you can map this to use today's date: call LedgerSetDate(line('.'), 'effective')
* vim. introduce basic transaction 'class'/conceptJohann Klähn2010-09-081-27/+54
|
* vim. add function to change item state ~ reconcileJohann Klähn2010-09-071-0/+35
| | | | | | | | | | | To try this, map or call the following function: LedgerSetTransactionState('') – removes state LedgerSetTransactionState('*') – sets 'checked' state … The logic used to distinguish the different parts of the first line of a transaction is rather basic but proved to work so far.
* vim. use ledger print as 'formatprg'Johann Klähn2010-09-072-7/+18
| | | | | You can now try to select some lines using V (visual mode) and have them automatically formatted using gq
* vim. display warning messages in quickfix windowJohann Klähn2010-08-141-2/+3
| | | | | To use this option you must set g:ledger_bin = "ledger --strict" before the compiler plugin is loaded (your .vimrc for example).
* Merge branch 'next'John Wiegley2010-06-2391-3638/+4999
|\
| * v3.0.0-20100623 (b2)John Wiegley2010-06-231-1/+1
| |
| * Remove use of --enable-cache in tools/pushJohn Wiegley2010-06-231-1/+1
| |
| * 'make check' for gcov shouldn't listen to -jJohn Wiegley2010-06-233-4/+6
| |
| * Added a command-line test runner named test/runJohn Wiegley2010-06-221-0/+45
| |
| * Added report query modifiers: for, since, untilJohn Wiegley2010-06-225-47/+131
| | | | | | | | | | | | | | | | | | Now instead of ledger reg expense -p "this month", you can say: ledger reg expense for this month And as a shorthand for "for until this month", you can just say "until this month" or "since this month".
| * Extended feat-fixated-prices.testJohn Wiegley2010-06-221-0/+12
| |
| * Price annotation no longer inject an implied costJohn Wiegley2010-06-227-3176/+2979
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider the following transaction: 2010-06-22 Sample Assets:Brokerage 10 AAPL {$30} Assets:Brokerage Previously, this would have been equivalent to: 2010-06-22 Sample Assets:Brokerage 10 AAPL @ $30 Assets:Brokerage However, this is not always what the user expects to happen. When @ is not being used, the transaction should reflect a mere transfer of commodities. This is now how it works, and thus the above transaction is now equivalent to the following instead: 2010-06-22 Sample Assets:Brokerage 10 AAPL {$30} Assets:Brokerage -10 AAPL {$30}
| * Don't do cost finalization for auto/period xactsJohn Wiegley2010-06-221-48/+50
| |
| * Added has_date() method to item_tJohn Wiegley2010-06-221-0/+4
| |
| * The notions of "now" and "today" now use local timeJohn Wiegley2010-06-221-3/+3
| |
| * Added new "bold" modifier to query expressionsJohn Wiegley2010-06-227-133/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For example: ledger bal assets bold checking Or you can use expressions: ledger bal assets bold '=total > 1000' This last is identical to saying: ledger bal -l 'account =~ /assets/' --bold-if='total > 1000'
| * Regression and generate tests now fail properlyJohn Wiegley2010-06-222-12/+18
| |
| * Added new --bold-if optionJohn Wiegley2010-06-224-17/+61
| |
| * Balances and sequences can be compared to amountsJohn Wiegley2010-06-221-16/+4
| |
| * Fixed typo in previous commit's regression testJohn Wiegley2010-06-211-1/+1
| |
| * bal was sometimes reporting empty accountsJohn Wiegley2010-06-214-6/+31
| |
| * Change weighting of account-name abbreviationJohn Wiegley2010-06-216-9/+9
| | | | | | | | | | Parent accounts are abbreviated even more, so that child accounts can show more text.
| * Added a regression test for the previous commitJohn Wiegley2010-06-211-0/+12
| |
| * Corrected a major flaw in the transaction finalizerJohn Wiegley2010-06-211-2/+3
| | | | | | | | | | | | When a transaction has two commodities, but also a null posting, no attempt should be made to resolve the costs in terms of the primary commodity.
| * Improvements to time period parsingJohn Wiegley2010-06-211-8/+190
| | | | | | | | | | Things like "since last month" and "4 weeks ago", and "since 4 weeks ago" are now all working.
| * Added tests for sole budget/forecast reportsJohn Wiegley2010-06-212-0/+86
| |
| * Corrected a compilation warningJohn Wiegley2010-06-211-2/+3
| |
| * Fixed an incorrect path in tools/proofJohn Wiegley2010-06-211-2/+2
| |
| * 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.
| * Output budget even if no postings directly matchedJohn Wiegley2010-06-202-4/+2
| |