gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Nov 28 15:27:36 EST 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/e592e00e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/abb66016 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/06af7d79 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/46ce3f37 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/eace6250 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/90a95204 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/52683403 (commit)
	from  https://github.com/Gnucash/gnucash/commit/dd4b8a10 (commit)



commit e592e00e10bd1cee31de0e21c68ce66e6069b97c
Merge: dd4b8a1 abb6601
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Nov 28 12:26:26 2016 -0800

    Third interim merge of 'c++-backend'

commit abb66016bc8ef1b2d5c5eaafa7020bfe48d55bb6
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Nov 28 10:27:09 2016 -0800

    Convert QofBackend to a C++ class and the backend class hierarchy into C++.
    
    Getting rid of all of the casting and different flavors of backend pointers
    and adopting the C++ member-function calling conventions.

commit 06af7d794f9493fc41bbcb338d0130ea8339ab3c
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Nov 28 10:24:35 2016 -0800

    Remove need for  gnc_dbi_safe_sync_all to be a friend of GncDbiSqlConnection.
    
    Adds GncDbiSqlConnection::drop_indexes, changes GncDbiSqlConnection::table_operation
    to use a regex-filtered table list from the DbiConn, and converts TableOpType
    to a C++ enum.

commit 46ce3f3745dd69dc89f055cb2bf3710c9ba3d6aa
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Nov 27 14:12:43 2016 -0800

    Rename qofbackend-p.h and qofbackend.cpp
    
    To qof-backend.hpp and qof-backend.cpp respectively, to reflect that they
    implement the QofBackend class (which won’t be a class until a future commit).

commit eace6250075890a13975280cf0d2af0804466ff8
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Nov 21 09:55:39 2016 -0800

    Extract class GncXmlBackend from gnc-backend-xml.cpp to gnu-xml-backend.cpp.

commit 90a95204156ea52196cb9702b127ebcb9ac03c11
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Nov 20 13:17:23 2016 -0800

    Change struct FileBackend to class XmlBackend and rename all variables.
    
    For consistency and clarity: all XmlBackend* are xml_be, all QofBackend*
    are qof_be.

commit 526834037cf7dfb5ab0cafc8212da9239abdb167
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Nov 17 16:47:57 2016 -0800

    Remove tabs from io-gncxml-v2.h.



Summary of changes:
 po/POTFILES.in                                     |    2 +-
 src/backend/dbi/gnc-backend-dbi.cpp                |  338 +++---
 src/backend/dbi/gnc-backend-dbi.hpp                |   23 +-
 src/backend/dbi/gnc-dbisqlconnection.cpp           |   59 +-
 src/backend/dbi/gnc-dbisqlconnection.hpp           |    6 +-
 src/backend/sql/gnc-sql-backend.cpp                |   27 +-
 src/backend/sql/gnc-sql-backend.hpp                |   66 +-
 src/backend/sql/gnc-sql-column-table-entry.hpp     |    1 -
 src/backend/sql/test/utest-gnc-backend-sql.cpp     |   23 +-
 src/backend/xml/CMakeLists.txt                     |    2 +
 src/backend/xml/Makefile.am                        |    2 +
 src/backend/xml/gnc-backend-xml.cpp                | 1094 +-------------------
 src/backend/xml/gnc-backend-xml.h                  |   20 +-
 src/backend/xml/gnc-xml-backend.cpp                |  896 ++++++++++++++++
 src/backend/xml/gnc-xml-backend.hpp                |   66 ++
 src/backend/xml/io-gncxml-v2.cpp                   |   57 +-
 src/backend/xml/io-gncxml-v2.h                     |   23 +-
 src/backend/xml/test/test-dom-converters1.cpp      |    2 +-
 src/backend/xml/test/test-save-in-lang.cpp         |    3 +-
 src/backend/xml/test/test-string-converters.cpp    |    2 +-
 src/backend/xml/test/test-xml-transaction.cpp      |    2 +-
 src/engine/test/utest-Transaction.cpp              |   86 +-
 src/gnome-utils/assistant-xml-encoding.c           |   25 +-
 src/libqof/CMakeLists.txt                          |    4 +-
 src/libqof/qof/Makefile.am                         |    4 +-
 src/libqof/qof/qof-backend.cpp                     |  171 +++
 src/libqof/qof/{qofbackend-p.h => qof-backend.hpp} |  305 +++---
 src/libqof/qof/qofbackend.cpp                      |  284 -----
 src/libqof/qof/qofbackend.h                        |   36 +-
 src/libqof/qof/qofbook.cpp                         |    2 +-
 src/libqof/qof/qofinstance.cpp                     |   25 +-
 src/libqof/qof/qofquery.cpp                        |    2 +-
 src/libqof/qof/qofsession.cpp                      |  133 ++-
 src/libqof/qof/qofutil.cpp                         |    4 +-
 src/libqof/qof/test/Makefile.am                    |    2 -
 src/libqof/qof/test/test-qofinstance.cpp           |  244 ++---
 src/libqof/qof/test/test-qofsession.cpp            |   46 +-
 37 files changed, 1869 insertions(+), 2218 deletions(-)
 create mode 100644 src/backend/xml/gnc-xml-backend.cpp
 create mode 100644 src/backend/xml/gnc-xml-backend.hpp
 create mode 100644 src/libqof/qof/qof-backend.cpp
 rename src/libqof/qof/{qofbackend-p.h => qof-backend.hpp} (62%)
 delete mode 100644 src/libqof/qof/qofbackend.cpp



More information about the gnucash-patches mailing list