gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Oct 29 10:26:20 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/fc94b41c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f2354d6b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1516bb18 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a078921a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cf088f2a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f5099b3d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/093aa81e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8192deff (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8cb8f506 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d8417c3c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2774f8f8 (commit)
	from  https://github.com/Gnucash/gnucash/commit/4716af24 (commit)



commit fc94b41c814e6bcbf40818e4dcb3795cdd359803
Merge: 4716af24e f2354d6b2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 29 21:53:57 2022 +0800

    Merge branch 'maint'

commit f2354d6b2af329c5cc849fc9d7908884c4b7fdc2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 29 13:47:33 2022 +0800

    [test-qofbook.c] add test for gnc_features_set_unused

commit 1516bb18b070d6fbc0388791edb8cb1040ad0d6e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Dec 2 22:12:29 2021 +0800

    [gnc-features.cpp] backport gnc_features_set_unused from master

commit a078921a33e3ea1e2f3427565fe8d348205b3f6a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Dec 2 22:12:12 2021 +0800

    [qofbook.cpp] backport qof_book_unset_feature from master

commit cf088f2a70f0dd21af0970cfbf1f11a338a54cbc
Merge: f5099b3d8 8cb8f5067
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Oct 28 15:27:28 2022 -0700

    Merge John Ralls's 'Bug798614' into maint.

commit f5099b3d87a693991dfb3160f848ad218254b760
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Oct 28 11:37:18 2022 -0700

    Bug 798649 - Crash when closing Edit Style Sheets dialog while...
    
    Style Sheet Properties dialog is still open.
    
    Because the style_sheet_dialog is already destroyed and nulled.

commit 093aa81ed1f4f638775212af4ee61d9e5d63fa07
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Oct 28 21:57:15 2022 +0800

    [qofbook.cpp] deprecate qof_book_get_features

commit 8192deff37e4a5063ad62a90753bcd9a60b2f716
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Oct 25 00:17:30 2022 +0800

    [gnc-features.cpp] convert to cpp
    
    - don't need to create/destroy GHashTable for each feature query
    - plugs leak: g_hash_table_unref (features_used) not always called properly
    - to check 1 feature, don't need to traverse whole GHashTable

commit 8cb8f5067dbc7adfd920099de2b11aa1b92b7657
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 11 16:36:52 2022 -0700

    Remove non-ISO4217 currency codes from gnc-euro table.
    
    They're not reachable because they don't have commodities associated with them.

commit d8417c3cfa235bf8ac46a0881c5e41f8fef54781
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 11 16:29:57 2022 -0700

    Move gnc-euro.[ch] to engine and unit test it.

commit 2774f8f88c7cb84b2ef3e2f2735bbca84f17a91a
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 11 10:35:43 2022 -0700

    Bug 798614 - Croatia to join the Euro
    
    Add HRK to the conversion array.



Summary of changes:
 gnucash/gnome/dialog-report-style-sheet.cpp        |   2 +-
 libgnucash/app-utils/CMakeLists.txt                |   2 -
 libgnucash/engine/CMakeLists.txt                   |   5 +-
 libgnucash/{app-utils => engine}/gnc-euro.c        |  27 +--
 libgnucash/{app-utils => engine}/gnc-euro.h        |   0
 .../engine/{gnc-features.c => gnc-features.cpp}    | 141 +++----------
 libgnucash/engine/iso-4217-currencies.xml          |   1 +
 libgnucash/engine/qofbook.cpp                      |  51 +++--
 libgnucash/engine/qofbook.h                        |   2 +-
 libgnucash/engine/{gnc-session.h => qofbook.hpp}   |  17 +-
 libgnucash/engine/test/CMakeLists.txt              |   4 +
 libgnucash/engine/test/gtest-gnc-euro.cpp          | 228 +++++++++++++++++++++
 libgnucash/engine/test/test-qofbook.c              |   4 +
 po/POTFILES.in                                     |   4 +-
 14 files changed, 330 insertions(+), 158 deletions(-)
 rename libgnucash/{app-utils => engine}/gnc-euro.c (88%)
 rename libgnucash/{app-utils => engine}/gnc-euro.h (100%)
 rename libgnucash/engine/{gnc-features.c => gnc-features.cpp} (52%)
 copy libgnucash/engine/{gnc-session.h => qofbook.hpp} (78%)
 create mode 100644 libgnucash/engine/test/gtest-gnc-euro.cpp



More information about the gnucash-patches mailing list