Commit Graph

7498 Commits

Author SHA1 Message Date
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
Linas Vepstas
b8ef264bca bug fix the scrub account button
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9244 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 13:15:24 +00:00
Linas Vepstas
84a6e5dff4 cleanup during hunt for fields to wrap
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9228 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-05 02:15:26 +00:00
Derek Atkins
af4b4a65c2 Apply Nigel Titley's patch to fix #103174:
* src/register/register-core/basiccell.c:
	  - add some debugging messages
	  - don't kill ourself if we're asked to set the value to our own value.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9224 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-05 00:27:20 +00:00
Linas Vepstas
91bf87ec53 merge changes from the cap-gains2 branch:
-- delete of cap-gains splits now handled
-- gnc-events now generated at commit-edit, not willy-nilly
-- improved scrub docos


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9222 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-03 13:02:37 +00:00
Linas Vepstas
7f89231a82 bug fixes to get display right
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9215 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-02 14:05:37 +00:00
Linas Vepstas
1a9979937b misc cleanup for closing window, etc.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9212 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-02 03:50:59 +00:00
Linas Vepstas
8de8dee8ae micro tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9211 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-02 03:26:04 +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
951f1efb1c update status
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9205 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-01 17:52:22 +00:00
Linas Vepstas
317d476377 bug fix, hash keys need to be malloced, this fixes a core dump
and allows 'make check' in backend/file to pass instead of croaking.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9202 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-01 15:13:49 +00:00
Linas Vepstas
edbd6c43c9 remove pointless malloc/free, should improve file load performance a
teeny bit.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9201 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-01 15:09:25 +00:00
Linas Vepstas
709adddc81 remove pointless maloc/free, should improve file load performance a
teeny bit.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9200 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-01 15:08:26 +00:00
David Hampton
b3866e396b Remove RCS 'Id' tags from files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9195 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-30 00:22:05 +00:00
David Hampton
4b80c90cee Remove empty file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9194 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-30 00:20:07 +00:00