| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| | |
Fixes b/74357976 which caused unauthenticated users to be unable to reach the Firestore backend and updates the changelog.
|
| | |
|
| |
| |
| | |
These can (recursively) contain other FieldValues.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Factor out a whitespace checking script
* Factor out a copyright checking script
* Rewrite lint.sh to honor revision ranges
* Only restyle files that are part of the PR
* Run C++ lint before builds to fail faster
* Git grep doesn't operate on revision ranges
* style.sh accepts clang-format 6 or 7
|
| |
| |
| |
| |
| |
| | |
* Add a universal build script
* Rewrite test.sh in terms of universal build
|
| | |
|
|\|
| |
| | |
Merge Release 4.10.0 into Master
|
| |
| |
| |
| |
| |
| |
| |
| | |
* replace path with C++ implementation in FSTDocumentKey.{h,mm} only
* address changes
* address changes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
offline. (#872)
[Port of https://github.com/firebase/firebase-js-sdk/commit/0fa319e5e019dd0d40ab441d2ff9f8f6d4724e43]
* Refactored FSTOnlineState tracking out of FSTRemoteStore and into new
FSTOnlineStateTracker component.
* Added a 10 second timeout to transition from OnlineState.Unknown to
OnlineState.Offline rather than waiting indefinitely for the stream to
succeed or fail.
* Removed hack to run SpecTests using an FSTDispatchQueue that wrapped
dispatch_get_main_queue(). This was incompatible with [FSTDispatchQueue
runDelayedCallbacksUntil:] since it queues work and blocks waiting for
it to complete. Now spec tests create / use a proper FSTDispatchQueue.
* Added a SpecTest to verify OnlineState timeout behavior.
* Misc cleanup:
* Renamed FSTOnlineState states: Failed => Offline, Healthy => Online
* Renamed FSTTimerIds (ListenStreamConnection => ListenStreamConnectionBackoff)
* Added ability to run timers from spec tests.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* add converters and fix FSTQuery.{h,m} only
* address changes
* a change forget to address
* add a dummy function to make inline-only-library buildable
|
| |
| |
| |
| |
| | |
* fix the issue that handler not get triggered
|
| | |
|
| |
| |
| |
| |
| | |
* fix the issue that handler not get triggered
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lazy replacing FST(Firebase)CredentialsProvider by (Firebase)CredentialsProvider
* lazy replacing FSTUser by User
* adding error-code parameter to TokenListener
* actually use const user& instead of pointer; also add an error util
* add HashUser and pass into the unordered_map
* use User in test
* use c++ CredentialsProvider and subclass in test
* fix unit test
* use explicit capture in lambda instead of capture all by reference
* cache currentUser explicitly when reset sync engineer test driver
* objc object should be captured by value in lambda
* replacing Auth/FSTUser by C++ auth implementation
* address changes
* replacing FSTGetTokenResult by C++ Token implementation
* address changes
* fix unintentional change in merging
* patch the change in objc Auth up-stream
* somehow, the lambda-version of set-user-change-listener does not work... fallback to block
* address changes
* fix another const& v.s. dispatch bug
* fix more const& v.s. dispatch bug zxu123 committed
* fix a bad sync line
* address changes
* address change
* address change
* fix upstream change from merge
* fix upstream changes
* Suggested fixes for cpp/port_auth (#846)
* Get rid of MockDatastore factory
This avoids the need to statically allocate (and leak) a credentials
provider
* Use absl::make_unique
std::make_unique technically does not exist until C++14.
* #include <utility> for std::move
* Use std::future for the initial user
* fix style
|
| |
| |
| |
| |
| |
| |
| |
| | |
This will likely only apply for proto messages that use 'oneof's. (Because we need to serialize these manually.)
The problem was that as we were adding additional types, TypeValue was evolving into a parallel implementation of the FieldValue union.
When serializing/deserializing oneofs we need to supply a custom value to serialize and a custom function to do the work. There's no value in translating from FieldValue to TypeValue just to store as this custom object. We might as well just store the FieldValue model directly and write the custom serializer/deserializer to use the model directly.
|
| |
| |
| |
| |
| |
| |
| | |
Exception: grpc. Due to it's use of git submodules, it's not completely trivial to convert it (though probably wouldn't be too much more work.)
This helps address our build being throttled. (Maybe. This assumes github allows more fetching of tgz's than clones.) It should also speed up our build times.
The downloaded tarballs are placed into ${PROJECT_BINARY_DIR}/downloads. This allows for eventual caching in travis.
|
|/ |
|
| |
|
|
|
|
|
|
| |
* Updates changelog in preparation for release
* Adds another change.
|
|\
| |
| | |
Report FirebaseCore version
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Update CHANGELOG.md for Firebase Storage v2.1.3
|
|\ \ \
| | | |
| | | | |
Updating RTDB Changelog for v4.1.5
|
| |/ /
|/| | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |\
| |_|/
|/| |
| | |
| | | |
* master:
Deflake tests
|
| | |\
| | |/
| |/|
| | |
| | |
| | |
| | | |
* master:
Auto-style swift sources (#847)
Fixes clang warnings for Auth (#848)
Add build infrastructure for Codable support in Firestore (#815)
|
|\ \ \
| |/ /
|/| | |
Add useragent registration
|
| | | |
|
| |/
| |
| |
| |
| | |
I've also added clearing of the library names for tests to avoid the
auto found versions on load.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix bash style issues
* Exclude additional build output directories
* Format swift files with scripts/style.sh
* Reformat swift sources
* Allow swiftformat 0.32.0 on travis
|
| |
| |
| |
| | |
Tests a variety of simple use cases.
|
| |
| |
| |
| | |
This reverts commit dfda142503e0daffeab67e996df03324e1f372b3.
|
| |
| |
| |
| |
| |
| | |
* Fixes clang warnings for Auth
* Addresses comments
|
| |
| |
| |
| |
| | |
This will allow us to collect the version of platform libraries that
developers use in conjunction with Firebase.
|
| |
| |
| |
| | |
This makes it accessible to other test classes.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
* Add Firestore_SwiftTests_iOS target to Xcode
* Add FirebaseFirestoreSwift podspec
* Add Firestore_SwiftTests_iOS to the Podfile
* Add CodableGeoPoint and tests
* Version FirebaseFirestoreSwift separately
|
|
|
|
|
|
| |
* improve the documentations on auto init property
* adjust the comments
|
|
|
|
| |
I couldn't find a way to get the Carthage installer to install Resources, so withdrawing Firestore and Invites. The other 11 components passed testing.
|