* 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
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
* 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
* 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
* src/import-export/generic-import.glade: Add user instructions,
get rid of apply button.
* src/import-export/import-main-matcher.c: Speed optimizations,
implement import status notification with background color.
Clarify strings.
Note: The matcher is now feature complete, except for manual
transaction editing. (More optimizations and code review still
to be done) I am awaiting comments about the matcher UI and
and investment transaction importing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7653 57a11ea4-9604-0410-9ed3-97b8803252fd
place. Rename functions. Determine if F::Q is installed properly, and
if so, what quote sources are installed. Clean up actual calls to
F::Q. If F::Q isn't available, dim the entire quotes frame in the
Edit Account dialog, and add a warning message about F::Q.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7650 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc_commodity_equal(), because the average user doesn't need
to know why commodities are not equal.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7649 57a11ea4-9604-0410-9ed3-97b8803252fd
- Don't grab the register account for multi-split txns. Just return NULL.
- Better logic in the exchange-rate handler function for when to
pop up the dialog, and what to put into it.
- add an error dialog for corner cases where we want to force
the user to expand the txn in order to get proper conversions.
* src/register/ledger-core/split-register-model-save.c:
- export "split_needs_amount()" for use elsewhere
- fix the logic in handling debcred changes, in particular for
multi-currency cases. Convert amount->value->amount properly.
- handle the case where you change the exchange-rate manually
(and do nothing else).
- fix the logic in the save-split post-processing for what gets
converted when.
* src/register/ledger-core/split-register-p.h:
- export the "split_needs_amount()" api for use in the register.
FIXES bug #100489
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7648 57a11ea4-9604-0410-9ed3-97b8803252fd
More Doxygenification. Created an Engine module, and a
Deprecated list. Unfortunately, unless we turn on EXTRACT_ALL
(not very practical currently) not all functions will appear
unless they are all documented.
* src/engine/Transaction.h: More Doxygenification
* src/engine/Account.h: Doxygenify
* src/doc/doxygen.cfg.in: Minor config change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7646 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-utils.c: Correctly reparent the
HBCI widgets when the parent window changes.
* src/import-export/hbci/hbci-interaction[P].[hc],
hbci-progressmon.c, hbci.scm: Add option for "close on finish" of
the HBCI log window.
* src/import-export/hbci/druid-hbci-initial.c, glade/hbci.glade:
Add dialog for choosing HBCI version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7643 57a11ea4-9604-0410-9ed3-97b8803252fd
* 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