Commit graph

48 commits

Author SHA1 Message Date
Ghislain MARY
0f20b4359c Fix build on Windows. 2017-07-24 12:54:43 +02:00
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Simon Morlat
bcc1305863 fix x86_64 build 2017-04-06 17:23:03 +02:00
Ghislain MARY
46d894caf6 Use correct macro to detect Android build. 2017-03-08 13:12:02 +01:00
Sandrine Avakian
a356548df1 VFS xTruncate implementation 2017-02-28 13:50:14 +01:00
Ghislain MARY
b4e9988c00 Add arm64 support for Android. 2017-01-20 11:19:30 +01:00
Simon Morlat
a878da624f fix compilation issues when sqlite storage is disabled 2016-12-03 13:28:14 +01:00
Simon Morlat
a9e540e7ea fix excess initializer when compiling with old versions of sqlite3 2016-10-20 12:30:01 +02:00
Simon Morlat
f403e86c1c fix compilation problem on debian 7 2016-10-20 12:06:46 +02:00
Ghislain MARY
9a23352c4c Stricter compilation options + new compilation error fixes. 2016-10-19 17:31:07 +02:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Sylvain Berfini
2e086ee415 Fix iconv conversion from UTF8 to UTF8 on Android and possibly others 2016-06-28 16:27:21 +02:00
Ghislain MARY
7cf7f503cf Fix build on bb10 (however iconv is now not used on bb10, so let's hope they are using UTF-8 locales). 2016-06-24 14:07:14 +02:00
Jehan Monnier
144743535d Merge remote-tracking branch 'origin/3.10.x' 2016-06-23 14:15:38 +02:00
Ghislain MARY
c13647f8bd Treat warnings as errors on Windows. 2016-06-16 12:23:53 +02:00
Sandrine Avakian
ab5a15124a VFS - ConvertFromUtf8 extended to all platforms. 2016-06-14 17:15:23 +02:00
Ghislain MARY
11b98c90f3 Get HANDLE from fd for sqlite sync on Windows. 2016-06-14 16:54:17 +02:00
Sandrine Avakian
e962f84b36 VFS activation.
Using utf8 conversions, meaning converting back to Windows format on Windows
with ConvertFromUtf8Filename in sqlite3bctbx_Open.
Windows using win32  sqlite VFS methods for everything except open, read, write, close , sync, file control,
device characteristics, file size and lock related methods. Some of them are just stubs, refer to
source code.
2016-06-14 10:06:16 +02:00
Sylvain Berfini
e7eda74df9 Fix typo 2016-06-13 12:41:07 +02:00
Sylvain Berfini
f716330a56 Commented out unused static method 2016-06-13 12:29:10 +02:00
Gautier Pelloux-Prayer
77ba701820 submodules: update ms2 2016-06-13 11:04:28 +02:00
Simon Morlat
865d08ffd1 fix compilation warning and update oRTP 2016-06-13 10:57:22 +02:00
Simon Morlat
5a5ebe955d fix compilation warning and update oRTP 2016-06-10 23:27:42 +02:00
Sandrine Avakian
e6ea6151ce VFS fixes for Windows. 2016-06-10 10:10:58 +02:00
Simon Morlat
aba70a4afa don't make our sqlite vfs the default for all the process, because it conflicts with other use of sqlite (in ios apis for example) 2016-05-31 11:34:33 +02:00
Sandrine Avakian
fca10a6943 Fix SQLite3 vas on windows. 2016-05-27 11:38:36 +02:00
Sandrine Avakian
8efcd200c0 cosmetic 2016-05-26 09:34:45 +02:00
Sandrine Avakian
69a125b9fe Propagating structures renaming. 2016-05-25 14:10:23 +02:00
Ghislain MARY
d2b8cb2dd5 Fix compilation on Windows. 2016-05-23 17:37:30 +02:00
Sandrine Avakian
c95fb27ecf Removing unused function pointer for sqlite vfs version 2 and 3. 2016-05-23 14:27:34 +02:00
Sandrine Avakian
76e45b56cb Revert "Using version 3 of SQLite3 VFS."
This reverts commit 8eab2381af.
2016-05-23 14:26:07 +02:00
Sandrine Avakian
8eab2381af Using version 3 of SQLite3 VFS. 2016-05-23 14:17:57 +02:00
Ghislain MARY
1a1440e2dc Fix compilation. 2016-05-20 16:56:50 +02:00
Simon Morlat
f712c75b66 fix bug in previous commit in CMakeList 2016-05-20 16:44:28 +02:00
Sandrine Avakian
6649418220 Cosmetic - renaming fun, moving doc . 2016-05-20 16:15:09 +02:00
Simon Morlat
9ae188f4c7 fix compilation error 2016-05-20 12:05:14 +02:00
Simon Morlat
8a25d2f703 update for lastest bctoolbox 2016-05-20 11:35:48 +02:00
Simon Morlat
b79535afe9 fix automake build and simplify sqlite enablement options 2016-05-20 09:37:53 +02:00
Sandrine Avakian
662df7811a Windows build fix. 2016-05-19 17:51:10 +02:00
Sandrine Avakian
e2a22371e0 Documenting 2016-05-18 15:55:04 +02:00
Sandrine Avakian
775692b7a2 Matching changes done in bctoolbox/bc_vfs.c . 2016-05-18 15:47:30 +02:00
Sandrine Avakian
197f727686 Cleaning & documenting. 2016-05-17 16:48:12 +02:00
Sandrine Avakian
6cfac0ff44 Using newly created functions bctbx_file_close_and_free, bctbx_file_create_and_open. in lpconfig.c.
Changing check on file descriptor return value : should be different from -1 if open was successful .
Using bctbx_file_open and bctbx_file_close in sqlite3bctbx_Open and sqlite3bctbx_Close.
Registers the VFS as default incall_log.c, friend.c and mesage_storage.c .
2016-05-17 11:11:49 +02:00
Sandrine Avakian
ae7e1b7b0f Fixing read bug and documenting. 2016-05-16 16:08:41 +02:00
Sandrine Avakian
957b32d042 Documenting and cleaning. 2016-05-13 14:39:52 +02:00
Sandrine Avakian
16286e82e6 Adding Sync function in sqlite3_bctbx_vfs.
Fixing read functions error cases in lpconfig  and vfs .
2016-05-13 11:44:46 +02:00
Sandrine Avakian
3ecf8e0e20 Adding sqlite3 custom vfs files. 2016-05-12 10:35:58 +02:00