Commit Graph

16160 Commits

Author SHA1 Message Date
Geert Janssens
ca1d5a7382 Cherry-pick "Bug 741810 - Compilation fails because of creating .gnucash"
This was meant to go on maint first...
2014-12-23 17:28:27 +01:00
Mike Alexander
4a7913289c Tell Guile (and others) to look in install/lib/gnucash for ligraries.
Without this Guile can't find libgncmod-engine and GnuCash won't start,
at least sometimes.
2014-12-21 22:54:24 -05:00
John Ralls
2ceadfa3a0 Replace GNC_HOME/bin with gnc_path_get_bindir().
For consistency with the rest of the function.
2014-12-21 15:47:20 -08:00
John Ralls
02acf2b6f4 Adjust #ifdef __clang__ to exclude clang versions > 6
This works only with Apple clang; the regular clang is at version 3, but
hasn't been tested for what versions emit what sort of function signatures
to logs.
2014-12-21 12:55:07 -08:00
John Ralls
745ff9e519 Bug 739584 - gnucash-2.6.4 segfaults regularly on transfer .
Ensure that xferData is nulled after free and that client functions check
for the NULL.
2014-12-21 12:34:32 -08:00
John Ralls
a537ff052b Fix Guile compiled path in environment.in
Compiled files go to prefix/lib/guile/2.0/ccache, which isn't the same as
where the source files are stored (prefix/share/guile/2.0), so provide a
separate variable for it. Also don't throw away the user's value of
GUILE_LOAD_COMPILED_PATH in favor of GUILE_LOAD_PATH.
2014-12-21 11:13:27 -08:00
John Ralls
e55e7db9fd Remove note from the top of environment.in. It's obsolete. 2014-12-21 11:09:21 -08:00
Geert Janssens
2ef335d9c7 Bug 740471 - Applying payment to invoice Segmentation fault
Stop listening for gui update events while on the way out
(after the ok button was pressed).
2014-12-20 12:28:59 +01:00
Geert Janssens
f4481f7dcf Bug 740471 - Applying payment to invoice Segmentation fault
Clear selection before emptying list store to prevent
the code from running calculations on a changing list.
2014-12-20 12:28:59 +01:00
Geert Janssens
a6d7184d83 Bug 740471 - Applying payment to invoice Segmentation fault
Attempt to fix it by no longer nullifying lots during processing
2014-12-20 12:28:58 +01:00
Geert Janssens
efc8544ff9 Fix crash when running check & repair on an open AP/AR register
This was reported in comment 15 of https://bugzilla.gnome.org/show_bug.cgi?id=741418
2014-12-20 12:10:20 +01:00
John Ralls
23d0f79d5d Update News for re-tag of 2.6.5 2014-12-18 08:38:46 -08:00
Geert Janssens
e3bef5fdc3 Fix lot scrubbing for business lots
When adding splits to such a lot the code was supposed to
reduce splits in the same transaction and the same lot to
one single split. This is to avoid infinite fragmentation
over time.
That reduction wasn't working for business lots and should
be fixed with this commit.
This is also a potential fix for bug https://bugzilla.gnome.org/show_bug.cgi?id=741418
which could very well be a report of such infinite fragmentation.
2014-12-17 18:52:20 +01:00
Geert Janssens
9dc06a2f24 Improve comment for gncOwnerAutoApplyPaymentsWithLots
It was no longer accurate
2014-12-17 18:52:20 +01:00
John Ralls
321278f996 Release 2.6.5. 2014-12-15 15:20:36 -08:00
John Ralls
624d3bb68b Fix msgfmt errors in Indian-language .po files.
Note that the fixes may cause the translated strings to be wrong, but
they will at least avoid printf from having mismatched substitution
parameters.
2014-12-15 14:48:34 -08:00
John Ralls
fd15209d5e Update translation project po files. 2014-12-15 14:03:14 -08:00
John Ralls
c85c4529fd Still more Guile library path additions, this time in tests. 2014-12-14 16:38:48 -08:00
John Ralls
dd544de7ed Use standard macro INT64_C() to silence gcc-4.2 complaint
About constants being too large for an int.
2014-12-14 16:37:47 -08:00
John Ralls
08a4394955 Correct inadvertent change to a still-needed function. 2014-12-14 16:36:53 -08:00
John Ralls
620832f481 Remove Windows specializations from gnc-date.c
Now that we're building with a recent GLib version they're no longer needed.
2014-12-13 18:02:13 -08:00
John Ralls
dca16c8933 Still more Guile precompilation fixes.
This time for gcc-4.2, used for OSX 10.5-compatible releases.
2014-12-12 12:55:05 -08:00
Mike Alexander
a61f61406f Fix line endings in repository to match recent change to .gitattributes 2014-12-11 02:55:06 -05:00
VERDOÏA Laurent
5f2eab3ba8 French typo correction
ctte -> cette

Cherry picked from master because I first applied it there by mistake.
2014-12-08 13:33:00 -08:00
Frank H. Ellenberger
a6230fbb9d Add ChangeLog.2013 to dist_doc_DATA
Happy New Year! ;-)
2014-12-05 09:41:50 +01:00
Frank H. Ellenberger
2c49aec20a Update of de.po: 152 + 38 remaining 2014-12-05 08:20:57 +01:00
Geert Janssens
032a2ee169 Yet another guile 2 precompile fix of the German tax report
The previous one only fixed part of the problem
2014-12-03 12:04:49 +01:00
Geert Janssens
2ef755052e Fix guile 2 precompilation of German tax report 2014-12-03 09:52:08 +01:00
John Ralls
946432c953 Guile compilation: One missed CLEANFILES. 2014-12-02 09:47:20 -08:00
John Ralls
e1310bc9ff Fix the *.win32-bin.txt and downloaded.mt940 attributes. 2014-12-02 09:34:56 -08:00
John Ralls
5933f0dc1f Guile precompilation: One more missing library-dir. 2014-12-02 09:03:11 -08:00
John Ralls
afdf0de542 Reapply fix of Guile precompilation without unwanted change in gnc-numeric.c. 2014-12-02 08:25:34 -08:00
John Ralls
9bcc1ad6ce Revert "Fix Guile-2.0 precompilation."
This reverts commit a26801ab0e.
2014-12-02 08:18:06 -08:00
John Ralls
a26801ab0e Fix Guile-2.0 precompilation. 2014-12-01 21:50:46 -08:00
Frank H. Ellenberger
5aa8f8dbae Update of de.po: 351 +50 remaining 2014-12-01 15:06:04 +01:00
John Ralls
4afa8be3c5 Bug 738477 - WebKit is broken on Win32.
Turns out our URL for loading jqplot is what was broken.
2014-11-30 16:08:00 -08:00
Frank H. Ellenberger
abd237fb48 Update of de.po -still 530 + 53 to review
Rework of
0022bc21f4
2014-11-30 04:48:14 +01:00
Geert Janssens
abf78a202c Python bindings - fix creation of new xml files 2014-11-24 11:51:33 +01:00
Geert Janssens
e59c3e0639 Fix a few typos in python example scripts and align them with the latest api changes 2014-11-17 17:59:07 +01:00
Geert Janssens
22490a37ab Fix build-time hard-coded path introduced by the guile2 compile changes
These changes hardcoded the standards-reports path at build time.
On Windows and OS X the final path is only known at installation time.
So after installation the build-time hard-coded path would be invalid and
the standard-reports directory could no longer be found.
2014-11-17 14:48:02 +01:00
Geert Janssens
64d9a3b99e Prevent crash when standards-report dir doesn't exist 2014-11-17 15:43:16 +01:00
Geert Janssens
d6826976ef Fix parallel make for guile2 compilation 2014-11-12 14:43:01 +01:00
Geert Janssens
3a825c929f QIF Import crashes when closing via the 'X' button on the last page
Using the 'Close' button works correctly. The difference is that
the 'X' button triggers a cancel action while the 'Close' button
triggers a close action. I have changed this such that when the
import already happened (that is when the user is looking at the
summary page), a close action will be triggered in both cases.
2014-11-12 12:07:51 +01:00
Geert Janssens
5f3f9a525a Omit extension on calls to load-extension
.so was platform specific. By omitting the extension
guile properly finds the right library on both linux
and Windows (haven't tested on OS X but I assume it
to work there as well).
2014-11-10 18:31:17 +01:00
Geert Janssens
c9bfaa8bb3 Use one common base directory to store all scheme files and modules
This makes it easier for humans to locate a file after
installation and simplifies the build system.
2014-11-10 18:31:16 +01:00
Geert Janssens
be0e3581c2 Guile 2 pre-compilation improvements
1. Tell the engine to look in the build dir for the backend modules
   Guile compilation loads the engine libraries for
   some guile modules. This triggers the engine
   initialization code which tries to load the xml backend module
   and optionally the dbi module as well.
   By default it looks for these modules in the installed directory
   but during build they are not installed yet, so use a few
   environment variables to tell the engine to look in the build
   dir instead.

2. Wait for the c library to be linked before attempting to
   compile the guile files. Some guile files need the library
   to be available.

Note that neither fix is necessary for all directories that has
scheme files to compile. For consistency between makefiles, I have
chosen to add them to all, which won't hurt.
2014-11-10 18:31:16 +01:00
Geert Janssens
97f8f39dc6 Pre-compile scm files when building with guile 2
With pre-compiled scm files, guile will no longer
resort to autocompilation at first startup. This avoids
bugs like downstream
https://bugzilla.redhat.com/show_bug.cgi?id=1151870
(Where autocompiled files for an older version of
gnucash are more recent than the source files installed
with the newer version)

Note that a new variable GUILE_LOAD_COMPILED_PATH is added
for this in the environment file. This variable should probably
be updated in the OSX and Windows build scrips if/when these
are building with guile 2.

Strictly speaking this new variable is only needed for guile 2.
However since guile 1.8 simply ignores the environment variable,
it's just set unconditionally regardless of the guile version
being active.
2014-11-10 18:31:15 +01:00
Geert Janssens
2a6fcf1cd5 Guile module structure cleanup
- fix circular dependency between business-reports.scm and owner-report.scm
- split out gettext routines to properly handle N_ for all files that use it
- remove some unused module inclusions
- tax module depends on app-utils -> fix build order
2014-11-10 18:31:14 +01:00
Geert Janssens
9f15bb19fd Fix a few deprecation warnings when building and testing with guile 2 2014-11-10 18:31:12 +01:00
Geert Janssens
4e61f0fc9f Harmonize variable names used to refer to guile modules in all makefiles
This makes the makefiles more similar and hence
easier to understand and maintain
2014-11-10 18:31:12 +01:00