aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* | | | Fix iteration past end in LevelDBTransaction::Iterator (#1105)Gravatar Gil2018-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change Next() to avoid advancing past the end of either iterator by only advancing if !advanced and if the iterator is still valid. If Next() is called after the last entry is deleted, SyncToTransaction() returns false indicating it hasn't advanced but at that point is_valid_ is false. Previously Next() would then attempt to advance one of the underlying iterators and if it was the mutations_iter_ would advance past the end, which would cause the next UpdateCurrent() to dereference random memory.
* | | | Disable asl deprecation warnings (#1100)Gravatar Paul Beusterien2018-04-15
| | | |
* | | | Replace `QueryListenOptions` with simple booleans (#1106)Gravatar Gil2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace `QueryListenOptions` with simple booleans Instead of calling addSnapshotListener( options:QueryListenOptions.includeQueryMetadataChanges() .includeDocumentMetadataChanges()) call addSnapshotListener(includeMetadataChanges:true) Also change `QuerySnapshot.documentChanges()` into a method which optionally takes `includeMetadataChanges:true`. By default even when listening to a query with `inlcudeMetadataChanges:true` metadata-only document changes are suppressed because they're confusing. * Revert QuerySnapshot.documentChanges back to a property Add usage.
| * | | Make abseil-cpp buildable on masterGravatar Marek Gilbert2018-04-15
| | | |
| * | | Merge branch 'abseil-update' into abseil-mergeGravatar Marek Gilbert2018-04-15
|/| | | | | |/ | |/|
| * | Update abseil-cpp to a new upstreamGravatar Marek Gilbert2018-04-15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Actually update to bf7fc9986e20f664958fc227547fd8d2fdcf863e Change #754 didn't completely do this. This makes the rest of the sources match optional, which was imported at this change in #1083. Also add: absl/types/optional_test.cc absl/types/CMakeLists.txt absl/utility/CMakeLists.txt
* | Replace the `SetOptions` object with a simple boolean. (#1098)Gravatar Gil2018-04-15
| | | | | | | | | | | | | | | | | | Instead of calling `setData(["a": "b"], options: SetOptions.merge())` call `setData(["a": "b"], merge: true)`
* | Replace `DocumentListenOptions` with a simple boolean. (#1099)Gravatar Gil2018-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace `DocumentListenOptions` with a simple boolean. Instead of calling `addSnapshotListener(options: DocumentListenOptions.includeMetadataChanges(true))` call `addSnapshotListener(includeMetadataChanges:true)` * Style
* | Merge pull request #1102 from firebase/release-4.13.0Gravatar Ryan Wilson2018-04-13
|\ \ | | | | | | Release 4.13.0
* | | Remove didReceiveAPNSToken: triggered by IID deprecated method setAPNSToken: ↵Gravatar Chen Liang2018-04-13
| | | | | | | | | | | | | | | | | | (#1094) * remove a call that is triggered by IID, but no longer possible once we remove the deprecated method in IID
* | | Merge pull request #1055 from firebase/mrschmidt-removedownloadurlGravatar Sebastian Schmidt2018-04-13
|\ \ \ | | | | | | | | Removing FirebaseStorage.downloadURL
* | | | Array Transforms public API and parsingGravatar Michael Lehenbauer2018-04-13
| | | | | | | | | | | | | | | | | | | | This includes the new FIRFieldValue sentinels, the FSTUserDataConverter code to parse them into internal ArrayTransform operations for use in an FSTTransformMutation, and some sanity testing in FSTMutationTests. I still need to implement FSTTransformMutation support for local application and serialization (and then integration tests).
| * | | Adding comment to downloadURLFromMetadataDictionaryGravatar Sebastian Schmidt2018-04-13
| | | |
| * | | More commentsGravatar Sebastian Schmidt2018-04-13
| | | |
* | | | Remove immutable map from [FSTDatastore lookupDocuments:completion:] (#1080)Gravatar Gil2018-04-13
| | | |
| * | | Addressing feedbackGravatar Sebastian Schmidt2018-04-13
| | | |
| | | * carbon-copy of the `optional`-relevant src from abseil (#1083)Gravatar zxu2018-04-13
| | | |
| | * | Rename version 4.12.1 to 4.13 (#1092)Gravatar Paul Beusterien2018-04-13
| | | |
* | | | Options should be nullable for subscription (#1085)Gravatar Chen Liang2018-04-13
| | | | | | | | | | | | | | | | Getting warning message from xcode so we need to define it to remove warning.
| | * | Update changelog (#1090)Gravatar Zsika Phillip2018-04-13
| | | |
* | | | Update changelog (#1090)Gravatar Zsika Phillip2018-04-13
| | | |
* | | | Port `Precondition` to C++ (#1040)Gravatar zxu2018-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * port FieldMask to C++ * address changes * address changes * fix test * address change * Port transform operations (FSTTransformOperation, FSTServerTimestampTransform) to C++ * address changes * address changes * address changes * implement `FieldTransform` in C++ * port `FieldTransform` * make `fieldTransforms` shared inside `context` * Implement Precondition in C++ w/o test yet * add unit test for `Precondition` * port `Precondition` * address changes * address changes * fix bugs for integration test * address changes * fix lint * address changes * address changes
| | * | Set FirebaseAuth version 4.6.1Gravatar Paul Beusterien2018-04-12
| | | |
| | * | Fixes typo that causes token parsing to break (#1076)Gravatar Zsika Phillip2018-04-12
| | | |
* | | | Fixes typo that causes token parsing to break (#1076)Gravatar Zsika Phillip2018-04-12
| | | |
* | | | Add clang-tidy checks for Firestore (#1078)Gravatar Gil2018-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a .clang-tidy configuration for Firestore C++ * Fix clang-tidy warnings * typedef -> using * const ref + rvalue ref -> pass by value * NULL -> nullptr * remove useless default initializations * remove useless const value-type parameter declarations (definitions can still use them) * use auto instead of repeating types in a cast * Fix typos * Address use of static method through instance warnings * Address use after move warnings
* | | | Remove deprecated token callback (#1074)Gravatar Chen Liang2018-04-12
| | | |
* | | | Small cleanup to UserDataConverter / FieldValue sentinel code to make adding ↵Gravatar Michael Lehenbauer2018-04-12
| | | | | | | | | | | | | | | | | | | | more FieldValue sentinels easier. (#1077) Port of https://github.com/firebase/firebase-js-sdk/commit/b14678002bf6e8cc9ebd7561efbafe29315ceb8e and https://github.com/firebase/firebase-js-sdk/commit/b14678002bf6e8cc9ebd7561efbafe29315ceb8e.
* | | | Add CMake options to build using sanitizers (#1053)Gravatar Konstantin Varlamov2018-04-12
| | | | | | | | | | | | Example run: `cmake -DWITH_ASAN=ON ..` (from Firestore build folder)
* | | | Update protos. (#1075)Gravatar Michael Lehenbauer2018-04-12
| | | |
* | | | Merge pull request #1073 from firebase/yongmao/move-environment-util-filesGravatar Yong Mao2018-04-11
|\ \ \ \ | | | | | | | | | | exposing FIRAppEnvironmentUtil functionalities
| * | | | change podspec to add third party header filesGravatar Yong Mao2018-04-11
|/ / / /
* | | | Swift naming StorageVersionString (#560)Gravatar Ibrahim Ulukaya2018-04-11
| | | |
* | | | Refactor deserialization methods (#1038)Gravatar rsgowman2018-04-11
| | | |
* | | | iOS: fix data race in FSTDispatchQueue. (#1070)Gravatar Konstantin Varlamov2018-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | operationInProgress is accessed from both the main thread and from libdispatch on some other thread. Make it atomic to avoid a data race. Also reorder assertion checks to only access operationInProgress after making sure the function is running on the queue. Tested: ran unit tests using old and new versions under Thread Sanitizer, verified that TSan reports a data race for the old version, but finds no issues with the new version.
* | | | remove deprecated data message callback (#1068)Gravatar Chen Liang2018-04-11
| | | | | | | | | | | | | | | | | | | | | | | | * remove deprecated data message callback * Fix the issue that swizzling is not setup in recommended data message callback for message tracking.
| * | | Being less technically correctGravatar Sebastian Schmidt2018-04-11
| | | |
| | * | Update component versions for 4.12.1Gravatar Paul Beusterien2018-04-11
| | | |
* | | | Rebuild proto artifacts from existing sources and update README.md ↵Gravatar Michael Lehenbauer2018-04-11
| | | | | | | | | | | | | | | | instructions. (#1058)
* | | | Make it easier to consume sub-libraries within util (#1065)Gravatar Gil2018-04-10
| | | |
* | | | Merge pull request #1067 from firebase/release-4.12.0Gravatar Paul Beusterien2018-04-10
|\ \ \ \ | | |/ / | |/| | Release 4.12.0
* | | | Minor cleanups to firebase_assert.h (#1051)Gravatar Gil2018-04-10
| | | | | | | | | | | | Remove a duplicate macro definition and clean up an extra const clang-tidy complains about.
* | | | Port FieldTransform to C++ (#1033)Gravatar zxu2018-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * port FieldMask to C++ * address changes * address changes * fix test * address change * Port transform operations (FSTTransformOperation, FSTServerTimestampTransform) to C++ * address changes * address changes * address changes * implement `FieldTransform` in C++ * port `FieldTransform` * make `fieldTransforms` shared inside `context` * address changes * fix lint * address changes
* | | | FIREBASE_DEV_ASSERT -> FIREBASE_ASSERT within serializer.cc (#1062)Gravatar rsgowman2018-04-10
| | | |
* | | | Merge pull request #1050 from firebase/core-breaking-changesGravatar Ryan Wilson2018-04-10
|\ \ \ \ | | | | | | | | | | Core Breaking API Changes
* | | | | Make Carthage "choosing a subset" clearer (#1061)Gravatar Paul Beusterien2018-04-10
| | | | |
* | | | | Fix build on linux due to isnan not being present. (#1063)Gravatar rsgowman2018-04-10
| | | | | | | | | | | | | | | | | | | | Since we now include cmath rather than math.h, isnan is now named std::isnan.
* | | | | Enable Core Unit Tests to run in a Release config (#1064)Gravatar Paul Beusterien2018-04-10
| | | | |
| * | | | Updated changelog.Gravatar Ryan Wilson2018-04-10
| | | | |
* | | | | Remove deprecated remoteMessageDelegate (#1054)Gravatar Chen Liang2018-04-09
| | | | | | | | | | | | | | | | | | | | * Remove deprecated remoteMessageDelegate and simplify the shouldEstablishDirectChannel property