Commit Graph

94 Commits

Author SHA1 Message Date
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
e4551738b7 Mark tests of rowsAffected for issue #22 2012-05-05 23:26:40 +02:00
Chris Brody
8dc11f6c1c Rename test function 2012-05-05 23:18:06 +02:00
Chris Brody
c398c471e3 Move Simple-DroidGap-test to xtra-DroidGap-test 2012-05-05 23:17:28 +02:00
Chris Brody
86dd8391bf Reproduce #18 for UPDATE and DELETE (see #4) 2012-05-05 22:25:05 +02:00
Chris Brody
be6834720b Fix for #18 for INSERT statement ONLY for Simple-DroidGap-test 2012-05-05 22:09:01 +02:00
Chris Brody
67cd416c70 Original DroidGap version in Simple-DroidGap-test to work on issue #18 2012-05-05 21:22:39 +02:00
Chris Brody
406017ce80 Reproduce issue #18 on Android in test-www 2012-05-05 18:19:54 +02:00
Chris Brody
6c3d286727 Document unit testing in README.md (issue #4) 2012-05-05 18:07:15 +02:00
Chris Brody
ed962b8a13 Expand unit test, working OK for iOS (found an error to be fixed on Android) 2012-05-05 17:57:12 +02: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
aa46459410 Reflect change to SQLitePlugin.js diff in README.md 2012-04-22 08:25:59 +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
f331e67262 Remove old iOS Lawnchair adapter, cleanup, etc. 2012-04-21 15:43:36 +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
0016e34657 Rename Cordova-iOS --> iOS, update README.md 2012-04-13 16:40:23 +02:00
Chris Brody
8dc850f489 Update README.md, fix SQLitePlugin.h for Cordova 2012-04-13 14:23:03 +02:00
Chris Brody
73472f7871 Merge pull request #2 from mineshaftgap/patch-2
Make Cordova 1.6 compatible
2012-04-12 13:37:38 -07:00
Chris Brody
be092c1d3f Cleanup project: remove old DroidGap, PGSQLite versions, iOS from @marcucio is PG1.4- (had no batching improvements) 2012-04-12 14:46:56 +02:00
Chris Brody
fd3eaad9c2 Cleanup README.md for current state, moved sample and added missing brace 2012-04-12 14:17:59 +02:00
Chris Brody
09018aafa0 Fix README.md to reflect new iOS version by @marcucio 2012-04-12 14:07:02 +02:00
Chris Brody
633522b7b9 Merge branch 'master' of github.com:chbrody/Cordova-SQLitePlugin 2012-04-11 20:52:12 +02:00
Chris Brody
5a1bf38dd8 Fix README.md, rename DroidGap to DroidGap-old 2012-04-11 20:51:14 +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
Chris Brody
d24062b58e From @mineshaftgap: patch to work with iOS Cordova 1.6 2012-04-11 08:00:50 +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
Chris Brody
81745981e0 Update README.md for DroidGap changes, common Lawnchair adapter 2012-04-09 20:41:07 +02: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
Chris Brody
7402f0d3ad sqlitePlugin.openDatabase() instead of window.my_openDatabase() in Android (DroidGap) version, fix Droid lawnchair adapter 2012-04-09 18:40:51 +02:00