This is a follow-up on Bug 650584 - Change Stock Split Druid to an Assistant
With these changes the amount edits in the assistant react to normal focus
events using keyboard navigation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23188 57a11ea4-9604-0410-9ed3-97b8803252fd
but without sqlite DBD installed. Add configure test to ensure
that at least one of the supported modules is installed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23186 57a11ea4-9604-0410-9ed3-97b8803252fd
Also, remove the trailing newline from the returned time string, as this is rather unexpected here.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23183 57a11ea4-9604-0410-9ed3-97b8803252fd
Test for dbd driver for each backend before trying to test that backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23180 57a11ea4-9604-0410-9ed3-97b8803252fd
* Remove extra call to gtk_tree_view_append_column. (It is already
called in gnc_tree_view_account_add_custom_column.)
Author: Robert Ratliff <ratliff.bobby@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23175 57a11ea4-9604-0410-9ed3-97b8803252fd
Retrieve the numerical value directly from the dbi_result and use
it to create the Timespec or GDate.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23174 57a11ea4-9604-0410-9ed3-97b8803252fd
A SQL backend can't be expected to always return children in the same order.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23173 57a11ea4-9604-0410-9ed3-97b8803252fd
Needed for gnc_core_prefs_get_namespace_regexp and gnc_core_prefs_get_long_version
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23170 57a11ea4-9604-0410-9ed3-97b8803252fd
Combining business and basic into renamed test-backend-dbi-basic--
not utest because these are integration tests rather than unit tests.
Remove all of the no-longer-used test program files.
The actual test routines remain in test-dbi-stuff.c and test-dbi-business.c
just to keep the size of test-backend-dbi-basic.c reasonable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23169 57a11ea4-9604-0410-9ed3-97b8803252fd
To ensure that they all have a begin/commit and mark the instance
dirty so that the change is immediately written to the DB.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23167 57a11ea4-9604-0410-9ed3-97b8803252fd
The first attempt to commit when creating the invoice failed because
the commodity had not yet been set. Wrapped the creation routine in
begin/commit to allow the invoice to be fully populated before trying
to write the DB.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23166 57a11ea4-9604-0410-9ed3-97b8803252fd
Yet another corner where forgetting to run a edit-commit cycle when
changing state breaks database save.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23164 57a11ea4-9604-0410-9ed3-97b8803252fd
The core issue is that open reports are using a new restore function in 2.6,
which doesn't exist in 2.4 and older. The restore code now checks for the
existence of this new function and falls back to the old one if necessary.
The (mild) side effect is that in 2.4 any link to a custom template is lost.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23159 57a11ea4-9604-0410-9ed3-97b8803252fd
Apply the new function gnc:account-get-total-flow for the "Withdrawal" calculation.
Depends on the patches for
- report-utilities.scm
- report-system.scm
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23158 57a11ea4-9604-0410-9ed3-97b8803252fd
To be run after the patch for report-utilities.scm
Export the new function gnc:account-get-total-flow from report-utilities.scm.
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23157 57a11ea4-9604-0410-9ed3-97b8803252fd
Add function gnc:account-get-total-flow to report-utilities.scm
This function filters the splits from the source to the target accounts
and returns a commodity collector.
It does NOT do currency exchanges.
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23156 57a11ea4-9604-0410-9ed3-97b8803252fd
When [locale objectForKey: NSLocaleCountryCode] returns nil
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23150 57a11ea4-9604-0410-9ed3-97b8803252fd
Change menu entry for the single transaction Account Report
from
"Accout Transaction Report"
to
"Account Report - Single Transaction"
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23147 57a11ea4-9604-0410-9ed3-97b8803252fd
Add calls to gnc:substring-replace-from-to to procedure gnc:report-run.
Filter out all occurances of jquery.min.js and jquery.jqplot.js except for the first occurances.
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23144 57a11ea4-9604-0410-9ed3-97b8803252fd
Add new procedure gnc:substring-replace-from-to
Similar to gnc:substring-replace, but offers the possibility to replace substrings in a range of occurances.
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23143 57a11ea4-9604-0410-9ed3-97b8803252fd
Includes putting the message-handler cleanup in teardown.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23140 57a11ea4-9604-0410-9ed3-97b8803252fd
New functions to simplify creating log handlers for expected log
messages, especially fatal message handlers. Handlers are tracked in the
Fixture and automatically freed during teardown.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23138 57a11ea4-9604-0410-9ed3-97b8803252fd
Change the register name to "Accout Transaction Report" when the register
type is GENERAL_LEDGER, INCOME_LEDGER, or default in function gnc_reg_get_name().
Patch by Carsten Rinke.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23131 57a11ea4-9604-0410-9ed3-97b8803252fd