* src/engine/Transaction.h: Extensively added function
documentation (in order to avoid further amount/value confusion
down the road), watch doxygen output. Added a lot of 'const' all
over the place.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7640 57a11ea4-9604-0410-9ed3-97b8803252fd
* po/nl.po: Fix use of msgid_plural by adding the appropriate
header entry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7639 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/ofx/gnc-ofx-import.c: Do the "right"
thing for setting split amount and value.
* src/import-export/import-main-matcher.c: Cosmetic
improvements for balance display and window resizing.
* All other affected files: Doxygenify everything. Take a
look, run make doc, and open src/doc/html/index.html
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7637 57a11ea4-9604-0410-9ed3-97b8803252fd
Huge patch, this is the new generic import
architecture/transaction matcher. Many old
files were renamed, split or deleted.
* src/engine/Transaction.c,h:
- Add a DxaccSplitSetAmount function,
- Fix a bug in xaccSplitsComputeValue (Split values were
sometimes being summed, which is illogical) that caused
xaccTransGetImbalance to sometimes return incorrect values.
Somebody please review this. Playing in the engine during
freeze isn't ideal.
* src/import-export/import-backend.c,h: There is now a
real backend, completely independent of the GUI.
* src/import-export/gnc-gen-transaction.c: This is Christian's
old matcher, I tried to maintain compatibility, but couldn't
really test. Please note that there is some code
simplification that could be done there now that there is a
clean backend, and that some values passed between the functions
might no longuer have any effect.
* src/import-export/ofx/gnc-ofx-import.c: Update for new
matcher. Use the currency reported by libofx and
xaccSpiltSetBaseValue when adding a banking/credit card
transaction.
* src/import-export/import-account-matcher.c,h: This is a
very generic and flexible account matcher/picker.
* src/import-export/import-commodity-matcher.c,h: This is
a generic commodity matcher/picker.
* src/import-export/import-main-matcher.c,h: This is the
main transaction matcher GUI. It's mostly feature complete
and should be fairly stable, but probably leaks memory.
* src/import-export/import-match-map.c,h: Derek Atkin's
generic string/account matching infrastructure.
* src/import-export/import-match-picker.c,h: This is the
interface to pick a matching transaction. It has been
completely ripped from the backend.
* src/import-export/import-settings.c,h: All user
settings (or compiled-in settings) are now abstracted in
an opaque structure with getter functions.
* src/import-export/import-utilities.c: These are utility
functions to help import module writers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7632 57a11ea4-9604-0410-9ed3-97b8803252fd
amount display so that the exchange dialog always shows the
"amount" in the the local (register) currency. It will convert
the amount to the txn currency if necessary in cases where all
accounts involved in a split are different (strange edge case).
Fixes#100277
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7630 57a11ea4-9604-0410-9ed3-97b8803252fd
exchange rate and to set "swapped currencies". The former will
set the "price" and the latter will set a (as of yet unused) flag.
* src/register/ledger-core/split-register-control.c: Don't pop up
the exchange dialog when it is not needed, even when reqested.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7628 57a11ea4-9604-0410-9ed3-97b8803252fd
items to the Actions menu and the context menu
* src/gnome/gnc-split-reg.c -- turn off Exchange Rate editing on
"read-only" registers
* src/register/ledger-core/split-register-control.c -- fix the logic
for when we pop-up the exchange-rate dialog, in particular when the
user requests it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7626 57a11ea4-9604-0410-9ed3-97b8803252fd
it is pulled in by gtkhtml, which is pulled in from window-help.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7624 57a11ea4-9604-0410-9ed3-97b8803252fd
print a warning message. Allow stock index names to be passed to
finance-quote-helper.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7623 57a11ea4-9604-0410-9ed3-97b8803252fd
* 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