react-native-windows 0.80.1 → 0.80.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Directory.Build.props +1 -1
- package/Microsoft.ReactNative/Fabric/Composition/DebuggerUIIsland.cpp +169 -0
- package/Microsoft.ReactNative/Fabric/Composition/DebuggerUIIsland.h +42 -0
- package/Microsoft.ReactNative/Fabric/Composition/DebuggingOverlayComponentView.cpp +1 -1
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp +60 -33
- package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.cpp +68 -1
- package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.h +9 -0
- package/Microsoft.ReactNative/Fabric/Composition/UriImageManager.cpp +5 -3
- package/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp +6 -1
- package/Microsoft.ReactNative/Fabric/WindowsImageManager.cpp +14 -1
- package/Microsoft.ReactNative/Fabric/platform/react/threading/TaskDispatchThread.cpp +75 -24
- package/Microsoft.ReactNative/Fabric/platform/react/threading/TaskDispatchThread.h +4 -25
- package/Microsoft.ReactNative/JsiApi.cpp +1 -1
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +1 -0
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj.filters +3 -0
- package/Microsoft.ReactNative/ReactHost/DebuggerNotifications.h +54 -0
- package/Microsoft.ReactNative/ReactHost/React.h +11 -4
- package/Microsoft.ReactNative/ReactHost/ReactHost.cpp +195 -29
- package/Microsoft.ReactNative/ReactHost/ReactHost.h +22 -4
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +24 -5
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.h +1 -1
- package/Microsoft.ReactNative/ReactRootView.cpp +108 -0
- package/Microsoft.ReactNative/ReactRootView.h +6 -0
- package/Microsoft.ReactNative/Views/DevMenu.cpp +1 -1
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +3 -3
- package/PropertySheets/JSEngine.props +1 -1
- package/PropertySheets/React.Cpp.props +2 -2
- package/ReactCommon/ReactCommon.vcxproj +18 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/NativeToJsBridge.cpp +1 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsi/jsi/test/testlib.cpp +4 -4
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.cpp +23 -9
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.h +16 -0
- package/ReactCommon/cgmanifest.json +1 -1
- package/Scripts/Tfs/Layout-MSRN-Headers.ps1 +2 -0
- package/Shared/DevServerHelper.h +13 -3
- package/Shared/DevSettings.h +7 -0
- package/Shared/DevSupportManager.cpp +79 -20
- package/Shared/DevSupportManager.h +7 -19
- package/Shared/Hermes/HermesRuntimeAgentDelegate.cpp +99 -0
- package/Shared/Hermes/HermesRuntimeAgentDelegate.h +81 -0
- package/Shared/Hermes/HermesRuntimeTargetDelegate.cpp +263 -0
- package/Shared/Hermes/HermesRuntimeTargetDelegate.h +77 -0
- package/Shared/HermesRuntimeHolder.cpp +29 -111
- package/Shared/HermesRuntimeHolder.h +214 -32
- package/Shared/IDevSupportManager.h +5 -2
- package/Shared/Inspector/ReactInspectorPackagerConnectionDelegate.cpp +108 -0
- package/Shared/Inspector/ReactInspectorPackagerConnectionDelegate.h +19 -0
- package/Shared/Inspector/ReactInspectorThread.h +18 -0
- package/Shared/JSI/RuntimeHolder.h +5 -2
- package/Shared/OInstance.cpp +44 -27
- package/Shared/Shared.vcxitems +27 -17
- package/Shared/Shared.vcxitems.filters +33 -15
- package/package.json +4 -4
- package/Microsoft.ReactNative.Cxx/ApiLoaders/JSRuntimeApi.cpp +0 -79
- package/Microsoft.ReactNative.Cxx/ApiLoaders/JSRuntimeApi.h +0 -51
- package/Microsoft.ReactNative.Cxx/ApiLoaders/JSRuntimeApi.inc +0 -50
- package/Microsoft.ReactNative.Cxx/ApiLoaders/NodeApi.cpp +0 -41
- package/Microsoft.ReactNative.Cxx/ApiLoaders/NodeApi.h +0 -127
- package/Microsoft.ReactNative.Cxx/ApiLoaders/NodeApi.inc +0 -125
- package/Microsoft.ReactNative.Cxx/ApiLoaders/NodeApi_posix.cpp +0 -16
- package/Microsoft.ReactNative.Cxx/ApiLoaders/NodeApi_win.cpp +0 -23
- package/Microsoft.ReactNative.Cxx/JSI/decorator.h +0 -1054
- package/Microsoft.ReactNative.Cxx/JSI/instrumentation.h +0 -145
- package/Microsoft.ReactNative.Cxx/JSI/jsi-inl.h +0 -372
- package/Microsoft.ReactNative.Cxx/JSI/jsi.cpp +0 -797
- package/Microsoft.ReactNative.Cxx/JSI/jsi.h +0 -1799
- package/Microsoft.ReactNative.Cxx/JSI/threadsafe.h +0 -79
- package/Microsoft.ReactNative.Cxx/NodeApiJsiRuntime.cpp +0 -3531
- package/Microsoft.ReactNative.Cxx/NodeApiJsiRuntime.h +0 -38
- package/Microsoft.ReactNative.Cxx/node-api/js_native_api.h +0 -614
- package/Microsoft.ReactNative.Cxx/node-api/js_native_api_types.h +0 -212
- package/Microsoft.ReactNative.Cxx/node-api/js_runtime_api.h +0 -199
- package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/JSExecutor.cpp +0 -78
- package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/JSExecutor.h +0 -196
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jserrorhandler/JsErrorHandler.cpp +0 -429
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsitooling/react/runtime/JSRuntimeFactory.cpp +0 -45
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsitooling/react/runtime/JSRuntimeFactory.h +0 -91
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/runtime/ReactInstance.cpp +0 -670
- package/Shared/InspectorPackagerConnection.cpp +0 -232
- package/Shared/InspectorPackagerConnection.h +0 -61
- /package/Shared/{HermesSamplingProfiler.cpp → Hermes/HermesSamplingProfiler.cpp} +0 -0
- /package/Shared/{HermesSamplingProfiler.h → Hermes/HermesSamplingProfiler.h} +0 -0
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#ifndef NODE_API_FUNC
|
|
5
|
-
#define NODE_API_FUNC(func)
|
|
6
|
-
#endif
|
|
7
|
-
|
|
8
|
-
// The Node-API functions sorted alphabetically.
|
|
9
|
-
NODE_API_FUNC(napi_add_finalizer)
|
|
10
|
-
NODE_API_FUNC(napi_adjust_external_memory)
|
|
11
|
-
NODE_API_FUNC(napi_call_function)
|
|
12
|
-
NODE_API_FUNC(napi_check_object_type_tag)
|
|
13
|
-
NODE_API_FUNC(napi_close_escapable_handle_scope)
|
|
14
|
-
NODE_API_FUNC(napi_close_handle_scope)
|
|
15
|
-
NODE_API_FUNC(napi_coerce_to_bool)
|
|
16
|
-
NODE_API_FUNC(napi_coerce_to_number)
|
|
17
|
-
NODE_API_FUNC(napi_coerce_to_object)
|
|
18
|
-
NODE_API_FUNC(napi_coerce_to_string)
|
|
19
|
-
NODE_API_FUNC(napi_create_array_with_length)
|
|
20
|
-
NODE_API_FUNC(napi_create_array)
|
|
21
|
-
NODE_API_FUNC(napi_create_arraybuffer)
|
|
22
|
-
NODE_API_FUNC(napi_create_bigint_int64)
|
|
23
|
-
NODE_API_FUNC(napi_create_bigint_uint64)
|
|
24
|
-
NODE_API_FUNC(napi_create_bigint_words)
|
|
25
|
-
NODE_API_FUNC(napi_create_dataview)
|
|
26
|
-
NODE_API_FUNC(napi_create_date)
|
|
27
|
-
NODE_API_FUNC(napi_create_double)
|
|
28
|
-
NODE_API_FUNC(napi_create_error)
|
|
29
|
-
NODE_API_FUNC(napi_create_external_arraybuffer)
|
|
30
|
-
NODE_API_FUNC(napi_create_external)
|
|
31
|
-
NODE_API_FUNC(napi_create_function)
|
|
32
|
-
NODE_API_FUNC(napi_create_int32)
|
|
33
|
-
NODE_API_FUNC(napi_create_int64)
|
|
34
|
-
NODE_API_FUNC(napi_create_object)
|
|
35
|
-
NODE_API_FUNC(napi_create_promise)
|
|
36
|
-
NODE_API_FUNC(napi_create_range_error)
|
|
37
|
-
NODE_API_FUNC(napi_create_reference)
|
|
38
|
-
NODE_API_FUNC(napi_create_string_latin1)
|
|
39
|
-
NODE_API_FUNC(napi_create_string_utf16)
|
|
40
|
-
NODE_API_FUNC(napi_create_string_utf8)
|
|
41
|
-
NODE_API_FUNC(napi_create_symbol)
|
|
42
|
-
NODE_API_FUNC(napi_create_type_error)
|
|
43
|
-
NODE_API_FUNC(napi_create_typedarray)
|
|
44
|
-
NODE_API_FUNC(napi_create_uint32)
|
|
45
|
-
NODE_API_FUNC(napi_define_class)
|
|
46
|
-
NODE_API_FUNC(napi_define_properties)
|
|
47
|
-
NODE_API_FUNC(napi_delete_element)
|
|
48
|
-
NODE_API_FUNC(napi_delete_property)
|
|
49
|
-
NODE_API_FUNC(napi_delete_reference)
|
|
50
|
-
NODE_API_FUNC(napi_detach_arraybuffer)
|
|
51
|
-
NODE_API_FUNC(napi_escape_handle)
|
|
52
|
-
NODE_API_FUNC(napi_get_all_property_names)
|
|
53
|
-
NODE_API_FUNC(napi_get_and_clear_last_exception)
|
|
54
|
-
NODE_API_FUNC(napi_get_array_length)
|
|
55
|
-
NODE_API_FUNC(napi_get_arraybuffer_info)
|
|
56
|
-
NODE_API_FUNC(napi_get_boolean)
|
|
57
|
-
NODE_API_FUNC(napi_get_cb_info)
|
|
58
|
-
NODE_API_FUNC(napi_get_dataview_info)
|
|
59
|
-
NODE_API_FUNC(napi_get_date_value)
|
|
60
|
-
NODE_API_FUNC(napi_get_element)
|
|
61
|
-
NODE_API_FUNC(napi_get_global)
|
|
62
|
-
NODE_API_FUNC(napi_get_instance_data)
|
|
63
|
-
NODE_API_FUNC(napi_get_last_error_info)
|
|
64
|
-
NODE_API_FUNC(napi_get_named_property)
|
|
65
|
-
NODE_API_FUNC(napi_get_new_target)
|
|
66
|
-
NODE_API_FUNC(napi_get_null)
|
|
67
|
-
NODE_API_FUNC(napi_get_property_names)
|
|
68
|
-
NODE_API_FUNC(napi_get_property)
|
|
69
|
-
NODE_API_FUNC(napi_get_prototype)
|
|
70
|
-
NODE_API_FUNC(napi_get_reference_value)
|
|
71
|
-
NODE_API_FUNC(napi_get_typedarray_info)
|
|
72
|
-
NODE_API_FUNC(napi_get_undefined)
|
|
73
|
-
NODE_API_FUNC(napi_get_value_bigint_int64)
|
|
74
|
-
NODE_API_FUNC(napi_get_value_bigint_uint64)
|
|
75
|
-
NODE_API_FUNC(napi_get_value_bigint_words)
|
|
76
|
-
NODE_API_FUNC(napi_get_value_bool)
|
|
77
|
-
NODE_API_FUNC(napi_get_value_double)
|
|
78
|
-
NODE_API_FUNC(napi_get_value_external)
|
|
79
|
-
NODE_API_FUNC(napi_get_value_int32)
|
|
80
|
-
NODE_API_FUNC(napi_get_value_int64)
|
|
81
|
-
NODE_API_FUNC(napi_get_value_string_latin1)
|
|
82
|
-
NODE_API_FUNC(napi_get_value_string_utf16)
|
|
83
|
-
NODE_API_FUNC(napi_get_value_string_utf8)
|
|
84
|
-
NODE_API_FUNC(napi_get_value_uint32)
|
|
85
|
-
NODE_API_FUNC(napi_get_version)
|
|
86
|
-
NODE_API_FUNC(napi_has_element)
|
|
87
|
-
NODE_API_FUNC(napi_has_named_property)
|
|
88
|
-
NODE_API_FUNC(napi_has_own_property)
|
|
89
|
-
NODE_API_FUNC(napi_has_property)
|
|
90
|
-
NODE_API_FUNC(napi_instanceof)
|
|
91
|
-
NODE_API_FUNC(napi_is_array)
|
|
92
|
-
NODE_API_FUNC(napi_is_arraybuffer)
|
|
93
|
-
NODE_API_FUNC(napi_is_dataview)
|
|
94
|
-
NODE_API_FUNC(napi_is_date)
|
|
95
|
-
NODE_API_FUNC(napi_is_detached_arraybuffer)
|
|
96
|
-
NODE_API_FUNC(napi_is_error)
|
|
97
|
-
NODE_API_FUNC(napi_is_exception_pending)
|
|
98
|
-
NODE_API_FUNC(napi_is_promise)
|
|
99
|
-
NODE_API_FUNC(napi_is_typedarray)
|
|
100
|
-
NODE_API_FUNC(napi_new_instance)
|
|
101
|
-
NODE_API_FUNC(napi_object_freeze)
|
|
102
|
-
NODE_API_FUNC(napi_object_seal)
|
|
103
|
-
NODE_API_FUNC(napi_open_escapable_handle_scope)
|
|
104
|
-
NODE_API_FUNC(napi_open_handle_scope)
|
|
105
|
-
NODE_API_FUNC(napi_reference_ref)
|
|
106
|
-
NODE_API_FUNC(napi_reference_unref)
|
|
107
|
-
NODE_API_FUNC(napi_reject_deferred)
|
|
108
|
-
NODE_API_FUNC(napi_remove_wrap)
|
|
109
|
-
NODE_API_FUNC(napi_resolve_deferred)
|
|
110
|
-
NODE_API_FUNC(napi_run_script)
|
|
111
|
-
NODE_API_FUNC(napi_set_element)
|
|
112
|
-
NODE_API_FUNC(napi_set_instance_data)
|
|
113
|
-
NODE_API_FUNC(napi_set_named_property)
|
|
114
|
-
NODE_API_FUNC(napi_set_property)
|
|
115
|
-
NODE_API_FUNC(napi_strict_equals)
|
|
116
|
-
NODE_API_FUNC(napi_throw_error)
|
|
117
|
-
NODE_API_FUNC(napi_throw_range_error)
|
|
118
|
-
NODE_API_FUNC(napi_throw_type_error)
|
|
119
|
-
NODE_API_FUNC(napi_throw)
|
|
120
|
-
NODE_API_FUNC(napi_type_tag_object)
|
|
121
|
-
NODE_API_FUNC(napi_typeof)
|
|
122
|
-
NODE_API_FUNC(napi_unwrap)
|
|
123
|
-
NODE_API_FUNC(napi_wrap)
|
|
124
|
-
|
|
125
|
-
#undef NODE_API_FUNC
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#include "NodeApi.h"
|
|
5
|
-
|
|
6
|
-
namespace Microsoft::NodeApiJsi {
|
|
7
|
-
|
|
8
|
-
LibHandle LibLoader::loadLib(const char *libName) {
|
|
9
|
-
// TODO: implement
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
FuncPtr LibLoader::getFuncPtr(LibHandle libHandle, const char *funcName) {
|
|
13
|
-
// TODO: implement
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
} // namespace Microsoft::NodeApiJsi
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#include "NodeApi.h"
|
|
5
|
-
#ifndef WIN32_LEAN_AND_MEAN
|
|
6
|
-
#define WIN32_LEAN_AND_MEAN
|
|
7
|
-
#endif
|
|
8
|
-
#ifndef NOMINMAX
|
|
9
|
-
#define NOMINMAX
|
|
10
|
-
#endif
|
|
11
|
-
#include <windows.h>
|
|
12
|
-
|
|
13
|
-
namespace Microsoft::NodeApiJsi {
|
|
14
|
-
|
|
15
|
-
LibHandle LibLoader::loadLib(const char *libName) {
|
|
16
|
-
return reinterpret_cast<LibHandle>(LoadLibraryA(libName));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
FuncPtr LibLoader::getFuncPtr(LibHandle libHandle, const char *funcName) {
|
|
20
|
-
return reinterpret_cast<FuncPtr>(GetProcAddress(reinterpret_cast<HMODULE>(libHandle), funcName));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
} // namespace Microsoft::NodeApiJsi
|