Commit Graph

4819 Commits

Author SHA1 Message Date
Joshua Sled
ced5ea0167 2001-10-22 Joshua Sled <jsled@asynchronous.org>
* src/gnome/Makefile.am: Removed obsolete dialog-nextrun.{c,h}

	* src/gnome/window-main.c (gnc_main_window_create_menus): Added
	both Scheduled Transaction-related items to "Scheduled
	Transactions" sub-menu of "Tools".
	(gnc_main_window_about_cb): Added self to GUI About dlg.

	* src/gnome/dialog-scheduledxaction.c: Renamed '_'-led functions.

	* src/gnome/dialog-sxsincelast.c: Changed from a loose
	confederation of multiple dialogs to the strong central authority
	of a GnomeDruid-based since-last-run UI.  Renamed '_'-led
	functions.

	* src/gnome/glade/sched-xact.glade: Fixed a non-unique-name
	problem between the GnomeNumberEntry "end_nentry" and it's
	GtkEntry "end_nentry".  Added Druid-based Since-Last-Run dialog.

	* src/gnome/dialog-scheduledxaction.c (schedXact_editor_populate),
	(editor_ok_button_clicked): Added support for now-uniquely-named
	"end_gnome_nentry".

	* src/engine/SchedXaction.c
	(xaccSchedXactionCreateSequenceState): Added.
	(xaccSchedXactionIncrSequenceState): Added.
	(xaccSchedXactionDestroySequenceState): Added.
	Added support for opaque state data when generating a sequence of
	SX instances to support number-of-occurance-terminated SXes.

	* src/backend/file/gnc-freqspec-xml-v2.c (dom_tree_to_freqSpec):
	Added missing instance of GNCSession propogation.

	* src/backend/file/io-gncxml-v2.c
	(write_template_transaction_data): Added correct determination for
	writing out the template-transaction section [before: only if
	transactions existed in accounts; now: if any accounts exist] to
	prevent read errors from SXes with valid-and-referenced Accounts,
	but no Transactions in them.

	* src/gnome-utils/gnc-frequency.c (gnc_frequency_setup): Better
	error text when UIFreqType isn't recognized or appropriate.

	* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
	Correctly sets SXes to have no occurance data if that's the case.
	Better option variable naming, usage.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5710 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 09:17:34 +00:00
Dave Peticolas
d9ed89be9a Work on multi-user mode test.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5709 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 09:08:02 +00:00
Dave Peticolas
8098a8eacb Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5708 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 09:01:04 +00:00
Dave Peticolas
b4c8d16c16 Zdenko Podobn�'s Sloval account hierarchies.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5705 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 06:56:25 +00:00
Linas Vepstas
4838b4d4f5 add a check for kvp in case statement
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5704 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 23:07:29 +00:00
Dave Peticolas
c9fa81578c Use 'k' as objtype in audit trail when delete kvp frames.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5703 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-19 22:13:54 +00:00
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