Commit Graph

22 Commits

Author SHA1 Message Date
Cheng
7b45929f64
adapted the library build scripts to CMake build wxWidgets
They now build considerably faster
2024-02-23 14:54:27 +10:00
Cheng
351f742183
synchronous change in master project and wxWidgets submodule 2024-02-23 07:21:53 +10:00
Cheng
21cc95e246
building wxWidgets as a cmake project file instead of visual studio project file 2024-02-22 22:44:31 +10:00
Cheng
f999a8280d
msvc/winConfigDebug.bat
and
msvc/winConfigRelease.bat
have been broken for a very long time
and I never tested them.
2024-02-21 14:40:57 +10:00
Cheng
47f9e77aec
I discovered I was relying on a Microsoft idiosyncracy,
that by default it searches for header files in the source
directory as well as on the include line - which is very
nice but non standard and breaks every other build system,
resulting in incomprehensible and misleading error messages
that send one down a hundred rabbit holes.
2024-02-21 12:28:11 +10:00
Cheng
8bf4bc083d
moved wallet.sln to its proper directory 2024-02-14 22:03:41 +10:00
Cheng
fac065506c
moved utcmt to its proper directory 2024-02-14 21:48:06 +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
a29b8c7e52
fixed vcxproj to not use solutiondir,
but to default from its homedir
2023-10-29 15:42:43 +10:00
Cheng
d59729f396
Never really figured out why my code was breaking
fixed it by looking for funny things that deviated from
the sameples,  and doing various recommended safe things,
and found a few sql errors, and one by one the crashes
went away.

The new wxWidgets just seems less tolerant of little careless
stuff that is not right.
2023-10-18 20:23:56 +10:00
Cheng
d82d5218bc
Got it working, the mystery crash was my update to wxWidgets 3.2.2.1 2023-09-28 18:14:32 +10:00
Cheng
b16ddb2071
stashing changes here, and going back in time till file dialogs work 2023-09-27 22:50:55 +10:00
Cheng
f7876905e3
Simplifying the serialization to and from VLQ integer format with C++20 concepts.
Moving serialization to a new header, serialization.h
2023-09-25 18:51:12 +10:00
Cheng
fefb99bb33
Discovered that modifying the wxWidgets manifest has no effect
Restored the wallet manifest.
Discovered that local wxString variables are apt to get wiped during
a throw.  Dangerous to pass a wXstring.utf8() to an exception
2023-09-25 10:23:11 +10:00
Cheng
89ebcee054
fixed those irritating uninitialized memory warnings by annotating parameters 2023-09-23 15:58:56 +10:00
Cheng
ac7f6806eb
I suffered greatly trying to get the libraries to build correctly
Because one has to separately specify build characteristics in
many different places it is quite difficult to make sure the right
things are linking the right things.

I added the two files msvc/winConfigDebug.bat msvc/winConfigRelease.bat
To build only the libaries that should be linked, so we will get an
error message if a release build links to a debug build.
2023-09-18 07:10:41 +10:00
Cheng
61aa3ff141
Updating libsodium - they finally made a release, though
I have been using their unreleased versions for a very
long time.

The release has radically reorganized the build process, probably
to support arm builds
2023-09-17 18:25:49 +10:00
Cheng
4f77dc9951
command line make 2023-09-16 19:02:43 +10:00
Cheng
408942a336
My update of wxWidgets broke. wxWidgets bug, or bug in the way I use it.
My update of the schema to explicitly name the ROWID column broke everything because I was using position rather than names for fields
2023-09-14 10:45:12 +10:00
Cheng
63e36acab4
minor cleanup of git attributes and set_upstream 2022-09-18 17:57:42 +10:00
Cheng
b989390a6b
builds after files moved 2022-06-30 22:56:01 +10:00
Cheng
2371674072
moving files to clean up root directory 2022-06-30 16:55:37 +10:00