ae4dbaf...
by
Martin Kleusberg <email address hidden>
travis: Automatically send builds to Coverity for analysation
afee3ca...
by
Martin Kleusberg <email address hidden>
Support more field separators and quote chars in the CSV import
This adds support for more characters as field separator and for quoting
in the CSV import. Before this we only supported ASCII characters, with
this we support all characters which when UTF-8 encoded require up to
16 bits.
See issue #1860.
cec6b82...
by
Martin Kleusberg <email address hidden>
Fix loading of last used settings in Import CSV dialog
Fix the loading of the last used import settings in the Import CSV
dialog when the "Other" option has been used in one of the dropdown
boxes.
Problem traced to QFile::exist() producing message when passed an empty QString.
Fix is to test QString length before any QFile::exist() usage with that string.
Compile with ALL_WARNINGS using GCC 8.2.1.
Encountered approximately dozen warnings with this pattern:
[path to sqlitebrowser root]/src/[somesourcefile]:line:cursor: warning: declaration
of ‘data’ shadows a member of ‘ClassName’ [-Wshadow] OtherDataType data = ....line of code at line given above... ^~~~
In file included from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, ...other sources in project
/usr/include/qt5/QtWidgets/qwidget.h:733:18: note: shadowed declaration is here QWidgetData *data; ^~~~
It appears there is a variable named 'data' within Qt global scope. Using 'data`
as a variable name, even one limited in scope to small lamda expressions, causes
compiler some grief.
Commit resolves the warnings in affected files. No problems apparent during execution.
Requires CSV stress-testing.
Include path used for QHexEdit in EditDialog.cpp is "implementation specific"
to how DB4S uses the QHexEdit library. Change is to make usage of library
more generic.
c61e172...
by
Martin Kleusberg <email address hidden>
Attempt to fix the build on some platforms - again
See issue #1879.
64a596a...
by
Martin Kleusberg <email address hidden>