gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed Feb 21 19:37:25 EST 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/6cb2eeea (commit)
	 via  https://github.com/Gnucash/gnucash/commit/28cc26f2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/00640f9d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0732436e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/17f422f9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/164453a8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5d16d025 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/770045c4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/346499ae (commit)
	 via  https://github.com/Gnucash/gnucash/commit/47a1a56f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f49c2735 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d488faac (commit)
	from  https://github.com/Gnucash/gnucash/commit/226bfea1 (commit)



commit 6cb2eeeaa80124e04c763e207b9bb3cddd2a0b83
Merge: 226bfea108 28cc26f207
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Feb 22 07:39:35 2024 +0800

    Merge branch 'more-engine-cpp' into stable #1866

commit 28cc26f207881a1f9d0ea2dc708309f59a5bedb5
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Feb 19 09:19:44 2024 +0800

    [gnc-commodities.cpp] gnc_new_iso_codes is a std::unordered_map

commit 00640f9ded4967ee772cc275e25bfe3cae2ca7ad
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 16 10:47:03 2024 +0100

    Replace naked for loops with C++ algorithms

commit 0732436e4477d6c8dd378e7a75e28f8f43be7896
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 16 10:46:21 2024 +0100

    A few NULL/nullptr related cleanups

commit 17f422f97c31f0821c43159050fc661d6e0b414e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Feb 18 17:20:09 2024 +0800

    [gnc-commodity.cpp] convert quote_sources to vector
    
    - all quote sources are now vector
    - get_quote_source_from_type to convert QuoteSourceType to vector<gnc_quote_source>
    - the quote sources are modifiable, therefore cannot be const:
    see gnc_quote_source_set_fq_installed

commit 164453a858ffff9c36c007cae37fa4d64f8e5108
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Feb 15 00:36:44 2024 +0800

    [gnc-commodity.cpp] gnc_quote_source_get_index searches index
    
    we can now remove init

commit 5d16d025a619e88a4c9d366a02b9c91c4fc34e2a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Feb 12 19:00:41 2024 +0800

    [gnc-commodity.cpp] gnc_quote_source_s is a cpp class
    
    ... this ensures the new_quote_sources vector now doesn't leak anymore.

commit 770045c4a5530244eb19056cb4c63b14f8c218f5
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Feb 12 10:44:52 2024 +0800

    [gnc-quotes.cpp] remove sources_as_glist()

commit 346499ae0447d3310da443becb6ea23104cc27de
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Feb 12 10:40:11 2024 +0800

    [gnc-commodity.cpp] gnc_quote_source_set_fq_installed takes a StrVec
    
    instead of a GList* of strdup'd chars

commit 47a1a56f16cdd60a1e66f9160cb33bcb4c6b1b87
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Feb 11 23:07:53 2024 +0800

    [gnc-commodity.cpp] fq_version is a std::string
    
    thus can free itself on exit

commit f49c2735e352888071d59b2772ec915415c0fab5
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Feb 10 15:53:03 2024 +0800

    [gnc-commodity.cpp] initialize quote_sources at compile-time

commit d488faacb20520e7d300eafc39f7eab9813af0e8
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Feb 10 12:14:40 2024 +0800

    [gnc-commodity.cpp] Convert to cpp



Summary of changes:
 gnucash/gnucash-commands.cpp                       |   3 +-
 gnucash/gnucash.cpp                                |   3 +-
 libgnucash/app-utils/gnc-quotes.cpp                |  16 -
 libgnucash/app-utils/gnc-quotes.hpp                |   7 -
 libgnucash/app-utils/test/gtest-gnc-quotes.cpp     |   3 +-
 libgnucash/engine/CMakeLists.txt                   |   2 +-
 .../engine/{gnc-commodity.c => gnc-commodity.cpp}  | 527 +++++++++------------
 libgnucash/engine/gnc-commodity.h                  |  12 -
 libgnucash/engine/gnc-commodity.hpp                |  12 +
 po/POTFILES.in                                     |   2 +-
 10 files changed, 240 insertions(+), 347 deletions(-)
 rename libgnucash/engine/{gnc-commodity.c => gnc-commodity.cpp} (84%)



More information about the gnucash-patches mailing list