Commit Graph

4676 Commits

Author SHA1 Message Date
Dave Peticolas
8328f0c8fe Allow new guile to be specified through GNC_GUILE env var.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5717 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 08:39:08 +00:00
Dave Peticolas
1c34e80fda Don't install tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5716 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 08:36:35 +00:00
Joshua Sled
437935a838 2001-10-24 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (sxed_delete_event): Added.
	(gnc_ui_scheduled_xaction_editor_dialog_create): Added support for
	delete-event [WM window close].
	(sxed_check_close): Added close-check, including register check.
	(editor_cancel_button_clicked): Renamed from
	editor_close_button_clicked; correctly handles a cancel WRT ledger
	changes.

	* src/gnome/glade/sched-xact.glade: Added as-yet-unused Start
	Date widgets to make-from-transaction dialog.

	* src/gnome/dialog-sx-from-trans.c (sxftd_add_template_trans): Use
	the user-friendly amount formating instead of a stringified
	gnc_numeric.  Copies the account data over into the template
	transaction.
	(sxftd_init): Added; supports using the Description of the
	transaction as the initial name of the SX.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5715 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 08:33:38 +00:00
Dave Peticolas
285e76d882 Update file list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5714 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-24 05:48:45 +00:00
Dave Peticolas
41bd71c4ad Check balances in account & split compare functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5713 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-23 23:57:18 +00:00
Joshua Sled
6820436bdb 2001-10-22 Joshua Sled <jsled@asynchronous.org>
* src/engine/SchedXaction.c (xaccSchedXactionInit): Fixed
	number-of-occurances init problem.

	* src/gnome/dialog-scheduledxaction.c (schedXact_editor_populate):
	Fixed bug in populating the editor.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5712 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-23 07:12:32 +00:00
Joshua Sled
98a6062c43 2001-10-22 Joshua Sled <jsled@asynchronous.org>
* src/gnome/window-main.c (gnc_ui_mainWindow_nextrun_cb):
	Removed obsolete dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5711 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-22 16:46:20 +00:00
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