Commit Graph

6040 Commits

Author SHA1 Message Date
Derek Atkins
aceb6f63f2 * Peter O'Gorman's patch for fixing libtool on darwin
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7268 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 15:59:23 +00:00
Derek Atkins
da3abe6423 * Check for gettext in -lintl for MacOS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7267 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 14:49:53 +00:00
Derek Atkins
1b7c48a98c * Fix the autoconf-2.13/2.52/2.53 problems -- Gnucash should now
work on all versions of auto-tools, although it now requires GnuMake.

	* configure.in -- just pass LIBOBJS directly to the Makefile; pass
	  a sed script that uses '$U' (which is a 2.53ism, but works right
	  on 2.13) to the Makefile.
	* lib/libc/Makefile.am -- Use LIBOBJS and GnuMake's $(shell) syntax
	  to create the list of libobjects to be linked into "libc-missing"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7266 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 14:24:10 +00:00
David Hampton
a78f77646c Add missing argument to gnc_session_xxx calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7265 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-05 09:15:04 +00:00
Christian Stimming
4e47975a10 2002-10-03 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.[hc]: Separate the
	Get-Transaction related HBCI functions into this file. Much more
	work here, so that most of transaction information is now filled
	into the right places. Requires totally up-to-date OpenHBCI CVS,
	though.

	* src/import-export/hbci/gnc-hbci-getbalance.[hc]: Separate the
	Get-Balance related functions to a seperate file. Add invocation
	of account reconcile upon successful balance retrieval.

	* src/import-export/hbci/hbci-progressmon.c: Change to a
	GnomeDialog here, and fix handling of parent window.

	* src/gnome/window-main-summarybar.c: Introduce lookup of currency
	symbol. However, this doesn't quite fix bug #91724, since that one
	is related to the currency_item->assets_label and not to the label
	in front of that. What a pity.

	* src/RecnWindow.h (recnWindowWithBalance),
	src/gnome/window-reconcile.c: Add function to invoke account
	reconciliation with balance and date given.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7264 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 21:07:47 +00:00
Derek Atkins
dd59615084 Add comments about bug fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7263 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 17:51:43 +00:00
Derek Atkins
f3fe12becb * src/scm/main.scm -- move (setlocale ...) earlier in the startup.
it needs to run before app-utils is loaded (because gnc_localeconv()
	  caches the first run -- so if that happens before setlocale, you're
	  stuck!)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7262 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 17:39:03 +00:00
Derek Atkins
058284bc1c * src/backend/postgres/gncquery.c - create proper SQL, ignore bookGUID
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7261 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-03 02:04:12 +00:00
Derek Atkins
4da20676b1 * configure.in: check for ltdl.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7260 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-02 19:43:58 +00:00
Derek Atkins
0f5a6b518b Herbert Thoma's patch:
* /src/report/standard-reports/advanced-portfolio.scm: new report
	which shows money-in, money-out and gain of stock and fund accounts
	(based on the work of Martijn van Oosterhout and portfolio.scm
	by Robert Merkel)

	* src/report/standard-reports/standard-reports.scm: add
	advanced-portfolio.scm to gncscmmod_DATA

	* doc/build-suse.txt: updated for GnuCash 1.7


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7259 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-01 20:48:27 +00:00
Derek Atkins
f86d58454a * src/bin/overrides/gnucash-build-env: fix trailing whitespace bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7258 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-01 04:40:16 +00:00
Derek Atkins
906b4f51ab * src/gnc-test-env: define LTDL_LIBRARY_PATH
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7257 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-01 04:13:21 +00:00
Christian Stimming
b671df5bf6 2002-10-01 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.c: More work and fixes
	for balance/transaction retrieval.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7256 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 23:59:34 +00:00
Derek Atkins
3809799b0f * src/scm/main.scm -- fix menu issue for LANG=de_DE.. "Preferences" is
really "_Preferences"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7255 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 22:28:03 +00:00
Derek Atkins
79fe4f10b7 * wrap gnc_commodity_table_add_default_data()
* src/engine/gnc-session.c -- don't try to modify a the path of a file: URL
	* src/engine/Transaction.c -- fail in mallocTrans if book is NULL
	* fix qif-io-core: use (gnc:transaction-set-currency) (not commodity)
	* qif-io-core.scm: need app-utils and to re-export simple-format
	* qif-io-core/test/Makefile.am: add app-file and backend/file dirs to tests
	* fix test-import-phase-1.scm: load app-file for symbols, fix
	  the commodity table; fix the "file save" portion


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7254 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 21:37:43 +00:00
Christian Stimming
352bdff101 Clarify some function documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7253 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 21:12:53 +00:00
Derek Atkins
9c0e54444f * get (alpha) qif-io-core to load again and "make check" to
start working (sort-of).  Still needs more work.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7252 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-30 18:29:00 +00:00
Joshua Sled
ae950cd6fb 2002-09-29 Joshua Sled <jsled@asynchronous.org>
* src/backend/file/io-gncxml-v2.c
	(write_template_transaction_data): Updated for new
	backend-structure arguments, to not crash in the call to
	xml_add_trn_data.  Fixes unfiled bug.

	* src/gnome/dialog-sxsincelast.c:
	* src/backend/file/gnc-schedxaction-xml-v2.c
	(sx_defer_last_handler)
	(sx_defer_rem_occur_handler, sx_defer_inst_count_handler)
	(sx_defer_inst_handler):
	* src/engine/SchedXaction.c (gnc_sx_add_defer_instance)
	(_temporal_state_data_cmp, gnc_sx_remove_defer_instance)
	(gnc_sx_get_defer_instances):
	Added and modified to support postponing to-be-created SXes; fixes
	Bug#88981.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7251 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-29 20:44:54 +00:00
Christian Stimming
d1197d383d 2002-09-29 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.[hc]: Initial code for
	transaction download with usage of generic transaction
	import. Requires OpenHBCI CVS update.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7250 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-29 20:16:21 +00:00
Benoit Grégoire
1d2e270101 2002-09-29 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c: Fix	segfault when
	importing into a gnucash account which has no splits.

	* src/import-export/gnc-ofx-import.c: Code simplification for
	commodity autoselection.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7249 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-29 17:28:21 +00:00
Derek Atkins
9a01a4d300 * fix g-wrap testing in configure to work with an existing config.cache
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7248 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-28 22:50:16 +00:00
Benoit Grégoire
ef9efd5024 Add missing ChangeLog entries for previous commit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7247 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-28 17:33:15 +00:00
David Hampton
42f491c1af Documentation updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7246 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 16:57:18 +00:00
David Hampton
9d1ee40961 Use report name from options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7245 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 14:54:46 +00:00
David Hampton
1289a79aa9 Change button labels.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7244 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 14:52:36 +00:00
Benoit Grégoire
0aa1c8d6bb -Fix new_account_default_type parameter of gnc_import_select_account() not selecting default type properly
-Add auto_create parameter to gnc_import_select_account().  If this parameter is 0 and the function is called, it will silently return NULL if no matching account is found, instead of asking user to select or create an account.
-Clicking cancel will now cancel the import for the whole account instead of having to click cancel for each transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7243 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 05:18:00 +00:00
Benoit Grégoire
ffd939341b -Default commodity and account type are now preselected from OFX information when user decides to create a new gnucash account.
-Fix segfault when canceling import in the file selection dialog


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7242 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 05:13:20 +00:00
David Hampton
d15de598e8 Add a Quit option to the "File Locked" message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7241 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 03:33:31 +00:00
Christian Stimming
3121daecdf 2002-09-25 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.c: Distinguish
	booked/noted balance now.

	* src/import-export/hbci/dialog-hbcitrans.c: Extend HBCI
	transaction dialog to use the gnc-amount-edit widget.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7240 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-24 22:55:32 +00:00
Benoit Grégoire
cf69e6b02b Change the title of the transaction matcher and change the look and alignment of the action buttons.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7239 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-23 20:26:35 +00:00
Benoit Grégoire
7bab3a2a85 nsactions just downloaded are now ignored from the matchlist.
-Reimplement transaction duplicate detection using unique-ID.  Transactions with a negative confidence are those that would normally be completely ignored (will be a user pref).
-Added a split's memo column to downloaded list and match list (will be possible to turn it off in user prefs)
-Fix segfault when togling buttons without a transaction selected.
-Fix button refresh bug.
-Grayout inapropriate selections for action list and change the look of the buttons.
-The REPLACE action really works this time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7238 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-23 18:52:40 +00:00
Christian Stimming
345c8d5e70 2002-09-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.c,
	src/import-export/hbci/dialog-hbcitrans.[hc] : Connect the HBCI
	transaction-invocation and gnucash xfer dialog.

	* src/gnome/dialog-transfer.[hc]: Add set_memo access function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7237 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-22 23:31:36 +00:00
Benoit Grégoire
69c7aa2733 hange lable of Online ID to Account ID in the account matcher for consistency
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7236 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-22 20:26:43 +00:00
Benoit Grégoire
7498b09c29 Remove obsolete file split in Account.c Transaction.c and Utilities.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7235 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-22 20:12:58 +00:00
Derek Atkins
bb4929da9f GUID_MATCH_ANY is allowed normally; it's GUID_MATCH_ALL that is special.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7234 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-22 14:37:37 +00:00
Christian Stimming
4146b1b9fd 2002-09-19 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.[hc], gnc-hbci-cb.[hc],
	dialog-hbcitrans.[hc], gncmod-hbci.c,
	src/import-export/hbci/glade/hbci.glade: Added dialog and HBCI
	code for HBCI online transaction invocation, and added a menu item
	to call this dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7233 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-18 22:52:36 +00:00
Christian Stimming
3f1b5151e2 Fully fix new feature from yesterday.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7232 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-18 21:21:43 +00:00
Christian Stimming
ee73c15de5 2002-09-18 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gncmod-hbci.c: Add menu-extension code
	for register menu items.

	* src/import-export/hbci/gnc-hbci-cb.h: add callback for register
	window's menu.

	* src/import-export/hbci/gnc-hbci-actions.c: Fix/improve first
	real HBCI task so that it might actually run.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7231 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 22:35:33 +00:00
Christian Stimming
32808a9cf2 2002-09-17 Christian Stimming <stimming@tuhh.de>
* src/gnome/window-register.c (regWindowLedger): Uses the
	menu_setup_with_data introduced below.

	* src/gnome-utils/gnc-menu-extensions.[hc]
	(gnc_extensions_menu_setup_with_data): Added, so that windows can
	pass userdata on to the extension menu's callback functions.

	* src/gnome/window-register.[hc]: Add getter functions for RegWindow
	data.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7230 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 22:05:56 +00:00
Christian Stimming
2ffb9fd9d3 Remove unneeded hbci cruft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7229 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 21:33:58 +00:00
David Hampton
f6dc3a65c5 Fix a circular dependancy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7228 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 09:29:27 +00:00
David Hampton
504a0ddc1f Undo last change. No argument needed to gnc:session-load and
gnc:session-save.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7227 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 08:06:29 +00:00
David Hampton
89e3fade7b src/engine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7226 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 08:05:40 +00:00
David Hampton
55f2f43fcd Add a progress bar to main window. Use this progress bar to show the
progress of read, write and export functions.  Internally this adds a
callback pointer for the various backends to pass a percentage done
number out to the session code.  It also adds a callback pointer for
the session code to pass this percentage on out to the routine that
initiated the file read/write.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7225 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 07:47:15 +00:00
David Hampton
7c484abb46 Add a file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7224 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 07:33:11 +00:00
Derek Atkins
78103fb7ae Fix bug #91413 -- Add TaxTable defaults to Customers and Vendors
* business-core/gncCustomer.[ch] -- add API for TaxTable and TaxTableOverride
	* business-core/gncVendor.[ch] -- add API for TaxTable and TaxTableOverride
	* business-core/file/gnc-customer-xml-v2.c -- store TaxTable and TTOverride
	* business-core/file/gnc-vendor-xml-v2.c -- store TaxTable and TTOverride
	* business-gnome/dialog-customer.c -- display/choose TaxTable and TTOverride
	* business-gnome/dialog-vendor.c -- display/choose TaxTable and TTOverride
	* business-gnome/glade/customer.glade -- add TaxTable Menu and Override button
	* business-gnome/glade/vendor.glade -- add TaxTable Menu and Override button
	* business-ledger/gncEntryLedger.c -- set traverse_to_new = TRUE when
	  you create a new ledger.
	* business-ledger/gncEntryLedgerLoad.c -- don't load the ledger the
	  first time through (e.g. when there is no invoice and no entries).
	  Pull in the default TaxTable, TaxIncluded, and Discount flags.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7223 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 04:19:57 +00:00
David Hampton
62145d4bd5 Add function name prefix to some routines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7222 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-16 22:49:34 +00:00
Christian Stimming
510d5814eb Forgot this part of Benoit Gregoire's generic transaction import patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7221 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-16 21:27:22 +00:00
Joshua Sled
13cd012bda Er ... real fix for 92779.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7220 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-16 06:44:42 +00:00
Derek Atkins
725b3d8f89 * configure.in -- die during configure if g-wrap version is wrong
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7219 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-16 04:24:21 +00:00