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
John Wiegley
5ac73e1a1f
The print command now implies --actual
2009-06-28 17:37:16 +01:00
John Wiegley
2cec787182
Disable use of ~/.pricedb when --args-only is present
2009-06-28 16:11:45 +01:00
John Wiegley
0283f444c5
Date and time are optional for pricing directives
2009-06-28 16:06:27 +01:00
John Wiegley
bad1b13680
value_t::dump now faithfully represents strings
2009-06-28 16:00:29 +01:00
John Wiegley
b90ec25522
Reject downloaded quotes price in the wrong commodity
2009-06-28 15:57:49 +01:00
John Wiegley
e8f315f00d
Correctly align amounts formatted as "%12(amount)"
2009-06-28 15:53:46 +01:00
John Wiegley
6e582a8777
Added four missing baseline tests
2009-06-28 15:51:05 +01:00
John Wiegley
6fbce9dd1a
Merge commit 'kljohann/master' into next
2009-06-28 12:38:12 +01:00
John Wiegley
d0c47b1bc2
Added debug code "option.names"
...
Use "--debug option.names" to see all accepted (internal) option names.
2009-06-27 01:48:41 +01:00
John Wiegley
7b05595699
Improved usefulness of the "print --anon" output
2009-06-27 01:45:31 +01:00
John Wiegley
bf30f989f6
Removed some dead code
2009-06-27 01:32:46 +01:00
John Wiegley
2ef1934bb0
Restored --price option, added baseline test
...
This option reports only in terms of the annotated price of the
commodities involved, otherwise it reports the amounts themselves. It
can be used in conjunction with other reports, as it applies to the
displayed amounts, not the actual amounts being calculated.
2009-06-26 17:15:35 +01:00
John Wiegley
4574c30fcf
The --download option is now fully restored
2009-06-26 16:52:41 +01:00
John Wiegley
1fad2ec7c1
More refactoring for --download
2009-06-24 18:08:56 +01:00
John Wiegley
0663ac0a2a
Moved commodity_quote_from_script to quotes.cc
2009-06-24 16:53:50 +01:00
John Wiegley
ba6254fd45
Moved a function
2009-06-24 16:50:12 +01:00
John Wiegley
991e3a3eaf
Split commodity.h/cc into three files
...
commodity.h - code for commodity_t
annotate.h - commodity annotations
pool.h - commodity pool management
2009-06-24 16:43:46 +01:00
John Wiegley
77d69d0e24
Removed unneeded header files: ledger.h, pyledger.h
2009-06-24 16:33:45 +01:00
John Wiegley
440124eacc
Restored --download, although not done yet
...
The problem at this point is that it's recording prices in the price
database multiple times; it should only need to download a price for
each commodity once per day.
2009-06-24 02:44:07 +01:00
Johann Klähn
1d8111b43c
Fix small 'bug' on accounts with spaces
2009-06-23 01:20:20 +02:00
John Wiegley
72a2eaa38e
Upgraded Boost version reference to 1.39
2009-06-22 15:59:34 +01:00
John Wiegley
f8c3b4cad8
Fixed the --args-only option (sequence problem)
2009-06-22 00:29:14 +01:00
John Wiegley
407d057f4d
Added a --no-color option, to disable --color
2009-06-22 00:27:00 +01:00