Commit Graph

4 Commits

Author SHA1 Message Date
Cheng
236e59badf
added error logging capability for sqlite3,
which is an irrelevant digression, since it already
reports errors on calls

Maybe I will get reports if I fail to finalize a compiled
sql statement before shutting down a database connection,
but the most likely circumstance for this to happen is
on program close, when I am unlikely to be able to see
the log.
2023-11-13 15:54:53 +10:00
Cheng
224ab60395
layout bug due to failure to call layout.
Sqlite3 crash due to premature call to shutdown.

calls to layout very rarely have any obvious effect,
but sometimes under odd and idiosyncratic circumstances
they do.

Called shutdown after the destroy was executed, but destroy does
not immediately destroy the windows, thus does not immediately
finalize all compiled sql statements and close all database
connections. You have to wait for all the windows to be destroyed.
Again, a rare crash except under certain special circumstances.
2023-11-12 19:43:19 +10:00
Cheng
ffa392b922
removed a the redundantly explicit std::uniques
from display_wallet.h and display_wallet.cpp

They are now all wrapped in the long promised
and long forgotten wrapper class.

Long, long ago, I intended to implement the Pimpl idiom,
but these days std::unique takes care of all that work for
you.  You just wrap your low level pimple class in a high
level wrapper whose base class is an std_unique_ptr to
to an instance of your low level class.
2023-11-12 08:28:00 +10:00
Cheng
2371674072
moving files to clean up root directory 2022-06-30 16:55:37 +10:00