Commit Graph

6521 Commits

Author SHA1 Message Date
David Hampton
2c0b8dae96 Reenable -Wall with -Werror.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7759 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 03:17:24 +00:00
David Hampton
9caa94cc96 The report title should change when the report name field is changed
in the options. #102266 and #102667


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7758 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 03:07:05 +00:00
David Hampton
3d3fb1da20 Fix compile warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7757 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 03:06:28 +00:00
David Hampton
39b82c6957 Correctly pass on the label when first opening a help window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7756 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 08:53:43 +00:00
David Hampton
d3b72befd6 Delay jumping to a label until after the help window has been created
on the screen. Without this gtk-html computes the wrong scroll offset
for the window.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7755 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 08:52:27 +00:00
David Hampton
2ba2d7b0b9 Remove startup noise.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7754 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 08:51:26 +00:00
David Hampton
a7eed0cc1a Make the reconciliation window respect the 'include subaccount' flag
any time it opens a register.  Consolidate logic for opening a new
register. Enhance the reconciliation start window to update the ending
value when this flag is changed. #101150


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7753 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 07:12:07 +00:00
David Hampton
afe35c0f71 If the amount is monetary, map the keypad decimal key to the correct
decimal character for the locale. #101957


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7752 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 07:10:45 +00:00
Derek Atkins
0b0fc6d281 * configure.in: add a blatent warning that the RPC code is broke!
* src/scm/command-line.scm: change the message to let people know that
	  the rpc-server command-line option only works if gnucash was compiled
	  with rpc enabled.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7751 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 04:21:00 +00:00
Derek Atkins
5c8944868d * src/engine/Account.[ch]: add an xaccAccountRemoveLot() function to allow
the LOT code to clear memory when you destroy a lot.  Fixes a crash
	  when you destroy a lot.
	* src/engine/Transaction.[ch]: add an xaccTransClearReadOnly() function
	  to let you clear the flag so you can then remove an transaction.  Only
	  for internal uses only!  This is used by the Invoice UnPost code.
	* src/engine/gnc-lot.c: remove the lot from the account's list of lots
	  when the last split is gone.

	* src/business/business-core/gncInvoice.[ch]: implement Unpost function
	* src/business/business-ledger/gncEntryLedger.[ch]: change the
	  set_readonly() function to let you toggle back and forth between
	  readonly and readwrite ledgers.
	* src/business/business-gnome/dialog-invoice.c: implement unpost; set back
	  to readwrite if the unpost succeeds
	* src/business/business-gnome/dialog-order.c: use new set_readonly() API
	FIXES BUG #101452


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7750 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 04:07:58 +00:00
Derek Atkins
05809c5a38 * src/business/business-core/gncInvoice.[ch]: create new function
for logic to apply a payment.  Moved logic from dialog-payment.
	* src/business/business-gnome/dialog-payment.c: move logic to
	  apply payment to business-core.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7749 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 02:30:44 +00:00
Derek Atkins
04b99369c6 * src/register/ledger-core/split-register-layout.c: fix the
rate_cell layout for general ledgers.  Fixed the critical
	  failure from bug #101000

	* src/gnome-search/search-numeric.c:
	* src/gnome-search/search-double.c:
	* src/gnome-search/search-int64.c:
	  read the value out of the GNCAmountEdit entry when we create
	  the Query Predicate, because we're not getting the amount_changed
	  signal.  Fixes #101000.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7748 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 01:10:33 +00:00
Derek Atkins
a28276e488 * src/gnome-utils/dialog-transfer.c: always set the exchange-rate
as a positive value (use ABS).  Fixes the rest of #102163.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7747 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 00:27:59 +00:00
Derek Atkins
f158234c94 * src/gnome-utils/dialog-transfer.c: call the to_amount_update_cb
handler during certain paths of the ok_cb because the focus-out
	  signal may not get handled in all cases -- so force the issue.
	  Fixes bug #102163


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7746 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 00:22:40 +00:00
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