| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
* Log pending writes when we disable the network
* Fix formatting
* Formatting
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* Remove optional parens around ifs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Add helper for waiting for FSTVoidErrorBlock callbacks.
* Remove errorEventHandler from FSTEventAccumulator.h too.
* Add synchronous enableNetwork / disableNetwork helpers.
* Workaround for batch writes test flakiness.
|
|\
| |
| | |
Fixing return type of verifySnapshotWithResolvedTimestamps
|
|/
|
|
| |
This should address a crash that happens when a debugger is attached
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| | |
Adding missing SnapshotOptions method
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
Making DocumentSnapshot.data() nullable
|
| | |
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Adding Server Timestamp Options
|
| | | |
|
| |\ \
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Merge branch 'master' into firestore-api-changes
|
| | | | |
|
| | | | |
|
|/| | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* revisit FIRWriteBatch commit
* make commitWithCompletion completion nullable;
* add commit;
* add unit test;
* add swift build test for commit;
* update CHANGELOG.
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Import absl/base/internal/endian.h
|
| | | | | |
|
| | | | |\
| |_|_|_|/
|/| | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Running scripts/style.sh
|
| | | | | |\
| |_|_|_|_|/
|/| | | | | |
|
|/ / / / / |
|
|\| | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
Running scripts/style.sh
|
| |/ / / / |
|
| |_|_|/
|/| | | |
|
| | | | |
|
| | |\ \
| | |/ /
| |/| | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Import a minimal subset of abseil
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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.
|
| | | | | |
|
|\| | | | |
|
| | | | | |
|