analysis.
As a result, some unused functions and function prototypes are removed.
It did expose one real bug in Transaction.c so far.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21687 57a11ea4-9604-0410-9ed3-97b8803252fd
Add gnc_dup_date_dialog() variant that can ask for a date without
the "num" field.
On pressing the Enter key, the widget closes but logs the following
warning:
CRIT <Gtk> IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
However, this problem already existed with the old code - the behaviour
and warning was unchanged by this commit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21684 57a11ea4-9604-0410-9ed3-97b8803252fd
1. Make searching for a date range work, the date range was being ignored and
all transactions were returned.
2. Don't leak so many strings
3. Allow an end date in the filter even if there is no start date.
4. Don't reset the sort order or filter to the default if the user says
to not save it. Instead leave the saved value unchanged.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21680 57a11ea4-9604-0410-9ed3-97b8803252fd
Much better for expected warnings to be tested for than to have a lead-in message saying that they're really OK.
Don't have the test utilities in Scheme yet.
Set the phony modules in misc-modules to be libtool modules instead of shared libraries. Aside from being more correct, this ensures that they'll have the same name on Linux and OSX.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21677 57a11ea4-9604-0410-9ed3-97b8803252fd
Much better for expected warnings to be tested for than to have a lead-in message saying that they're really OK.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21676 57a11ea4-9604-0410-9ed3-97b8803252fd
Much better for expected warnings to be tested for than to have a lead-in message saying that they're really OK.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21675 57a11ea4-9604-0410-9ed3-97b8803252fd
Ensure that libgncmod-engine can load its backends, and that all module dependencies can be found on OSX when gnucash isn't installed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21672 57a11ea4-9604-0410-9ed3-97b8803252fd
Prevents error messages about g_hash being NULL.
Invokes qof_log_init_file_special ("stderr") in gnc_module_system_init(), so gnc_log_init() had to be moved to after that call in main() so that the command-line log setting doesn't get replaced with the default setting in module_system_init.
Note that gnc_module_load_common() has one of the offending "ENTER" macros that cause the error, and it's before the safety call of module_system_init, so test programs need to explicitly call module_system_init before loading any modules.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21670 57a11ea4-9604-0410-9ed3-97b8803252fd
Add an GTestFatalFunc which can examine a list of error conditions and suppress those messages and prevent their exiting while passing through any unexpected errors.
Rename test_silent_logger to test_null_handler and change it to a GTestFatalFunc (it can still be used as a GLogFunc).
Rename test_handle_faults to test_checked_handler and improve its flow and message display. It no longer asserts on a bad match.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21668 57a11ea4-9604-0410-9ed3-97b8803252fd
These are all of the locations where tests raised errors about not being able to find backends or standard reports.
Note that in many cases the tests would pass. I fixed some of the bogus tests, but there are still plenty more that either do nothing at all or return success no matter what happens.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21657 57a11ea4-9604-0410-9ed3-97b8803252fd
As with engine, in response to environment variables GNC_UNINSTALLED and GNC_BUILDDIR.
GNC_UNINSTALLED is intended to be set via g_setenv() or (setenv) at the beginning of a test program. GNC_BUILDDIR is intended to be set with
GNC_BUILDDIR=`cd ${top_builddir} && pwd`
as part of the TESTS_ENVIRONMENT variable in test Makefiles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21656 57a11ea4-9604-0410-9ed3-97b8803252fd
If two new environment variables (GNC_UNINSTALLED and GNC_BUILDDIR)are set, load the backends from GNC_BUILDDIR/src/backend.
GNC_UNINSTALLED is intended to be set via g_setenv() or (setenv) at the beginning of a test program. GNC_BUILDDIR is intended to be set with
GNC_BUILDDIR=`cd ${top_builddir} && pwd`
as part of the TESTS_ENVIRONMENT variable in test Makefiles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21655 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch removes some test druid files that were in the same directory
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21654 57a11ea4-9604-0410-9ed3-97b8803252fd
Open a save dialog after chart of accounts assistant.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21650 57a11ea4-9604-0410-9ed3-97b8803252fd
Prevents make distcheck from building the ps and pdf versions of the texinfo, which imposed a dependency on TeX.
Removing the directory from the dist requires removing the Makefile from configure, which completely disables building, so it remains. To build the info file, cd src/doc/design and make info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21647 57a11ea4-9604-0410-9ed3-97b8803252fd
This directory was created 10 years ago to hold a rewritten qif importer. It was never substantively worked on after.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21646 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix some errors in r21570 which cause "make distcheck" to fail, and a couple of others besides.
While this gets distcheck to work on the Mac, there are still some problems with the standard-reports test on Linux related to trying to load reports from the installation directory (make install is run *after* make check during make distcheck). This test passes on the Mac, fails on Linux.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21645 57a11ea4-9604-0410-9ed3-97b8803252fd
Along the way, gnc_plugin_update_actions() shows a more detailed error
message if any of the action names do not result in an actual GtkAction,
e.g. because of a typo.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21638 57a11ea4-9604-0410-9ed3-97b8803252fd
Also, disable book auto-save if the book is read-only.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21636 57a11ea4-9604-0410-9ed3-97b8803252fd
Added Swedish chart of accounts for small businesses.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21632 57a11ea4-9604-0410-9ed3-97b8803252fd
Added new line chart report for assets, net-linechart.scm.
Distantly related to Bug #570011
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21629 57a11ea4-9604-0410-9ed3-97b8803252fd