Commit Graph
60 Commits
Author SHA1 Message Date
Ryan Wilson 97803bed2d Fix Core version requirement. (#1871)
These pods depend on FirebaseCore's interop APIs that were introduced
in FirebaseCore version 5.1. This wasn't picked up before since
CocoaPods automatically matched the largest minor version available but
the podspec should accurately represent the version requirements.
2018-09-26 08:31:58 -07:00
Paul Beusterien 1b110eba26 podspec fixes 2018-09-19 15:55:54 -07:00
Paul Beusterien 1e8fc1ac13 Update versions for Release 5.8.0 2018-09-05 13:21:46 -04:00
Paul Beusterien 4f6e4fc092 Update Firestore's leveldb-library dependency version (#1762) 2018-08-29 10:39:13 -07:00
Paul Beusterien 23fe7c6df3 Merge pull request #1756 from firebase/release-5.7.0
Release 5.7.0
2018-08-28 17:12:23 -07:00
Konstantin Varlamov 27e692d5ad GRPC: add BufferedWriter to help issuing GRPC writes one by one (#1684)
Add a dependency on GRPC to XCode build, and add a simple helper class that is intended to help GrpcStream (forthcoming) to avoid issuing several write operations in a row (which would crash GRPC due to a failed assertion).
2018-08-23 15:37:37 -04:00
bstpierr d22bb2a1f7 Update versions for Release 5.7.0 2018-08-22 13:32:03 -04:00
Paul Beusterien 270b1cd4fa Merge pull request #1695 from firebase/release-5.6.0
Update versions for Release 5.6.0
2018-08-15 13:51:01 -07:00
Gil 1843a0efbf Add POSIX and Windows Filesystems (#1634)
* Add a POSIX filesystem implementation

* Add a Win32 filesystem implementation

* Reimplement RecursivelyDelete with IsDirectory returning Status

* Remove the Apple-specific filesystem

Making this consistent with POSIX and Win32 is gratuitously difficult
and just not worth it, when the POSIX code runs perfectly well on Apple
platforms.
2018-08-14 13:30:52 -07:00
Kyle Ju 55075c0007 Update versions for Release 5.6.0 2018-08-08 14:43:59 -04:00
Ryan Wilson 082db6568f Revert version bump from #1657 (#1658)
Merging before Travis is done since things are in a bad state.
2018-08-08 14:39:55 -04:00
Kyle Ju a67dac15af Update versions for Release 5.6.0 2018-08-08 12:39:17 -04:00
Ryan Wilson ef81fc2c93 Update versions for Release 5.5.0 2018-07-26 14:28:17 -04:00
Ryan Wilson 7c56bb7c03 Move Firestore to Auth interop library. (#1525)
* Move Firestore to Auth interop library.

* Fixed TODO with no name.

* Extract interop into separate class.

* Further Firestore interop changes.

* Move auth instance to constructor of CredentialsProvider.

* Resolved travis failures.

* Create separate queue for FIRApp instances, remove dead test code.

* Add missing <string> import.
2018-07-25 13:19:53 -04:00
Marek Gilbert ed5da58a17 Merge remote-tracking branch 'origin/release-5.4.1' into merge-5.4.1 2018-07-20 09:57:46 -07:00
Paul Beusterien acba81fcb0 Update versions for Release 5.4.1 2018-07-19 07:02:11 -07:00
Gil 99092b2d95 Prevent the comment in the prepare_command from interfering (#1554)
Under recent cocoapods I've seen this cause the sed command to be
commented out.
2018-07-18 14:00:33 -07:00
Paul Beusterien ac3654572e Update versions for Release 5.4.0 2018-06-27 07:57:56 -07:00
Paul Beusterien ab06ec466a Merge and resolve conflicts from release-5.3.0 2018-06-20 13:37:28 -07:00
Marek Gilbert 9e5c36b022 Remove PB_FIELD_16BIT 2018-06-15 16:08:56 -07:00
Marek Gilbert 0b77f5a68f Move -D flags into GCC_PREPROCESSOR_DEFINITIONS 2018-06-15 16:07:58 -07:00
Marek Gilbert 892288d523 Add an explicit dependency on nanopb 2018-06-15 15:06:39 -07:00
Paul Beusterien 1cbf3b65aa Version updates for Firebase 5.3.0 (#1406) 2018-06-13 07:36:54 -07:00
Rich Gowman 86cdae83a0 Merge remote-tracking branch 'origin/master' into rsgowman/protobuf_cpp 2018-06-12 10:50:07 -04:00
Rich Gowman cf2899a085 Merge remote-tracking branch 'origin/master' into rsgowman/protobuf_cpp
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.
2018-06-12 10:27:17 -04:00
davidair 3973b6499a Merge branch 'release-5.2.0' into master 2018-06-06 17:29:10 -04:00
Paul Beusterien 77227f58a0 Consistent specification of preprocessor options in podspecs to work with the CocoaPods packager (#1378) 2018-06-05 07:51:07 -07:00
davidair 4713ddf8df Version updates for 5.2.0 (#1355) 2018-05-30 11:53:51 -04:00
Rich Gowman 2d071ec260 Hookup serializer_test.cc to the xcode based test suite
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.
2018-05-28 15:22:47 -04:00
Ryan Wilson 21c17dd188 Bump version numbers for 5.1.0 (#1320)
* Bump version numbers for 5.1.0

* Update push pods script for releasing SDKs.

* Fix Core library version string.
2018-05-23 10:31:30 -04:00
Gil d439bbccd4 Add a HARD_ASSERT C++ assertion macro (#1304)
* Add HARD_ASSERT
* Use HARD_ASSERT
* Remove FIREBASE_ASSERT
* Remove StringPrintf
2018-05-22 13:21:08 -07:00
Paul Beusterien 8bdafd9f14 Version updates for 5.0.1 (#1272) 2018-05-14 07:14:22 -07:00
Paul Beusterien 71aaeb57b1 Remove non-technical FirebaseAnalytics dependencies (#1130) 2018-04-25 08:34:10 -07:00
Paul Beusterien d1ee622dfb podspec updates for Firebase 5 2018-04-25 08:34:10 -07:00
Ryan Wilson 465e9a1f0e Update component versions for 4.12.0 (#1024) 2018-04-04 10:56:23 -04:00
Paul Beusterien d5afb9bbf3 Version bumps for 4.11.0 (#919) 2018-03-14 07:00:34 -07:00
zxu e41f4b1857 Merge Release 4.10.1 into Master (#896)
* Version bumps for Firebase 4.10.1 (#891)

* Minimal fix for b/74357976 (#890)

Fixes b/74357976 which caused unauthenticated users to be unable to reach the Firestore backend and updates the changelog.

* Copy all C++ strings to NSString where they're not obviously safe (#893)

This fixes a known instances of memory corruption where in
FSTLevelDBMutationQueue, the NSString view was retained for later, and
the incorrect user was used, causing b/74381054.

gRPC does not necessarily copy its string argumnets and if our hostname
were configured to a non-default one it's possible that we could corrupt
the host cache too.

All remaining usages of util::WrapNSStringNoCopy are obviously safe:
passed into logging or other known transient usages.

* fix lint
2018-03-09 11:48:07 -05:00
Paul Beusterien 8af210f9df Fix Firestore podspec overlay build (#866) 2018-02-28 09:33:27 -08:00
Paul Beusterien 85dc1d4ec9 Version bumps for Firebase 4.10.0 (#859) 2018-02-27 07:25:18 -08:00
rsgowman aa6f1ae099 Disable -Wrange-loop-analysis for abseil (#807)
absl includes code like this:
```
void fn(std::initializer_list<absl::string_view> pieces) {
  ...
  for (const absl::string_view piece : pieces) total_size += piece.size();
```

clang objects, suggesting that a reference should be used instead, i.e.:
```
  for (const absl::string_view& piece : pieces) total_size += piece.size();
```

But:
a) we don't want to touch absl code
b) string_views are cheap to copy (and absl recommends copying
string_views rather than taking references as it may result in smaller
code)
c) some brief, naive benchmarking suggests there's no significant
different in this case (i.e. (b) is correct.)

Note that -Wrange-loop-analysis is already exlicitly enabled in our
cmake build.
2018-02-16 12:04:06 -05:00
Paul Beusterien ef55eeff42 Require official 1.4.0 for min CocoaPods version (#806) 2018-02-16 07:43:20 -08:00
rsgowman 7a97f6c2ab Enable -Wcomma for our build; disable it for abseil. (#799)
In order to use different cflags for abseil, this patch splits it out
into a subspec within the pod.

The cmake side of things "just works" since Firestore/CMakeLists.txt
includes abseil before setting our compiler flags.
2018-02-16 09:47:30 -05:00
Paul Beusterien ac13e30e63 Version bumps for 4.9.0 (#774) 2018-02-08 09:49:49 -08:00
Rich Gowman 82a65ee12b Fix xcode build errors re nanopb
Involves adding PODS_ROOT/nanopb to include path (to allow include
<pb.h>) and Firestore/Protos/nanopb to include path (to allow include
"google/api/annotations.pb.h" and similar).

In both cases, this is to allow auto-generated code to function
properly.
2018-02-06 13:39:18 -05:00
Gil 32266c5d1c Make sure Firestore/core/include is in the podspec (#748) 2018-02-02 13:12:24 -08:00
Gil 1f77212036 Properly publish Abseil sources as a part of the podspec (#704)
* Properly include abseil sources
* Exclude abseil tests
2018-01-24 20:34:37 -08:00
Gil 9f7c094f9f Add platform detection logic for SecureRandom (#676)
* Add CMake platform detection logic for SecureRandom

Now only builds secure_random_arc4random.cc if available.

Remove firebase/firestore/base/port.h. Nothing else was in that
directory.

* Add a SecureRandom implementation that uses OpenSSL

This is usable on Linux, Windows, and Android

* Properly check return from RAND_bytes
2018-01-19 12:20:46 -08:00
Paul Beusterien cda67e4faa Merge pull request #680 from firebase/release-4.8.1
Merge Release 4.8.1
2018-01-18 13:29:15 -08:00
Gil 2700198d93 Add assert_test to the Xcode build (#671)
* Exclude stdio-backed assert from the Xcode build

* Add assert_test to the Xcode build
2018-01-16 13:16:58 -05:00
Benoit St-Pierre d5012f3fec Version bump for 4.8.1 Release
Updated the version numbers of pods which are being released in 4.8.1
2018-01-11 12:30:04 -05:00