Commit Graph

6308 Commits

Author SHA1 Message Date
Christian Stimming
d1a4742dcf 2002-11-24 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.c: Improve space
	trimming in imported description.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7541 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 22:10:29 +00:00
Christian Stimming
b20a836c69 2002-11-24 Christian Stimming <stimming@tuhh.de>
* src/import-export/ofx/gnc-ofx-import.c: As a trial, use new
	generic transaction importer GUI. Changes are marked with 'CS:'.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7540 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 21:41:10 +00:00
Christian Stimming
fefd3c6d48 Improve i18n comments. Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7539 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 21:13:40 +00:00
Derek Atkins
4ec84856c5 2002-11-24 Derek Atkins <derek@ihtfp.com>
* src/engine/Account.c -- fix some compiler warnings
	* src/gnome/window-register.c -- fix a compiler warning
	* src/gnome/dialog-scheduledxaction.c -- fix a compiler warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7538 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 17:23:57 +00:00
David Hampton
000de90d57 Add a foundation for having progress bars during report
creation. #94280

Rename the gnc_mdi_file_percentage function to
gnc_mdi_show_progress.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7537 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 10:11:58 +00:00
David Hampton
9a2d29df7f Don't override the previous state on all the transactions in the
reconciliation window. Only set those the user identified as
reconciled. #95639


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7536 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 07:23:19 +00:00
David Hampton
3422380ce6 If there is a current split, then ensure that the transaction
containing that split stays in the register.  This will make the
transaction being edited stay in the register until you move to
another transaction, even though the accounts may have been
changes. #92158


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7535 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 06:56:45 +00:00
David Hampton
aa9c4dca69 If all the entries of the current split have been cleared, then delete
this split. #98139


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7534 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 06:55:21 +00:00
Joshua Sled
2e7979127b 2002-11-23 Joshua Sled <jsled@asynchronous.org>
* src/app-utils/prefs.scm (gnc:make-number-range-option): Fix
	wording of pref-widget hints; fixes Bug#99389.

	* src/gnome/glade/sched-xact.glade:
	* src/gnome/dialog-sx-from-trans.c:
	* src/gnome/druid-loan.c (gnc_ui_sx_loan_druid_create):
	* src/gnome-utils/gnc-frequency.c (gnc_frequency_init):
	* src/gnome/dialog-scheduledxaction.c
	(gnc_ui_scheduled_xaction_editor_dialog_create):
	GnomeDateEdit -> GNCDateEdit; Fixes Bug#99357.

	* src/gnome/dialog-scheduledxaction.c
	(gnc_ui_scheduled_xaction_editor_dialog_create): Removed
	delete-event handling duplicated by close signal from GnomeDialog;
	fixes Bug#99399.
	(sxed_close_event): Check for a valid SX before proceeding; fixes
	Bugs#99350 and dupes [99348,99356,99397].


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7533 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 04:19:33 +00:00
David Hampton
389b9599fc I18n changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7532 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 01:16:39 +00:00
Christian Stimming
63af960213 Updated translations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7531 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 00:54:04 +00:00
Christian Stimming
d1f3334dcd Remove -Werror again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7530 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-24 00:45:13 +00:00
David Hampton
67386f7f9e Fix a dialog title to match its function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7529 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-23 19:47:26 +00:00
David Hampton
1bddedf4ee Update help menu in the register window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7528 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-23 19:29:07 +00:00
Christian Stimming
7c06601cea 2002-11-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.c: Use the new generic
	transaction importer.

	* src/import-export/gnc-gen-transaction.[hc],
	generic-importer.glade: Added a new generic transaction importer,
	with GUI as proposed on gnucash-devel (one-page, one-listview).

	* src/import-export/Transaction-matcher.[hc]: Refactor the code
	even more and separate GUI-dependent from -independent tasks.
	(gnc_import_match_picker_run_and_close): Add a new "Match-Picker
	Dialog" for the non-usual case of where the user should pick
	between different possible duplicate matches.
	(matchmap_find_destination): Add automatic destination guessing
	and learning, based on the GncImportMatchMap.

	* po/POTFILES.in, de.po: Updated translations.

	* src/engine/Account.h, src/import-export/gnc-import-match-map.h:
	Clarify some comments.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7527 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-23 18:52:52 +00:00
David Hampton
338a4ef90d Add a new progress dialog. Mark the existing ones for i18n.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7526 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-23 10:53:23 +00:00
David Hampton
8e073443a2 Make sure that all columns are always visible in the reconcile list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7525 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-23 05:39:13 +00:00
Christian Stimming
0ea484dfc4 2002-11-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/Transaction-matcher.c: Refactor *a lot* of the
	code -- try to separate GUI-dependent tasks from GUI-independent
	ones, and make many functions publically reachable by declaring
	them in the header file.

	* src/import-export/gnc-generic-import.h, *.h: Move some function
	into new Transaction-Matcher.h (which is included from here for
	now), and add some const's at the kvp functions.

	* src/gnome-utils/dialog-utils.h: Added many comments for docs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7524 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-23 00:55:48 +00:00
Christian Stimming
d675d81af8 2002-11-22 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/dialog-account-pick.[hc]: Move the account
	picker dialog from hbci/ to gnome-utils.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7523 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-22 18:31:44 +00:00
Christian Stimming
7aa201168a Improved date heuristics (punishment if dates are very very far apart).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7522 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-22 00:29:40 +00:00
Christian Stimming
a92e78fad9 2002-11-22 Christian Stimming <stimming@tuhh.de>
* src/import-export/Transaction-matcher.c: Fix the case when
	trans_online_id exists but is empty. Simplify heuristics for date
	matching. Increase exact amount matching value.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7521 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-22 00:06:17 +00:00
Christian Stimming
dd296d34f3 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7520 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-22 00:03:43 +00:00
Christian Stimming
7d311db94e Slightly change formatting of transaction fields.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7519 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-22 00:03:17 +00:00
Christian Stimming
be7835304b Set split to 'cleared' only if it was in 'not reconciled' beforehand.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7518 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-21 22:18:06 +00:00
Christian Stimming
3d880f6399 Add missing files for dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7517 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-21 22:03:34 +00:00
Derek Atkins
da0d086b37 * README/README.cvs -- update to reference how to "properly" use
autogen.sh


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7516 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-21 21:40:33 +00:00
Derek Atkins
7ab56fc12e * src/scm/main.scm -- fix the load of price-quotes on guile-1.4.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7515 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-21 20:34:36 +00:00
Derek Atkins
744de42079 * business-core/test/*.c -- fix the tests for begin/commit edit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7514 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-21 20:16:23 +00:00
Benoit Grégoire
c95d33c3da 2002-11-21 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c: Tweak the matching
	heuristics.
	-Memo and description heuristics now both have a very primitive
	fuzzy match worth +1:  Only the first half of the string is compared.
	The rationale is that this will allow the matcher to skip the
	transaction number sometimes appended after the description by
	some banks.
	* src/import-export/ofx/gnc-ofx-import.c:  Transaction memo is
	always written in the split's memo.
	* src/doc/user-prefs-howto.txt:  Add new file, by Christian Stimmings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7513 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-21 19:27:23 +00:00
Benoit Grégoire
7764047fb7 2002-11-21 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/generic-import.scm: New file, contains user
	prefs for the Transaction matcher:
	Display, Auto-ADD and Auto-CLEAR thresholds can be ajusted.
	SKIP and REPLACE action can now be disabled.
	* src/import-export/gncmod-generic-import.c: Load generic-import.scm
	* src/import-export/Makefile.am: Add generic-import.scm
	* src/import-export/Transaction-matcher.c:
	-Use the new user prefs.
	-Change the name of the actions to hopefully reflect better the
	action that will be taken.  RECONCILE is now CLEAR, and IGNORE is
	now SKIP.
	-Disable numeric scoring.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7512 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-21 08:11:02 +00:00
Christian Stimming
381734fa16 2002-11-19 Christian Stimming <stimming@tuhh.de>
* src/engine/Scrub.c (xaccTransScrubCurrency): Add code to deal
	correctly with currency exchange transactions from 1.6. Fixes
	reported problems with importing 1.6 data files, #91505.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7511 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-19 22:31:47 +00:00
Benoit Grégoire
21f030b7d1 2002-11-18 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c: Change default "RECONCILE"
	action from 'y' (reconciled) to'c' (cleared)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7510 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-19 04:44:07 +00:00
Derek Atkins
366f7d26a2 * configure.in -- fix OFX search to look in /usr/local if it cannot
find it in /usr.  It skips the second check if you supply an ofx-prefix.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7509 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-19 02:54:52 +00:00
David Hampton
3f318a6325 Fix some problems with the gcc 3.x cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7508 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-19 00:52:22 +00:00
Christian Stimming
873b37153b I18n fixes. Update German Translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7507 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 21:43:11 +00:00
Christian Stimming
7f637fd287 Makefile fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7506 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 21:11:47 +00:00
Christian Stimming
cf21d524d3 More Makefile fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7505 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 21:11:21 +00:00
Chris Lyttle
49879fb417 ooops version macro didnt work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7504 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 08:30:49 +00:00
Chris Lyttle
cd792551fe update to release 1.7.3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7502 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 08:21:27 +00:00
David Hampton
08e08f1148 Add support for gtkhtml 1.1.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7501 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 07:19:56 +00:00
Joshua Sled
d9cca5f10f 2002-11-17 Joshua Sled <jsled@asynchronous.org>
* src/engine/date.[ch] (printGDate): Convenience wrapper around
	printDate.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7500 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 05:55:47 +00:00
Benoit Grégoire
7b07c0e188 2002-11-18 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c: Remove constant length
	strings and replace with moving pointers.  I wish _("string")
	could be used as a could initializer like "string" can...


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7499 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 05:52:05 +00:00
David Hampton
ed7e5bfc88 Fix a bunch of compilation warning messages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7498 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 05:05:48 +00:00
Joshua Sled
12ccab1dce 2002-11-17 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c:
	* src/gnome/dialog-scheduledxaction.c:
	Use printGDate() when we need to print dates; fixes Bug#96477.

	* src/engine/date.[ch] (printGDate): Convenience wrapper around
	printDate.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7497 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 03:46:27 +00:00
Joshua Sled
ddca426702 2002-11-17 Joshua Sled <jsled@asynchronous.org>
* src/gnome/druid-loan.c (ld_calc_current_instance_num): Do some
	work to figure out the correct current-instance-number for
	non-monthly Loan-Repayment SXes.
	(ld_create_sxes): Make the created SXes time out after the length
	of the loan, rather than trying to get the number-of-periods
	totally correct.  This obsoletes Bug#97808.

	* src/gnome/dialog-sxsincelast.c (sxsincelast_tc_row_sel): Don't
	assertion-failure if the user select a non-leaf row.

	* src/gnome/dialog-scheduledxaction.c (sxed_confirmed_cancel):
	Added; used by cancel button handler and [newly added] GnomeDialog
	"close" handler; fixes Bug#84683.

	* src/gnome/druid-loan.c: I18n of some strings previously
	unaccounted for.
	(ld_opt_consistency): Don't enable the "Through Escrow" checkbox
	if there is no escrow account defined.
	(ld_calc_upd_rem_payments): Added; calculate the number of
	remaining payments based on the start date, loan length and
	current date; fixes Bug#91815.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7496 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 02:21:26 +00:00
David Hampton
4f03fb7d82 Convert a couple of functions over to use the new gnc_split_reg_xxx
functions instead of the old gnc_register_xxx functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7495 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 01:45:55 +00:00
David Hampton
68e7974f40 Fix some compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7494 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 01:40:49 +00:00
David Hampton
28aed22fcb Clean up the gcc 3.x warnings about including system directories.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7493 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 00:59:52 +00:00
David Hampton
5e36640c84 Use g_new0 instead of g_new to prevent a crash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7492 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 00:56:22 +00:00
Christian Stimming
e3c406c89c Some i18n fixes. Updated German Translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7491 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-17 21:31:55 +00:00