Commit Graph
8 Commits
Author SHA1 Message Date
Gil 729b8d176c Move all Firestore Objective-C to Objective-C++ (#734)
* Move all Firestore files to Objective-C++
* Update project file references
* Don't use module imports from Objective-C++
* Use extern "C" for C-accessible globals
* Work around more stringent type checking in Objective-C++
  * NSMutableDictionary ivars aren't implicitly casted to NSDictionary
  * FSTMaybeDocument callback can't be passed a function that accepts
    FSTDocument
  * NSComparisonResult can't be multiplied by -1 without casting
* Add a #include <inttypes.h> where needed
* Avoid using C++ keywords as variables
* Remove #if __cplusplus guards
2018-01-31 11:23:55 -08:00
Paul Beusterien f8b22fa78c Fix long line and run style (#517) 2017-11-30 16:25:23 -08:00
rsgowman 072c3ae93d Remove dependency on FirebaseAuth (#505)
We now use the internal core functionality instead.
2017-11-30 13:36:48 -05:00
Gil 81d2f97b2e Allow clang-format to find Firestore/Source/Auth (#508)
* Avoid pruning paths with find

find . -path foo -path bar -path baz is horrifically inefficient;
properly excluding all of FirebaseAuth without excluding
Firestore/Source/Auth ends up taking 1.5 minutes on my machine.

Deleting via sed is much faster.

* Allow a branch name or filenames to be specified on the command line

e.g. ./scripts/style.sh master formats only files changed since master.

* Format Firebase/Source/Auth code

* Use alternate delimeter for path regexen
2017-11-30 09:10:58 -08:00
Paul Beusterien 343421d93e FIRAppInternal.h is a published private header (#501) 2017-11-28 13:52:51 -08:00
Paul Beusterien 3e592526ec Buildable and interoperable source pods (#444) 2017-11-21 17:02:22 -08:00
Gil 4fbc96904f Use fully qualified imports in Firestore (#467)
This simplifies the import process back into google3 and allows us to add additional directories to the project without needing to update the project files for each directory we add. This shows up most clearly in the change to Firestore/Example/Firestore.xcodeproj/project.pbxproj: this no longer needs to list essentially every directory in the project as a header search path.

* Clang-format configuration for C++ files
* Add support C++-only sources to the podspec
* Podspec support for fully qualified imports
* xcodeproj changes for fully-qualified imports
* Use fully-qualified imports in Firestore sources
2017-11-16 20:52:01 -08:00
Gil bde743ed25 Release 4.3.0 (#327)
Initial release of Firestore at 0.8.0
Bump FirebaseCommunity to 0.1.3
2017-10-03 08:55:22 -07:00