Commit Graph

6557 Commits

Author SHA1 Message Date
Derek Atkins
7be855053c * src/register/ledger-core/split-register-control.c: invert the
exchange rate when we're swapping currencies, since the logic
	  of the transfer dialog was reversed.  Fixes bug #102157


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7745 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-01 23:29:04 +00:00
Christian Stimming
f7b08d89bf Follow up on Benoit's gcc3 fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7744 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-31 10:42:55 +00:00
Benoit Grégoire
0fef080b65 2002-12-30 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/hbci/druid-hbci-initial.c
	* src/import-export/hbci/gnc-hbci-utils.c:
	Fix a bunch of "warning: deprecated use of label at end of
	compound statement" in gcc3 in select statements (added
	semicolons after default: so that I don't break anything,
	but it should probably output an error instead).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7743 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-31 01:06:23 +00:00
Christian Stimming
5a72709243 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/report/standard-reports/cash-flow.scm: Patch by Ed Warnicke
	<hagbard@physics.rutgers.edu>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7742 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 18:47:01 +00:00
Christian Stimming
b7bd4ed1d7 2002-12-30 Matthew Vanecek <mevanecek@yahoo.com>
* src/backend/postgres/PostgresBackend.c: Added some ENTER
	and LEAVE statements to more of the functions.

	* src/backend/postgres/upgrade.c: Changed all the DATETIME
	SQL data types to TIMESTAMP.  DATETIME will not be in Postgresql
	as of 7.3.

	* src/backend/postgres/functions.sql: Changed all the DATETIME
	types in the DDL to TIMESTAMP.

	* src/backend/postgres/table-create.sql: Changed all the DATETIME
	types in the DDL to TIMESTAMP.

	* src/backend/postgres/table-audit.sql: Changed all the DATETIME
	types in the DDL to TIMESTAMP.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7741 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 18:40:11 +00:00
Christian Stimming
5daccf5703 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/app-utils/prefs.scm, src/app-utils/global-options.c: Rename
	"Default currency" option to "New Account default currency" since
	*everybody* asks about that one.  Was reported in #102043,
	#100466, #99364, #87729.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7740 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 18:37:44 +00:00
Christian Stimming
48f751a0fc Add yet more i18n comments. Comment out some debugging output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7739 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:20:53 +00:00
Christian Stimming
d5c9e24cd5 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7738 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:17:39 +00:00
Christian Stimming
c006476cf9 2002-12-29 Christian Stimming <stimming@tuhh.de>
* src/gnome/dialog-scheduledxaction.c, dialog-sxsincelast.c: Some
	i18n fixes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7737 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:17:07 +00:00
Christian Stimming
ca5a0ecc28 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/gnc-dense-cal.c: i18n'ize the dense calendar
	widget.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7736 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:15:30 +00:00
Christian Stimming
481af40f5a 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/engine/FreqSpec.c: Fix the i18n comments for the translators.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7735 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:14:56 +00:00
Christian Stimming
933bd3695a 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/business/business-gnome/dialog-invoice.c
	(gnc_invoice_id_changed_cb): More i18n fixes. Don't split up
	strings.

	* src/business/business-gnome/glade/*.glade: Correct spelling
	error.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7734 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:14:16 +00:00
Christian Stimming
eb255d1ea2 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/gnc-dense-cal.c: i18n'ize the dense calendar
	widget.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7733 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-29 23:36:37 +00:00
Christian Stimming
efdec4eab1 2002-12-29 Christian Stimming <stimming@tuhh.de>
* src/gnome/dialog-scheduledxaction.c, dialog-sxsincelast.c: Some
	i18n fixes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7732 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-29 22:54:35 +00:00
Joshua Sled
fad1450419 2002-12-28 Joshua Sled <jsled@asynchronous.org>
* src/register/register-gnome/formulacell-gnome.c: Changed
	FormulaCell from MOD_SX to MOD_REGISTER.

	* src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr):
	s/g_string_sprintf/snprintf/, as the former can't handle the
	re-ordered format parameters which the po-files use; fixes
	Bug#101650.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7731 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-29 20:35:03 +00:00
David Hampton
6020c17a46 Get 'make distcheck' working again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7730 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-29 04:29:58 +00:00
David Hampton
8badc55e6b Fix a couple of problems with 'test check'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7729 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-28 21:25:58 +00:00
David Hampton
d50d024987 Revert pricedb lookup at warlord's request.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7728 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-28 16:26:12 +00:00
Christian Stimming
dbea4cd3e3 2002-12-28 Christian Stimming <stimming@tuhh.de>
* src/scm/main.scm: Patch by Peter O'Gorman <peter@pogma.com> for
	Mac OS X.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7727 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-28 09:52:09 +00:00
Christian Stimming
c18b48371d 2002-12-27 Christian Stimming <stimming@tuhh.de>
* src/engine/test-core/Makefile.am: Fix linker errors in
	src/engine/test/


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7726 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-27 13:58:46 +00:00
Christian Stimming
12d764eaf5 2002-12-27 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c: Fix reparent
	warnings. Make the PIN dialog a bit nicer.

	* src/import-export/hbci/gnc-hbci-getbalance.c: Always use the
	"booked balance" instead of sometimes one or the other.

	* po/de.po: Updated translation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7725 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-27 13:36:23 +00:00
Linas Vepstas
f82e9d8a9c the original copyright notice in this directory
contained copyright notices for motif componenents that have
not been a part of gnucash for 3 years


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7724 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-26 15:10:07 +00:00
David Hampton
c812daf775 In QIF import, allow a leading '+' sign in the currency field.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7723 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 07:48:02 +00:00
David Hampton
c8c133ac35 Spell checking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7722 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 07:25:41 +00:00
David Hampton
3d406ca0aa The stream_handler hook needs to return a file size. Not all files
opened by this function are ASCII text.  Reset the base_location
properly when switching documents. Add debugging. #101783


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7721 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 07:23:56 +00:00
David Hampton
6af4501e06 Put function opening braces in column zero.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7720 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 06:55:32 +00:00
David Hampton
116e1a7b8a When checking for gtkhtml-1.1, make the lack of pkg-config a fatal
error. Also check for the variant name pkgconfig.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7719 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 04:29:36 +00:00
David Hampton
cfae12f08f Enable -Werror.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7718 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 03:26:12 +00:00
David Hampton
cf6a6869e4 Add better handling of corrupt XML data files. Print better error
messages for unknown tags, or mismatched start/end tags.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7717 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 02:27:10 +00:00
David Hampton
5693b12b80 Add missing error message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7716 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 01:58:11 +00:00
David Hampton
e3ca297efb Eliminate the zillion warning messages when running gnucash with the
--add-price-quotes flags.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7715 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 01:52:06 +00:00
David Hampton
372e6bb3ac Change logic to multiply by the exchange rate instead of divide. Look
for both both forward and reverse currency quotes in the
pricedb. Attempt to install currency quotes into the pricedb in a
consistent manner.  Give the user better feedback on exactly what the
exchange rate means. Obsolete the currency "swap" routine. #101450


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7714 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 01:50:24 +00:00
David Hampton
7c800260bc Provide access to new pricedb lookup function and to the engine event
suspend/resume functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7713 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 01:42:09 +00:00
David Hampton
d678e866e7 Add a new pricedb lookup function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7712 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 01:40:46 +00:00
Chris Lyttle
6f8fca355e require new g-wrap
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7711 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-23 20:50:00 +00:00
Chris Lyttle
f12c61b224 release 1.7.6
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7709 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-23 08:24:56 +00:00
Christian Stimming
f16efd7b21 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7708 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-22 23:06:49 +00:00
David Hampton
50ee14d31d Build relative URLs properly. #101783
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7707 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-22 20:16:00 +00:00
Chris Lyttle
8a6e65cc45 fix help button's connection
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7706 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-22 04:54:40 +00:00
Joshua Sled
7f52e5cc89 2002-12-21 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sx-from-trans.c (sxftd_compute_sx): Respect the
	user's Prefs regarding new SXes; fixes Bug#99566.

	* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
	Don't ignore fractional currency-amounts; fixes Bug#97062.
	(gnc_ui_scheduled_xaction_editor_dialog_create): Changed some
	string-constants to their #defines.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7705 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-22 01:34:50 +00:00
David Hampton
380755fb3c If there is a transction pending when updating the register, use the
new saved list so that the transaction is guaranteed to remain in the
register intil the user finishes editing it. Otherwise, populate the
saved split list. #92158


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7704 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-21 07:07:17 +00:00
David Hampton
16826e719c Don't let users delete the split that attaches a transaction to the
current register.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7703 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-21 07:04:26 +00:00
David Hampton
d52d3b8f60 Remove the original fix for #92158 as it caused #100852.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7702 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-21 07:03:38 +00:00
David Hampton
add45a907f Eliminate compile warning for unused variables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7701 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-21 05:39:04 +00:00
David Hampton
5ed0a2b81e Make sure to set the balance properly for reversed accounts. #100998
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7700 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-21 05:38:09 +00:00
Chris Lyttle
65fe01b1bf add support for new gnucash icon
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7699 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-20 21:59:08 +00:00
Christian Stimming
0fcaa7632b 2002-12-20 Christian Stimming <stimming@tuhh.de>
* po/el.po, accounts/el_GR: Updated Greek translation by Nikos
	Charonitakis <charosn@her.forthnet.gr>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7698 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-20 17:34:45 +00:00
David Hampton
86ac1b534f Large accounts are overflowing the data types used in the register
code and are causing crashes. #92072, #98802


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7697 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-20 04:15:00 +00:00
Christian Stimming
f2d05c0e7e 2002-12-16 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/glade/hbci.glade: Set max size of
	transaction fields according to HBCI spec.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7695 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 18:41:34 +00:00
Chris Lyttle
a5a73b6a7d removal of old docs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7694 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 10:49:21 +00:00