Commit Graph

16176 Commits

Author SHA1 Message Date
Jeff Earickson
7b16320f25 Addition of the Bodo language (brx) in Devanagari Script. 2014-04-30 16:17:03 +02:00
Christian Stimming
acad5a02bb CMake: Remove removed file from cmake, so that it compiles fine again. 2014-04-28 21:24:17 +02:00
Geert Janssens
8784b94491 Merge branch 'maint'
Revert error on warning default when building from scm
2014-04-28 18:45:18 +02:00
Geert Janssens
c4bbd14587 Revert error on warning default when building from svn 2014-04-28 18:44:46 +02:00
Geert Janssens
5bc2503199 Merge branch 'maint'
* Minor fixes to make gnucash build under mingw/gcc 4.8.x
2014-04-28 14:58:52 +02:00
Gary Bilkus
7c0074a1c3 Win32: Fix problem in gnc-split-reg.h caused by earlier preprocessor define of DELETE etc 2014-04-28 14:58:01 +02:00
Gary Bilkus
06e7199bda Win32: Fix configure.ac to cope with new gcc not understanding no-undefined flag 2014-04-28 14:57:38 +02:00
John Ralls
dbe336cd7c C++: Rename files to be compiled as C++ to foo.cpp
Instead of using the -xc++ compiler flag.
2014-04-27 16:32:58 -07:00
John Ralls
82df074771 C++ Windows fixes.
Particularly interesting is src/engine/Makefile.am: Having a mention of
target_CFLAGS in an #if disables automatic use AM_CFLAGS even when the
#if condition is false.
2014-04-27 15:06:02 -07:00
Mike Alexander
c7f4bf7fed Merge branch 'maint'
* Fix price quotes after removal of yahoo-get-historical-quotes
  * calculate num-columns-required in transaction report correctly
  * Additional changes to column calculations in transaction report
  * Fix configure.ac code that customizes parameters for specific gcc versions
  * Ignore SIGTTOU while importing Python console class.
2014-04-27 16:42:34 -04:00
Mike Alexander
2c4463e77f Ignore SIGTTOU while importing Python console class.
Importing it causes this signal to be sent and if GnuCash is running
in the background it hangs.
2014-04-27 16:26:13 -04:00
Mike Alexander
4ec1f6b724 Fix code that customizes parameters for specific gcc versions
to agree with the comments.
2014-04-27 16:25:51 -04:00
Mike Alexander
c2c246ccf8 Bug 729001: Fix a minor typo affecting the profile option in the previous commit 2014-04-26 20:20:32 -04:00
Mike Alexander
b32f9d2a59 Bug 729001: fix more build errors related to partial switch to C++. 2014-04-26 19:38:35 -04:00
John Ralls
72e0b29a09 Revert addition of lprofiler
Inadvertent leak into previous changeset.
2014-04-26 12:37:55 -07:00
John Ralls
8f0098015c C++: Fix compiler warnings from gcc-4.7 on Fedora 18
Clang didn't complain about these. Note that some of the error messages
for not-clang in the tests have changed, likely due to C++. The old ones
are commented out for now; this part needs to be tested with an older
gcc to see if it's consistent.
2014-04-26 11:10:56 -07:00
John Ralls
403a0f6c42 Bug 729001 - Work around warnings invalid for C++ 2014-04-26 10:42:11 -07:00
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
Mike Alexander
8bbd87fd46 Merge branch 'maint'
*     Use libsecret if available
 *     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
2014-04-25 19:45:28 -04:00
John Ralls
daf4480836 Merge branch 'c++-build'
First merge, libqof only, and no functional changes yet.
2014-04-25 13:42:00 -07:00
John Ralls
bedf00a160 Compile LibQOF as C++
This is a minimal change to get LibQOF and only LibQOF to compile as C++.
There are no functional changes, just casts to satisfy the rather pickier
C++ compiler and wrapping declarations with extern "C" { } to maintain C
mangling so that the libgncmod_qof will work with the rest of the program.

A note about renaming gnc-numeric.c to gnc-numeric.cpp: Dunno if it's a
clang bug, but it wouldn't link test-math with the -xc++ flag; renaming
the one file got around the problem. We'll likely have to do the same for
other test programs and for gnucash-bin.c.
2014-04-25 13:41:11 -07:00
John Ralls
3abf8b47f6 Remove unused partial book handling. 2014-04-25 12:34:08 -07: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
e6c36983d4 Merge branch 'maint'
* Bug726449 - Budget Barchart does not show up if running sum is selected
* Add fixed EUR-LVL conversion rate to gnc_euro_rates
* Update Latvian translation
* Add Indian Konkani translation
* Remove unused function yahoo-get-historical-quotes
* Fix handling of kvps for address, entry, job, order and taxtable objects
* Prevent older gnucash versions from loading data files with said kvps
2014-04-24 12:14:59 +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
John Ralls
cf78eecdfa Merge branch 'maint'
* Morritz Lipp's libdbi-0.9.0 compatibility fix
* Morritz Lipp's realloc return value fix
* Re-enable save and enable loading of $GNC_DOT_DIR/accelerator-map on OSX
2014-04-18 12:57:30 -07: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
Geert Janssens
096e71cb6a Periodic merge of branch 'maint'
- Replace deprecated g_dirname
2014-04-17 18:24:18 +02:00
Moritz Lipp
4cf991a24c Replace deprecated g_dirname 2014-04-17 18:05:09 +02:00
Dmitry Pavlov
d9628ceae9 Implemented ranged report generation. User can build budget report on selected periods instead on all of them. Not included periods can be "folded" as a columns with summed values. To support report settings saving and range 'types' can be used instead of exact period numbers 2014-04-12 17:24:55 -07:00
John Ralls
2f96218162 Set revision on master branch to 2.6.99 2014-04-12 17:12:49 -07: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