Commit Graph

6506 Commits

Author SHA1 Message Date
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
Benoit Grégoire
50edf78b1d 2002-12-6 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c:  Fix for gcc2


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7634 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 01:29:11 +00:00
Christian Stimming
83240ff959 Add include for ngettext wrapping.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7633 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 01:21:34 +00:00
Benoit Grégoire
b6092223f6 2002-12-6 Benoit Gr�goire <bock@step.polymtl.ca>
Huge patch, this is the new generic import
	architecture/transaction matcher.  Many old
	files were renamed, split or deleted.

	* src/engine/Transaction.c,h:
	- Add a DxaccSplitSetAmount function,
	- Fix a bug in xaccSplitsComputeValue (Split values were
	sometimes being summed, which is illogical) that caused
	xaccTransGetImbalance to sometimes return incorrect values.
	Somebody please review this.  Playing in the engine during
	freeze isn't ideal.

	* src/import-export/import-backend.c,h: There is now a
	real backend, completely independent of the GUI.

	* src/import-export/gnc-gen-transaction.c: This is Christian's
	old matcher, I tried to maintain compatibility, but couldn't
	really test.  Please note that there is some code
	simplification that could be done there now that there is a
	clean backend, and that some values passed between the functions
	might no longuer have any effect.

	* src/import-export/ofx/gnc-ofx-import.c:  Update for new
	matcher.  Use the currency reported by libofx and
	xaccSpiltSetBaseValue when adding a banking/credit card
	transaction.

	* src/import-export/import-account-matcher.c,h: This is a
	very generic and flexible account matcher/picker.

	* src/import-export/import-commodity-matcher.c,h: This is
	a generic commodity matcher/picker.

	* src/import-export/import-main-matcher.c,h: This is the
	main transaction matcher GUI. It's mostly feature complete
	and should be fairly stable, but probably leaks memory.

	* src/import-export/import-match-map.c,h: Derek Atkin's
	generic string/account matching infrastructure.

	* src/import-export/import-match-picker.c,h:  This is the
	interface to pick a matching transaction.  It has been
	completely ripped from the backend.

	* src/import-export/import-settings.c,h:  All user
	settings (or compiled-in settings) are now abstracted in
	an opaque structure with getter functions.

	* src/import-export/import-utilities.c:	These are utility
	functions to help import module writers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7632 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-07 00:34:28 +00:00
Christian Stimming
06e6ad6483 2002-12-06 Christian Stimming <stimming@tuhh.de>
* po/nl.po, po/uk.po: Updated translations by Hendrik-Jan Heins
	<hjh@passys.nl> and Volodymyr M. Lisivka <lvm@mystery.lviv.net>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7631 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-06 22:58:19 +00:00
Derek Atkins
cd25e8eb52 * src/register/ledger-core/split-register-control.c -- Fix the
amount display so that the exchange dialog always shows the
	  "amount" in the the local (register) currency.  It will convert
	  the amount to the txn currency if necessary in cases where all
	  accounts involved in a split are different (strange edge case).
	  Fixes #100277


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7630 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-06 21:45:12 +00:00
David Hampton
a287a86ab0 Make VWD price quotes work. Add a run-time check for the presence of
the LWP (libwww-perl) module.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7629 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-06 08:42:02 +00:00
Derek Atkins
1c5fd9f7a9 * src/gnome-utils/dialog-transfer.[ch]: add two APIs to set the
exchange rate and to set "swapped currencies".  The former will
	  set the "price" and the latter will set a (as of yet unused) flag.
	* src/register/ledger-core/split-register-control.c: Don't pop up
	  the exchange dialog when it is not needed, even when reqested.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7628 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-06 06:58:57 +00:00
Derek Atkins
53b8443e7c Add a comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7627 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-06 01:17:32 +00:00
Derek Atkins
2de8cca0b3 * src/gnome/glade/register.glade -- add "Edit Exchange Rate" menu
items to the Actions menu and the context menu
	* src/gnome/gnc-split-reg.c -- turn off Exchange Rate editing on
	  "read-only" registers
	* src/register/ledger-core/split-register-control.c -- fix the logic
	  for when we pop-up the exchange-rate dialog, in particular when the
	  user requests it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7626 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-06 01:00:48 +00:00
Derek Atkins
b300c13888 * revert patch -- not needed. Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7625 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 23:02:33 +00:00
Derek Atkins
998298e25f * src/gnome-search/Makefile.am: add GDK_PIXBUF_CFLAGS because
it is pulled in by gtkhtml, which is pulled in from window-help.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7624 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 21:40:28 +00:00
David Hampton
235248a0f4 Catch errors in the execution of the finance-quote-helper script and
print a warning message.  Allow stock index names to be passed to
finance-quote-helper.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7623 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 07:19:46 +00:00
Derek Atkins
9821b8879b * src/import-export/qif-import/qif-parse.scm:
* src/import-export/qif-io-core/qif-parse.scm:
	  deal with broken QIF files that give broken bang-fields.  In
	  particular, handle the case where it supplies "!Type Bank"
	  instead of "!Type:Bank"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7622 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 06:37:22 +00:00
Derek Atkins
ae8112a77c * remove src/experimental/ofx from the build system
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7621 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 06:11:37 +00:00
Derek Atkins
6a3d562957 * README: fix references to g-wrap
* acinclude.m4: fix g-wrap test to fail properly if it cannot
	  find g-wrap-config


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7620 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 06:05:33 +00:00
Derek Atkins
7ec2795267 * src/gnome/gnc-split-reg.c: add a handler for
exchange-rate menu items..  Partial fix for #100285


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7619 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 00:11:49 +00:00
Derek Atkins
9380dc52f0 * src/register/ledger-core/split-register-p.h:
* src/register/ledger-core/split-register.h:
	  move handle_exchange() API from -p.h to .h to export it
	  for the menus to call.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7618 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-04 18:42:12 +00:00
David Hampton
ace48f6712 Normalize the path name before using it to open a config files. This
insures that you always get the same config file regardless of how you
reference the data file.  #90487


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7617 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-04 07:31:53 +00:00
David Hampton
f92fe14fac Write out a new 1.8 version of the config file. Add the 1.8 version to
the list of files to try an read when reading the config. #100266


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7616 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-04 05:10:10 +00:00
David Hampton
da5e7a9b4f Put the build date into the about box for development versions of
gnucash. #99775


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7615 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-04 02:09:17 +00:00
David Hampton
d3821422dd Don't erase the just loaded account information because the backend is
reporting that the file is from a previous version.  Let the caller
decide after querying the user. #97270.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7614 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-04 02:08:51 +00:00
Derek Atkins
b0fad26f7b Closed bug # 97690
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7613 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-04 00:55:14 +00:00
Derek Atkins
26c220e939 fix a typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7612 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-04 00:14:03 +00:00
Derek Atkins
6be53f8f23 * src/register/ledger-core/split-register-control.c:
export the 'handle_exchange()' interface
	* src/register/ledger-core/split-register-p.h:
	  add the 'handle_exchange()' prototype
	* src/register/ledger-core/split-register.c:
	  call handle_exchange() from the save() function to make sure we
	  have an exchange rate if the user hits "Enter" instead of
	  tabbing off the end.  For the record, the logic of the register
	  is HORRIBLE, in that there are multiple code paths to deal with
	  moving the "current location" depending on _how_ you move!  This
	  is awful, and means you need a lot of duplicated code to deal
	  with all the different corner cases.  Someone should re-write
	  this all.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7611 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 23:34:48 +00:00
David Hampton
2b4a837aeb Don't delete an empty split if its the current transaction
split. #99774


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7610 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 09:14:20 +00:00
Chris Lyttle
633f2ea8fe update to 1.7.5
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7608 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 08:56:42 +00:00
Chris Lyttle
4709a870af change version back
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7606 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 08:11:40 +00:00
Chris Lyttle
cce1490d2f update to 1.7.4a
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7605 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 08:03:16 +00:00
David Hampton
21d58c5abd Document changes to the src/doc directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7604 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 07:57:58 +00:00
David Hampton
e5c3a11bb1 Today's changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7603 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 07:41:03 +00:00
David Hampton
e0600d10a2 Fix build problems with the doxygen docs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7602 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 07:35:11 +00:00
Derek Atkins
3cf2d24a0a * src/register/ledger-core/split-register-control.c:
fill in the "exchange dialog" with entries from the current split/trans
	  change the API to allow a menu-item to pop up the exchange dialog


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7601 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 05:33:06 +00:00
David Hampton
64a4dcaa2a Search the entire cellblock for a cell. Don't bail if one of the
entries isn't populated.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7600 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 04:47:33 +00:00
Derek Atkins
bfbcb8b38d * src/gnome-utils/dialog-transfer.c:
don't make some checks if we're acting as an exchange dialog.
	  Set an initial exchange_rate when it's passed in.
	  Grab focus in the price-entry if we're acting as an exchange dialog.

	* src/register/ledger-core/split-register-control.c:
	  reset the rate if the account changed.
	  get the exchange dialog to pop up in expanded txns

	* src/register/ledger-core/split-register-model.c:
	  put the "proper" exchange rate in the RATE_CELL
	  fix the print_info
	  use ALLOW_SHADOW so the rate-cell gets copied into the cursor

	* src/register/ledger-core/split-register.c:
	  initialize the RATE Cell print-info


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7599 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 04:40:46 +00:00
David Hampton
5b666a803f Convert the delete dialogs to follow the existing gnucash standard
where the cancel button is the rightmost button in the dialog box.
#98291


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7598 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-03 03:42:03 +00:00
Christian Stimming
8baa800d64 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7597 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 19:46:33 +00:00
Christian Stimming
322b8464a6 2002-12-02 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c, gnc-hbci-gettrans.c,
	gnc-hbci-transfer.c: Create common functions for filling of
	description and memo fields.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7596 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 19:44:26 +00:00
David Hampton
9677a45827 Document yesterday's commit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7595 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 18:03:36 +00:00
Derek Atkins
e4293a44fe * src/register/ledger-core/split-register-model.c:
* src/register/ledger-core/split-register-model-save.c:
	  Fix a few rounding errors when computing conversion rates.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7594 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 16:34:25 +00:00
Derek Atkins
ffcd3b88fa * src/register/ledger-core/split-register-model-save.c -- fix a bug
updating two-split multi-currency transactions from the basic ledger.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7593 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 16:03:30 +00:00
Chris Lyttle
7fd7787c90 fix for failed rpm build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7592 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 10:44:33 +00:00
Chris Lyttle
d7cb65ba42 update to release 1.7.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7590 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 09:22:20 +00:00