react-native/ReactCommon/fabric/uimanager
Valentin Shergin 2a7bb12e84 Fabric: Modernizing JSIInstallFabricUIManager
Summary:
A bunch of different things was changed, but the most important (and need) change is that `UIManager` is now passed in the function as a regular reference, not as a `shared_ptr`. Besides that fact that passing this as `shared_ptr` is simply incorrect (because there is no ownership sharing/transferring here), we need this change because we cannot construct `shared_ptr` from `this` inside `UIManager` class (especially in the constructor).

Besides that:
 * `const &` everything (correctness, explicit intention, performance);
 * Names were unified with the rest of the code;
 * `auto` everything;
 * All JSI stuff is now explicitly prefixed with `jsi::`;
 * `using` instead of `typedef` (modern C++ syntax);
 * Lamdas instead of std::bind (same perfromance, much more clear and flexible);

Reviewed By: mdvacca

Differential Revision: D9835901

fbshipit-source-id: 935be0ae889fe5508ffa9498282c939c816587e1
2018-09-14 15:21:12 -07:00
..
tests Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
BUCK Fixup references to old flag_defs.bzl in xplat/ 2018-09-11 18:47:30 -07:00
ComponentDescriptorFactory.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ComponentDescriptorRegistry.cpp Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ComponentDescriptorRegistry.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ContextContainer.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Differentiator.cpp Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Differentiator.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
FabricUIManager.cpp Fabric: All JavaScript-facing methods of UIManager marked as `const` 2018-09-14 15:21:12 -07:00
FabricUIManager.h Fabric: Modernizing JSIInstallFabricUIManager 2018-09-14 15:21:12 -07:00
Scheduler.cpp Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Scheduler.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
SchedulerDelegate.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ShadowTree.cpp Fabric: Exposing EventEmitter's ownership model as a shared_ptr 2018-09-13 23:02:37 -07:00
ShadowTree.h Fabric: Exposing EventEmitter's ownership model as a shared_ptr 2018-09-13 23:02:37 -07:00
ShadowTreeDelegate.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ShadowView.cpp Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ShadowView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ShadowViewMutation.cpp Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ShadowViewMutation.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
UIManagerDelegate.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00