Richard Cohen
7b47c07f8e
Don't use extern "C" around #includes
...
Some I missed the first time. Some are new.
3 years ago
Richard Cohen
9c6ad222a9
[-Wunused-function] - remove
3 years ago
Richard Cohen
ea2d3be217
Remove some unused variables with obviously no side effects
3 years ago
Richard Cohen
1cec0cb3f3
Use internal extern "C" { ... } for C++
...
- removes warnings compiling swig engine
...
[ 10%] Generating swig-engine.cpp
.../libgnucash/engine/engine-helpers.h:31: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/gnc-date.h:83: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/qofquery.h:90: Warning 302: Identifier 'QofQuery' redefined (ignored),
.../libgnucash/engine/gnc-option.hpp:55: Warning 302: previous definition of 'QofQuery'.
.../libgnucash/engine/gnc-commodity.h:56: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/gncBusiness.h:40: Warning 313: Unrecognized extern type "C++".
.../libgnucash/engine/gncEntry.h:37: Warning 313: Unrecognized extern type "C++".
3 years ago
John Ralls
c49b45d8f1
Finish the glib 2.67 fixes for CI tests.
5 years ago
luz paz
16b4976381
Fix typos in libgnucash/
...
Found via `codespell -q 3 -L ans,ba,parm,parms,numer`
5 years ago
John Ralls
8ff5af4c19
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.
6 years ago
Geert Janssens
bbeb9a2b62
Drop all gnc-module dependencies and includes from compilation units that no longer use it
...
This also drops the python wrapper for gnc-module. As for the guile wrappers,
python should use other means of loading our shared libraries.
This commit required a few tweaks to the dependency chain as some units
inherited dependency information from gnc-module's public dependency
interface.
6 years ago
Geert Janssens
abf29aa196
Drop the gnc-module wrapper around the test-engine library
...
It's not adding anything
6 years ago
goodvibes2
39c9aa4de3
Remove bad paths from CMakeLists.txt files
6 years ago
John Ralls
4c1c485db6
Use split SCU when borking random split pairs.
...
Reduces likelihood of a zero value in the transaction currency.
8 years ago
John Ralls
40bcd1e377
Bump the max_denom_mult to match the new GNC_COMMODITY_MAX_FRACTION.
8 years ago
John Ralls
62b17ca5db
Timespec removal, engine odds-and-ends.
8 years ago
John Ralls
358cd979d9
Remove Timespec from the main engine classes (Transaction, Split, & Account.
8 years ago
John Ralls
fee589b28c
Remove Timespec from pricedb.
...
Includes removing the time64 specialized functions because the regular ones
handle time64 now.
8 years ago
John Ralls
c8b372e390
Convert GNC_TYPE_TIMESPEC to GNC_TYPE_TIME64, Kvp::Type::Timespec to Kvp::Type::Time64
...
They have to go together because of using gvalues to hide KVP from most of
GnuCash.
8 years ago
Geert Janssens
a9f35ed7ae
Lowercase cmake commands
...
A huge bikeshed fest but it distracted me enough to do it anyway.
8 years ago
Geert Janssens
c71204628d
Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file
8 years ago
John Ralls
74ddb671e4
Merge Chris Lam's and Aaron Laws's branch 'time64-ftw' into unstable.
8 years ago
Rob Gowin
54ac7f23e0
Remove Autotools
8 years ago
lmat
1f050fd1e5
Transaction members Timespec->time64
8 years ago
lmat
f77369bb96
Removing timspec from some xml parsing
...
And several other sprawling references that are connected in one
way or another.
8 years ago
lmat
5636afc4a2
Kvp no longer parses entries looking for delimiters
8 years ago
lmat
34e0d6cfa0
kvp frame to template and correcting failure macro
...
The template avoids the need to cast to and from void*, and adds flexibility to
the targeted function's signature.
test-stuff.h defines a macro, "failure" which is used as an identifier
in the standard IO library, so I moved any inclusion of test-stuff.h to
the last include position so that "failure" wouldn't be defined before
the IO library was included.
8 years ago
Geert Janssens
83d14e1c1c
Restructure the src directory
...
It is split into
- /libgnucash (for the non-gui bits)
- /gnucash (for the gui)
- /common (misc source files used by both)
- /bindings (currently only holds python bindings)
This is the first step in restructuring the code. It will need much
more fine tuning later on.
9 years ago