aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* 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
* Travis - run tests only for changed code (#665)Gravatar Paul Beusterien2018-01-15
|
* 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)
* Fix import formatting (#660)Gravatar Paul Beusterien2018-01-12
|
* 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.
* Revert "Fully qualify protoc-generated outputs (#626)" (#653)Gravatar Gil2018-01-11
| | | This reverts commit bc74670afec651c3f912cb6b7e54f5b68bd507f5.
* Updates Auth ChangeLog (#645)Gravatar Zsika Phillip2018-01-11
| | | | | | | | * Updates Auth ChangeLog * addresses comments * Fixes typo.
* Update CHANGELOG for Firestore v0.10.0 (#649)Gravatar Gil2018-01-11
|
* Fix FSTLocalDocumentsView to allow multiple mutations while offline (#644)Gravatar rsgowman2018-01-11
| | | | | * Fix FSTLocalDocumentsView to allow multiple mutations while offline. Previously, only the last mutation would actually be visible.
* Merge pull request #646 from firebase/schmidt-sebastian-patch-3Gravatar Sebastian Schmidt2018-01-10
|\ | | | | Update CHANGELOG.md for Storage v2.1.2
* \ Merge pull request #647 from firebase/schmidt-sebastian-patch-4Gravatar Sebastian Schmidt2018-01-10
|\ \ | | | | | | Update Changelog for RTDB 4.1.4
* | | Add test-only option to style.sh (#642)Gravatar Paul Beusterien2018-01-10
| | |
| * | Update Changelog for RTDB 4.14Gravatar Sebastian Schmidt2018-01-10
|/ /
| * Update CHANGELOG.md for Storage v2.1.2Gravatar Sebastian Schmidt2018-01-10
|/
* Update Core style (#641)Gravatar Paul Beusterien2018-01-10
|
* Merge pull request #639 from firebase/firestore-api-changesGravatar Michael Lehenbauer2018-01-10
|\ | | | | Merge firestore-api-changes to master for next release.
* | Add version check to style.sh to make sure folks are running the same ↵Gravatar Michael Lehenbauer2018-01-10
| | | | | | | | version. (#638)
| * Run style.sh (#636)Gravatar Michael Lehenbauer2018-01-10
| | | | | | | | Run style.sh (w/ clang-format version 6)
| * Merge pull request #635 from ↵Gravatar Michael Lehenbauer2018-01-09
| |\ | | | | | | | | | | | | firebase/mikelehen/merge-master-to-firestore-api-changes Merge master to firestore api changes
| | * Merge branch 'master' into mikelehen/merge-master-to-firestore-api-changesGravatar Michael Lehenbauer2018-01-09
| |/| | |/ |/|
* | Amends phone auth unit tests (#632)Gravatar Zsika Phillip2018-01-09
| |
* | Delete unused private FIRCreateError (#631)Gravatar Paul Beusterien2018-01-09
| |
* | Actually exclude leveldb on Windows (#630)Gravatar Gil2018-01-08
| |
* | implement C++ assert (stdio, apple) (#612)Gravatar zxu2018-01-08
| | | | | | | | | | | | | | | | | | * implement C++ assert (stdio, apple) * Update tests for firebase_firestore_util renames * renaming `assert.h` to `firebase_assert.h` * refactoring to a common `WrapNSStringNoCopy()`
* | Adds AdditionalUserInfo to Phone Auth (#623)Gravatar Zsika Phillip2018-01-08
| |
* | Port StringPrintf from //base (#624)Gravatar Gil2018-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Port StringPrintf from //base. Prefer this to approaches based on variadic templates. While the variadic template mechanisms are strictly safer, they result in binary bloat we can't afford. This is essentially the same StringPrintf previously open sourced as a part of protobuf, though updated for C++11 which saves a copy and a temporary buffer on the heap. * Add abseil as a subdirectory of Firestore This saves having to redefine all the libraries that abseil defines as imported libraries. * Rename firebase_firesture_util_log_* targets Cut the log out of the name to reflect that these will get more components besides just logging.
* | Fully qualify protoc-generated outputs (#626)Gravatar Gil2018-01-08
| | | | | | | | | | | | | | | | * Fully-qualify imports in the protocol compiler output * pbxproj updates from running pod update * New checked-in proto outputs
* | Removing an obsolete setting from plist files (#617)Gravatar davidair2018-01-08
| | | | | | | | | | | | | | | | * Removing an obsolete setting from plist files * Fixing Unit Tests * Fixing nullability
* | update Travis to Xcode 9.2 (#619)Gravatar Ibrahim Ulukaya2018-01-05
| |
* | update Gemfile for Travis (#620)Gravatar Ibrahim Ulukaya2018-01-05
| |
| * Merge pull request #621 from firebase/mrschmidt-fixraceGravatar Sebastian Schmidt2018-01-05
| |\ | | | | | | Fixing potential race in ServerTimestamp tests
| | * Fixing potential race in ServerTimestamp testsGravatar Sebastian Schmidt2018-01-05
| |/
* | Adds API Test for Email Update (#613)Gravatar Zsika Phillip2018-01-04
| |
* | Add Community Supported tvOS (#590)Gravatar Paul Beusterien2018-01-03
| | | | | | | | | | | | | | Add Community Supported tvOS for Core, Auth, Database and Storage. Add tvOS unit tests Add tvOS sample app Update README.md Add tvOS to travis testing
* | Update CHANGELOG for macOS AppKit dependency. (#609)Gravatar Ryan Wilson2018-01-03
| |
* | Build and test both C++ loggers where possible (#595)Gravatar Gil2018-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename FIREBASE_BINARY_DIR to FIREBASE_INSTALL_DIR Make this consistent with the outer superbuild and also make the association with CMAKE_INSTALL_PREFIX more obvious. * Build and test log_stdio separate from the rest of util This is in preparation for adding a test for log_apple * Build and test log_apple under CMake Also add notes about how FIRLogger's debug mode can break this test * Refactor log_apple to cut down duplicate switch statements There's also a slight reduction in final binary size.
* | Adds new API tests for Firebase Auth (#610)Gravatar Zsika Phillip2018-01-03
| |
* | Remove FIRAppEnvironmentUtil's sharedApplication (#603)Gravatar Ryan Wilson2018-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Deprecate FIRAppEnvironmentUtil sharedApplication * Remove sharedApplication private API. This also allows us to remove an AppKit dependency. * Disable autolink when building FirebaseCore (#606) This prevents the dependencies of FirebaseCore's dependencies from bleeding into its interface. The proximate benefit of avoiding this is that FirebaseCore no longer ends up depending on ColorSync.framework which became a top-level system framework in 10.13. This makes it possible to build against the resulting FirebaseCore.framework on macOS 10.12 using Xcode 9 (with the macOS 10.13 SDK).
* | Add Private path to FIRVersion.h import (#607)Gravatar Paul Beusterien2018-01-02
| |
* | Fix scripts/style.sh diffs relative to branch name (#608)Gravatar Gil2018-01-02
| |
| * Log pending writes when we disable the network (#604)Gravatar Greg Soltis2018-01-02
| | | | | | | | | | | | | | | | * Log pending writes when we disable the network * Fix formatting * Formatting
* | Build FirebaseCore from CMake (#594)Gravatar Gil2018-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't bother specifying a download directory to CMake ExternalProject * Teach CMake to build pure Xcode projects as dependencies This allows downstream code (like log_apple.mm) to consume this for testing within the CMake build without requiring a CMake-native build for these components. This makes integrating these components into the cmake build essentially free from the point of view of the consumed component. * Get the CMake build semi-working on Linux again Many prebuilt versions of cmake on Linux lack the ability to download over https so use git to get googletest. Don't attempt to build FirebaseCore on Linux; there's no xcodebuild. Note the build is still ultimately broken because we don't yet have an alternative to arc4random on Linux but at least this is no more broken than it was before.