Commit Graph

266 Commits (d0b210a6df17234b7948b5fa12d2fca4a9fded03)

Author SHA1 Message Date
Kanstantin K. d0b210a6df Bugfix 797045 - Correct error message when connection to database failed
2 years ago
Geert Janssens cf7ff07624 Move libgnucash/doc/xml to libgnucash/backend/xml/DTD
2 years ago
Christopher Lam 1e1d21b716 [Transaction.hpp] rename to .hpp
2 years ago
Christopher Lam d100df7ef7 [AccountP.hpp] .h -> .hpp, remove extern "C" {} wrapper
2 years ago
Christopher Lam 6c82a1311b [sixtp-dom-parsers.cpp] use string_to_guint, string_to_guint16
2 years ago
Christopher Lam 249ec9f43a [test-string-converters.cpp] add some string->number tests
2 years ago
Christopher Lam 1f9ea6bc99 [sixtp-utils.cpp] std::from_chars speedup, remove string_to_gint32
2 years ago
John Ralls e22a57ad26 Merge John Ralls's 'asan' into stable.
2 years ago
John Ralls 6834cb5025 Implement coverage option
2 years ago
Christopher Lam fdcb8b46bd [sixtp-dom-generators.cpp] char* must be freed
2 years ago
Christopher Lam 6940488d2d recurrencePeriodTypeToString and recurrenceWeekendAdjustToString g_strdup only when necessary
3 years ago
Christopher Lam 12f4233396 recurrencePeriodTypeToString and recurrenceWeekendAdjustToString g_strdup only when necessary
3 years ago
John Ralls f67b53a440 Xml backend tests: Use libgnc-backend-xml-utils instead of sources.
3 years ago
John Ralls e17ba3cc00 Fix UAF in xaccFreeSplit.
3 years ago
John Ralls 2234fa433e Add Asan build type that enables the Address and UB sanitizers.
3 years ago
Christopher Lam d617129db8 avoid strlen where possible
3 years ago
John Ralls 422fd0cab2 Fix misspelled/missing dist files.
3 years ago
John Ralls 90b9142096 [DBI backend] Change DBI test URLs to environment variables.
3 years ago
Christopher Lam 8e21d3328f guid_to_string should be freed.
3 years ago
Christopher Lam 55b9382ad9 [utest-gnc-backend-sql] properly clean up QofBook
3 years ago
Christopher Lam c44194606a [test-xml-pricedb] free a sixtp parser
3 years ago
Christopher Lam 7ce4198c20 rename string_to_gnc_numeric to gnc_numeric_from_string
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 4d46a8191d Merge Simon Arlott's 'test-xml-save' into stable.
3 years ago
Simon Arlott 35bee1382d
Test loading and saving XML files with and without compression
3 years ago
Christopher Lam 867867da53 Merge Richard Cohen branch 'fix-leaks-in-tests' into stable #1713
3 years ago
Richard Cohen 1943caee55 Fix memory leak on error path in text_to_dom_tree()
3 years ago
Richard Cohen 2640911901 Valgrind: fix "definitely lost/still reachable" memory in test - test-xml2-is-file
3 years ago
Richard Cohen b7d278556f Valgrind: fix "definitely lost" memory in test - test-string-converters
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
Christopher Lam 0d326fa100 [io-gncxml-v2.cpp] plug g_strdup leak
3 years ago
Vincent Dawans e0e13604b5 Bug 798967 - Cannot Save to Any Path After Upgrading to 5.2
3 years ago
Simon Arlott d7b2b06bae
Avoid unnecessary memory allocation in dom_tree_to_gnc_numeric()
3 years ago
Simon Arlott 4b83068c6b
Fix return value of gnc_book_write_to_xml_file_v2()
3 years ago
Richard Cohen 2e861ab673 Valgrind: fix "Mismatched free/delete" - test-dom-converters1
3 years ago
Richard Cohen 3abc9a5558 Refactor: Remove some unnecessary uses of memcpy
3 years ago
John Ralls 26162da450 Merge Richard Cohen's 'cleanup-build' into stable.
3 years ago
Richard Cohen 3c34a61776 Remove #pragma ... "-Wformat-nonliteral"
3 years ago
Richard Cohen 1f43bbc798 Remove #pragma ..."-Wstrict-aliasing"
3 years ago
Richard Cohen 80e9d9c35d scanf supports %lld since C++11, C99
3 years ago
Richard Cohen 7f1ce2b5e5 Remove references to cutecash
3 years ago
Richard Cohen 3957272ef0 Fix some typos in comments
3 years ago
John Ralls df878c6a3d Merge Maarten Bosmans's 'memleak-fixes' into stable.
3 years ago
Maarten Bosmans 6be682b645 Store allocated temporaries in a variable so they can be freed
3 years ago
Robert Fewell fb58959f9a Bug 798885 - Accented character in folder name on Account Export
3 years ago
Maarten Bosmans bd94965d9b [backend/xml] Remove unused string copy
3 years ago