Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
093b642
Followup test fix for iOS Web SQL
Aug 23, 2018
21eb666
Update evcore-native-driver.jar
Sep 25, 2018
80f238b
cordova-sqlite-evcore-common-free doc fixes
Sep 25, 2018
e7ab123
Skip BASE64 test on browser - quick fix for evcore
Sep 25, 2018
52c4f2e
evcore (common) doc updates & fixes
Sep 26, 2018
5e7a348
Internal error message fix for evcore on Android
Sep 26, 2018
d27df71
cordova-sqlite-evcore-extbuild-free doc fixes
Sep 26, 2018
3624e4c
cordova-sqlite-evcore-extbuild-free 0.9.8 - merge release
Sep 26, 2018
18988d5
Fix FTS3 test for Chrome vs Safari browser
Aug 16, 2018
3275bb4
Doc fix for Android/iOS vs browser WebKit feature
Aug 17, 2018
b8b1977
general doc updates
Oct 4, 2018
019d6a6
ALTER tests do not ignore close error on Windows
Oct 4, 2018
8b981a9
some open/close/delete database test fixes
Oct 4, 2018
59f9d31
minor test fixes
Oct 9, 2018
8232262
Windows error test & doc fixes (existing behavior)
Oct 8, 2018
ec500ff
Check actual sqlite version in separate case
Oct 11, 2018
83d4ec7
Planned December 2018 release update notes
Oct 11, 2018
81c1b96
Introduce androidDatabaseProvider: 'system' option
Oct 11, 2018
16f4e3f
evcore-native-driver.jar with crash bug workaround
Oct 21, 2018
175190d
evcore (common) doc fixes
Oct 21, 2018
006f8ab
Comment out plugin on browser test conditions
Oct 22, 2018
5460bdb
INLINE INSERT X'FFD1FFD2' BLOB test fixes
Oct 22, 2018
d83b970
PRAGMA & multiple db combo test fixes
Oct 30, 2018
e4bc8d9
SELECT X'40414243' (INLINE BLOB) test fixes
Oct 30, 2018
054599c
db-simultaneous-tx-access-test.js fixes
Oct 30, 2018
0df2e6d
db-tx-multiple-update-test.js fixes
Oct 30, 2018
38e5e73
SELECT LOWER(X'41F09F9883') test fixes
Oct 30, 2018
e9a7827
SELECT LOWER(X'41EDA0BDEDB88321') test
Oct 30, 2018
024efc8
tests with 25 emojis
Oct 30, 2018
395b989
SELECT LOWER(X'41F0908CB1') string test
Oct 31, 2018
e0654b5
Merge pull request #829 from litehelpers/test-updates-october-2018
Nov 1, 2018
7e077c7
doc update for issue #564
Nov 1, 2018
f4bb0e4
browser platform now planned for November 2018
Nov 1, 2018
2ae8cfe
fix internal plugin cleanup error log on Android
Nov 1, 2018
9912b5c
cordova-sqlite-evcore-common-free 0.0.4-pre1 - merge
Nov 5, 2018
2228954
Fix links in evcore-common version branch
Nov 6, 2018
5c59cf7
use [email protected]
Nov 6, 2018
3578e31
Minor test fixes from evcore common version branch
Nov 6, 2018
c643272
cordova-sqlite-evcore-extbuild-free 0.9.9 - merge release
Nov 6, 2018
655b260
Include SQLite 3.26.0 update
Dec 18, 2018
9314e51
cordova-sqlite-evplus-ext-free 0.3.7 - merge release
Jan 4, 2019
b47b039
Start sqlite-evcustom-browser-memory-storage-ext-free 0.0.2-dev
Jan 7, 2019
97a873b
Merge tag '0.3.7' of https://github.com/mobilexag/cordova-sqlite-evpl…
Jan 8, 2019
7a883c8
.gitignore spec/www/index.js
Jan 8, 2019
e8a42bc
Start sqlite-evcustom-browser-memory-storage-ext-free 0.0.3-dev
Jan 8, 2019
04291ef
enable tests on FTS5, R-Tree, and JSON1
Jan 8, 2019
882109e
sql-memory-growth.js with FTS5, R-Tree, & JSON1
Jan 8, 2019
1f6ac4a
index.js regenerated with custom FTS5/R-Tree/JSON1
Jan 8, 2019
20e3263
Update docs with custom sql.js build
Jan 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_modules
spec/myplugin
spec/plugins
spec/platforms
spec/www/index.js
30 changes: 29 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Changes

# sqlite-evcustom-browser-memory-storage-ext-free 0.0.3-dev

- sql-memory-growth.js with FTS5, R-Tree, and JSON1 enabled from the following custom sql.js branch: <https://github.com/brodybits/sql.js/tree/sqlite-3.26.0-json1>

# sqlite-evcustom-browser-memory-storage-ext-free 0.0.2-dev

# cordova-sqlite-evplus-ext-free 0.3.7

## cordova-sqlite-evcore-extbuild-free 0.9.10

_Not enabled in this project:_

- Include SQLite 3.26.0 update from cordova-sqlite-evcore-free-dependencies 0.8.7

#### cordova-sqlite-storage 2.5.1

_Not enabled in this project:_

- fix internal plugin cleanup error log on Android

#### cordova-sqlite-storage 2.5.0

- androidDatabaseProvider: 'system' setting, to replace androidDatabaseImplementation setting which is now deprecated

### cordova-sqlite-evcore-common-free 0.0.3

- Internal error message fix for evcore on Android

# sqlite-evcustom-browser-memory-storage-ext-free 0.0.1-dev

- New version for browser platform, with use of Cordova __removed__, with SQLite 3.26.0 update from the following branch: <https://github.com/brodybits/sql.js/tree/sqlite-3.26.0-build>
Expand Down Expand Up @@ -109,7 +137,7 @@

## cordova-sqlite-evcore-extbuild-free 0.9.2

### cordova-sqlite-storage 2.2.0
#### cordova-sqlite-storage 2.2.0

- Fix SQLiteAndroidDatabase implementation for Turkish and other foreign locales

Expand Down
154 changes: 75 additions & 79 deletions README.md

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions SQLitePlugin.coffee.md
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,18 @@
if !!openargs.createFromLocation and openargs.createFromLocation == 1
openargs.createFromResource = "1"

if !!openargs.androidDatabaseProvider and !!openargs.androidDatabaseImplementation
throw newSQLError 'AMBIGUOUS: both androidDatabaseProvider and deprecated androidDatabaseImplementation settings are present in openDatabase call. Please drop androidDatabaseImplementation in favor of androidDatabaseProvider.'

if openargs.androidDatabaseProvider isnt undefined and
openargs.androidDatabaseProvider isnt 'default' and
openargs.androidDatabaseProvider isnt 'system'
throw newSQLError "Incorrect androidDatabaseProvider value. Valid values are: 'default', 'system'"

if !!openargs.androidDatabaseProvider and openargs.androidDatabaseProvider is 'system'
openargs.androidOldDatabaseImplementation = 1

# DEPRECATED:
if !!openargs.androidDatabaseImplementation and openargs.androidDatabaseImplementation == 2
openargs.androidOldDatabaseImplementation = 1

Expand Down
69 changes: 39 additions & 30 deletions index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sqlite-evcustom-browser-memory-storage-ext-free",
"version": "0.0.1-dev",
"version": "0.0.3-dev",
"description": "SQLite evcustom browser memory storage - emulation of Cordova/PhoneGap sqlite storage plugin on browser - custom enterprise version with premium performance improvements and extra features",
"main": "index.js",
"cordova-disabled": {
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="sqlite-evcustom-browser-memory-storage-ext-free"
version="0.0.1-dev">
version="0.0.3-dev">

<name>SQLite evcustom browser memory storage - emulation of Cordova/PhoneGap sqlite storage plugin on browser - custom enterprise version with premium performance improvements and extra features</name>

Expand Down
4 changes: 4 additions & 0 deletions spec/www/spec/base64-encode-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ var isAndroid = !isWindows && /Android/.test(navigator.userAgent);
// XXX
var isFirefox = /Firefox/.test(navigator.userAgent);
var isWebKitBrowser = !isWindows && !isAndroid && /Safari/.test(navigator.userAgent);
// XXX TBD QUICK FIX ???:
// var isBrowser = (/Firefox/.test(navigator.userAgent)) || (!isWindows && !isAndroid && /Safari/.test(navigator.userAgent));
var isBrowser = isWebKitBrowser || isFirefox;

// NOTE: In the common storage-master branch there is no difference between the
Expand All @@ -26,6 +28,8 @@ var scenarioCount = (!!window.hasWebKitBrowser) ? (isAndroid ? 3 : 2) : 1;
var mytests = function() {

for (var i=0; i<scenarioCount; ++i) {
// XXX QUICK FIX:
if (isBrowser) continue;

describe(scenarioList[i] + ': BASE64 encoding test(s)', function() {
var scenarioName = scenarioList[i];
Expand Down
4 changes: 0 additions & 4 deletions spec/www/spec/basic-db-tx-sql-storage-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -985,8 +985,6 @@ var mytests = function() {
addColumnTest();
} else {
createdb.close(addColumnTest, function(e) {
// XXX TBD IGNORE close error on Windows:
if (isWindows) return addColumnTest();
// ERROR RESULT (NOT EXPECTED):
expect(false).toBe(true);
expect(e).toBeDefined();
Expand Down Expand Up @@ -1045,8 +1043,6 @@ var mytests = function() {
tableRenameTest();
} else {
createdb.close(tableRenameTest, function(e) {
// XXX TBD IGNORE close error on Windows:
if (isWindows) return tableRenameTest();
// ERROR RESULT (NOT EXPECTED):
expect(false).toBe(true);
expect(e).toBeDefined();
Expand Down
1 change: 1 addition & 0 deletions spec/www/spec/browser-check-startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var hasMobileWKWebView = isAppleMobileOS && !!window.webkit && !!window.webkit.m
window.hasBrowser = true;

// XXX TBD ???:
// window.hasWebKitWebSQL = isAndroid || (isAppleMobileOS && !hasMobileWKWebView) || (isWebKitBrowser && !isEdgeBrowser);
window.hasWebKitWebSQL = (window.cordova) ?
isAndroid || (isAppleMobileOS && !isWKWebView) || (isWebKitBrowser && !isEdgeBrowser) : false

Expand Down
Loading