aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Log pending writes when we disable the network (#604)Gravatar Greg Soltis2018-01-02
| | | | | | | | * Log pending writes when we disable the network * Fix formatting * Formatting
* Fix races in lazy initialization of the client in FIRFirestore (#579)Gravatar Gil2017-12-20
| | | | | | | | * Fix races in lazy initialization of the client in FIRFirestore Note that lazy initialization is required because we allow the user to assign to settings after instantiation before any methods are used. Also bring method naming closer to the android port.
* Rename all the onlineStateChanged methods to applyChangedOnlineState. (#574)Gravatar Michael Lehenbauer2017-12-19
|
* Firestore `isEqual()` on Public Types (#569)Gravatar zxu2017-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add bone code for new isEqual and unit test for old isEqual * add bone code for `FIRCollectionReference`, `FIRDocumentSnapshot`, `FIRFieldValue`, `FIRQuerySnapshot`, `FIRSnapshotMetadata`; * change inconsistenciness of `FIRFieldPath.isEqual` implementation; * add unit test (and file) for `FIRDocumentReferenceTest.m`, `FIRFieldPathTest.m`, `FIRQueryTests.testEquals`; `FIRGeoPoint` already has test and Blob is internal type. * Implement isEqual for FIRCollectionReference adding the working code and unit test. * implement isEqual for FIRSnapshotMetadata * Implement isEqual for FIRDocumentSnapshot * Implement isEqual for FIRQuerySnapshot * (un)implement `isEqual` for `FIRFieldValue` Since `FIRFieldValue` both types are singleton, we do not need override `isEqual`. Add test to test the default `NSObject` `isEqual` works just fine. * fix style with `scripts/style.sh` * Implement hash for those with overridden isEqual without hash yet. * refactor to use test helper functions -- FSTTestFirestore, FSTTestPath, FSTTestDocKey * refactor using test helper `FSTTestDocSnapshot`, `FSTTestFieldPath`, `FSTTestQuery`, `FSTTestDoc` * refactoring to use test helper method `FSTTestQuerySnapshot`, * remove unneccessary nil-check, check isKindOfClass instead of isEqual * refactoring: adding `FSTAPIHelpers.{h,m}`, `FSTTest{Collection,Document}Ref`, better naming and style fix * a file forgot in last commit * mainly clean up import and some minor refactoring * fix style via style.sh * minor style fix * add pragma ignored -Wnonnull
* Clean up warnings (#578)Gravatar Gil2017-12-18
| | | | | * Clean up warnings * Remove optional parens around ifs
* Expose network management (#566)Gravatar Greg Soltis2017-12-18
| | | | | | | | | | | | | | | | | | * Expose network management in public API * Clean up a few more references to the internal access of network management * Move test * Update comments * Swap _Nullable for nullable * Fix comment * Add tests, including swift * Styling
* Test cleanup: Adds a helper for waiting for FSTVoidErrorBlock callbacks.Gravatar Michael Lehenbauer2017-12-18
| | | | | | | * Add helper for waiting for FSTVoidErrorBlock callbacks. * Remove errorEventHandler from FSTEventAccumulator.h too. * Add synchronous enableNetwork / disableNetwork helpers. * Workaround for batch writes test flakiness.
* Merge pull request #577 from firebase/mrschmidt-testfixGravatar Sebastian Schmidt2017-12-18
|\ | | | | Fixing return type of verifySnapshotWithResolvedTimestamps
| * Fixing return type of verifySnapshotWithResolvedTimestampsGravatar Sebastian Schmidt2017-12-18
|/ | | | This should address a crash that happens when a debugger is attached
* b/68276665: Raise isFromCache=true events when offline (#567)Gravatar Michael Lehenbauer2017-12-15
| | | | | | | | | | | | | | | | * Plumbs FSTOnlineState changes through to views. * View sets this.current to false on FSTOnlineStateFailed, triggering isFromCache=true events. It will automatically be returned to true once the listen is reestablished and we get a new CURRENT message. * Updated tests (and added one new one) to verify behavior. * Unifies setOnlineStateToUnknown, setOnlineStateToHealthy, and updateAndBroadcastOnlineState into a single updateOnlineState method. * Split disableNetwork into (public) disableNetwork and (private) disableNetworkWithTargetOnlineState methods.. * Some miscellaneous comment cleanup. * Add missing comment per CR feedback.
* Merge pull request #565 from firebase/mrschmidt-missingmethodsGravatar Sebastian Schmidt2017-12-15
|\ | | | | Adding missing SnapshotOptions method
| * Adding Swift build testGravatar Sebastian Schmidt2017-12-14
| |
| * Adding missing SnapshotOptions methodGravatar Sebastian Schmidt2017-12-13
| |
* | Fix new warnings w.r.t. predicate query change (#555)Gravatar zxu2017-12-12
|/
* Adding missing word in commentGravatar Sebastian Schmidt2017-12-12
|
* Merge pull request #553 from firebase/mrschmidt-nullableGravatar Sebastian Schmidt2017-12-11
|\ | | | | Making DocumentSnapshot.data() nullable
| * Using 100 as line length for commentsGravatar Sebastian Schmidt2017-12-12
| |
| * MergeGravatar Sebastian Schmidt2017-12-12
| |\ | |/ |/|
* | Merge pull request #537 from firebase/mrschmidt-timestampsGravatar Sebastian Schmidt2017-12-11
|\ \ | | | | | | Adding Server Timestamp Options
| * | Moving changelogGravatar Sebastian Schmidt2017-12-12
| | |
| * | Merge branch 'firestore-api-changes' into mrschmidt-timestampsGravatar Sebastian Schmidt2017-12-12
| |\ \ | |/ / |/| |
| | * Addressing commentsGravatar Sebastian Schmidt2017-12-12
| | |
* | | Merge pull request #557 from firebase/wilhuff/mergeGravatar Gil2017-12-11
|\ \ \ | | | | | | | | Merge branch 'master' into firestore-api-changes
| | * | Addressing commentsGravatar Sebastian Schmidt2017-12-12
| | | |
| | * | Adding GenericsGravatar Sebastian Schmidt2017-12-12
| | | |
| * | | Merge branch 'master' into firestore-api-changesGravatar Marek Gilbert2017-12-11
|/| | |
| * | | Update CHANGELOG for Firestore v0.9.4 (#556)Gravatar Gil2017-12-11
| | | |
* | | | Revisit commit method in FIRWriteBatch (#541)Gravatar zxu2017-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * revisit FIRWriteBatch commit * make commitWithCompletion completion nullable; * add commit; * add unit test; * add swift build test for commit; * update CHANGELOG.
| * | | Modified FirebaseAppStoreURLCheckEnabled Key. (#554)Gravatar Ryan Wilson2017-12-11
| | | |
| * | | Merge pull request #550 from firebase/wilhuff/abseil-importGravatar Gil2017-12-11
| |\ \ \ | | | | | | | | | | Import absl/base/internal/endian.h
| | | | * Comment fixGravatar Sebastian Schmidt2017-12-10
| | | | |
| | | | * Merge branch 'firestore-api-changes' into mrschmidt-nullableGravatar Sebastian Schmidt2017-12-10
| | | | |\ | |_|_|_|/ |/| | | |
| | | | * Clang formatGravatar Sebastian Schmidt2017-12-10
| | | | |
* | | | | Merge pull request #552 from firebase/mrschmidt-clangGravatar Morgan Chen2017-12-10
|\ \ \ \ \ | | | | | | | | | | | | Running scripts/style.sh
| | | | | * Merge branch 'firestore-api-changes' into mrschmidt-nullableGravatar Sebastian Schmidt2017-12-10
| | | | | |\ | |_|_|_|_|/ |/| | | | |
| * | | | | Running scripts/style.shGravatar Sebastian Schmidt2017-12-10
|/ / / / /
* | | | | Merge branch 'master' into firestore-api-changesGravatar Sebastian Schmidt2017-12-10
|\| | | |
| * | | | Merge pull request #551 from firebase/mrschmidt-formatGravatar Morgan Chen2017-12-10
| |\ \ \ \ | | | | | | | | | | | | Running scripts/style.sh
| | * | | | Running scripts/style.shGravatar Sebastian Schmidt2017-12-10
| |/ / / /
| | | | * Making DocumentSnapshot nullableGravatar Sebastian Schmidt2017-12-10
| |_|_|/ |/| | |
| | * | Add absl/base/internal/endian.h back into the buildGravatar Marek Gilbert2017-12-09
| | | |
| | * | Merge branch 'master' into abseil-importGravatar Marek Gilbert2017-12-09
| | |\ \ | | |/ / | |/| |
| | * | Import absl/base/internal/endian.hGravatar Marek Gilbert2017-12-09
| | | |
| * | | Merge pull request #543 from firebase/wilhuff/abseilGravatar Gil2017-12-09
| |\ \ \ | | | | | | | | | | Import a minimal subset of abseil
| | | | * Fixing commentGravatar Sebastian Schmidt2017-12-08
| | | | |
| | | | * Adding default optionGravatar Sebastian Schmidt2017-12-08
| | | | |
| * | | | Add an Info.plist flag to disable App Store Sandbox check. (#547)Gravatar Ryan Wilson2017-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add an Info.plist flag to disable TestFlight check. This can save a small amount of memory during startup time. * Change the flag name to the intended usage. * Explicitly check for NSNumber.
| * | | | Double auth unit test timeout to address travis flakiness (#548)Gravatar Paul Beusterien2017-12-08
| | | | |
* | | | | Merge branch 'master' into firestore-api-changesGravatar Sebastian Schmidt2017-12-08
|\| | | |
| * | | | Fix FCM build warning introduced in Xcode 9 (#546)Gravatar Paul Beusterien2017-12-08
| | | | |