Commit Graph

6548 Commits

Author SHA1 Message Date
David Hampton
04b722206d Fix compilation warnings in preparation for re-enabling the -Werror
compile flag.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7684 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-14 19:25:58 +00:00
Christian Stimming
a17b9305e7 2002-12-14 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-backend.c (matchmap_store_destination):
	Fix error messages when memo or description is empty.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7683 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-14 13:17:54 +00:00
Christian Stimming
ef48c2edd5 2002-12-14 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.c: Switch to always
	using the import-main-matcher.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7682 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-14 13:00:44 +00:00
Chris Lyttle
09996768ef fix rpm prob
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7681 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-14 00:16:55 +00:00
Christian Stimming
4beb05dfcb Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7680 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-13 18:12:20 +00:00
Benoit Grégoire
43e1d5b152 2002-12-12 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-account-matcher.c: Fix "level 3 and
	more subaccount not selected by default" bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7679 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-12 16:13:28 +00:00
Derek Atkins
aacd10b603 * configure.in: require g-wrap >= 1.3.3
* src/engine/gw-engine-spec.scm: use gslist-of where needed
	* src/engine/gw-kvp-spec.scm: use gslist-of where needed

	NOTE: As of now you ABSOLUTELY REQUIRE G-WRAP >= 1.3.3


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7678 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-12 05:14:01 +00:00
David Hampton
c98a3a1a8d Support for having an account scu that doesn't match the account
commodity's scu.  This allows a user to notice/correct a case where
the two are out of whack and correct it (#100295), or to intentionally
set them that way.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7677 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-12 04:44:35 +00:00
Derek Atkins
45ba7f6cfd * src/gnome-utils/dialog-transfer.c -- lookup and store entries in
the pricedb, and use those entries when you change accounts and
	  dates.  It will only save one entry per "date-time", so you need
	  to use the price editor to remove/change entries in the pricedb.
	  It may be a bit over-zealous of using the pricedb entries -- if
	  you change the date or an account after typing in a number it will
	  over-write your change with the nearest pricedb entry.
	  Fixed Bug #100284.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7676 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-12 04:31:35 +00:00
David Hampton
09c05a3667 New help URLs as per Wilddev's request.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7675 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-12 04:21:46 +00:00
Christian Stimming
accca44c6f 2002-12-11 Christian Stimming <stimming@tuhh.de>
* accounts/el_GR/acctchrt_common.gnucash-xea: Greek account
	templates by Nikos Charonitakis <frolix68@yahoo.gr>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7674 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-11 22:47:15 +00:00
Christian Stimming
4a28b35c85 Add some comments for translators.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7673 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-11 21:55:41 +00:00
Christian Stimming
f443518d7a 2002-12-11 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.c: Fix broken changes
	by Benoit.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7672 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-11 20:37:14 +00:00
Christian Stimming
b1a8cf98ef Updated translation by Nikos Charonitakis <charosn@her.forthnet.gr>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7671 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-10 19:02:54 +00:00
Christian Stimming
139a08f290 2002-12-10 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/commodity-utilities.scm: Fix bug
	#100463.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7670 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-10 18:54:43 +00:00
Benoit Grégoire
05dfc2119f 2002-12-10 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/*: Add user pref to allow HBCI users to select if they want Christian's matcher or mine.  Update OFX readme.  Update column width in account-picker.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7669 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-10 08:54:39 +00:00
Christian Stimming
dc694d64a9 2002-12-09 Christian Stimming <stimming@tuhh.de>
* po/nl.po: Updated translation by Hendrik-Jan Heins
	<hjh@passys.nl>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7668 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-09 19:43:59 +00:00
Derek Atkins
67243cd0ab * src/gnome/window-acct-tree.c: Disallow the deletion of accounts
with ReadOnly Transacation in them.  You must first "delete" the
	  RO Txns before you delete the account.  Fix for bug# 100727 (although
	  it requires invoice unposting to work).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7667 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-09 19:33:51 +00:00
David Hampton
501e2589e9 Somebody shoot me.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7666 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-09 06:44:09 +00:00
Benoit Grégoire
b7e686ad4e 2002-12-9 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-main-matcher.c:
	* src/import-export/generic-import.glade: Change colors, remove
	imbalance column and put it's info into the "Select action column",
	 when appropriate.  Change many strings after discussion with
	Wilddev.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7665 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-09 05:34:33 +00:00
Benoit Grégoire
91b9ba5590 2002-12-8 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-account-matcher.c,h: Add param to
	 gnc_import_select_account():
	@param ok_pressed A pointer to gboolean.  If non-NULL, whether or
    	not the picker dialog was closed by the user pressing ok will be
    	stored in the parameter.  If no dialog was created by the
    	gnc_import_select_account() call, TRUE is always returned.
	* src/import-export/ofx/gnc-ofx-import.c: Fix for above change.
	* src/import-export/gnc-gen-transaction.c: Take advantage of
	above change
	* src/import-export/import-main-matcher.c: Take advantage of
	above change.  Shorten the strings in the "Specific action to be
	taken" column.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7664 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-09 00:21:48 +00:00
Benoit Grégoire
fc98dc796a 2002-12-8 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Make the auto-balance
	split have the correct amount in all cases by using
	xaccTransGetImbalance() instead of the first split's value.
	* src/import-export/import-account-matcher.c:
	-Performance improvements in the display code, and skiping
	lookup of the kvp frame when not needed.
	-Expand the tree when a subaccount is selected
	-Remove redundant selection lookup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7663 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 22:44:23 +00:00
Joshua Sled
941b7dacc5 2002-12-08 Joshua Sled <jsled@asynchronous.org>
* src/engine/SchedXaction.h: Doxygen-related changes.

	* src/register/ledger-core/split-register-layout.c
	(gnc_split_register_layout_add_cells): Change F(DEBT|CRED)_CELL
	types to FORMULA_CELL from QUICKFILL_CELL.

	* src/register/register-gnome/gncmod-register-gnome.c
	(libgncmod_register_gnome_LTX_gnc_module_init): Add
	formulacell-gnome override to gnc_register setup.

	* src/register/register-core/formulacell.c:
	* src/register/register-gnome/formulacell-gnome.c: Filled in a
	long-thought of idea for a formula cell: can contain text unlike a
	pricecell, but doesn't really want to do auto-complete like a
	quickfill cell [what we had been using].  This allows us to
	provide the gnome formula cell which can remap the keypad '.'
	character based on locale; addresses Bug#97065, which is the
	cause of Bugs#97063 and #97062.

	* src/gnome/glade/sched-xact.glade: Remove "[Last Day]" option;
	add "/last day" to 29/30/31 options in gnc-frequnecy month-based
	selections.

	* src/gnome/dialog-scheduledxaction.c (new_button_clicked): Change
	default new SX frequency to monthly; fixes Bug#100615.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7662 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 22:25:40 +00:00
Derek Atkins
33d989eb1e * README.cvs: mention gettextize breakage and "cvs up -C"
workaround.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7661 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 18:01:25 +00:00
Christian Stimming
2dbd57d31d Revert latest change in category-barchart.scm -- in fact there wasn't an
error at all. (The problems were only in commodity-utilities.scm).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7660 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 16:04:20 +00:00
Christian Stimming
2e3f7e07ff 2002-12-08 Christian Stimming <stimming@tuhh.de>
* src/report/standard-reports/category-barchart.scm: Fix some
	multi-currency bugs introduced during the progress bar work.

	* src/report/report-system/commodity-utilities.scm: For
	calculation of weighted average, use all accounts and not only
	currency/stock accounts now with the new exchange system.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7659 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 15:59:27 +00:00
Christian Stimming
b27bdceef8 2002-12-08 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-backend.c: Fix zero amount in the
	'other' split of an imported transaction by now using
	SplitSetBaseValue.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7658 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 14:55:45 +00:00
Christian Stimming
4d8b8c8625 More comments about how to use functions (xaccSplitSetBaseValue).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7657 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 14:54:37 +00:00
David Hampton
0a875d8fe7 Make the register's "Set Date Range" window more intuitive by moving a
button.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7656 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 10:56:04 +00:00
David Hampton
288cc88f9e Tweak the filename normalization routines. Ignore anything starting
with blah:// unless its file://.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7655 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 10:54:42 +00:00
Christian Stimming
39d7d736a1 more doxygen improved documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7654 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 02:19:10 +00:00
Benoit Grégoire
1f5adc6bc4 2002-12-7 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/generic-import.glade:  Add user instructions,
	get rid of apply button.
	* src/import-export/import-main-matcher.c: Speed optimizations,
	implement import status notification with background color.
	Clarify strings.

	Note:  The matcher is now feature complete, except for manual
	transaction editing.  (More optimizations and code review still
	to be done)  I am awaiting comments about the matcher UI and
	and investment transaction importing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7653 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 01:47:24 +00:00
David Hampton
f3c166b44d Remove Finance::Quote from the repository.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7652 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 01:08:48 +00:00
Christian Stimming
e9406191ed 2002-12-07 Christian Stimming <stimming@tuhh.de>
* configure.in: Require openhbci 0.9.4 for HBCI version choosing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7651 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 00:24:29 +00:00
David Hampton
eb868d71d5 Consolidate all knowledge about Finance::Quote sources into one
place. Rename functions.  Determine if F::Q is installed properly, and
if so, what quote sources are installed.  Clean up actual calls to
F::Q.  If F::Q isn't available, dim the entire quotes frame in the
Edit Account dialog, and add a warning message about F::Q.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7650 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-08 00:21:25 +00:00
Derek Atkins
cd1b6b6b37 * src/engine/gnc-commodity.c: change PWARN() to DEBUG() in
gnc_commodity_equal(), because the average user doesn't need
	  to know why commodities are not equal.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7649 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 23:50:14 +00:00
Derek Atkins
f559c850a3 * src/register/ledger-core/split-register-control.c:
- Don't grab the register account for multi-split txns.  Just return NULL.
	  - Better logic in the exchange-rate handler function for when to
	    pop up the dialog, and what to put into it.
	  - add an error dialog for corner cases where we want to force
	    the user to expand the txn in order to get proper conversions.

	* src/register/ledger-core/split-register-model-save.c:
	  - export "split_needs_amount()" for use elsewhere
	  - fix the logic in handling debcred changes, in particular for
	    multi-currency cases.  Convert amount->value->amount properly.
	  - handle the case where you change the exchange-rate manually
	    (and do nothing else).
	  - fix the logic in the save-split post-processing for what gets
	    converted when.

	* src/register/ledger-core/split-register-p.h:
	  - export the "split_needs_amount()" api for use in the register.

	FIXES bug #100489


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7648 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 22:37:50 +00:00
Benoit Grégoire
96c1ab0cb9 Stubborn Changelog...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7647 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 21:17:38 +00:00
Benoit Grégoire
8b98f87cc5 2002-12-7 Benoit Gr�goire <bock@step.polymtl.ca>
More Doxygenification.  Created an Engine module, and a
	Deprecated list.  Unfortunately, unless we turn on EXTRACT_ALL
	(not very practical currently) not all functions will appear
	unless they are all documented.
	* src/engine/Transaction.h: More Doxygenification
	* src/engine/Account.h: Doxygenify
	* src/doc/doxygen.cfg.in: Minor config change.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7646 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 21:16:01 +00:00
Christian Stimming
f320ed5d48 Update translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7645 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 19:39:00 +00:00
Christian Stimming
4fe83da21c 2002-12-07 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-backend.c: Fix adding the balancing
	split.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7644 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 19:36:02 +00:00
Christian Stimming
47a67ab195 2002-12-07 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c: Correctly reparent the
	HBCI widgets when the parent window changes.

	* src/import-export/hbci/hbci-interaction[P].[hc],
	hbci-progressmon.c, hbci.scm: Add option for "close on finish" of
	the HBCI log window.

	* src/import-export/hbci/druid-hbci-initial.c, glade/hbci.glade:
	Add dialog for choosing HBCI version.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7643 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 19:21:30 +00:00
Christian Stimming
0701b43de2 Fix i18n problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7642 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 19:04:10 +00:00
Christian Stimming
f75485b2b2 2002-12-07 Christian Stimming <stimming@tuhh.de>
* po/el.po: Updated translation by Nikos Charonitakis
	<charosn@her.forthnet.gr>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7641 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 17:41:54 +00:00
Christian Stimming
635def6e42 2002-12-07 Christian Stimming <stimming@tuhh.de>
* src/engine/Transaction.h: Extensively added function
	documentation (in order to avoid further amount/value confusion
	down the road), watch doxygen output. Added a lot of 'const' all
	over the place.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7640 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 13:05:45 +00:00
Christian Stimming
407049ed86 2002-12-07 Christian Stimming <stimming@tuhh.de>
* po/nl.po: Fix use of msgid_plural by adding the appropriate
	header entry.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7639 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 10:03:13 +00:00
Benoit Grégoire
70cf41be4c Missing changelog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7638 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 08:16:55 +00:00
Benoit Grégoire
aa30d872e7 2002-13-6 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/ofx/gnc-ofx-import.c:  Do the "right"
	thing for setting split amount and value.
	* src/import-export/import-main-matcher.c: Cosmetic
	improvements for balance display and window resizing.
	* All other affected files:  Doxygenify everything.  Take a
	look, run make doc, and open src/doc/html/index.html


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7637 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 08:13:46 +00:00
Derek Atkins
e68a9bbe19 * po/nl.po -- don't use msgid_plural -- it fails to work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7636 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 04:54:29 +00:00
Derek Atkins
ad293e3fc0 * revert patch in src/engine/Transaction.c -- imbalance is computed
by _value_ -- ALWAYS.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7635 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 04:47:55 +00:00