gnucash master: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Fri May 8 19:05:26 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/4e6c497c (commit)
via https://github.com/Gnucash/gnucash/commit/320db327 (commit)
via https://github.com/Gnucash/gnucash/commit/8ff5af4c (commit)
from https://github.com/Gnucash/gnucash/commit/0a4347bd (commit)
commit 4e6c497cd17d233731e2b885f107cf54411f9e7c
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 8 15:47:30 2020 -0700
Don't ask to save a non-existant book.
To accomplish that we separate creating a book and creating a session;
gnc_get_session no longer automatically creates a book if one isn't
connected.
We also add an initially_insensitive GtkAction array to
gnc-plugin-basic-commands with a call to make its contents insensitive
at plugin load so that the save button on the toolbar isn't lighted when
there's nothing to save.
commit 320db3270bb1b87f816047ec9cf7573aa370207c
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 8 15:29:24 2020 -0700
Remove duplicate decl.
commit 8ff5af4c19838825c9bff2c5856e05cba53b910e
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 17 16:43:33 2018 -0700
Decouple QofBook creation from QofSession.
So that we don't create two books when loading a session.
Step 1 to not having a dirty book when we think we should have no
book at all.
Summary of changes:
bindings/engine.i | 3 +-
bindings/guile/test/test-create-account.scm | 3 +-
bindings/python/gnucash_core.i | 3 +-
bindings/python/gnucash_core.py | 2 +-
bindings/python/sqlite3test.c | 6 +-
gnucash/gnome-utils/assistant-xml-encoding.c | 2 +-
gnucash/gnome-utils/gnc-file.c | 21 +++-
gnucash/gnome/gnc-plugin-basic-commands.c | 13 +++
gnucash/import-export/aqb/test/test-kvp.c | 6 +-
.../backend/dbi/test/test-backend-dbi-basic.cpp | 45 ++++----
libgnucash/backend/xml/test/test-load-xml2.cpp | 9 +-
libgnucash/backend/xml/test/test-save-in-lang.cpp | 5 +-
libgnucash/backend/xml/test/test-xml-account.cpp | 5 +-
libgnucash/backend/xml/test/test-xml-pricedb.cpp | 8 +-
libgnucash/engine/Account.cpp | 4 +-
libgnucash/engine/gnc-session.c | 3 +-
libgnucash/engine/qofsession.cpp | 120 ++++++++++++---------
libgnucash/engine/qofsession.h | 2 +-
libgnucash/engine/qofsession.hpp | 7 +-
libgnucash/engine/test-core/test-engine-stuff.cpp | 8 +-
libgnucash/engine/test/test-qofsession-old.cpp | 21 ++--
libgnucash/engine/test/test-qofsession.cpp | 44 ++++----
libgnucash/engine/test/test-split-vs-account.cpp | 13 +--
23 files changed, 193 insertions(+), 160 deletions(-)
More information about the gnucash-patches
mailing list