Commit Graph
18 Commits
Author SHA1 Message Date
Thomas Bouldin 90e4522e66 [Feature launch] Re-add increment operator (#5149)
* Definition is currently in an "unreleased" extension to FIRServerValues
* Tests are added to FData.m (integration tests)
* Some tests are renamed to make it clear that ServerValues != timestamps
* Functions that resolve server values now need access to any existing snapshot. This is done with lazy evaluation as described below:

Based on fix https://github.com/firebase/firebase-js-sdk/pull/2499
to bug https://github.com/firebase/firebase-js-sdk/issues/2487

Micro-benchmarking showed that N writes in succession led to N^2
performance when calculating the resolved write tree for those
writes (thankfully only at the subpath in this SDK). Lazy evaluation
of current data matches the optimization in JS that mitigated a
20% performance regression.
2020-04-01 13:30:29 -07:00
Sebastian Schmidt 339c8404d0 Revert "Add +[FIRServerValues increment:] (#4328)" (#4627)
This reverts commit 1cf8a944d7.
2020-01-08 09:25:30 -08:00
Thomas Bouldin 1cf8a944d7 Add +[FIRServerValues increment:] (#4328)
Add +[FIRServerValues increment:]

* Definition is currently in an "unreleased" extension to FIRServerValues
* Functions that resolve server values now need access to any existing snapshot; please help ensure that this is not done wastefully.
* Tests are added to FData.m
  * Setting increment values
  * Setting increment priorities
  * Type coercion
  * Overflows
* Some tests are renamed to make it clear that ServerValues != timestamps
2019-11-21 11:46:56 -08:00
Sebastian Schmidt c706ce9508 Support the RTDB emulator (#3491) 2019-08-05 16:54:37 -07:00
Sebastian Schmidt 9bfbb9ece0 Enable clang-format for RTDB (#3506) 2019-08-05 13:27:47 -07:00
Paul Beusterien 4b3c511e8b Fix analyze issues in Storage and Database (#1741) 2018-08-24 10:13:22 -07:00
Sebastian Schmidt 22334407d3 Fixing concurrent modification when we cancel transaction 2018-04-09 16:32:38 -07:00
Morten Bek Ditlevsen 117e2ac09d Unify the representation of the dotInfoConnected value to always be an __NSCFBoolean 2018-04-09 09:32:29 +02:00
Paul Beusterien f08b5044d6 Add Community Supported tvOS (#590)
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
2018-01-03 12:12:22 -08:00
Paul Beusterien ed3e4982f9 Standardize cross module imports with angle bracket syntax (#526)
Qualify all cross-pod imports of FirebaseCore headers
2017-12-04 08:52:11 -08:00
Paul Beusterien fed01fc8d4 Fix warnings exposed by Xcode 9.1 in RTDB (#353) 2017-10-10 06:55:36 -07:00
Sebastian Schmidt c6bde890ce Adding Multi-Resource support to the Firebase iOS SDK (#278)
* Adding Multi-Resource support to the Firebase iOS SDK.

This CL also makes RepoInfo hashable and simplifies RepoManager based on this.
2017-09-15 16:45:46 -07:00
Sebastian Schmidt 55476604aa Inlcuding bandwidth usage in error message for queries without indexes (#201) 2017-08-16 19:08:43 -07:00
Paul Beusterien 053b2f11ea Use modulemap to fix exposure of FirebaseCore's internal headers (#121) 2017-07-10 14:57:03 -07:00
Paul Beusterien ddbfd4cc66 Add travis trailing whitespace check (#116)
* Add travis trailing whitespace check

* Remove trailing white space
2017-06-30 13:47:37 -04:00
Paul Beusterien aac64a63ae Add Foundation import so TARGET_OS_IOS or other TARGET_OS_* gets defined (#71) 2017-06-06 17:00:20 -07:00
Mathew Huusko V 5c59342e6e macOS (#38)
* Example/Core: create macOS app/tests target

* Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS

* Example/Core: macOS building/tests passing

* Example/Database: separate iOS/macOS targets

* BuildFrameworks: macOS

* .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS

* test.sh: add AllUnitTests_macOS

* Example/Storage: Example/Tests->_iOS

* Example/Storage: macOS

* test.sh: try to prevent double error 65

* test.sh: build before test

* Example/Auth|Messaging: -> _iOS

* Example/Auth: macOS build

* Example/Auth: macOS passing

* Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock

* Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks

* Example/Firebase: copied OCMock, prevent header removal

* Example/Storage: integration tests sdk fix

* Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup

* Firebase/Core: remove nullability annotation

* Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches

* build.swift: style fix

* Firebase/Core: FIRLogger: fix macOS intermittent va_list error
2017-06-02 10:42:17 -07:00
Paul Beusterien 98ba64449a Initial 2017-05-15 12:27:07 -07:00