Commit Graph

16287 Commits

Author SHA1 Message Date
Geert Janssens
d6826976ef Fix parallel make for guile2 compilation 2014-11-12 14:43:01 +01:00
Christoph Holtermann
3818f3272e small fixes for doxygen 2014-11-12 13:28:25 +01:00
Christoph Holtermann
66a9ee80ce polishing the template 2014-11-12 13:27:46 +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
Christoph Holtermann
415b8c7b97 Invoice templates 2014-11-11 21:57:21 +01:00
Christoph Holtermann
eb9578648e locale formatting added 2014-11-11 21:35:15 +01:00
Christoph Holtermann
a53f615f80 This question has been solved 2014-11-11 17:08:57 +01:00
Christoph Holtermann
765d73f903 Querying and listing all invoices now possible 2014-11-11 16:59:45 +01:00
Christoph Holtermann
9595062e5f Invoice.tex is to be created not to be on github 2014-11-10 18:52:24 +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
Christoph Holtermann
7de700d5b5 Merge remote-tracking branch 'upstream/master' 2014-11-10 16:00:43 +01:00
Christoph Holtermann
15a69f1205 Create invoices from templates with jinja2 2014-11-10 15:52:19 +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
Carsten Rinke
f750cab8b2 Bug 731589 - Add account level selection on accounts option tab 2014-11-09 11:43:15 +01:00
Cristian Marchi
766bb51dba Update Italian translation. 2014-11-08 11:32:29 +01:00
lmat
8de928241f Added quotes to gtest section in configure.ac
Without these quotes, the error messages can be confusing in the case that
variables contain spaces, and, more likely, when the variables are empty.
2014-11-07 14:26:20 -08:00
John Ralls
0ed02347d8 Fix stray left-over line which prevented most of the engine tests from running. 2014-11-07 14:26:10 -08:00
John Ralls
e87379922f Build glib gtester based tests under check_PROGRAMS, run under TESTS
Instead of TEST_PROGS. This has two advantages:
* By deferring the builds until make check any prerequisites, especially
in test-core, are already built regardless of overall build order.
* The output of these tests is logged and the success or failure
included in the make check summary instead of adding their rather verbose
output to the stderr.
2014-11-06 16:40:08 -08:00
Christian Stimming
de5a3eb9a1 Update CMakeLists after recent file addition 2014-11-06 21:54:19 +01:00
lmat
076f1fb25d Implement KvpFrame in C++ using std::vector
KvpFrame was implemented using GList. Given the current desire
to distance ourselves from glib and acquaint the project with
C++, the standard library thereof, and boost libraries, KvpFrame
has been replaced by an implementation that uses a std::map<
const char *, KvpValueImpl *>.

There were some cases of the KvpFrame's glist being accessed
directly. A new API to help callers access the KvpFrame's contents
systematically by providing a list of keys has been created, and
call sites of the GList code have been updated.

Another deprecated #define was found and removed (kvp_frame_set_str).
2014-11-03 12:27:00 -08:00
Christoph Holtermann
d2ed373426 Merge branch 'master' of https://github.com/Gnucash/gnucash 2014-11-02 13:32:55 +01:00
lmat
6c2a42bf49 Fixed kvp-value delete
Delete wasn't being called properly due to bad template resolution.
2014-10-31 12:01:57 -07:00
John Ralls
8eae1d8f44 Modify gtest/gmock tests to work around demented test implementation in Debian 2014-10-30 16:12:56 -07:00
John Ralls
35e9257cab Add Google Test and Google Mock
Enabled with --enable-google-test, configure the location of the sources
with --with-gtest-root, --with-gtest-headers, --with-gmock-root, and
--with-gmock-headers. The latter isn't necessary if the headers are
installed in /usr/include and the sources in /usr/src as the Debian
packages do.

This is a first-pass and needs to be made a bit more sophisticated later.
It might also be worthwhile to extract it into an m4 macro.
2014-10-29 14:18:46 -07: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
John Ralls
177ea6f02e Fix missed file in fabbfdb0. 2014-10-23 10:11:43 -07: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