Commit Graph

6468 Commits

Author SHA1 Message Date
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
Joshua Sled
718d3d2f47 2002-12-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
	Fixed balance checks to be per-transaction; fixes Bug#97062, as
	well as fixing another unfiled bug that would be possible with the
	old code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7693 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 01:56:49 +00:00
David Hampton
b8e3289ed1 Add an option for changing the number of decimal places used in the
shares column. #87164


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7692 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 01:43:15 +00:00
David Hampton
18ac421c7c Give user feedback during the rendering of a report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7691 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 01:41:45 +00:00
David Hampton
66b943f4c8 Add support to the GNCPrintAmountInfo data structure to allow
truncation/rounding of numbers when the maximum number of decimal
places is reached.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7690 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 01:40:26 +00:00
David Hampton
e6a6b63809 Add menu items and code to the register window so a user can limit
transactions to any combination of the Reconciled / Cleared / Voided /
Unreconciled states. #87990


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7689 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 01:01:01 +00:00
Joshua Sled
ab20128481 2002-12-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome/glade/sched-xact.glade: Clarified some text, removed
	unused widgets.

	* src/app-utils/gnc-ui-util.c (xaccSPrintAmount): Added useful comment.

	* src/gnome/druid-loan.c (ld_create_sxes): Re-written; now a much
	more principled implementation which passes a test-script; fixes
	Bug#100088, Bug#100085.

	* src/engine/SX-ttinfo.c (gnc_ttsplitinfo_get_debit_formula):
	Fixed potentially-nasty mem-handling bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7688 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-16 00:35:27 +00:00
David Hampton
1d98fa5497 Remove redundant routines and place a single copy in a common location.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7687 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-15 23:25:01 +00:00
David Hampton
c43bef4a62 Progress toward getting the 'make distcheck' target to successfully
compile again.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7686 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-15 22:09:43 +00:00
David Hampton
9011ae4423 Use Gnome1 button order.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7685 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-15 21:52:10 +00:00
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