Commit Graph

16209 Commits

Author SHA1 Message Date
Christoph Holtermann
67b807fbf1 Small doc changes 2014-11-12 16:50:00 +01:00
Christoph Holtermann
de47330288 Change latex_invoices.py to query for all invoices
Before invoices were catched by going through lots
and getting associated invoices.
2014-11-12 16:45:53 +01:00
Christoph Holtermann
c86c69ad05 Additional doxygen doc 2014-11-12 16:39:08 +01:00
Christoph Holtermann
7d6caa8232 latex_invoices.py includes gncinvoicefkt.py 2014-11-12 15:30:13 +01:00
Christoph Holtermann
ea39d65372 Some doc for gncinvoicefkt.py 2014-11-12 15:08:57 +01:00
Christoph Holtermann
398fb96065 Doxygen doc extended for python invoice export 2014-11-12 14:54:56 +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
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
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
Carsten Rinke
f750cab8b2 Bug 731589 - Add account level selection on accounts option tab 2014-11-09 11:43:15 +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
John Ralls
177ea6f02e Fix missed file in fabbfdb0. 2014-10-23 10:11:43 -07:00
lmat
fabbfdb054 Removing another deprecated #define
kvp_frame should not be used by C code, but rather the standard
KvpFrame. The deprecated value just adds one more name for this
class that doesn't add any value.
2014-10-13 12:22:11 -07:00
Frank H. Ellenberger
09e1f09118 Merge branch 'maint' 2014-10-13 01:49:18 +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
bc2d15e042 Fix a couple of build-breakages on Debian. 2014-10-09 12:41:30 -07:00
Christian Stimming
c81eaae677 Aqbanking: Add display of aqbanking subaccountid in initial correspondence setup 2014-10-08 21:32:57 +02:00
lmat
8a7f426f3b Implement KvpValue in c++ using boost::variant
KvpValue is now instantiated as a boost::variant and passed around as an opaque
pointer in C. The C interface is basically unchanged and a c++ interface exists
in kvp-value.hpp

The c++ implementation for KvpValue is called KvpValueImpl and is in kvp-value.cpp.
We don't use structured exception handling at this point, so c++ functions are
marked 'noexcept'.

The logic is within the c++ implementations. C wrapper functions do little besides
ensure that the pointer is not nullptr before calling into c++.
The logic in kvp_value_glist_to_string was moved to the c++ class. It's an
implementation detail, but unfortunately, it was being exposed through a pointer,
so I had to modify the test just a bit to not use it directly.

In order to work around what seems to be a bug in an Apple compiler, it was decided
to create an header file private to kvp-value and kvp_frame that holds the definition
of KvpFrame so that it was visible to both translation units.
2014-10-07 09:43:14 -07: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
Frank H. Ellenberger
c60af70eb6 Merge branch 'maint' 2014-10-02 21:09:12 +02:00
John Ralls
85e4759e4a Fix implicit declaration error (function is private). 2014-10-02 11:47:34 -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
Geert Janssens
9f3236f072 Merge branch 'maint'
* New and updated translations: brx, hi, kok, ks, lv, mr, ta, te, ur
* Bug 701052 - cannot click on 'cancel' or 'ok' button on dialogue box
* Updated resource files for Latvian: po/lv.po and  accounts/lv/acctchrt_business.gnucash-xea
* Add ability to skip rows when importing transactions.
* Ensure that the root account is saved to the SQL backend.
* Add sv_AX, sv_FI, zh_HK, and zh_TW to Makefiles & configure.
* Fix a bunch of non-literal-null-conversion warnings.
* Allow GUILE1_PROGS as m4 name

Conflicts:
	configure.ac
	src/register/ledger-core/split-register-model.c
2014-10-02 11:05:40 +02:00
Frank H. Ellenberger
7e0b7834d9 Allow GUILE1_PROGS as m4 name
Patch by dimstar@opensuse.org
http://lists.gnucash.org/logs/2014/10/2014-10-01.html#T16:46:18
2014-10-02 01:07:35 +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
Geert Janssens
7a22644447 Bug 695610 - GnuCash Tax Invoice for Australia
This commit defines a new report called "Australian Tax Invoice"
which is the normal "Tax Invoice" with some changed default values.
These changed defaults have been filtered out of the the patch
that was attached to the above bug.

Not all changes have been picked. For example the two changed fonts
have been ommitted because they are not available on all platforms.

Also due to a bug introduced in commit 7015cf9edf
some options are now hard-coded. These include the report title,
the notes and the invoice number text.
2014-09-27 17:51:43 +02: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
Simon Arlott
14c93e737c Bug 647230 - Display the blank split after the "now" line instead of at the end
In Preferences -> Register:
 Add "Future transactions after blank transaction" option under "Layout"
2014-09-27 11:58:11 +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