Commit graph

3539 commits

Author SHA1 Message Date
John Wiegley
21a123e525 Corrected a lingering reference to a temporary
Fixes: CEE57FBC-DF19-40DD-901D-68B1AEC29888
2011-02-10 23:00:18 -05:00
John Wiegley
a8b02cacd7 Added support for Ubuntu Lucid to acprep 2011-02-04 23:15:48 -05:00
John Wiegley
986afb43d0 Define BOOST_IOSTREAMS_USE_DEPRECATED 2011-02-04 23:07:39 -05:00
John Wiegley
0f8e0251f4 Fixed a bug preventing g++ 4.6 from working 2011-02-04 22:53:22 -05:00
John Wiegley
2208ac1226 Fixes for compilation as C++0x code 2011-02-04 22:39:41 -05:00
John Wiegley
e0c42ff443 Added --gcc46 and --cpp0x options to acprep 2011-02-04 22:35:18 -05:00
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