* 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
* 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
* 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
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
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
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
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
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
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
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
* 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
* 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
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
* 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
* 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
* 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
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
* 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
* 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
* 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