aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore
Commit message (Collapse)AuthorAge
* Update versions for Release 5.4.0Gravatar Paul Beusterien2018-06-27
|
* Install protobuf during CMake build (#1460)Gravatar Gil2018-06-26
| | | | | | | | | | | | | | * 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
* Install googletest (#1461)Gravatar Gil2018-06-26
| | | Also add FindGMock to Find gmock after installation
* Update CHANGELOG for Firestore v0.12.5 (#1463)Gravatar Gil2018-06-26
|
* Improves "Could not reach Firestore backend." log message. (#1455)Gravatar Michael Lehenbauer2018-06-26
| | | Port of https://github.com/firebase/firebase-js-sdk/pull/864
* Prepare for installed sub-projects (#1459)Gravatar Gil2018-06-26
| | | | | | | | | | | | | | | * 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
* Refactor nanopb decoding methods (#1438)Gravatar rsgowman2018-06-25
| | | Rather than decoding the type, and then the contents, decode them both at once.
* Fix a few implicit converstion warnings (#1439)Gravatar rsgowman2018-06-22
| | | Were showing up in xcode build (but not cmake build)
* Refactored a few methods from anon namespace to remote serializer (#1435)Gravatar rsgowman2018-06-22
|
* Initial creation of the local serializer. (#1415)Gravatar rsgowman2018-06-21
| | | Added a single, basic test as a motivator.
* Merge and resolve conflicts from release-5.3.0Gravatar Paul Beusterien2018-06-20
|\
* | Remove Limbo Document GC (#1413)Gravatar Greg Soltis2018-06-20
| | | | | | | | | | | | * Remove usage of eager garbage collector for tracking limbo document references * Fix style
* | Removing the target state on stream error (#1420)Gravatar Sebastian Schmidt2018-06-20
| |
* | Hookup serializer_test.cc to the xcode based test suite (#1343)Gravatar rsgowman2018-06-18
|\ \
* | | Avoid closing unintialized substreams (#1411)Gravatar Mina Farid2018-06-18
| | | | | | | | | | | | | | | * A substream should not be closed if pb_make_string_substream() failed to create it and returned false. * Fixed a potential wrong error message.
| * | Fix retain self warnings that crept inGravatar Marek Gilbert2018-06-15
| | |
| * | Disable warnings in the protobuf-C++ codeGravatar Marek Gilbert2018-06-15
| | |
| * | pod update output from cocoapods 1.5.3Gravatar Marek Gilbert2018-06-15
| | |
| * | Move -D flags into GCC_PREPROCESSOR_DEFINITIONSGravatar Marek Gilbert2018-06-15
| | |
* | | Minor LevelDB cleanups (#1401)Gravatar Gil2018-06-13
| | | | | | | | | | | | | | | | | | * Add leveldb_transaction* to the CMake build * Use std::unique_ptr for leveldb::DB pointers
| * | Remove Protos/cpp/google/protobuf from sync_project.rb ...Gravatar Rich Gowman2018-06-13
| | | | | | | | | | | | ... and run sync_project.rb
| | * Version updates for Firebase 5.3.0 (#1406)Gravatar Paul Beusterien2018-06-13
| |/ |/|
* | Update CHANGELOG for Firestore v0.12.4 (#1400)Gravatar Gil2018-06-12
| |
* | Refactor Remote Event (#1396)Gravatar Sebastian Schmidt2018-06-12
| |
* | Create Status objects from errno (#1374)Gravatar Gil2018-06-12
| | | | | | | | | | | | | | | | | | | | | | * Add a portable interface to strerror * Add Status::FromErrno * Add strerror_test.cc to the Xcode project * Use glibc feature selection macros instead of return-type overloads * Fix tensorflow references
| * Merge remote-tracking branch 'origin/master' into rsgowman/protobuf_cppGravatar Rich Gowman2018-06-12
| |\ | |/ |/|
| * Merge remote-tracking branch 'origin/master' into rsgowman/protobuf_cppGravatar Rich Gowman2018-06-12
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also "fixed" BadFieldValueTagWithOtherValidTagsPresent test by changing 'false' to 'true'. Details: Depending on the version of nanopb, nanopb would explicitly encode 'false', which shouldn't be done in proto3. When it's explicitly encoded, the test worked properly. But when it was (properly) dropped, the invalid tag is the only field that's actually encoded, thus violating the assumptions of the test, leading to a test failure. s/false/true fixes it, as now the boolean_value field is (properly) encoded regardless of version.
* | | Fuzz testing Header Search Paths settings (#1395)Gravatar Mina Farid2018-06-11
| | | | | | | | | | | | * Modified `HEADER_SEARCH_PATHS` in the project file.
* | | Allowing field deletes using merge fields (#1389)Gravatar Sebastian Schmidt2018-06-07
| | |
* | | Force refresh token if RPC fails with "Unauthenticated" error (#1373)Gravatar Konstantin Varlamov2018-06-07
| | | | | | | | | "Unauthenticated" is presumed to mean that token is expired (which might happen if local clock is wrong) and retried, subject to the usual backoff logic.
* | | Adding AppCode schema for Fuzz tests (#1388)Gravatar Sebastian Schmidt2018-06-07
| | |
* | | Update changelog for 0.12.1 and 0.12.3 (#1387)Gravatar Gil2018-06-06
| | | | | | | | | These releases had no user visible changes
* | | Merge branch 'release-5.2.0' into masterGravatar davidair2018-06-06
|\ \ \
* | | | Fix support scripts on Linux (#1385)Gravatar Gil2018-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make it possible to run style.sh on Linux Needs clang-format in a nonstandard location, but can be made to work. * Fix lint.sh on Linux * Fix multiline comment error
* | | | Fix undefined behaviour in test. (#1381)Gravatar rsgowman2018-06-05
| | | | | | | | | | | | | | | | | | | | PB_LAST_FIELD is required by nanopb, but was missed in the test. Without this, undefined behaviour results. (Either manifesting itself as fine (i.e. if there's zeros following) or segfaults.)
* | | | Add pathname manipulation utilities (#1376)Gravatar Gil2018-06-05
| |_|/ |/| |
* | | Skip unknown fields while decoding BatchGetDocumentsResponse proto objects ↵Gravatar rsgowman2018-06-05
| | | | | | | | | | | | (#1377)
* | | Build cleanup (#1375)Gravatar Gil2018-06-04
| | | | | | | | | | | | | | | | | | * Remove extraneous firebase_firestore_util_async_queue target * Remove unimplemented declaration in string_util.h
* | | Skip unknown fields while decoding FieldValue proto objects. (#1354)Gravatar rsgowman2018-06-04
| | |
* | | Add a new Xcode target and scheme for fuzz tests (#1364)Gravatar Mina Farid2018-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created `Firestore_FuzzTests_iOS` Xcode target as a duplicate of the target `Firestore_Tests_iOS`. - Added `-fsanitize-coverage=trace-pc-guard` to the compiler flags to enable code coverage by libFuzzer fuzzing driver. - Modified the files to compile to the fuzz testing ones. - Added a Principal testing class. * Modified the `Podfile` to include `LibFuzzer.podspec` as a dependency for the target `Firestore_FuzzTests_iOS`. * Added a skeleton for fuzz testing. Currently does not test any code but the fuzzing works fine and calls an empty `LLVMFuzzerTestOneInput` with different input values. - This means that fuzzing does not finish or crash.
* | | Rename nanopb generated headers from foo.pb.h to foo.nanopb.h (#1371)Gravatar rsgowman2018-06-04
| | | | | | | | | | | | | | | This avoids a collision with the libprotobuf generated files. Also removes the "well-known" cpp protos, relying on libprotobuf to supply these instead.
* | | Fix Firestore compilation under Xcode < 9.2 (#1367)Gravatar Gil2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't rely on specialization failure to determine when std::hash is unavailable. Instead manually declare the conditions under which std::hash should be defined. * Fix detection of Objective-C classes in Xcode < 9.2 std::is_base_of<NSObject, NSString>{} is false there so the overloads defined for Objective-C types weren't getting enabled. * Add explicit tests for StringFormat using Objective-C objects * Add explicit tests for HasStdHash
* | | Fix changelog (#1363)Gravatar Gil2018-05-31
| | |
* | | Remove nearly all usages of WrapNSStringNoCopy (#1351)Gravatar Gil2018-05-30
| | |
| * | Version updates for 5.2.0 (#1355)Gravatar davidair2018-05-30
|/ /
* | Allow repeated entries in Value proto. (#1346)Gravatar rsgowman2018-05-30
| | | | | | | | | | | | | | Normally, this would be unexpected, as only a single entry in the Value proto *should* be present. However, the proto docs state that parsers should be able to handle repeated fields. (In the case of repeated fields, the last one "wins".)
| * Add CoreTestsProtos to scripts/sync_project.rb (and run it)Gravatar Rich Gowman2018-05-29
| |
| * Rename cpp group to CoreTestsProtosGravatar Rich Gowman2018-05-29
| |
* | Merge pull request #1350 from firebase/release-5.1.0Gravatar Ryan Wilson2018-05-29
|\ \ | | | | | | Release 5.1.0
* | | Handle deserializing BatchGetDocumentsResponse error case... (#1344)Gravatar rsgowman2018-05-29
| | | | | | | | | | | | ... where neither 'found' nor 'missing' fields set.