David Hampton
f28d033d74
Collapse the gnome2 branch back into HEAD.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Linas Vepstas
8113c9ccaf
fix null pointer deref
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10229 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 18:46:44 +00:00
Linas Vepstas
0d5411a571
sync with German Wiki (I'm copying the description I wrote there to here).
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10189 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-10 14:33:09 +00:00
Linas Vepstas
441046b19e
add check -- cap gains not possible is value and amount are in the same
...
currency
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10171 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-06 14:39:19 +00:00
Linas Vepstas
f732926232
remove really dorky memory leak during debug printing
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10160 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-04 17:26:50 +00:00
Linas Vepstas
1a66b7b8d4
improved diagnostic messages
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10154 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-04 04:26:01 +00:00
Linas Vepstas
cc663f2098
-- reject voided transactions in cap-gains caluclations;
...
-- improve diagnostic error messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10147 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-03 18:57:31 +00:00
Linas Vepstas
fdbd2da2ab
-- improve debug printing messages.
...
-- re-order math to make overflow less like to occur
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10131 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-02 04:03:59 +00:00
Linas Vepstas
5870f0d581
add some debug statements,
...
audit the math usage,
tweak the scrub routines to get rid of the no-root error message
(some debugging printfs remain, which I'll remove later)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10117 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-27 22:32:59 +00:00
Linas Vepstas
4f6c678a34
little tweak to attempt to avoid overflow errors
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10035 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-07 03:04:21 +00:00
Linas Vepstas
53507304cd
add debugging print statements
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9982 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-30 05:10:27 +00:00
Linas Vepstas
bd7a8b732d
partial fix for the failure of the test-lots test case:
...
Change the FIFO policy to avoid mixed-currency lots.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9977 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-29 20:06:03 +00:00
Linas Vepstas
c90c817e64
merge first round of entity rework back into head branch
...
The net total of this work is (i beleive) fewer lines of code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9530 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-17 04:25:53 +00:00
Linas Vepstas
9df9674b96
change Account to use qofinstance
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9481 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-12 04:44:40 +00:00
Linas Vepstas
697846331a
quick whack to add LIFO accounting policy (in addition to FIFO)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9410 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-23 03:25:37 +00:00
Linas Vepstas
929bca04c5
tweaks; add wrappers for lot title, lot notes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9392 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 20:43:52 +00:00
Linas Vepstas
b7f1c25c2d
move code from transaction.c to cap-gains.c
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9385 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 03:41:32 +00:00
Linas Vepstas
c7444453f8
bug fix: need to recompute cap gains when the initial lot opening
...
transaction changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9380 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 00:53:49 +00:00
Linas Vepstas
ce93bd96a2
merg changes from the cap-gains7 branch. These include:
...
-- numerous fixes to make cap-gains work
-- crude ideas about a generic constraints system to keep data in engine
correct.
After these changes, all known cap-gains bugs are fixed, and most cap-gains
features are done. Have at it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9378 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 22:53:28 +00:00
Linas Vepstas
572d2faa56
merge branch cap-gains6:
...
new code that recalculates lots (incl. cap gains)
to be used if the value of any split in the lot changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9341 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-16 12:44:01 +00:00
Linas Vepstas
ef6b5dad26
merge cahnges from the cap-gains5 development branch,
...
consisting primarily of enhance KVP functionality, including
better support for lists of values, and the implementation
of a 'bag' for holding collection of (un-named) data.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9317 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 18:47:51 +00:00
Linas Vepstas
dff9fa3b3b
-- Change gnc-trace.h to use the glib g_log() routine for all error
...
printing and tracing.
-- ongoing cap-gains work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9290 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-12 13:17:26 +00:00
Linas Vepstas
f61704ccc6
merege from the cap-gains3 branch:
...
remove some obsolete functions
wrap amount/value geters so that gains can be auto-computed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9248 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 15:02:21 +00:00
Linas Vepstas
b051cd199b
clarify currency change
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9247 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 14:53:58 +00:00
Linas Vepstas
e0a9c2cc18
merge from auto-cap-gains branch: gains dates now track the dates on
...
the source of the gains
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9208 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-01 20:20:52 +00:00
Linas Vepstas
06d403cfab
bug fix cap gains lookup
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9185 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-27 03:56:15 +00:00
Linas Vepstas
883aa58c1b
bug fixes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9181 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-26 13:53:54 +00:00
Linas Vepstas
d25de06b0a
bug fixes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9178 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-26 03:39:36 +00:00
Linas Vepstas
934bbbe90e
accidentally worked with down-level copy. Ouch! undo damage
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9177 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-26 01:50:23 +00:00
Linas Vepstas
5ff356a930
fix bugs, add features to auto-cap-gains system.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9176 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-25 23:34:34 +00:00
Linas Vepstas
1700ebf387
go live with first cut of cap gains
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9174 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-25 20:02:41 +00:00
Linas Vepstas
b22102b982
start work on cap-gains infrastructure
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9173 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-25 18:36:54 +00:00