Commit Graph

16015 Commits

Author SHA1 Message Date
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
Jeff Earickson
289bfc2aef Remove bare percent sign in taxinvoice.scm, replace with English.
The bare percent sign in this string messes with po translation
files and causes difficulties compiling without backslashes and
other pain.  Cleans up the English by using real words.
2014-10-13 14:17:57 -07:00
Christian Stimming
cbe6c23087 Aqbanking: Add display of aqbanking subaccountid in initial correspondence setup 2014-10-13 21:47:09 +02:00
Christian Stimming
4e99e09e5f Aqbanking online SEPA transfer: Allow transfers without BIC, only IBAN. Also add IBAN checking. 2014-10-13 21:46:45 +02:00
Christian Stimming
fbb5291ac3 Aqbanking transfer: Make IBAN and BIC text entry fields filter digits or alphas correctly as needed. 2014-10-13 21:45:46 +02:00
Geert Janssens
6879818158 Some minor cosmetics in the barchart code 2014-10-13 20:46:30 +02:00
Geert Janssens
00b827dbf2 Redo the highlighter in barcharts.
The formatting code was removed with the introduction
of the zoom cursor. It continued to display
poorly formatted information though which is now fixed again
2014-10-13 20:46:29 +02:00
Geert Janssens
6d0a3707e1 Bug 737815 - Graphs cannot be generated correctly
Revert x axis renderer from DateAxis to CategoryAxis.
It looks like the DateAxis renderer wasn't meant to be
used for a bar chart.
2014-10-13 20:46:29 +02:00
Carsten Rinke
96289823e5 Bug737815 - Graphs Cannot Be Generated Correctly
Fix in html-barchart.scm, change loop condition
2014-10-13 20:46:29 +02:00
Frank H. Ellenberger
8cd6c0e1c4 Add report forms T-Account/Vertical and account types Active/Passive to
glossary.

Some european countries prefer reports in T-Account form and group
'equity & liability' in Passive.

Merged in glossary/*.po files.
2014-10-13 01:41:19 +02:00
John Ralls
62b8815235 Bug 736359 - Date of 0000-00-00 in MySQL backend crashes GnuCash
Unanswered is why the invalid GDate* passed to g_object_set gets turned
into a NULL at the other end.
2014-10-06 12:19:58 -07:00
John Ralls
4c77e73f5d Update Farsi translation from the Translation Project. 2014-10-06 11:53:30 -07:00
Ralf Habacker
d64446ed7d Adapt german SKR03 account template to updated tax rate.
In DE the VAT (MWSt) changed per 2007-01-01 from 16% to 19%
2014-10-02 20:21:25 +02:00
Frank H. Ellenberger
77a2f3fef4 Allow GUILE1_PROGS as m4 name
Patch by dimstar@opensuse.org
2014-10-02 00:24:18 +02:00
John Ralls
2666779bf6 Fix a bunch of non-literal-null-conversion warnings. 2014-09-30 17:18:40 -07:00
John Ralls
1583ce3159 Add sv_AX, sv_FI, zh_HK, and zh_TW to Makefiles & configure. 2014-09-30 09:44:47 -07:00
John Ralls
79bdcf1996 Release 2.6.4 2014-09-27 17:54:22 -07:00
John Ralls
c61366b82e Ensure that the root account is saved to the SQL backend.
The root account is created during DB load if it doesn't already exist.
The DB wasn't saving it because it wasn't marked dirty and because
the loading flag was set, so temprarily unset the loading flag when
creating the book.
2014-09-27 14:02:03 -07:00
Robert Fewell
2a7ad6867c This patch allows the ability to skip rows when importing transactions. 2014-09-27 14:19:38 +02:00
valdis
bef9860028 Updated resource files for Latvian: po/lv.po and accounts/lv/acctchrt_business.gnucash-xea 2014-09-27 12:12:47 +02:00
Chenxiong Qi
7edf2c8f7f Bug 701052 - cannot click on 'cancel' or 'ok' button on dialogue box 2014-09-27 11:38:47 +02:00
Jeff Earickson
70e041fd25 Repaired version of Marathi Language translation file 2014-09-27 10:06:31 +02:00
Jeff Earickson
cbc7f29892 Repaired version of latest Konkani language translation. 2014-09-27 10:06:30 +02:00
Jeff Earickson
d5f7343c2f Tamil Language Translation 2014-09-27 10:06:29 +02:00
Jeff Earickson
8625dfaef6 Deleted Raman language version of Konkani in favor of updated Devangari version. 2014-09-27 10:06:29 +02:00
Jeff Earickson
d0327c07c8 Updated translation of the Konkani Language. 2014-09-27 10:06:28 +02:00
Jeff Earickson
013ad95e40 Updated Translation of the Bodo Language 2014-09-27 10:06:27 +02:00
Jeff Earickson
870c5e36b5 Added or updated the following Indic Language Translation Files:
Bodo, Konkani, Hindi, Kashmiri, Marathi, Tamil, Telugu, Urdu

All Translations supplied to Gnucash by the Centre for Development
of Advanced Computing (C-DAC), Pune, India.  Translation Team Leader:
Chandrakant Dhutadmal, translators noted in the po files.
2014-09-27 10:06:26 +02:00
Jeff Earickson
2c3f9ca518 Urdu Language Translation file. 2014-09-27 10:06:26 +02:00