John Wiegley
8fa5d1c59c
Changed Git commends for BETA and ALPHA
2010-12-09 17:20:30 -05:00
John Wiegley
0be39fce6a
Parse %m/%d/%Y %H:%M:%S as an input date/time
...
This is to support reading of Timelog files.
2010-12-04 12:51:40 -05:00
John Wiegley
9bdb384df7
Update to Boost 1.45
2010-11-26 19:04:51 -05:00
John Wiegley
8626409678
Removed test/input/speed-test.dat
2010-11-26 19:02:07 -05:00
John Wiegley
460ad6ee76
Merge remote branch 'kljohann/vim' into next
2010-11-09 09:14:57 -06:00
Johann Klähn
64ce9e2e99
vim. highlight typed tags
...
See mailing list on June 12 2010 / "New: Support for typed metadata"
Message-Id: <D22C04C4-64F7-49B9-8006-2F7F97A4298A@gmail.com>
2010-10-07 18:09:01 +02:00
John Wiegley
6901c3bd55
Added acprep support for building with Clang
2010-10-07 01:56:18 -04:00
John Wiegley
5fd91d26ce
Corrected syntax errors found by Clang
2010-10-07 01:51:38 -04:00
John Wiegley
e2c31a6bc2
Removed extraneous semicolons from utfcpp
2010-10-06 15:55:01 -04:00
Johann Klähn
4d56417f75
vim. parse comments at eol in parse_body()
2010-09-15 21:18:23 +02:00
Johann Klähn
2a82edb9f0
vim. highlight metadata on same line as posting
2010-09-15 20:46:18 +02:00
Johann Klähn
4886646614
vim. fix off-by-one bug in ToggleTransactionState
2010-09-15 20:08:22 +02:00
Johann Klähn
453327a180
vim. fix issue with description in from_lnum()
...
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
2010-09-15 20:03:27 +02:00
Johann Klähn
c2384b6046
vim. fix highlighting of comments at end of line
2010-09-13 13:09:17 +02:00
Johann Klähn
0f81c67c29
vim. change syntax file to allow comments at eol
2010-09-13 12:55:36 +02:00
Johann Klähn
86153f670d
vim. remove tag completion for now
2010-09-12 14:23:30 +02:00
Johann Klähn
3a679a695d
vim. avoid misinterpretion of 1 char words
2010-09-12 14:18:06 +02:00
Johann Klähn
1be3a79385
vim. check for most common case first (parse_body)
2010-09-08 23:29:36 +02:00
Johann Klähn
6c0ccd5ffd
vim. add LedgerToggleTransactionState()
...
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.
2010-09-08 23:24:39 +02:00
Johann Klähn
58fcb0f30f
vim. make sure cursor/line is on a transaction
...
Thanks to Chad Voegele for reporting and fixing this in
the first place.
2010-09-08 22:31:42 +02:00
Johann Klähn
019a60e6d1
vim. update s:get_columns()
2010-09-08 22:18:28 +02:00
Johann Klähn
e4060eb421
vim. get transactions in a range of lines
2010-09-08 17:34:38 +02:00
Johann Klähn
eea6f33a2e
vim. fix return type of s:transaction.from_lnum()
2010-09-08 17:34:05 +02:00
Johann Klähn
f7f8432c52
vim. add function to parse postings
2010-09-08 14:48:28 +02:00
Johann Klähn
ae3a8b6e11
vim. add case of automatic transactions
2010-09-08 14:44:34 +02:00
Johann Klähn
84fea7f136
vim. reimplement function to change state
...
Note: You now have to provide the line number:
call LedgerSetTransactionState(line('.', '*')
2010-09-08 10:23:06 +02:00
Johann Klähn
f8c804ac79
vim. allow use of 0 as timestamp
...
To remove the effective date you would now call the function like this:
call LedgerSetDate(line('.'), 'effective', -1)
2010-09-08 10:10:09 +02:00
Johann Klähn
66b39c46d1
vim. add function to modify actual/effective date
...
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')
2010-09-08 10:01:44 +02:00
Johann Klähn
cf40d1c9d7
vim. introduce basic transaction 'class'/concept
2010-09-08 10:00:17 +02:00
Johann Klähn
2dff4dea3f
vim. add function to change item state ~ reconcile
...
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.
2010-09-07 21:05:08 +02:00
Johann Klähn
04f564f01c
vim. use ledger print as 'formatprg'
...
You can now try to select some lines using V (visual mode)
and have them automatically formatted using gq
2010-09-07 17:59:26 +02:00
John Wiegley
ab24901b9d
Made -> have higher precedence than comma
2010-09-06 01:01:20 -04:00
John Wiegley
84780270f9
Added initial support for lambda functions
2010-09-06 00:56:00 -04:00
John Wiegley
e162455ebb
Minor simplifications to valexpr parser
...
The most significant change is the way CONS sequences are parsed, and
that now instead of =/:=, the operators are ==/=.
2010-09-05 01:38:47 -04:00
John Wiegley
9fcf484826
Moved up to Boost 1.44
2010-08-24 00:03:52 -04:00
John Wiegley
ff07cc6c6f
Added regression test for 7C44010B
2010-08-16 16:28:08 -04:00
John Wiegley
4d155045a0
Added regression test for 9EB10714
2010-08-16 16:24:37 -04:00
Johann Klähn
0570c9c416
vim. display warning messages in quickfix window
...
To use this option you must set g:ledger_bin = "ledger --strict"
before the compiler plugin is loaded (your .vimrc for example).
2010-08-14 12:24:46 +02:00
Martin Michlmayr
2a787205b4
Corrected syntax error in new ledger3 doc
2010-07-30 05:01:27 -04:00
John Wiegley
48a5823181
Based symbol_needs_quotes an invalid_chars ( #386 )
2010-07-29 03:45:01 -04:00
John Wiegley
9edf413d9d
Boost.Python fixes now that item_t is abstract
2010-07-29 03:36:54 -04:00
John Wiegley
58b5973c8e
Updated README-1ST file
2010-07-02 17:26:38 -04:00
John Wiegley
4d1eea90c5
Added baseline test for "check" feature
2010-06-26 01:17:08 -04:00
John Wiegley
03912a44ab
The "source" command now accepts code from stdin
2010-06-26 01:09:07 -04:00
John Wiegley
61fcfd0698
The "print" valexpr function no longer adds spaces
2010-06-26 01:08:23 -04:00
John Wiegley
64c6329b5d
Added baseline tests for --meta and --meta-width
2010-06-26 01:07:30 -04:00
John Wiegley
e8fe3649c2
Added baseline test for --now
2010-06-26 01:04:32 -04:00
John Wiegley
c78f84cef2
Added baseline tests for prepend-format/width
2010-06-26 00:58:30 -04:00
John Wiegley
bd5a136ad0
Move balance divider right by prepend-width
2010-06-26 00:36:55 -04:00
John Wiegley
8a29c03490
Added "format" value expression function
...
This function evaluates formatting strings, returning a string. For
example:
format("%(amount)")
This is equivalent to "to_string(amount)".
2010-06-24 20:37:31 -04:00