| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
|
| |
This should prevent weird bugs due to system time readjustments. Because
operations are scheduled relative to now, the fact that the resulting
timepoint isn't in Unix epoch shouldn't matter.
|
|
|
|
|
|
|
|
| |
dispatch_queue_t is defined differently in libdispatch depending on
whether the library header is being include from Objective-C (or
Objective-C++) code, or else from C or C++ code. Make sure that all
source files in Firestore that include executor_libdispatch.h are
compiled in the same mode (Objective-C++) to avoid linker errors.
|
| |
|
|\
| |
| | |
Merge 5.0.0 to master
|
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Bump sequence number on resume token refresh
* Style
* Fix comment formatting
* Add FSTReferenceDelegate definition and documentation
* Add methods to return nil for delegates, wire up inMemoryPins
* Add hook for removing a reference
* Start work on reference delegates
* Fix up tests to support adding documents at a sequence number
* Implement removing references
* Remove from target when dropped from local view
* Fix warning
* Add hooks for removal from mutation queue
* Add hooks for limbo document updates
* Style
* Drop commented-out code
* Fixup after merging master
* Drop sequence number plumbing
* Style
* Drop errant semicolon
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
AsyncQueue is a queue that executes given operations asynchronously,
enforcing that only a single operation is executing at any given time,
and that in-progress operations don't spawn more operations. The actual
execution is delegated to a platform-specific executor. Executor is an
interface for a FIFO queue that executes given operations serially. Two
implementations of Executor, one using libdispatch and the other using
C++11 standard library, are provided.
AsyncQueue is not used anywhere in the code base at this point.
|
| |
| |
| |
| |
| | |
Remove BasePath.Hash() Objective-C compatibility method
Make DocumentKey's hasher use BasePath's segment-based hash code.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Define a Comparator for DocumentKey
* Automated migration from FSTDocumentKeySet to DocumentKeySet
* Manual fixups for DocumentKeySet
* Delete FSTDocumentKeySet
|
| | |
|
| | |
|
| |
| |
| |
| | |
* Add -all_load (See PR #1226)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
We can't necessarily run them yet, but at least verify they build
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Remove spurious dependencies on other project targets in the integration tests
* Integration tests don't depend on OCMock
... and shouldn't
* Integration tests don't directly depend upon leveldb either
* Flatten Firestore example Podfile
Make the targets independent in Firestore/Example/Podfile and add a
workaround to deduplicate dependencies.
* Project file output from running pod update
|
| |
| |
| |
| |
| |
| | |
method definition for 'filterUpdatesUsingExistingKeys:' not found
There are no abstract methods in Objective-C so the base class needs an
implementation.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Bump sequence number on resume token refresh
* Style
* Fix comment formatting
|
| |
| |
| |
| |
| | |
time-of-day. (#1213)
micros could underflow or overflow if the test was run at the wrong time... Replaced with hardcoded timestamps as I don't think making it time-dependent gains us interesting additional coverage.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* Add SortedSet
* Add document_key_set.h
* Add equality to SortedSet
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This is more interesting than the serializing case, as we should expect
to see occasional corruption of our input byte vector.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* remove conversions in `Local` and `Remote`
* replace `FSTSnapshotVersion` in `Model`
* replace `FSTSnapshotVersion` in the rest
* let test check equal with C++ equal
* fix newly added code
* address changes
|
| |
| |
| |
| |
| | |
This is good enough to make it possible for the new C++ code to
interoperate with existing Objective-C code where `-hash` is required if
you override `-isEqual:`.
|
| |\
| | |
| | | |
Two Auth and two Core cherry-picks for 5.0.0
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Adds and modifies deprecation messages
* Addresses Comments
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* remove_deprecated_verify_phone
* Fixes unit tests
|
| |/
| |
| | |
This isn't needed anymore due to the minimum required version being bumped to iOS 8.
|
| |
| |
| |
| |
| |
| | |
* Port the feedback from the port
* Fix comment grammar
|
| |
| |
| |
| |
| |
| | |
* Adds and modifies deprecation messages
* Addresses Comments
|
| |
| |
| |
| |
| |
| | |
* remove_deprecated_verify_phone
* Fixes unit tests
|
| |
| |
| | |
This isn't needed anymore due to the minimum required version being bumped to iOS 8.
|
| | |
|
| |\
| | |
| | | |
Cherry pick #1192 to release-5.0.0
|