Skip to content

Commit baa51f2

Browse files
committed
Resolve remaining merges
1 parent 810173f commit baa51f2

File tree

22 files changed

+117
-401
lines changed

22 files changed

+117
-401
lines changed

.flowconfig

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,8 @@ suppress_type=$FlowFixMe
7272
suppress_type=$FlowFixMeProps
7373
suppress_type=$FlowFixMeState
7474

75-
<<<<<<< HEAD
76-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*[react_native\\(_ios\\)?_oss|react_native\\(_ios\\)?_fb][a-z,_]*\\)?)\\)
77-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*[react_native\\(_ios\\)?_oss|react_native\\(_ios\\)?_fb][a-z,_]*\\)?)\\)?:? #[0-9]+
78-
=======
7975
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
8076
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
81-
>>>>>>> v0.58.6
8277
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
8378
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
8479

@@ -107,11 +102,7 @@ untyped-import
107102
untyped-type-import
108103

109104
[version]
110-
<<<<<<< HEAD
111-
^0.78.0
112-
=======
113105
^0.86.0
114106

115107
[untyped]
116108
.*/node_modules/metro/.*
117-
>>>>>>> v0.58.6

.gitignore

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<<<<<<< HEAD
21
# Xcode
32
!**/*.xcodeproj
43
!**/*.pbxproj
@@ -65,76 +64,10 @@ package-lock.json
6564
/coverage
6665
/third-party
6766
/packages/
68-
=======
69-
# Xcode
70-
!**/*.xcodeproj
71-
!**/*.pbxproj
72-
!**/*.xcworkspacedata
73-
!**/*.xcsettings
74-
!**/*.xcscheme
75-
*.pbxuser
76-
!default.pbxuser
77-
*.mode1v3
78-
!default.mode1v3
79-
*.mode2v3
80-
!default.mode2v3
81-
*.perspectivev3
82-
!default.perspectivev3
83-
xcuserdata
84-
*.xccheckout
85-
*.moved-aside
86-
DerivedData
87-
*.hmap
88-
*.ipa
89-
*.xcuserstate
90-
project.xcworkspace
91-
92-
# Gradle
93-
/build/
94-
/RNTester/android/app/build/
95-
/RNTester/android/app/gradle/
96-
/RNTester/android/app/gradlew
97-
/RNTester/android/app/gradlew.bat
98-
/ReactAndroid/build/
99-
100-
# Buck
101-
.buckd
102-
buck-out
103-
/ReactAndroid/src/main/jni/prebuilt/lib/armeabi-v7a/
104-
/ReactAndroid/src/main/jni/prebuilt/lib/x86/
105-
/ReactAndroid/src/main/gen
106-
107-
# Watchman
108-
.watchmanconfig
109-
110-
# Android
111-
.idea
112-
.gradle
113-
local.properties
114-
*.iml
115-
/android/
116-
117-
# Node
118-
node_modules
119-
*.log
120-
.nvm
121-
/bots/node_modules/
122-
package-lock.json
123-
124-
# OS X
125-
.DS_Store
126-
127-
# Test generated files
128-
/ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
129-
*.js.meta
130-
131-
/coverage
132-
/third-party
13367

13468
# Root dir shouldn't have Xcode project
13569
/*.xcodeproj
13670

13771
# ReactCommon subdir shouldn't have Xcode project
13872
/ReactCommon/**/*.xcodeproj
13973
RNTester/build
140-
>>>>>>> v0.57.0

Libraries/Core/ReactNativeVersion.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
/**
22
* @generated by scripts/bump-oss-version.js
33
*
4-
<<<<<<< HEAD
5-
* Copyright (c) 2015-present, Facebook, Inc.
6-
=======
74
* Copyright (c) Facebook, Inc. and its affiliates.
8-
>>>>>>> v0.58.6
95
*
106
* This source code is licensed under the MIT license found in the
117
* LICENSE file in the root directory of this source tree.

Libraries/ReactNative/ReactFabricIndicator.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
/**
2-
<<<<<<< HEAD
3-
* Copyright (c) 2015-present, Facebook, Inc.
4-
=======
52
* Copyright (c) Facebook, Inc. and its affiliates.
6-
>>>>>>> v0.58.6
73
*
84
* This source code is licensed under the MIT license found in the
95
* LICENSE file in the root directory of this source tree.

Libraries/Renderer/REVISION

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
<<<<<<< HEAD
2-
ade5e692883345783e32e87875bbb744fb415c9c
3-
=======
41
6bf5e859860938b8cb7153ee928c01ad45656969
5-
>>>>>>> v0.58.6

Libraries/Renderer/shims/ReactNativeTypes.js

Lines changed: 91 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -36,127 +36,122 @@ export type MeasureLayoutOnSuccessCallback = (
3636
type AttributeType =
3737
| true
3838
| $ReadOnly<{|
39-
<<<<<<< HEAD
40-
diff: ?<T>(arg1: T, arg2: T) => boolean,
41-
process: ?(arg1: any) => any,
42-
=======
43-
diff?: <T>(arg1: T, arg2: T) => boolean,
44-
process?: (arg1: any) => any,
45-
>>>>>>> v0.58.6
46-
|}>;
39+
diff?: <T>(arg1: T, arg2: T) => boolean,
40+
process?: (arg1: any) => any,
41+
|}>;
4742

4843
export type AttributeConfiguration<
49-
TProps = string,
50-
TStyleProps = string,
44+
TProps = string,
45+
TStyleProps = string,
5146
> = $ReadOnly<{
5247
[propName: TProps]: AttributeType,
5348
style: $ReadOnly<{
5449
[propName: TStyleProps]: AttributeType,
55-
}>,
56-
}>;
57-
50+
}>,
51+
}>;
52+
5853
export type ReactNativeBaseComponentViewConfig<
59-
TProps = string,
60-
TStyleProps = string,
54+
TProps = string,
55+
TStyleProps = string,
6156
> = $ReadOnly<{|
62-
baseModuleName?: string,
63-
bubblingEventTypes?: $ReadOnly<{
64-
[eventName: string]: $ReadOnly<{|
65-
phasedRegistrationNames: $ReadOnly<{|
66-
captured: string,
67-
bubbled: string,
68-
|}>,
57+
baseModuleName?: string,
58+
bubblingEventTypes?: $ReadOnly<{
59+
[eventName: string]: $ReadOnly<{|
60+
phasedRegistrationNames: $ReadOnly<{|
61+
captured: string,
62+
bubbled: string,
6963
|}>,
70-
}>,
64+
|}>,
65+
}>,
7166
Commands?: $ReadOnly<{
7267
[commandName: string]: number,
73-
}>,
68+
}>,
7469
directEventTypes?: $ReadOnly<{
7570
[eventName: string]: $ReadOnly<{|
76-
registrationName: string,
71+
registrationName: string,
7772
|}>,
7873
}>,
7974
NativeProps?: $ReadOnly<{
8075
[propName: string]: string,
81-
}>,
82-
uiViewClassName: string,
76+
}>,
77+
uiViewClassName: string,
8378
validAttributes: AttributeConfiguration<TProps, TStyleProps>,
84-
|}>;
85-
79+
|}>;
80+
8681
export type ViewConfigGetter = () => ReactNativeBaseComponentViewConfig<>;
87-
88-
/**
89-
* Class only exists for its Flow type.
90-
*/
82+
83+
/**
84+
* Class only exists for its Flow type.
85+
*/
9186
class ReactNativeComponent<Props> extends React.Component<Props> {
92-
blur(): void {}
93-
focus(): void {}
94-
measure(callback: MeasureOnSuccessCallback): void {}
95-
measureInWindow(callback: MeasureInWindowOnSuccessCallback): void {}
96-
measureLayout(
97-
relativeToNativeNode: number,
98-
onSuccess: MeasureLayoutOnSuccessCallback,
99-
onFail?: () => void,
87+
blur(): void {}
88+
focus(): void {}
89+
measure(callback: MeasureOnSuccessCallback): void {}
90+
measureInWindow(callback: MeasureInWindowOnSuccessCallback): void {}
91+
measureLayout(
92+
relativeToNativeNode: number,
93+
onSuccess: MeasureLayoutOnSuccessCallback,
94+
onFail?: () => void,
10095
): void {}
101-
setNativeProps(nativeProps: Object): void {}
102-
}
103-
104-
/**
105-
* This type keeps ReactNativeFiberHostComponent and NativeMethodsMixin in sync.
106-
* It can also provide types for ReactNative applications that use NMM or refs.
107-
*/
96+
setNativeProps(nativeProps: Object): void {}
97+
}
98+
99+
/**
100+
* This type keeps ReactNativeFiberHostComponent and NativeMethodsMixin in sync.
101+
* It can also provide types for ReactNative applications that use NMM or refs.
102+
*/
108103
export type NativeMethodsMixinType = {
109-
blur(): void,
110-
focus(): void,
111-
measure(callback: MeasureOnSuccessCallback): void,
112-
measureInWindow(callback: MeasureInWindowOnSuccessCallback): void,
113-
measureLayout(
114-
relativeToNativeNode: number,
115-
onSuccess: MeasureLayoutOnSuccessCallback,
116-
onFail: () => void,
117-
): void,
118-
setNativeProps(nativeProps: Object): void,
119-
};
120-
104+
blur(): void,
105+
focus(): void,
106+
measure(callback: MeasureOnSuccessCallback): void,
107+
measureInWindow(callback: MeasureInWindowOnSuccessCallback): void,
108+
measureLayout(
109+
relativeToNativeNode: number,
110+
onSuccess: MeasureLayoutOnSuccessCallback,
111+
onFail: () => void,
112+
): void,
113+
setNativeProps(nativeProps: Object): void,
114+
};
115+
121116
type SecretInternalsType = {
122-
NativeMethodsMixin: NativeMethodsMixinType,
123-
computeComponentStackForErrorReporting(tag: number): string,
124-
// TODO (bvaughn) Decide which additional types to expose here?
125-
// And how much information to fill in for the above types.
126-
};
127-
117+
NativeMethodsMixin: NativeMethodsMixinType,
118+
computeComponentStackForErrorReporting(tag: number): string,
119+
// TODO (bvaughn) Decide which additional types to expose here?
120+
// And how much information to fill in for the above types.
121+
};
122+
128123
type SecretInternalsFabricType = {
129-
NativeMethodsMixin: NativeMethodsMixinType,
130-
};
131-
132-
/**
133-
* Flat ReactNative renderer bundles are too big for Flow to parse efficiently.
134-
* Provide minimal Flow typing for the high-level RN API and call it a day.
135-
*/
124+
NativeMethodsMixin: NativeMethodsMixinType,
125+
};
126+
127+
/**
128+
* Flat ReactNative renderer bundles are too big for Flow to parse efficiently.
129+
* Provide minimal Flow typing for the high-level RN API and call it a day.
130+
*/
136131
export type ReactNativeType = {
137-
NativeComponent: typeof ReactNativeComponent,
138-
findNodeHandle(componentOrHandle: any): ?number,
139-
render(
132+
NativeComponent: typeof ReactNativeComponent,
133+
findNodeHandle(componentOrHandle: any): ?number,
134+
render(
140135
element: React$Element<any>,
141-
containerTag: any,
142-
callback: ?Function,
143-
): any,
144-
unmountComponentAtNode(containerTag: number): any,
145-
unmountComponentAtNodeAndRemoveContainer(containerTag: number): any,
146-
unstable_batchedUpdates: any, // TODO (bvaughn) Add types
147-
148-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: SecretInternalsType,
149-
};
150-
136+
containerTag: any,
137+
callback: ?Function,
138+
): any,
139+
unmountComponentAtNode(containerTag: number): any,
140+
unmountComponentAtNodeAndRemoveContainer(containerTag: number): any,
141+
unstable_batchedUpdates: any, // TODO (bvaughn) Add types
142+
143+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: SecretInternalsType,
144+
};
145+
151146
export type ReactFabricType = {
152-
NativeComponent: typeof ReactNativeComponent,
153-
findNodeHandle(componentOrHandle: any): ?number,
154-
render(
147+
NativeComponent: typeof ReactNativeComponent,
148+
findNodeHandle(componentOrHandle: any): ?number,
149+
render(
155150
element: React$Element<any>,
156-
containerTag: any,
157-
callback: ?Function,
158-
): any,
159-
unmountComponentAtNode(containerTag: number): any,
160-
161-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: SecretInternalsFabricType,
162-
};
151+
containerTag: any,
152+
callback: ?Function,
153+
): any,
154+
unmountComponentAtNode(containerTag: number): any,
155+
156+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: SecretInternalsFabricType,
157+
};

RNTester/Podfile.lock

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
PODS:
22
- boost-for-react-native (1.63.0)
33
- DoubleConversion (1.1.6)
4-
<<<<<<< HEAD
5-
- Folly (2016.10.31.00):
6-
=======
74
- Folly (2018.10.22.00):
8-
>>>>>>> v0.58.6
95
- boost-for-react-native
106
- DoubleConversion
117
- glog
@@ -108,17 +104,10 @@ EXTERNAL SOURCES:
108104
SPEC CHECKSUMS:
109105
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
110106
DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
111-
<<<<<<< HEAD
112-
Folly: c89ac2d5c6ab169cd7397ef27485c44f35f742c7
113-
glog: e8acf0ebbf99759d3ff18c86c292a5898282dcde
114-
React: 1fe0eb13d90b625d94c3b117c274dcfd2e760e11
115-
yoga: b1ce48b6cf950b98deae82838f5173ea7cf89e85
116-
=======
117107
Folly: de497beb10f102453a1afa9edbf8cf8a251890de
118108
glog: aefd1eb5dda2ab95ba0938556f34b98e2da3a60d
119109
React: 9b873b38b92ed8012d7cdf3b965477095ed364c4
120110
yoga: 0885622311729a02c2bc02dca97167787a51488b
121-
>>>>>>> v0.58.6
122111

123112
PODFILE CHECKSUM: 7af77fbc34af9646e8c6389e7e2c0b4663bb16d9
124113

ReactAndroid/libs/BUCK

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ fb_native.android_prebuilt_aar(
88

99
fb_native.remote_file(
1010
name = "appcompat-binary-aar",
11-
<<<<<<< HEAD
12-
sha1 = "22b1ef4ff9ef1a3513c18eb132d597eac6ef1a86",
13-
url = "mvn:com.android.support:appcompat-v7:aar:27.1.1",
14-
=======
1511
sha1 = "132586ec59604a86703796851a063a0ac61f697b",
1612
url = "mvn:com.android.support:appcompat-v7:aar:28.0.0",
17-
>>>>>>> v0.58.6
1813
)
1914

2015
fb_native.android_prebuilt_aar(

0 commit comments

Comments
 (0)