Commit Graph

7512 Commits

Author SHA1 Message Date
Linas Vepstas
045b39a60e get rid of dorky GUI callbacks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9401 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-22 02:54:16 +00:00
Linas Vepstas
c6dacb138d status updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9398 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-22 00:46:31 +00:00
Linas Vepstas
c180f617de bug fix for merging pairs of splits together
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9397 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 23:05:50 +00:00
Linas Vepstas
ef3cce26b8 add new kvp glist function;
fix bug with how bags of guids are deleted


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9396 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 23:04:42 +00:00
Linas Vepstas
0fe939e688 use wrappers for lot title, lot notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9393 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 20:44:40 +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
6b09a496ba price scrub tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9391 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 18:33:35 +00:00
Linas Vepstas
3b6d67f15f make changes for lot management high-level API
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9390 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 18:16:31 +00:00
Linas Vepstas
325d4ffd66 move low-level API routines to scrub2, high-level to Scrub3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9389 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 18:07:08 +00:00
Linas Vepstas
288a062c13 restructure lot code, part one
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9388 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 17:44:29 +00:00
Linas Vepstas
ebec50d7c4 bugfix test for subsplits
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9387 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 04:48:10 +00:00
Linas Vepstas
2b6830e50d more rigorous transaction commit code shows up buglets in the register;
work around one of these.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9386 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 04:01:31 +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
5a2000a3dc wrappers for special handling of data when data is being loaded
(shut off the constraint system).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9379 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 22:55:36 +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
a3792d997c doco updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9376 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 22:35:47 +00:00
Linas Vepstas
6df0f85f97 remove obsolecte code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9375 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 21:38:12 +00:00
Linas Vepstas
68b15f0f8f fix bad usage/mem leak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9374 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 21:32:54 +00:00
David Hampton
7ca337c55f Turn off noise.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9372 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 20:42:19 +00:00
Christian Stimming
79849666b6 2003-09-18 Christian Stimming <stimming@tuhh.de>
* configure.in: Add correct configure test for openhbci version
	required by mt940 module.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9352 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-18 20:57:10 +00:00
Linas Vepstas
f9eb208e3a more descriptions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9349 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-17 13:49:48 +00:00
Linas Vepstas
b90e5bfe78 document the financial constraints that operate in the gnucash engine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9348 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-17 13:22:52 +00:00
Christian Stimming
7ad10128ed 2003-09-16 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-kvp.c: Fix broken compile due to
	Linas' change of the kvp_frame_get_frame() arguments. By
	Jan-Pascal van Best <j.p.vanbest@tbm.tudelft.nl>

	* src/import-export/hbci/gnc-hbci-gettrans.[hc]: Code
	refactorization so that the mt940 importer can re-use the existing
	import functions from the hbci module. By Jan-Pascal van Best
	<j.p.vanbest@tbm.tudelft.nl>

	* src/import-export/mt940/gncmod-mt940-import.[hc]: Import module
	for SWIFT MT940 files added. By Jan-Pascal van Best
	<j.p.vanbest@tbm.tudelft.nl>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9345 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-16 21:50:24 +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
Christian Stimming
3573ffc694 Merge account templates from 1-8-branch into HEAD so that they won't
be forgotten.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9335 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-15 21:33:28 +00:00
Derek Atkins
166014ecaf Update to 1.8.7
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9322 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-15 03:48:31 +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
Derek Atkins
c4f465d164 * src/backend/postgres/test/run-tests.sh: small fix from
hawkfan to get tests to work when building outside srcdir.
	* src/backend/postgres/putil.c: fix a bug introduced by Matthew --
	  ANSI C does not allow you to declare a variable in the middle
	  of an expression.  Move the declaration to the top of the function.
	* src/backend/postgres/functions.sql:
	* src/backend/postgres/table-audit.sql:
	  We don't need the trailing semi-colon because the #include adds
	  one.  The double semi-colon causes build failures in some cases.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9311 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 15:35:09 +00:00
Derek Atkins
99c8a23ab9 * src/import-export/ofx/gnc-ofx-import.c: use <libofx/libofx.h>
instead of "libofx/libofx.h" as it's not part of our system.
	  Fixes a dependency problem in 1.8.6 release.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9304 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 01:15:52 +00:00
Linas Vepstas
6a1b32c6b9 add note on how to work with log/trace messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9292 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-12 13:31:04 +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
Derek Atkins
499a4d5e76 * src/business/business-core/file/gnc-*.c:
Add a "slots" parameter to allow for future expansion.  Right
	  now this is completely ignored (which will allow future releases
	  to add a kvp-frame slots to any business function and allow that
	  file to be read by older versions).  Right now the slot is ignored,
	  but that's better than barfing on the data file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9285 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-11 17:37:01 +00:00
Linas Vepstas
ddedc9f25b review excess register redraw callbacks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9281 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-11 13:13:50 +00:00
Linas Vepstas
1a74700d1f review query usage for register redraw
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9280 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-11 13:12:10 +00:00
Linas Vepstas
a8f98633d1 clean up error message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9279 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-11 13:08:30 +00:00
Linas Vepstas
3047f029b3 remove cruddy print
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9278 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-11 13:07:04 +00:00
Derek Atkins
3331bbe954 * src/engine/engine-helpers.c: turn off scheme garbage collection
during query->scm and scm->query conversion.  It shaves about 50%
	  off the test-scm-query-string tests.
	* src/engine/test-core/test-engine-stuff.c:  add some code to help
	  track down what the get_random_query() is doing.  Turned off by
	  default.
	* src/app-utils/test/test-scm-query-string.c: make the test
	  deterministic by seeding the RNG with a known value.  There is a
	  known "delay" at #245 with a seed of 1 on Linux systems.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9273 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-10 00:01:54 +00:00
Derek Atkins
fb2f55460f * src/gnome-utils/dialog-transfer.c: during the dialog startup it
tries to build the transfer rate.  This crashes on Solaris because
	  during startup one commodity is still NULL when it tries to print
	  it.
	Fixes bug #121677


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9271 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-09 23:23:09 +00:00
Linas Vepstas
00c479b6a0 remove tests for deprecated/obsolete values
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9269 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-09 15:05:53 +00:00
Linas Vepstas
8ede42da95 fix or remove usage of old/deprecated/obsolete routines
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9268 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-09 14:58:35 +00:00
Linas Vepstas
70c224d8ee fix incorrect usage of loglevel
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9261 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-08 15:12:10 +00:00
Linas Vepstas
3f2513ffb8 fix incorrect usage of log level
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9260 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-08 15:10:36 +00:00
Linas Vepstas
679322f156 fix incorrect log-level usage
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9259 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-08 15:07:42 +00:00
Linas Vepstas
a0b338d327 tweak broen popup logic
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9252 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-07 15:54:14 +00:00
Linas Vepstas
37f9077d68 tweak dialog for a many-to-one mapping
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9251 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-07 03:13:06 +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
c1094b28f4 update instructions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9246 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 14:44:37 +00:00
Linas Vepstas
71f530719c urghhh strange indentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9245 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 13:58:41 +00:00