Permalink
Switch branches/tags
Commits on Apr 18, 2018
  1. [docs] .and() clause (#2143)

    jamiltz authored and pasin committed Apr 18, 2018
    * [docs] `.and() clause`
    
    * [docs] update per review.
  2. [docs] review and authentication docs (#2138)

    jamiltz authored and pasin committed Apr 18, 2018
    * update supported version
    
    * [docs] update paragraphs
    
    * [docs] rel notes
    
    * [docs] update paragraphs
    
    * [docs] authentication docs
    
    https://issues.couchbase.com/browse/DOC-3397
    
    * EE/CE Objc
    
    * EE/CE swift
    
    * fix
    
    * Update API doc references
    
    * Update Carthage and Cocoapods instruction
    
    * Update Carthage instructions
    
    * Update cocoapods instruction for Swift
    
    * [docs] mention about ordering during replication
    
    * [docs] fix spacing, and code snippet per review.
    
    * [docs] `.toDictionary()` method and document change events
    
    * [docs] thread safety comment
    
    https://issues.couchbase.com/browse/DOC-2954
Commits on Apr 16, 2018
  1. Re-fix #2140 that the completionHanlder when reading data from stream…

    pasin committed Apr 16, 2018
    … was called in loop
    
    Detect if the data has zero length and atEOF is true, then close the socket with kWebSocketCloseProtocolError error.
  2. Remove ignore error check from CBLWebSocket when checking an error

    pasin committed Apr 16, 2018
    * The ignore error check has already been done in -didCloseWithError: which is the place where ignoring error is matter. We could remove the ignore error check from -checkError: method.
    * This will fix #2140  that readHTTPResponse is called in loop when getting ENOTCONN error in some circumstances.
  3. Fix CBLDatabaseEndpoint not found error

    pasin committed Apr 16, 2018
    Applied #ifdef COUCHBASE_ENTERPRISE when importing CBLDatabaseEndpoint.h.
Commits on Apr 15, 2018
  1. Update DatabaseEncryptionTest per API change

    pasin committed Apr 15, 2018
    Updated DatabaseEncryptionTest as Database’s setEncryptionKey(key) has been changed to changeEncryptionKey(key).
Commits on Apr 13, 2018
Commits on Apr 12, 2018
  1. Update podspecs and readme

    pasin committed Apr 12, 2018
    As we released 2.0.0, update podspecs and readme.
  2. Update LiteCore to latest

    pasin committed Apr 12, 2018
Commits on Apr 11, 2018
  1. Fix using incorrect comment marker in CouchbaseLite-EE.exp

    pasin committed Apr 11, 2018
    Used # instead of //
  2. Implement replicator reset checkpoint feature

    pasin committed Apr 11, 2018
    * Implemented replicator reset checkpoint feature.
    * Updated LiteCore.
    
    #2139
  3. Restructure EE source code in XCode project

    pasin committed Apr 11, 2018
    Instead of adding individual files to the project, added Objective-C and Swift folder.
  4. Move DatabaseEndpoint to EE repo

    pasin committed Apr 11, 2018
    * Moved DatabaseEndpoint implementation to EE repo.
    * Seperated CouchbaseLite.h into CE and EE version.
    * Seperated CouchbaseLiteSwift.modulemap into CE and EE version.
    * Fixed target dependencies in unit test targets.
Commits on Apr 10, 2018
  1. Move Carthage to Release folder

    pasin committed Apr 10, 2018
  2. Add Carthage’s binary project definition files

    pasin committed Apr 10, 2018
    Added Carthage’s binary project definition files for community and enterprise edition.
  3. Refactored change notification into CBLChangeNotifier (#2132)

    snej authored and pasin committed Apr 10, 2018
    * Refactored change notification into CBLChangeNotifier
    
    CBLChangeNotifier manages a set of CBLChangeListenerTokens, and
    broadcasts change objects to them.
    Made CBLChangeListenerToken more self-contained by having it call the
    block itself.
    Replaced the listener-handling code in CBLDatabase, CBLReplicator and
    CBLLiveQuery with CBLChangeNotifier.
    Created CBLDocumentChangeNotifier to manage per-document change
    notification, so it can keep track of the C4DocumentObserver instead
    of CBLDatabase.
    Removed some old incorrect logic about not posting document-changed
    notifications if the database is in a transaction.
    
    # Conflicts:
    #	CouchbaseLite.xcodeproj/project.pbxproj
    
    * Update license headers
  4. update supported version (#2137)

    jamiltz authored and pasin committed Apr 10, 2018
Commits on Apr 9, 2018
Commits on Apr 6, 2018
  1. Update license for EE source codes

    pasin committed Apr 6, 2018
    - Updated license to CBLDatabaseEndpoint.{h,m}.
    - Made DatabaseEndpoint.swift into its own file and updated license.
Commits on Apr 5, 2018
  1. Correct version in podspec files

    pasin committed Apr 5, 2018
    2.0DB21 -> 2.0DB23
  2. [docs] review (#2131)

    jamiltz authored and pasin committed Apr 5, 2018
    * [docs] getting started
    
    * [docs] changes per review
    
    * [docs] objc getting started
    
    * [docs] review from @waynecarter
    
    * [docs] apply changes to objc guide.
    
    * [docs] update headers, id prefix format.
    
    * [docs] ifndef statement to remove TOC on site.
Commits on Apr 3, 2018
  1. Fix Swift URLEndpoint not immediately validate the URL scheme

    pasin committed Apr 3, 2018
    The URL scheme validation is in the Objective-C CBLURLEndpoint. Fixed the issue by creating the CBLURLEndpoint in the URLEndpoint’s contructor.
    
    #2119
Commits on Mar 31, 2018
  1. Change SWIFT_VERSION to 3.3

    pasin committed Mar 31, 2018
Commits on Mar 29, 2018
  1. [docs] live query (#2124)

    jamiltz authored and pasin committed Mar 29, 2018
    * [docs] live query example
    
    * [docs] cleanup list
    
    * [docs] add toc directive
    
    * [docs] create examples folder but ignore everything inside it.
    
    * [docs] update per review
    
    * [docs] changes per review
  2. Added test left join with select * both side

    pasin committed Mar 29, 2018
    - This is the test for // couchbase/couchbase-lite-core#497.
    - Disabled as failure.
Commits on Mar 28, 2018
  1. Update LiteCore to CBL2.0.0-RC2

    pasin committed Mar 28, 2018
  2. Fix replicator not retrying when having a network error but host may …

    pasin committed Mar 28, 2018
    …be reachable
    
    There could be a case that sending an HTTP request to the remote results to a new work error but the host may be still reachable. For continuous replicators, we should always retry if the host may be reachable.
    
    #2121
  3. Made the reachability always notify the status after start

    pasin committed Mar 28, 2018
    Explicitly notified the status after starting the reachability when the reachability status is known. This will fix the issue that the reachability status may not get notified when starting a newly created CBLReachability instance.
  4. Fix NetworkDomain not getting converted to CBLErrorDomain

    pasin committed Mar 28, 2018
    - Currently NetworkDomain was converted to nil, as a result, all network errors didn’t get converted correctly; Converted NetworkDomain to CBLErrorDomain.
    - Updated testSelfSignedSSLFailure_SG.
Commits on Mar 26, 2018
  1. Use Assert instead of NSAssert in URLEndpoint and Blob when validatin…

    pasin committed Mar 26, 2018
    …g values
    
    NSAssert will be disable in release mode. Use Assert instead.
    
    #2119
  2. Add script for stripping frameworks and dSYM files

    pasin committed Mar 26, 2018
    This is a script to add to the build phase in order to strip non-valid architecture types from the frameworks and dSYM files if added to the built product directory. This is require when archiving the app for submission as currently XCode will not strip non-valid archs (e.g. simulator acrch).
    
    The next step is to figure out where to distribute this file: [1] in release zip or [2] in the framework bundle inself.
    
    #1610