Commit Graph

15814 Commits

Author SHA1 Message Date
Geert Janssens
fb8018b374 Additional changes to column calculations
- Add some comments to remember why this was done
- Fix one error in the code
2014-04-26 18:27:45 +02:00
Amish
65e8e3b11d calculate num-columns-required correctly
This fix, calculates num-columns-required correctly based on which columns are used/not-used/merged. Earlier code did not consider merged columns.

Effectively with this fix, when you print report, on average it saves 2-3 pages per 12-15 pages.
2014-04-26 17:54:20 +02:00
Geert Janssens
95e12216bf Fix price quotes after removal of yahoo-get-historical-quotes 2014-04-26 11:31:33 +02:00
Michalis Kamprianis
c2c72eaaa2 Minor corrections
correction in version number in NEWS history re 2.6.3 and 2.6.2
deletion of duplicate lines in src/engine/gnc-commodity.c

	modified:   NEWS
	modified:   src/engine/gnc-commodity.c
2014-04-25 16:35:44 +02:00
Moritz Lipp
540956546e Use libsecret if available
This patch provides libsecret [1] support to gnucash since gnome-keyring has
been deprecated. It will check for an installed libsecret version and will use
it in favor of gnome-keyring.

Since it is not recommended to use SECRET_SCHEMA_COMPAT_NETWORK for new uses, it
uses its own defined scheme to store the credentials. Therefore passwords that
have been stored in the network schema are migrated to the new schema by trying
to access them with the old schema and storing them again in the new one.
2014-04-24 22:10:53 +02:00
Geert Janssens
171ac3de90 Prevent older gnucash versions from opening a data file if previously unhandled kvps are used
Prior to gnucash 26.4 with kvps for address, entry, job and taxtable objects
were not handled properly (but not in use either).
This patch will prevent any older version of gnucash to open a data file if a newer
version has written any of the above kvps.

A follow up on bug 728841
2014-04-24 12:11:20 +02:00
Michalis Kamprianis
f0e42a005f Bug 728841 - XML backend does not always store KVP slots
add appropriate code for slot handling in the relevant subclasses

	modified:   src/backend/xml/gnc-address-xml-v2.c
	modified:   src/backend/xml/gnc-entry-xml-v2.c
	modified:   src/backend/xml/gnc-job-xml-v2.c
	modified:   src/backend/xml/gnc-order-xml-v2.c
	modified:   src/backend/xml/gnc-tax-table-xml-v2.c
2014-04-24 11:10:55 +02:00
Geert Janssens
25256c1ba7 Remove unused function yahoo-get-historical-quotes
This gets rid of the dependency on guile-www as well
2014-04-24 11:10:55 +02:00
Jeff Earickson
dcd0cc7720 Gnucash translation into Konkani, shown in Latin script. 2014-04-23 17:46:54 +02:00
Jeff Earickson
4bac87e3ae Gnucash translation into Konkani in the Devanagari script. 2014-04-23 17:46:54 +02:00
Jeff Earickson
85d31c9ace Added kok and kok@latin to LINGUAS: Konkani in Devanagari script and latin script translations. 2014-04-23 17:46:54 +02:00
Geert Janssens
17abf6bb2d Update Latvian translation
This is a follow up on bug 727338
2014-04-23 14:51:49 +02:00
Geert Janssens
f9a93229d2 Add fixed EUR-LVL conversion rate to gnc_euro_rates
This is a follow up on bug 727338
2014-04-23 14:50:58 +02:00
Carsten Rinke
5baa87bf4e Bug726449 - Budget Barchart does not show up if running sum is selected 2014-04-21 11:21:15 +02:00
Moritz Lipp
52c07a545d Correct usage of realloc in gnc_xml_be_get_file_lock
This patch fixes a common mistake where the return value of the function call
is set to the passed buffer and therefore previous allocated memory is lost if
the realloc call fails. Therefore a temporary variable is introduced and the
memory will be freed if the reallocation fails. In addition the return value of
the malloc allocation is checked.
2014-04-18 12:53:26 -07:00
Moritz Lipp
b122141a2c Make compatible to libdbi >= 0.9.0
Several functions of libdbi are now deprecated (e.g.: dbi_conn_new) and have
been replaced with _r functions (e.g.: dbi_conn_new_r) which now require a
dbi_instance passed as a parameter. This patch checks if the version of libdbi
is higher or equal than 0.9.0 and iff so, it uses the new _r functions instead
of the deprecated ones.
2014-04-18 12:53:16 -07:00
John Ralls
b4b097529e Re-enable loading and saving gnucashdotdir/accelerator-home on OSX
Per user request. Permits user to customize the accelerator map and have the result
survive upgrades. Loads gnucashdotdir/accelerator-home if it exists, otherwise loads
share/gnucash/ui/osx_accel_map.
2014-04-18 12:52:40 -07:00
Moritz Lipp
4cf991a24c Replace deprecated g_dirname 2014-04-17 18:05:09 +02:00
Christian Stimming
cc51bbe8fc Win32 build: Update gwenhywfar version after it has been fixed for compiling with mingw. 2014-04-07 20:55:49 +02:00
Cristian Marchi
ff04eb1cbf Small improvement to italian translation. 2014-04-05 14:29:01 +02:00
Cristian Marchi
697a286fcc Related to bug #727338: currency for Latvia is EUR. 2014-04-05 14:23:07 +02:00
Cristian Marchi
0cd2f7672b Update it translation and a small fix for account. 2014-04-05 14:19:24 +02:00
Cristian Marchi
52ab2d527d Fix spaces for some strings not correctly picked up by xgettext.scm script. 2014-04-05 14:17:52 +02:00
Cristian Marchi
5bd7d2e73b Bump copyright year 2014-04-05 12:01:00 +02:00
Cristian Marchi
8fd7536fff Bug #727338 - Translation and Account file updates for Latvian. 2014-04-05 11:17:38 +02:00
Carsten Rinke
c9b5a81b08 Bug727130 - Crash when newline in Report Title 2014-04-04 20:46:53 +02:00
John Ralls
1688e6c29f Rename _git files to plain, fix links. 2014-04-01 12:16:54 -07:00
John Ralls
c73eaa89f2 Remove svn-based build files 2014-04-01 12:04:57 -07:00
John Ralls
e2f49114d9 Write a timestamp log file at the beginning of a build on the server.
So that we know when/if the build has started.
2014-04-01 11:56:14 -07:00
Christian Stimming
b659a47df2 Win32: Update gwenhyhwfar/aqbanking again, but slightly more cautious (gwen-4.11.0 does not compile on win/mingw right now) 2014-03-31 22:44:02 +02:00
John Ralls
166cbb7e91 Revert "Win32 build: Update aqbanking version numbers"
This reverts commit ae26a29fbd.
Gwen 4.10 and later breaks building GnuCash, and newer AQBanking
versions won't build with Gwen 4.9.
2014-03-30 21:35:40 -07:00
John Ralls
5d3441282e Revert "Win32: Roll back Gwenhywfar to 4.9.0 to resolve broken build."
This reverts commit 4e5e062132.
Preparing to revert its predecessor
2014-03-30 21:31:18 -07:00
John Ralls
4e4a032677 Release 2.6.3 2014-03-29 16:47:17 -07:00
John Ralls
329f3079e0 Work around some test issues.
Lower the random gnc_numeric clamp to 44 bits; got an overflow at 48.
Prevent random query strings from including '\'; The sequence '\ ' causes an
error when passed to Scheme. See http://savannah.gnu.org/bugs/?31680.
2014-03-29 16:02:50 -07:00
John Ralls
9786845e44 Better error message for split value conversion 2014-03-29 16:02:26 -07:00
John Ralls
4e5e062132 Win32: Roll back Gwenhywfar to 4.9.0 to resolve broken build.
cc1.exe: warnings being treated as errors
In file included from c:/soft/aqbanking/include/aqbanking5/aqbanking/abgui.h:16:0,
                 from ../../../../repos/src/import-export/aqb/gnc-ab-utils.c:52:
c:/soft/gwenhywfar/include/gwenhywfar4/gwenhywfar/gui_be.h:60:10: error: 'libintl_printf' is an unrecognized format function type
make[5]: *** [gnc-ab-utils.lo] Error 1
2014-03-28 22:53:43 -07:00
John Ralls
1b269e17cd Ensure that the autoconf and automake checked are the ones we install
rather than some random one installed elsewhere on the path.
2014-03-28 22:53:42 -07:00
John Ralls
963c8a0048 Update Active Perl version to the one current "community edition". 2014-03-28 22:53:42 -07:00
John Ralls
9293f48063 Bug 724995 - Gnucash crashes due to assertion failed when opening sqlite file
Rather than asserting (and therefore crashing) on a bad split or transaction,
write an error description and raise an ERR_BACKEND_DATA_CORRUPT error.

Fix bad GUIDs in splits at write.
2014-03-28 17:45:04 -07:00
John Ralls
bbd26525fc Set Gnucash version and GNUCASH_RESAVE_VERSION in init_version_info
And reset_version_info. This is a better solution than setting it in load
after calling init_version_info because in load it would over-write the
values stored in the database.
2014-03-28 11:32:55 -07:00
Geert Janssens
b73c77408a Improve preference name 2014-03-26 10:47:44 +01:00
Geert Janssens
a48e656eee Fix guile 2 stack overflow errors for large reports 2014-03-25 10:19:35 +01:00
Mike Alexander
b1eb45ef28 Fix basis calculation for FIFO or LIFO when less than one lot is sold. 2014-03-24 19:03:26 -04:00
John Ralls
eaae6e9546 Bug 726891 - segmentation fault on session.end()
Fill in the gnucash and gnucash-resave versions in an initial load so
that the version checks pass. Have python's Session.__init__() always
load the session so it's ready to handle other actions.
2014-03-24 14:15:38 -07:00
John Ralls
5dfd61091e Fix dumb typo detected by a new Clang warning. 2014-03-24 14:09:53 -07:00
Geert Janssens
2215e3826e Bug 726430 - Python: account.getName() raises TypeError
This particular commit fixes the new_book_with_opening_balances.py example script.
2014-03-19 17:21:42 +01:00
Mike Evans
67d90c90cc Bug 721196 - Cannot import lines with empty fields for deposit or withdrawal in bank transaction download.
Empty numeric fields are assumed to be 0.0 values.
2014-03-16 10:58:28 +00:00
Cristian Marchi
d1cbddc929 Update Italian translation. 2014-03-14 20:42:09 +01:00
Cristian Marchi
a6f837066b Updated Danish translation from the translation project. 2014-03-14 20:28:51 +01:00
Cristian Marchi
86f571ee06 Updated Catalan translation from the translation project. 2014-03-14 20:26:43 +01:00