aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* implement `TargetIdGenerator` in C++ for Firestore (#701)Gravatar zxu2018-01-25
| | | | | | * implement `TargetIdGenerator` * address changes
* normalize string_util (#708)Gravatar zxu2018-01-25
| | | | * refactoring string_util * port string_util to iOS
* Update CHANGELOG for M21.1 release (#679)Gravatar Ryan Wilson2018-01-25
|
* Fix incorrect deprecation message (#688)Gravatar Iulian Onofrei2018-01-25
| | | | * Fix incorrect deprecation message for Obj-C and Swift
* README - FirebaseCore source pod must be included with all source pods (#705)Gravatar Paul Beusterien2018-01-25
|
* Implement the rest of FieldValue types for C++ (#687)Gravatar zxu2018-01-25
| | | | | | | | | | | | * implement FieldValue for null and boolean. * Implement number and string FieldValue. * Implement object FieldValue. * implement timestamp FieldValue. * Implement number and string FieldValue. * implement public type `Blob` and `GeoPoint` * implement Blob FieldValue * Implement GeoPoint FieldValue * refactoring `Blob`
* Properly publish Abseil sources as a part of the podspec (#704)Gravatar Gil2018-01-24
| | | | | * Properly include abseil sources * Exclude abseil tests
* Adds explicit core graphics dependency to auth (#700)Gravatar Zsika Phillip2018-01-24
|
* Merge pull request #699 from firebase/messaging-copyGravatar Chen Liang2018-01-24
|\ | | | | Adding enable/disable property to FCM token auto Initialization.
| * Merge branch 'master' into messaging-copyGravatar Chen Liang2018-01-24
| |\ | |/ |/|
| * revert unrelated changesGravatar chliangGoogle2018-01-24
| |
| * revert unrelated changesGravatar chliangGoogle2018-01-24
| |
| * revert unrelated changesGravatar chliangGoogle2018-01-24
| |
| * Adding enable/disable property to FCM token auto InitializationGravatar chliangGoogle2018-01-24
| |
* | Update FirebaseMessaging protos (#696)Gravatar Paul Beusterien2018-01-24
| |
* | Disable Messaging build warnings (#697)Gravatar Paul Beusterien2018-01-24
| |
* | Update travis to use CocoaPods 1.4.0 (#692)Gravatar Paul Beusterien2018-01-23
| |
* | Merge pull request #691 from firebase/schmidt-sebastian-patch-5Gravatar Sebastian Schmidt2018-01-22
|\ \ | | | | | | Fixing spelling in FIRStorageErrors
| * | Fixing spelling error in FIRStorageErrorsGravatar Sebastian Schmidt2018-01-22
|/ /
* | Cleanup imports and isEqual (#685)Gravatar Gil2018-01-21
| | | | | | | | | | | | | | | | | | | | * Fix headers * Fix isEqual verbosity * Fix isEqual for nullable properties * Fix nullability on FSTTestDocSnapshot
* | style.sh - output unformatted files in test-only and ignore generated ↵Gravatar Paul Beusterien2018-01-21
| | | | | | | | config.h (#690)
* | Use Comparator in FieldValue. (#686)Gravatar Gil2018-01-19
| |
* | Port comparison to C++ (#678)Gravatar Gil2018-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
* | Add platform detection logic for SecureRandom (#676)Gravatar Gil2018-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add CMake platform detection logic for SecureRandom Now only builds secure_random_arc4random.cc if available. Remove firebase/firestore/base/port.h. Nothing else was in that directory. * Add a SecureRandom implementation that uses OpenSSL This is usable on Linux, Windows, and Android * Properly check return from RAND_bytes
* | Fix build warnings by making void parameter explicit (#681)Gravatar Paul Beusterien2018-01-19
| |
* | Merge pull request #680 from firebase/release-4.8.1Gravatar Paul Beusterien2018-01-18
|\ \ | | | | | | Merge Release 4.8.1
* | | Listen sequence numbers (#675)Gravatar Greg Soltis2018-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Generate and save sequence numbers for listens * Add documentation * Fix include path * Fix unavailable comment * Review feedback
* | | Fix CMake build and lint warnings in field_value.cc (#677)Gravatar Gil2018-01-17
| | | | | | | | | | | | | | | | | | | | | Fixes these cpplint warnings: Firestore/core/src/firebase/firestore/model/field_value.cc:162: Semicolon defining empty statement. Use {} instead. [whitespace/semicolon] [5] Firestore/core/src/firebase/firestore/model/field_value.cc:170: Semicolon defining empty statement. Use {} instead. [whitespace/semicolon] [5] Firestore/core/src/firebase/firestore/model/field_value.cc:126: Add #include <utility> for swap [build/include_what_you_use] [4]
* | | Add a cc_library to the CMake build (#670)Gravatar Gil2018-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rewrite cc_test to take named arguments Cut down on build file verbosity by having cc_test take SOURCES and DEPENDS. The separate invocation of target_link_libraries is no longer necessary. * Add a cc_library rule to parallel cc_test This cuts down on build file verbosity. * Automatically add OBJC_FLAGS to cc_libraries if applicable * Exclude platform-specific libraries from 'all' This is makes it possible to declare this kind of library unconditionally. Usage within a test or as a dependency will actually trigger building. * Restore secure_random_test.cc; clean-up comments
* | | Simplify integration with googletest (#672)Gravatar Gil2018-01-17
| | | | | | | | | | | | This makes it possible to build the Firestore subproject with CLion because it no longer needs to be told where googletest is.
* | | implement FieldValue for null, boolean, and array in C++. (#637)Gravatar zxu2018-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * implement FieldValue for null and boolean. * refactoring to use union type instead of poly * refactor using union design intead of poly * refactoring to use anonymous union and fix styles * small fix * add field_value_test to the project * fix warning of cmake and fix style
* | | Fix C++ lint errors (#668)Gravatar Gil2018-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Misc style.sh fixes * Allow test-only to use a revision; to check your changes since master: ./scripts/style.sh test-only master * Avoid diffing deleted files * 80 columns * Fix C++ lint errors
* | | Enable warnings in the CMake build (#669)Gravatar Gil2018-01-16
| | | | | | | | | | | | | | | | | | * Enable warnings when building with GCC or clang * Fix warnings
* | | Add assert_test to the Xcode build (#671)Gravatar Gil2018-01-16
| | | | | | | | | | | | | | | | | | * Exclude stdio-backed assert from the Xcode build * Add assert_test to the Xcode build
| * | Merge pull request #667 from firebase/bs-cherrypickGravatar Benoit St-Pierre2018-01-15
| |\ \ | | | | | | | | Fix issue @morganchen12 discovered where we weren't properly creating FIRQueryDocumentSnapshot instances. (#662)
* | | | Travis - run tests only for changed code (#665)Gravatar Paul Beusterien2018-01-15
| | | |
| | * | Fix issue @morganchen12 discovered where we weren't properly creating ↵Gravatar Michael Lehenbauer2018-01-15
| |/ / | | | | | | | | | | | | | | | FIRQueryDocumentSnapshot instances. (#662)
* | | Inject infoDictionary to fix flakey tests. (#664)Gravatar Ryan Wilson2018-01-15
| | | | | | | | | | | | | | | | | | * Inject infoDictionary to fix flakey tests. * Remove outdated comment, update format.
* | | Build gRPC for Firestore C++ (#652)Gravatar Gil2018-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clean up quoting and other minor issues * Reorganize CMake build output Make it clearer which parts of the output pertain to external projects. * Use a consistent ordering of ExternalProject arguments * Prevent the top-level build from running in parallel This prevents spurious failures when running make -j. * Actually parse arguments in the xcodebuild function * Use ExternalProject features when available * submodule limits from CMake 3.0 * shallow clones from CMake 3.6 * git progress output from CMake 3.8 * Only build the parts of leveldb we need Skip building the tools and other libraries * Avoid installing ExternalProjects Consume build output directly so that we can build just the targets we need. Installing causes all targets to be built. This doesn't matter as much for these targets but the gRPC build includes a ton of stuff we don't need so it's worth adopting this as a general strategy. * Define an external build for grpc * Test that grpc can link successfully. * Add a FindGRPC CMake module * Actually comment ExternalProjext_GitSource
* | | Validate clang-format compliance in travis (#648)Gravatar Paul Beusterien2018-01-13
| | |
* | | Fix issue @morganchen12 discovered where we weren't properly creating ↵Gravatar Michael Lehenbauer2018-01-12
| | | | | | | | | | | | | | | | | | FIRQueryDocumentSnapshot instances. (#662)
| * | Merge remote-tracking branch 'origin/master' into release-4.8.1Gravatar Paul Beusterien2018-01-12
| |\ \ | |/ / |/| |
* | | Fix import formatting (#660)Gravatar Paul Beusterien2018-01-12
| | |
| * | Merge pull request #659 from firebase/bstpierre-autb-bumpGravatar Benoit St-Pierre2018-01-11
| |\ \ | | | | | | | | Increase FirebaseAuth version for M21.1
| | * | Increase FirebaseAuth version for M21.1Gravatar Benoit St-Pierre2018-01-11
| |/ / | | | | | | | | | This version was missed in the M21.1 version bump PR.
* | | Remove over-aggressive closeWithFinalState: delegate assert. (#656)Gravatar Michael Lehenbauer2018-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #596. closeWithFinalState: asserted delegate != nil, but that is not true if when startWithdelegate: was called we entered backoff (performBackoffWithDelegate:) and so self.delegate did not get assigned yet. We could rework the code to make the assertion hold, but per offline discussion this assert doesn't represent an invariant that we care about maintaining and so I'm just removing it.
| * | Merge pull request #657 from firebase/mikelehen/closeWithFinalState-cherry-pickGravatar Benoit St-Pierre2018-01-11
| |\ \ | | | | | | | | Remove over-aggressive closeWithFinalState: delegate assert.
| | * | Remove over-aggressive assert.Gravatar Michael Lehenbauer2018-01-11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | closeWithFinalState: assumes delegate != nil, but that is not true if when startWithdelegate: was called we entered backoff (performBackoffWithDelegate:) and so self.delegate did not get assigned yet. We could rework the code to make the assertion hold, but per offline discussion this assert doesn't represent an invariant that we care about and so I'm just removing it.
| * | Merge pull request #654 from firebase/masterGravatar Benoit St-Pierre2018-01-11
| |\ \ | |/ / |/| | Merge master into 4.8.1
* | | Revert "Fully qualify protoc-generated outputs (#626)" (#653)Gravatar Gil2018-01-11
| | | | | | | | | This reverts commit bc74670afec651c3f912cb6b7e54f5b68bd507f5.