Commit graph

2115 commits

Author SHA1 Message Date
Johann Klähn
2aa9f5115c vim. remove old completion by keyword 2009-06-29 16:41:36 +02:00
Johann Klähn
d680df8712 vim. Update README 2009-06-29 16:41:35 +02:00
Johann Klähn
396e1a5002 Fix account completion for virtual transactions 2009-06-29 16:41:35 +02:00
Johann Klähn
84e6a6e926 vim. list 'deeper' entries first (completion) 2009-06-29 16:41:35 +02:00
Johann Klähn
a853a1c59a vim. some refactoring 2009-06-29 16:41:35 +02:00
Johann Klähn
fbf211c95e vim. basic support for tag completion 2009-06-29 16:41:35 +02:00
Johann Klähn
7aabf29285 vim. add function to collect all tags in a file 2009-06-29 16:41:34 +02:00
Johann Klähn
4156a0488c vim. fix for accounts with spaces 2009-06-29 16:41:34 +02:00
Johann Klähn
3b1898f3e8 vim: add current text to completion 2009-06-29 16:41:33 +02:00
Johann Klähn
4621f1117e vim: First try on omni completion for account names
That is a completion which is aware of what it should complete.
Currently only account names are supported.
When you insert an account name like this:
  Asse<C-X><C-O>
You will get a list of top-level accounts that start like this.
Go ahead and try something like:
  As:Ban:Che<C-X><C-O>
When you have an account like this, 'Assets:Bank:Checking'
should show up.
2009-06-29 16:41:33 +02:00
Johann Klähn
1d8111b43c Fix small 'bug' on accounts with spaces 2009-06-23 01:20:20 +02:00
Johann Klähn
8e8d9e5c85 vim: add README 2009-06-17 23:27:33 +02:00
Johann Klähn
360025ac2f vim: fill text for "table" can be modified 2009-06-17 23:24:01 +02:00
Johann Klähn
7654ecc102 vim: complete account names with compl-keyword
Basic support for keyword completion (<C-X> <C-N>)
Will only work on account names with no spaces
2009-06-17 21:48:11 +02:00
Johann Klähn
9701548f7e vim: highlight account names
This helps to avoid confusion when an account is not
seperated from the amount by two spaces or a tab but only by one space.
In these cases the amount will now be highlighted
as if it belongs to the account name.

Thanks to user 'plaindocs' for reporting this.
2009-06-17 12:40:50 +02:00
Johann Klähn
b96df34d75 ledger.vim: split into multiple files
for better extendability
2009-06-15 23:37:57 +02:00
Johann Klähn
7c67866b22 ledger.vim: use full width, not only 80 chars
Also add option g:ledger_maxwidth to provide old behaviour
by putting a line like this in .vimrc:
let g:ledger_maxwidth = 80

I think that it would make sense to put all the functions and
everything that has to do with foldtext in ftplugin/ledger.vim
2009-06-12 23:09:55 +02:00
John Wiegley
0e9f782a05 Added % suffix operator, as in "$1.00 * 10%" 2009-05-26 23:45:44 -05:00
John Wiegley
d2062bb54c Temporarily disable the opt-forecast-while test 2009-05-26 23:43:47 -05:00
Andrew Potter
684a9c6cbf Fix pointer const-ness in parse_tags() 2009-05-26 22:47:07 -05:00
John Wiegley
98e6075af8 acprep upload was deleting the file after upload 2009-03-31 16:31:18 -04:00
John Wiegley
e282d55d63 Johann Klähn: Updated ledger.vim to 0.0.5 2009-03-26 16:38:41 -04:00
John Wiegley
ca42f2b9a7 Johann Klähn: Added metadata support for ledger.vim 2009-03-24 18:07:56 -04:00
John Wiegley
025af3c189 Corrected a syntax error in a gettext usage 2009-03-24 17:35:31 -04:00
John Wiegley
0918f9d4f5 Don't instantiate duration_t using default ctor 2009-03-23 19:21:27 -04:00
John Wiegley
8b175c7d6d Removed old ledger disk images when uploading 2009-03-23 17:21:53 -04:00
John Wiegley
2ec34b280f Fixes to the final binary .dmg creation 2009-03-23 17:15:07 -04:00
John Wiegley
9b22251ddd Recursively translate library names for bindmg 2009-03-23 16:39:45 -04:00
John Wiegley
dda7c3a58a Rewrote the date interval parser/stepper
The new implementation uses boost::gregorian::date_duration objects,
rather than manually stepping.
2009-03-23 01:22:26 -04:00
John Wiegley
aba7a39e87 Added bindmg and upload phases, for my own use 2009-03-22 20:07:15 -04:00
John Wiegley
ed8f5e04c0 Changed "dependencies" phase for CentOS systems
It's still not complete yet, because MPFR isn't part of the CentOS
package set.
2009-03-19 03:10:29 -04:00
John Wiegley
d0ea10f9a7 Rewrote the interval_t class
The purpose of this rewrite is to greatly simplify the code that walks
through time periods, toward opening up the possibility in future of
allowing exclusions and logically combined periods, such as "weekly
except weekends".  The new code is much simpler to use, as well as
simpler internally, and yet is more robust at the same time.
2009-03-16 04:02:56 -04:00
John Wiegley
f1523b5464 The new code is working now. 2009-03-16 03:44:27 -04:00
John Wiegley
f2c60057ef Restored all the old code, though not tested yet 2009-03-16 00:09:39 -04:00
John Wiegley
585b3a246d Added feature to "align" the interval's start date 2009-03-15 23:51:46 -04:00
John Wiegley
a05353e269 First iteration of the new date_interval_t rewrite 2009-03-15 22:39:44 -04:00
John Wiegley
1889d449b6 Added a missing * operation 2009-03-15 22:39:44 -04:00
John Wiegley
8beed3f8bd Removed an unnecessary member variable 2009-03-15 22:39:44 -04:00
John Wiegley
0de43f483b Started breaking up interval_t into range_t 2009-03-15 22:39:44 -04:00
John Wiegley
63080a7275 Added two new regression tests
These prove Simon's recent balance report bugs.
2009-03-15 22:35:06 -04:00
John Wiegley
16c77af9c9 If 2+ child accounts are shown, show the parent
Also, also show a final balance if there are multiple accounts
displayed, even if that final balance is zero.
2009-03-15 21:31:06 -04:00
John Wiegley
d0963ece02 If a balance report is multi-lined, print a total 2009-03-15 04:14:03 -04:00
John Wiegley
dbcaa35d4b Fixed a bug in the man page 2009-03-15 04:05:06 -04:00
John Wiegley
248a8f5180 Do not set ARCHFLAGS by default for Darwin
I'm not using these yet, since it's impossible to build a fully
universal binary on my machine due to the way GMP is built by MacPorts.
2009-03-11 19:32:22 -04:00
John Wiegley
f2eb941ab6 Fixed the acprep distcheck build 2009-03-11 19:15:16 -04:00
John Wiegley
97784f72a2 Moved a variable initialization 2009-03-11 19:08:52 -04:00
John Wiegley
93e9b2b7af Ensure that ledger-proof exists when needed 2009-03-11 06:26:41 -04:00
John Wiegley
273a1084ba Added a buildlibs phase, for rebuilding Boost
The advantage here is that it setups up the compiler path correctly.
2009-03-11 03:21:01 -04:00
John Wiegley
6b77e6868c Execution errors in acprep now stop the build 2009-03-10 19:39:44 -04:00
John Wiegley
1b4ce1b0b9 Added make rule to build mondo.dat 2009-03-10 19:30:13 -04:00