* src/import-export/hbci/*: more work on HBCI support. Improved
GUI code a lot. Added a progress window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7169 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/dialog-pass.h: Added dialogs for password
handling. Yet more HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7156 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/hbci-interaction.[hc]: Add code for
HBCI_API interaction. Will be migrated to gnucash-UI's code
soon. Recent changes to HBCI code require yet another update to
current OpenHBCI CVS.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7152 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/*: Add druid-hbci-utils.[hc], implement
more parts of HBCI setup. Requires update to current OpenHBCI CVS,
though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7151 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/FreqSpec.c (gnc_freq_spec_compare),
(int_cmp), (_gnc_freq_spec_get_min): Added to support ordering
FreqSpecs for sorting.
* src/gnome/dialog-scheduledxaction.c: Added support for
column-sorting the SX list, resolving Bug#87865 fixed. Cleaned up
GDate allocation when done with them. Fixed Bug#90326 relating to
next-instance-date calculation, which was b0rken when the
dense-calendar was added in cases where the next SX instance is
outside of the visible calendar range.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7148 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-sxsincelast.c: Added support for saving the
state of the ledger if a review-ledger is transitioned away from
after a "simple" edit [Bug#90075].
* src/gnome/dialog-sx-from-trans.c (sxftd_ok_clicked): *
src/gnome/dialog-sxsincelast.c (gnc_sxsld_finish): Now updates the
SX List [if open] when an obsolete SX is removed [Bug#84685].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7145 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
The pre-defined variable 'i' no longer blocks transactions from
being created "auto-create".
* src/calculation/expression_parser.c: Added documentation for
function support in the expression parser.
* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
Scrub created splits so they get setup correctly, fixing the
"incorrect-running-balance" problem [Bug#89879].
Wrote the oft-procrastinated memory-cleanup code; ensured [most]
other dynamic memory allocation is clean. Removed some dead
code/debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7144 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-sxsincelast.c (add_reminders_to_gui): The SX
nodes in the reminders tree are now not selectable, as is
appropriate.
(create_each_transaction_helper): Fixed a nasty problem with
freeing a static string.
(sxsincelast_populate): Be better about cleaning up after ourself
during the initial instance generation. Be better about writing
clean, generic code.
(processSelectedReminderList): Be better about writing clean,
generic code.
(to_create_prep): Empty the variable table when we transition into
the page; closes Bug#84689.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7141 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-utils.[hc]: Added hbci functions
that are to be used from the rest of the gnucash UI.
* src/import-export/hbci/*: More work on HBCI support (HBCI data
is now actually stored in book's and account's kvp frames).
* src/import-export/gnc-generic-import.h: Clarified docs.
* src/engine/kvp_frame.h: Clarified doc about kvp_value_get_string
(which is in fact non-copying.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7140 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-sxsincelast.c (to_create_next): Fix for
re-creating to-create transactions when the variables change;
fixes Bug#89924. Fixed another small bug in the variable-table
handling code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7138 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/gnc-generic-import.c: #if-def'd out the
original version, and replaced with a version sans the printf.
For some reason, with the printf, GCC 3.1 can't compile this file.
* src/gnome/dialog-sxsincelast.c: Added support for the Back [and
Next] button to behave correctly in the Druid. Closes Bug#84688.
Fixed a double-freeing bug [Bug#89475]. Correct use of
gnc_{suspend,resume}_gui_refresh makes Transaction processing much
faster, closing Bug#84686.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7137 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-gnome/dialog-invoice.c,
src/gnome/dialog-commodities.c, src/gnome/dialog-price-edit-db.c,
src/gnome/window-reconcile.c,
src/register/ledger-core/gnc-regwidget.c: Changed wording of
confirmation questions by s/current/selected/ as proposed by David
Roundy <droundy@civet.berkeley.edu>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7132 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/main.scm: Add module-load for HBCI.
* src/import-export/hbci/*: Thanks to Benoit Gregoire, the initial
HBCI druid is at least visible now. Still no code that would
really do anything, though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7128 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in: Add --enable-hbci configure option.
* src/import-export/hbci/*: More HBCI GUI work. Some druid should
be visible by now. The code doesn't really do anything so far,
though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7127 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/register/ledger-core/gnc-ledger-display.c
(gnc_ledger_display_gl): Added filter for template
transaction-accounts to General Ledger, fixing Bug 86302.
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Changed wording to fix half of Bug 87622 [the other half being
unreproducible :(].
* src/gnome/dialog-sx-from-trans.c (sxftd_update_fs): Add support
for Bi-Weekly to be part of the pull-down; fixes half of
Bug 88178.
* src/engine/FreqSpec.c (xaccFreqSpecGetWeekly): Keep the returned
day-of-week within reasonable bounds.
(xaccFreqSpecGetFreqStr): s/Anually/Yearly/ [sic] - Bug 88176.
* src/gnome/glade/sched-xact.glade: Dead-UI
removal. s/Anually/Yearly/ [sic] - Fixes Bug 88176.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7126 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/fin.scm: Made the exposed calcualtion functions output
positive values.
* src/gnome/window-main.c (gnc_main_window_create_menus): Added
accelerators to SX-related menu items.
* src/gnome/druid-loan.c: Primary change: actually create the
Scheduled Transactions which are setup by the user. Miscellaneous
other cleanups, text, layout and consistency changes.
* src/gnome/dialog-sxsincelast.c: Support handling of the
instance-count in forward-looking transaction creation. Simplfied
some of the internal data-representation regarding lists of items
to be created [removed autoCreateTuple, now uses toCreateTuple].
Removed some DEBUGging output. Handles setting up the implicit
'i' variable.
* src/gnome/dialog-sx-from-trans.c (sxftd_compute_sx): Create SXes
with an appropriate initial instance-count value.
* src/gnome/dialog-scheduledxaction.c
(schedXact_editor_populate): Create SXes with an appropriate
initial instance-count value.
* src/engine/SchedXaction.[ch]: Added support for an
instance-count, in order to support an implicit 'i' [of N]
variable to SX formula/function processing.
* src/engine/SX-ttinfo.c (gnc_ttsplitinfo_free): Made the
ttsplitinfo_free'ing a bit safer.
* src/calculation/expression_parser.c: Added support for
parsing/handling quoted strings. Intended to be parameters to
functions. Fixed bug regarding nested handling of strings in the
parser.
* src/backend/file/gnc-schedxaction-xml-v2.c: Added support for
saving/restoring instance-count field of SXes.
* src/app-utils/test/test-exp-parser.c
(run_parser_test): Fixed pass/fail indication check.
(test_parser): Added tests for string params to functions.
* ChangeLog: Added entry I forgot from last time.
* src/app-utils/gnc-exp-parser.c (func_op): Added support for
typed parameters to functions; params are either numerics or
strings. Result of function is now parsed correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7125 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/glade/hbci.glade: Some HBCI GUI work --
still no real code yet.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7124 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/app-utils/guile-util.c (gnc_get_debit_string): Fix by Matt
Armstrong <matt@lickey.com> : Look for "Use accounting labels"
option is under the "Accounts" section.
(gnc_get_credit_string): ditto.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7122 57a11ea4-9604-0410-9ed3-97b8803252fd
in the book. This is to help fix bugID 8805, but it sounds like it
is not completely fixed, yet.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7120 57a11ea4-9604-0410-9ed3-97b8803252fd
gncEntry->billAccount. Change the register so that Bills use
the BillAccount and Invoices use the InvoiceAccount. This
allows the same Entry to have both an "expense" and "income"
account to offset each other.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7117 57a11ea4-9604-0410-9ed3-97b8803252fd
* implement "Default Project" in the Bill register to enter a
default Bill-to customer/job. It's only visible on Bills, not
Invoices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7116 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/druid-loan.[ch]: Added; Initial implementation of
Gnome Druid for setting up loan-repayment Scheduled Transactions.
* src/doc/loans.txt: Added; notes about how loans will be dealt
with in GnuCash.
* src/gnome/glade/sched-xact.glade: Added loan-druid.
* src/gnome/window-main.c (gnc_main_window_create_menus): Added
'Mortgage/Loan Repayment Setup' Druid invocation menu item.
* src/scm/fin.scm: Added. Implementations of 'ipmt', 'ppmt', 'pmt'
and supporting code.
* src/app-utils/test/test-exp-parser.c (test_parser): Added tests
for functions-in-expressions. Added [passed] test for Conrad's
bug.
* src/app-utils/gnc-exp-parser.c (func_op): Added. gnc-side
callback for dealing with a function in an expression.
* src/calculation/expression_parser.c: Added initial, undocumented
support for functions in expressions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7115 57a11ea4-9604-0410-9ed3-97b8803252fd
* save these flags only if the entry is attached to a Bill.
* add a Billable column to Bill register
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7110 57a11ea4-9604-0410-9ed3-97b8803252fd
An Entry now has pointers to an Invoice and a Bill, although
both are represented by a GncInvoice. Force a GncInvoice to a
Bill if the owner is a Vendor. (It's a regular Invoice if the
owner is a Customer). Eventually we can support Owner ==
Employee to deal with Expense Reports.
* gncInvoice: add gncBill{Add,Remove}Entry
* gncEntry: add gncEntry{Get,Set}Bill
* gw-business-core: wrap gncEntryGetBill
* gnc-entry-xml-v2: add entry:bill pointer
* gncEntryLedger: deal with Bill Entry. Don't need a lot of
columns (compared to Invoices). This is not complete, but is
at a workable point now.
* dialog-invoice: call the BILL vs. INVOICE entry-ledger based
on the invoice owner.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7108 57a11ea4-9604-0410-9ed3-97b8803252fd
"Bill" for vendor reports. Fix the aging table. Reverse the
numerics for vendor reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7106 57a11ea4-9604-0410-9ed3-97b8803252fd