Commit Graph

16043 Commits

Author SHA1 Message Date
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
Jeff Earickson
cde31d6ea6 Assamese Indic Language translation file (Devanagari script) 2014-11-09 12:30:31 +01:00
Jeff Earickson
76a340c25a Add Assamese Indic Language (as) to LINGUAS
https://bugzilla.gnome.org/show_bug.cgi?id=738599
2014-11-09 12:30:20 +01:00
Cristian Marchi
766bb51dba Update Italian translation. 2014-11-08 11:32:29 +01:00
Sébastien Villemot
4fcc83a02c Add missing comma in call to gtk_tree_store_set().
This was causing random crashes in the Debian package, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764510

Thanks to Frédéric Bière for finding and fixing the problem.
2014-10-28 15:05:00 +01:00
Geert Janssens
5acdbb6f52 Rewrite old-fashioned makefile construct 2014-10-26 23:06:14 +01:00
Geert Janssens
283dfa2d83 Fix invocations of guile function 'load-from-path'
The '.scm' extension prevents loading of a precompiled
version of the file from the %load-compiled-path and
will always trigger an autocompilation instead. Omitting
the extension properly allows the function to load a
precompiled version if it exists and is more recent than
the source file. This is only relevant for guile 2 but
works ok for guile 1.8 as well so it's changed unconditionally.
2014-10-25 12:31:52 +02:00
Geert Janssens
25a7e9ccf6 Fix some warnings found with msgfmt -c in the po files 2014-10-21 23:53:36 +02:00
Geert Janssens
a9a037d881 Revert "Remove bare percent sign in taxinvoice.scm, replace with English."
This reverts commit 289bfc2aef.
2014-10-21 23:53:34 +02:00
Jeff Earickson
4d4345dc14 Indic Language Konkani translation in Latin script
Konkani Language translation po file from C-DAC, Pune, India.
2014-10-21 23:53:33 +02:00
Jeff Earickson
ddd733dbde Add kok@latin to LINGUAS_ALL (Konkani in Latin script)
https://bugzilla.gnome.org/show_bug.cgi?id=738829
2014-10-21 23:53:33 +02:00
Jeff Earickson
cd93de381c Indic Language Gujarati Translation File
From the team at C-DAC, Pune, India
2014-10-21 23:53:32 +02:00
Jeff Earickson
daf31ded07 Addition of Gujarati (gu) to LINGUAS_ALL po file list
https://bugzilla.gnome.org/show_bug.cgi?id=738828
2014-10-21 23:53:31 +02:00
Jeff Earickson
d0a020bfd6 Indic Language Kannada Translation file
Another addition from C-DAC, Pune, India.
2014-10-21 23:53:31 +02:00
Jeff Earickson
a0c03160bf Add kn (Kannada) to LINGUAS_ALL
https://bugzilla.gnome.org/show_bug.cgi?id=738827
2014-10-21 23:53:30 +02:00
Geert Janssens
3b21aacbc8 Revert to using numerical indexes for the x-axis on bar charts
There is a bug in jqplot to prevents stacked charts from
rendering properly when using strings for x-axis categories:
https://bitbucket.org/cleonello/jqplot/issue/587/charts-disappear-by-enabling-stackseries
2014-10-21 17:13:26 +02:00
Joe Hansen
92fed5b85e Updated Danish translation
Copied from the translation project
2014-10-15 14:09:33 +02:00
John Ralls
238c889da3 Bug 738113 - Crash on reload budget report. 2014-10-13 14:17:57 -07:00