gnucash master: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sat Jul 4 20:09:52 EDT 2015
Updated via https://github.com/Gnucash/gnucash/commit/56c33163 (commit)
via https://github.com/Gnucash/gnucash/commit/cc515150 (commit)
via https://github.com/Gnucash/gnucash/commit/20a52028 (commit)
via https://github.com/Gnucash/gnucash/commit/4623cff3 (commit)
via https://github.com/Gnucash/gnucash/commit/e81b8166 (commit)
via https://github.com/Gnucash/gnucash/commit/d3e62f41 (commit)
via https://github.com/Gnucash/gnucash/commit/ff07762f (commit)
via https://github.com/Gnucash/gnucash/commit/3590de10 (commit)
via https://github.com/Gnucash/gnucash/commit/fd935d3b (commit)
via https://github.com/Gnucash/gnucash/commit/9e142124 (commit)
via https://github.com/Gnucash/gnucash/commit/78b5b7cb (commit)
via https://github.com/Gnucash/gnucash/commit/7c4e1f7f (commit)
via https://github.com/Gnucash/gnucash/commit/09871847 (commit)
via https://github.com/Gnucash/gnucash/commit/45a01b0f (commit)
via https://github.com/Gnucash/gnucash/commit/831a3601 (commit)
via https://github.com/Gnucash/gnucash/commit/ab30b4c6 (commit)
via https://github.com/Gnucash/gnucash/commit/c721bf9f (commit)
via https://github.com/Gnucash/gnucash/commit/3956ee0f (commit)
via https://github.com/Gnucash/gnucash/commit/171669ec (commit)
via https://github.com/Gnucash/gnucash/commit/435aef03 (commit)
via https://github.com/Gnucash/gnucash/commit/13377f56 (commit)
via https://github.com/Gnucash/gnucash/commit/55e4d30a (commit)
via https://github.com/Gnucash/gnucash/commit/8b534835 (commit)
via https://github.com/Gnucash/gnucash/commit/9b3f6078 (commit)
via https://github.com/Gnucash/gnucash/commit/fa221885 (commit)
via https://github.com/Gnucash/gnucash/commit/cb9d8c93 (commit)
via https://github.com/Gnucash/gnucash/commit/095d1781 (commit)
via https://github.com/Gnucash/gnucash/commit/61ecdda8 (commit)
via https://github.com/Gnucash/gnucash/commit/a4c748e2 (commit)
via https://github.com/Gnucash/gnucash/commit/f631f6e6 (commit)
via https://github.com/Gnucash/gnucash/commit/68dedc1b (commit)
via https://github.com/Gnucash/gnucash/commit/43e93e5f (commit)
via https://github.com/Gnucash/gnucash/commit/ccd74059 (commit)
via https://github.com/Gnucash/gnucash/commit/dcc9bfec (commit)
via https://github.com/Gnucash/gnucash/commit/b4e02407 (commit)
via https://github.com/Gnucash/gnucash/commit/4f4711c5 (commit)
via https://github.com/Gnucash/gnucash/commit/232dd4c0 (commit)
via https://github.com/Gnucash/gnucash/commit/eb2d5560 (commit)
via https://github.com/Gnucash/gnucash/commit/57ba9742 (commit)
via https://github.com/Gnucash/gnucash/commit/50bb5c16 (commit)
via https://github.com/Gnucash/gnucash/commit/cadd1976 (commit)
via https://github.com/Gnucash/gnucash/commit/c941a52a (commit)
via https://github.com/Gnucash/gnucash/commit/c2d44b89 (commit)
via https://github.com/Gnucash/gnucash/commit/d86a0b23 (commit)
via https://github.com/Gnucash/gnucash/commit/db5317f8 (commit)
via https://github.com/Gnucash/gnucash/commit/1bd6afe3 (commit)
via https://github.com/Gnucash/gnucash/commit/ac29ad3c (commit)
via https://github.com/Gnucash/gnucash/commit/45e41a07 (commit)
via https://github.com/Gnucash/gnucash/commit/39c52151 (commit)
via https://github.com/Gnucash/gnucash/commit/97b44a71 (commit)
via https://github.com/Gnucash/gnucash/commit/97031fa6 (commit)
via https://github.com/Gnucash/gnucash/commit/eccdfd0a (commit)
via https://github.com/Gnucash/gnucash/commit/54255772 (commit)
via https://github.com/Gnucash/gnucash/commit/c9785be3 (commit)
via https://github.com/Gnucash/gnucash/commit/32d4fff3 (commit)
from https://github.com/Gnucash/gnucash/commit/31cfa0a9 (commit)
commit 56c331637975764ee5505011f0dd348a1021ad6d
Merge: 31cfa0a cc51515
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jul 4 17:00:53 2015 -0700
Merge branch 'kvp-cleanup'
Remove the KVP C API and consolidate use in a few files in libqof. For
almost all future use KVP should be accessed via
qof_instance_set/get_kvp() or qof_book_get/set_option(). These
interfaces will ensure that changes to KVP are immediately committed
unless they're called from inside a begin_edit/commit block to
consolidate a database transaction.
Some exceptional corner cases where direct access to KvpFrames are
abstracted into new objects in libqof. The KVP "bag" interface of
kvp-utils is removed and its single in Split.c made more direct with
qof_instance_kvp_foo_guid functions.
Account, Transaction, and Split use qof_instance_copy_kvp and
qof_instance_swap_kvp as part of their rollback facilities.
Resolves bugs 87652, 120250, 736139, and 736687.
commit cc515150d9e844b93f048085730c04a10ee4a011
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jul 4 16:09:04 2015 -0700
Bug 120250 - KVP XML loader ignores '0' timestamps?
commit 20a52028994941f14c7496ea452b49edbc3a44aa
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jul 4 15:57:33 2015 -0700
Bug 87652 - KVP modification does not change 'dirty' flag.
commit 4623cff38d4619374d749cca51096eb0e3aa55fb
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jul 3 16:14:00 2015 -0700
Document new KVP API in Doxygen, including relevant bits from src/docs/design.
commit e81b816658f4849937f430fffa6743808d222ca6
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jul 3 16:12:29 2015 -0700
Update doxygen config to use C++ files and drop obsolete commands.
Also turn on autobrief, STL support, and reduce the tab size to 4.
commit d3e62f41bed68ed897f8f9492ea3553ad0e77b08
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 30 12:04:34 2015 -0700
Remove the KVP C API.
All access to KVP is now implemented in C++11.
commit ff07762f612d16f7d7e366d1d4170f2276f03b54
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 27 15:39:54 2015 -0700
Move the KVP_TYPE enum to kvp-value.hpp.
This had some extraordinary knock-on effects because C++11 treats enums
very differently from C, so any C code that directly accessed the enum
had to be converted to C++.
That included test-engine-stuff, and because it quite sensibly builds as
a ranlib archive instead of a shared library everything that uses it must
at least link as C++. Fortunately automake takes care of doing this when
the default extension for check_PROGRAMS is cpp, even if the source file
is C.
commit 3590de108504c8c44cca7c0ef9875f8e4801a137
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jun 26 12:24:34 2015 -0700
Convert tests to C++ and the KVP C++ API.
commit fd935d3b8273aaa62890315a631482b5c4e82752
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 23 17:09:51 2015 -0700
Convert libqof kvp calls to C++.
commit 9e142124f4f1187446d3d7f7dab5e691a5f6da66
Author: John Ralls <jralls at ceridwen.us>
Date: Mon Jun 22 15:00:10 2015 -0700
Convert kvp-scm to C++ and to using the KVP C++ API.
The binding remains C to simplify interaction of these two functions with
SWIG and Scheme.
commit 78b5b7cb5be248955d992b749c1b999dd79f432a
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 21 17:34:36 2015 -0700
Convert gnc-slots-sql.cpp to use the Kvp C++ API.
Plus a few minor C++11 tweaks.
commit 7c4e1f7f2a0ca83a201038f6fc086566bbcabab7
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 21 15:10:33 2015 -0700
Fix slash handling in keys.
In actual use '/' is a path delimiter indicating a child KvpFrame. The
previous implementation created keys for single frames with embedded '/'
characters.
Memory management issues in make_vector necessitated changing Path to a
std::vector<std::string>>.
commit 0987184709abb675bcf9299c93ab5db8b9bf6c59
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jun 18 13:55:55 2015 -0700
Add path-vector get/set functions to KvpFrameImpl.
Needed for Scheme access. The C functions used GList.
commit 45a01b0f67a3fca1781be2df91153be29410e05f
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jun 18 13:02:00 2015 -0700
Change the KVP string storage type from char* to const char*.
Because we don't want to be able to get a pointer to the KvpValue and
change its contents without using KvpValue::set().
commit 831a36012287724e37e45bb75aa95d519e01046a
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 16 13:43:16 2015 -0700
XML Backend:Replace C KVP function calls with C++.
commit ab30b4c680ba50ce13477cb4c5654d5c5f7b2fd8
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 14 14:52:25 2015 -0700
Remove #include "kvp_frame.h" from qof.h and add it where it's legitimately used.
commit c721bf9f48a8eb9792fb8f33cfa2dc525c668091
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 14 14:50:31 2015 -0700
Remove the unused backend-configuration member and virtual setter/getters.
Not used, and if it was it would be an inappropriate use of KVP.
commit 3956ee0f01188910b5845c99cfc83fb4d9720423
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 14 14:48:25 2015 -0700
Remove the rest of the KVP direct-query functions.
commit 171669ec68b3096c21b7b6db49cb266868017865
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 14 12:45:36 2015 -0700
Change io-gncxml-v2.c to C++.
commit 435aef03b7a4f057abffb60578ff5ecfeff0fac4
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 13 17:28:11 2015 -0700
Isolate direct KVP operations.
Into sixtp-dom-parser, sixtp-dom-generator, and gnc-slots-sql.
The XML V1 file io-gncxml-v1.c is not yet done.
commit 13377f56d5f2c4eb26cb1f6ad0a22bb5dd98b7f3
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 13 15:33:03 2015 -0700
Cpp files in CMakelists.txt.
commit 55e4d30a44ac65a4e2c4d3e82cd13fdde2b05d0e
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jun 12 15:53:33 2015 -0700
Pass QofInstance instead of KvpFrame to gnc_sql_slots_save.
commit 8b53483562e3c6b070205563eea572035b046a85
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 13 14:21:19 2015 -0700
Change gnc-slots-sql, sixtp-dom-generators, and sixtp-dom-parsers to C++.
So that they'll be able to use the C++ Kvp classes.
commit 9b3f6078fc1d69eec32c5846fd93918dd5107d1a
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jun 12 15:19:45 2015 -0700
Abstract options handling to QofBook.
Eliminates direct KVP access in app-utils, all of which centered around
options.
Beneficial side effect: With all option writes now handled by
qof_book_set_option(), the problem of options not being committed is
eliminated.
The options system is unnecessarily complex, with much back-and-forth
between C and Guile. It needs to be completely rewritten, but that's a
project for its own branch.
commit fa22188549d2f60cfae030215ec1f279580d3299
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jun 12 12:22:43 2015 -0700
Remove gnc:kvp-option-dialog, make gnc_make_kvp_options static.
gnc:kvp-option-dialog is unused, was only external user of gnc_make_kvp_options.
commit cb9d8c93b7a8e2cbe2c2853ce254d07d2d992681
Author: John Ralls <jralls at ceridwen.us>
Date: Wed Jun 10 13:52:44 2015 -0700
Use gnc:company-info instead of directly accessing the KVP in reports.
commit 095d1781f0175bd551c0836eb8d5e2f8826374b0
Author: John Ralls <jralls at ceridwen.us>
Date: Wed Jun 10 10:43:43 2015 -0700
Remove a couple of distracting comments about KVP.
commit 61ecdda8454b743133b807621a6398a24c0df95c
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 9 16:49:56 2015 -0700
Miscellaneous KVP cleanup.
Everything but the backends and app-utils.
commit a4c748e20115c47185d02ba8be7eea21d9ff631c
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 9 16:19:41 2015 -0700
Miscellaneous KVP cleanup in Engine.
Doesn't include tests or Scheme support.
commit f631f6e6c5cfea901c729c5fd554fef0fe861438
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 9 14:46:09 2015 -0700
Fix formatting, line too long.
commit 68dedc1ba2cbdff3b777a0769eed322546a122fc
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 9 17:00:09 2015 -0700
Reimplement gnc_template_register_get_debcred_entry.
So that it at least returns something reasonable. Note the comment, though.
commit 43e93e5fb5f1c511de056679c8dafe563b50ef51
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 9 14:43:58 2015 -0700
Modify gnc_imap... functions to use KVP indirectly, provide unit tests.
commit ccd74059a252ffbe23d589326dbe1ed89d2a76a8
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 9 14:42:39 2015 -0700
Implement qof_instance_for_each_slot().
Wraps kvp_frame_for_each_slot().
commit dcc9bfec36c36c52f1833a354a96edd5ab37e040
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 6 12:08:28 2015 -0700
Reimplement AQBanking template list in C++ and in libqof.
It requires direct manipulation of KVP, so it needs to be hidden away in
libqof.
commit b4e024078311a846f3f066ce1449e0dee422ba2d
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 6 10:10:31 2015 -0700
Make the instance const in qof_instance_get_kvp().
commit 4f4711c564c4eabd99ea74cab907226a2b3cc268
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jun 4 13:32:15 2015 -0700
Convert Scrub.c from using direct KVP to routing them through qof_instance.
commit 232dd4c0dc35d15b0f8c8c91e30d76f8cf5913b1
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jun 4 13:31:14 2015 -0700
Provide qof_instance with functions to delete slots.
commit eb2d556086e3aa768211b615e2efcaa2cd4bdb98
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jun 4 13:29:01 2015 -0700
Move initializing the GValue to the correct type to qof_instance_set_kvp.
And ensure that all returns are checked to be the expected type.
commit 57ba97422de3da59e363fd152b172de009beacc8
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 2 13:02:16 2015 -0700
Rename the hash-table functions so that they don't contain "kvp".
They don't have anything to do with KVP. What were they doing in kvp-utils
in the first place?
commit 50bb5c162a5bbeff34a3fa60393be45ef5e0a623
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 31 18:14:21 2015 -0700
Remove "FIXME" comments about KvpFrame in SX-ttinfo.c.
SX splits and regular splits have different requirements for Kvp. A
regular split's Kvp contains information that applies to that one split
alone so it would be a mistake to propagate it into SX. Meanwhile the SX
split puts its formulas in Kvp, and we certainly don't want those going
into regular splits.
commit cadd1976df634fbb72ad14c9be6778354b59b3ca
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 31 18:01:47 2015 -0700
Remove kvp-utils.
No longer required.
commit c941a52a9fb9159a4c6c9718a6ae70997b7e389f
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 31 18:00:55 2015 -0700
Copy GHash/KVP functions from kvp-util to the one place they're used.
commit c2d44b89fbd025df564d4fec6958f8ddb5a1fd16
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 31 17:59:52 2015 -0700
Replace Scrub2 direct KVP access with Split lot-guid accessors.
commit d86a0b23787a98c2f120300f1b3856682a5955a4
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 31 17:59:01 2015 -0700
Replace the lot-split and peer_guid properties with accessor functions.
The properties weren't backwards compatible with existing books, nor
would they work in the multiple-peers case.
commit db5317f80fd77571ad6ba65b85b7867c5c9f9419
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 31 17:56:39 2015 -0700
Rewrite the gnc_kvp_bag functions in qofinstance.
They were over general and were used in only one place not in QOF.
commit 1bd6afe38489ac7979b51982a2759622dfc3f7f7
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 30 18:15:54 2015 -0700
Move KVP_TYPE_BOOLEAN to the end of the enum.
So that it doesn't change the numeric values of other entries, which
would introduce a database incompatibility.
commit ac29ad3cef184f674097a9de7c78f026ac9f65af
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 23 15:05:52 2015 -0700
Remove direct query of KVP.
Wasn't actually used anywhere, and it's not something we want to
support.
commit 45e41a07b14b4a274a5d843f12785daefbb17b9b
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 10 18:16:30 2015 -0700
Convert gnc-budget, gnc-lot, and gncJob to qof_instance_foo_kvp.
commit 39c521512b5a18f6eb12770947c1a4e43286b23b
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 10 18:15:19 2015 -0700
Provide qof_instance_has_kvp(); used for feature testing.
commit 97b44a71ec204649500f5c2913a18199882717d0
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 8 15:15:39 2015 -0700
Convert all Split kV operations to use qof_instance_foo_kvp().
Except for clearing the KVP Frame, which we do by calling qof_instance_dispose().
commit 97031fa62a98dda7cced40c0b485450122827726
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 8 15:13:12 2015 -0700
Correct the kvpvalue type for lot-split in test_xaccSplitOtherSplit.
commit eccdfd0aa38585270dff742aa456ffd22b677280
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 8 13:33:40 2015 -0700
Convert all Transaction KVP operations to use qof_instance_foo_kvp.
commit 542557724cbfbccc9ee5ef59635d668944582842
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 8 13:33:15 2015 -0700
Convert almost all Account KVP operations to use qof_instance_foo_kvp.
Can't do the import-matcher stuff, it's a bit too hard-wired to KVP.
commit c9785be334d7a3b27b734629ba880f8fd6f8518d
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 8 13:31:56 2015 -0700
Provide qof_instance_copy_kvp, qof_instance_swap_kvp, and qof_instance_compare_kvp.
To facilitate abstracting all kV operations to libqof/qof.
commit 32d4fff3669041d83ccf614c24902070caab9132
Author: John Ralls <jralls at ceridwen.us>
Date: Thu May 7 16:12:54 2015 -0700
Implement KVP_TYPE_BOOLEAN
In terms of KVP_TYPE_STRING such that TRUE->"true" and FALSE->NULL. This
provides compatibility with the existing boolean KVP in Account.c.
Summary of changes:
...acintegration-gtk2-include-directory-back.patch | 41 +
po/POTFILES.in | 13 +-
src/app-utils/app-utils.i | 1 -
src/app-utils/app-utils.scm | 9 +-
src/app-utils/business-helpers.c | 2 +-
src/app-utils/business-options.scm | 54 +-
src/app-utils/gnc-accounting-period.c | 1 -
src/app-utils/gnc-sx-instance-model.c | 4 -
src/app-utils/option-util.c | 110 +-
src/app-utils/option-util.h | 5 +-
src/app-utils/options.scm | 203 ++-
src/app-utils/test/Makefile.am | 9 +-
.../{test-option-util.c => test-option-util.cpp} | 56 +-
...-parse-amount.c => test-print-parse-amount.cpp} | 14 +-
src/app-utils/test/test-scm-query-string.c | 3 -
src/backend/dbi/gnc-backend-dbi.c | 2 -
src/backend/dbi/test/Makefile.am | 4 +-
...kend-dbi-basic.c => test-backend-dbi-basic.cpp} | 65 +-
.../test/{test-dbi-stuff.c => test-dbi-stuff.cpp} | 39 +-
src/backend/dbi/test/test-dbi-stuff.h | 9 +-
src/backend/sql/CMakeLists.txt | 2 +-
src/backend/sql/Makefile.am | 2 +-
src/backend/sql/gnc-account-sql.c | 2 +-
src/backend/sql/gnc-backend-sql.c | 24 +-
src/backend/sql/gnc-budget-sql.c | 2 +-
src/backend/sql/gnc-commodity-sql.c | 2 +-
src/backend/sql/gnc-employee-sql.c | 2 +-
src/backend/sql/gnc-invoice-sql.c | 2 +-
src/backend/sql/gnc-schedxaction-sql.c | 2 +-
.../sql/{gnc-slots-sql.c => gnc-slots-sql.cpp} | 153 +-
src/backend/sql/gnc-slots-sql.h | 12 +-
src/backend/sql/gnc-tax-table-sql.c | 2 +-
src/backend/sql/gnc-transaction-sql.c | 7 +-
src/backend/sql/gnc-vendor-sql.c | 2 +-
src/backend/sql/test/utest-gnc-backend-sql.c | 2 +-
src/backend/xml/CMakeLists.txt | 4 +-
src/backend/xml/Makefile.am | 6 +-
src/backend/xml/gnc-account-xml-v2.c | 21 +-
src/backend/xml/gnc-address-xml-v2.c | 21 +-
src/backend/xml/gnc-backend-xml.c | 2 -
src/backend/xml/gnc-bill-term-xml-v2.c | 12 +-
src/backend/xml/gnc-book-xml-v2.c | 34 +-
src/backend/xml/gnc-budget-xml-v2.c | 15 +-
src/backend/xml/gnc-commodity-xml-v2.c | 14 +-
src/backend/xml/gnc-customer-xml-v2.c | 11 +-
src/backend/xml/gnc-employee-xml-v2.c | 12 +-
src/backend/xml/gnc-entry-xml-v2.c | 20 +-
src/backend/xml/gnc-invoice-xml-v2.c | 21 +-
src/backend/xml/gnc-job-xml-v2.c | 19 +-
src/backend/xml/gnc-lot-xml-v2.c | 19 +-
src/backend/xml/gnc-order-xml-v2.c | 19 +-
src/backend/xml/gnc-schedxaction-xml-v2.c | 16 +-
src/backend/xml/gnc-tax-table-xml-v2.c | 20 +-
src/backend/xml/gnc-transaction-xml-v2.c | 32 +-
src/backend/xml/gnc-vendor-xml-v2.c | 12 +-
.../xml/{io-gncxml-v1.c => io-gncxml-v1.cpp} | 78 +-
src/backend/xml/io-gncxml.h | 7 +
...p-dom-generators.c => sixtp-dom-generators.cpp} | 122 +-
src/backend/xml/sixtp-dom-generators.h | 10 +-
.../{sixtp-dom-parsers.c => sixtp-dom-parsers.cpp} | 89 +-
src/backend/xml/sixtp-dom-parsers.h | 24 +-
src/backend/xml/test/Makefile.am | 44 +-
.../{test-file-stuff.c => test-file-stuff.cpp} | 22 +-
src/backend/xml/test/test-file-stuff.h | 21 +-
src/backend/xml/test/test-kvp-frames.c | 227 ---
src/backend/xml/test/test-kvp-frames.cpp | 196 +++
src/core-utils/gnc-features.c | 2 +-
src/doc/books.txt | 5 -
src/doc/doxygen.cfg.in | 24 +-
src/engine/Account.c | 977 ++++++-----
src/engine/Makefile.am | 2 +-
src/engine/Query.c | 26 -
src/engine/Query.h | 4 -
src/engine/SX-ttinfo.c | 2 -
src/engine/SchedXaction.h | 2 -
src/engine/Scrub.c | 34 +-
src/engine/Scrub2.c | 38 +-
src/engine/Split.c | 1000 ++++++------
src/engine/Split.h | 27 +-
src/engine/Transaction.c | 407 +++--
src/engine/TransactionP.h | 7 -
src/engine/cap-gains.c | 12 +-
src/engine/engine-helpers.c | 414 +----
src/engine/engine.i | 19 +-
src/engine/gnc-budget.c | 109 +-
src/engine/gnc-commodity.c | 44 +-
src/engine/gnc-lot.c | 110 +-
src/engine/gnc-pricedb.c | 62 +-
src/engine/gncAddress.c | 2 +-
src/engine/gncEntry.c | 5 +-
src/engine/gncInvoice.c | 17 +-
src/engine/gncJob.c | 60 +-
src/engine/gncTaxTable.c | 5 +-
src/engine/{kvp-scm.c => kvp-scm.cpp} | 88 +-
src/engine/kvp-scm.h | 10 +-
src/engine/kvp_doc.txt | 40 +-
src/engine/test-core/Makefile.am | 2 +-
.../{test-engine-stuff.c => test-engine-stuff.cpp} | 273 ++--
src/engine/test-core/test-engine-stuff.h | 14 +-
src/engine/test/Makefile.am | 33 +-
src/engine/test/gtest-import-map.cpp | 270 ++++
src/engine/test/{test-guid.c => test-guid.cpp} | 10 +-
src/engine/test/test-scm-query-import.scm | 83 +-
.../test/{utest-Account.c => utest-Account.cpp} | 393 ++---
src/engine/test/utest-Split.cpp | 36 +-
.../{utest-Transaction.c => utest-Transaction.cpp} | 414 ++---
src/gnome-utils/dialog-preferences.c | 1 -
src/gnome-utils/gnc-main-window.c | 4 +-
src/gnome-utils/gnc-tree-view-owner.c | 14 +-
src/gnome-utils/gnome-utils.scm | 18 -
src/gnome/assistant-hierarchy.c | 4 +-
src/import-export/aqb/Makefile.am | 2 -
src/import-export/aqb/dialog-ab-trans.c | 2 +-
src/import-export/aqb/gnc-ab-kvp.c | 41 -
src/import-export/aqb/gnc-ab-kvp.h | 37 +-
src/import-export/aqb/gnc-ab-trans-templ.c | 287 ----
src/import-export/aqb/gnc-ab-transfer.c | 11 +-
src/import-export/aqb/gnc-ab-utils.h | 3 +-
src/import-export/aqb/test/test-aqb.c | 2 +-
src/import-export/aqb/test/test-kvp.c | 32 +-
src/import-export/import-account-matcher.c | 2 +-
src/import-export/import-account-matcher.h | 8 +-
src/import-export/import-backend.c | 2 +-
src/import-export/import-utilities.h | 6 +-
src/libqof/CMakeLists.txt | 3 -
src/libqof/qof/Makefile.am | 6 +-
src/libqof/qof/gnc-aqbanking-templates.cpp | 302 ++++
.../qof/gnc-aqbanking-templates.h} | 48 +-
src/libqof/qof/gnc-int128.hpp | 4 +
src/libqof/qof/kvp-util-p.h | 115 --
src/libqof/qof/kvp-util.cpp | 244 ---
src/libqof/qof/kvp-util.h | 72 -
src/libqof/qof/kvp-value.cpp | 105 +-
src/libqof/qof/kvp-value.hpp | 54 +-
src/libqof/qof/kvp_frame.cpp | 1313 +++------------
src/libqof/qof/kvp_frame.h | 640 --------
src/libqof/qof/kvp_frame.hpp | 168 +-
src/libqof/qof/qof.h | 3 -
src/libqof/qof/qofbackend-p.h | 4 -
src/libqof/qof/qofbackend.cpp | 4 -
src/libqof/qof/qofbook-p.h | 2 -
src/libqof/qof/qofbook.cpp | 117 +-
src/libqof/qof/qofbook.h | 53 +-
src/libqof/qof/qofinstance-p.h | 50 +-
src/libqof/qof/qofinstance.cpp | 256 ++-
src/libqof/qof/qofinstance.h | 9 +-
src/libqof/qof/qofquery.cpp | 13 -
src/libqof/qof/qofquerycore.cpp | 153 --
src/libqof/qof/qofquerycore.h | 17 +-
src/libqof/qof/test/Makefile.am | 5 +-
src/libqof/qof/test/test-kvp-frame.cpp | 166 +-
src/libqof/qof/test/test-kvp-value.cpp | 2 +-
src/libqof/qof/test/test-kvp_frame.c | 1702 --------------------
src/libqof/qof/test/test-qof.c | 2 -
.../{test-qofinstance.c => test-qofinstance.cpp} | 80 +-
.../ledger-core/split-register-model-save.c | 1 -
src/register/ledger-core/split-register-model.c | 65 +-
src/report/business-reports/balsheet-eg.scm | 6 -
src/report/business-reports/customer-summary.scm | 9 +-
src/report/business-reports/easy-invoice.scm | 15 +-
src/report/business-reports/fancy-invoice.scm | 43 +-
src/report/business-reports/invoice.scm | 9 +-
src/report/business-reports/job-report.scm | 9 +-
src/report/business-reports/owner-report.scm | 9 +-
src/report/business-reports/receipt.eguile.scm | 17 +-
src/report/business-reports/receipt.scm | 6 -
src/report/business-reports/taxinvoice.eguile.scm | 17 +-
src/report/business-reports/taxinvoice.scm | 6 -
src/report/locale-specific/us/taxtxf-de_DE.scm | 7 +-
src/test-core/test-stuff.h | 31 +-
src/test-core/unittest-support.c | 5 +-
src/test-core/unittest-support.h | 10 +-
172 files changed, 4919 insertions(+), 8648 deletions(-)
create mode 100644 0001-Change-gtkmacintegration-gtk2-include-directory-back.patch
rename src/app-utils/test/{test-option-util.c => test-option-util.cpp} (79%)
rename src/app-utils/test/{test-print-parse-amount.c => test-print-parse-amount.cpp} (91%)
rename src/backend/dbi/test/{test-backend-dbi-basic.c => test-backend-dbi-basic.cpp} (91%)
rename src/backend/dbi/test/{test-dbi-stuff.c => test-dbi-stuff.cpp} (90%)
rename src/backend/sql/{gnc-slots-sql.c => gnc-slots-sql.cpp} (87%)
rename src/backend/xml/{io-gncxml-v1.c => io-gncxml-v1.cpp} (98%)
rename src/backend/xml/{sixtp-dom-generators.c => sixtp-dom-generators.cpp} (78%)
rename src/backend/xml/{sixtp-dom-parsers.c => sixtp-dom-parsers.cpp} (94%)
rename src/backend/xml/test/{test-file-stuff.c => test-file-stuff.cpp} (96%)
delete mode 100644 src/backend/xml/test/test-kvp-frames.c
create mode 100644 src/backend/xml/test/test-kvp-frames.cpp
rename src/engine/{kvp-scm.c => kvp-scm.cpp} (50%)
rename src/engine/test-core/{test-engine-stuff.c => test-engine-stuff.cpp} (88%)
create mode 100644 src/engine/test/gtest-import-map.cpp
rename src/engine/test/{test-guid.c => test-guid.cpp} (91%)
rename src/engine/test/{utest-Account.c => utest-Account.cpp} (89%)
rename src/engine/test/{utest-Transaction.c => utest-Transaction.cpp} (85%)
delete mode 100644 src/import-export/aqb/gnc-ab-trans-templ.c
create mode 100644 src/libqof/qof/gnc-aqbanking-templates.cpp
rename src/{import-export/aqb/gnc-ab-trans-templ.h => libqof/qof/gnc-aqbanking-templates.h} (86%)
delete mode 100644 src/libqof/qof/kvp-util-p.h
delete mode 100644 src/libqof/qof/kvp-util.cpp
delete mode 100644 src/libqof/qof/kvp-util.h
delete mode 100644 src/libqof/qof/kvp_frame.h
delete mode 100644 src/libqof/qof/test/test-kvp_frame.c
rename src/libqof/qof/test/{test-qofinstance.c => test-qofinstance.cpp} (93%)
More information about the gnucash-patches
mailing list