Commit Graph

53 Commits

Author SHA1 Message Date
Chris Brody
80bc96f4d4 Cleanup Java code 2012-12-19 00:01:14 +01:00
Chris Brody
810e1f4252 Send full db open arguments object to Java 2012-12-18 22:21:01 +01:00
Chris Brody
ed46dd7952 New, optional interface to open sqlite plugin db 2012-12-17 22:23:40 +01:00
Chris Brody
755b681857 Add close functionality by @chehabz (#10) 2012-12-17 21:00:12 +01:00
Chris Brody
c24726173f Get Android db path separately from SQLiteDatabase.openOrCreateDatabase() 2012-12-17 20:38:47 +01:00
Chris Brody
102d732102 Extends CordovaPlugin to fix #8, minor cleanups 2012-12-16 15:46:02 +01:00
Chris Brody
ae86164ec6 Cleanups in CoffeeScript & JS callbacks 2012-12-05 22:05:48 +01:00
Chris Brody
bdf5ba7cb0 Improved handling of null objects; refactoring & cleanup 2012-12-05 20:56:16 +01:00
Chris Brody
ca74669116 Fix Android version to handle multiple databases (#2) 2012-12-04 21:18:15 +01:00
Chris Brody
938bce69b8 Add first, elementary support for PRAGMA on Android 2012-12-03 23:13:34 +01:00
Chris Brody
5cd0e5b3f8 Fix SQLitePlugin.js for Cordova/PhoneGap 2.2 2012-12-03 20:52:29 +01:00
Chris Brody
9c019be5c7 Disable optimization_no_nested_callbacks by default 2012-12-01 21:14:32 +01:00
Chris Brody
825e92cd89 Fix Android version to bind compiled statement to the parameters 2012-08-05 20:07:03 +02:00
Chris Brody
f1cf60ea2d Comment out change for issue 18 until SQLiteStatement parameter binding is fixed 2012-08-05 18:53:00 +02:00
Chris Brody
7a93d8d849 Fix #18/#38: insertId for INSERT reported for Android 2012-08-04 15:10:10 +02:00
Chris Brody
970665277a Cleanup after fix of #36, setStorage() completely gone for Android 2012-07-29 00:07:51 +02:00
Chris Brody
be3d64e7c7 Fix #36 Android database now in correct location 2012-07-29 00:05:20 +02:00
Chris Brody
5b725d5cd1 Small fix from Storage.java, from incubator-cordova-android 2012-07-23 22:47:23 +02:00
steve
919c8e1725 missed a usage. 2012-06-16 23:32:08 -06:00
steve
8c07014428 added another parameter to switch file path logic for where a database can be. Could probably do in try/catch but ... also removed dependency on .db in code. ".db" is not always the extension of a sqlite database so it shouldn't be hard coded. user can specify in calling code. 2012-06-16 23:28:40 -06:00
steve
5c55e10ff1 Updating to Cordova 1.8.x replacing PhoneGap with cordova 2012-06-16 18:08:31 -06:00
steve
3a851b8537 updated imports for cordova 1.8.x 2012-06-16 17:53:36 -06:00
Chris Brody
8648019488 Move test to test-www 2012-05-05 17:28:59 +02:00
Chris Brody
92e9fda954 Fix indenting of test function 2012-05-05 17:27:18 +02:00
Chris Brody
aa59fdd5e2 Start adding qunit testing to test index.html 2012-05-05 17:22:34 +02:00
Chris Brody
a92d87ff22 index.html with test from README.md 2012-05-05 17:06:30 +02:00
Chris Brody
03242c7359 Use JS as generated from CS in Android 2012-04-22 08:22:47 +02:00
Chris Brody
2d8f867990 Cleanup coffeescript for Android 2012-04-22 08:20:16 +02:00
Chris Brody
d773caafd8 Cleanup SQLitePlugin-orig.js Android, round-trip JS-CS-JS now working 2012-04-22 07:44:21 +02:00
Chris Brody
4f2c50bcc5 Keep orig JS and coffee version for Android version 2012-04-22 07:32:46 +02:00
Chris Brody
be688e8869 Cleanup Android JS remove some extra block scope 2012-04-22 07:27:44 +02:00
Chris Brody
b0de36dfc2 Fix default this.optimization_no_nested_callbacks = true (Android) 2012-04-22 06:40:15 +02:00
Chris Brody
cf7c28b75f Cleanup documentation of nesting, remove old version, etc. 2012-04-21 19:30:46 +02:00
Chris Brody
1f628821b1 Cleanup comments for this.optimization_no_nested_callbacks (Android version) 2012-04-21 19:14:23 +02:00
Chris Brody
49a86d7fd3 Remove old README Android/SQLitePlugin and iOS/SQLitePlugin from merge 2012-04-13 16:46:31 +02:00
Chris Brody
878208585d Merge branch 'master' into batch-merge 2012-04-13 16:41:12 +02:00
Chris Brody
645d1f37f3 Updates for Android version to match working @chbrody test environment 2012-04-11 20:41:00 +02:00
Chris Brody
410dd0d35f New Android version from @marcucio with major improvements in batch processing 2012-04-11 20:34:39 +02:00
Mike
ba20782784 we need to check the API version of the device before making some of these calls 2012-04-10 21:56:36 -04:00
Mike
597cafd93c changing the default for this optimization, it seems more stable 2012-04-10 21:55:58 -04:00
Mike
b68bfe5ec5 added a flag to turn on or off an optimization depending on how you use the library 2012-04-09 22:53:37 -04:00
Mike
2a98efb74b we now return the correct type for the rows 2012-04-09 20:52:27 -04:00
Mike
406c5cb8af code cleanup 2012-04-09 17:29:38 -04:00
Mike
0760c53232 added sqlitePlugin.openDatabase("my_sqlite_database.sqlite3") to the api 2012-04-09 17:29:06 -04:00
Mike
5d989021a5 fixed bug with null callback 2012-04-09 17:11:26 -04:00
Mike
c3a7894788 removed unused code 2012-04-09 14:03:05 -04:00
Mike
42225eac36 fixed nested callback bug 2012-04-09 13:40:43 -04:00
Mike
90b6902852 fixed bug with null params 2012-04-08 21:51:06 -04:00
Mike
d8618055c0 changed readme 2012-04-08 12:08:30 -04:00
Mike
adeebc1173 optimization - we don't want to call back into the js if the query had no callback 2012-04-08 12:02:24 -04:00