Commit Graph
15249 Commits
Author SHA1 Message Date
Christian Stimming 1968b38cfa Win32: Update aqbanking/gwenhywfar package versions for windows build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23199 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-28 21:28:05 +00:00
John Ralls 6ee53ca581 Fix undeclared identifier from r23191
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23197 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-26 02:51:25 +00:00
John Ralls 0854231a14 Bug 708700 - "make check" fails (missing glib bits)
Author: Frédéric Perrin <fred+gnome@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23196 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-24 21:24:34 +00:00
John Ralls 72d1387f30 Bug 654196 - "make check" fails when built with --enable-dbi
Change ordering of flags so that picky compilers build the test correctly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23195 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-24 20:59:13 +00:00
John Ralls 84e4edcb67 Bug 632362 - Unable to create "reversing transaction" again after it is removed
From leaking references in g_object_get because both g_object_get
and g_value_set_object ref the object, which is only unreffed once.
Using g_value_take_object() instead prevents the double-ref.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23192 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-24 20:11:24 +00:00
John Ralls 378a419f8d Fix leaking Gtkosxapplication objects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23191 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-24 20:11:11 +00:00
John Ralls f8cf8bba1b Bug 654196 - "make check" fails when built with --enable-dbi
but without sqlite DBD installed.
Refine checks to use the values for dlopen and dlopen_lib already
discovered by libtool.
Improve the error message to offer more solutions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23190 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-22 00:56:23 +00:00
Geert Janssens c05773cf84 Revert r23187 "Revert dbi check"
This commit was only intended on my machine locally to be able
to continue to work.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23189 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-21 16:29:34 +00:00
Geert Janssens 1366f6b6bf Improve tab behaviour in Stock split assistant
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
2013-09-21 16:13:02 +00:00
Geert Janssens b389d44cd9 Revert dbi check
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23187 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-21 16:12:07 +00:00
John Ralls e32a8e84b9 Bug 654196 - "make check" fails when built with --enable-dbi
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
2013-09-20 22:41:50 +00:00
Christian Stimming a46dba1201 After opening a file, display a statusbar message with the last modification date and time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23185 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-20 21:09:46 +00:00
Christian Stimming 517a621d9a Make gnc_g_date_time_new_from_unix_local() function known in header.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23184 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-20 21:09:33 +00:00
Christian Stimming d1a2d70be9 Fix memory leak due to missing free after gnc_ctime().
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
2013-09-20 21:09:21 +00:00
Christian Stimming b73c10b8b9 Fix erroneous memset() parameter ordering, as notified by gcc-4.6.3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23182 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-20 21:09:06 +00:00
John Ralls 8960812666 Fix win32 build errors
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23181 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-19 22:56:46 +00:00
John Ralls 18af3bc3b0 Bug #654196 make check fails without sqlite DBD installed
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
2013-09-19 21:29:53 +00:00
John Ralls 70e865c80f Bug #704039 time zone is not respected in Windows
Thanks to Kuang-che Wu <kcwu@csie.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23179 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-19 19:23:13 +00:00
Mike Evans ad1f7524fa Remove commented out code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23176 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-18 10:13:14 +00:00
Mike Evans 6849406419 Fix bug 699450
* 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
2013-09-18 09:40:44 +00:00
John Ralls 31c339f8c6 Bug 674862 - 2038 bug in libdbi
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
2013-09-17 23:26:10 +00:00
John Ralls e5ea307906 Modify xaccAccountChildrenEqual to not depend upon the order
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
2013-09-17 23:25:43 +00:00
John Ralls 213344f378 Work around differing pgsql protocol and dbi name
Also silence postgres notices during test.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23172 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-17 23:25:11 +00:00
John Ralls 843fd20e8a Convert stray g_printf into PINFO
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23171 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-17 23:24:31 +00:00
John Ralls e10dae8728 Add core-utils to backend-sql test LDADD
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
2013-09-17 23:23:20 +00:00
John Ralls 4d083bc1ca Re-enable dbi backend basic tests with g_tester
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
2013-09-15 17:48:54 +00:00
Cristian Marchi 5c58875e94 Update Dutch translation from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23168 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-14 18:25:55 +00:00
John Ralls 38f1cc6479 Fix up state-changing business functions
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
2013-09-13 23:36:36 +00:00
John Ralls 818c00630d Bug #682280 - bill/invoice importer fails to save imported bills/invoices
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
2013-09-13 23:36:22 +00:00
John Ralls c7f6d0e6e0 Bug 684670 - Interest amount calculation is wrong in Sqllite3 format
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
2013-09-12 23:29:42 +00:00
John Ralls 568cfd730e Prepare 2.5.5 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23161 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-09 17:08:46 +00:00
John Ralls 1009505831 Bug 704056 - Online Banking (Online Actions) does not appear in Action menu
Ensure that all functions are exported to the dll

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23160 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-09 03:01:14 +00:00
Geert Janssens 745afb94dd Prevent 2.4 from crashing when loading a book that was opened with 2.6 before.
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
2013-09-04 12:55:49 +00:00
Geert Janssens 6ee4202fca Bug 603183 - Equity statement shows incorrect changes
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
2013-09-03 14:02:35 +00:00
Geert Janssens 609b60bea3 Bug 603183 - Equity statement shows incorrect changes
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
2013-09-03 14:02:21 +00:00
Geert Janssens c5adac66c3 Bug 603183 - Equity statement shows incorrect changes
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
2013-09-03 14:02:02 +00:00
Geert Janssens 2eaf1a5586 Bug #704039 time zone is not respected on windows
Author: Kuang-che Wu <kcwu@csie.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23155 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-03 13:35:03 +00:00
Geert Janssens 47e89eff6b Add appdata description file to be used in Gnome's App store
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23153 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-09-03 10:59:19 +00:00
John Ralls df4f6a321c Handle exception in set_mac_locale()
When [locale objectForKey: NSLocaleCountryCode] returns nil

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23150 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-26 17:02:54 +00:00
Cristian Marchi 757a1ef120 Revert Persian translation update while Persion translators coordinates the translation effort.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23149 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-22 18:59:41 +00:00
Cristian Marchi ffd3dc2deb Update traditional Chinese translation thanks to Kuang-che Wu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23148 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-20 20:08:51 +00:00
Geert Janssens 61b79aa231 Bug 334939 - Account Report and Account Transaction Report are apparently the same, but different
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
2013-08-20 13:49:46 +00:00
John Ralls 4774967890 Fix pointer conversion warnings on 64-bit builds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23146 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 22:55:39 +00:00
Geert Janssens a04cf371e5 Add comment to document the hack for multicolumn multi-chart reports
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23145 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 21:22:15 +00:00
Geert Janssens 28de0f4c78 Bug 704525 - When you have a mix of chart types (bar charts and pie charts)
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
2013-08-18 21:22:07 +00:00
Geert Janssens cc51bcf7c0 Bug 704525 - When you have a mix of chart types (bar charts and pie charts)
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
2013-08-18 21:21:57 +00:00
John Ralls 299b6c4b4d Add Lithuanian translators to AUTHORS
Per request of Tae Wong <seotaewong40@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23142 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 00:03:47 +00:00
John Ralls 155223d487 Set mime-type property on AUTHORS and DOCUMENTERS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23141 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-17 23:23:18 +00:00
John Ralls 48901c39f0 Testing: Split.c: Filter out expected error message.
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
2013-08-16 16:44:45 +00:00
John Ralls 6aa2cb9deb Unit test Transaction.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23139 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:44:28 +00:00