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
* src/import-export/hbci/gnc-hbci-utils.c, gnc-hbci-*.c: Catch the
condition gracefully when OpenHBCI config file does not exist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7569 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/gnc-gen-transaction.c: Use add_threshold
instead of clear_threshold to determine default txn action.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7567 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-gettrans.c: Give correct
feedback when no transactions are there.
* src/import-export/generic-import.glade: Add explaning label for
importer window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7565 57a11ea4-9604-0410-9ed3-97b8803252fd
* Makefile.am configure.in src/doc/Makefile.am
src/doc/doxygen.cfg src/doc/doxygen_main_page.c: Added doxygen documentation support, and integrated it into the build system. There is a new target, make doc, that can be used to build the documentation if you have doxygen installed. Any file in the src tree will be included in the documentation if it follows doxygen conventions. The doc created in src/doc/html. Doxygen is now required for make dist.
* src/import-export/: Enable doxygen documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7564 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/Transaction-matcher.c:
More code cleanup -- use getter functions instead of direct
structure access to make potential file split easier.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7558 57a11ea4-9604-0410-9ed3-97b8803252fd
when running string compares. Partial fix for #99563
* src/gnome/dialog-sx-from-trans.c -- suspend and resume
GUI events when building the template trans -- to make sure
that refreshes don't happen until after the txn is inserted.
FIXES bug #99563
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7557 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/gnc-gen-transaction.[hc]
(gnc_gen_trans_get_fuzzy_amount): Add functions to get/set the
fuzzy amount matching threshold, so that this feature can be used
from gnc-ofx-import.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7556 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/Account-matcher.[c,h]: Minor changes to make
the matcher more generic: Improved text handling, default account
support, enable account description, disable showing Online ID
column if online_id isn't specified in the function call.
* src/import-export/generic-import.glade: Adjust text for above changes.
* src/import-export/gnc-gen-transaction.c: Use the more feature complete Account-matcher.h from the generic import module instead
of dialog-account-pick.h. Christian, tell me you didn't implement
a fourth account picker from scratch.
* src/import-export/ofx/gnc-ofx-import.c: Adapt text to
Account-matcher changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7553 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/druid-loan.c (ld_rev_prep): Initial support for a
payment schedule review page, addressing Bug#98966.
* src/gnome/dialog-scheduledxaction.c (putSchedXactionInDialog):
Don't double-free dates; fixes Bug#99452.
* src/gnome/gnc-split-reg.c (gnc_split_reg_jump_to_split)
(gnc_split_reg_jump_to_split_amount, gnc_split_reg_record)
(gsr_emit_include_date_signal):
* src/gnome/window-register.c (gnc_register_include_date_adapter):
Add back in support for including a date in the range
limited/viewed by the window-register.
* src/gnome/gnc-split-reg.c (gnc_split_reg_get_read_only)
* src/gnome/window-register.c (regWindowLedger): Change manner of
setting window-title in read-only-register case so the
gnc-split-reg isn't changing the window-titles of windows it has
no authority over. Fixed Bug#99396.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7552 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/*.c,h: Split gnc-generic-import.h in one
header per file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7551 57a11ea4-9604-0410-9ed3-97b8803252fd
display amounts in the currency of the current account. Use the
pricedb to lookup converstion values if the transaction currency
is not the same as the current account commodity.
* src/gnome/dialog-transfer.c -- Make sure the exchange rate stays
a decimal number instead of converting to a fraction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7550 57a11ea4-9604-0410-9ed3-97b8803252fd
currency based on the currency of the "default account"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7549 57a11ea4-9604-0410-9ed3-97b8803252fd
exchanges from "within the register", but here because it is
relatively generic.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7546 57a11ea4-9604-0410-9ed3-97b8803252fd