Commit Graph
50 Commits
Author SHA1 Message Date
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
Gil 1ede1c9cb3 Use the log_apple.mm logger from C++ on iOS (#593)
* Add all .mm files in Firestore/core to the build (which matches
  log_apple.mm).
* Exclude log_stdio.cc
* Add log_test.cc to the project
2018-01-01 17:17:53 -08:00
Kyle Ju c7f8d7f8da Merge pull request #576 from firebase/release-4.8.0
Release 4.8.0
2017-12-19 11:08:58 -05:00
Kyle Ju e16c38688b Update component versions for Firebase 4.8.0 (#561) 2017-12-12 17:24:19 -05:00
Gil a4d2614d73 Remove prerelease abseil code (#558)
* Add abseil bits to the iOS build

* Migrate from prerelease to published abseil bits in ordered_code

* Remove prerelease abseil code
2017-12-11 19:50:14 -08:00
Marek Gilbert ed26e832f6 Explicitly handle Firestore/third_party/Immutable
This allows Firestore/third_party to include a mix of Objective-C and
C++ code.
2017-12-07 13:02:52 -08:00
Paul Beusterien 30f0c656c5 Merge pull request #515 from firebase/release-4.7.0
Release 4.7.0
2017-11-30 14:30:35 -08:00
Gil 530437ea7a Move sources into firebase::firestore and internal namespaces (#494)
* Move sources into firebase::firestore and internal namespaces

Combine support and core/util packages; this distinction wasn't really
paying its freight.
2017-11-30 12:26:16 -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
Paul Beusterien 53d2359f00 Update component versions for Firebase 4.7.0 (#497) 2017-11-28 07:26:57 -08:00
Paul Beusterien 3e592526ec Buildable and interoperable source pods (#444) 2017-11-21 17:02:22 -08:00