Commit Graph

4713 Commits

Author SHA1 Message Date
Linas Vepstas
ed94d8b79b add design notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5702 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 21:51:19 +00:00
Linas Vepstas
34eb691af8 add notes on the upgrade mechanism
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5701 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 18:46:09 +00:00
Bill Gribble
3d701d072d Don't forget gnome-print includes if they are needed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5700 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 18:21:14 +00:00
Linas Vepstas
f6550b2217 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5699 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 18:11:43 +00:00
Dave Peticolas
0c42ebaa20 Enable kvp fetch for queries. Fix bug restoring transaction iguid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5698 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:37:53 +00:00
Dave Peticolas
df790e9422 Fix escaping bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5697 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:37:04 +00:00
Dave Peticolas
7192f9b6ca Add CLEARED_VOIDED term.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5696 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:36:30 +00:00
Dave Peticolas
fc36b8e1c6 Cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5695 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 08:34:58 +00:00
Dave Peticolas
59c326e2e7 Start on valid initial location.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5694 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 06:32:31 +00:00
Dave Peticolas
fd8252f261 Add missing price ref/unref.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5693 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 00:01:12 +00:00
Dave Peticolas
59e09a47db Don't insert account into itself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5692 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 22:45:59 +00:00
Dave Peticolas
c714e54bb0 Bring in gw-glib and gw-kvp definitions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5691 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 21:48:17 +00:00
James LewisMoss
6c0572aa16 added dep of gnc-dir.h on dialog-utils.c so it gets generated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5690 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 20:42:26 +00:00
James LewisMoss
d31d398d5c add dep of gw-engine.h on gncmod-engine.c so it gets generated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5689 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 20:41:50 +00:00
James LewisMoss
ca8c3f48f9 add .libs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5688 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 20:40:00 +00:00
James LewisMoss
bec4430476 fix first checkout problem of wanting gw-gnc-module.h and it not being
produced yet for gnc-module.c.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5687 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 19:51:09 +00:00
James LewisMoss
0a92c58a67 cleanup of double stuff.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5686 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 16:31:20 +00:00
Dave Peticolas
e992807d6e Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5685 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 10:50:35 +00:00
Dave Peticolas
d3b6891061 Make random changes to prices & commodities.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5684 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 09:33:01 +00:00
Dave Peticolas
682cd1faf9 Hash commodities using their unique names, not their pointer values.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5683 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 09:31:29 +00:00
Dave Peticolas
9feb646750 Always invoke sync_price and sync_group if defined.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5682 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 09:30:42 +00:00
Dave Peticolas
4f7908c49c Add -module arg to lib flags.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5681 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 06:43:42 +00:00
Dave Peticolas
93ab70466c Fix include.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5680 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 00:18:13 +00:00
Dave Peticolas
e362863787 Test adding new transactions & rolling back changed transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5679 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 23:35:52 +00:00
Dave Peticolas
66ba034150 When rolling back transactions, adjust editlevel to prevent further begin edits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5678 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 23:17:18 +00:00
Bill Gribble
42abf3bad1 Minor preening
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5677 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 20:53:00 +00:00
Bill Gribble
6e41fea70e Install gnc-module headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5676 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-17 20:48:05 +00:00
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