Skip to content

merge master into firestore-api-changes #1095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 366 commits into from
Apr 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
366 commits
Select commit Hold shift + click to select a range
fd83e07
Strawman C++ API (#763)
rsgowman Feb 12, 2018
4afcfb1
Move to explicit nil check. (#782)
ryanwilson Feb 12, 2018
adf9fb3
Update FieldValue of type Reference (#775)
zxu123 Feb 12, 2018
9504582
Port Firestore Document to C++ (#777)
zxu123 Feb 13, 2018
12faf20
Cleaning up implicit retain for the RTDB and Storage
schmidt-sebastian Feb 13, 2018
c7c51a7
Fix double parsing on 32 bit devices. (#787)
ryanwilson Feb 13, 2018
5f5f808
Keep track of number of queries in the query cache (#776)
Feb 13, 2018
6496eca
style fix
paulb777 Feb 13, 2018
b6613bd
Cleaning up implicit retain for the RTDB and Storage
schmidt-sebastian Feb 13, 2018
95d0411
fix flaky test (#788)
zxu123 Feb 13, 2018
2c10769
Fix off-by-one error in Auth changelog (#789)
paulb777 Feb 13, 2018
fe19fca
Serialize and deserialize null (#783)
rsgowman Feb 13, 2018
0f3c24b
Actually ignore events on inactive streams, rather than just logging …
Feb 14, 2018
933be73
Improve documentation on auto-init property in FCM. (#792)
charlotteliang Feb 14, 2018
e4be254
Fixed capitalization of init in test function. (#797)
ryanwilson Feb 14, 2018
0d6b540
Update README.md with code markup (#800)
ryanwilson Feb 14, 2018
6889850
Merge pull request #801 from firebase/release-4.9.0
paulb777 Feb 14, 2018
fd9fd27
replacing Auth/FSTUser by C++ auth implementation (#804)
zxu123 Feb 15, 2018
81ee594
DispatchQueue delayed callback improvements + testing (#784)
mikelehen Feb 16, 2018
7a97f6c
Enable -Wcomma for our build; disable it for abseil. (#799)
rsgowman Feb 16, 2018
7cddb97
Serialize (and deserialize) bool values (#791)
rsgowman Feb 16, 2018
ef55eef
Require official 1.4.0 for min CocoaPods version (#806)
paulb777 Feb 16, 2018
aa6f1ae
Disable -Wrange-loop-analysis for abseil (#807)
rsgowman Feb 16, 2018
a9f3f35
Delete stale Firestore instances after FIRApp is deleted. (#809)
ryanwilson Feb 16, 2018
7a4a2ea
replacing FSTGetTokenResult by C++ Token implementation (#805)
zxu123 Feb 20, 2018
9bf73ab
Fix two stream close issues (b/73167987, b/73382103). (#810)
mikelehen Feb 20, 2018
de00de2
[En|De]codeUnsignedVarint -> [En|De]codeVarint (#817)
rsgowman Feb 20, 2018
14ea068
Make FSTTimestamp into a public Firestore class (#698)
var-const Feb 20, 2018
67b068e
Fix implicit retain self warnings (#808)
rsgowman Feb 21, 2018
50f9df9
Accept FIRTimestamp where NSDate is currently accepted as a parameter…
var-const Feb 21, 2018
41dcd4b
Fix trivial mem leak in the test suite (#828)
rsgowman Feb 21, 2018
6ce954a
Serialize (and deserialize) int64 values (#818) (#829)
rsgowman Feb 22, 2018
935f3ca
Avoid wrapping and rewrapping NSStrings when constructing DatabaseId…
wilhuff Feb 22, 2018
4dc63f8
Fix Firestore tests for M22 (#834)
wilhuff Feb 22, 2018
442d46f
Avoid warnings about failing to override a designated initializer (#832)
wilhuff Feb 22, 2018
a21ccc6
address PR comments
morganchen12 Feb 22, 2018
ddc12c0
Merge pull request #694 from morganchen12/auth-docs
morganchen12 Feb 22, 2018
b5c60ad
Refactor [En|De]codeVarint to be symetric wrt tags (#837)
rsgowman Feb 22, 2018
f7d9f29
Fix lint warnings (#840)
wilhuff Feb 22, 2018
f75267b
Don't build firebase_firestore_testutil_apple on non-apple platforms.…
rsgowman Feb 22, 2018
db1cf74
Initial Carthage distribution instructions (#821)
paulb777 Feb 23, 2018
f735461
Update CHANGELOG for release (#845)
charlotteliang Feb 23, 2018
13e3667
Add build infrastructure for Codable support in Firestore (#815)
wilhuff Feb 26, 2018
dfda142
Move -messageWasLogged to FIRTestCase
bstpierr Feb 26, 2018
f851ca9
Add third-party library version registration
bstpierr Feb 26, 2018
d4ec105
Fixes clang warnings for Auth (#848)
protocol86 Feb 26, 2018
ac33d9b
Revert "Move -messageWasLogged to FIRTestCase"
bstpierr Feb 26, 2018
34dd1db
Add tests for useragent
bstpierr Feb 26, 2018
ac06a94
Auto-style swift sources (#847)
wilhuff Feb 26, 2018
6f5eebb
PR feedback
bstpierr Feb 26, 2018
bc9dacf
Add FirebaseCore version reporting
bstpierr Feb 26, 2018
e281a21
Deflake tests
bstpierr Feb 26, 2018
b18e09c
Merge pull request #850 from firebase/bs-useragent
bstpierr Feb 26, 2018
e9879a6
Merge branch 'master' into bs-firebasecore-version
bstpierr Feb 26, 2018
3f47579
Merge branch 'master' into bs-firebasecore-version
bstpierr Feb 26, 2018
c8d8699
Updating RTDB Changelog for v4.1..5
schmidt-sebastian Feb 26, 2018
d1f7cda
Update CHANGELOG.md
schmidt-sebastian Feb 26, 2018
3d03426
Style fixes
bstpierr Feb 26, 2018
37c70ec
Change library name
bstpierr Feb 26, 2018
add61e6
Update CHANGELOG.md
schmidt-sebastian Feb 26, 2018
992541b
Update CHANGELOG.md
schmidt-sebastian Feb 26, 2018
0960a06
Merge pull request #853 from firebase/schmidt-sebastian-patch-6
schmidt-sebastian Feb 26, 2018
26a78ec
Merge pull request #855 from firebase/schmidt-sebastian-patch-7
schmidt-sebastian Feb 26, 2018
1321688
Add XCode and Apple SDK versions
bstpierr Feb 26, 2018
6e73c78
Update CHANGELOG for Firestore v0.10.2 (#856)
wilhuff Feb 26, 2018
23a6f90
Manually fix clang-format issues
bstpierr Feb 27, 2018
11b431f
Remove unnecessary nonnull annotations
bstpierr Feb 27, 2018
e55079e
Merge pull request #851 from firebase/bs-firebasecore-version
bstpierr Feb 27, 2018
f3e412f
Update changelog for release (#857)
protocol86 Feb 27, 2018
a6c0e3f
Update Core CHANGELOG for 4.0.16 (#858)
paulb777 Feb 27, 2018
85dc1d4
Version bumps for Firebase 4.10.0 (#859)
paulb777 Feb 27, 2018
f058881
Convert cmake build to (mostly) use urls rather than git clones (#852)
rsgowman Feb 27, 2018
13aeb61
Eliminate TypedValue and serialize direct from FieldValue to bytes. (…
rsgowman Feb 27, 2018
3e7c062
replacing Auth by C++ auth implementation (#802)
zxu123 Feb 27, 2018
1ecf690
Add FieldValue.boolean_value() (#862)
rsgowman Feb 27, 2018
288855b
Add Code of Conduct from Google open source template (#861)
paulb777 Feb 28, 2018
8af210f
Fix Firestore podspec overlay build (#866)
paulb777 Feb 28, 2018
c6f73f7
Fix the issue completion handler is not triggered in subscribeToTopic…
charlotteliang Feb 28, 2018
9b5b4d8
Serialize (and deserialize) string values (#864)
rsgowman Feb 28, 2018
b964ef4
Fix the issue completion handler is not triggered in subscribeToTopic…
charlotteliang Feb 28, 2018
1c40e7a
add converters and port paths to FSTQuery (#869)
zxu123 Mar 5, 2018
34ebf10
Add 10 second timeout waiting for connection before client behaves as…
mikelehen Mar 5, 2018
8311c64
port paths to FSTDocumentKey (#877)
zxu123 Mar 6, 2018
0b8f216
Merge pull request #880 from firebase/release-4.10.0
paulb777 Mar 6, 2018
8ef0f14
Adds Email link sign-in (#882)
paulb777 Mar 7, 2018
5930ad2
Factor out a universal build script (#884)
wilhuff Mar 7, 2018
b7750b5
Speed up source checks in Travis (#885)
wilhuff Mar 7, 2018
2ae36f1
[De]Serialize FieldValue map_values ("Objects") (#878)
rsgowman Mar 8, 2018
0771482
Version bumps for Firebase 4.10.1 (#891)
paulb777 Mar 8, 2018
622a911
Minimal fix for b/74357976 (#890)
mikelehen Mar 8, 2018
d44174e
Copy all C++ strings to NSString where they're not obviously safe (#893)
wilhuff Mar 8, 2018
e41f4b1
Merge Release 4.10.1 into Master (#896)
zxu123 Mar 9, 2018
5be66dc
Merge branch 'master' into wilhuff/merge-release-4.10.1
wilhuff Mar 9, 2018
ca3bae5
Merge pull request #901 from firebase/wilhuff/merge-release-4.10.1
paulb777 Mar 9, 2018
0d3adb1
Partial wrapping of pb_ostream_t (pt1) (#899)
rsgowman Mar 9, 2018
24c4ea8
Parallelize the Travis run using build stages (#886)
wilhuff Mar 10, 2018
7522314
Partial wrapping of pb_ostream_t (pt2) (#903)
rsgowman Mar 12, 2018
f122cf7
Fix MutationQueue issue resulting in re-sending acknowledged writes. …
mikelehen Mar 12, 2018
3e41f25
Fix test failures that occur during prod build (#910)
rsgowman Mar 12, 2018
2b82a2e
Allow serializing arbitrary length FieldValues (#889)
rsgowman Mar 12, 2018
07f4695
Updates Changelog for 4.5.0 release (#908)
protocol86 Mar 12, 2018
66ad48a
Partial wrapping of pb_ostream_t (pt3) (#907)
rsgowman Mar 13, 2018
73a83ec
Update CHANGELOG for Firestore v0.10.4 (#914)
wilhuff Mar 13, 2018
687e8d7
Partial wrapping of pb_ostream_t (pt4) (#915)
rsgowman Mar 13, 2018
d4d73ea
Defend against users making API calls during deinit (#863)
wilhuff Mar 13, 2018
9e81562
grand PR to port the remaining paths (FieldPath and ResourcePath). (#…
zxu123 Mar 14, 2018
e754491
Add instruction to delete Firebase.framework from link (#917)
paulb777 Mar 14, 2018
a2b8b96
Add a CHANGELOG entry for fixed absl symbols (#918)
wilhuff Mar 14, 2018
d5afb9b
Version bumps for 4.11.0 (#919)
paulb777 Mar 14, 2018
15bec81
Partial wrapping of pb_ostream_t (pt5) (#916)
rsgowman Mar 14, 2018
7b960fd
Temporarily disable currently-over-aggressive assert for duplicate FS…
mikelehen Mar 14, 2018
7e65885
Add sign in method constants (#923)
protocol86 Mar 15, 2018
35de3c5
Move creation of pb_ostream_t's into Writer (#920)
rsgowman Mar 15, 2018
2d9d3a8
adding converters between DocumentKey (#900)
zxu123 Mar 15, 2018
52334d2
Move core/types.h to model to prevent a core -> local -> core depende…
wilhuff Mar 15, 2018
9060078
Implements transactions for leveldb (#881)
Mar 15, 2018
1395c82
Adds exception for invalid parameter (#931)
protocol86 Mar 16, 2018
4e7296b
port `DocumentKey` to non-container types of `Model/*` (#930)
zxu123 Mar 16, 2018
5296665
Add Status and StatusOr (#935)
rsgowman Mar 19, 2018
b7f35a0
Initial Firebase Functions (#948)
paulb777 Mar 20, 2018
b841009
Run scripts/style.sh on Functions (#949)
paulb777 Mar 20, 2018
03275eb
Fix Functions copyrights (#951)
paulb777 Mar 20, 2018
87e511d
Merge pull request #950 from firebase/release-4.11.0
paulb777 Mar 20, 2018
d924771
Fix FSTTimerID strings in spec tests to match constants used in web. …
mikelehen Mar 21, 2018
308acc0
Change CredentialsProvider::TokenListener to use StatusOr<Token> (#945)
rsgowman Mar 21, 2018
51ffae2
Run Functions Unit Tests on travis (#954)
paulb777 Mar 21, 2018
7854c51
Add file I/O usage to Core documentation. (#959)
ryanwilson Mar 21, 2018
5f49b2f
Fix for b/74749605: Cancel pending backoff operations when closing st…
mikelehen Mar 21, 2018
cf630bf
Port FSTLevelDBKey to C++ (#937)
wilhuff Mar 22, 2018
7a512f4
Add `ToString()` to `LevelDbTransaction` (#946)
Mar 22, 2018
1e769d7
Delete legacy module map (#964)
paulb777 Mar 22, 2018
4afaafd
Change write groups to use transactions (#912)
Mar 22, 2018
c1c9fec
fix style.sh (#966)
zxu123 Mar 22, 2018
352b790
Switch FSTLevelDBQueryCache to use transactions (#942)
Mar 23, 2018
df92f1a
Renames in serializer to reflect recent changes (#957)
rsgowman Mar 23, 2018
6a61d83
nit to work with Jazzy doc style (#952)
ulukaya Mar 23, 2018
0ccfd6a
port C++ `DocumentKey` to `Local/*` (#963)
zxu123 Mar 23, 2018
3817034
fix a typo (#970)
zxu123 Mar 24, 2018
b3050e4
port C++ `DocumentKey` to `Remote/*` (#965)
zxu123 Mar 24, 2018
4c3fb51
Rewrite leveldb_key to use a Reader/Writer class (#960)
wilhuff Mar 24, 2018
acc5c45
Improve macOS/tvOS installation instructions (#972)
paulb777 Mar 25, 2018
f77ec68
Switch LevelDB MutationQueue and RemoteDocumentCache to use transacti…
Mar 26, 2018
e0e6625
Fix issue that could cause offline get()s to wait up to 10 seconds. (…
mikelehen Mar 26, 2018
e1caca4
backtick-escape code block
morganchen12 Mar 26, 2018
5d38a35
Running a transaction (#969)
Mar 26, 2018
ef58354
Merge pull request #979 from firebase/morganchen12-patch-1
morganchen12 Mar 26, 2018
13aa616
Add missing license file (#981)
rsgowman Mar 26, 2018
22c226a
C++ migration: make Timestamp class a part of public API (#944)
var-const Mar 27, 2018
a335d78
Only add nanopb proto headers to the -I path when depending on the na…
rsgowman Mar 27, 2018
cb8c4b6
port C++ DocumentKey to the rest of Firestore code (#977)
zxu123 Mar 27, 2018
c670313
Remove FIRMessagingInstanceIDProxy
morganchen12 Mar 27, 2018
0e86c06
Add ObjectValue::Map alias (#967)
rsgowman Mar 27, 2018
069932d
Deprecate StorageMetadata.downloadURLs
schmidt-sebastian Mar 27, 2018
aa09898
Clang format
schmidt-sebastian Mar 27, 2018
e78f9d4
Fix some formatting issues.
bklimt Mar 27, 2018
54c064c
Merge pull request #984 from morganchen12/iid-proxy
morganchen12 Mar 28, 2018
de07d57
Merge pull request #987 from firebase/klimt-fix-format
bklimt Mar 28, 2018
f8092c0
Merge pull request #985 from firebase/downlaodurldeprecation
schmidt-sebastian Mar 29, 2018
13ff01e
Initial TreeSortedMap and SortedMap in C++ (#980)
wilhuff Mar 29, 2018
cb1f65d
Migrate Firebase off ObjC module @import statements (#992)
bhamiltoncx Mar 29, 2018
d9b2d31
Remove some usages of FSTWriteGroup (#983)
Mar 29, 2018
861ad89
Remove unused shutdown methods (#993)
Mar 29, 2018
45e68a3
Clean up usages of std::make_unique that crept in (#996)
wilhuff Mar 29, 2018
b1fa08a
C++ migration: fix some Timestamp tests failing on Linux. (#999)
var-const Mar 29, 2018
54fe9ba
Add Logger Service for Swizzler (#1002)
paulb777 Mar 29, 2018
744f9da
C++ migration: refactor Timestamp logic checking for overflow. (#1000)
var-const Mar 30, 2018
ea490a2
Custom claims client api (#1004)
protocol86 Mar 30, 2018
3f36f54
Drop FSTWriteGroup (#986)
Mar 30, 2018
a91d4ae
Fix import casing (#1010)
paulb777 Mar 30, 2018
cdd8554
Fix optimized build missing symbol issue (#1009)
paulb777 Mar 30, 2018
653aea7
Adding a new topic subscription/unsubcription with completion handler…
charlotteliang Mar 30, 2018
a17740e
Add a flag to control whether DocumentSnapshots return Dates or Times…
var-const Mar 30, 2018
c5eb0bb
removes deprecation messages getIDTokenWithComp.. (#1011)
protocol86 Mar 30, 2018
dd5ce8f
4.11.0 Carthage update - adding Functions, Invites, and Firestore (#1…
paulb777 Apr 2, 2018
ae51b53
update changelog for release (#1014)
charlotteliang Apr 2, 2018
23a5092
Updating Firestore Changelog for v0.11.0
schmidt-sebastian Apr 2, 2018
c3ed2b5
Updating Firebase Storage Changelog for v2.2.0
schmidt-sebastian Apr 2, 2018
5f8d07b
Fixing spelling
schmidt-sebastian Apr 2, 2018
9dab439
Merge pull request #1015 from firebase/schmidt-sebastian-patch-8
schmidt-sebastian Apr 2, 2018
5498229
Merge pull request #1016 from firebase/schmidt-sebastian-patch-9
schmidt-sebastian Apr 2, 2018
c46e7f2
Drop FSTRemoteDocumentChangeBuffer (#1013)
Apr 2, 2018
dfc7d5e
improve logging when subscription failed (#1017)
charlotteliang Apr 2, 2018
1be9737
Updates change log (#938)
protocol86 Apr 3, 2018
6566328
Adds copy auth state API (#1018)
protocol86 Apr 4, 2018
1b66d73
Updates changelog (#1022)
protocol86 Apr 4, 2018
fbe9f9c
Adds support for deep link to Email/Link sign-In (#1023)
protocol86 Apr 4, 2018
465e9a1
Update component versions for 4.12.0 (#1024)
ryanwilson Apr 4, 2018
5fa10a9
port FieldMask to C++ (#998)
zxu123 Apr 4, 2018
2961f17
updates the changelog for pending release (#1025)
protocol86 Apr 4, 2018
eb583f2
Fix build break from trailing whitespace (#1027)
paulb777 Apr 4, 2018
a645c62
Fix the comments for subscribe to topic (#1026)
charlotteliang Apr 4, 2018
4416b60
Cherry Pick of comments and changelog for M23 (#1028)
ryanwilson Apr 4, 2018
5e2a9e4
Fix build break from trailing whitespace (#1027)
paulb777 Apr 4, 2018
7257c0d
Fix nullability warning with new Messaging API (#1029)
ryanwilson Apr 5, 2018
fb14ee3
Fix nullability warning with new Messaging API (#1029) (#1032)
ryanwilson Apr 5, 2018
db717bf
Port transform operations to C++ (#1020)
zxu123 Apr 5, 2018
73d3f78
Add error handling for serializer (for serializing case only) (#991)
rsgowman Apr 5, 2018
adcaa59
Fix build breakage on linux (#997)
rsgowman Apr 5, 2018
9da8437
add NS_ASSUME_NONNULL macros to messaging
morganchen12 Apr 5, 2018
aa073fb
Merge pull request #1035 from morganchen12/firmessaging-nonnull
morganchen12 Apr 5, 2018
6ea2af1
Update unit test options for with or without use_frameworks (#1037)
paulb777 Apr 6, 2018
21a6e1f
Minor enhancements (#1041)
protocol86 Apr 8, 2018
117e2ac
Unify the representation of the dotInfoConnected value to always be a…
mortenbekditlevsen Apr 9, 2018
42bc113
Travis static library testing (#1047)
paulb777 Apr 9, 2018
b8fdf48
Remove old FIROptions constructor. (#615)
ryanwilson Jan 4, 2018
d7e2e99
Move to NSProcessInfo for systemVersion. (#614)
ryanwilson Jan 4, 2018
835df05
Remove deprecations from FIRConfiguration. (#760)
ryanwilson Feb 7, 2018
7f189b9
Remove compatibility shim for Xcode 7. (#785)
ryanwilson Feb 13, 2018
75d51e6
Remove deprecated implementation - fixes build. (#794)
ryanwilson Feb 14, 2018
5bf3a6a
Fixed Core test's missing constant. (#795)
ryanwilson Feb 14, 2018
7f8a5ef
Actually fixed the tests this time. (#796)
ryanwilson Feb 14, 2018
afbf4a4
Remove UIKit dependency on FIRApp. (#798)
ryanwilson Feb 14, 2018
94c2e70
Remove iOS 7 Deprecation message.
ryanwilson Apr 9, 2018
d7c3d71
Remove App Indexing deprecation message.
ryanwilson Apr 9, 2018
8f1ae72
Return @YES/@NO in .info/connected
schmidt-sebastian Apr 9, 2018
2f2bb7f
Import changes to build Auth as a Swift static lib (#1042)
paulb777 Apr 9, 2018
0a66187
Add lint checking for Objective-C++ sources (#1048)
wilhuff Apr 9, 2018
af20b65
Updated CHANGELOG.md
ryanwilson Apr 9, 2018
2233440
Fixing concurrent modification when we cancel transaction
schmidt-sebastian Apr 9, 2018
6102886
[BREAKING] Remove FIR prefix on FIRFunctionsErrorCode (#955)
ryanwilson Apr 9, 2018
8f6d120
Fixing concurrent modification when we cancel transactions
schmidt-sebastian Apr 10, 2018
dc8c663
Remove deprecated remoteMessageDelegate (#1054)
charlotteliang Apr 10, 2018
8a06fcb
Updated changelog.
ryanwilson Apr 10, 2018
10105d8
Enable Core Unit Tests to run in a Release config (#1064)
paulb777 Apr 10, 2018
5372949
Fix build on linux due to isnan not being present. (#1063)
rsgowman Apr 10, 2018
7550b6e
Make Carthage "choosing a subset" clearer (#1061)
paulb777 Apr 10, 2018
23742e8
Merge pull request #1050 from firebase/core-breaking-changes
ryanwilson Apr 10, 2018
59f9dcb
FIREBASE_DEV_ASSERT -> FIREBASE_ASSERT within serializer.cc (#1062)
rsgowman Apr 10, 2018
2ac778f
Port FieldTransform to C++ (#1033)
zxu123 Apr 10, 2018
135e2ac
Minor cleanups to firebase_assert.h (#1051)
wilhuff Apr 10, 2018
55eed80
Merge pull request #1067 from firebase/release-4.12.0
paulb777 Apr 11, 2018
f1fa625
Make it easier to consume sub-libraries within util (#1065)
wilhuff Apr 11, 2018
09e4edd
Rebuild proto artifacts from existing sources and update README.md in…
mikelehen Apr 11, 2018
14bcf8f
remove deprecated data message callback (#1068)
charlotteliang Apr 11, 2018
9f02fa6
iOS: fix data race in FSTDispatchQueue. (#1070)
var-const Apr 11, 2018
651e127
Refactor deserialization methods (#1038)
rsgowman Apr 11, 2018
edc7faa
Swift naming StorageVersionString (#560)
ulukaya Apr 11, 2018
63be6a4
change podspec to add third party header files
mylyuic Apr 11, 2018
74411e5
Merge pull request #1073 from firebase/yongmao/move-environment-util-…
mylyuic Apr 11, 2018
6f2ef7d
Update protos. (#1075)
mikelehen Apr 12, 2018
9784471
Add CMake options to build using sanitizers (#1053)
var-const Apr 12, 2018
c2d4d3a
Small cleanup to UserDataConverter / FieldValue sentinel code to make…
mikelehen Apr 12, 2018
1397e4a
Remove deprecated token callback (#1074)
charlotteliang Apr 12, 2018
8876622
Add clang-tidy checks for Firestore (#1078)
wilhuff Apr 12, 2018
ac969c7
Fixes typo that causes token parsing to break (#1076)
protocol86 Apr 12, 2018
2ceea9b
Port `Precondition` to C++ (#1040)
zxu123 Apr 13, 2018
4797b98
Update changelog (#1090)
protocol86 Apr 13, 2018
609cd03
Options should be nullable for subscription (#1085)
charlotteliang Apr 13, 2018
6b7786e
Revert "merge master to firestore-api-changes (#868)"
rsgowman Apr 13, 2018
b0e344e
Merge remote-tracking branch 'origin/master' into rsgowman/fix_firest…
rsgowman Apr 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
130 changes: 79 additions & 51 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,92 @@
os: osx
osx_image: xcode9.2
language: objective-c
cache:
- bundler
- cocoapods

rvm: 2.3.1
before_install:
# Add next line back with updated DeviceUDID for xcode9.1 if stability issues with simulator
# - open -a "simulator" --args -CurrentDeviceUDID ABBD7191-486B-462F-80B4-AE08C5820DA1
- bundle install
- gem install xcpretty
- bundle exec pod install --project-directory=Example --repo-update
- bundle exec pod install --project-directory=Firestore/Example --no-repo-update
- brew install clang-format
- brew install swiftformat
- brew install cmake
- brew install go # Somehow the build for Abseil requires this.
- echo "$TRAVIS_COMMIT_RANGE"
- echo "$TRAVIS_PULL_REQUEST"
- |
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
SKIP_FIREBASE=0
SKIP_FIRESTORE=0
else
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -Eq '^(Firebase|Example)'
SKIP_FIREBASE="$?"
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -q Firestore
SKIP_FIRESTORE="$?"
fi

script:
# Fail on trailing whitespace in non-binary, non-generated-nanopb files
- "! git grep -I ' $' ':(exclude)Firestore/Protos/nanopb'"
- "! git grep -EL --name-only 'Copyright [0-9]{4}.*Google' | grep -v third_party | egrep '\\.(m|h|cc|mm|c)$'"
- ./scripts/style.sh test-only # Validate clang-format compliance
- |
if [ $SKIP_FIREBASE != 1 ]; then
./test.sh
fi
- |
if [ $SKIP_FIRESTORE != 1 ]; then
./scripts/lint.sh # Google C++ style compliance
fi
- |
if [ $SKIP_FIRESTORE != 1 ]; then
./Firestore/test.sh
fi
jobs:
include:
- stage: checks
# This only needs to be run once, so restrict it to an arbitrary combination
before_install:
- brew install clang-format
- brew install swiftformat
script:
- ./scripts/check_whitespace.sh
- ./scripts/check_copyright.sh
- ./scripts/check_no_module_imports.sh
- ./scripts/style.sh test-only $TRAVIS_COMMIT_RANGE
# Google C++ style compliance
- ./scripts/lint.sh $TRAVIS_COMMIT_RANGE

# TODO fix os_log deprecation warning in FIRLogger to remove --allow-warnings
- |
if [ $SKIP_FIREBASE != 1 ]; then
bundle exec pod lib lint FirebaseCore.podspec --allow-warnings
fi
- stage: test
env:
- PROJECT=Firebase PLATFORM=iOS
before_install:
# Add next line back with updated DeviceUDID for xcode9.1 if stability issues with simulator
# - open -a "simulator" --args -CurrentDeviceUDID ABBD7191-486B-462F-80B4-AE08C5820DA1
- bundle install
- gem install xcpretty
- ./scripts/if_changed.sh bundle exec pod install --project-directory=Example --repo-update
- ./scripts/if_changed.sh bundle exec pod install --project-directory=Functions/Example
script:
- ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM

# TODO - Uncomment subsequent lines once FirebaseCore source repo is in public Specs repo
# - bundle exec pod lib lint FirebaseAuth.podspec
# - bundle exec pod lib lint FirebaseDatabase.podspec
# - bundle exec pod lib lint FirebaseMessaging.podspec --allow-warnings #pending #390 fix
# - bundle exec pod lib lint FirebaseStorage.podspec
# - bundle exec pod lib lint Firestore/Firestore.podspec
# TODO fix os_log deprecation warning in FIRLogger to remove --allow-warnings
- ./scripts/if_changed.sh bundle exec pod lib lint FirebaseCore.podspec --allow-warnings

# TODO - Uncomment subsequent lines once FirebaseCore source repo is in public Specs repo
# - bundle exec pod lib lint FirebaseAuth.podspec
# - bundle exec pod lib lint FirebaseDatabase.podspec
# - bundle exec pod lib lint FirebaseMessaging.podspec
# - bundle exec pod lib lint FirebaseStorage.podspec
# - bundle exec pod lib lint FirebaseFirestore.podspec

- stage: test
env:
- PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild
before_install:
- bundle install
- gem install xcpretty
- ./scripts/if_changed.sh bundle exec pod install --project-directory=Firestore/Example --repo-update
script:
- ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD

- stage: test
env:
- PROJECT=Firestore PLATFORM=macOS METHOD=cmake
before_install:
- bundle install
- gem install xcpretty
- brew install cmake
- brew install go # Somehow the build for Abseil requires this.
- ./scripts/if_changed.sh bundle exec pod install --project-directory=Example --repo-update
- ./scripts/if_changed.sh bundle exec pod install --project-directory=Firestore/Example --no-repo-update
script:
- ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD

- stage: test
env:
- PROJECT=Firebase PLATFORM=macOS
before_install:
- bundle install
- gem install xcpretty
- ./scripts/if_changed.sh bundle exec pod install --project-directory=Example --repo-update
script:
- ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM

- stage: test
env:
- PROJECT=Firebase PLATFORM=tvOS
before_install:
- bundle install
- gem install xcpretty
- ./scripts/if_changed.sh bundle exec pod install --project-directory=Example --repo-update
script:
- ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM

branches:
only:
Expand Down
93 changes: 93 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Firebase Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of
experience, education, socio-economic status, nationality, personal appearance,
race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, or to ban temporarily or permanently any
contributor for other behaviors that they deem inappropriate, threatening,
offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

This Code of Conduct also applies outside the project spaces when the Project
Steward has a reasonable belief that an individual's behavior may have a
negative impact on the project or its community.

## Conflict Resolution

We do not believe that all conflict is bad; healthy debate and disagreement
often yield positive results. However, it is never okay to be disrespectful or
to engage in behavior that violates the project’s code of conduct.

If you see someone violating the code of conduct, you are encouraged to address
the behavior directly with those involved. Many issues can be resolved quickly
and easily, and this gives people more control over the outcome of their
dispute. If you are unable to resolve the matter for any reason, or if the
behavior is threatening or harassing, report it. We are dedicated to providing
an environment where participants feel welcome and safe.

Reports should be directed to Paul Beusterien([email protected]), the
Project Steward for the Firebase iOS SDK. It is the Project Steward’s duty to
receive and address reported violations of the code of conduct. They will then
work with a committee consisting of representatives from the Open Source
Programs Office and the Google Open Source Strategy team. If for any reason you
are uncomfortable reaching out the Project Steward, please email
[email protected].

We will investigate every complaint, but you may not receive a direct response.
We will use our discretion in determining when and how to follow up on reported
incidents, which may range from not taking action to permanent expulsion from
the project and project-sponsored spaces. We will notify the accused of the
report and provide them an opportunity to discuss it before any action is taken.
The identity of the reporter will be omitted from the details of the report
supplied to the accused. In potentially harmful situations, such as ongoing
harassment or threats to anyone's safety, we may take action without notice.

## Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
available at
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
19 changes: 16 additions & 3 deletions Carthage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This page introduces and provides instructions for an **experimental** Firebase
feedback and usage, the Firebase team may decide to make the Carthage
distribution official.

FirebaseFirestore and FirebaseInvites are not yet supported from Carthage.
Please [let us know](https://github.com/firebase/firebase-ios-sdk/issues) if you
have suggestions about how best to distribute Carthage binaries that include
resource bundles.
Expand All @@ -27,8 +26,9 @@ more details and additional installation methods.

## Carthage Usage

- Create a Cartfile with a **subset** of the following components. Note that
**FirebaseAnalytics** must always be included.
- Create a Cartfile with a **subset** of the following components - choosing the
Firebase components that you want to include in your app. Note that
**FirebaseAnalytics** must always be included.
```
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseABTestingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAdMobBinary.json"
Expand All @@ -37,6 +37,9 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDynamicLinksBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInvitesBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json"
Expand All @@ -48,6 +51,16 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.jso
they're added to the right build target(s).
- Add the -ObjC flag to "Other Linker Flags".
- Make sure that the build target(s) includes your project's `GoogleService-Info.plist`.
- [Delete Firebase.framework from the Link Binary With Libraries Build Phase](https://github.com/firebase/firebase-ios-sdk/issues/911#issuecomment-372455235).
- If you're including a Firebase component that has resources, copy its bundles
into the Xcode project and make sure they're added to the
`Copy Bundle Resources` Build Phase :
- For Firestore:
- ./Carthage/Build/iOS/gRPC.framework/gRPCCertificates.bundle
- For Invites:
- ./Carthage/Build/iOS/FirebaseInvites.framework/GoogleSignIn.bundle
- ./Carthage/Build/iOS/FirebaseInvites.framework/GPPACLPickerResources.bundle
- ./Carthage/Build/iOS/FirebaseInvites.framework/GINInviteResources.bundle

## Versioning

Expand Down
Loading