gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Tue Sep 21 11:21:18 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/f1802b6f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b3daeecb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f21c7b6e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a203c5b2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d1113a45 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/02fbf217 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6674b1bb (commit)
	from  https://github.com/Gnucash/gnucash/commit/a20f2def (commit)



commit f1802b6fdf70186f4ab7d61a663a43f218a91a92
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Sep 21 16:50:22 2021 +0200

    GSettings Upgrade - add code to migrate settings
    
    The rules for migration are read from an xml file. This file was
    prepared in a previous commit. Future settings 'data model' changes can
    reuse this code by simply adding migration rules in the xml file.
    
    This replaces the hardcoded rules that were currently in place to
    migrate a few settings from 2.6 and older to 3.0. These rules are no
    longer meaningful as we require users to migrate from one major release
    series to the immediate next one. So by the time the new migration rules
    in this commit are applied by users they should already have run gnucash
    3.x at least once. That run should have taken care of the pre-3.0
    migration actions.

commit b3daeecb85fc3c70b13fb0348475cb2620ab7b5c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 13 22:40:25 2021 +0200

    GSettings Upgrade - Compose a list of settings that can be migrated at runtime
    
    This list consists of old and new values for gsettings paths and keys
    and will allow gnucash to migrate values from each old path and key
    to the corresponding new path and key.

commit f21c7b6e90cfdc9bf731dd23d51962f7c940049c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 17 15:27:12 2021 +0200

    GSettings - define old prefix and check settings for the presence of both prefixes while normalizing

commit a203c5b2d561595a73c8bed71cf0548449ed5707
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 17 15:26:09 2021 +0200

    GSettings - drop logic to relocate our settings
    
    This was ported from GConf, but GSettings doesn't work that way.
    Settings locations are defined at compile time and can't be
    relocated at run time (unless you make all of the settings
    explicitly relocatable. That however is not how GSettings is meant to be
    used.)

commit d1113a4534bd6e2b8bdf123c87dd4294ce899440
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 13 17:32:10 2021 +0200

    GSettings - build as cpp

commit 02fbf217f6b71284bc212c90fcc43ea2656e78cd
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 13 17:44:24 2021 +0200

    GSettings Upgrade - change schema prefix from org.gnucash to org.gnucash.GnuCash
    
    The latter is the prefix format prescribed by gsettings itself. The former never
    was an issue until flatpak decided to not accept the shorter prefix when
    requesting a settings migration from host system to flatpak sandbox.
    
    In order to allow for migration, keep the old schema around in
    org.gnucash.GnuCash.deprecated.gschema.in
    
    While we're at it, make the new prefix an internal implementation detail.
    There's no need for it to be visible to the rest of the gnucash code.

commit 6674b1bb6b6acc6234d3550eb44d0431835919cc
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 10 16:57:25 2021 +0200

    Cleanup - minimal glib=2.56.1 - drop all conditionals on older versions



Summary of changes:
 .gitignore                                         |    1 -
 CMakeLists.txt                                     |    4 -
 common/config.h.cmake.in                           |    3 -
 gnucash/CMakeLists.txt                             |    2 +-
 gnucash/gnome-utils/CMakeLists.txt                 |    2 +-
 gnucash/gnome-utils/make-gnc-warnings-c.xsl        |    8 +-
 gnucash/gnome-utils/make-gnc-warnings-h.xsl        |   10 +-
 gnucash/gnucash-core-app.cpp                       |    7 +-
 gnucash/gschemas/CMakeLists.txt                    |   42 +-
 gnucash/gschemas/migratable-prefs.xml              | 1299 ++++++++++++++++
 .../org.gnucash.GnuCash.deprecated.gschema.xml.in  | 1605 ++++++++++++++++++++
 ...nucash.GnuCash.dialogs.business.gschema.xml.in} |   38 +-
 ...h.GnuCash.dialogs.checkprinting.gschema.xml.in} |    2 +-
 ...ash.GnuCash.dialogs.commodities.gschema.xml.in} |    2 +-
 ...cash.GnuCash.dialogs.export.csv.gschema.xml.in} |    2 +-
 ... => org.gnucash.GnuCash.dialogs.gschema.xml.in} |   98 +-
 ...cash.GnuCash.dialogs.import.csv.gschema.xml.in} |    2 +-
 ....GnuCash.dialogs.import.generic.gschema.xml.in} |   14 +-
 ...cash.GnuCash.dialogs.import.qif.gschema.xml.in} |    6 +-
 ...ucash.GnuCash.dialogs.reconcile.gschema.xml.in} |    2 +-
 ...org.gnucash.GnuCash.dialogs.sxs.gschema.xml.in} |   10 +-
 ...rg.gnucash.GnuCash.dialogs.totd.gschema.xml.in} |    2 +-
 ...h.GnuCash.general.finance-quote.gschema.xml.in} |    2 +-
 ...a.xml.in => org.gnucash.GnuCash.gschema.xml.in} |   22 +-
 ... => org.gnucash.GnuCash.history.gschema.xml.in} |    2 +-
 ...=> org.gnucash.GnuCash.warnings.gschema.xml.in} |   10 +-
 ...uCash.window.pages.account.tree.gschema.xml.in} |    2 +-
 ...rg.gnucash.GnuCash.window.pages.gschema.xml.in} |    2 +-
 gnucash/import-export/aqb/gschemas/CMakeLists.txt  |   11 +-
 .../aqb/gschemas/migratable-prefs.xml              |   64 +
 ...gnucash.GnuCash.dialogs.flicker.gschema.xml.in} |    2 +-
 ...ash.GnuCash.dialogs.import.hbci.gschema.xml.in} |    8 +-
 gnucash/import-export/ofx/gschemas/CMakeLists.txt  |   10 +-
 .../ofx/gschemas/migratable-prefs.xml              |    8 +
 ...cash.GnuCash.dialogs.import.ofx.gschema.xml.in} |    2 +-
 .../test/test-import-pending-matches.cpp           |    8 -
 libgnucash/app-utils/CMakeLists.txt                |    2 +-
 .../{gnc-gsettings.c => gnc-gsettings.cpp}         |  253 ++-
 libgnucash/app-utils/gnc-gsettings.h               |   13 +-
 libgnucash/app-utils/gnc-prefs-utils.c             |    2 +-
 po/POTFILES.in                                     |   43 +-
 41 files changed, 3352 insertions(+), 275 deletions(-)
 create mode 100644 gnucash/gschemas/migratable-prefs.xml
 create mode 100644 gnucash/gschemas/org.gnucash.GnuCash.deprecated.gschema.xml.in
 rename gnucash/gschemas/{org.gnucash.dialogs.business.gschema.xml.in => org.gnucash.GnuCash.dialogs.business.gschema.xml.in} (82%)
 rename gnucash/gschemas/{org.gnucash.dialogs.checkprinting.gschema.xml.in => org.gnucash.GnuCash.dialogs.checkprinting.gschema.xml.in} (98%)
 rename gnucash/gschemas/{org.gnucash.dialogs.commodities.gschema.xml.in => org.gnucash.GnuCash.dialogs.commodities.gschema.xml.in} (86%)
 rename gnucash/gschemas/{org.gnucash.dialogs.export.csv.gschema.xml.in => org.gnucash.GnuCash.dialogs.export.csv.gschema.xml.in} (90%)
 rename gnucash/gschemas/{org.gnucash.dialogs.gschema.xml.in => org.gnucash.GnuCash.dialogs.gschema.xml.in} (70%)
 rename gnucash/gschemas/{org.gnucash.dialogs.import.csv.gschema.xml.in => org.gnucash.GnuCash.dialogs.import.csv.gschema.xml.in} (88%)
 rename gnucash/gschemas/{org.gnucash.dialogs.import.generic.gschema.xml.in => org.gnucash.GnuCash.dialogs.import.generic.gschema.xml.in} (87%)
 rename gnucash/gschemas/{org.gnucash.dialogs.import.qif.gschema.xml.in => org.gnucash.GnuCash.dialogs.import.qif.gschema.xml.in} (86%)
 rename gnucash/gschemas/{org.gnucash.dialogs.reconcile.gschema.xml.in => org.gnucash.GnuCash.dialogs.reconcile.gschema.xml.in} (94%)
 rename gnucash/gschemas/{org.gnucash.dialogs.sxs.gschema.xml.in => org.gnucash.GnuCash.dialogs.sxs.gschema.xml.in} (86%)
 rename gnucash/gschemas/{org.gnucash.dialogs.totd.gschema.xml.in => org.gnucash.GnuCash.dialogs.totd.gschema.xml.in} (90%)
 rename gnucash/gschemas/{org.gnucash.general.finance-quote.gschema.xml.in => org.gnucash.GnuCash.general.finance-quote.gschema.xml.in} (76%)
 rename gnucash/gschemas/{org.gnucash.gschema.xml.in => org.gnucash.GnuCash.gschema.xml.in} (97%)
 rename gnucash/gschemas/{org.gnucash.history.gschema.xml.in => org.gnucash.GnuCash.history.gschema.xml.in} (97%)
 rename gnucash/gschemas/{org.gnucash.warnings.gschema.xml.in => org.gnucash.GnuCash.warnings.gschema.xml.in} (96%)
 rename gnucash/gschemas/{org.gnucash.window.pages.account.tree.gschema.xml.in => org.gnucash.GnuCash.window.pages.account.tree.gschema.xml.in} (96%)
 rename gnucash/gschemas/{org.gnucash.window.pages.gschema.xml.in => org.gnucash.GnuCash.window.pages.gschema.xml.in} (84%)
 create mode 100644 gnucash/import-export/aqb/gschemas/migratable-prefs.xml
 rename gnucash/import-export/aqb/gschemas/{org.gnucash.dialogs.flicker.gschema.xml.in => org.gnucash.GnuCash.dialogs.flicker.gschema.xml.in} (83%)
 rename gnucash/import-export/aqb/gschemas/{org.gnucash.dialogs.import.hbci.gschema.xml.in => org.gnucash.GnuCash.dialogs.import.hbci.gschema.xml.in} (89%)
 create mode 100644 gnucash/import-export/ofx/gschemas/migratable-prefs.xml
 rename gnucash/import-export/ofx/gschemas/{org.gnucash.dialogs.import.ofx.gschema.xml.in => org.gnucash.GnuCash.dialogs.import.ofx.gschema.xml.in} (78%)
 rename libgnucash/app-utils/{gnc-gsettings.c => gnc-gsettings.cpp} (74%)



More information about the gnucash-patches mailing list