diff --git a/README.md b/README.md index cada9f5..b101479 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,12 @@ [![View sqlite3 on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/68298-sqlite3) -This function is a wrapper for a command line interface and a mex interface. The mex files were compiled for most operating systems for Matlab. For Octave an internal function will download the source files and compile it, since the resulting mex files are less portable than Matlab mex files. +This function is a wrapper for a mex interface. The mex files were compiled for most operating systems for Matlab. For Octave an internal function will download the source files and compile it (or copy them if you download this as a zip), since the resulting mex files are less portable than Matlab mex files. -Since this is a wrapper for different implementations, it is possible that more complex commands have inconsistent effects depending on whether the mex implementation was used or the CLI. - -The CLI is removed from this version, but will likely be back in a future update. When it is back, the CLI may have inconsistent effects across different operating systems. The test suite will only test basic functionality for the CLI. +The CLI is removed from this version, but may be back in a future update. When it is back, the CLI may have inconsistent effects across different operating systems. The test suite will only test basic functionality for the CLI. Sources: The basis for the interface is the SQLite3 project itself. The sqlite3.c and sqlite3.h files can be downloaded from an archived zip file [here](http://web.archive.org/web/202108id_/https://www.sqlite.org/2021/sqlite-amalgamation-3360000.zip). -The originals for sqlite3_interface.c, structlist.c, and structlist.h can be found on [GitHub](https://github.com/rmartinjak/mex-sqlite3). These 3 files were edited to make them conform to the stricter standards of older compilers and to remove a message: `mexPrintf("binding params %d of %zu\n", i, mxGetM(params));' +The originals for sqlite3_interface.c, structlist.c, and structlist.h can be found on [GitHub](https://github.com/rmartinjak/mex-sqlite3). These 3 files were edited to make them conform to the stricter standards of older compilers and to remove a message: `mexPrintf("binding params %d of %zu\n", i, mxGetM(params));` The files were further edited to deal with column names that are not valid Matlab field names and to make sure the database file is closed whenever an error occurs. Additionally a converter file was written to deal with UTF-16 char encoding. Licence: CC by-nc-sa 4.0 \ No newline at end of file diff --git a/compiled/sqlite3_MATLAB_v07_01_PCWIN.mexw32 b/compiled/sqlite3_MATLAB_v07_01_PCWIN.mexw32 deleted file mode 100644 index 15d3802..0000000 Binary files a/compiled/sqlite3_MATLAB_v07_01_PCWIN.mexw32 and /dev/null differ diff --git a/compiled/sqlite3_MATLAB_v07_14_GLNXA64.mexa64 b/compiled/sqlite3_MATLAB_v07_14_GLNXA64.mexa64 deleted file mode 100644 index 626aa1a..0000000 Binary files a/compiled/sqlite3_MATLAB_v07_14_GLNXA64.mexa64 and /dev/null differ diff --git a/functionSignatures.json b/functionSignatures.json index 405e55b..5f49d3a 100644 --- a/functionSignatures.json +++ b/functionSignatures.json @@ -1,6 +1,6 @@ { "_schemaVersion": "1.0.0", - "_v_sqlite3":"3.0.0", + "_v_sqlite3":"3.1.0", "sqlite3": { "inputs": @@ -24,3 +24,4 @@ ] } } + diff --git a/gitattributes b/gitattributes new file mode 100644 index 0000000..101f01c --- /dev/null +++ b/gitattributes @@ -0,0 +1,8 @@ +*.html linguist-detectable=false +*.c linguist-detectable=false +*.h linguist-detectable=false +*.dll linguist-detectable=false +*.mexw32 linguist-detectable=false +*.mexw64 linguist-detectable=false +*.mexa64 linguist-detectable=false +*.mexmaci64 linguist-detectable=false diff --git a/html/sqlite3.html b/html/sqlite3.html index 2dab49e..1223cd8 100644 --- a/html/sqlite3.html +++ b/html/sqlite3.html @@ -6,7 +6,7 @@ sqlite3