gnucash master: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Fri Oct 1 11:42:02 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/d9f918f4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c77aac2b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e64bcfe6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9a465fc3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/64576f7d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/71722c46 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/28501779 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/29e7b07e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d561cc61 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/96db26cc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8bfa5a63 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c96024ab (commit)
	 via  https://github.com/Gnucash/gnucash/commit/dee4f5e5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a84891a4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/caa6bcd1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bdb5f3d8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b7001b52 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/10c1223d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2a7566cc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cb4d9529 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8bfcc982 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d82bb7b8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b8c9b1a6 (commit)
	from  https://github.com/Gnucash/gnucash/commit/67191203 (commit)



commit d9f918f40ccc6a973e8a37a3e37f2958c594ceae
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Oct 1 17:41:48 2021 +0200

    Obsolete preferences that were deprecated/migrated in the 4.x cycle

commit c77aac2b168e036824eb74ffdd7de3516ac032a4
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Oct 1 15:02:46 2021 +0200

    Fully remove preferences that were obsoleted in the 4.x cycle

commit e64bcfe620047d41dd8bd1a638dcf71e2f4aa9cd
Merge: 67191203a 9a465fc35
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Oct 1 14:51:04 2021 +0200

    Merge branch 'maint'

commit 9a465fc359d96ac267aa129cf96126def59ff45e
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Sep 30 21:57:48 2021 +0200

    GSettings - add 'deprecate' and 'obsolete' conversions for user preferences
    
    'deprecate' is technically a noop. It serves to remind maintainers
    the 'deprecated' preference is to be obsoleted in the next major
    release.
    'obsolete' goes one step further in that it will cause gnucash to reset
    the preference, effectively clearing the value stored in the preferences
    backend. This is the final phase of a preference. Following this it
    will be completely removed from the GSettings schema in the next
    major release.
    
    Notes
    * 'deprecate' and 'migrate' are related. Both are a reminder the
    preference is to be obsoleted in the next major release. 'deprecate'
    does only that though while 'migrate' will also trigger a copy of
    the old value to a new location in the databse.
    
    * This commit readds a couple of preferences that had been removed
    in the past to be able to properly obsolete them (and to test
    the obsoleting code)

commit 64576f7d27fdc3636a5fff621db22a64f8d3b7cf
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Sep 30 18:26:01 2021 +0200

    GSettings - widen scope from 'migration' to 'transformation'
    
    This commit mostly changes descriptions and variable names to
    use the more generic terms 'transformations' or 'conversions'.
    'migration' is only one possible transform, future commits will
    add others.
    There are no functional changes in this commit other than
    a logic inversion in parse_one_release_node. It now checks
    for nodes named 'migrate' rather than for nodes not named
    'migrate' (the code is adapted accordingly to match this
    logic change).

commit 71722c46ada74632afa590642e827d3eaf8dd3fd
Author: TianXing_Yi <ytx.cash at gmail.com>
Date:   Tue Sep 28 07:36:18 2021 +0200

    Translation update  by TianXing_Yi <ytx.cash at gmail.com> using Weblate
    
    po/zh_CN.po: 99.9% (5358 of 5363 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (Chinese (Simplified))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
    
    Co-authored-by: TianXing_Yi <ytx.cash at gmail.com>

commit 285017793d2c0c9f5a8d52b3db42944480e3f557
Author: John Ralls <jralls at ceridwen.us>
Date:   Wed Sep 29 10:35:19 2021 -0700

    Use plain cat instead of cmake -E cat to join the migratable-prefs.
    
    Cmake -E's cat is too new.

commit 29e7b07ed350daec1df43aa36bfc79446dfb24ff
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 28 17:17:23 2021 -0700

    Remove superflous schema_source left over from pasting.

commit d561cc61881666485ba268d319e06a6c1309bb87
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 28 12:03:48 2021 -0700

    Revert "Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump""
    
    This reverts commit c96024ab3df0a77ff35d6e65dc98e4086cf8c9f1.
    GnuCash 4.8a having been tagged.

commit 96db26cc1d79e6afc2b267df74cd4511dfa2bd41
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 28 11:27:04 2021 -0700

    Retag 4.8 for more GSettings crash repairs.

commit 8bfa5a63f2d9fa80f9985821f61ac289a243e609
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 28 11:00:05 2021 -0700

    [gsettings] Avoid crash from settings schema not being registered.

commit c96024ab3df0a77ff35d6e65dc98e4086cf8c9f1
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 28 10:23:55 2021 -0700

    Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump"
    
    This reverts commit b8c9b1a6ce0e1e4c6740e1de450859b90cbadcec.
    Because I need to re-tag 4.8 after more work on g_settings.

commit dee4f5e511011ed3b7d52553071943d60e9398e2
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Sep 28 11:57:53 2021 +0200

    Rethink how gsettings migration file is constructed
    
    The order in which cmake processes subdirectories in gnucash
    matters because that also defines the order in which install
    rules will be executed.
    We have an install rule to compile the install gschema files.
    That rule has to be run after all gschema files are installed.
    Considering how our code is organized that means directory
    gnucash/gschema should be processed after gnucash/import-export.
    That requirement was incompatible with how migratable-prefs.xml
    was generated (it required the exact opposite processing order).
    This conflict causes gnucash to crash on startup because not
    all gschema files are compiled as they should.
    The changes in this commit should fix this.

commit a84891a43c9bca060e2e1dd3672f7676b6a9f231
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 27 18:12:31 2021 -0700

    Revert "Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump""
    
    This reverts commit bdb5f3d87133139d798d62702b059939524e83e6, restoring
    the new jump-to-transaction facility post-4.8 release.

commit caa6bcd1ce44171cdd9d36de1cec700eb1d24222
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 27 17:46:56 2021 -0700

    Release GnuCash 4.8

commit bdb5f3d87133139d798d62702b059939524e83e6
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 27 15:35:35 2021 -0700

    Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump"
    
    This reverts commit b8c9b1a6ce0e1e4c6740e1de450859b90cbadcec so that
    we can release 4.8 without any translatable string changes.

commit b7001b52cf2842f056b7ad919791734462f2b1a4
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 27 09:20:10 2021 +0200

    GSettings hotfix - resolve crash due to bad schema reference

commit 10c1223df209666538caf0a7050aa726dd9719ac
Merge: 2a7566cc4 cb4d9529d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 27 08:10:02 2021 +0800

    Merge branch 'maint-progress' into maint #1150

commit 2a7566cc4002b5a0d1a894c5ebf9df1a8d5652ab
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 26 22:58:08 2021 +0200

    Win32 - drop conditional code never reached
    
    We had hardcoded HAVE_HTMLHELPW to always be true so the fallback
    code that's only reached when it is false was never reached.
    Time to drop this dead code.

commit cb4d9529dcb27bafa18fa5cb98715170974f247b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 26 23:33:33 2021 +0800

    [gnc-plugin-page-register] call invoice editor with parent window

commit 8bfcc982ddc7be09fba57238c4b7b7439ec3b703
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 25 19:34:16 2021 +0800

    [assistant-stock-split] set parent window properly
    
    without this commit, the assistant-stock-split window will be hidden
    if the register is activated.

commit d82bb7b8a221c7cf1649217b26db1396d034cc56
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 25 00:09:47 2021 +0800

    [Transaction.c] use is_unset static to denote uncached readonly_reason
    
    tests in 128c8d6f8864790ffe4bba9be2349d991fda4c8c

commit b8c9b1a6ce0e1e4c6740e1de450859b90cbadcec
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 24 21:41:27 2021 +0800

    [gnc-plugin-page-register] when reversing reversed txn, offer jump
    
    When reversing a transaction which is already reversed, offer a jump
    to the reversal transaction.



Summary of changes:
 CMakeLists.txt                                     |  11 +-
 NEWS                                               |   8 +
 common/config.h.cmake.in                           |   3 -
 gnucash/CMakeLists.txt                             |   5 +-
 gnucash/gnome/assistant-stock-split.c              |   1 +
 gnucash/gnome/gnc-plugin-page-register.c           |  32 +-
 gnucash/gschemas/CMakeLists.txt                    |  20 +-
 .../org.gnucash.GnuCash.deprecated.gschema.xml.in  |   2 +-
 .../gschemas/org.gnucash.GnuCash.gschema.xml.in    |   1 +
 ...gratable-prefs.xml => pref_transformations.xml} | 856 +++++++++++++++++++++
 gnucash/import-export/aqb/gschemas/CMakeLists.txt  |   7 +-
 ...gratable-prefs.xml => pref_transformations.xml} |  52 ++
 gnucash/import-export/ofx/gschemas/CMakeLists.txt  |   7 +-
 .../ofx/gschemas/migratable-prefs.xml              |   8 -
 .../ofx/gschemas/pref_transformations.xml          |  27 +
 libgnucash/app-utils/gnc-gsettings.cpp             | 138 ++--
 libgnucash/app-utils/gnc-help-utils.c              |  29 +-
 libgnucash/engine/Transaction.c                    |  32 +-
 libgnucash/engine/TransactionP.h                   |   4 +-
 libgnucash/engine/mocks/gmock-Transaction.h        |   1 -
 po/zh_CN.po                                        |  10 +-
 21 files changed, 1113 insertions(+), 141 deletions(-)
 rename gnucash/gschemas/{migratable-prefs.xml => pref_transformations.xml} (63%)
 rename gnucash/import-export/aqb/gschemas/{migratable-prefs.xml => pref_transformations.xml} (60%)
 delete mode 100644 gnucash/import-export/ofx/gschemas/migratable-prefs.xml
 create mode 100644 gnucash/import-export/ofx/gschemas/pref_transformations.xml



More information about the gnucash-patches mailing list