Commit Graph

6586 Commits

Author SHA1 Message Date
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
Chris Lyttle
73f060facc update to release 1.7.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7589 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 09:09:32 +00:00
Derek Atkins
59baed0f1c * src/gnome-utils/dialog-transfer -- update the dialog to enable
and "exchange dialog" -- limited use from the register.  This is
	  a first pass at getting multi-currency transactions to work from
	  the register.
	* register/ledger-core/split-register* -- hooks to deal with
	  multi-currency transactions better.  Remember the implicit
	  exchange rates and recompute the split values, so when you enter
	  an amount it gets converted properly and you see what you type
	  (mostly).  Call out to the exchange (transfer) dialog when you
	  create a split to an account different than the transaction
	  currency.  This is a partial fix for 97690.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7588 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 07:00:39 +00:00
Derek Atkins
96fa5eed48 * business-ledger/gncEntryLedger.c -- delay setting *new = FALSE until
just before we call the "new account" dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7587 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 04:00:30 +00:00
Joshua Sled
cab0e0850f 2002-12-01 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-account-sel.c
	(gnc_account_sel_set_new_account_ability): Change the
	gnc-account-sel's "New..." account button to expand but not fill
	it's allocation.

	* src/gnome/druid-loan.c (ld_pay_prep, ld_pay_save_current): Add
	the ability to independently specify the source/from account of a
	payment; fixes Bug#99467.
	(ld_pay_prep, ld_pay_save_current): Add some insensitive widgets
	to show the escrow account; fixes Bug#99476.

	* src/gnome/druid-loan.c (ld_calc_upd_rem_payments): Get the
	currently-typed value for doing the recalculation, not what the
	gtk_spin_button reports.
	(gnc_ui_sx_loan_druid_create): Recalc the remaining months when
	the period-size OptionMenu changes.
	(ld_pay_prep): Handle better the act of setting up the payment
	page for both the Spec-FromAcct and Through-Escrow options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7586 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 02:43:44 +00:00
Christian Stimming
f03a1657de 2002-12-02 Christian Stimming <stimming@tuhh.de>
* src/gnome/window-main.c,
	src/business/business-gnome/business-gnome.scm, src/scm/main.scm:
	Yet more i18n menu insertion fixes.

	* src/gnome-utils/gnc-menu-extensions.[hc]: Added
	gnc_gnome_app_insert_menus to work around i18n problems with stock
	gnome menus. This is now also used from window-acct-tree.c.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7585 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-02 00:19:45 +00:00
Christian Stimming
9b670219f6 Fix make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7584 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-01 22:09:17 +00:00
Derek Atkins
ab59987d75 * move QuickFill and dialog-transfer into gnome-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7583 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-01 22:01:14 +00:00
Joshua Sled
0b5f8465a6 2002-12-01 Joshua Sled <jsled@asynchronous.org>
* src/app-utils/gnc-helpers.c (g_date_equals, g_date_hash): Added
	to allow the use of GDates as GHashTable keys.

	* src/gnome/druid-loan.c (ld_rep_next): Fix bug in 'payment' page
	transitions.
	(ld_rev_prep, ld_rev_recalc_schedule, ld_rev_update_clist):
	Support for a loan amortization schedule review page; fixes
	Bug#98966.
	(ld_destroy): General post-run allocation cleanup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7582 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-01 20:38:07 +00:00
David Hampton
902fd55ed4 Do a numeric sort on the transaction number field.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7581 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-01 16:48:30 +00:00
Christian Stimming
be3b246f41 Comment out some unnecessary debugging output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7580 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-01 13:39:40 +00:00
Derek Atkins
bd83bc2a2f * src/register/ledger-core/split-register-model.c -- compute the
implicit exchange rates for ALL transactions when necessary.  No
	  longer requires the pricedb for printing split values.  This will
	  display all transactions in the currency of the current account,
	  regardless of the number of splits in the transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7579 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-01 04:17:40 +00:00
Christian Stimming
0e145bb03f Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7578 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 23:43:18 +00:00
Derek Atkins
c54d13fd9b * src/register/ledger-core/split-register-model.c -- compute
implicit exchange rates for balanced, two-split transactions.
	  Fixes bug #99083 (for real)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7577 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 20:50:51 +00:00
Derek Atkins
e543b3bd01 2002-11-30 Herbert Thoma <herbie@hthoma.de>
* src/report/standard-reports/cash-flow.scm: Added new option
	for output formating, make the output "nicer"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7576 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 19:25:20 +00:00
Christian Stimming
161125bc00 2002-11-30 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-getbalance.c: More graceful
	fallback solution when returned balances are zero.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7575 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 13:57:48 +00:00
Christian Stimming
a0e5b8f830 2002-11-30 Christian Stimming <stimming@tuhh.de>
* src/app-utils/gnc-ui-util.[hc]: Added
	gnc_locale_default_currency_nodefault function since
	locale_default_currency might return a non-locale related
	currency. Fix xaccSPrintAmount. Fixes #95404.

	* src/engine/iso-4217-currencies.scm ("rouble"): Fix mnemonic for
	Russian Rouble which is "RUR" instead of RUB.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7574 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 13:38:34 +00:00
Christian Stimming
30fe18b651 2002-11-30 Christian Stimming <stimming@tuhh.de>
* src/business/business-gnome/business-gnome.scm,
	src/gnome-utils/gnc-mdi-utils.c,
	src/gnome-utils/gnc-menu-extensions.c,
	src/import-export/ofx/ofx-import.scm,
	src/import-export/qif-import/druid-qif-import.c: More i18n menu
	insertion fixes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7573 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 12:14:51 +00:00
David Hampton
6ffaad3be0 Matthew Vanecek's tags changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7572 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 08:59:19 +00:00
David Hampton
93ba1507dd Fix transaction report errors when there is more than one type of
currency/commodity involved. #89501


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7571 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 07:28:22 +00:00
David Hampton
766d8e1dae Add progress bars for the last two reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7570 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-30 06:48:05 +00:00