John Wiegley
c5352f09a4
Simplified an else clause in test/run
2011-02-04 19:19:09 -05:00
John Wiegley
1719e6cd6c
Don't build Boost/ICU by default in lib/Makefile
2011-02-04 19:16:38 -05:00
John Wiegley
67047670a0
lib/Makefile now uses GCC_VERSION for building
2011-02-04 15:33:16 -05:00
John Wiegley
c313cee085
Fixed several unit tests
2011-02-04 04:40:31 -05:00
John Wiegley
8c81a1decb
Use MacPorts Python when I build with Clang
2011-02-04 04:28:22 -05:00
John Wiegley
2a2c3c1cec
Use Boost.Test instead of CppUnit
2011-02-04 03:43:33 -05:00
John Wiegley
c9730d781c
Fixed compiler warnings when building with Clang
2011-02-04 03:07:47 -05:00
Johann Klähn
67aadeb808
vim. fix unset completion type
2011-01-04 16:30:04 -05:00
John Wiegley
b52011c7b2
Use boost-release when building ledger/lib
2011-01-04 15:04:50 -05:00
Matt Palmer
09a95b474c
Doc: Cannot separate multiple files with colons
2010-12-30 02:44:01 -05:00
Matt Palmer
f17125150c
Doc: Each option in ledgerrc must go on it's own line
2010-12-30 02:43:52 -05:00
John Wiegley
958a61ede5
New command: org, for displaying Org-mode tables
2010-12-22 15:34:06 -05:00
John Wiegley
dafe7c891a
Added "top_amount" value expr function
2010-12-22 15:32:34 -05:00
John Wiegley
d2ac9f7eaf
Create format_t::mark_uncompiled
2010-12-22 15:31:35 -05:00
John Wiegley
edc5371bd3
Whitespace fix
2010-12-22 14:14:42 -05:00
John Wiegley
c00188d6a8
Increase display precision of hours to 2 places
2010-12-12 19:13:44 -05:00
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