John Wiegley
7fae606d62
Merge branch 'next'
2009-10-26 19:09:24 -04:00
John Wiegley
3fdd75fb5b
Balance assertions now really assert
...
There are two kinds of balance related options for a posting: a balance
assignment, where the amount of the posting is blank and so it fills it
in to make the assertion true; and plain assertions, where the amount is
not blank and an error is reported if the balance does not match the
given amount after the posting is taken into account.
2009-10-26 19:08:15 -04:00
John Wiegley
4f11ded5bc
Added t and T as valexpr synonyms
...
t = display_amount, T = display_total
2009-10-26 18:52:43 -04:00
John Wiegley
151a8d87ee
Fixed sorting in bal reports when --flat is used
...
Note that sorting on the "total" is not the same thing as sorting on the
"display_total" when multiple commodities are in use and the -X flag is
selected! One should always sort on display_total, since that's the
value which is shown in the report. 'T' is a synonym for display_total.
2009-10-26 18:52:26 -04:00
John Wiegley
d85a415bc5
In the balance report, don't output any account twice
2009-10-26 17:23:46 -04:00
John Wiegley
1ed22646f1
Added an "echo" command, for REPL testing
2009-10-26 17:17:23 -04:00
John Wiegley
8999607408
If a pricing entry fails to parse, give an error
2009-10-26 17:17:12 -04:00
John Wiegley
feff681f44
Improved argument parsing logic used by the REPL
...
It now handles quoted strings, although it doesn't understand escape
sequences yet.
2009-10-26 17:17:01 -04:00
John Wiegley
92d1bbbe75
Don't run the pre-comment hook for the next branch
2009-10-25 23:11:30 -04:00
John Wiegley
1f5ceb0db5
Added beginning draft of manual for 3.0
...
This is being kept in Scrivener format, for ease of writing.
2009-10-25 23:11:30 -04:00
John Wiegley
9dadaebfeb
Merge branch 'next'
2009-10-25 21:27:56 -04:00
John Wiegley
e696bfd913
Added Boost variable definitions for opt builds
2009-10-25 21:27:40 -04:00
John Wiegley
a8182c32bd
Fixed the Boost facet-based time parsing code
2009-10-25 18:55:13 -04:00
John Wiegley
05529b2c68
Call times_initialize/shutdown in the unit tests
2009-10-25 05:40:26 -04:00
John Wiegley
f25a32c92c
Whitespace and comment changes
2009-10-25 05:40:10 -04:00
John Wiegley
b061c8082f
Export times_initialize and times_shutdown to Python
2009-10-25 05:39:59 -04:00
John Wiegley
ca1560d53d
Fixed overflow bug introduced by the warning fixes
2009-10-25 05:39:47 -04:00
John Wiegley
2899e3f852
Build Boost before CPPUnit in lib/Makefile
2009-10-25 05:01:47 -04:00
John Wiegley
2c8e7485a7
Fixed the memory tracing code (used by --verify)
2009-10-25 05:01:47 -04:00
John Wiegley
e2875f47ec
Added some extra storage checks to value_t
2009-10-25 05:01:47 -04:00
John Wiegley
26ae1fdfad
New valexpr functions: id, idstring, magnitude
...
id returns a unique SHA1 id of a transaction.
idstring is the string that the SHA1 is based on.
magnitude is the sum of the positive side of a transaction.
2009-10-25 05:01:47 -04:00
John Wiegley
5a970554b8
The UTF8 code is now unchecked if --verify is off
2009-10-25 05:01:47 -04:00
John Wiegley
9b13e77ff5
Improved debug output of "--debug expr.calc"
2009-10-25 05:01:47 -04:00
John Wiegley
fc84eeb358
Rewrote the way date and time I/O is managed
2009-10-25 05:01:47 -04:00
John Wiegley
588f2ef2f5
Fixed many compiler warnings from g++ 4.4
2009-10-25 05:01:39 -04:00
John Wiegley
dc66840dd7
Running acprep now checks for submodule updates
2009-10-25 05:01:17 -04:00
John Wiegley
b4fc89ac29
Clarified some boolean logic in acprep
2009-10-25 05:01:17 -04:00
John Wiegley
d258bbc2f5
Added more warning options if acprep --warn is used
2009-10-25 05:01:17 -04:00
John Wiegley
34c30fc25c
Disable build warnings by default
...
Also, make them errors if --warn is enabled.
2009-10-25 04:30:29 -04:00
John Wiegley
7928b64910
Updated dependencies list of Mac OS X
2009-10-25 04:30:05 -04:00
John Wiegley
3ae2fdb260
Removed unnecessary use of BOOST_VERSION in acprep
2009-10-25 04:29:43 -04:00
John Wiegley
48d24e2a4c
Use boost::iostreams::file_descriptor_sink
...
This is instead of the custom fdstream.hpp file I was distributing.
2009-10-25 04:28:49 -04:00
John Wiegley
f35bc939c9
Added a note about "acprep update" to README
2009-10-11 14:07:55 -04:00
John Wiegley
6b2964d14e
Removed -j option from pre-comment example
2009-10-11 05:29:01 -04:00
John Wiegley
f161aea8ce
Removed reliance on strptime/strftime
...
The code now uses Boost's input and output facets for times and dates.
This ensures completely consistency regarding timezones and times, and
fixes the regression test that was broken while I was away coding in
London (where it was GMT-0 and I didn't notice the difference between
local and GMT).
2009-10-11 05:19:01 -04:00
John Wiegley
1a8e835bfe
Disabled the --seed regression test
...
There is already a much more comprehensive test for "generate --seed".
2009-10-11 05:10:43 -04:00
John Wiegley
475014a14b
Added some missing casts, upgraded to Boost 1.40
2009-10-09 19:50:23 -04:00
John Wiegley
071273aa3e
Another table formatting fix.
2009-10-09 19:49:13 -04:00
John Wiegley
abad90fb8d
Updated README.textile to correct table formatting.
2009-10-09 19:48:01 -04:00
John Wiegley
752677edf0
Merge commit 'kljohann/master' into next
2009-06-29 16:17:22 +01:00
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