Commit Graph

15038 Commits

Author SHA1 Message Date
Geert Janssens
84b2428192 Tests: harmonize test initialization
In particular, use qof_init instead of g_type_init. The former
calls the latter by default. Also our current engine code is
heavily dependent on gobject, so it makes sense to initialize it
as early on as possible. Having once central place to do so
will make it easier to fix this if ever we move away from gobject.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22943 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-03 12:03:53 +00:00
Geert Janssens
eb409ecd35 Refactor file backend settings to no longer depend on gconf
This affects many other components as well, including the
python bindings

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22942 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-03 12:03:38 +00:00
Geert Janssens
5a26e65e6c Move gnc-gconf-utils to app-utils
This breaks the build, but this makes it easier to read the
commit history. The build will be fixed in the next commit.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22941 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-03 12:03:23 +00:00
Geert Janssens
9c65cb20b4 Add new core prefs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22940 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-03 12:03:12 +00:00
Geert Janssens
f4872f6e6c Rename gnc-main to gnc-core-prefs
And add proper namespace prefixes to its functions

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22939 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-03 12:03:00 +00:00
John Ralls
4cf7b1f045 Mac: Add -framework Cocoa to GTK_MAC_LIBS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22938 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 21:01:30 +00:00
Geert Janssens
d14662fe32 make distcheck altered POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22937 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 16:34:13 +00:00
Geert Janssens
48cceb51e6 REST API Example for Python Bindings
Initial version of REST API allowing minimal information about accounts, invoices and customers to be accessed in JSON format. Includes modifications to gnucash_core.py  to add additional functions.

Author: Tom Lofts <dev@loftx.co.uk>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22936 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 16:34:03 +00:00
Geert Janssens
216bb3263c Fix chart positioning on multi-column report
This is a follow-up on bug #638971

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22935 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 14:43:09 +00:00
Geert Janssens
24ad9c3fc4 Register rewrite Update, this adds some preference options and fixes a tab issue.
This update adds four new preferences to Register Defaults, these are for auto-complete, show entered date, calendar buttons and jump to blank split on expand. There are also some changes to the reconcile tests, a dialog warning popup for accounts recievable / payable registers, auto tab over non editable cells, change the cell background to that of the row when in edit mode and the ability to change the column order.
Author: Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22934 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 14:42:48 +00:00
Geert Janssens
e4f54dcdc8 Register rewrite Update, this fixes some leaks and renames some functions.
This update fixes some leaks found with valgrind and renames some functions to a standard way.
Author: Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22933 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 14:42:28 +00:00
Geert Janssens
933983191c This update fixes the schedule of share purchase.
In testing the schedule, I found I could schedule a share purchase just like a currency transaction but when on the sinse last run dialog, both allowed me to specify the price/rate but only the currency transaction would get added using the specified value. This patch fixes this.
Author: Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22932 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 14:42:11 +00:00
Geert Janssens
4229695e81 Register rewrite Update, this adds the schedule option with some other changes.
This update adds the schedule option. The schedule editor files have been duplicated and used to edit the schedule with the template displaying in the tree view. This is accessed from additional menu options on the Scheduled Transactions plugin page under Schedule, New 2 and Edit 2.
Other changes are to the date renderer, FuturePostedDate function, fix the split collapse option and move some functions around.
Author: Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22931 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-02 14:41:56 +00:00
Christian Stimming
96f660eeb1 Finally fix the maddening long waiting times after clicking "Ok" in the import matcher window.
Turns out we were simply missing a suspend_gui_refresh call before actually
processing the results. Sigh.

(Can go into 2.4 because the bugfix is so surprisingly simple.)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22929 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-24 09:08:31 +00:00
Geert Janssens
0980a2e815 Fix compiler warning
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22928 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-22 19:23:05 +00:00
Geert Janssens
9197062afe Register rewrite Update, this adds the trading accounts option with some other changes.
This update adds the trading accounts option. Also included is a fix for the way the model is loaded and changes the way it the view gets refreshed. There are also some minor changes to transaction confirmation. Two new files have been added and some functions moved to these with more to follow.
Author: Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22920 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-20 16:45:56 +00:00
Christian Stimming
d98f1ef194 String improvements: For singular form of ngettest, the %d conversion specifier can be skipped.
See e.g. this thread http://article.gmane.org/gmane.comp.version-control.git/221583

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22914 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-18 07:24:21 +00:00
Christian Stimming
0f8d8eb058 Win32 build: Update libofx to version 0.9.8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22911 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-17 20:15:07 +00:00
Geert Janssens
cca4745e2b Fix indirect libguile dependency in bi_import plugin
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22910 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-15 20:03:08 +00:00
Geert Janssens
30730f8b08 Fix indirect libguile dependency in customer import
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22909 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-15 20:02:57 +00:00
Geert Janssens
cb9ede4b5c Fix indirect libguile dependency in business ledger
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22908 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-15 20:02:43 +00:00
Christian Stimming
20f468ca0c Adapt to latest split of engine-helpers.h, r22902.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22906 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-14 20:04:46 +00:00
Christian Stimming
ddffb67011 Adapt to latest split of engine-helpers.h, r22902.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22904 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-14 19:41:04 +00:00
Geert Janssens
940554293b Commit nex file (missed it in previous commit)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22903 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-13 17:07:59 +00:00
Geert Janssens
4ae129fb39 Prevent engine's guile dependency from leaking to modules not directly
using guile

For this I have split engine-helpers.h in two headers
- one for conversion functions to and from guile
- one with guile-independent helper functions

The appropriate headers are then included depending on which functions
are required.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22902 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-13 10:40:55 +00:00
Geert Janssens
9a4eb83e17 Remove unused guile-mappings.h include instead of adding GUILE_INCS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22901 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-13 10:40:37 +00:00
Christian Stimming
de238cb984 Add probably missing GUILE_INCS to CPPFLAGS because table-gnome.c includes "guile-mappings.h" that includes <libguile.h>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22900 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-12 19:08:21 +00:00
Christian Stimming
8f964e33fd Add missing GLIB_LIBS to LDFLAGS as needed by newer gcc/libtool.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22899 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-12 19:08:08 +00:00
Christian Stimming
43093cdc73 Win32 build: Upgrade libofx to 0.9.7 due to bug #697133 with long lines
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22895 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-11 20:31:30 +00:00
John Ralls
acb3076c53 [Bug #697402] configure doesn't find python on Debian
Lose the PKG_CHECK_MODULES for python and make sure that Python.h is
present and findable in AC_PYTHON_DEVEL instead.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22892 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-09 23:00:51 +00:00
Christian Stimming
67ac544ffa Win32 build: Disable debug output of r22877 again as it does not seem necessary anymore.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22890 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-08 10:23:04 +00:00
John Ralls
8f44e1855b Register rewrite Update, fixes a problem with resizing columns. This update fixes a problem with resizing columns and also a missing tree free. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22889 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 22:15:17 +00:00
John Ralls
6ab48e64bc Register rewrite Update, changes the way the transaction changed dialog pops up. This update changes the way the transaction changed dialog pops up and also when you navigate to a cell it automaticly changes to allow input. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22888 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 22:15:06 +00:00
John Ralls
46a0bf1f87 Register rewrite Update, adds test for old and new account register open at the same time. This update adds a test to stop opening old and new account registers at the same time. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22887 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 22:14:55 +00:00
John Ralls
c55362b090 Register rewrite Update, adds date accelerator and fixes duplicate transaction. This update adds the date accelerator keys to the date column and fixes the duplicate transaction option. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22886 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 22:14:44 +00:00
John Ralls
e6f6bcd87c Register rewrite Update, adds print check, find, schedule and reconcile. This update changes adds the print check, find transactions, schedule transactions and reconcile options to the new register. This was done by copying the existing files and changing them to work with the new register so both new and old could work at the same time. The new find option on the accounts page has been commented out so the old one would work but has been proved to work the same as on the new registers. Also have the refresh option working which involves reloading the register by re-running the query which is also used for the search register updates. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22885 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 22:14:31 +00:00
John Ralls
a83aec6fbe Register rewrite Update, fixes for number / action column This update changes the Number / Action column from a single combo renderer to two, text renderer and combo renderer both with entry. We use the model to decide which one will be visible for each row. Also set up is the number accelerator key. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22884 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 22:14:20 +00:00
John Ralls
5a6b5027a0 Register rewrite Update, fixes for duplicate and reversing transaction. This update fixes duplicate transaction and reversing transaction. Also included is a minor change to the model, added the test for unbalanced transaction along with some other dialogs. Tab key navigation has been revised but still further work. Account key seperator works along with new account creation. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22883 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 22:14:09 +00:00
Christian Stimming
bb26969082 Win32 build: Copy an initial logfile to the webserver when the build is started
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22880 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-07 07:48:06 +00:00
Christian Stimming
d265eb4a6d Update start SVN revision of this year's ChangeLog generation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22879 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-06 20:42:45 +00:00
Christian Stimming
65c91906f2 Update ActivePerl URL to a currently active (no pun intended) one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22878 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-06 20:28:48 +00:00
Christian Stimming
c7031ee702 Win32 build: Add debug output where xsltproc currently fails
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22877 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-06 20:13:18 +00:00
Christian Stimming
2b290cee85 Win32 build: Version update for libxslt, libxml2, goffice.
No special reason for this, though, except that it still compiles.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22876 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-05 19:42:20 +00:00
Christian Stimming
73b1789c6f Win32 build: Switch to another libgsf version 1.4.21 that has a .tar.bz2 available
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22873 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-04 19:46:30 +00:00
Christian Stimming
9d4a8b40d6 Win32 build: Can we get along without libgsf-gnome?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22869 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-03 13:21:21 +00:00
Christian Stimming
bb04aaa8ca Win32 build: Add probably missing libgsf configure argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22868 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-03 08:21:54 +00:00
Christian Stimming
9d70996b8d Win32 build: Remove check for pixman lib, because that one was removed in r22813.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22864 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-02 14:06:28 +00:00
Christian Stimming
ca1435df60 Win32 build: Increase verbosity on check for installed gnome.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22863 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-02 06:59:08 +00:00
J. Alex Aycinena
814947c583 Vary some menu labels and tooltips based on cursor class: transaction or split.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22862 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-02 00:49:19 +00:00
Christian Stimming
27dc5f3f77 Win32 build: Add more output for debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22861 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-01 19:37:31 +00:00