gnucash stable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Thu Jul 9 19:16:31 EDT 2026
Updated via https://github.com/Gnucash/gnucash/commit/9db7b443 (commit)
via https://github.com/Gnucash/gnucash/commit/f737847a (commit)
from https://github.com/Gnucash/gnucash/commit/88670f22 (commit)
commit 9db7b4439cc436e8e77b7454ee1ce9c2684dd098
Merge: 88670f2298 f737847af2
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jul 9 16:14:33 2026 -0700
Merge Thomas Teixeira's 'bug799774' into stable.
commit f737847af2fda683214dc6435a018621066a8a8d
Author: Thomas Teixeira <tjteixeira at earthlink.net>
Date: Mon Jun 29 09:13:29 2026 -1000
Bug 799774 - Import transaction from CSV skips fields if CSV
file has backslash just before final quote in a quoted field
https://bugs.gnucash.org/show_bug.cgi?id=799774
Added a checkbox to the "File Format" section of the "Import Preview" step
of the CSV Import Assistant. This checkbox is labeled "Enable escape character"
and is enabled by default. If this checkbox is not enabled, GncCsvTokenizer
will insert an escape character (backslash) before any escape found in the
input which will prevent boost::tokenizer with escaped_list_separator from
processing this backslash as part of an escape sequence.
Ensured that saved import settings that have no current value for the
new "EnableEscape" field will set the "Enable escape character" checkbox.
Changed the test framework in GncTokenizerTest to specify whether escape
characters are enabled, and added test cases for escape characters disabled.
Summary of changes:
.../gtkbuilder/assistant-csv-price-import.glade | 21 +++++++++++-
.../gtkbuilder/assistant-csv-trans-import.glade | 21 +++++++++++-
.../csv-imp/assistant-csv-price-import.cpp | 30 ++++++++++++-----
.../csv-imp/assistant-csv-trans-import.cpp | 30 +++++++++++++----
.../import-export/csv-imp/gnc-imp-settings-csv.cpp | 10 ++++++
.../import-export/csv-imp/gnc-imp-settings-csv.hpp | 3 +-
gnucash/import-export/csv-imp/gnc-import-price.cpp | 19 +++++++++--
gnucash/import-export/csv-imp/gnc-import-price.hpp | 3 ++
gnucash/import-export/csv-imp/gnc-import-tx.cpp | 22 ++++++++++--
gnucash/import-export/csv-imp/gnc-import-tx.hpp | 3 ++
.../import-export/csv-imp/gnc-tokenizer-csv.cpp | 27 ++++++++++++---
.../import-export/csv-imp/gnc-tokenizer-csv.hpp | 3 ++
.../import-export/csv-imp/test/test-tokenizer.cpp | 39 ++++++++++++++--------
13 files changed, 189 insertions(+), 42 deletions(-)
More information about the gnucash-patches
mailing list