react-native/React
Valentin Shergin ceb1d1ca5b Removing our own implementation of round-to-pixel algorithm
Summary:
> Okay, I don't remember where we first met
> But hey, admitting is the first step

This issue has a looong history.
The original algorithm was introduced by Nick Lockwood (nicklockwood Hey Nick! We miss you!) a while ago and from the very beginning this has one small error that basically makes it useless (try to find it yourself, it's fun!)
The problem was discovered and fixed twice (D4133643, D4983054), but every time we found that our <Text> infra was not ready for this, so we reverted and abandoned the change. As part of the last attempt to finally solve the issue, I ported the algorithm to Yoga where it lives today and works very well for Lytho and CK.
For now, the vision is clear:
 * The basic algorithm should live in Yoga for unification and performance reasons.
 * We still have to have `absolutePostion` as part of this API because it might be useful for some components which implement its own custom/non-Yoga-based layout.
 * We have to enable it in RN eventually.

So, this is the first step: Removing old, broken code which we don't plan to fix and use.

Make React Native crisp again!

Reviewed By: fkgozali

Differential Revision: D6888662

fbshipit-source-id: 2e5098d9935dcbe05d66c777dad3a9ec8ac87ec3
2018-02-05 22:17:22 -08:00
..
Base Delete RCTBatchedBridge 2018-02-05 12:02:35 -08:00
CxxBridge Delete RCTBatchedBridge 2018-02-05 12:02:35 -08:00
CxxModule Make RCTNativeModule::invokeInner explicitely return folly::none in case of error 2017-11-17 03:17:20 -08:00
CxxUtils More efficient dynamic->NSString conversion. 2017-07-26 18:31:12 -07:00
DevSupport Delete RCTBatchedBridge 2018-02-05 12:02:35 -08:00
Inspector Implement bundle sync status 2018-02-01 06:18:13 -08:00
Modules `[RCTShadowView isHidden]` was removed 2018-02-05 22:17:22 -08:00
Profiler Bunch of utility funcs were moved to RCTUIManagerUtils 2017-09-26 14:08:28 -07:00
React.xcodeproj Delete RCTBatchedBridge 2018-02-05 12:02:35 -08:00
UIUtils Migrate DeviceInfoModule from RN Module to Native Function. 2018-01-29 11:18:42 -08:00
Views Removing our own implementation of round-to-pixel algorithm 2018-02-05 22:17:22 -08:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00