Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Port comparison to C++ (#678) | Gil | 2018-01-19 |
| | | | | | | | | | | | | | | | This reimplements our comparison functions as C++ Comparators and then provides compatibility shims for interoperating with existing Objective-C usage. A few specialized comparators aren't suitable for porting but only have a single usage (e.g. CompareBytes for comparing NSData * instances). In these cases I've moved them into the caller. * Use int32_t for typeof(ID) in FSTDocumentReference * Migrate callers of FSTComparison.h to Objective-C++ * Port comparison to C++ * Migrate usages of FSTComparison.h to C++ equivalents * Remove FSTComparison | ||
* | Run style.sh (#636) | Michael Lehenbauer | 2018-01-10 |
| | | | | Run style.sh (w/ clang-format version 6) | ||
* | Firestore `isEqual()` on Public Types (#569) | zxu | 2017-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 | ||
* | Addressing comments | Sebastian Schmidt | 2017-12-12 |
| | |||
* | Adding Generics | Sebastian Schmidt | 2017-12-12 |
| | |||
* | Adding default option | Sebastian Schmidt | 2017-12-08 |
| | |||
* | Method renames | Sebastian Schmidt | 2017-12-07 |
| | |||
* | Addressing all review comments | Sebastian Schmidt | 2017-12-07 |
| | |||
* | Adding SnapshotOptions to deal with pending ServerTimestamps | Sebastian Schmidt | 2017-12-05 |
| | |||
* | Use fully qualified imports in Firestore (#467) | Gil | 2017-11-16 |
| | | | | | | | | | This simplifies the import process back into google3 and allows us to add additional directories to the project without needing to update the project files for each directory we add. This shows up most clearly in the change to Firestore/Example/Firestore.xcodeproj/project.pbxproj: this no longer needs to list essentially every directory in the project as a header search path. * Clang-format configuration for C++ files * Add support C++-only sources to the podspec * Podspec support for fully qualified imports * xcodeproj changes for fully-qualified imports * Use fully-qualified imports in Firestore sources | ||
* | Release 4.3.0 (#327) | Gil | 2017-10-03 |
Initial release of Firestore at 0.8.0 Bump FirebaseCommunity to 0.1.3 |