Commit Graph

165 Commits (stable)

Author SHA1 Message Date
Christopher Lam f893b046fb [io-gncxml-v2.cpp] xmlGetProp must be xmlFreed
4 months ago
Christopher Lam 4f655492ce [sixtp-dom-parsers.cpp] g_date_free GDate leak
4 months ago
Christopher Lam 455ea3e71a [backend/xml] dom_tree_to_text returns std::optional<std::string>
4 months ago
Christopher Lam e79db945b2 [backend/xml] use apply_xmlnode_text
4 months ago
Christopher Lam 753e435456 [sixtp-dom-parsers.h] add templated functions for node text
4 months ago
Christopher Lam 465959cc90 [sixtp-dom-parsers.cpp] dom_tree_to_gdate: GDate on the stack
5 months ago
Christopher Lam 7c955b452f [sixtp-utils] string_to_num upgraded to use string_view
5 months ago
Christopher Lam cfc357a430 [backend/xml] fast string setters for acct/trans/split
5 months ago
Christopher Lam a63a3e3ce3 [sixtp-dom-parsers.cpp] introduce dom_node_to_text for solo text node
5 months ago
Christopher Lam 2f7e51cf2a [sixtp-dom-parsers.cpp] Remove unnecessary commodity allocation during XML load
5 months ago
Christopher Lam a57cd653e5 [backend/xml] dom_tree_to_guid returns std::optional<GncGUID> instead of GncGUID*
5 months ago
John Ralls 04d6601b74 Always write XML files with Unix line endings.
7 months ago
John Ralls 1af9e33d81 [Tests] Fix filepath handling and temp directory location on Win32 builds.
7 months ago
John Ralls 54664359dc Fix building tests on Win32.
8 months ago
Christopher Lam fac028133e [gtest-xml-contents] test xaccTransGetDatePostedGDate from xml
10 months ago
Christopher Lam 01366f425f [gtest-load-and-test-datafile.cpp] add example .gnucash to test contents
10 months ago
Bill Sommerfeld 0407466789 Drop the definition of __EXTENSIONS__ from three files and instead
11 months ago
John Ralls 3770cb8131 Wrap include of gtest.h and gmock.h with a warning-silencing pragma.
12 months ago
John Ralls 940085a017 Remove unused include of libxml2/SAX.h
12 months ago
peter15914 deee65d0d4 Fix incorrect deallocation type
1 year ago
David Seifert c06bc18dc4
Add missing `#include <cstdint>`
1 year 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
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
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
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
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 1f43bbc798 Remove #pragma ..."-Wstrict-aliasing"
3 years ago
Richard Cohen 80e9d9c35d scanf supports %lld since C++11, C99
3 years ago