Commit Graph

14432 Commits

Author SHA1 Message Date
John Ralls
4a2ab37162 [Testing] Provide for gnc_path_get_reportdir() and gnc_path_get_stdreportsdir() to return build-directory paths
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
2011-12-02 22:00:05 +00:00
John Ralls
a66ecf90fb [Testing] Provide for engine to load backends from build path
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
2011-12-02 21:59:56 +00:00
Geert Janssens
3d4ca10d15 Bug #664877 - Migrate Qif Import Druid to an Assistant
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
2011-12-02 20:55:58 +00:00
Geert Janssens
b5e3f95511 Bug #664877 - Migrate Qif Import Druid to an Assistant
Patch by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21653 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-02 20:55:43 +00:00
Mike Evans
10fcc37d97 Bug #665098 - document shortcut for blank transaction.
Added accelerator text to menu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21652 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-02 11:09:16 +00:00
Mike Evans
f932feb035 Undo r21650. Wrong approach. Uses wrong save dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21651 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-01 10:02:51 +00:00
Mike Evans
fbb1db7451 Bug #658247 - First time setup should prompt to save file.
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
2011-11-30 14:47:14 +00:00
Mike Evans
cb8c25a426 Sort list of reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21648 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-30 11:03:35 +00:00
John Ralls
6d5a9d3d6d Remove the obsolescent src/doc/design directory from recursive build.
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
2011-11-29 21:29:58 +00:00
John Ralls
732f9651fc Remove src/import-export/qif-io-core
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
2011-11-29 21:29:47 +00:00
John Ralls
db9d8ee570 Make distcheck fixes.
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
2011-11-29 21:29:37 +00:00
Mike Evans
4801e50176 Added user settable line width and data point markers to net worth
line chart.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21640 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-29 18:55:30 +00:00
Christian Stimming
df09f174dd Read-only mode: Buttons in account tree window and owner tree window switch to insensitive.
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
2011-11-28 21:44:46 +00:00
Christian Stimming
fe3aa2e98f Read-only mode: Buttons in business result list are insensitive, accordingly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21637 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-28 21:44:34 +00:00
Christian Stimming
e6d855000e Read-only mode: Business toolbar actions switch to insensitive.
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
2011-11-28 21:44:21 +00:00
Mike Evans
6cc40a4ed8 Add missing Root Account part.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21633 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-28 16:37:38 +00:00
Mike Evans
4a2a29e016 Bug #664764 - Account setup for Swedish small business
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
2011-11-28 16:37:31 +00:00
Mike Evans
b3aa466378 Commented line width. This value really should be passed from .scm file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21631 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-27 11:03:02 +00:00
Mike Evans
ae188cc4c9 Fix setting of line color for line charts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21630 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-27 11:02:58 +00:00
Mike Evans
4de35e0f3e Bug #664862 - New report showing net assets over time
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
2011-11-27 11:02:54 +00:00
Mike Evans
41dbd8bf6f File contents appear to be doubled. Removed extra copy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21628 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-27 11:02:48 +00:00
Christian Stimming
2a93b09e82 Add "Post" and "Print" buttons in invoice search window, both for single or multiple invoices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21627 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-26 22:17:22 +00:00
Mike Evans
c0e6f0c838 Partial revert of r21588.
Causes crash when updating price quote.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21625 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-24 14:04:46 +00:00
Christian Stimming
a5caa69df9 Enable the "Duplicate Invoice" button even for multiple selected items.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21623 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-23 19:05:56 +00:00
Mike Evans
6d56a869fa Bug #663368 - When importing CSV files, the word 'Deposit' appears in Num/Action column
Removed "Deposit".

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21622 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-23 13:11:10 +00:00
John Ralls
5f930058c8 src/Makefile.am: Move WITH_PYTHON block to just above where it's used
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21621 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 18:38:12 +00:00
Geert Janssens
1236f00bd9 Remove unneeded circular dependency between business-reports and
business-gnome.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21620 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 16:11:12 +00:00
Geert Janssens
bcc284b0f7 Bug #630804 - make check failure in business module
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21618 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 14:19:10 +00:00
Christian Stimming
3179225cb2 Adapt cutecash / cmake build to r21605.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21608 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 12:00:46 +00:00
Geert Janssens
9eb42b358c Dissolve business-utils module by moving the leftovers into app-utils.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21607 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 10:40:43 +00:00
Geert Janssens
e52619c40b Dissolve dialog-tax-table module by moving its only object into
gnome-utils.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21606 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 10:40:31 +00:00
Geert Janssens
76d820735c Dissolve the business-core module, by integrating its remaining bits in
the engine, where the rest already was moved before.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21605 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 10:40:17 +00:00
Mike Alexander
2e2edc1375 Make parallel build work in core-utils with python bindings enabled.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21604 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 05:43:38 +00:00
Mike Alexander
ce3143c4be Avoid warning returning a boolean result in python bindings.
Getting "dereferencing type-punned pointer" doing Py_INCREF on Py_True and Py_False.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21603 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-21 05:43:29 +00:00
Christian Stimming
da217aa506 Fix the broken code of the reconcile list widget to not mess up the GtkCList class structure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21602 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 21:43:23 +00:00
John Ralls
a32c6f5d5d [Python] Suppress the spew from loading the python module
Use --extra if you want it back.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21601 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 18:27:17 +00:00
John Ralls
4ee898d90b [Python] Export core-utils SWIG wrappers to Python.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21600 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 18:27:00 +00:00
Christian Stimming
adb4a6fee6 Fix missing linker flag
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21599 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 10:20:15 +00:00
Geert Janssens
92f17e2989 Fix load errors in import-export tests
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21598 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:35:06 +00:00
Geert Janssens
ceffe5dadc Fix failing xml backend test.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21597 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:34:57 +00:00
Geert Janssens
b8c7e0af80 Spelling fixes in doxygen comments
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21596 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:34:45 +00:00
Geert Janssens
575c811df8 Fix failing python-bindings tests.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21595 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:34:23 +00:00
Geert Janssens
1ab89c8e84 Fix load warnings in gnome-utils tests
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21594 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:34:11 +00:00
Geert Janssens
01f7149061 Fix load warnings in report-gnome tests.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21593 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:34:01 +00:00
Geert Janssens
69a1320fa3 Fix load warnings in standard-reports tests
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21592 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:33:50 +00:00
Geert Janssens
fa28ef8cf4 Move eguile balance report to business-reports as it depends on business
utils.
This is a source code move, the report will remain in the same menu location
in the GUI
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21591 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:33:38 +00:00
Geert Janssens
3ff4234b2a Fix load warnings in report-system tests
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21590 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:33:26 +00:00
Geert Janssens
6e3ff537ab Partly revert previous commit. Although it eliminated a couple of
warnings in the tests, it also broke most reports.
This needs more study.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21589 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:33:13 +00:00
Geert Janssens
c8a72df337 Fix load warnings in utility-reports tests.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21588 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-20 09:32:54 +00:00
John Ralls
e62e56c1c3 [Cruft Reduction] Remove unused functions in src/engine -- reprise
Delete a bunch more functions left commented out from r21579

Remove references to deleted functions from gnucash_core.py

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21587 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-19 22:42:02 +00:00