Commit Graph

5795 Commits

Author SHA1 Message Date
Joshua Sled
1c4df2daac 2002-06-18 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-dense-cal.[ch]: Added; a multiply-markable,
	visually-dense Gtk calendar widget, to be used by
	Scheduled Transactions.

	* src/gnome/dialog-scheduledxaction.c
	(putSchedXactionInDialog): Renamed; supports marking the new
	GncDenseCal.
	(delete_button_clicked): Now much less lame about dealing with the
	CList when items are removed; supports [un]marking the
	GncDenseCal.

	* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
	Query the user if they want to create an unbalanceable
	[varible-containing] transaction. Inform the user if they try to
	create an auto-create transaction which has variables, as this is
	not allowed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6980 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-19 05:04:56 +00:00
Derek Atkins
687188fda5 Better logging of tests. The test still fails, but now it's
clear why.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6979 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-18 22:21:46 +00:00
Derek Atkins
4dbf716908 Better error messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6978 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-18 21:38:35 +00:00
David Hampton
4ef5bd9cfb Reorganize menus in the register window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6977 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-18 17:47:51 +00:00
Derek Atkins
5c3ba03796 Change some column headings per Wilddev's suggestion
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6976 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-17 19:30:35 +00:00
Derek Atkins
01743053ab Update the QUERY hooks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6975 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-17 15:07:37 +00:00
Derek Atkins
19cc155b3e Add a notes field to the entry object.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6974 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-17 04:04:05 +00:00
Derek Atkins
b1f316cd2a Put the account tree into a scrolled window
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6973 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 22:27:36 +00:00
Derek Atkins
437cc9b14a business-reports is loaded from C; don't need it here
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6972 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:56:39 +00:00
Derek Atkins
0f3b2e9061 compile with GUILE INCS and LIBS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6971 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:55:59 +00:00
Derek Atkins
5293ffa681 update the list of files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6970 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:55:32 +00:00
David Hampton
4ca475873a Make the tax table dialog a little bigger.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6969 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:06:39 +00:00
Derek Atkins
ca3544d2b1 * Move to invoice report into business-reports (it _IS_ a business
report after all).  Add a business-reports guile module, and get
	it all to work.  Fix the gnucash-build-env script to look in the
	new directories.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6968 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 20:17:14 +00:00
Derek Atkins
9412153252 * Refactor a lot of the business code. Move the tax-table dialog
to its own directory/gnc-module.  Move the business-gnome glade
	files to their own directory.  Create a business-reports directory
	for the current and future business reports.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6967 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 19:07:18 +00:00
Derek Atkins
8ef6d641be Integrate the tax table into the gncEntry object; change how taxes
and discounts are computed, stored, and returned.  Fix the Entry
	XML code to save/load the new taxtable data (not backwards
	compatible).  Integrate new changes into the entry-ledger.

	fix some bugs in the business xml code.  fix some memory leaks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6966 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 05:11:33 +00:00
Derek Atkins
3738df9fc4 * business-core/file/gnc-tax-table-xml-v2.*: Create a preliminary
xml implementation for storing tax tables.

* add some more functions to gncTaxTable.[ch]


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6965 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 20:18:34 +00:00
Derek Atkins
851ca85300 Don't allow the user to delete the last entry from a tax table
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6964 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 20:16:22 +00:00
Derek Atkins
f55d4caaa1 * business-core/gncTaxTable*: Create a preliminary implementation
of Tax Tables.  They are currently not saved, and nothing uses
	them.  Link the initialization into the module.

	* business-gnome/dialog-tax-table*: Create a tax table GUI to
	create and edit tax tables.  G-wrap the editor-window create
	routine.

	* business-gnome.scm: add the Tax Table gui; rename the 'Invoice'
	option page to "Business".  Fix dialog-invoice to use the new
	option name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6963 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 17:08:19 +00:00
Derek Atkins
00a88c5d4b Actually save 'list' when we reverse it
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6962 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 04:35:03 +00:00
David Hampton
2ab8a1186e Menu change tweaks. Stock druid tweaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6959 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-11 18:51:13 +00:00
David Hampton
d020558263 Use checkmenuitems in the View menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6958 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-11 06:05:24 +00:00
David Hampton
b758e720c7 Remove the 'tax information' item from the account window pop-up menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6957 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-10 04:58:04 +00:00
David Hampton
919425012c Sort the price database by clicking on column titles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6956 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-10 00:35:31 +00:00
David Hampton
c7fd015311 Move 'Business' menu earlier.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6955 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-09 23:28:27 +00:00
David Hampton
5e8141e95f First pass at menu rearranging
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6954 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-09 21:43:51 +00:00
Derek Atkins
dff7a6e9da Create a top-level Business menu item in the main window. You
don't need to run GnuCash with GNC_DEBUG=1 in order to use the
	business functionality.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6953 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-06 04:45:26 +00:00
Derek Atkins
a6e850f8a7 Fix a bug in the invoice-search, setup the query properly so
you don't find all invoices.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6952 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-06 00:11:32 +00:00
Derek Atkins
0f0080c964 Integration of the new Query subsystem, to replace the old Query
infrastructure.  This also replaces the old "Find Transaction"
	dialog with the new gnome-search dialog.  Registers, Reports, SXs,
	etc. all test out fine.  Integration with SQL has been "done"
	(i.e. it compiles cleanly) but not "tested."  Lots of the old code
	is still there, but #ifdef'ed out.  That code will go away
	shortly.

	There is only one known loss-of-functionality: the query->xml-v1
	converter was not re-implemented.  The current intention is, if
	this functionality is required, to use the query->scm converter
	and then convert the scm->string and insert that into an XML
	document.

	Fix a Transaction Void bug.

	Fix a few bugs in test code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6951 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-05 21:59:35 +00:00
David Hampton
ba82fd2055 Update cvs ignore files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6950 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-05 21:03:27 +00:00
Derek Atkins
ea90d5a3f1 Add test to compare query->string conversion by converting to a
char* and then evaluating the string.  Also re-add the ability
to print out a bunch of queries.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6949 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-05 02:56:15 +00:00
Derek Atkins
42761622b4 remove test-print-queries (move it to app-utils/test)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6948 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-05 02:40:41 +00:00
David Hampton
e54382ace6 Work around Gnome MDI bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6947 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-05 00:52:17 +00:00
Christian Stimming
8a185430e9 2002-06-05 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/*: Add directory and initial files for
	HBCI support module.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6946 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-04 23:11:33 +00:00
Derek Atkins
146d414c73 add test-scm-print-import and test-print-queries
(The latter is not actually run, but is useful to me now)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6945 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-04 22:40:45 +00:00
Derek Atkins
d66d0583d9 add gnome-search, business-ledger, and business-file modules
to the loadpath for in-tree testing


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6944 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-03 14:29:59 +00:00
Derek Atkins
1af0341287 Support g-wrap in non-standard location
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6943 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-03 14:02:35 +00:00
Derek Atkins
4ca2f2280a Add g-wrap lib dir for non-standard g-wrap installs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6942 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-03 05:38:54 +00:00
Derek Atkins
66328a0af8 Get test-create-account to work with a non-standard g-wrap install
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6941 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-03 04:53:27 +00:00
David Hampton
2d07cfdbe4 Eliminate an ordering problem when loading business modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6940 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-02 00:04:46 +00:00
David Hampton
a9fb87fcff Fix printing to eliminate the warning messages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6938 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 08:30:37 +00:00
David Hampton
41bb309c69 Fix amount column sort order.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6937 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 08:18:18 +00:00
David Hampton
b5c5dfdc06 Use a selection list if a prefs dialog has more than four pages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6936 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 08:10:09 +00:00
David Hampton
b5f96d12fc Another gettext-0.11 change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6935 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 06:26:37 +00:00
Derek Atkins
aec026dd2e provide a get_random_numeric()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6934 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 02:05:22 +00:00
Derek Atkins
04fe090ce5 don't need GTK_ENTRY() when casting a GtkWidget* to GtkWidget* ;)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6933 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 02:03:40 +00:00
Derek Atkins
6af83bf8b2 fix bug: missing structure entry
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6932 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 02:02:34 +00:00
Derek Atkins
08638e2555 PERR() if a bad parameter is returned
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6931 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 02:01:18 +00:00
Derek Atkins
329736d2c3 Save GUIDs instead of assuming the pointer will stick around
work around a gcc compiler bug: unroll a do { } while() that
does not need to exist.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6930 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 01:59:36 +00:00
Derek Atkins
719060454a fix a compiler warning for g_cache_remove()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6929 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 01:57:53 +00:00
Derek Atkins
26623bfa24 Provide a default match to return NULL
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6928 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-01 01:55:47 +00:00