Commit Graph

65 Commits

Author SHA1 Message Date
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