Commit Graph

4686 Commits

Author SHA1 Message Date
Bill Gribble
20f3213049 Remember to free strings, and don't look at .so files when libtool
always makes .la files for the modules.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5675 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 19:42:28 +00:00
Dave Peticolas
7fdfb02778 Work on single-update test.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5674 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 10:48:57 +00:00
Dave Peticolas
9d6304462a Add missing account begin/commit edit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5673 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 10:48:13 +00:00
Dave Peticolas
27ddcdf45e Only use valid account types when creating random accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5672 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:56:07 +00:00
Dave Peticolas
b6584fe42d Wait for shutdown & start.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5671 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:31:01 +00:00
Dave Peticolas
77e5220e67 Remove cruft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5670 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:30:00 +00:00
Dave Peticolas
2078b93fda Delete split & trans kvps before writing them.
Store trans common currencies.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5669 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:27:08 +00:00
Dave Peticolas
8b3a990979 Copy common currency when cloning and rolling back.
Add some NULL value and do_free checks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5668 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:25:10 +00:00
Dave Peticolas
62ccab8d33 Stabilize account sort order. Keep accounts sorted when they are changed.
Don't set split accounts to NULL before deleting them.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5667 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 09:24:16 +00:00
Dave Peticolas
cc9e4d94da Use 'char' instead of 'char *' for objtype argument.
Delete account kvp data before storing new data -- otherwise
deleted kvp elements are not deleted from db.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5666 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:32:01 +00:00
Dave Peticolas
98f83b3fd8 More SplitEqual warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5665 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:30:57 +00:00
Dave Peticolas
ae4a6fe07a Add missing trans begin/commit calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5664 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:30:20 +00:00
Dave Peticolas
0f43b340f3 Remove warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5663 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 01:29:42 +00:00
Dave Peticolas
edca675eaa Fix bug -- need objtype field in kvp audit trail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5662 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 23:16:32 +00:00
Dave Peticolas
9afc2fc598 2001-10-16 Dave Peticolas <dave@krondo.com>
* src/engine/test-core/test-engine-stuff.c: work on test
	infrastructure for making changes to existing data

	* src/engine/gnc-book.c: keep backends up to date

	* src/engine/gnc-session.c: keep backends up to date

	* src/backend/postgres/test/db-control.sh: bring down postmaster
	on database create and destroy

	* src/backend/postgres/test/test-db.c: work on single-update
	test

	* src/backend/postgres/txn.c: fix bug -- when deleting splits
	from the database that aren't in the engine, can't use
	xaccSplitLookup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5661 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 09:13:07 +00:00
Dave Peticolas
b066e9cd63 Fix bug -- gdk_window_raise takes a gdk window, not a gtk window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5660 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 06:59:56 +00:00
Joshua Sled
47fd364d72 2001-10-14 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (delete_button_clicked):
	Fixed multiple bugs in deletion selection-handling.
	(schedXact_editor_populate), (schedXact_editor_create_ledger):
	Added code for respecting the user's Preferences.

	* src/gnome/dialog-scheduledxaction.c
	(gnc_ui_scheduled_xaction_dialog_create): Added support for only a
	single SX list to be up at any one time; if one already exists,
	show and raise that window instead of creating a new one.

	* src/gnome/dialog-scheduledxaction.c
	(gnc_ui_scheduled_xaction_editor_dialog_create): Only one editor
	for any Scheduled Transaction open at a time; if one already
	exists, show and raise it's window.

	* src/gnome/dialog-scheduledxaction.c
	(schedXact_editor_create_ledger): Add [read: steal from
	window-register.c] register toolbar, suitably modified for SXes.

	* src/app-utils/prefs.scm: Updates to wording, defaults for
	Scheduled Transaction preferences.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5659 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 06:44:30 +00:00
Dave Peticolas
bcae323c49 Work on test infrastructure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5658 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 00:50:01 +00:00
Dave Peticolas
995e7d7d27 Fix string literal.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5657 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 00:40:22 +00:00
Dave Peticolas
1cceb39a7f Update potfile list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5656 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-16 00:37:18 +00:00
Dave Peticolas
6fe7f08a51 Test locking. Start test for single-update mode.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5655 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 22:34:12 +00:00
Dave Peticolas
27f6b35365 Add 'status' argument.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5654 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 22:33:40 +00:00
Dave Peticolas
2202cf2c09 Fix bug -- store unescaped values in the path cache.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5653 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 22:33:19 +00:00
Dave Peticolas
05c14bbdfe Fix for make check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5652 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-15 06:54:44 +00:00
Rob Browning
46f6c630de *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5651 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:56:10 +00:00
Rob Browning
5d5a6d2329 * src/tax/us/test/Makefile.am
(TESTS_ENVIRONMENT): add paths.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5650 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:55:48 +00:00
Rob Browning
e5c4b83e2b * src/tax/us/us.scm (gnucash): added use-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5649 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:55:39 +00:00
Rob Browning
18b43bf2a4 * src/scm/printing/print-check.scm: remove gnc:support and
gnc:depend calls.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5648 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:55:28 +00:00
Rob Browning
6c014002d6 * src/scm/gnumeric/gnumeric-utilities.scm: remove gnc:support and
gnc:depend calls.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5647 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:54:19 +00:00
Rob Browning
1869eb1e2d * src/scm/xml-generator.scm: remove gnc:support call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5646 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:54:09 +00:00
Rob Browning
d7c9b03d29 * src/scm/substring-search.scm: remove gnc:support call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5645 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:54:00 +00:00
Rob Browning
8742cc5958 * src/scm/startup.scm: comment out everything -- if this works, we
should remove this file soon.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5644 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:53:52 +00:00
Rob Browning
664cd0cd79 * src/scm/price-quotes.scm: make it a guile module -- add exports,
use-modules, etc.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5643 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:53:43 +00:00
Rob Browning
f6ae2a7f0f * src/scm/path.scm (gnc:locale-prefixes): () -> '().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5642 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:53:33 +00:00
Rob Browning
013a2f69df * src/scm/main.scm (gnc:startup): change gnc:depend calls to
load-from-path.
(gnc:main): add second arg to eval call to comply with standard.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5641 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:53:23 +00:00
Rob Browning
2b5ad622f6 * src/scm/main-window.scm: remove gnc:support call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5640 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:53:13 +00:00
Rob Browning
3febb9ecea * src/scm/extensions.scm: remove gnc:support call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5639 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:53:03 +00:00
Rob Browning
16652a7305 * src/scm/doc.scm: remove gnc:support call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5638 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:57 +00:00
Rob Browning
acefbb3f64 * src/scm/command-line.scm
(gnc:*arg-defs*): use gnc:use-module-module-here!.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5637 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:50 +00:00
Rob Browning
51881469a9 * src/scm/bootstrap.scm.in: remove slib compatability stuff.
Add many exports for stuff that used to be "global".
Load main.scm from here now.
(gnc:use-guile-module-here!): new function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5636 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:42 +00:00
Rob Browning
4e5b5918a2 * src/scm/Makefile.am (gncscmmod_DATA): move bootstrap.scm here.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5635 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:36 +00:00
Rob Browning
9780fb353d * src/report/utility-reports/test/Makefile.am
(TESTS_ENVIRONMENT): add paths.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5634 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:30 +00:00
Rob Browning
3e34836987 * src/report/utility-reports/welcome-to-gnucash.scm: added use-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5633 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:25 +00:00
Rob Browning
1dcd41dfc1 * src/report/utility-reports/view-column.scm: added use-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5632 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:18 +00:00
Rob Browning
5786ccd6d4 * src/report/utility-reports/utility-reports.scm: added use-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5631 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:52:04 +00:00
Rob Browning
0b8d7ac372 * src/report/utility-reports/iframe-url.scm: added use-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5630 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:51:58 +00:00
Rob Browning
430eb972f7 * src/report/utility-reports/hello-world.scm: added use-modules.
(hello-world-renderer): use share-dir config var, not bare binding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5629 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:51:48 +00:00
Rob Browning
9939465994 * src/report/stylesheets/test/Makefile.am
(TESTS_ENVIRONMENT): add paths.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5628 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:51:36 +00:00
Rob Browning
7066b9a813 * src/report/stylesheets/stylesheets.scm: added use-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5627 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:51:14 +00:00
Rob Browning
d0d16baa8d * src/report/stylesheets/stylesheet-plain.scm: added use-modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5626 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:50:58 +00:00