Fixed equality test for query rows whose value is 'doc'

Regression from the emit-doc optimization (03454e8)
Merge pull request #389 from ManuTroquet/master

fix conform path for #import
Added a unit test for emitting nil values. Fixed some Xcode 6 compile issues.
Workaround to keep CBLJSONReader from being dealloced prematurely

I think this will fix #369.
Avoid unnecessary JSON data-to-string conversions during view indexing
Fixed mistake in JSON string collation Unicode ordering

Character comparison was using ASCII order instead of the real Unicode
collation order. (For example, '_' and '~' were sorting after letters
instead of before.)

This commit also bumps the db version number; the next time a database
is opened its view indexes will be cleared, so they'll be re-indexed
with the new ordering instead of getting an inconsistent mixture of the
old and new orderings.
Fixed FMDB submodule commit reference.
Fixed a case where a view query could use -1 instead of the view_id in the SQL query

https://groups.google.com/d/msgid/mobile-couchbase/aa81a906-188f-445f-b67c-3898503e3683%40googlegroups.com
Fixed bugs saving replication checkpoint

* Updating the checkpoint should not be canceled when the replication goes offline or is told to stop.
* The lastSequence stored in the db at the end should be the lastSequence saved remotely, _not_ the current lastSequence (which may have changed.)
* Added a Sync log message when the checkpoint is successfully saved, for future debugging.
Router should not try to parse URL params as JSON for changes feed

From the CouchDB docs it seems pretty clear that the extra URL query params in
_changes feed requests are passed directly as strings to the filter function, without
any JSON parsing.
(See http://docs.couchdb.org/en/latest/couchapp/ddocs.html#filterfun )
Fixes #321
Change CBL_Replicator progress notification postingStyle to NSPostASAP

This will deliver progress information more quickly.
Fixes #396
Made CBLWebSocketChangeTracker work correctly with CBLAuthorizer

Also found that it didn't work correctly if usePOST property wasn't set,
so I fixed that too.
Fixes #400
Skip FMDB thread-safety check when running on dispatch queues.

Fixes #376
Better handling of a model's document being deleted

* Clear all properties
* Clear needsSave flag, remove from db's docs-to-be-saved set
* Detach from document even if the model didn't initiate the save
* Don't call didLoadFromDocument
Fixes #363
Enable JS filter compiler support

The function CBLRegisterJSViewCompiler() now also registers the JS
filter compiler.
Also, enabled JS filters in LiteServ.
Oops, actually enable JS filters in LiteServ
Allow logging to be redirected, and use NSLog on iOS devices

* Added +[CBLManager redirectLogging:]
* On iOS devices, always log to NSLog, since stderr output doesn't get
  saved anywhere that can be viewed later.
Fixes #395
Sync CBL

Récupération des motifs du projet original