Commit graph

2103 commits

Author SHA1 Message Date
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
John Wiegley
f20a644c98 Fixed how the environment is setup in acprep 2009-03-10 18:51:59 -04:00
John Wiegley
78b303515e Re-enabled use of _GLIBCXX_DEBUG on my machine 2009-03-10 18:41:39 -04:00
John Wiegley
7b829af6ae Removed default optimization flag -march=native 2009-03-10 17:11:39 -04:00
John Wiegley
110f0b8023 Enabled use of pre-compiled headers by default 2009-03-10 17:02:03 -04:00
John Wiegley
4f62bb17c1 Refactored some code in acprep 2009-03-10 05:01:25 -04:00
John Wiegley
542e2950af Normalized some #ifdef's to #if defined 2009-03-10 04:46:40 -04:00
John Wiegley
a982af13f3 Simplified Makefile.am somewhat
I removed some extraneous macro expansions which owed to my lack of
understanding of automake previously.
2009-03-10 03:27:19 -04:00
John Wiegley
36b38c1194 Fixed the 'acprep distcheck' build 2009-03-10 02:07:05 -04:00
John Wiegley
6fe6882ee4 Only clean if needed, not whenever acprep changes 2009-03-10 01:51:06 -04:00
John Wiegley
c1a8c78e20 Made -fpch-deps a default flag if PCH is enabled
This helps to build things correctly if a dependency like fdstream.h
changes, or there is an external update to a package.
2009-03-09 22:20:30 -04:00
John Wiegley
2fc24b6c0b Disable use of _GLIBCXX_DEBUG by default 2009-03-09 22:11:47 -04:00
John Wiegley
3b23823ea7 Disabled warning on not finding ledger/__init__.py
This warning is completely harmless, and was downgraded to a debug
message.
2009-03-09 22:08:24 -04:00