-
Notifications
You must be signed in to change notification settings - Fork 4
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
textInput: Fix placeholder is not completely visible on Android. #3
base: 0.55.4-zulip
Are you sure you want to change the base?
textInput: Fix placeholder is not completely visible on Android. #3
Commits on Jun 20, 2018
-
Tightening the flow types for Image
Reviewed By: sahrens Differential Revision: D8529116 fbshipit-source-id: 5ce4a7737d8837ca9a9c94054e1d1182fb38c094
Configuration menu - View commit details
-
Copy full SHA for 2455fd6 - Browse repository at this point
Copy the full SHA 2455fd6View commit details -
Image from createReactClass -> ES6 Class
Summary: These are the flow errors that resulted from this diff: P59723027 Reviewed By: sahrens Differential Revision: D8454977 fbshipit-source-id: e10901d3ecfc541b25f2fefb18702629f0bbab71
Configuration menu - View commit details
-
Copy full SHA for 64d9c48 - Browse repository at this point
Copy the full SHA 64d9c48View commit details -
Remove unnecessary object check
Reviewed By: sahrens Differential Revision: D8529727 fbshipit-source-id: 6b3659d3cdea70931a30e22a6acfd140091e8ad7
Configuration menu - View commit details
-
Copy full SHA for 35e2336 - Browse repository at this point
Copy the full SHA 35e2336View commit details -
Update PULL_REQUEST_TEMPLATE.md (facebook#19813)
Summary: Use colon after Test Plan to ensure the plan is copied to Facebook's internal Phabricator instance successfully. Closes facebook#19813 Differential Revision: D8530181 Pulled By: hramos fbshipit-source-id: 83be6ecaca54a3c6fd4e47b08b8632976f5635aa
Configuration menu - View commit details
-
Copy full SHA for eccf536 - Browse repository at this point
Copy the full SHA eccf536View commit details -
Update Xcode projects (facebook#19574)
Summary: @public A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations. I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones. [IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements. Closes facebook#19574 Reviewed By: shergin Differential Revision: D8530135 Pulled By: hramos fbshipit-source-id: b9c9ede0e07760cb2207caa6b468bd5c241848dc
Configuration menu - View commit details
-
Copy full SHA for 12410f3 - Browse repository at this point
Copy the full SHA 12410f3View commit details -
Add @flow-strict support to .flowconfig
Summary: We enforce this config locally in fbsource, lets ensure our flow strict files are run the same way in the github repo. @public Reviewed By: sahrens Differential Revision: D8530133 fbshipit-source-id: 18528992ad6490826431359d5d8c6acd6710a8ae
Configuration menu - View commit details
-
Copy full SHA for 9cfc2c0 - Browse repository at this point
Copy the full SHA 9cfc2c0View commit details -
Flow strictify possible files in RN core
Summary: This was done by running the command on: https://our.intern.facebook.com/intern/wiki/Flow_Strict/ ``` ag -L --ignore __snapshots__ 'flow strict$|noflow|generated|partially-generated' | ag '\.js$' | xargs ag -l 'flow' | sort > ~/temp cat ~/temp | xargs ag -L 'flow strict' | xargs sed -i 's/flow$/flow strict/' cat ~/temp | xargs ag -L 'flow strict$' | xargs sed -i 's/flow strict-local$/flow strict/' until flow; do flow --json | jq -r '.errors[].message[0].path' | sort | uniq | xargs hg revert; done ``` Reviewed By: sahrens Differential Revision: D8530207 fbshipit-source-id: c28c7ac5ed3e9b80f3d126d5f30463be8a8a744d
Configuration menu - View commit details
-
Copy full SHA for eea4842 - Browse repository at this point
Copy the full SHA eea4842View commit details -
Summary: Improving the exported type of Image on android so we can work on migrating the implementation off of createReactClass and propTypes. Reviewed By: yungsters Differential Revision: D8530549 fbshipit-source-id: dab0cb5034464b7939a0b04e8912bae916690e8c
Configuration menu - View commit details
-
Copy full SHA for 5ae531c - Browse repository at this point
Copy the full SHA 5ae531cView commit details -
Reviewed By: zats Differential Revision: D8529663 fbshipit-source-id: ddedf1daa153f25bc62db19b8e1ace32b4ab3201
Configuration menu - View commit details
-
Copy full SHA for 746b503 - Browse repository at this point
Copy the full SHA 746b503View commit details -
Reviewed By: skotchvail Differential Revision: D8529938 fbshipit-source-id: 6a97d2c54757d7e75fe8731efe24704cf7fdf87c
Configuration menu - View commit details
-
Copy full SHA for adb6929 - Browse repository at this point
Copy the full SHA adb6929View commit details -
Summary: @public This new version of metro replaces the `getProjectRoots()` config param by `getProjectRoot()` (which is used as the main folder for calculating relative paths of files, etc) and `getWatchFolders()` (which is used to know which files/folder to crawl when starting metro). More info: facebook/metro@3bdf386 [skip-ci] Reviewed By: yungsters, mmmulani Differential Revision: D8538986 fbshipit-source-id: 2afc33950334a278364debb39f34ef0fe0535894
Configuration menu - View commit details
-
Copy full SHA for 04fa721 - Browse repository at this point
Copy the full SHA 04fa721View commit details
Commits on Jun 21, 2018
-
Summary: Need to test a potential issue with Animated.Image on Android. Adding a RNTester example to exercise it. Reviewed By: yungsters Differential Revision: D8559440 fbshipit-source-id: 4319d958de146c177cb0bd4b84679b773ce50833
Configuration menu - View commit details
-
Copy full SHA for 4c6dece - Browse repository at this point
Copy the full SHA 4c6deceView commit details -
Summary: This brings Image a bit more inline with the .ios.js counterpart. Reviewed By: yungsters Differential Revision: D8557495 fbshipit-source-id: 263da529d1a2541b0168745c0141c3fc622a1883
Configuration menu - View commit details
-
Copy full SHA for 8de402d - Browse repository at this point
Copy the full SHA 8de402dView commit details -
Adding custom view to swipeable component
Summary: as title Reviewed By: fred2028 Differential Revision: D8550184 fbshipit-source-id: 5ba72538fae11d75a82568774dd937b4493e7292
Configuration menu - View commit details
-
Copy full SHA for 886d705 - Browse repository at this point
Copy the full SHA 886d705View commit details -
Fix broken default for Image.ios.js resizeMode back to cover
Summary: I broke this on a previous change: https://pxl.cl/fh2n This caused server snapshot tests to fail: https://our.intern.facebook.com/intern/testinfra/screenshots_reports?report_id=88925 Reviewed By: mmmulani Differential Revision: D8576282 fbshipit-source-id: 03217c6b68dca63cba67f9ac04cf39bbc24e91eb
Configuration menu - View commit details
-
Copy full SHA for 0cca01b - Browse repository at this point
Copy the full SHA 0cca01bView commit details -
iOS: create EventTarget when creating EventEmitter and keep it until …
…the emitter is deallocated. Summary: @public There are some race conditions between VM objects getting deallocated and the instanceHandle held by the eventEmitter can point to deallocated memory space, causing undefined behavior like a crash. For now, keep a strong ref to the eventTarget inside EventEmitter to avoid that scenario. This is a temporary workaround. Reviewed By: shergin Differential Revision: D8576785 fbshipit-source-id: 87ef36f716270ceca906b32bb86e0046ceaca19e
Configuration menu - View commit details
-
Copy full SHA for 20a8673 - Browse repository at this point
Copy the full SHA 20a8673View commit details -
Added Accessibility Feature for RN to support Smart Inversion for photos
Summary: @public Added a property `accessibilityIgnoresInvertColors (boolean)` to Views which allows the Apple API `accessibilityIgnoresInvertColors` to be used in React Native. Now, when a user has Display: Smart Invert enabled, you can set the property to be true, and things like photos and views with the property set to true will no longer be inverted when Smart Invert is enabled. This property can also be applied to the Image Component. Example Use Case: ``` <Image accessibilityIgnoresInvertColors={true} /> ``` ``` <View accessibilityIgnoresInvertColors={true} /> ``` | Before | After | | ------ | ----- | | ![original](https://user-images.githubusercontent.com/165856/41738737-b62c6ebc-7547-11e8-8ea3-f82239998071.jpg) | ![feeditem](https://user-images.githubusercontent.com/165856/41738749-beef6de2-7547-11e8-9771-b44e513de0fd.jpg) Reviewed By: PeteTheHeat Differential Revision: D8549084 fbshipit-source-id: 82a3bc73c9e6d75d6b50ba013b88127f07692641
Configuration menu - View commit details
-
Copy full SHA for af22607 - Browse repository at this point
Copy the full SHA af22607View commit details -
Added Ignore color inversion prop to components in marketplace
Summary: Added Smart Inversion Compatibility to Marketplace on iOS so that photos don't appear inverted Added Property to View for Ignoring Color Inversion Applied Property to Images on marketplace. **Note: Android doesn't support smart inversion Reviewed By: PeteTheHeat Differential Revision: D8528543 fbshipit-source-id: 63caf592bc71e6fe9db7e70c72b56d32873be048
Configuration menu - View commit details
-
Copy full SHA for 68a2454 - Browse repository at this point
Copy the full SHA 68a2454View commit details
Commits on Jun 22, 2018
-
Deploy Flow v0.75.0 to fbsource
Summary: bypass-lint allow-large-files Reviewed By: gabelevi Differential Revision: D8579147 fbshipit-source-id: 12280dd4872551247ff9baafab3d766d3d7a544a
Configuration menu - View commit details
-
Copy full SHA for 6264b69 - Browse repository at this point
Copy the full SHA 6264b69View commit details -
Fabric: Using proper encoding for converting user-facing strings to N…
…SString Summary: @public Trivial. Reviewed By: fkgozali Differential Revision: D8473507 fbshipit-source-id: 49c9e66dc6b32b0a5208aeb4c2fb68fbe1f71738
Configuration menu - View commit details
-
Copy full SHA for eff76d2 - Browse repository at this point
Copy the full SHA eff76d2View commit details -
Fabric: Using
rootTag
instead of deprecatedrootViewTag
in Surfac……ePresenter Summary: @public Trivial. Reviewed By: mdvacca Differential Revision: D8473512 fbshipit-source-id: 7b6c160a2a1a1abcd571b0522760d49644632922
Configuration menu - View commit details
-
Copy full SHA for 62a458b - Browse repository at this point
Copy the full SHA 62a458bView commit details -
Fabric:
pointScaleFactor
is now part of LayoutContext and LayoutMet……rics Summary: @public ... and we initalize this in Surface. We need this for requesting images with proper size/pixel-density, setup proper parameters for rasterizing CALayer's and rounding layout metric values. Then we have to figure out how to wire this up with YGConfig. Reviewed By: fkgozali Differential Revision: D8475639 fbshipit-source-id: cec7af581b94efb4595dcf3f232252ce87a1fde3
Configuration menu - View commit details
-
Copy full SHA for a3f9ff4 - Browse repository at this point
Copy the full SHA a3f9ff4View commit details -
Fabric: Proxying
pointScaleFactor
to Yoga ConfigSummary: @public This diff changes how we store and manage Yoga Config in layoutable shadow nodes. Previously we have `shared_ptr` to single shared yoga config (one to many relationships); now we initiate and store yoga config with yoga node (one to one relationship). Cons: - Less memory efficient. Pros: - Much more flexible model. Configuration can be tweaked on a per-node basis. - More performant. Dealing with `shared_ptr` is expensive because of atomic ref-counter. (This is not really applicable for the previous approach but would be applicable for any alternate approach where we want to have more granular control of the configuration.) Data locality is also great in the new model which should positively impact performance. - Simplicity. Any alternate approach where we manage sets of nodes which share the same configuration is going to be quite complex. Reviewed By: fkgozali Differential Revision: D8475638 fbshipit-source-id: 5d73116718ced8e4b2d31d857bb9aac69eb69f2b
Configuration menu - View commit details
-
Copy full SHA for 0a20f47 - Browse repository at this point
Copy the full SHA 0a20f47View commit details -
Fabric: Introducing
ContextContainer
Summary: @public `ContextContainer` is general purpose DI container for Fabric. We need this to communicate some enviroment-specific and/or platform-specific modules down to cross-platform C++ code. The first one will be ImageManager. Soon. Reviewed By: fkgozali Differential Revision: D8475636 fbshipit-source-id: 0afc65063f818d0bab736cd2c55c6fdd21b629ac
Configuration menu - View commit details
-
Copy full SHA for c674303 - Browse repository at this point
Copy the full SHA c674303View commit details -
Fabric: Getting rid of many
auto &&
Summary: @public After reading about move-semantic and rvalue refs I realized that we (I) definitely overuse `auto &&` (aka universal reference) construction. Even if this is harmless, does not look good and idiomatic. Whenever I used that from a semantical point of view I always meant "I need an alias for this" which is actually "read-only reference" which is `const auto &`. This is also fit good to our policy where "everything is const (immutable) by default". Hence I change that to how it should be. Reviewed By: fkgozali Differential Revision: D8475637 fbshipit-source-id: 0a691ededa0e798db8ffa053bff0f400913ab7b8
Configuration menu - View commit details
-
Copy full SHA for eabf29e - Browse repository at this point
Copy the full SHA eabf29eView commit details -
Fabric: Introducing ImageManager
Summary: @public ImageManager coordinates all work related to loading image bitmaps for <Image> component. The particular iOS implementation uses RCTImageLoader from RCTImage module under the hood. Reviewed By: fkgozali Differential Revision: D8526571 fbshipit-source-id: a0d927972d30113eed6e0cd169fceee17610181d
Configuration menu - View commit details
-
Copy full SHA for 979ea20 - Browse repository at this point
Copy the full SHA 979ea20View commit details -
Fabric: <Image> component, xplat part
Summary: @public This diff implements basics of cross-platform part of <Image> component. Known issues: - Events does not work yet. - Some quite specific image source parameters (like custom http headers) are not supported yet. Reviewed By: fkgozali Differential Revision: D8526575 fbshipit-source-id: ecc97d9fda2b2e65bb1b079af057f8e176a161e5
Configuration menu - View commit details
-
Copy full SHA for b09457b - Browse repository at this point
Copy the full SHA b09457bView commit details -
Summary: @public This is iOS-specific implementation of <Image> view. Not all props and features are supported yet. Known issues: - Animated GIFs; - CA transitions during image appearance. Reviewed By: mdvacca Differential Revision: D8526570 fbshipit-source-id: a4b1dca583b139b8a09431565a79f051fae67a36
Configuration menu - View commit details
-
Copy full SHA for f6aa5db - Browse repository at this point
Copy the full SHA f6aa5dbView commit details -
Fabric:
fromDynamic
: Parsing vector type when source has no arraySummary: @public If some prop has `std::vector` type, it possible that on JS side we want to pass just one element of the array. And in this case we sometimes drop array initialization (`[]`) part, so instead of passing `[{x:1, y:1}]` we pass `{x:1, y:1}`. This diff adds support for that. Reviewed By: mdvacca Differential Revision: D8526572 fbshipit-source-id: 33d4369ac48cac3eb1c534f477d8259e76e0c547
Configuration menu - View commit details
-
Copy full SHA for 8ef539e - Browse repository at this point
Copy the full SHA 8ef539eView commit details -
Stop using projectRoots from RN cli
Summary: This diff tries to fix an issue that started appearing in RN master when the latest metro version is used (more info here: facebook@c5ce762#commitcomment-29443117). The problem is that RN is still reading `projectRoots` from the Metro config and trying to call `concat()` on them. Latest Metro sets the default `projectRoots` to null, so this fails. Also, a couple other things have been done: * Make sure that the `projectRoot` and `watchFolder` objects from args are passed to Metro (so they contain the overrides from the CLI arguments). * Add a `--projectRoot` CLI arg, replacing the `--root` one (this is not actually needed, since it does the same as `--watchFolders` Differential Revision: D8567229 fbshipit-source-id: 3b76fd8e23d201a4097e9dfba3a512d64f348cb0
Configuration menu - View commit details
-
Copy full SHA for 33ba5e8 - Browse repository at this point
Copy the full SHA 33ba5e8View commit details -
Revert D8528543: Added Ignore color inversion prop to components in m…
…arketplace Differential Revision: D8528543 Original commit changeset: 63caf592bc71 fbshipit-source-id: 7bfcfbba744ac1e15753f52aebe104f53e5e9d5f
Configuration menu - View commit details
-
Copy full SHA for 74627d4 - Browse repository at this point
Copy the full SHA 74627d4View commit details -
Clean-up parent / owner reference of children during clonning
Summary: This diff cleans up the parent / owner references for children of ReactShadowNode / YogaNode during cloning. The reason of this behavior is to avoid retaining every generation of trees during cloning. This fixes a memory leak detected when running the ProgressBarExample.android.js in catalyst app Reviewed By: fkgozali Differential Revision: D8019894 fbshipit-source-id: b0d38f0c836ffec534f64fa1adbd7511ecf3473d
Configuration menu - View commit details
-
Copy full SHA for f19c361 - Browse repository at this point
Copy the full SHA f19c361View commit details -
Introduce "Sealing" of ReactShadowNodes
Summary: This diff introduces the concept of "Seal" ReactShadowNodes. This new field will be used to guarantee immutability of commited ReactShodow Nodes. Reviewed By: fkgozali Differential Revision: D8552709 fbshipit-source-id: dfd95730f10341af0dd762f8a8aa186563cf33e9
Configuration menu - View commit details
-
Copy full SHA for 001e217 - Browse repository at this point
Copy the full SHA 001e217View commit details -
Add sealing assertion in fabric
Summary: This diff checks if ReactShadowNode is sealed before updaing it. Reviewed By: fkgozali Differential Revision: D8584768 fbshipit-source-id: 64163d4bf124263d92153f68914c617f007fd90d
Configuration menu - View commit details
-
Copy full SHA for 93b568c - Browse repository at this point
Copy the full SHA 93b568cView commit details -
Fabric: Conversion functions between NSString and std::string
Summary: @public Trivial. It's also nice this we have a default encoding now. Reviewed By: fkgozali Differential Revision: D8528919 fbshipit-source-id: 0853eca828f22ead1a337fea3d7a2fc9a48e84c8
Configuration menu - View commit details
-
Copy full SHA for 3ea4a33 - Browse repository at this point
Copy the full SHA 3ea4a33View commit details -
Fabric: Added support of
accessibilityCustomActions
for <View>Summary: @public Another small but important piece of Accessibility Support. Reviewed By: mdvacca Differential Revision: D8528921 fbshipit-source-id: d4ba87bab702d76a90e9ddb751999193243cdc74
Configuration menu - View commit details
-
Copy full SHA for ad78971 - Browse repository at this point
Copy the full SHA ad78971View commit details -
Fabric: Support for uniformed borders of <View>
Summary: @public For now we only support trivial uniformed (all sides are equal) border rendering (which can be direclty mapped to CALayer features). Support of the more complex and fancy borders is comming soon. Reviewed By: mdvacca Differential Revision: D8528923 fbshipit-source-id: 0883cdc2b855fc63d399e1a93010f259f0628f48
Configuration menu - View commit details
-
Copy full SHA for 803c14b - Browse repository at this point
Copy the full SHA 803c14bView commit details -
Fabric: Default support of
displayType
andlayoutDirection
layout…… metrics Summary: @public Quite trivial. Reviewed By: mdvacca Differential Revision: D8528922 fbshipit-source-id: 1e21f988317eecc7aa659fd9b51600b9e2b7d69f
Configuration menu - View commit details
-
Copy full SHA for 36c052a - Browse repository at this point
Copy the full SHA 36c052aView commit details -
Fabric: Bunch of unimplemented yet component was aliased to <View>
Summary: @public We need this temporary for testing until we support them all. Reviewed By: mdvacca Differential Revision: D8552361 fbshipit-source-id: 25f48cebcf5a665a24b92803dd7738f947ca74b2
Configuration menu - View commit details
-
Copy full SHA for af75d93 - Browse repository at this point
Copy the full SHA af75d93View commit details -
Fabric: Temporary experimental integration between old and new UIMana…
…gers Summary: @public We need this to enable measuring, responder-chain management and another features powered by UIManager commands. As soon we have Fabric specifc command-delivery pipeline this must be reverted. Reviewed By: fkgozali Differential Revision: D8552360 fbshipit-source-id: d56e12d38c32d8ad98cb230671bac1f35e87e647
Configuration menu - View commit details
-
Copy full SHA for 48b9a6f - Browse repository at this point
Copy the full SHA 48b9a6fView commit details -
Fabric: Shadow node shallowing was removed from preventive cloning in…
… UIManager Summary: @public We do preventing cloning in UIManager especially to add a layer to Shadow Node source chain, so apparently there is no point illuminate that by calling `shallowSourceNode`. Reviewed By: fkgozali Differential Revision: D8585163 fbshipit-source-id: 3743edc30bf2183c420fd79ce1e59d68ceaa278b
Configuration menu - View commit details
-
Copy full SHA for 483c45c - Browse repository at this point
Copy the full SHA 483c45cView commit details -
Fabric: Consistency assurance asserts in RCTComponentViewRegistry
Summary: @public We have found that because of some bugs Mounting Manager can request creation of views with same tag several times (which should not happen). Now, we can fail earlier in such cases. Reviewed By: fkgozali Differential Revision: D8585164 fbshipit-source-id: 63c6391de5adfe711552918a20a18396f54ec201
Configuration menu - View commit details
-
Copy full SHA for b1c4fee - Browse repository at this point
Copy the full SHA b1c4feeView commit details -
Fabric: Fixed order of instructions in Differentiator
Summary: @public Previously Differentiator might generate some `remove` instruction that refers to already `deleted` node. That diffs fixes that. Reviewed By: fkgozali Differential Revision: D8596536 fbshipit-source-id: 88117962f93e52167dbcb6525f2cc36758a367e7
Configuration menu - View commit details
-
Copy full SHA for 250cc3c - Browse repository at this point
Copy the full SHA 250cc3cView commit details
Commits on Jun 23, 2018
-
Fabric: Dispatching
onLayout
events to only nodes which requested itSummary: @public The current Fabric architecture, in general, does not support "subscribing" for events, so all kinds of events are always delivered no matter have JavaScript components `on`-handlers for them or not. At this point, we are not sure should it be this way or not. But we are sure that for some extremely noisy events (like onLayout) we have to make an exception right now (otherwise overall performance will suffer). So, this diff implements that for `onLayout`. Reviewed By: fkgozali Differential Revision: D8597408 fbshipit-source-id: 6933b7cb96e24f0660bd7850b625ff27e3146a2b
Configuration menu - View commit details
-
Copy full SHA for 6942408 - Browse repository at this point
Copy the full SHA 6942408View commit details -
Update screen-layout props during diffing
Summary: This diff optimizes the delivery of onLayout event and re-lauout of views when ReactShadow nodes are updated. This only affects Fabric rendering. Reviewed By: shergin Differential Revision: D8601659 fbshipit-source-id: 3e33521e53170320ea952003fada5297a7605934
Configuration menu - View commit details
-
Copy full SHA for 0b2cee5 - Browse repository at this point
Copy the full SHA 0b2cee5View commit details
Commits on Jun 24, 2018
-
Summary: https://our.intern.facebook.com/intern/wiki/Buck/python-to-skylark/ Differential Revision: D8595731 fbshipit-source-id: 0e3046a7fd2a25e9b13462713ae9a008ad546770
Configuration menu - View commit details
-
Copy full SHA for 346ac75 - Browse repository at this point
Copy the full SHA 346ac75View commit details -
Fabric: Fixed missed default value in parsing constructor of ViewProps
Summary: @public It fixes a problem when some Views got disaper after they have non-zero opacity. Reviewed By: mdvacca Differential Revision: D8601600 fbshipit-source-id: 3da3ee591d4a685a8d7a56b15519d4d5cae4a031
Configuration menu - View commit details
-
Copy full SHA for 802a371 - Browse repository at this point
Copy the full SHA 802a371View commit details -
Fix deprecated glob attribute usage.
Summary: https://our.intern.facebook.com/intern/wiki/Buck/python-to-skylark/ Differential Revision: D8601889 fbshipit-source-id: f95ed015c7fe0d15cca826829ff30d0e6372eafa
Configuration menu - View commit details
-
Copy full SHA for 0644785 - Browse repository at this point
Copy the full SHA 0644785View commit details -
Revert D8549084: Added Accessibility Feature for RN to support Smart …
…Inversion for photos Differential Revision: D8549084 Original commit changeset: 82a3bc73c9e6 fbshipit-source-id: 8dca4efe701058710187828d64a055278ff585ab
Configuration menu - View commit details
-
Copy full SHA for 22d068a - Browse repository at this point
Copy the full SHA 22d068aView commit details -
iOS: implement <PerformanceLoggerFlag> component
Summary: This is basic impl of <PerformanceLoggerFlag> component without any layout/mounting computation, just TTI. Reviewed By: shergin, mdvacca Differential Revision: D8598983 fbshipit-source-id: b938753d6396088735cbbeab26d69c9aaa45608e
Configuration menu - View commit details
-
Copy full SHA for 1dced34 - Browse repository at this point
Copy the full SHA 1dced34View commit details -
Move conditional logic into corresponding build defs.
Summary: Conditional `load`s are not allowed in Skylark. The logic that belongs to different environments has to be part of environment specific build defs and include as part of cell resolution or CI configuration. More context: https://buckbuild.com/concept/skylark.html Differential Revision: D8604673 fbshipit-source-id: 385f2e155c4d80219e6ed3a2e0a82c909ebabb13
Configuration menu - View commit details
-
Copy full SHA for 71cd2d7 - Browse repository at this point
Copy the full SHA 71cd2d7View commit details
Commits on Jun 25, 2018
-
Skylarkify ReactNative OSS build defs.
Summary: Skylark parser will not allow access to file system other than through `glob` and environment variables. The logic was also making assumption about `buck-out` layout structure which is not specified and as such is subject to change at any time without any announcement. Differential Revision: D8604721 fbshipit-source-id: 90826b4d5709580aad3092d0331d0e84e493c3b8
Configuration menu - View commit details
-
Copy full SHA for fe3bd9a - Browse repository at this point
Copy the full SHA fe3bd9aView commit details -
Fix external cell reference in OSS build.
Reviewed By: hramos Differential Revision: D8615578 fbshipit-source-id: 22a0382956adc3c2cb0d25f756cd5fad11564559
Configuration menu - View commit details
-
Copy full SHA for b3fe69c - Browse repository at this point
Copy the full SHA b3fe69cView commit details -
Summary: https://buckbuild.com/skylark/generated/glob.html Reviewed By: styurin Differential Revision: D8606487 fbshipit-source-id: 7a9c9cdc86b5f080328fb9af027dfbdc52e86508
Configuration menu - View commit details
-
Copy full SHA for 5c2720b - Browse repository at this point
Copy the full SHA 5c2720bView commit details -
Image with null source should still respect
style
Summary: Android RN image with source null returns null. Reviewed By: yungsters Differential Revision: D8576087 fbshipit-source-id: 685ed967e301ed2bf6417225bd88e2be3fe3cfd2
Configuration menu - View commit details
-
Copy full SHA for 77a9cba - Browse repository at this point
Copy the full SHA 77a9cbaView commit details -
Revert D8576087: [RN][Android] Image with null source should still re…
…spect `style` Differential Revision: D8576087 Original commit changeset: 685ed967e301 fbshipit-source-id: 97a8ab9757a2f5a0d72bbc1e020354c306e48a15
Configuration menu - View commit details
-
Copy full SHA for bdf0ead - Browse repository at this point
Copy the full SHA bdf0eadView commit details
Commits on Jun 26, 2018
-
bump build tools to 26.0.3 (facebook#19831)
Summary: This will bump android build tools to 26.0.3, and will remove warning about newer version of build tools in Android Studio, thus improve developer experience. Closes facebook#19831 Differential Revision: D8620094 Pulled By: hramos fbshipit-source-id: fa1c6739bb7556736c1b323acea88fe87e82f4d7
Configuration menu - View commit details
-
Copy full SHA for b569154 - Browse repository at this point
Copy the full SHA b569154View commit details -
bump NDK APP_PLATFORM to android-16 (facebook#19830)
Summary: This PR will bump NDK APP_PLATFORM to android-16. Below is the excerpt from NDK documentation > This variable contains the minimum Android platform version you want to support. For example, a value of android-15 specifies that your library uses APIs that are not available below Android 4.0.3 (API level 15) and can't be used on devices running a lower platform version. For a complete list of platform names and corresponding Android system images, see Android NDK Native APIs. Closes facebook#19830 Differential Revision: D8620017 Pulled By: hramos fbshipit-source-id: 0b5578f130938e3ddae03fb855784193183243cf
Configuration menu - View commit details
-
Copy full SHA for b5dc454 - Browse repository at this point
Copy the full SHA b5dc454View commit details -
Bump Buck to v2018.06.25.01 (facebook#19882)
Summary: Fixes facebook#19881 Closes facebook#19882 Differential Revision: D8627994 Pulled By: hramos fbshipit-source-id: ae43f2dd8dd5fac88590eeb4dddb18ebe5085359
Configuration menu - View commit details
-
Copy full SHA for 86fb521 - Browse repository at this point
Copy the full SHA 86fb521View commit details -
use same signing config for debug build (facebook#19760)
Summary: use same signing config for debug build pass all current ci. none [GENERAL] [INTERNAL] [RNTester] - use same signing config for debug build . Closes facebook#19760 Differential Revision: D8623409 Pulled By: hramos fbshipit-source-id: 420842db3f954101ee8f771aaf0b021bea385741
Configuration menu - View commit details
-
Copy full SHA for 60827c6 - Browse repository at this point
Copy the full SHA 60827c6View commit details -
Show packager error stack (facebook#19705)
Summary: Motivation: get more info from packager errors to easier debug them add `throw new Error('error')` here https://github.com/iyegoroff/react-native/blob/635f2740c28da594f236d4227b6450fddef4b599/local-cli/cliEntry.js#L116 and run `react-native start` to see error stack <!-- Required: Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos! --> [CLI] [ENHANCEMENT] [local-cli/cliEntry.js] - Show packager error stack <!-- **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [ {Component} ] [ INTERNAL ] [ ENHANCEMENT ] [ {Filename} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> Closes facebook#19705 Differential Revision: D8628322 Pulled By: hramos fbshipit-source-id: 531217addea122d9761e4f5dd5c666a3b4b56a38
Configuration menu - View commit details
-
Copy full SHA for 6bbc1b7 - Browse repository at this point
Copy the full SHA 6bbc1b7View commit details -
Improve performance for node reordering in FabricReconciler
Summary: This diff improves performance of re-layout and delivery of OnLayout events for Fabric surfaces. Reviewed By: fkgozali Differential Revision: D8622718 fbshipit-source-id: 703b6c3ca70b570e8fb79ae1c1e8d9e8fcd38658
Configuration menu - View commit details
-
Copy full SHA for a07b660 - Browse repository at this point
Copy the full SHA a07b660View commit details -
Summary: Sync fbjni with `libaries/fbjni`. This includes a hack to fix a deadlock we found for cmake-debug variants only. This still gets us back in sync with other fbjni consumers which is going to save us trouble in the future if Yoga ever wants to make use of a newer feature. Manual changes made in addition to the hand-crafted CMakeLists and cxx buck rules: - `jni::isObjectRefType` has SDK lookup disabled. - `fbjni/` path is changed back to `fb/` to retain compatibility with Yoga. Reviewed By: priteshrnandgaonkar Differential Revision: D8531991 fbshipit-source-id: 776f519e2e5f9bea37f55990348f7ed81c4860b4
Configuration menu - View commit details
-
Copy full SHA for fb2ec1e - Browse repository at this point
Copy the full SHA fb2ec1eView commit details -
Summary: When snapshotting, do not get affected by the building process. Reviewed By: rafeca Differential Revision: D8638527 fbshipit-source-id: 8335fc55c0c85f2ff110db338a5000c7af4b29aa
Configuration menu - View commit details
-
Copy full SHA for 14cd15e - Browse repository at this point
Copy the full SHA 14cd15eView commit details -
clean buck binary_jar warnings (facebook#19769)
Summary: This PR clears buck binary_jar warnings on CI. CI is green https://circleci.com/gh/dulmandakh/react-native/458 Will see no binary_jar warnings on CI Closes facebook#19769 Reviewed By: mdvacca Differential Revision: D8474558 Pulled By: hramos fbshipit-source-id: a1e34a749218a6f87576475e49cbab52b0d3fafb
Configuration menu - View commit details
-
Copy full SHA for 04366a9 - Browse repository at this point
Copy the full SHA 04366a9View commit details -
Image with null source should still respect
style
Summary: D8576087 has all the details. Merge conflict messed up the diff hence a new one. Reviewed By: yungsters Differential Revision: D8628053 fbshipit-source-id: 8b211864f8f9d6b56f9469396eaa1d8291bbb56f
Configuration menu - View commit details
-
Copy full SHA for 4ad1307 - Browse repository at this point
Copy the full SHA 4ad1307View commit details -
Android ndk-build fix for ndk-r14+ (facebook#18814)
Summary: According to [ndk release notes](https://github.com/android-ndk/ndk/wiki/Changelog-r14-beta1#ndk-build) flag APP_ALLOW_MISSING_DEPS should be set to true in order to fix ndk-build tool. If it builds it will work. On older ndk flag is ignored. [ANDROID] [MINOR] [Application.mk] - build with android-ndk-14+ supported Closes facebook#18814 Differential Revision: D8643513 Pulled By: hramos fbshipit-source-id: d96f8c039a754b9b95839f0a0bd98fcfdaf39bd4
Configuration menu - View commit details
-
Copy full SHA for 8ce758f - Browse repository at this point
Copy the full SHA 8ce758fView commit details -
Fabric:
fromDynamic
for float numbers was moved tocore
moduleSummary: @public Otherwise, it can mess with implementation for `int`s and causes some errors where `float` implementation was requested but `int` was applied. Reviewed By: mdvacca Differential Revision: D8601752 fbshipit-source-id: cfe51b7785ff29ee4ad88f0f1cbfed335557d5ef
Configuration menu - View commit details
-
Copy full SHA for 97bc0c0 - Browse repository at this point
Copy the full SHA 97bc0c0View commit details -
Fabric: Releasing image bitmap as part of
prepareForRecycle
Summary: @public When some `RCTImageComponentView` is going to be recycled, it makes sense to free an associated bitmap because it will not be reused anyways. Reviewed By: mdvacca Differential Revision: D8601751 fbshipit-source-id: 1318622b66460b8e5588a4420c91c516fe2b1106
Configuration menu - View commit details
-
Copy full SHA for d629e4b - Browse repository at this point
Copy the full SHA d629e4bView commit details -
Fabric: Embracing non-trivial default values of some Props
Summary: @public This is follow up for D8601600 and D8247652 (the last one has detailed explanation of the problem). From this commit I propose that we have to follow simple rule: If some prop has a default value which differs from the default value of its type, we have to specify it as {<value>} in .h file and explicitly in .m file, for all other props the default value must not be specified explicitly (in .h files it must be specified as {}). The reason is that we have to embrase those cases and establish behaviour: if we change the default value in .h file, it always means that we have to change the value in .cpp file too. Reviewed By: fkgozali Differential Revision: D8601776 fbshipit-source-id: 3379aace4e2d72febb2b942a3da1cb24decf54be
Configuration menu - View commit details
-
Copy full SHA for 80f7891 - Browse repository at this point
Copy the full SHA 80f7891View commit details -
RN: Fix Element Inspector w/ Negative Margins
Summary: There is a bug with the React Native element inspector when the inspected element has negative margins because negative margins actually subtract from the content width and height. This fixes the bug. @public Reviewed By: TheSavior Differential Revision: D8607389 fbshipit-source-id: 2cea0d9160b5437fe775b2ba25373072bafd70b9
Configuration menu - View commit details
-
Copy full SHA for 8b6f1c3 - Browse repository at this point
Copy the full SHA 8b6f1c3View commit details -
YellowBox: Fix Off-By-1 Content Rendering Bug
Summary: Fixes an off-by-one bug that was causing trailing single characters to be truncated from YellowBox. This snuck in during the revamp of YellowBox. Whoops! @public Reviewed By: TheSavior Differential Revision: D8607388 fbshipit-source-id: d0efac4dec361456ef58347a60eb1486a888624a
Configuration menu - View commit details
-
Copy full SHA for 537a995 - Browse repository at this point
Copy the full SHA 537a995View commit details -
RN: Fix Element Inspector w/ Start + End Styles
Summary: Fixes how the element inspector displays start and end styles (e.g. `marginStart` or `paddingEnd`). @public Reviewed By: TheSavior Differential Revision: D8607581 fbshipit-source-id: e949927fd86e9b21a8ecf26fbf3e4863ad1486bd
Configuration menu - View commit details
-
Copy full SHA for bfea0e5 - Browse repository at this point
Copy the full SHA bfea0e5View commit details
Commits on Jun 27, 2018
-
Suppress spurious warning about RCTCxxModule (facebook#19880)
Summary: <!-- Required: Write your motivation here. If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged. --> On a relatively stock / default setup of RN on iOS you'll see the warning "Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?" pop up on every launch. This change resolves that issue. Fixes facebook#14806 . This supersedes PR facebook#19794 . Try a fresh project by following the RN iOS tutorial, and observe that there are no more warnings after making this change. [IOS] [MINOR] [CxxBridge] - Fix "Class RCTCxxModule was not exported" Closes facebook#19880 Differential Revision: D8653809 Pulled By: hramos fbshipit-source-id: c48529c2d74ddd40a90bc0e06e405078e25b72e3
Configuration menu - View commit details
-
Copy full SHA for 569061d - Browse repository at this point
Copy the full SHA 569061dView commit details -
Fix: D8450498 breaks test_end_to_end job (facebook#19910)
Summary: Closes facebook#19910 Because of the way react-native local-cli communicates with metro, getWatchFolders function was always returning an empty array that triggered an error. Reviewed By: hramos Differential Revision: D8650733 fbshipit-source-id: 502ca469cdbfa04dab5127c1e330dc1d34fc02f8
Configuration menu - View commit details
-
Copy full SHA for c972a5c - Browse repository at this point
Copy the full SHA c972a5cView commit details -
Remove implementation of Nodes (react/flat package)
Summary: This diff removes the Nodes implementation from the source code. Why I'm deleting this code: - I enabled nodes in catalyst app and it doesn't render even the first screen (see error images) - This code is not being used at all inside facebook - The last relevant commit I found was done in April 2017. - Deleting this code make it easy to do refactors, as we don't have to modify this code. When rendering an Image: {F131075074} When clicking on "RELOAD": {F131075075} Based on these errors I assume that this is not being used in Open Source. CC @[121800083:hramos] Reviewed By: hramos Differential Revision: D8640978 fbshipit-source-id: 243ee6440ebdbd24fd9f3daadc1066fd8487d9cc
Configuration menu - View commit details
-
Copy full SHA for a373bf7 - Browse repository at this point
Copy the full SHA a373bf7View commit details -
Remove UIImplementationProvider class and refactor UIManagerModule
Summary: @public This diff deprecates and deletes the UIImplementationProvider class. It is not required to create an UIImplementation provider anymore, from now on the UIImplementation is created inside the UIManagerModule. If you are using the UIImplementationProvider to create a ReactInstanceManager e.g.: ``` ReactInstanceManager = getReactInstanceManagerBuilder() ... .setUIImplementationProvider(...) ... .build(); ``` Then you should just remove that line: ``` ReactInstanceManager = getReactInstanceManagerBuilder() .set..... .build(); ``` Reviewed By: achen1 Differential Revision: D8650376 fbshipit-source-id: 8d883295d8bf6578a99685edf6a2a84c6d0df0cf
Configuration menu - View commit details
-
Copy full SHA for 506f920 - Browse repository at this point
Copy the full SHA 506f920View commit details -
Upgrade Prettier to 1.13.6 on fbsource
Reviewed By: zertosh Differential Revision: D8638504 fbshipit-source-id: c6991b2e884e14868ddc1d9047a78191219d673f
Configuration menu - View commit details
-
Copy full SHA for 5bf3476 - Browse repository at this point
Copy the full SHA 5bf3476View commit details -
Summary: Upgrade to v0.39.2 Reviewed By: rafeca Differential Revision: D8664421 fbshipit-source-id: 9c71928ab45cb7ef8f882d25cfca1ff0b1687039
Configuration menu - View commit details
-
Copy full SHA for 770dd38 - Browse repository at this point
Copy the full SHA 770dd38View commit details -
bump double conversion to 1.1.6 (facebook#19885)
Summary: bump double conversion to 1.1.6. Version 1.1.2 added ARM 64 support, so it's a step to add support for 64bit in RN. Closes facebook#19885 Differential Revision: D8662108 Pulled By: hramos fbshipit-source-id: 446d83eab4df90efed9c08eac912e7f857b7f253
Configuration menu - View commit details
-
Copy full SHA for f32032e - Browse repository at this point
Copy the full SHA f32032eView commit details -
Summary: Closes facebook#19930 Differential Revision: D8663544 Pulled By: hramos fbshipit-source-id: 09202851f2be7ea103057a7286aa960add536775
Configuration menu - View commit details
-
Copy full SHA for 0d78415 - Browse repository at this point
Copy the full SHA 0d78415View commit details -
bump glog to 0.3.5 (facebook#19890)
Summary: bump glog to 0.3.5. Version 0.3.4 added support for libc++ or clang. Starting with revision 11, Android NDK recommends and defaults to clang, so it'll add support for it. notable changes in 0.3.4 and 0.3.5: * add libc++ support * reduce dynamic allocation from 3 to 1 per log message * style fix for C++11 * Add CMake support Closes facebook#19890 Differential Revision: D8662179 Pulled By: hramos fbshipit-source-id: ae2554d36e5b922e8649fc2ac7afc273a34cc127
Configuration menu - View commit details
-
Copy full SHA for b5fca80 - Browse repository at this point
Copy the full SHA b5fca80View commit details -
Upgrade Jest to version 23.2.0 (facebook#19876)
Summary: @public [Jest 23.2.0](https://github.com/facebook/jest/blob/master/CHANGELOG.md#2320) landed fix for `MockNativeMethods` access in react-native jest preset. [GENERAL] [BUGFIX] [./package.json] - Upgrade Jest to version 23.2.0 and resolve `MockNativeMethods` access in `react-native` jest preset. Closes facebook#19876 Reviewed By: mjesun Differential Revision: D8618905 Pulled By: hramos fbshipit-source-id: 8463868b1e5dbcf430c76c0551e58d38e4c85a04
Configuration menu - View commit details
-
Copy full SHA for bc2f12c - Browse repository at this point
Copy the full SHA bc2f12cView commit details -
android: allow registering custom packager command handlers
Summary: @public Apps may need to listen for custom commands via the packager connection. This allows registering such listeners. Reviewed By: raluca-elena Differential Revision: D8654477 fbshipit-source-id: 5f17298a88fec31b8939236fef48ee46c0ba2ee8
Configuration menu - View commit details
-
Copy full SHA for b3ef1c3 - Browse repository at this point
Copy the full SHA b3ef1c3View commit details
Commits on Jun 28, 2018
-
Fix extreme TextInput slowness on Android (facebook#19645)
Summary: This reverts 5898817 "Implement letterSpacing on Android >= 5.0". Testing shows that that commit is the cause of facebook#19126, where in a controlled TextInput after some text is first added, then deleted, further interaction with the TextInput becomes extremely slow. Fixes facebook#19126. Tried the repro case from facebook#19126 without this change, then with it. The issue reproduces, then doesn't. Closes facebook#19645 Differential Revision: D8675230 Pulled By: hramos fbshipit-source-id: e2c2d352ee781898721b2dff4738572d1a6b7471
Configuration menu - View commit details
-
Copy full SHA for 5017b86 - Browse repository at this point
Copy the full SHA 5017b86View commit details -
gradle to set project-wide properties (facebook#19845)
Summary: Change HelloWorld app template to use project-wide properties. See https://developer.android.com/studio/build/gradle-tips#configure-project-wide-properties. RN community and third-party native module developers adopted this, so it'll make RN package development and usage easy. CI is green https://circleci.com/gh/dulmandakh/react-native/507 Closes facebook#19845 Differential Revision: D8675341 Pulled By: hramos fbshipit-source-id: 4ed06cd7ef7ae70f153d7f335ef8a9d1371f6ce0
Configuration menu - View commit details
-
Copy full SHA for 0a3055d - Browse repository at this point
Copy the full SHA 0a3055dView commit details -
RN: Add Support for
overflow
on AndroidSummary: Adds support for the `overflow` style property on React Native for Android. This switches overflowing views to be visible by default with the ability to override this at the container level using `overflow: 'hidden'`. This is the same behavior as React Native on iOS. One major caveat to this solution is that it uses `setClipChildren` which does not extend the hit target to the overflow draw regions. While this is a pitfall, the current state of React Native on Android where `overflow` is hidden by default (which is the opposite of iOS) is also a huge pitfall. But I think this moves us in the right direction because where you *don't* need the touch behavior, you are now able to leverage overflow draws. Reviewed By: himabindugadupudi Differential Revision: D8666509 fbshipit-source-id: 5e98e658e16188414016260224caa696b4fbd390
Configuration menu - View commit details
-
Copy full SHA for 6110a4c - Browse repository at this point
Copy the full SHA 6110a4cView commit details -
android targetSdkVersion is 26 (facebook#19944)
Summary: This PR sets gradle targetSdkVersion to 26, which will satisfy new requirements from Play Store. Also removed redundant config from manifest files. Closes facebook#19944 Differential Revision: D8679682 Pulled By: hramos fbshipit-source-id: 5c900d47be1d8b81ce340e38a05d9b309da143c3
Configuration menu - View commit details
-
Copy full SHA for bfb68c0 - Browse repository at this point
Copy the full SHA bfb68c0View commit details -
- Correct fishhook import in RCTReconnectingWebSocket Fixes facebook#…
…16039 (facebook#16271) Summary: RCTReconnectingWebSocket is not compiling correctly because of an incorrect import (facebook#16039). Everything build and run as usual. [IOS] [BUGFIX] [Fishhook] - Correct fishhook import in RCTReconnectingWebSocket Fixes facebook#16039 Closes facebook#16271 Differential Revision: D8679758 Pulled By: hramos fbshipit-source-id: b05dda3a01a68ace87f11889b84ce6b323e5c16a
Configuration menu - View commit details
-
Copy full SHA for 75a0273 - Browse repository at this point
Copy the full SHA 75a0273View commit details -
added check for iOS 11 on ignore inverted colors
Summary: Added Check for iOS 11 before setting property for `accessibilityIgnoreInvertColor` Builds on top of https://our.intern.facebook.com/intern/diff/D8549084/ Reviewed By: shergin Differential Revision: D8599698 fbshipit-source-id: c5cc26b4c1c20fb9cca5bfe7143fa9dcb217a2d7
Configuration menu - View commit details
-
Copy full SHA for 5f8b44f - Browse repository at this point
Copy the full SHA 5f8b44fView commit details -
Fix for 17497 (facebook#17498)
Summary: Changed runAndroid.js to generate .packager.bat and launchPackager.ba…t to call it to setup the environment variable <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Trying to use react-native on a Windows box with a virus killer that runs on port 8081... (Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!) 1) Start an android emulator 2) on a react-native project (with the changes), run `react-native run-android --port 9988`. 3) When the packager starts, verify that it states the correct port in the terminal window. 4) verify that the application correctly starts in the Emulator. (If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/react-native-website, and link to your PR here.) <!-- Help reviewers and the release process by writing your own release notes **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [-{Component}-] [ INTERNAL ] [ ENHANCEMENT ] [ {File} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| [CATEGORY] [TYPE] [LOCATION] - MESSAGE EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> [INTERNAL] [BUGFIX] [./scripts] - Fixed runAndroid to enable the use of a package on port <> 8081 for Windows. Closes facebook#17498 Differential Revision: D8682067 Pulled By: hramos fbshipit-source-id: 6604b827077b3a6a2da9914c1fd36dad6ef30e43
Configuration menu - View commit details
-
Copy full SHA for 3cd0737 - Browse repository at this point
Copy the full SHA 3cd0737View commit details -
fix undefined_arch error in Xcode 10 beta (facebook#19841)
Summary: Fixes facebook#19774 I spotted that in Xcode 10 beta `CURRENT_ARCH` is set to string `undefined_arch`. This PR will add fallback based on platform name (simulators are `x86_64` and everything since iPhone 5s is `arm64`). Closes facebook#19841 Differential Revision: D8619897 Pulled By: hramos fbshipit-source-id: ed2ebaca105c6dcb40099f1a4aebe34d0660130c
Configuration menu - View commit details
-
Copy full SHA for e131fff - Browse repository at this point
Copy the full SHA e131fffView commit details -
fix: account for
ListHeaderComponent
length when calculating offset… (facebook#17415) Summary: … in VirtualizedList - fixes facebook#16612 Issue is detailed in facebook#16612 <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> I need `onViewableItemsChanged` to account for the length of any ListHeaderComponents I couldn't find any tests that currently cover the use-case of a VirtualizedList + ListComponent + scroll with onViewableItemsChanged, so I have not added any tests - all previous tests pass however. <!-- Help reviewers and the release process by writing your own release notes **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [-{Component}-] [ INTERNAL ] [ ENHANCEMENT ] [ {File} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| [CATEGORY] [TYPE] [LOCATION] - MESSAGE EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> [GENERAL][BUGFIX][VirtualizedList] - account for `ListHeaderComponent` length Closes facebook#17415 Differential Revision: D8683555 Pulled By: hramos fbshipit-source-id: 05df7b79c16e3c07c12468e782f3c4b0bdce7403
Configuration menu - View commit details
-
Copy full SHA for dbc2346 - Browse repository at this point
Copy the full SHA dbc2346View commit details -
Move babel-preset-react-native to metro repository
Summary: @public From now, `babel-preset-react-native` is going to be called `metro-react-native-babel-preset` and it's going to use the same versioning system that other metro packages. This solves a few problems: * Automated publishing of this package: Currently we have to publish this package manually from the RN repository, so it's hard to make changes to `babel-preset-react-native` and have them available on `metro` (the plugin version has to be manually updated, the package has to be manually published to npm and metro has to be change to depend on the new version). * Transforming package code before publishing: By being in Metro repository, we're going to transform its source code before publishing it to npm automatically using the same infra as other metro packages, which is going to prevent issues like the current one with Node v6 due to trailing commas added by prettier: https://circleci.com/gh/facebook/metro/2125 * Workspace usage: Now, this package is not going to be installed via npm internally, but instead be used directly from the yarn workspace. Reviewed By: mjesun Differential Revision: D8677254 fbshipit-source-id: 14abdd218af64056625c5a997458bfe51d2101bc
Configuration menu - View commit details
-
Copy full SHA for 519b0c3 - Browse repository at this point
Copy the full SHA 519b0c3View commit details
Commits on Jun 29, 2018
-
Avoid cleaning up Owner of YGNode during clonning
Summary: This diff refactors the cloning mechanism for YogaNode used from Fabric UI renderer and RN iOS graphs. Previously, we were cleaning the owner of the child's cloned node inside the C++ implementation of YogaNode. This was a mistake because this modified the last commited YogaTree, causing side effect in RN iOS graphs. Reviewed By: shergin Differential Revision: D8672627 fbshipit-source-id: c9902d00690e0361fd58aed84b506c42258bd995
Configuration menu - View commit details
-
Copy full SHA for 2f3f1b0 - Browse repository at this point
Copy the full SHA 2f3f1b0View commit details -
RNTester: Cleanup ViewExample.js
Summary: Minor cleanup of ViewExample.js in the RNTester. Reviewed By: sahrens Differential Revision: D8690133 fbshipit-source-id: d034f6d215679dac7f19fab90729bb7e7ef39edd
Configuration menu - View commit details
-
Copy full SHA for b283dcd - Browse repository at this point
Copy the full SHA b283dcdView commit details -
RNTester: Better View Overflow Example
Summary: Improves the examples in `ViewExample.js` that tests overflow behavior. Notable: - Test view flattening behavior by setting `overflow` on views that only have other layout-only styles. - Test the default behavior when `overflow` is not set at all. Reviewed By: achen1 Differential Revision: D8690560 fbshipit-source-id: 6320ef51305952d13bf5724b369651fdfd32ff21
Configuration menu - View commit details
-
Copy full SHA for d9fa1d7 - Browse repository at this point
Copy the full SHA d9fa1d7View commit details -
Summary: Reverts D8666509. Unfortunately, I misunderstood `setClipChildren` on Android. When set on a `ViewGroup`, `setClipChildren` configures whether its //children// — not itself — are clipped to their bounds. This is unlike `overflow` (as it behaves on iOS) which configures whether the view itself is clipped to its bounds. But they are definitely related. In theory, I think we could implement `overflow` using `setClipChildren` by: - Setting `setClipChildren(false)` by default. (This part, I got right.) - When `overflow` is set to `hidden` on a `View`, we create an extra `ViewGroup` (child) within the normal `ViewGroup` (parent). Then, we can set `setClipChildren(true)` on the parent `ViewGroup` which will cause the child `ViewGroup` to be clipped to its bounds. However, I think the tricky thing will be to create the child `ViewGroup` without incurring unintentional side effects. I need to decide whether or not this is worth trying. The alternative is to add a new `clipChildren` boolean prop that is Android-only, but I really hate further bifurcating the platform. But for now, I am reverting my mistake. Reviewed By: achen1 Differential Revision: D8690551 fbshipit-source-id: 1ba3bbcc5458ffbd5c475430ea0382b3fd0916b2
Configuration menu - View commit details
-
Copy full SHA for f090840 - Browse repository at this point
Copy the full SHA f090840View commit details -
RN: Android Constants for Overflow Style
Summary: Tidies up the hardcoded strings for referencing the `overflow` style values. Also, the `OVERFLOW` case in the optimized view flattening code path is unnecessary because `OVERFLOW` is already in the `LAYOUT_ONLY_PROPS` set. Reviewed By: achen1 Differential Revision: D8690804 fbshipit-source-id: 3befbe93ed761e57e45f9b50e59bffc8a29a407f
Configuration menu - View commit details
-
Copy full SHA for cfce6ee - Browse repository at this point
Copy the full SHA cfce6eeView commit details -
RN: Add Support for
overflow
on Android (Take 2)Summary: Adds support for the `overflow` style property on React Native for Android. This is the second attempt to do this. See facebook@6110a4c (D8666509) for the first attempt. Similar to the first attempt, this sets `setClipChildren(false)` by default on all `ViewGroup` instances. However, this differs in how it implements `overflow: hidden`. Instead of conditionally setting `setClipChildren`, this manually clips children to the `ViewGroup`'s bounds (which was incidentally what we were doing for background + border radius already). Reviewed By: achen1 Differential Revision: D8690805 fbshipit-source-id: 58757825cd9d138c18c8758918d85b4ca1915f87
Configuration menu - View commit details
-
Copy full SHA for b81c8b5 - Browse repository at this point
Copy the full SHA b81c8b5View commit details -
Fabric: Getting rid of
std::to_string()
Summary: @public Suddenly, it is not supported on Android. Luckelly `folly:to<std::string>()` is as good as `std::to_string()`. Reviewed By: mdvacca Differential Revision: D8655538 fbshipit-source-id: 2b3b970f6a261253aaa6b22dba8338dc66b7195d
Configuration menu - View commit details
-
Copy full SHA for 712c2ed - Browse repository at this point
Copy the full SHA 712c2edView commit details -
Fabric: Subtle changes that make GCC compiler happy
Summary: @public Most of them are legit issues which should not be compilable anyways (but Clang tolerates thems). Reviewed By: mdvacca Differential Revision: D8655539 fbshipit-source-id: 645729fb9d6a120ce1ab2b07542abcdacd72320d
Configuration menu - View commit details
-
Copy full SHA for 62f9ced - Browse repository at this point
Copy the full SHA 62f9cedView commit details -
remove useless config in circle ci (facebook#19980)
Summary: The gradle path is unnecessary. pass all current ci. none [GENERAL] [INTERNAL] [CI] - remove useless config in circle ci. Closes facebook#19980 Differential Revision: D8700298 Pulled By: hramos fbshipit-source-id: ed50cab035f0d78dc482023460692a2ce137fb48
Configuration menu - View commit details
-
Copy full SHA for 7b1bd4d - Browse repository at this point
Copy the full SHA 7b1bd4dView commit details -
Remove instanceHandle, pass event target instead + add dispatchToEmpt…
…yTarget Summary: Removes the concept of instance handle. Instead we pass the event target to createNode and don't pass it to subsequent clones. The life time of the event target is managed by native (the event emitter). It has to be released manually. Reviewed By: shergin Differential Revision: D8688330 fbshipit-source-id: e11b61f147ea9ca4dfb453fe07063ed06f24b7ac
Configuration menu - View commit details
-
Copy full SHA for 5d9326b - Browse repository at this point
Copy the full SHA 5d9326bView commit details
Commits on Jun 30, 2018
-
Fabric: Trivial implementation of prelumiary view allocation on iOS
Summary: @public We have this feature in the current version of RN, so it would be nice to support that in Fabric as well. This should save us tens of ms of views creation during mounting. And that's quite easy to do! Reviewed By: fkgozali Differential Revision: D8701992 fbshipit-source-id: 4e3049df009ffd65bb43043de388e81795e5e559
Configuration menu - View commit details
-
Copy full SHA for 2166d2b - Browse repository at this point
Copy the full SHA 2166d2bView commit details
Commits on Jul 1, 2018
-
Add back ImageEditingExample example (facebook#19972)
Summary: add back missing file. pass all current ci. none [GENERAL] [INTERNAL] [RNTester] - Add back ImageEditingExample example. Closes facebook#19972 Differential Revision: D8711888 Pulled By: TheSavior fbshipit-source-id: 14070bfbf747f7f59c4039981a9bc83c1c10862b
Configuration menu - View commit details
-
Copy full SHA for 6dcadca - Browse repository at this point
Copy the full SHA 6dcadcaView commit details -
RN: Fix Drawing Rect for ReactScrollView
Summary: Fixes `ReactScrollView` so that it respects the drawing rect (i.e. the bounding box of the element). In JavaScript, this is the backing view for `ScrollView` (vertical) on Android. Reviewed By: fadinghorse Differential Revision: D8710256 fbshipit-source-id: f3bd96e39b8569cfcb21e486944b70fdb57c12b6
Configuration menu - View commit details
-
Copy full SHA for 6a16bec - Browse repository at this point
Copy the full SHA 6a16becView commit details
Commits on Jul 2, 2018
-
Fabric: Making
fabric/graphics
compilable on AndroidSummary: @public This compiles but this does not work. To make it actually work we have to implement all missing functions in `Color.cpp` and co. Reviewed By: fkgozali Differential Revision: D8655537 fbshipit-source-id: 564fb7131445af81cf05407239dc6ba870cf6b83
Configuration menu - View commit details
-
Copy full SHA for 5786db3 - Browse repository at this point
Copy the full SHA 5786db3View commit details -
Fabric: Making
fabric/textlayoutmanager
compilable on AndroidSummary: @public This compiles, but it works only on iOS for now. Reviewed By: mdvacca Differential Revision: D8655540 fbshipit-source-id: 7e9a73fadb317dd62298af6f347344ac4229a8a5
Configuration menu - View commit details
-
Copy full SHA for ee535fa - Browse repository at this point
Copy the full SHA ee535faView commit details -
Code clean-ups and createServer migration
Summary: Scope of the diff: 1. Middleware `react-native-github/local-cli` and `react-native-internal-cli` uses a very similar set of middlewares (internal cli extends github version), so I decided to move it to a standalone file (middleware manager) in order to remove duplications and increase readability. 2. Types Seems that after Flow upgrade to version 0.68 there were many type issues to resolve, so all of them were auto-mocked. This is fine, but I'd like to see Flow assists me with `Metro.createServer` -> `Metro.runServer` migration. Hence, I decided to resolve flow mocks, related to runServer. 3. `runServer` signature In `react-native-github` repo I cleaned up `runServer` signature by removing `startCallback` and `readyCallback` from the function parameters and moved them to `runServer` instead. 4. Replace `createServer` by `runServer` In `react-native-github` repo, `createServer` has been replaced by `runServer`. __Some of arguments are not mapped__. Note that this diff will partially break argument mapping. This is intentional. @[100000044482482:ives] will fix it with a new config package. Reviewed By: mjesun Differential Revision: D8711717 fbshipit-source-id: a843ab576360ff7242099910d8f25a9cb0a388c0
Configuration menu - View commit details
-
Copy full SHA for c4a66a8 - Browse repository at this point
Copy the full SHA c4a66a8View commit details -
Enable View flatening optimization by default
Summary: This diff enables view flattening optimizations by default Reviewed By: wwjholmes, yungsters Differential Revision: D8699050 fbshipit-source-id: d37d06fe330e223c49a0788e85f6338fd056fd19
Configuration menu - View commit details
-
Copy full SHA for 27a38de - Browse repository at this point
Copy the full SHA 27a38deView commit details -
fix missing prettier file (facebook#20001)
Summary: fix missing prettier file pass all current ci. facebook#19987 [GENERAL] [INTERNAL] [TOOL] - fix missing prettier file. Closes facebook#20001 Differential Revision: D8714374 Pulled By: hramos fbshipit-source-id: acdcb5d84c56d26c55f6262a0a98aefe786de8cb
Configuration menu - View commit details
-
Copy full SHA for fdce938 - Browse repository at this point
Copy the full SHA fdce938View commit details -
Hotfix to include react-native-windows in hasteImpl accepted paths (f…
…acebook#20007) Summary: Closes facebook#20007 We removed support for providesModule annotations and maintained support for Haste names in installed modules via `providesModuleNodeModules`, but our default `hasteImpl` doesn't take them into account. We need to find a better way to override core components from plugins but meanwhile this adds an exception for react-native-windows in the default `hasteImpl` to unblock their upgrade to the latest RC. Fixes facebook/metro#188 Reviewed By: mjesun Differential Revision: D8695207 fbshipit-source-id: 2ad6cb1e93e600880a148776ac45f6ebd7d205d3
Configuration menu - View commit details
-
Copy full SHA for 5494274 - Browse repository at this point
Copy the full SHA 5494274View commit details -
Fix some classes of incorrect Flow errors for Animated
Summary: Replace the union with a spread Reviewed By: blairvanderhoof Differential Revision: D8715694 fbshipit-source-id: 3b1ce893a065bfc7395b576e485a79f09bacc999
Configuration menu - View commit details
-
Copy full SHA for db2159d - Browse repository at this point
Copy the full SHA db2159dView commit details -
Remove the deprecated
isIPhoneX_deprecated
constant (facebook#19920)Summary: Cleanup the `isIPhoneX_deprecated` constant which was said to be removed by June 1st 2018. Closes facebook#19920 Differential Revision: D8714400 Pulled By: hramos fbshipit-source-id: 0b0b3a2d7b8098baf0474afea230780c79b2fe14
Configuration menu - View commit details
-
Copy full SHA for 3b29274 - Browse repository at this point
Copy the full SHA 3b29274View commit details -
Simplify
yarn prettier
and make it work on windows (facebook#19987)Summary: make prettier script works on windows pass all current ci. none [GENERAL] [INTERNAL] [Script] - make prettier script works on windows. Closes facebook#19987 Differential Revision: D8714381 Pulled By: hramos fbshipit-source-id: 0e5c5a6a5817094edd47918eb57d7f5a281560d6
Configuration menu - View commit details
-
Copy full SHA for 18d3648 - Browse repository at this point
Copy the full SHA 18d3648View commit details
Commits on Jul 3, 2018
-
iOS: avoid crash because of null eventTarget
Summary: We were supposed to pass in proper eventEmitter, but passed in one with null eventTarget instead, causing assertion failures when dispatching event. Reviewed By: sebmarkbage, shergin Differential Revision: D8720793 fbshipit-source-id: 891f3b2a2c76a6dd3e40039623c6e86991aad50b
Configuration menu - View commit details
-
Copy full SHA for a09c464 - Browse repository at this point
Copy the full SHA a09c464View commit details -
Typo in DockerTests.md (facebook#20009)
Summary: [DOCS] [BUGFIX] [DockerTests.md] - Typo on string facebook#38 Closes facebook#20009 Differential Revision: D8721811 Pulled By: TheSavior fbshipit-source-id: e678c74fd89bc0c0e9db48590e1911d23bc4d339
Configuration menu - View commit details
-
Copy full SHA for c1831d5 - Browse repository at this point
Copy the full SHA c1831d5View commit details -
RN: Add Overflow Visible Kill Switch (Android)
Summary: Adds a kill switch that reverts the default behavior of `overflow` to be hidden again. The intent of this kill switch is to give applications more time to migrate if necessary (e.g. if they are depending on third party packages with native components that are not compatible with `overflow` being visible by default). To use the flag, simply set: import com.facebook.react.views.view.ReactViewGroup; // Somewhere in the initialization of your application. ReactViewGroup.sDefaultOverflowHidden = true; Reviewed By: achen1 Differential Revision: D8718963 fbshipit-source-id: 0eb9aee45dfe04e9ae34d86e3bedcd30a185ef82
Configuration menu - View commit details
-
Copy full SHA for bbdc12e - Browse repository at this point
Copy the full SHA bbdc12eView commit details -
Upgrade eslint to v5.0.1 on xplat
Summary: @public Upgrades eslint to v5.0.1 Updated `eslint-plugin-eslint-comments`, which was necessary for eslint 5 Disabled the `prefer-const` rule while we wait for eslint/eslint#10520 to be fixed/published. Reviewed By: zertosh Differential Revision: D8692838 fbshipit-source-id: fa0cae3e299af2350c8c30ceb94d70740ee84eab
Configuration menu - View commit details
-
Copy full SHA for ba56725 - Browse repository at this point
Copy the full SHA ba56725View commit details -
Summary: `morgan` produces non-json output, which affects `js1 run` when ran with the `--json` flag. Reviewed By: Kureev Differential Revision: D8724830 fbshipit-source-id: 11377f6ef39341c658a7f905383398423a721630
Configuration menu - View commit details
-
Copy full SHA for bbc8bb1 - Browse repository at this point
Copy the full SHA bbc8bb1View commit details -
Image source without uri should return null.
Summary: When image source doesn't have uri and is neither an array, it should return null. Reviewed By: yungsters Differential Revision: D8728688 fbshipit-source-id: 915c4f3f450907ee3435ac99b1fe9849738766da
Configuration menu - View commit details
-
Copy full SHA for 28c7ccf - Browse repository at this point
Copy the full SHA 28c7ccfView commit details
Commits on Jul 4, 2018
-
@allow-large-files [react-native][PR] Upgrade Gradle to 4.4 (facebook…
…#19899) Summary: Bump gradle to 4.4, version used by android studio 3.x and gradle plugin 3.x. This will help make migration easier and smoother. CI: https://circleci.com/gh/dulmandakh/react-native/591 FYI: I found that gradle 4.8 works fine with gradle plugin 2.3, but gradle plugin 3.x displays warnings and asks to disable on demand configuration. Closes facebook#19899 Reviewed By: fkgozali Differential Revision: D8697929 Pulled By: hramos fbshipit-source-id: 21eb625ee1e4a1fa02aa22de4c36a07269ca467b
Configuration menu - View commit details
-
Copy full SHA for 33d20da - Browse repository at this point
Copy the full SHA 33d20daView commit details -
Packager linking when using custom debug configuration on iOS device (f…
…acebook#16451) Summary: In many projects we have different environments that we connect to. For these environments (for example: Test, Staging, Production) we have custom configurations (Debug and Release). While this is not a problem on Android, it is a problem on iOS. With the current implementation of the react-native-xcode.sh script, when using a custom Debug configuration, the app started on iOS device, can't contact the Packager. This pull request solves this issue. Connect a real device, start the app with a custom debug configuration in Xcode. Shake and Reload. [IOS][BUGFIX][./scripts/react-native-xcode.sh] Add support for connecting to the Packager when running the iOS app on device when using custom Debug configuration. Closes facebook#16451 Differential Revision: D8730537 Pulled By: hramos fbshipit-source-id: a36007776e8fe9e401c38015040abd2c2bbd7c58
Configuration menu - View commit details
-
Copy full SHA for 079bf3f - Browse repository at this point
Copy the full SHA 079bf3fView commit details -
Fix react-native CLI (internal and external one)
Summary: - Fix wrong debugger-ui path - Override host and port using args Reviewed By: yungsters Differential Revision: D8731159 fbshipit-source-id: ca8ad76a02eda9e0b9cdb1a952aa5631d660868f
Configuration menu - View commit details
-
Copy full SHA for 5067540 - Browse repository at this point
Copy the full SHA 5067540View commit details
Commits on Jul 5, 2018
-
android: disable
setClipChildren(false)
until RN ART issue is resolvedSummary: It looks like for some reason when ReactViewGroup uses setClipChildren(false), the ReactNativeARTSurface no longer redraws when its width is expanded. Disable this new overflow behavior until the underlying issue is fixed. Reviewed By: achen1 Differential Revision: D8739003 fbshipit-source-id: ffae0e3eb0cd8ce385eae33a87b5ba0325cae3c4
Configuration menu - View commit details
-
Copy full SHA for fff4361 - Browse repository at this point
Copy the full SHA fff4361View commit details -
Move ScrollView prop comments from propTypes to flow types
Summary: Next step: make propTypes `__DEV__` only. Reviewed By: TheSavior Differential Revision: D8721300 fbshipit-source-id: 066b495836a87ea92d370728911e7b7ba6566c53
Configuration menu - View commit details
-
Copy full SHA for 2424ef5 - Browse repository at this point
Copy the full SHA 2424ef5View commit details -
Summary: $title Reviewed By: TheSavior Differential Revision: D8721334 fbshipit-source-id: 1aad238da9b8efdef6e2f3f1f2effd213fa9c3aa
Configuration menu - View commit details
-
Copy full SHA for f40de0e - Browse repository at this point
Copy the full SHA f40de0eView commit details -
Summary: We're unifying on flow types, and propTypes require non-trivial resources to initialize in aggregate. Some open source code might depend on extracting ScrollView.propTypes which will now fail. To fix, simplly remove these dependencies and use flow or typescript for verifying correct prop usage instead. Reviewed By: TheSavior Differential Revision: D8726371 fbshipit-source-id: 19e9540794db97a9e356615b544759a0753fd68c
Configuration menu - View commit details
-
Copy full SHA for 5b6ff01 - Browse repository at this point
Copy the full SHA 5b6ff01View commit details -
Fix null source bug in Image view while accessing source's uri
Summary: Fix null source bug in Image view while accessing source's uri Reviewed By: achen1 Differential Revision: D8739379 fbshipit-source-id: 0338b19135fa8af9ebe599cabbc9e321fb0906a5
Configuration menu - View commit details
-
Copy full SHA for 46ffb10 - Browse repository at this point
Copy the full SHA 46ffb10View commit details
Commits on Jul 6, 2018
-
Back out "[react-native][PR] Remove the deprecated `isIPhoneX_depreca…
…ted` constant" Summary: Original commit changeset: 0b0b3a2d7b80 Reverting D8714400 which removed the `isIPhoneX_deprecated` flag, which is still widely used across the RN codebase https://fburl.com/biggrep/16jg5bzn Reviewed By: hramos Differential Revision: D8743401 fbshipit-source-id: cfc44bdd8019eda41e67ca573b20be417d121d12
Configuration menu - View commit details
-
Copy full SHA for 0f49265 - Browse repository at this point
Copy the full SHA 0f49265View commit details -
downloadBundleFromURL with an optional starting Request.Builder
Summary: This makes it possible to specify an optional Request.Builder when calling `downloadBundleFromURL` (the old method still works as usual). Reviewed By: davidaurelio Differential Revision: D8691303 fbshipit-source-id: 2fb2aecd3506355c6b3a72457a7bb9acfd03b18d
Configuration menu - View commit details
-
Copy full SHA for ac09261 - Browse repository at this point
Copy the full SHA ac09261View commit details -
Revert order of Remove Mount Item operations
Summary: Revert the order of "remove mount items", to ensure views are removed from high index to low index. Reviewed By: shergin Differential Revision: D8742796 fbshipit-source-id: 6e04c39386d290bf3958ee83256d4fbe23e2c4ca
Configuration menu - View commit details
-
Copy full SHA for 6292e27 - Browse repository at this point
Copy the full SHA 6292e27View commit details -
Reverting image source null so the fix can go all once later
Summary: Image source null which is in RC D8628053 has a bug which has a fix but didn't make to RC. Reverting so it can be cleaned up before going in RC. Reviewed By: achen1 Differential Revision: D8751687 fbshipit-source-id: e08b23a031455be23047880871813bdc840542dd
Configuration menu - View commit details
-
Copy full SHA for 816d302 - Browse repository at this point
Copy the full SHA 816d302View commit details -
Remove setJSEntryPoint from ReactRootView
Summary: Doesn't look like it was ever used according to diffgrep https://our.intern.facebook.com/intern/diffgrep/?author=&expand_all=false&filepath=&matcher=strmatch&query=setJSEntryPoint&repo=fbsource&rev_type=all&result_size=3&search_order=2&source&target=added%20or%20removed axe is this okay? Differential Revision: D8730783 fbshipit-source-id: 1e6b9e8fbd50c108a24b592793060a5344f1d0b1
Configuration menu - View commit details
-
Copy full SHA for de09fd5 - Browse repository at this point
Copy the full SHA de09fd5View commit details -
Fabric: Improved prettyprinting of TreeMutationInstruction
Summary: @public Quite trivial... and nice. Reviewed By: mdvacca Differential Revision: D8709951 fbshipit-source-id: 63e53eb85361fe3a0a0ecd7f21bf4c7db049d5bf
Configuration menu - View commit details
-
Copy full SHA for e0e9c15 - Browse repository at this point
Copy the full SHA e0e9c15View commit details -
Fabric: The diffing algorithm does not use source nodes anymore
Summary: @public ... and it's as efficient as it was before. The previous version of the algorithm used `sourceNode` reference to know the previous state of the node to call the algorithm recursively. That wasn't so good because of several reasons: - It was fragile because we had two different sources of the truth of the "previous state of the tree": committed tree and source node pointer; - We had to store weak pointers to source nodes inside cloned nodes. That is not free in terms of performance; - The old approach introduced a constraint that all previously used and now reinserted nodes must be cloned to update source node (otherwise, the algorithm would regenerate instructions recreating already existing subtrees); - That cloning required access to `isSealed` flag which is supposed to be a debug-only thing (that actually affects performance and must be compile-out for release builds). The new approach compares nodes with same react tag and naturally cloning-artifacts resilient. Yes, the new approach uses a map of inserted nodes, but the previous one already had it (otherwise there is no way to tell which nodes should be "deleted"). And anyway, this is a very little map that exists for a very little period of time. Reviewed By: mdvacca Differential Revision: D8709953 fbshipit-source-id: 027abb326cf45f00f7bb0bbd7c4e612578268c66
Configuration menu - View commit details
-
Copy full SHA for e8ec1cb - Browse repository at this point
Copy the full SHA e8ec1cbView commit details
Commits on Jul 7, 2018
-
Revert D8683555: [react-native][PR] fix: account for `ListHeaderCompo…
…nent` length when calculating offset… Differential Revision: D8683555 Original commit changeset: 05df7b79c16e fbshipit-source-id: 6deb14b99fe04e67e264455ff92a5d8c1c2dd406
Configuration menu - View commit details
-
Copy full SHA for 604bcfa - Browse repository at this point
Copy the full SHA 604bcfaView commit details
Commits on Jul 8, 2018
-
Summary: There was an inverted expression leading to logspew. Fix this. Reviewed By: TheSavior Differential Revision: D8758023 fbshipit-source-id: 7a83c68db6c95f2b5db6dcc7d7780fc66321b49e
Configuration menu - View commit details
-
Copy full SHA for b99609e - Browse repository at this point
Copy the full SHA b99609eView commit details -
Back out "[react-native][PR] Remove the deprecated `isIPhoneX_depreca…
…ted` constant" Summary: Original commit changeset: 0b0b3a2d7b80 This constant is still in use at Facebook. Its removal has been pushed to sometime in the future. Reviewed By: mdvacca Differential Revision: D8721213 fbshipit-source-id: d1197c96804e4d2dc96be27421e5248a2394cdac
Configuration menu - View commit details
-
Copy full SHA for 781f181 - Browse repository at this point
Copy the full SHA 781f181View commit details
Commits on Jul 9, 2018
-
Enable RCTDevLoadingView with another flag
Reviewed By: javache Differential Revision: D8723591 fbshipit-source-id: 196cecd73ba0e1a1d34ec9a775cf03a25f352401
Configuration menu - View commit details
-
Copy full SHA for fc94f95 - Browse repository at this point
Copy the full SHA fc94f95View commit details -
Summary: No new errors in this version. Just removed a bunch of unused suppressions Reviewed By: TheSavior Differential Revision: D8754160 fbshipit-source-id: 2f02240b6d65edecba5d9ed603c7703462547a7f
Configuration menu - View commit details
-
Copy full SHA for eac34e3 - Browse repository at this point
Copy the full SHA eac34e3View commit details -
Upgraded babel-eslint to v9.0.0-beta.2 with better support for Flow
Summary: Upgraded the library to fix an error in Babel causing wrong unused variable errors. Differential Revision: D8765952 fbshipit-source-id: 352d1bb50ada76caed247bf9aa4521eff2d510e9
Configuration menu - View commit details
-
Copy full SHA for abf1188 - Browse repository at this point
Copy the full SHA abf1188View commit details -
added property accessibility IgnoresInvertColors to proptypes
Summary: Added property accessibilityIgnoresInvertColors to ViewPropTypes. Reviewed By: PeteTheHeat Differential Revision: D8735443 fbshipit-source-id: ac526779b7f92ceab074de75a2bf61752e7e90c6
Configuration menu - View commit details
-
Copy full SHA for 5aa040d - Browse repository at this point
Copy the full SHA 5aa040dView commit details -
Summary: This release fixes several issues. Most importantly for us: - eslint/eslint#10560 - eslint/eslint#10512 Differential Revision: D8767118 fbshipit-source-id: 2048829d780b5f0f2f607114f803c8d0c3e02ca7
Configuration menu - View commit details
-
Copy full SHA for 0f2f0ca - Browse repository at this point
Copy the full SHA 0f2f0caView commit details
Commits on Jul 10, 2018
-
Summary: @public [skip-ci] Differential Revision: D8773719 fbshipit-source-id: d05f7060a45751ed14dc5479ff1135f35a38c432
Configuration menu - View commit details
-
Copy full SHA for a69c330 - Browse repository at this point
Copy the full SHA a69c330View commit details -
Fixing Crush on SDK 15 (ICS) on ReactTextInputLocalData
Summary: We had a crush reprot from Loadstone (manual tests) for RN standalone app on ICS, see: https://our.intern.facebook.com/intern/tasks/view_inline_attachment/?attachment_id=2296063267087587&fbid=314266832445741 Seems like we are using TextView.getMinLines and TextView.getMaxLines - both added in SDK 16, witought a propert guard. see: https://developer.android.com/reference/android/widget/TextView#getMinLines() https://developer.android.com/reference/android/widget/TextView#getMaxLines() Reviewed By: shergin Differential Revision: D8763942 fbshipit-source-id: a56a6fc3e575b8ea97ddab983561df878b2f341c
Configuration menu - View commit details
-
Copy full SHA for 1bb2bea - Browse repository at this point
Copy the full SHA 1bb2beaView commit details -
Summary: @public [skip-ci] Reviewed By: mjesun Differential Revision: D8781445 fbshipit-source-id: 32f2cbfeadbd2fb763078a046b779a16359c8bbd
Configuration menu - View commit details
-
Copy full SHA for 1ee6396 - Browse repository at this point
Copy the full SHA 1ee6396View commit details -
Unreverting Marketplace change for Inverted Color Ignorance
Summary: Un-reverted Diff D8528543 Context: Diff itself is the exact same as the old one. There's actually nothing wrong with this diff, it was originally reverted because of iOS compatibility issue on exposing `accessibilityIgnoresInvertcolors` API to javascript, which has now been handled and fixed in this D8599698. This means I can now set the property `accessibilityIgnoresInvertColors` -------------------------- Added Smart Inversion Compatibility to Marketplace on iOS so that photos don't appear inverted Added Property to View for Ignoring Color Inversion Applied Property to Images on marketplace. **Note: Android doesn't support smart inversion Reviewed By: PeteTheHeat Differential Revision: D8737594 fbshipit-source-id: 86080d45dec773ede4d3828fcda8870f546df691
Configuration menu - View commit details
-
Copy full SHA for ef3d8b2 - Browse repository at this point
Copy the full SHA ef3d8b2View commit details -
added accessibilityRole Prop, added functionality support for role on…
… android Summary: Added a new property to View for Accessibility called `accessibilityRole`. This property merges functionality of existing properties: `accessibilityTraits` (iOS) and `accessibilityComponentType` (android). Currently, nine values are supported with equivalent behavior as `accessibilityTraits` (iOS) when `accessibilityRole` is set on iOS Voiceover and Android TalkBack ``` | 'none' | 'button' | 'link' | 'search' | 'image' | 'keyboardkey' | 'text' | 'adjustable' | 'tabbar' ``` They currently support similar behavior on talkback on Android and voice over on iOS Does not break functionality of existing properties, but have not tested for behavior of setting both this one and the old one. * iOS - I added a property accessibilityRoles, and basically remapped it to the same thing as accessibilityTraits. I also added in enum mappings for keyboardkey and tabbar. * Android - Also added a property accessibilityRoles, from the Android side. For the underlying native functionality, I built a helper class that is based off of AccessibilityRolesUtil.java from the accessibility team. Biggest changes made are that I defined my own enums if needed, and also set some properties to match the functionality of iOS Accessibility Traits. I also handled the logic for switch/case statements of setting roles for the android side on this file. Also, I currently haven't localized strings for setRoleDescription, but plan to. * Javascript - I added a view property accessibilityRoles in ViewPropTypes. Reviewed By: blavalla Differential Revision: D8756225 fbshipit-source-id: e03eec40cce86042551764f433e1defe7ee41b35
Configuration menu - View commit details
-
Copy full SHA for c27b495 - Browse repository at this point
Copy the full SHA c27b495View commit details
Commits on Jul 11, 2018
-
Summary: Run clangformat on `YGJNI.cpp` @public Reviewed By: priteshrnandgaonkar Differential Revision: D8785660 fbshipit-source-id: 9748a5297e7b55e897de0280a79c2ea6ae1c1298
Configuration menu - View commit details
-
Copy full SHA for 7abbd70 - Browse repository at this point
Copy the full SHA 7abbd70View commit details -
Summary: Replaces two nested if-blocks with guards. This is intended to help with restructuring this function in follow-ups. @public Reviewed By: priteshrnandgaonkar Differential Revision: D8785659 fbshipit-source-id: 7b9d63e9814b83b999397c016ad67ad348bb0f72
Configuration menu - View commit details
-
Copy full SHA for 1535ecf - Browse repository at this point
Copy the full SHA 1535ecfView commit details -
Fixed issue with reloading bundle from remote debugger
Summary: This is a follow up to D8316215. That diff had a flaw in that once appExecuted was set to true it would never be reset back to false. This fixes that so if another bundle is loaded after the first one it will work. Reviewed By: rafeca Differential Revision: D8661523 fbshipit-source-id: 5f6024102248383f64952fd33b37368732d5f900
Configuration menu - View commit details
-
Copy full SHA for 578b0b2 - Browse repository at this point
Copy the full SHA 578b0b2View commit details -
Fix SingleFlex Child condition
Summary: Fixes the improper `singleFlexChild` optimization. In the case when all the childs have `flex-grow:0 flex-grow:0` except one child with `flex-grow:1 flex-shrink:1`, then one can simply measure all the non-flexing children and then give the flexing child all the remaining space. Also added a test case which reproduced the bug Reviewed By: IanChilds Differential Revision: D8782684 fbshipit-source-id: ffd4d35b6122f82111b987540efb23bd2a8da5a2
Configuration menu - View commit details
-
Copy full SHA for 90a408e - Browse repository at this point
Copy the full SHA 90a408eView commit details -
Summary: Upgrade Jest to the latest version. Differential Revision: D8784710 fbshipit-source-id: 2319bf0d11506c1c0ad0506ba38a76e07f8feb3b
Configuration menu - View commit details
-
Copy full SHA for 00936a0 - Browse repository at this point
Copy the full SHA 00936a0View commit details -
Remove unused YGNode::*nextChild
Summary: This linked list was never used, and YGNodeDeepClone was doing scary things to maintain it. Reviewed By: davidaurelio Differential Revision: D8792864 fbshipit-source-id: c578fabe65c837f0791aa9ac3e18f31d93691abd
Configuration menu - View commit details
-
Copy full SHA for 4858454 - Browse repository at this point
Copy the full SHA 4858454View commit details -
Inline simple YGNode getters/setters
Summary: Simple getters/setters are usually inlined like this. Reviewed By: priteshrnandgaonkar, davidaurelio Differential Revision: D8793588 fbshipit-source-id: 436bd54880e41a5e403e3f4ae0d9dd4a413df79c
Configuration menu - View commit details
-
Copy full SHA for 40cdda3 - Browse repository at this point
Copy the full SHA 40cdda3View commit details -
Summary: @public Applies lint auto-fixes to java files. Reviewed By: priteshrnandgaonkar Differential Revision: D8803814 fbshipit-source-id: 2e4dc285b233091a9fbadf38fc22dd6e36f11f8e
Configuration menu - View commit details
-
Copy full SHA for a08e8d0 - Browse repository at this point
Copy the full SHA a08e8d0View commit details -
Update deprecated glob usages.
Summary: https://our.intern.facebook.com/intern/wiki/Buck/python-to-skylark/ Reviewed By: davidaurelio Differential Revision: D8795050 fbshipit-source-id: 1599a0a9ddd9af54a86884291945a93b91ba31bd
Configuration menu - View commit details
-
Copy full SHA for 78137bc - Browse repository at this point
Copy the full SHA 78137bcView commit details
Commits on Jul 12, 2018
-
Add missing tests for Animated.forkEvent (facebook#20111)
Summary: `forkEvent` is generally used to intercept an existing listener and add a new js listener to it, considering the original listener can be null/js/Animated.event(). I added tests to ensure the 3 cases of the implementation are all covered. Pull Request resolved: facebook#20111 Differential Revision: D8817500 Pulled By: hramos fbshipit-source-id: 1a20b6f73e2d47bbefccd31378764909a45e89bb
Configuration menu - View commit details
-
Copy full SHA for f0d3590 - Browse repository at this point
Copy the full SHA f0d3590View commit details -
Add
YogaNodeProperties
interfaceSummary: `YogaNodeProperties` will serve as abstraction over JNI adapters / storage backends in follow-ups. @public Reviewed By: IanChilds Differential Revision: D8818805 fbshipit-source-id: 7998a56daebea60dd13b07228dffdf14be852554
Configuration menu - View commit details
-
Copy full SHA for b5f027d - Browse repository at this point
Copy the full SHA b5f027dView commit details -
RN: Workaround for ReactNativeART on Android
Summary: Brings back the fix for `overflow: hidden` on Android by implementing a workaround for a bug with `ReactNativeART`. The ReactNativeART bug is that changes in the canvas due to a resize of the `Surface` are not properly reflected on Android. I have verified that the correct props are being computed and passed to the shadow nodes and that the `ARTSurfaceView`'s canvas is indeed updated. But for some reason, the paint is not updated. This workaround is to simply unmount and remount `Surface` on Android. It sucks and we should eventually fix it. Reviewed By: achen1 Differential Revision: D8818010 fbshipit-source-id: 71d1927580b6bde7263fd241797d4655140b5f34
Configuration menu - View commit details
-
Copy full SHA for d756d94 - Browse repository at this point
Copy the full SHA d756d94View commit details -
Summary: Just some convention/weird style things. `float` should be passed by value, weird use of ?: operator instead of ||. Reviewed By: priteshrnandgaonkar Differential Revision: D8804407 fbshipit-source-id: e0d67363ccde36ec5bccec7497ed0ffd364b3fcf
Configuration menu - View commit details
-
Copy full SHA for 7eb419d - Browse repository at this point
Copy the full SHA 7eb419dView commit details -
Fix crash in RCTImagePicker on iOS
Summary: @public Apparently if you select images really quickly, the app will crash. Reviewed By: shergin Differential Revision: D8796730 fbshipit-source-id: 81a652d9c8997ee9e83bbee3378954a6718a9b5d
Configuration menu - View commit details
-
Copy full SHA for 934c50f - Browse repository at this point
Copy the full SHA 934c50fView commit details -
removed tabbar for iOS 9 compatibility issues
Summary: Removed Accessibility Trait TabBar for iOS compatibility Issues, since tabbar is only available on iOS 10+ Reviewed By: PeteTheHeat Differential Revision: D8822469 fbshipit-source-id: 34bf00eb930f631a5a4effa0a4159da07c1573f6
Configuration menu - View commit details
-
Copy full SHA for f39d092 - Browse repository at this point
Copy the full SHA f39d092View commit details -
Upgraded Babel to v7.0.0-beta.48
Summary: This is the same version we're using on www. It has support for new Flow syntax and we need it on fbsource too. allow_many_files allow-large-files Differential Revision: D8819980 fbshipit-source-id: 736d6d93ad879311e638da00873ca2acf42d1422
Configuration menu - View commit details
-
Copy full SHA for 724c749 - Browse repository at this point
Copy the full SHA 724c749View commit details -
Cleanup clang compiler warnings
Summary: Cleanup clang compiler warnings. The last version delete some variables that still used in code. Fix the problem and try to launch again. Reviewed By: hershi Differential Revision: D8704442 fbshipit-source-id: 8bd37fc9f2b27104fe15c4c8b8323e2bfd8c1060
Configuration menu - View commit details
-
Copy full SHA for 8ee60e9 - Browse repository at this point
Copy the full SHA 8ee60e9View commit details -
Adding new styling props to FlatList/VirtualizedList for ListHeaderCo…
…mponent and ListFooterComponent Summary: We ran into a problem trying to style the optional prop `ListHeaderComponent` in the `FlatList` library component. Essentially we wanted to make `ListHeaderComponent` a flex item that filled all of the empty space in the list if there was any. Unfortunately the `ListHeaderComponent` is later wrapped in a `View` that blocked our styling. The `View` component was necessary as it added styling to handle inverting the `FlatList`. Similarly `ListFooterComponent` was handled the same way. We came up the simple solution of adding two new optional props, `ListHeaderComponentStyle` and `ListFooterComponentStyle`, that are of type `ViewStyleProp` that allow users to pass in styling for `ListHeaderComponent` and `ListFooterComponent`. With this change we were able to do something like the following to get the header component to fill all empty space in the `FlatList`. ``` <FlatList ... contentContainerStyle={{flexGrow: 1}} ListHeaderComponent={<View style={{flex: 1}} />} ListHeaderComponentStyle={{flexGrow: 1}} ... /> ``` This solution will give users a lot more freedom when working with headers and footers. Reviewed By: sahrens Differential Revision: D8777038 fbshipit-source-id: f34116ce68548ea70223e639d0f84a099327f6b3
Configuration menu - View commit details
-
Copy full SHA for a2675ce - Browse repository at this point
Copy the full SHA a2675ceView commit details -
RN: Ignore Unused Rest Property Siblings
Summary: Configures ESLint to allow unused variables that are the sibling of a rest property. For example: ``` // It is okay for `type` to be unused. const {type, ...coords} = data; ``` Reviewed By: TheSavior Differential Revision: D8779952 fbshipit-source-id: 1f7b756a75d9363b85e05209ce2a9bb536c5d4da
Configuration menu - View commit details
-
Copy full SHA for 6ed6bff - Browse repository at this point
Copy the full SHA 6ed6bffView commit details
Commits on Jul 13, 2018
-
added in the three roles: search, adjustable, link that require local…
…ization Summary: Added in props for three more roles: link, search, and adjustable Reviewed By: blavalla Differential Revision: D8788186 fbshipit-source-id: acd1d667a43bea753964d128bd4525ece90d06b3
Configuration menu - View commit details
-
Copy full SHA for d0b86ec - Browse repository at this point
Copy the full SHA d0b86ecView commit details -
added in the three roles: search, adjustable, link that require local…
…ization Summary: Added the android functionality for those three roles: search, adjustable, and link. Until React Native internal framework ports internationalization and localization of strings, I'll handle localization by allowing an extra prop to be passed in that can override talkback's description in another language if needed. Reviewed By: blavalla Differential Revision: D8807692 fbshipit-source-id: b51877d187cb6cb663d65d6b4d072e6dc52a2d03
Configuration menu - View commit details
-
Copy full SHA for e739143 - Browse repository at this point
Copy the full SHA e739143View commit details -
YGNode::getChildren() should return const ref
Summary: It's wasteful to do it by value. I'm fairly sure this is safe, especially because facebook/yoga@fbd332d#diff-ade2a4bbd6582e2898cbd9e0fa142ab5R215 shows that we did access by reference before. Reviewed By: priteshrnandgaonkar, davidaurelio Differential Revision: D8822697 fbshipit-source-id: 791bcf0fa37453f67795af727c85c8adce3b0f69
Configuration menu - View commit details
-
Copy full SHA for e589595 - Browse repository at this point
Copy the full SHA e589595View commit details -
Tidy up YGFloatOptional further
Summary: I missed these two things: inline default ctor, getValue() should return a float. Reviewed By: priteshrnandgaonkar Differential Revision: D8826640 fbshipit-source-id: e6324dea0268ef276e6fa1722e72dffb5241e676
Configuration menu - View commit details
-
Copy full SHA for 727ee92 - Browse repository at this point
Copy the full SHA 727ee92View commit details -
Remove some unnecessary
const float &
usesSummary: Holding floats by reference is unnecessary at best and may be detrimental to performance. Reviewed By: davidaurelio Differential Revision: D8826496 fbshipit-source-id: 2391f8aa26ebfbb440f6e4b7d57975be688f791c
Configuration menu - View commit details
-
Copy full SHA for 6ab52ff - Browse repository at this point
Copy the full SHA 6ab52ffView commit details -
Skylarkify jni_instrumentation_test.
Summary: https://our.intern.facebook.com/intern/wiki/Buck/python-to-skylark/ Reviewed By: mzlee Differential Revision: D8842575 fbshipit-source-id: 2de5efa8b00397e751f6c213b8c8630deea21f00
Configuration menu - View commit details
-
Copy full SHA for 6b1d996 - Browse repository at this point
Copy the full SHA 6b1d996View commit details
Commits on Jul 15, 2018
-
Skylarkify ReactNative build defs.
Summary: https://buckbuild.com/concept/skylark.html Reviewed By: mzlee Differential Revision: D8823004 fbshipit-source-id: 164be349782862bf83f5bdf2c869bf10713d5dfe
Configuration menu - View commit details
-
Copy full SHA for 662c5bf - Browse repository at this point
Copy the full SHA 662c5bfView commit details -
Summary: Conditional `load` statements are not allowed in new Buck build file parser - Skylark. https://buckbuild.com/concept/skylark.html Reviewed By: mzlee Differential Revision: D8842756 fbshipit-source-id: f22dff00f594978e4cab5736268ad3225182c39b
Configuration menu - View commit details
-
Copy full SHA for 12d98db - Browse repository at this point
Copy the full SHA 12d98dbView commit details -
Replace deprecated
UILineBreakModeWordWrap
with `NSLineBreakByWordW……rapping` (facebook#19791) Summary: Replace deprecated enum values with the modern ones. N/A [INTERNAL] [DEPRECATION] [Red box text wrapping] - Replaced deprecated values with supported ones. Pull Request resolved: facebook#19791 Differential Revision: D8851755 Pulled By: hramos fbshipit-source-id: 7315f199ff748078dec4efb96254bcdb0756e1ba
Configuration menu - View commit details
-
Copy full SHA for e1cca18 - Browse repository at this point
Copy the full SHA e1cca18View commit details -
Fabric: Generalizing cloning of YogaLayoutable approach
Summary: @public Non-null owner pointer in Yoga node indicates that this node is already being used by some other subtree, so it must be cloned in case of possible (re)layout. Theoretically, this node must/can be cloned by Yoga right before applying a new layout to this node, but Yoga has a special optimization that uses that fact that Yoga always cloning *all* children of a particular node altogether. This is not true for React; to meet React and Yoga worlds we double check the owner pointer in `addChild` and clone node preliminary if needed. See also the previous diff for more context. Reviewed By: mdvacca Differential Revision: D8709952 fbshipit-source-id: 84ef0faa0f1d9cc9a8136b550cf325bc20508d53
Configuration menu - View commit details
-
Copy full SHA for fcd72bf - Browse repository at this point
Copy the full SHA fcd72bfView commit details -
Fabric: Removed last two plactical usages of
ShadowNode::sourceNode_
Summary: @public * In case of `ShadowTree` we just pass original old node as a `commit` method argument; * In case of `ConcreteViewShadowNode` we just don't need that because diffing algorithm does not use that information anymore. Reviewed By: mdvacca Differential Revision: D8753906 fbshipit-source-id: b8555083c7e72e9b3c0f9a8065745946d4cf44c7
Configuration menu - View commit details
-
Copy full SHA for e78bf72 - Browse repository at this point
Copy the full SHA e78bf72View commit details -
Fabric: ShadowNode::getSourceNode() was finally removed
Summary: @public Trivial. Reviewed By: mdvacca Differential Revision: D8753905 fbshipit-source-id: 0a0e351dc0f8ff52e685c7d7dc79d0185cfac711
Configuration menu - View commit details
-
Copy full SHA for 7a7f960 - Browse repository at this point
Copy the full SHA 7a7f960View commit details -
Fabric: Enhancements in ContextContainer
Summary: @public Everything is better with C++ templates. In this cases templates allow us to remove additional parameters and casts on the callsite. Reviewed By: mdvacca Differential Revision: D8754523 fbshipit-source-id: 2340b2cd96ab0a60d54d9aa30dea3c072b951a8a
Configuration menu - View commit details
-
Copy full SHA for 0532e01 - Browse repository at this point
Copy the full SHA 0532e01View commit details -
Fabric: Computed attributed string caching inside <Paragraph>
Summary: @public Quite trivial. We had to have this from the day one. We don't need cache invalidation policy because all subtree is immutable. Reviewed By: mdvacca Differential Revision: D8709973 fbshipit-source-id: bd7fcf0ae1dcb23894321cb5d16da18cb1ab788f
Configuration menu - View commit details
-
Copy full SHA for 2c28310 - Browse repository at this point
Copy the full SHA 2c28310View commit details -
Fabric:
text
module was moved tocomponents
subdirectorySummary: @public Trivial. We move all components into `/components/` subdirectory. Reviewed By: mdvacca Differential Revision: D8757014 fbshipit-source-id: 9db94d38fe027e9125d017a17cbd4cf79f0bcf88
Configuration menu - View commit details
-
Copy full SHA for ecbe9ac - Browse repository at this point
Copy the full SHA ecbe9acView commit details -
Fabric:
scrollview
module was moved tocomponents
subdirectorySummary: @public Trivial. We move all components into `/components/` subdirectory. Reviewed By: mdvacca Differential Revision: D8757013 fbshipit-source-id: fe3021862b3a4f8f0799b0dfaf6d3039f8582a7f
Configuration menu - View commit details
-
Copy full SHA for b42e674 - Browse repository at this point
Copy the full SHA b42e674View commit details -
Fabric:
view
module was moved tocomponents
subdirectorySummary: @public Trivial. We move all components into `/components/` subdirectory. Reviewed By: mdvacca Differential Revision: D8757011 fbshipit-source-id: 6a7da09e01184d41d37a1e1782c20d3c79371ae3
Configuration menu - View commit details
-
Copy full SHA for 57b0e68 - Browse repository at this point
Copy the full SHA 57b0e68View commit details -
Fabric:
activityindicator
module was moved tocomponents
subdirec……tory Summary: @public Trivial. We move all components into `/components/` subdirectory. Reviewed By: mdvacca Differential Revision: D8757015 fbshipit-source-id: 9b676728bf1aa4aa14345fa11a5b4a1f9f7ed472
Configuration menu - View commit details
-
Copy full SHA for 95bd4a0 - Browse repository at this point
Copy the full SHA 95bd4a0View commit details -
Fabric: <Root> component was decoupled from <View>
Summary: @public There is no reason to have it inside View; it deserves that. Reviewed By: mdvacca Differential Revision: D8757012 fbshipit-source-id: 881b54008b51614cd203ab97811494fa7c30e4ef
Configuration menu - View commit details
-
Copy full SHA for e9e20e6 - Browse repository at this point
Copy the full SHA e9e20e6View commit details
Commits on Jul 16, 2018
-
- Invalid use of destructuring
Summary: Pull Request resolved: facebook#20178 Differential Revision: D8860733 Pulled By: TheSavior fbshipit-source-id: ec4aa3050755652106dec9ea245394314c862e97
Configuration menu - View commit details
-
Copy full SHA for 9d5bd50 - Browse repository at this point
Copy the full SHA 9d5bd50View commit details -
Summary: becausereasons Reviewed By: mdvacca Differential Revision: D8838902 fbshipit-source-id: 0c6ca5ccde0439cacfa02771b2d99f26aa86f573
Configuration menu - View commit details
-
Copy full SHA for 123b3e1 - Browse repository at this point
Copy the full SHA 123b3e1View commit details -
Add @DoNotStrip to RemoteConnection methods
Summary: Add DoNotStrip to RemoteConnection methods Reviewed By: alexeylang Differential Revision: D8861729 fbshipit-source-id: d2b339f49dd25379dec6620d367786a9df02d28b
Configuration menu - View commit details
-
Copy full SHA for ecd8802 - Browse repository at this point
Copy the full SHA ecd8802View commit details -
Added ImageEditor comment to clarify image access policy.
Summary: ImageEditor.cropImage creates a temporary file when downloading images https://fburl.com/07r68w9s This temporary file can be stored on external storage on android. External storage is accessible to any other application on the device, which could possibly leak images. Using external storage may be unavoidable. I've voiced my opinion and solicited others on T31548988. Once a good policy is agreed upon, we can implement it. For now, I'm adding this comment to make it explicit how images are cached. Reviewed By: achen1 Differential Revision: D8837808 fbshipit-source-id: 02341bc94a1c95340390a713b76fe85603fd8f1b
Configuration menu - View commit details
-
Copy full SHA for 10ebcbc - Browse repository at this point
Copy the full SHA 10ebcbcView commit details
Commits on Jul 17, 2018
-
added image button as option for accessibility role
Summary: Because we're now separating accessibilityTraits into accessibilityRole and accessibilityState, we're going to only allow one role to be set, and allow one preset combinations of roles that make sense. This diff adds image button as a role. Reviewed By: PeteTheHeat Differential Revision: D8846958 fbshipit-source-id: dad3783654b20abeb29767cdad7450d1896058c2
Configuration menu - View commit details
-
Copy full SHA for 10b603f - Browse repository at this point
Copy the full SHA 10b603fView commit details -
added image button role on iOS
Summary: Because we're now separating accessibilityTraits into accessibilityRole and accessibilityState, we're going to only allow one role to be set, and allow on preset combinations of roles that make sense. This change adds iOS functionality to the role image button because a popular accessibilityTrait combination is image and button. Reviewed By: ikenwoo Differential Revision: D8847012 fbshipit-source-id: da386dbf82cb3854d14c228a1116da9f4067fe93
Configuration menu - View commit details
-
Copy full SHA for d9eeae9 - Browse repository at this point
Copy the full SHA d9eeae9View commit details -
Added in Prop for CurrentViewState
Summary: Added in a prop for CurrentViewState that is used to set the state of the current view for both accessibility and regular view settings.. Ex: AccessibilityRole = "button" CurrentViewState = ['selected'] This will trigger talk back/voiceover to announce both the role and the state. Unlike Accessibility Role, Accessibility States can take on more than one form, and are passed in an array. Ex: AccessibilityState = ['selected', 'disabled'] Currently, two options are available: selected and disabled Reviewed By: PeteTheHeat Differential Revision: D8837848 fbshipit-source-id: ca30c950a2aa713813be8577ea4fa9ba9bfc698a
Configuration menu - View commit details
-
Copy full SHA for 3cfa7ae - Browse repository at this point
Copy the full SHA 3cfa7aeView commit details -
added header and summary options for roles
Summary: Added options for summary and header on accessibilityRoles Reviewed By: PeteTheHeat Differential Revision: D8866086 fbshipit-source-id: 83bfca678d2308f809e8630b7158a2b4a740c13d
Configuration menu - View commit details
-
Copy full SHA for 5acb721 - Browse repository at this point
Copy the full SHA 5acb721View commit details -
added image button role on android
Summary: Because we're now separating accessibilityTraits into accessibilityRole and accessibilityState, we're going to only allow one role to be set, and allow on preset combinations of roles that make sense. This adds android functionality for an added role that is image button. Reviewed By: blavalla Differential Revision: D8846987 fbshipit-source-id: 9fe36828f63b05bd2c9cf9680204b1995d678342
Configuration menu - View commit details
-
Copy full SHA for 5741f77 - Browse repository at this point
Copy the full SHA 5741f77View commit details -
Fix wrong time unit in dev server OKHttp client. (facebook#19817)
Summary: The keep-alive-duration for the connection pool for mOnChangePollingClient is a number in milliseconds, but was mistakenly given in minutes. This mistake was introduced in 6bbaff2. I discovered this by chance while lurking around in the codebase. Pull Request resolved: facebook#19817 Differential Revision: D8873138 Pulled By: hramos fbshipit-source-id: c81c1952721449442f18a0c2373f8b2780403749
Configuration menu - View commit details
-
Copy full SHA for a87b9db - Browse repository at this point
Copy the full SHA a87b9dbView commit details -
Exclude ios dependencies from Android build in fabric C++
Summary: This diff updates the buck dependencies from fabric to allow cross platform usage Reviewed By: shergin Differential Revision: D8755155 fbshipit-source-id: 8501463bb22e5b86e6ad8b6c9f621251c6b6d55a
Configuration menu - View commit details
-
Copy full SHA for 4616432 - Browse repository at this point
Copy the full SHA 4616432View commit details -
Summary: This diff creates the C++ base classes for Fabric and it integrates them into the starting process of Fabric inside Catalyst App Reviewed By: shergin Differential Revision: D8786185 fbshipit-source-id: d04208f0781387424fc0ddf7a6e5d46a6bd61f66
Configuration menu - View commit details
-
Copy full SHA for e155e78 - Browse repository at this point
Copy the full SHA e155e78View commit details -
Initialize FabricXX C++ code and register rootview
Summary: This diff initializes Fabric C++ UIManager code from java, it also registers android RootViews inside C++. Reviewed By: shergin Differential Revision: D8794819 fbshipit-source-id: b4d1d0958a3f8e01d4a51be957d9a2e2f442489e
Configuration menu - View commit details
-
Copy full SHA for 6c8b681 - Browse repository at this point
Copy the full SHA 6c8b681View commit details -
Summary: This includes jestjs/jest@8b8f5bc, which improves the watchman query to calculate the initial haste map to be much faster under Eden. **Time to initialize Metro after resetting jest-haste-map cache (Eden checkout)** * Before this diff: 3m14 (sometimes taking up to 15min!! after rebasing) * With this diff: 12s (quite constant after rebasing) (16X improvement) **Time to initialize Metro with a warm jest-haste-map cache (Eden checkout)** * Before this diff: 1.1s * With this diff: 1.1s (I haven't seen meaningful perf changes in non-eden checkouts) Reviewed By: mjesun Differential Revision: D8857820 fbshipit-source-id: 5ce9da04a69bd02d121a8efe65bf369c7fa1e834
Configuration menu - View commit details
-
Copy full SHA for 51cf9eb - Browse repository at this point
Copy the full SHA 51cf9ebView commit details -
Clean metro server correctly after bundle errors
Summary: This is a very similar fix than D8858846, but done in the RN CLI (soon we'll be able to just call `Metro.runBuild()` from RN which will remove this duplication). This actually fixes the issues in the integtration tests (t31612131). It's just funny that two unrelated problems that are caused by the same issue located in two different places have been reported at the same time. Differential Revision: D8859276 fbshipit-source-id: 805e111a406f2a7c1b3df3ab02accf4c4041a464
Configuration menu - View commit details
-
Copy full SHA for 8ef90df - Browse repository at this point
Copy the full SHA 8ef90dfView commit details -
Revert D8794819: [fabric][android] Initialize FabricXX C++ code and r…
…egister rootview Differential Revision: D8794819 Original commit changeset: b4d1d0958a3f fbshipit-source-id: a984be9a31601644fb2d20a831f4e27075f24f7f
Configuration menu - View commit details
-
Copy full SHA for bf22d90 - Browse repository at this point
Copy the full SHA bf22d90View commit details -
Revert D8786185: [fabric][android] Create CXX Binding
Differential Revision: D8786185 Original commit changeset: d04208f07813 fbshipit-source-id: 1fc1648146ea9784bb364c4e56e8664bb8bb655f
Configuration menu - View commit details
-
Copy full SHA for f5f27b3 - Browse repository at this point
Copy the full SHA f5f27b3View commit details -
Hiding pre-bundled notification when not on dev mode
Summary: Notification "loading from pre-bundled file" won't show up anymore on non-dev mode. Reviewed By: adamjernst Differential Revision: D8874556 fbshipit-source-id: 8bfa63691beb65d16617409533f7a38dc00dc310
Configuration menu - View commit details
-
Copy full SHA for edf7100 - Browse repository at this point
Copy the full SHA edf7100View commit details -
added android functionality for currentViewStates
Summary: Added native android support for the prop accessibilityStates. If 'selected' is passed in, it calls view.setSelected(true) If 'disabled' is passed in, it calls view.setEnabled(false) If both are passed in, both are set on the view. Reviewed By: blavalla Differential Revision: D8838407 fbshipit-source-id: a942dabcdc5d9e35f0316465e97317739a8b4b25
Configuration menu - View commit details
-
Copy full SHA for c1d0ccd - Browse repository at this point
Copy the full SHA c1d0ccdView commit details -
added native iOS functionality for prop currentViewStates
Summary: Added Native iOS functionality for prop currentViewStates. On iOS, this property modifies both the view property userInteractionEnabled and also adds corresponding UIAccessibilityTraits to the view. If disabled is passed in, userInteractionEnabled of the view will be set to false. The value that is passed into currentviewStates is converted to a UIAccessibilityTrait Enum and masked in with existing UIAccessibilityTraits on that native view. The native implementation for accessibilityRole is also changed to also mask new UIAccessibilityTraits with existing ones. Reviewed By: PeteTheHeat Differential Revision: D8842691 fbshipit-source-id: 919267300c70efed93a7a92377a0178bd8885eb5
Configuration menu - View commit details
-
Copy full SHA for 679bff2 - Browse repository at this point
Copy the full SHA 679bff2View commit details -
Fix hasteImpl path checks on Windows machines
Summary: @public This fixes facebook/metro#181 Reviewed By: mjesun Differential Revision: D8880071 fbshipit-source-id: 27e232baa7f39a938af86de810ff5357f777e858
Configuration menu - View commit details
-
Copy full SHA for 3ac86c3 - Browse repository at this point
Copy the full SHA 3ac86c3View commit details
Commits on Jul 18, 2018
-
Fix invalid build file syntax.
Summary: https://buckbuild.com/concept/skylark.html Reviewed By: shergin Differential Revision: D8878696 fbshipit-source-id: 33db539701fa84e7391be643f3eabb7e0224aa0b
Configuration menu - View commit details
-
Copy full SHA for c68c3a5 - Browse repository at this point
Copy the full SHA c68c3a5View commit details -
Fabric: Propper support for
accessibilityLabel
in RCTParagraphCompo……nentView Summary: @public This approach is basically copying exising implementation that we have in RCTTextView (D5806097). Changes in `AttributedString` is quite trivial. Reviewed By: mdvacca Differential Revision: D8740000 fbshipit-source-id: 276afdf93d777f7ccb99ca8ee5a18a880de2acbf
Configuration menu - View commit details
-
Copy full SHA for 732c3a4 - Browse repository at this point
Copy the full SHA 732c3a4View commit details -
RN: Refine
StyleSheet.compose
Flow TypeSummary: Refines `StyleSheet.compose` so that subtypes of `DangerouslyImpreciseStyleProp` can flow through the function call without losing their type. This makes it so that if you supply two `ViewStyleProp` types, you will get a `ViewStyleProp` type out of it. Reviewed By: TheSavior Differential Revision: D8851699 fbshipit-source-id: e38e572e363a71fddf63d6b6bf5a96b3cdae5915
Configuration menu - View commit details
-
Copy full SHA for 50a481d - Browse repository at this point
Copy the full SHA 50a481dView commit details -
Fabric:
SharedColor
for AndroidSummary: @public On Android, a color can be represented as 32 bits integer, so there is no need to instantiate complex color objects and then pass them as shared pointers. Hense instead of using shared_ptr, we use a simple wrapper class which provides a pointer-like interface. Reviewed By: mdvacca Differential Revision: D8742014 fbshipit-source-id: 14109b61fd84a34989538a15bc6fe4e2a8ce83a6
Configuration menu - View commit details
-
Copy full SHA for 2d1fabb - Browse repository at this point
Copy the full SHA 2d1fabbView commit details -
Bump minimum Node version to 8.3 (facebook#20236)
Summary: Node rest/spread syntax started working without the harmony flag in 8.3 (facebook#20178 (comment)). Release Notes: [GENERAL] [BREAKING] [Node] - Bump minimum req. Node version to 8.3 Pull Request resolved: facebook#20236 Differential Revision: D8876357 Pulled By: hramos fbshipit-source-id: 1f5f791ef318e70c6be8b23d887a1d650a68e594
Configuration menu - View commit details
-
Copy full SHA for e64e13f - Browse repository at this point
Copy the full SHA e64e13fView commit details -
Add FlatList and SectionList to Animated exports
Summary: There are several cases for creating an animated implementation of FlatList or SectionList (e.g. passing Animated.Event for onScroll with useNativeDriver enabled, see FlatListExample or SectionListExample), so we might as well add them to the exports. Reviewed By: sahrens Differential Revision: D8886446 fbshipit-source-id: 4b207500ea4d8d10de8c1b2639a5f492bc62e560
Configuration menu - View commit details
-
Copy full SHA for daa7c78 - Browse repository at this point
Copy the full SHA daa7c78View commit details -
Simplifying child nodes management in YogaLayoutableShadowNode
Summary: @public This diff consists of many interdependent changes which support one simple idea: YogaLayoutableShadowNode is now using YGNode children to iterate on them (it previously relied on `ShadowNode::getChildren()`). All other changes are just an unavoidable consequence of that. Hence we don't need to filter child nodes every single time when we do layout anymore! The logic around `clone callback` is also drastically simpler now. The new approach also implies that `LayoutableShadowNode` and `YogaLayoutableShadowNode` don't use `shared_ptr`s to refer to ShadowNode objects because new relationship does not imply ownership. No more `SharedShadowNode` objects in those two classes. Reviewed By: mdvacca Differential Revision: D8796159 fbshipit-source-id: 6f52f92d1826f3eb13b2f8a132c3ea77de155d82
Configuration menu - View commit details
-
Copy full SHA for e906d4c - Browse repository at this point
Copy the full SHA e906d4cView commit details -
Fabric: Optimized ShadowNode::replaceChild() with
suggestedIndex
ar……gument Summary: @public In most cases callsite knows probable index of replacing child node, hence it makes sense to provide this info to `replaceChild` to illuminate O(n) search in most cases. Reviewed By: mdvacca Differential Revision: D8814809 fbshipit-source-id: 0edf82878a72260365e2757beb3886ad07c7464d
Configuration menu - View commit details
-
Copy full SHA for ec5b1fd - Browse repository at this point
Copy the full SHA ec5b1fdView commit details -
Fabric: Support for optional
key
parameter to register/retrieve in ……ContextContainer Summary: @public We need this in case when we want to store several intances of the same class in the container. Reviewed By: mdvacca Differential Revision: D8814808 fbshipit-source-id: 78ab15d78cf3878d03bf0a45bc42b968d87435e7
Configuration menu - View commit details
-
Copy full SHA for 58da981 - Browse repository at this point
Copy the full SHA 58da981View commit details -
Fabric: Using
unordered_map
instead ofmap
for RawPropsSummary: @public We don't need to maintain an order of this collection, so using `unordered_map` is more appropriate. Reviewed By: mdvacca Differential Revision: D8826946 fbshipit-source-id: f6890097cc5d6a1e06f6b2cfd1b7d68a388da461
Configuration menu - View commit details
-
Copy full SHA for 88b8616 - Browse repository at this point
Copy the full SHA 88b8616View commit details -
Fabric: Events related classes were moved to separate buck target
Summary: @public We need that because gonna add much more event-related stuff, so it deserves separate buck target. Reviewed By: mdvacca Differential Revision: D8831547 fbshipit-source-id: 616581b39b425a49302d5f7f86267e62b0d58389
Configuration menu - View commit details
-
Copy full SHA for 07a4a95 - Browse repository at this point
Copy the full SHA 07a4a95View commit details -
Fabric: ContextContainer is now able to store any copyable values
Summary: @public Previously, ContextContainer could store only `shared_ptr`s, but now it wraps all values in own `shared_ptr` container. I wish we can use `unique_ptr` here, but apparently we cannot because `unique_ptr` does not support type-erasure (`std::unique_ptr<void>` is illigal). Becasue ContextContainer is not supposed to be used in hot paths, the performance aspect of that does not actually matter. Reviewed By: mdvacca Differential Revision: D8853446 fbshipit-source-id: e5d0a5595fe44c59f1395d6ffccf9d3fed923c83
Configuration menu - View commit details
-
Copy full SHA for 9395485 - Browse repository at this point
Copy the full SHA 9395485View commit details -
Lint Utils.cpp YGLayout.cpp YGNode.cpp Yoga-internal.h
Summary: @public Auto-fixes formatting of YGLayout.cpp YGNode.cpp Yoga-internal.h Reviewed By: astreet Differential Revision: D8875514 fbshipit-source-id: 38d709831349c4ad015f20451421aea89fc6f007
Configuration menu - View commit details
-
Copy full SHA for b330579 - Browse repository at this point
Copy the full SHA b330579View commit details -
Make
YGFloatIsUndefined
inlineableSummary: @public Makes `YGFloatIsUndefined` inlineable Reviewed By: swolchok Differential Revision: D8875520 fbshipit-source-id: 7ac653e002512b1a8d5f9c04e0a21381aeb02e67
Configuration menu - View commit details
-
Copy full SHA for 04aaa01 - Browse repository at this point
Copy the full SHA 04aaa01View commit details -
Fix local-cli assetRegistryPath and middlewares (facebook#20162)
Summary: This fixes some regressions with local-cli introduced in c4a66a8. - We didn't pass `assetRegistryPath` which caused the following error when loading the bundle: ``` error: bundling failed: Error: Unable to resolve module `missing-asset-registry-path` from `/Users/janic/Developer/react-native/RNTester/js/[email protected]`: Module `missing-asset-registry-path` does not exist in the Haste module map ``` - The middlewares were not added to the metro server. This causes some packager server features to fail. The one I noticed is that the /status endpoint didn't exist anymore which causes CI to fail and also Android to not load the bundle from the packager initially. The remote debugging feature was also broken. Pull Request resolved: facebook#20162 Differential Revision: D8867610 Pulled By: hramos fbshipit-source-id: 8a08b7f3175692ab6ee73c0a7c25075091ae4792
Configuration menu - View commit details
-
Copy full SHA for f05943d - Browse repository at this point
Copy the full SHA f05943dView commit details -
Delete YGNode ctor w/arg per member
Summary: It doesn't seem to be used internally, it hurts greppability, and there are setters for these properties as needed anyway. Reviewed By: davidaurelio Differential Revision: D8842084 fbshipit-source-id: f0275b490e585ea94df341c97c34b441ed91c4fb
Configuration menu - View commit details
-
Copy full SHA for 46fb04e - Browse repository at this point
Copy the full SHA 46fb04eView commit details -
Explicitly default YGNode copy ctor
Summary: No need to type out the old version. This is exactly equivalent (unless I've misread and the old version did something other than memberwise copy). Reviewed By: davidaurelio Differential Revision: D8842326 fbshipit-source-id: c575ea4cee6caef9ea15aaf5967597385ed26ec3
Configuration menu - View commit details
-
Copy full SHA for 165dd40 - Browse repository at this point
Copy the full SHA 165dd40View commit details
Commits on Jul 19, 2018
-
Fix Android RN server snapshot tests
Summary: Trying to see what it takes to get server snapshot tests working on android. This will be landed after fixing few things. Reviewed By: achen1 Differential Revision: D8237948 fbshipit-source-id: 926555ba752171dac4e5814f5c8e5c2c173a82c7
Configuration menu - View commit details
-
Copy full SHA for 7ff7572 - Browse repository at this point
Copy the full SHA 7ff7572View commit details -
Make AccessibilityInfo.setAccessibilityFocus cross platform (facebook…
…#20229) Summary: Currently, `AccessibilityInfo.setAccessibilityFocus` is only available on iOS. The same behaviour can be achieved on Android by dispatching the proper accessibility event. I implemented the same function for Android, to make life slightly more convenient for the developer. Today, developers must write something like this: ``` if (Platform.OS === 'ios') { AccessibilityInfo.setAccessibilityFocus(reactTag) } else { UIManager.sendAccessibilityEvent(reactTag, 8) } ``` With this change, the following is enough for both Android and iOS: ``` AccessibilityInfo.setAccessibilityFocus(reactTag) ``` Pull Request resolved: facebook#20229 Differential Revision: D8874107 Pulled By: mdvacca fbshipit-source-id: a6ffd7bb89ce56d6d65b06419633a71dcf3d0733
Configuration menu - View commit details
-
Copy full SHA for be715ec - Browse repository at this point
Copy the full SHA be715ecView commit details -
Summary: @public Bump Babel to version 7 beta 54 This version has reversed the windows path denormalization so we need it to be able to fix windows paths. Reviewed By: rafeca Differential Revision: D8894700 fbshipit-source-id: 3ae1480b77380cae8070621d4729b21a34c4b928
Configuration menu - View commit details
-
Copy full SHA for b9d1c83 - Browse repository at this point
Copy the full SHA b9d1c83View commit details -
Uniformizes how THIS_DIR is computed in xplat/js
Summary: This form of THIS_DIR resolves symlinks, which is better. Reviewed By: davidaurelio Differential Revision: D8661886 fbshipit-source-id: 90bf329e765d9623d103b03c5dd3b71fae9d9854
Configuration menu - View commit details
-
Copy full SHA for e183844 - Browse repository at this point
Copy the full SHA e183844View commit details -
auto-lint YGLayout.h YGNode.h YGStyle.cpp YGStyle.h
Summary: @public automatically applies lint fixes to YGLayout.h YGNode.h YGStyle.cpp YGStyle.h Reviewed By: astreet Differential Revision: D8913432 fbshipit-source-id: 488bf25db041ddb527565c26c1762c6ee4cae736
Configuration menu - View commit details
-
Copy full SHA for dfc7b2f - Browse repository at this point
Copy the full SHA dfc7b2fView commit details -
inline trivial constructors / methods
Summary: @public inlines some trivial constructors, destructors, and methods. Reviewed By: astreet Differential Revision: D8912691 fbshipit-source-id: 79840ef3322676deebed99391390d6c1796963b5
Configuration menu - View commit details
-
Copy full SHA for 1d7a24f - Browse repository at this point
Copy the full SHA 1d7a24fView commit details -
Summary: @public auto-fixes formatting for `Yoga.cpp`/`Yoga.h`. Submitted separately to keep other diffs cleaner. Reviewed By: astreet Differential Revision: D8868179 fbshipit-source-id: d0667f8bb909bb5ada1263aac6e22b0a8f8875ad
Configuration menu - View commit details
-
Copy full SHA for ce4c2de - Browse repository at this point
Copy the full SHA ce4c2deView commit details -
Yoga.h: inline function declaring macros
Summary: @public Inlines macros used for declarations of `YGNodeStyle*` and `YGNodeLayout*` functions. Benefits easier grepping and code base navigation. Reviewed By: astreet Differential Revision: D8868168 fbshipit-source-id: d6b1b70981a59a2214dc7d166435a1d1a844e1b7
Configuration menu - View commit details
-
Copy full SHA for 95b7fd9 - Browse repository at this point
Copy the full SHA 95b7fd9View commit details -
Replace
YG_NODE_STYLE_PROPERTY_IMPL
macro with templateSummary: @public Replacing the `YG_NODE_STYLE_PROPERTY_IMPL` macro with template code, in order to make code easier to edit and grep. Reviewed By: astreet Differential Revision: D8868184 fbshipit-source-id: f52537376fa8d4dd53aa98bb43e93279699dbdd5
Configuration menu - View commit details
-
Copy full SHA for 709e3bc - Browse repository at this point
Copy the full SHA 709e3bcView commit details -
Changed prop name "currentViewStates" to "accessibilityStates" in js …
…(1/3) Summary: Context: After discussing with @[1038750002:yungsters], `currentViewStates` is a very ambiguous name for a prop, especially because there are only two possible values. From a developer's perspective, it makes more sense to just call them `accessibilityStates` because the main use for them is to add states to Talkback and Voiceover. Also, the actual implementation of what we're changing under the hood in Native Code is abstracted away from developers using React Native, so as long as behavior is as they would expect, it makes more sense to change the name into a clear one. Changes in this Diff: Changed the prop name `currentViewStates` to `accessibilityStates` in js files Reviewed By: PeteTheHeat Differential Revision: D8896223 fbshipit-source-id: dfdb48dce69303a347dfccd194af2fef9beb776c
Configuration menu - View commit details
-
Copy full SHA for 03036f7 - Browse repository at this point
Copy the full SHA 03036f7View commit details -
Changed prop name "currentViewStates" to "accessibilityStates" in And…
…roid (2/3) Summary: Context: After discussing with @[1038750002:yungsters], `currentViewStates` is a very ambiguous name for a prop, especially because there are only two possible values. From a developer's perspective, it makes more sense to just call them `accessibilityStates` because the main use for them is to add states to Talkback and Voiceover. Defense for changing name in Android: The actual implementation of what we're changing under the hood in Native Code is abstracted away from developers using React Native, so as long as behavior is as they would expect, it makes more sense to change the name into a clear one regardless of how it is implemented. Changes: changed the Prop name from `currentViewStates` to `accessibilityStates` in the BaseViewManager file where the view property is being exposed. Reviewed By: PeteTheHeat Differential Revision: D8896389 fbshipit-source-id: 35dcd9239fae016b790e528947994681684bd654
Configuration menu - View commit details
-
Copy full SHA for 3bedc78 - Browse repository at this point
Copy the full SHA 3bedc78View commit details -
changed prop name currentViewStates to AccessibilityStates on iOS (3/3)
Summary: Context: After discussing with yungsters, `currentViewStates` is a very ambiguous name for a prop, especially because there are only two possible values. From a developer's perspective, it makes more sense to just call them `accessibilityStates` because the main use for them is to add states to Talkback and Voiceover. Also, the actual implementation of what we're changing under the hood in Native Code is abstracted away from developers using React Native, so as long as behavior is as they would expect, it makes more sense to change the name into a clear one. Changes in this Diff: Renamed the view property exposed to native iOS code from `currentViewStates` to `accessibilityStates` Also deleted setting the userInteractionEnabled view property, because we want to keep it as just an accessibility property. Reviewed By: PeteTheHeat Differential Revision: D8896821 fbshipit-source-id: 95674c9b7295f5b9e60994c297acdee83f6226d7
Configuration menu - View commit details
-
Copy full SHA for ca01290 - Browse repository at this point
Copy the full SHA ca01290View commit details -
add windows ci (facebook#20281)
Summary: [![Build status](https://ci.appveyor.com/api/projects/status/79bl3twr4palqmra/branch/feature/appveyor?svg=true)](https://ci.appveyor.com/project/gengjiawen/react-native/branch/master) Add windows ci pass all current ci. none [GENERAL] [INTERNAL] [CI] - add windows ci Pull Request resolved: facebook#20281 Differential Revision: D8924625 Pulled By: hramos fbshipit-source-id: 6b933a8affe7c131c0fd02694f6177885a196611
Configuration menu - View commit details
-
Copy full SHA for 1b2a552 - Browse repository at this point
Copy the full SHA 1b2a552View commit details
Commits on Jul 20, 2018
-
Fix Horizontal ScrollView's scroll position during layout changes
Summary: Fix the calculation of offsetX in onLayout (ReactHorizontalScrollContainerView.java) that re-positions the updated layout. A private instance variable (oldWidth) is added in order to track the width difference between consecutive updates. (Issue report: facebook#19979) Reviewed By: mdvacca Differential Revision: D8772780 fbshipit-source-id: 969dcead550f4a3d24d06416b63d960492b7a124
Configuration menu - View commit details
-
Copy full SHA for de57327 - Browse repository at this point
Copy the full SHA de57327View commit details -
Fix placeholder clipping issue
Summary: Problem: The first ReactTextInputShadowNode layout calculation didn't consider the placeholder. When the layout with placeholder was actually being measured, its height was constraint by the previously calculated height, causing long placeholder content to be clipped. Fix: Access the placeholder property in ReactTextInputShadowNode, set the dummyEditText's hint with placeholder before ReactTextInputShadowNode's first measurement. Reviewed By: mdvacca Differential Revision: D8903108 fbshipit-source-id: 8f3e518d0395ac875807f9ea989a0b5bbe4b2a26
Configuration menu - View commit details
-
Copy full SHA for 86f24cc - Browse repository at this point
Copy the full SHA 86f24ccView commit details -
Fix ReactHorizontalScrollView overflow issue
Summary: Fix ReactHorizontalScrollView so that its children won't overflow. (Task: https://our.intern.facebook.com/intern/tasks/?t=31128239) Reviewed By: achen1 Differential Revision: D8923947 fbshipit-source-id: 56c36b25c29a87a306d92544273603d0d086edc0
Configuration menu - View commit details
-
Copy full SHA for d5465a9 - Browse repository at this point
Copy the full SHA d5465a9View commit details -
Fix overflow issue in root view
Summary: Set clipChildren to false by default in ReactRootView.java so that Overflow: visible/hidden will work for the root view. Moved sDefaultOverflowHidden from ReactViewGroup.java to ViewProps.java so that it can be used in both ReactViewGroup.java and ReactRootView.java. Reviewed By: mdvacca Differential Revision: D8727140 fbshipit-source-id: b593bed63e479cdbd22e4a025b936e6aeb28fc8c
Configuration menu - View commit details
-
Copy full SHA for 9c71952 - Browse repository at this point
Copy the full SHA 9c71952View commit details -
RN: Move ART Canvas Workaround
Summary: Moves the `ReactNativeART` workaround to callers. There are legitimate use cases where you don't want to re-mount this component repeatedly. Reviewed By: fkgozali Differential Revision: D8928633 fbshipit-source-id: 0aafc1136ce9acb290e26a4f1a958819439bf2f0
Configuration menu - View commit details
-
Copy full SHA for 7091f15 - Browse repository at this point
Copy the full SHA 7091f15View commit details -
VirtualizedList: Fix spacer size calculation (facebook#18105)
Summary: See facebook#18104 Tested the above snack with: - stickyHeadersEnabled true/false - initialScrollIndex set and not Visibly verified consistent rendering. [GENERAL] [BUGFIX] [VirtualizedList] - Fix for jumpy content when initialScrollIndex specified Pull Request resolved: facebook#18105 Differential Revision: D8382122 Pulled By: sahrens fbshipit-source-id: 9421351469e8684bc61438605abbd9988b664c29
Configuration menu - View commit details
-
Copy full SHA for e0c7363 - Browse repository at this point
Copy the full SHA e0c7363View commit details -
Summary: shipit @public [skip-ci] Reviewed By: mjesun Differential Revision: D8931237 fbshipit-source-id: db5bb09eb8ec01ae302cee16e4d6cb229f8244c9
Configuration menu - View commit details
-
Copy full SHA for 583cb13 - Browse repository at this point
Copy the full SHA 583cb13View commit details -
BREAKING: metro: rename 'unbundle' to 'ram bundle'
Summary: @public Let's get rid of the "unbundle" terminology and instead use "RAM bundle", short for "Random Access Bundle" format. THIS IS A BREAKING CHANGE FOR OSS, as the command becomes `ram-bundle` instead of `unbundle`. It realy shouldn't be a command to start with (only a "format" specifier for the `bundle` command), but I don't want to do that change at this point. Reviewed By: davidaurelio Differential Revision: D8894433 fbshipit-source-id: 5565f9ae94c7c2d7f6b25f95ae45b64f27f6aec8
Configuration menu - View commit details
-
Copy full SHA for ebf5aea - Browse repository at this point
Copy the full SHA ebf5aeaView commit details -
Fix
currentlyFocusedField
by Removingthis
usage in TextInputState (facebook#19834) Summary: I broke `currentlyFocusedField` when adding it back in ce3b7b8 because `this` no longer refers to the proper object because it is assigned here facebook@ce3b7b8#diff-b48972356bc8dca4a00747d002fc3dd5R330. This code was pretty prone to breaking so I simply removed the `this` usage and rely on a top level variable instead. Also moved everything to named functions. Pull Request resolved: facebook#19834 Differential Revision: D8943088 Pulled By: hramos fbshipit-source-id: 24d1470f6117138a5978fb7e467147847a9f3658
Configuration menu - View commit details
-
Copy full SHA for b4b594c - Browse repository at this point
Copy the full SHA b4b594cView commit details
Commits on Jul 21, 2018
-
fix missing selection indicator lines (facebook#18885)
Summary: This PR is based on facebook#13342 by pvinis and fixes facebook#14442. As suggested in the discussion on the PR mentioned above, I moved the code from `React/Views/RCTPickerManager.m` to the `initWithFrame` function in `React/Views/RCTPicker.m` and verified that it still fixes the problem. Before the change in this PR the selection indicator lines are missing when the Picker is initially added to the View and only appear after changing to a different Tab and back. This happens both in the Simulator and my real device (iPhone 6S on iOS 11.3). ![beforechange](https://user-images.githubusercontent.com/7568362/38824104-7b294cae-41a8-11e8-8609-7a647ab3adb8.png) After the change, the indicator lines always appear. I did not notice any side effects of this change when playing around with the Picker in different configurations. ![afterchange](https://user-images.githubusercontent.com/7568362/38824109-82a5b382-41a8-11e8-8af3-ca07c8b2c30e.png) facebook#13342 also fixes this issue but appears to be inactive. [IOS] [BUGFIX] [PickerIOS] - Fixed missing selection indicator lines Pull Request resolved: facebook#18885 Differential Revision: D8945483 Pulled By: hramos fbshipit-source-id: 2b6c6f42559691530b062503feb24bc305f4a8af
Configuration menu - View commit details
-
Copy full SHA for e592d6f - Browse repository at this point
Copy the full SHA e592d6fView commit details
Commits on Jul 22, 2018
-
textInput: Fix placeholder is not completely visible on Android.
On Android, placeholder of TextInput is not completely visible. TextInput had some default fixed width. On iOS it is perfectly visible. This commit makes it consistent on both the platforms. Before: https://user-images.githubusercontent.com/39303760/43045649-54cb45e8-8dda-11e8-9935-059ad8ee9def.png After: https://user-images.githubusercontent.com/39303760/43045650-54fb9428-8dda-11e8-88b8-176839d6c0a7.png Testing code: https://github.com/jainkuniya/TestTextInput/blob/a0a6fbb491e979fe7cc9d0a580d67790b3481eb8/App.js
Configuration menu - View commit details
-
Copy full SHA for abbe27f - Browse repository at this point
Copy the full SHA abbe27fView commit details