On Wednesday, July 30, 2014 6:42:53 PM UTC-7, J. Chris Anderson wrote: > > > > On Wednesday, July 30, 2014 6:40:31 PM UTC-7, J. Chris Anderson wrote: >> >> >>> Eagerly awaiting Chris to rebuild the phone gap plugin. >>> >>> How do I know when this gets done? >>> >> >> Here is a 1.0.2 RC build for the phonegap plugin <http://cbfs-ext.hq.couchbase.com/builds/Couchbase-Lite-PhoneGap-Plugin_1.0.2-35.zip> that includes Jens patch <https://github.com/couchbaselabs/couchbase-lite-phonegap-plugin-builder/commit/844c64eb5459ee3e48921f9727aa26bba8565663>. You can download and unzip it, and then use the full path to the unzipped directory, instead of a git URL for the PhoneGap plugin installer.
I'll verify it after lunch but I'm 99% sure it is great so give it a try. Once it passes verification here I'll update the git and cordova repos. Let me know how that goes. Chris > On my plate for this week is to cut a 1.0.1 release of PhoneGap (I don't >> think this will have your fixes, but as soon as I have 1.0.1 done I'll >> start work on 1.1) 1.1 will include the filter stuff. It will also drop >> support for iOS 6. (Although we could maintain a parallel version that >> supports iOS 6 if there is strong demand.) >> >> So my guess is that we'll have something you can play with early next >> week. Here's the bug to follow / ping me on if it takes longer than a week. >> >> > Sent too early. Here is the link > <https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin/pull/32>. > You could also try applying this locally. (In every copy of CBLite.m you > can find!) > <https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin/commit/b51888908204ec3306697a20e48414cf20183176> > > > >> Chris >> >> Chris >> >> >>> >>> slim >>> >>> On Tuesday, July 29, 2014 7:30:06 PM UTC-4, Jens Alfke wrote: >>>> >>>> >>>> On Jul 29, 2014, at 4:14 PM, Jens Alfke <[email protected]> wrote: >>>> >>>> I just took a minute to debug this. The answer is simply that there >>>> isn't any support (yet) for JavaScript-based filters. The JavaScriptCore >>>> integration only supports views (map and reduce functions) so far. >>>> >>>> >>>> Oops, not true, Should have looked at the source more closely. JS >>>> filters *are* already implemented, it’s just that the top-level >>>> function that registers JS compilers only registers the view compiler, not >>>> the filter compiler. This just took a couple of lines to fix, so I’ve >>>> checked it in (commit 812cf64.) >>>> >>>> However, the PhoneGap container/plugin will have to be rebuilt (with >>>> this commit) before PhoneGap apps can use this. I don’t know how to do >>>> that, but Chris does… >>>> >>>> —Jens >>>> >>> -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/c823ca7e-6fa7-4175-8be7-6cd4a4d6a44e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
