cordova-sqlite-evmax-build-free 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTHORS.md +1 -0
- package/CHANGES.md +37 -0
- package/LICENSE.md +2 -2
- package/README.md +30 -2
- package/SQLitePlugin.coffee.md +16 -4
- package/package.json +2 -2
- package/plugin.xml +4 -4
- package/spec/package.json +8 -1
- package/spec/www/index.html +1 -0
- package/spec/www/spec/android-db-location-test.js +327 -0
- package/spec/www/spec/db-tx-sql-features-test.js +21 -0
- package/spec/www/spec/sqlite-version-test.js +1 -1
- package/src/android/io/sqlc/SQLitePlugin.java +52 -23
- package/src/deps/android/sqlc-evmax-ndk-driver.jar +0 -0
- package/src/deps/common/sqlite3.c +12235 -4947
- package/src/deps/common/sqlite3.h +382 -149
- package/src/windows/SQLite3-WinRT-sync/SQLite3/SQLite3.Shared.vcxitems +1 -1
- package/src/windows/libs/x64/SQLite3.UWP.dll +0 -0
- package/src/windows/libs/x64/SQLite3.winmd +0 -0
- package/src/windows/libs/x86/SQLite3.UWP.dll +0 -0
- package/src/windows/libs/x86/SQLite3.winmd +0 -0
- package/www/SQLitePlugin.js +15 -6
- package/src/windows/libs/x86/BarcodeComponent.winmd +0 -0
- /package/src/windows/libs/{x64 → dummy}/BarcodeComponent.winmd +0 -0
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<ItemDefinitionGroup>
|
|
12
12
|
<ClCompile>
|
|
13
13
|
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory);$(MSBuildThisFileDirectory)..\..\..\deps\common;$(MSBuildThisFileDirectory)..\..\..\deps\common\sqlite3-base64;$(MSBuildThisFileDirectory)..\..\..\deps\common\libb64-core</AdditionalIncludeDirectories>
|
|
14
|
-
<AdditionalOptions>/DSQLITE_THREADSAFE=1 /DSQLITE_DEFAULT_SYNCHRONOUS=3 /DHAVE_USLEEP=1 /DSQLITE_DEFAULT_MEMSTATUS=0 /DSQLITE_OMIT_DECLTYPE /DSQLITE_OMIT_DEPRECATED /DSQLITE_OMIT_PROGRESS_CALLBACK /DSQLITE_OMIT_SHARED_CACHE /DSQLITE_TEMP_STORE=2 /DSQLITE_OMIT_LOAD_EXTENSION /DSQLITE_ENABLE_FTS3 /DSQLITE_ENABLE_FTS3_PARENTHESIS /DSQLITE_ENABLE_FTS4 /DSQLITE_ENABLE_FTS5 /DSQLITE_ENABLE_RTREE /DSQLITE_ENABLE_JSON1 /DSQLITE_DEFAULT_PAGE_SIZE=4096 /DSQLITE_DEFAULT_CACHE_SIZE=-2000 /DSQLITE_OS_WINRT %(AdditionalOptions)</AdditionalOptions>
|
|
14
|
+
<AdditionalOptions>/DSQLITE_THREADSAFE=1 /DSQLITE_DEFAULT_SYNCHRONOUS=3 /DHAVE_USLEEP=1 /DSQLITE_DEFAULT_MEMSTATUS=0 /DSQLITE_OMIT_DECLTYPE /DSQLITE_OMIT_DEPRECATED /DSQLITE_OMIT_PROGRESS_CALLBACK /DSQLITE_OMIT_SHARED_CACHE /DSQLITE_TEMP_STORE=2 /DSQLITE_OMIT_LOAD_EXTENSION /DSQLITE_ENABLE_FTS3 /DSQLITE_ENABLE_FTS3_PARENTHESIS /DSQLITE_ENABLE_FTS4 /DSQLITE_ENABLE_FTS5 /DSQLITE_ENABLE_RTREE /DSQLITE_ENABLE_JSON1 /DSQLITE_ENABLE_MATH_FUNCTIONS /DSQLITE_DEFAULT_PAGE_SIZE=4096 /DSQLITE_DEFAULT_CACHE_SIZE=-2000 /DSQLITE_OS_WINRT %(AdditionalOptions)</AdditionalOptions>
|
|
15
15
|
</ClCompile>
|
|
16
16
|
</ItemDefinitionGroup>
|
|
17
17
|
<ItemGroup>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/www/SQLitePlugin.js
CHANGED
|
@@ -794,13 +794,16 @@ Contact for commercial license: sales@litehelpers.net
|
|
|
794
794
|
if (!openargs.name) {
|
|
795
795
|
throw newSQLError('Database name value is missing in openDatabase call');
|
|
796
796
|
}
|
|
797
|
-
if (!openargs.iosDatabaseLocation && !openargs.location && openargs.location !== 0) {
|
|
798
|
-
throw newSQLError('Database location or iosDatabaseLocation setting is now mandatory in openDatabase call.');
|
|
797
|
+
if (!openargs.iosDatabaseLocation && !openargs.location && openargs.location !== 0 && !openargs.androidDatabaseLocation) {
|
|
798
|
+
throw newSQLError('Database location (or iosDatabaseLocation or androidDatabaseLocation) setting is now mandatory in openDatabase call.');
|
|
799
799
|
}
|
|
800
800
|
if (!!openargs.location && !!openargs.iosDatabaseLocation) {
|
|
801
801
|
throw newSQLError('AMBIGUOUS: both location and iosDatabaseLocation settings are present in openDatabase call. Please use either setting, not both.');
|
|
802
802
|
}
|
|
803
|
-
|
|
803
|
+
if (!!openargs.location && !!openargs.androidDatabaseLocation) {
|
|
804
|
+
throw newSQLError('AMBIGUOUS: both location and androidDatabaseLocation settings are present in openDatabase call. Please use either setting, not both. But you *can* use androidDatabaseLocation and iosDatabaseLocation together.');
|
|
805
|
+
}
|
|
806
|
+
dblocation = !!openargs.location && openargs.location === 'default' ? iosLocationMap['default'] : !!openargs.iosDatabaseLocation ? iosLocationMap[openargs.iosDatabaseLocation] : !openargs.location && openargs.location !== 0 ? iosLocationMap['default'] : dblocations[openargs.location];
|
|
804
807
|
if (!dblocation) {
|
|
805
808
|
throw newSQLError('Valid iOS database location could not be determined in openDatabase call');
|
|
806
809
|
}
|
|
@@ -848,17 +851,23 @@ Contact for commercial license: sales@litehelpers.net
|
|
|
848
851
|
}
|
|
849
852
|
args.path = dbname;
|
|
850
853
|
}
|
|
851
|
-
if (!first.iosDatabaseLocation && !first.location && first.location !== 0) {
|
|
852
|
-
throw newSQLError('Database location or iosDatabaseLocation setting is now mandatory in deleteDatabase call.');
|
|
854
|
+
if (!first.iosDatabaseLocation && !first.location && first.location !== 0 && !first.androidDatabaseLocation) {
|
|
855
|
+
throw newSQLError('Database location (or iosDatabaseLocation or androidDatabaseLocation) setting is now mandatory in deleteDatabase call.');
|
|
853
856
|
}
|
|
854
857
|
if (!!first.location && !!first.iosDatabaseLocation) {
|
|
855
858
|
throw newSQLError('AMBIGUOUS: both location and iosDatabaseLocation settings are present in deleteDatabase call. Please use either setting value, not both.');
|
|
856
859
|
}
|
|
857
|
-
|
|
860
|
+
if (!!first.location && !!first.androidDatabaseLocation) {
|
|
861
|
+
throw newSQLError('AMBIGUOUS: both location and androidDatabaseLocation settings are present in deleteDatabase call. Please use either setting, not both. But you *can* use androidDatabaseLocation and iosDatabaseLocation together.');
|
|
862
|
+
}
|
|
863
|
+
dblocation = !!first.location && first.location === 'default' ? iosLocationMap['default'] : !!first.iosDatabaseLocation ? iosLocationMap[first.iosDatabaseLocation] : !first.location && first.location !== 0 ? iosLocationMap['default'] : dblocations[first.location];
|
|
858
864
|
if (!dblocation) {
|
|
859
865
|
throw newSQLError('Valid iOS database location could not be determined in deleteDatabase call');
|
|
860
866
|
}
|
|
861
867
|
args.dblocation = dblocation;
|
|
868
|
+
if (!!first.androidDatabaseLocation) {
|
|
869
|
+
args.androidDatabaseLocation = first.androidDatabaseLocation;
|
|
870
|
+
}
|
|
862
871
|
delete SQLitePlugin.prototype.openDBs[args.path];
|
|
863
872
|
delete SQLitePlugin.prototype.dbidmap[args.path];
|
|
864
873
|
delete SQLitePlugin.prototype.fjmap[args.path];
|
|
Binary file
|
|
File without changes
|