| Commit message (Collapse) | Author | Age |
... | |
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |\
| |/
|/| |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
* Modified `HEADER_SEARCH_PATHS` in the project file.
|
| | | |
|
| | |
| | |
| | | |
"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.
|
| | | |
|
| | |
| | |
| | | |
These releases had no user visible changes
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.)
|
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
(#1377)
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Remove extraneous firebase_firestore_util_async_queue target
* Remove unimplemented declaration in string_util.h
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
This avoids a collision with the libprotobuf generated files.
Also removes the "well-known" cpp protos, relying on libprotobuf to supply these instead.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| | |
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".)
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Release 5.1.0
|
| | |
| | |
| | |
| | | |
... where neither 'found' nor 'missing' fields set.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This involves:
- building c++ libprotobuf (rather than just the obj-c version).
- adding c++ libprotobuf, c++ built protos (previously created) to the
*test suite* only (not to the main build).
- modifying existing nanopb CFLAGS to match those that are indirectly
pulled in.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Added .podspec file for libFuzzer
* The libFuzzer pod does not include the `main()` function to allow
the pod to be built independently.
* Fuzzing applications must provide both the `main()` function and
the `LLVMFuzzerTestOneInput` function. The `main()` function should
call `fuzzer::FuzzerDriver(...)` similar to the original `FuzzerMain.cpp`.
* LLVM License and authors
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 198063502 Address comment upstream. by zxu <zxu>
- 197942352 Fix style upstream and fix destination depot in copybara. by zxu <zxu>
- 197925542 Fix headers with change from GitHub, see the current diff... by zxu <zxu>
- 197922012 Implement ListenerRegistration::Remove(). by zxu <zxu>
- 197713382 Implement more on listener class and implement ListenerRe... by zxu <zxu>
- 196551381 Implement more on listener class and implement the Docume... by zxu <zxu>
- 196276752 Implement the SnapshotMetadata with inline methods and (n... by zxu <zxu>
- 195841793 Implement the wrapper class for callback (EventListener). by zxu <zxu>
- 194112388 Add Android-Wrapper for DocumentReference's non-callback ... by zxu <zxu>
- 192445183 Add Android-Wrapper for Firestore's remaining methods. by zxu <zxu>
- 190986604 Manually import the public portion of by mcg <mcg>
- 189013767 Add Android-Wrapper for Firestore's method that does not ... by zxu <zxu>
- 188809445 Import of firebase-ios-sdk from Github. by mcg <mcg>
- 187049498 Import of firebase-ios-sdk from Github. by mcg <mcg>
- 184568931 Import of firebase-ios-sdk from Github. by mcg <mcg>
ORIGINAL_AUTHOR=Firebase <firebase-noreply>
PiperOrigin-RevId: 198063502
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Migrate FSTFail to HARD_FAIL
* FSTCFail -> HARD_FAIL
* FSTCAssert -> HARD_ASSERT
* FSTAssert -> HARD_ASSERT
* Replace FSTAssert with NSAssert in dead Objective-C code
* Remove FSTAssert.h
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Add a project sync script
* Give an error if the configuration references a group that doesn't exist
* Fix hard_assert_test reference
* Run sync_project to sort all project elements
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Bump version numbers for 5.1.0
* Update push pods script for releasing SDKs.
* Fix Core library version string.
|
| |
| |
| |
| |
| |
| | |
Note that it isn't possible to *serialize* NoDocuments.
Still TODO:
- Error handling
|
|/
|
|
|
|
|
| |
* Add direct support for formatting Objective-C objects
* Rewrite log.h
* Convert FSTWarn to LOG_WARN
* Convert FSTLog to LOG_DEBUG
* Remove FSTLogger
|
|
|
|
|
|
| |
... instead of relying on HARD_ASSERTS in resource_path.cc to catch
them.
This fixes an integration test broken in #1304.
|
| |
|
|
|
|
|
|
| |
* Add HARD_ASSERT
* Use HARD_ASSERT
* Remove FIREBASE_ASSERT
* Remove StringPrintf
|
|
|
| |
Roughly s/google::firebase::v1beta1/v1beta1/g
|
|
|
|
|
|
| |
* Move GoogleTest.podspec out of the Tests tree
* Rename GoogleTests to CoreTests
* Move CoreTests to the top-level
* Move FSTGoogleTestTests.mm into core/test
|
|
|
|
|
|
|
| |
* [De]serialize non-empty Document instances
Still TODO:
- NoDocument
- ErrorHandling
|
|
|
|
|
|
| |
* fix "target of using declaration conflicts with declaration already in scope"
* fix "call to implicitly-deleted copy constructor of *unique_ptr*"
|
|
|
|
| |
* Add StringFormat
* Use StringFormat
|
|
|
|
|
|
| |
* fix lint to run copybara
* address changes
|
| |
|
|
|
|
| |
Mostly to make existing methods a bit more general to support followup
PR (which will allow encoding/decoding documents with contents.)
|