gnucash master: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Fri Apr 24 16:35:26 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/f7f4f421 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bbeb9a2b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/abf29aa1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/03d7ae8f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8e40f400 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/968e979e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4b51c630 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/468f3447 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/01a00afe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8a764f23 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/debb5468 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/58c6993c (commit)
	from  https://github.com/Gnucash/gnucash/commit/0cfb40ef (commit)



commit f7f4f42145cabb5e0855752fb61fda510c77ef2c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 22:34:57 2020 +0200

    Drop several test-link type tests
    
    They were intended to test whether a gnc-module could be loaded
    correctly. However several were not even properly implemented
    and for the others the gnc-modules have been converted to
    ordinary libraries. Testing whether a library can be linked to
    is not a useful test. Link issues are triggered at build time
    already.

commit bbeb9a2b62ec1174aa2075d9053f37713747e1bd
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 22:16:24 2020 +0200

    Drop all gnc-module dependencies and includes from compilation units that no longer use it
    
    This also drops the python wrapper for gnc-module. As for the guile wrappers,
    python should use other means of loading our shared libraries.
    
    This commit required a few tweaks to the dependency chain as some units
    inherited dependency information from gnc-module's public dependency
    interface.

commit abf29aa196ea242c4343e6cd2b02ffc827458eb7
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 21:29:20 2020 +0200

    Drop the gnc-module wrapper around the test-engine library
    
    It's not adding anything

commit 03d7ae8fd0afa532c4daf7403ec4523e0f927d15
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 21:17:13 2020 +0200

    Convert gncmod-report into an ordinary library
    
    An init function has been added to be called once before using the library.

commit 8e40f400ad52bfbf19a26ec7bfc05c9b3db94118
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 20:14:27 2020 +0200

    Convert gncmod-bi/customer-import into ordinary libraries
    
    As with qif-import use gnucash plugin interface to initialize the code.

commit 968e979e8333fabad264d78a091180dd44c765ff
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 18:31:40 2020 +0200

    Convert gncmod-log-replay into an ordinary library
    
    As with qif-import use gnucash plugin interface to initialize the code.

commit 4b51c630f478bdb732fcead2b03156eb9657d543
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 18:14:40 2020 +0200

    Convert gncmod-csv-import/export into ordinary libraries
    
    As with qif-import use gnucash plugin interface to initialize the code.

commit 468f34477aaadc3662ea87e2f15b3b731b544c62
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 17:47:50 2020 +0200

    Convert gncmod-qif-import into an ordinary library
    
    All importers have a have a gnucash plugin interface so that will be used
    to add the importers.

commit 01a00afe239240909253223a83dfce88e60dc00c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 17:06:12 2020 +0200

    Convert gncmod-register-gnome into an ordinary library
    
    Setting up its cell types is now initiated from gnucash-bin.c/inner_main.

commit 8a764f23e2f07d8597badc404f05878c8e96db2e
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 15:30:57 2020 +0200

    Convert gncmod-gnome-search into an ordinary library
    
    Search initialization happens now in gnucash-bin.c/inner_main. That will also add
    a hook to finalize the search library at shutdown.

commit debb5468f4a2c59fca19360b2e3fff644ccae439
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 14:51:35 2020 +0200

    Convert gncmod-gnome-utils into an ordinary library
    
    The gnc module did some inititalization stuff which is moved to a new
    function gnc_gnome_utils_init that should be called once.

commit 58c6993cfb9e08ebfc7a24e3bafe5ae29d4e4425
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Apr 24 10:11:15 2020 +0200

    Convert several gnc-modules to ordinary shared libraries
    
    None of these gnc-modules have any particular construction or destruction
    code except for loading the modules they depend on. These dependencies
    are all loaded anyway in other ways so for these libraries the gnc-module
    wrapper code brings no benefit.



Summary of changes:
 ChangeLog.2001                                     |  2 +-
 ChangeLog.2002                                     |  2 +-
 ChangeLog.2003                                     |  2 +-
 ChangeLog.2006                                     | 40 ++++-----
 ChangeLog.2007                                     |  4 +-
 ChangeLog.2010                                     |  4 +-
 ChangeLog.2011                                     |  2 +-
 bindings/guile/test/CMakeLists.txt                 |  2 +-
 bindings/guile/test/test-scm-query.cpp             |  1 -
 bindings/python/CMakeLists.txt                     |  7 +-
 bindings/python/gnucash_core.i                     |  2 -
 bindings/python/sqlite3test.c                      |  1 -
 gnucash/CMakeLists.txt                             |  8 +-
 gnucash/gnome-search/CMakeLists.txt                | 13 ++-
 gnucash/gnome-search/gncmod-gnome-search.c         | 89 --------------------
 gnucash/gnome-utils/CMakeLists.txt                 | 23 +++--
 gnucash/gnome-utils/assistant-xml-encoding.c       |  1 -
 gnucash/gnome-utils/gnc-gnome-utils.c              | 16 +++-
 gnucash/gnome-utils/gnc-gnome-utils.h              |  5 ++
 gnucash/gnome-utils/gncmod-gnome-utils.c           | 85 -------------------
 gnucash/gnome-utils/gnome-utils.scm                |  2 +-
 gnucash/gnome-utils/test/CMakeLists.txt            | 24 ++----
 gnucash/gnome-utils/test/test-link-module.c        | 41 ---------
 gnucash/gnome/CMakeLists.txt                       | 15 ++--
 gnucash/gnome/dialog-tax-info.c                    |  1 -
 gnucash/gnucash-bin.c                              | 38 ++++++---
 gnucash/html/CMakeLists.txt                        |  2 +-
 gnucash/import-export/CMakeLists.txt               |  2 +-
 gnucash/import-export/aqb/CMakeLists.txt           |  6 +-
 gnucash/import-export/aqb/gncmod-aqbanking.c       |  6 --
 gnucash/import-export/aqb/test/CMakeLists.txt      |  4 +-
 gnucash/import-export/bi-import/CMakeLists.txt     | 18 ++--
 .../import-export/bi-import/gnc-plugin-bi-import.c | 13 +++
 gnucash/import-export/bi-import/gncmod-bi-import.c | 93 ---------------------
 gnucash/import-export/csv-exp/CMakeLists.txt       | 27 ++++--
 gnucash/import-export/csv-exp/gncmod-csv-export.c  | 78 -----------------
 gnucash/import-export/csv-imp/CMakeLists.txt       | 25 +++---
 gnucash/import-export/csv-imp/gncmod-csv-import.c  | 78 -----------------
 gnucash/import-export/csv-imp/test/CMakeLists.txt  |  4 +-
 .../import-export/customer-import/CMakeLists.txt   | 20 +++--
 .../customer-import/gnc-plugin-customer-import.c   | 13 +++
 .../customer-import/gncmod-customer-import.c       | 93 ---------------------
 gnucash/import-export/log-replay/CMakeLists.txt    | 22 +++--
 .../import-export/log-replay/gncmod-log-replay.c   | 80 ------------------
 gnucash/import-export/ofx/CMakeLists.txt           |  2 +-
 gnucash/import-export/ofx/gncmod-ofx-import.c      |  5 --
 gnucash/import-export/qif-imp/CMakeLists.txt       | 21 +++--
 .../import-export/qif-imp/gnc-plugin-qif-import.c  |  6 ++
 gnucash/import-export/qif-imp/gncmod-qif-import.c  | 90 --------------------
 gnucash/import-export/qif-imp/test/CMakeLists.txt  |  8 +-
 gnucash/import-export/qif-imp/test/test-link.c     | 26 ------
 gnucash/import-export/test/CMakeLists.txt          |  8 +-
 gnucash/import-export/test/test-import-parse.c     |  3 -
 gnucash/import-export/test/test-link.c             | 26 ------
 gnucash/register/ledger-core/CMakeLists.txt        | 13 ++-
 gnucash/register/ledger-core/gncmod-ledger-core.c  | 65 ---------------
 gnucash/register/ledger-core/test/CMakeLists.txt   | 11 +--
 .../register/ledger-core/test/test-link-module.c   | 27 ------
 gnucash/register/register-core/CMakeLists.txt      | 15 ++--
 .../register/register-core/gncmod-register-core.c  | 68 ---------------
 gnucash/register/register-core/test/CMakeLists.txt |  9 --
 .../register/register-core/test/test-link-module.c | 27 ------
 gnucash/register/register-gnome/CMakeLists.txt     | 14 ++--
 .../register-gnome/gncmod-register-gnome.c         | 97 ----------------------
 gnucash/register/register-gnome/gnucash-register.c | 21 +++++
 gnucash/register/register-gnome/gnucash-register.h |  6 ++
 .../register/register-gnome/test/CMakeLists.txt    |  9 --
 .../register-gnome/test/test-link-module.c         | 27 ------
 gnucash/report/CMakeLists.txt                      | 17 ++--
 gnucash/report/gnc-report.c                        | 11 +++
 gnucash/report/gnc-report.h                        |  7 ++
 gnucash/report/gncmod-report.c                     | 81 ------------------
 gnucash/report/report-core.scm                     |  2 +-
 gnucash/report/reports/CMakeLists.txt              |  1 -
 .../report/reports/standard/test/CMakeLists.txt    |  1 -
 gnucash/report/stylesheets/CMakeLists.txt          |  1 -
 gnucash/report/test/CMakeLists.txt                 | 13 +--
 gnucash/report/test/test-link-module.c             | 42 ----------
 libgnucash/app-utils/CMakeLists.txt                | 16 ++--
 libgnucash/app-utils/gnc-ui-util.c                 |  1 -
 libgnucash/app-utils/test/CMakeLists.txt           |  2 +-
 libgnucash/backend/dbi/test/CMakeLists.txt         |  2 +-
 libgnucash/backend/xml/test/CMakeLists.txt         |  2 +-
 .../backend/xml/test/test-load-example-account.cpp |  1 -
 libgnucash/backend/xml/test/test-xml-commodity.cpp |  1 -
 libgnucash/engine/CMakeLists.txt                   |  1 -
 libgnucash/engine/test-core/CMakeLists.txt         | 11 ++-
 libgnucash/engine/test-core/gncmod-test-engine.c   | 67 ---------------
 libgnucash/engine/test/CMakeLists.txt              | 10 +--
 libgnucash/engine/test/test-business.c             |  1 -
 libgnucash/engine/test/test-link.c                 | 25 ------
 libgnucash/tax/CMakeLists.txt                      | 11 ++-
 po/POTFILES.in                                     | 12 ---
 util/src-count/count.sh                            |  2 +-
 94 files changed, 337 insertions(+), 1622 deletions(-)
 delete mode 100644 gnucash/gnome-search/gncmod-gnome-search.c
 delete mode 100644 gnucash/gnome-utils/gncmod-gnome-utils.c
 delete mode 100644 gnucash/gnome-utils/test/test-link-module.c
 delete mode 100644 gnucash/import-export/bi-import/gncmod-bi-import.c
 delete mode 100644 gnucash/import-export/csv-exp/gncmod-csv-export.c
 delete mode 100644 gnucash/import-export/csv-imp/gncmod-csv-import.c
 delete mode 100644 gnucash/import-export/customer-import/gncmod-customer-import.c
 delete mode 100644 gnucash/import-export/log-replay/gncmod-log-replay.c
 delete mode 100644 gnucash/import-export/qif-imp/gncmod-qif-import.c
 delete mode 100644 gnucash/import-export/qif-imp/test/test-link.c
 delete mode 100644 gnucash/import-export/test/test-link.c
 delete mode 100644 gnucash/register/ledger-core/gncmod-ledger-core.c
 delete mode 100644 gnucash/register/ledger-core/test/test-link-module.c
 delete mode 100644 gnucash/register/register-core/gncmod-register-core.c
 delete mode 100644 gnucash/register/register-core/test/CMakeLists.txt
 delete mode 100644 gnucash/register/register-core/test/test-link-module.c
 delete mode 100644 gnucash/register/register-gnome/gncmod-register-gnome.c
 delete mode 100644 gnucash/register/register-gnome/test/CMakeLists.txt
 delete mode 100644 gnucash/register/register-gnome/test/test-link-module.c
 delete mode 100644 gnucash/report/gncmod-report.c
 delete mode 100644 gnucash/report/test/test-link-module.c
 delete mode 100644 libgnucash/engine/test-core/gncmod-test-engine.c
 delete mode 100644 libgnucash/engine/test/test-link.c



More information about the gnucash-patches mailing list