Commit Graph

96 Commits (6cd8e4e4584cc2a3423a64dd8d5d62c32a8c5b89)

Author SHA1 Message Date
John Ralls 6834cb5025 Implement coverage option
2 years ago
John Ralls e17ba3cc00 Fix UAF in xaccFreeSplit.
3 years ago
John Ralls 90b9142096 [DBI backend] Change DBI test URLs to environment variables.
3 years ago
Christopher Lam f8546dc4da Fix compilation error from 5781f3445b
3 years ago
John Ralls 5781f3445b SQLBackend: Use std::optional return value instead of exceptions
3 years ago
John Ralls 741ce55b7a Merge Richard Cohen's 'use-g-assert-true-in-tests' into stable.
3 years ago
Richard Cohen 66c5e398ae Change g_assert() -> g_assert_true() in tests
3 years ago
John Ralls f2d9230299 Improve error reporting on DBI large number test failures.
3 years ago
Christopher Lam b011c81b62 [gnc-backend-dbi.cpp] if returning early, don't allocate char*
3 years ago
Richard Cohen 7b47c07f8e Don't use extern "C" around #includes
3 years ago
Richard Cohen bddb4468fa Import GLIB2 as a target, and use it to simplify the CMakeLists
3 years ago
Richard Cohen 9c6ad222a9 [-Wunused-function] - remove
3 years ago
Richard Cohen 0f3813e0fd [-Wunused-private-field] (clang) - remove
3 years ago
Richard Cohen 1c6679720b Use some unused variables
3 years ago
Richard Cohen ea2d3be217 Remove some unused variables with obviously no side effects
3 years ago
Richard Cohen d8f45f2443 Use const references for for-loops to avoid unnecessary copies
3 years ago
Richard Cohen 846e75146a Fix some typos so that the correct tests are run
3 years ago
John Ralls f6919e60a7 Merge Richard Cohen's 'cleanup' into master.
3 years ago
Richard Cohen 1cec0cb3f3 Use internal extern "C" { ... } for C++
3 years ago
Richard Cohen 19bbde7000 Fix some typos
3 years ago
Geert Janssens 734f90bd36 Replace string literal 'gnucash' with PROJECT_NAME parameter where it makes sense
3 years ago
Christopher Lam 23bd716451 g_free gnc-path's gchar* intermediate strings
5 years ago
John Ralls bbb4113a5a Bug 798156 - glib 2.68.0 breaks gnucash
5 years ago
Frank H. Ellenberger 93e2829ee5 Merge PR #899 into maint
5 years ago
luz paz 16b4976381 Fix typos in libgnucash/
5 years ago
John Ralls 7a7c26f87e Move glib and gtk includes out of extern C for tests.
5 years ago
Bill Nottingham c0f2c3ae25 Fix build with glib2 2.67.x.
5 years ago
John Ralls ba0e412815 Bug 798112 - An error occurred while processing mysql ...
5 years ago
John Ralls fe4f9ed64a [test-backend-dbi] Fix copying hidden property.
5 years ago
John Ralls 12ad4fadae Bug 798101 - Do not #undef __STRICT_ANSI__
5 years ago
John Ralls 44fc52f5c6 Fix unnecessary copy in range-for loop
6 years ago
John Ralls b8d514e157 Don't try to unlock the GncDbiSqlConnection when it was connected read-only.
6 years ago
John Ralls 6a1cb5eecd Replace the three bool parameters to qof_session_begin to an enum.
6 years ago
John Ralls c73a1bd475 Extract function template drop_database.
6 years ago
John Ralls a320035f42 QofSession, QofBackend: Change book_id to uri.
6 years ago
John Ralls fc637aadc7 Two more test directories needing G_LOG_DOMAIN defined.
6 years ago
John Ralls 4e6c497cd1 Don't ask to save a non-existant book.
6 years ago
John Ralls 8ff5af4c19 Decouple QofBook creation from QofSession.
6 years ago
Geert Janssens abf29aa196 Drop the gnc-module wrapper around the test-engine library
6 years ago
Geert Janssens 301db9020d Merge branch 'maint'
6 years ago
Geert Janssens e79e82edcf CMake - remove parameter repetition in else() and endif() statements
6 years ago
Geert Janssens 4c77f7670e engine - remove gncmod boilerplate
6 years ago
John Ralls b8b33b9591 Revert "More conversions from pkg-config variables to imported targets."
7 years ago
John Ralls 1a9fcfefad More conversions from pkg-config variables to imported targets.
7 years ago
loftx d5297a46bf Resolve 'basic_string::_M_construct null not valid' error when no database is provided in connection string
7 years ago
Mike Alexander 2820af7166 Make test-backend-dbi-basic build and run with libdbi 8.
7 years ago
John Ralls 9bfaada356 Bug 796961 - Can't overwrite existing MYSQL database, V3.3.
7 years ago
John Ralls 1116ce909b Bug 796967 - gnclock table not removed when using PostgreSQL.
7 years ago
Geert Janssens d22e1db340 gnc-uri - refer to 'scheme' instead of 'protocol' as that's the more formal term used in uris
7 years ago
John Ralls bf55c30aeb Fix most of the unused assignment errors from static analysis.
8 years ago