| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Replace fallthrough comments with `ABSL_FALLTHROUGH_INTENDED`, allowing
clean building with -Wimplicit-fallthrough.
|
|
|
|
|
| |
FirebaseAuthInterop isn't defined as a target under linux (since it
comes from the podfiles) so defining a source file for the target causes
cmake to error.
|
|
|
|
|
|
| |
Note that this works even though we haven't ported the NanFilter class
yet. (The RelationFilter handles nan's just fine. Though also doesn't
restrict nan's in cases where they shouldn't be used, i.e. anything
except equality.)
|
|
|
| |
Reflects #1505, #1507, #1533.
|
|
|
|
|
|
|
|
| |
* Add a CMake build for FirebaseAuthInterop
* Avoid cluttering the symbol table
* Trigger Firestore-cmake checks on cmake script changes
|
|
|
|
|
| |
(From java.)
Also fix a bug uncovered by the test. (oops)
|
|
|
|
|
|
|
| |
documentsMatchingCollectionQuery (#1533)
Previously in `documentsMatchingCollectionQuery`, write batches were read three times; in fact, all relevant batches will always be contained inside `allMutationBatchesAffectingQuery` (which is also more efficient); the other two calls were redundant.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename utils.cmake to cc_rules.cmake
This makes it less of a dumping ground
* Fix sign mismatch in FIRApp
* Implement a podspec_framework CMake function
... that generates a CMake framework library target from a podspec.
* Remove manual CMake scripts for xcodebuild
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Build zlib with grpc's add_subdirectory
* Build grpc and its children with add_subdirectory.
* Build c-ares with grpc's add_subdirectory
* Convert protobuf to a download-only ExternalProject
* Temporarily break protobuf within grpc
This works because libgrpc has no actual dependency on protobuf
* Update boringssl to master@{2018-07-10}
|
|
|
|
|
|
|
|
| |
* Move main.swift to BasicCompileTests.swift
* Remove SwiftBuildTest from the Podfile, Xcode project, build.sh
Add Firestore_SwiftTests_iOS, but only if building with Xcode 9 or
better.
|
|
|
|
|
|
|
|
| |
* Suppress uninitialized read error under VS2017.
* Default-initialize Tag instead of requiring users to remember to do so.
* Add constructors to match usage
|
|
|
|
|
| |
And RelationFilter subclass.
Used to implement the next step in core::Query.
|
|
|
|
| |
Added functionality to read dictionary file and seed input corpus from bundle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add a download-only boringssl ExternalProject
Match boringssl version to grpc submodule version
Note: not yet in use
* Split grpc into separate download and build tasks
This allows other external targets to download into the gRPC source tree
before grpc is actually built.
* Convert grpc to an http download
* Build googletest with add_subdirectory
Also:
* Revert library-name modifications in the abseil-cpp build
* Move abseil-cpp add_subdirectory build into place
* Build nanopb with add_subdirectory
* Force nanopb first to work around ODR violations
This is a temporary work-around for b/111328563.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add a travis stage that tests building Firestore with Xcode 8.3.
* Simulate on a device available in Xcode 8
* Fix compile errors under Xcode 8.3.3
* Remove Firestore_SwiftTests_iOS from the Firestore_Tests_iOS Scheme
I'll create a new target for this but in another PR.
* Add an entry to CHANGELOG.md
|
|
|
|
|
|
|
| |
Rather than previously inlining it in the calling code. This is to unify
filter creation across platforms.
(This change involves altering FSTFilter from a protocol to an abstract
class.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pull out sanitizer options into a separate file
* Reorder packages
* Remove the extra "external/$target" directory from PREFIX
Instead of BINARY_DIR/external/foo/src/foo the contents will be in
BINARY_DIR/src/foo.
* Make libprotobuf-nanopb targets line up with nanopb's CMakeLists.txt
* Fix CMake style
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Project file updates from sync_project.rb
* Fix misc compile errors under VS2017
* Fix util/hashing under VS2017
std::hash<int> is not just a pass through in Microsoft's STL.
* Disable unsafe code warnings in VS2017
... where comparing against a reference implementation that has no easy
safe equivalent.
* Handle drive letters in paths on Windows
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Auth interoperability library.
This allows other SDKs to retrieve the user ID and fetch a new
Auth token in a type-safe way through the Core container.
* Remove unnecessary import.
* Add missing copyright.
* Resolve comments.
- Remove unnecessary umbrella header.
- Move to version 1.0.
- Add tvOS support for app lifecycle changes.
* Move public interop headers to private.
* Add public_header_files too.
* Moved headers back into public.
* Shorten Interoperability and Interoperable to Interop.
* Add AuthInterop to travis linting.
* Fixed tag format in AuthInterop.podspec.
* Add AuthInterop path to Firestore Podfile.
|
|
|
|
|
| |
Also remove test code that was combining multiple array contains
queries since those were disallowed in
https://github.com/firebase/firebase-ios-sdk/commit/0ec836f9ca71b27fa54a11ae9e07e60b8c5cc002
|
|
|
|
|
|
|
|
|
|
|
| |
This is a pretty close port of `FSTExponentialBackoff`. The changes are pretty minor:
* delay is calculated using <chrono> duration types, not plain numbers, which should be a little more type-safe;
* split a piece of code into a ClampDelay function, because it's reasonably close to std::clamp;
* rephrased the class-level comment to make it clearer that the first attempt always has delay = 0;
* added simple tests (other platforms don't have tests for this).
Also make sure that canceling a DelayedOperation is always valid.
|
| |
|
|
|
|
|
|
| |
one go (#1505)
This uses the newly-added allMutationBatchesAffectingDocumentKeys to find/deserialize all such batches in one go and then reuse the batches while processing a set of keys.
|
|
|
|
|
| |
* Check CMake files for copyrights
* Add missing copyright
|
| |
|
| |
|
|
|
|
|
| |
* Pod updates for Cocapods 1.5.3
* Add allMutationsAffectingDocumentKeys
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Install protobuf
* Use the built-in FindProtobuf.cmake
* Add additional build configuration flags
* Preserve generator configuration in the protobuf sub-build
Without this, the build fails on Win64 because the default
configuration builds a Win32 libprotobuf and the Win64 build rejects
it.
* Wire the installed protobuf into the gRPC build.
* Install nanopb
|
|
|
| |
Also add FindGMock to Find gmock after installation
|
| |
|
|
|
| |
Port of https://github.com/firebase/firebase-js-sdk/pull/864
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Ignore vim backup files
* Prepare for installed subprojects
This adds FIREBASE_BINARY_DIR to point to the out-of-source build
directory (which previously was passed around as FIREBASE_INSTALL_DIR).
This repurposes FIREBASE_INSTALL_DIR to point to
${FIREBASE_BINARY_DIR}/opt, and installation root for subprojects that
have an install step.
* Allow download directory to be specified
|
|
|
| |
Rather than decoding the type, and then the contents, decode them both at once.
|
|
|
| |
Were showing up in xcode build (but not cmake build)
|
| |
|
|
|
| |
Added a single, basic test as a motivator.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
* Remove usage of eager garbage collector for tracking limbo document references
* Fix style
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
* A substream should not be closed if pb_make_string_substream() failed to create it and returned false.
* Fixed a potential wrong error message.
|
| | | |
|