react-native-windows 0.65.5 → 0.65.9
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/CHANGELOG.json +85 -1
- package/CHANGELOG.md +41 -5
- package/Chakra/Chakra.vcxitems +0 -1
- package/Chakra/Chakra.vcxitems.filters +0 -3
- package/Chakra/ChakraHelpers.cpp +0 -267
- package/Chakra/ChakraInstanceArgs.h +0 -5
- package/Chakra/ChakraPlatform.h +0 -4
- package/Chakra/ChakraTracing.cpp +0 -33
- package/Chakra/ChakraValue.h +0 -4
- package/Chakra/Utf8DebugExtensions.cpp +0 -5
- package/Chakra/Utf8DebugExtensions.h +0 -6
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +0 -2
- package/Microsoft.ReactNative/Modules/NativeUIManager.cpp +3 -5
- package/Microsoft.ReactNative/ReactRootView.cpp +28 -3
- package/Microsoft.ReactNative/ReactRootView.h +6 -0
- package/Microsoft.ReactNative/Version.rc +1 -1
- package/Microsoft.ReactNative/Views/RootViewManager.cpp +8 -9
- package/Microsoft.ReactNative.Managed.CodeGen/CodeGenerator.Module.cs +12 -16
- package/Microsoft.ReactNative.Managed.CodeGen/SyntaxHelpers.cs +12 -4
- package/PropertySheets/Autolink.props +1 -1
- package/PropertySheets/React.Cpp.props +2 -0
- package/Scripts/rnw-dependencies.ps1 +1 -0
- package/Shared/JSI/ChakraApi.cpp +1 -37
- package/Shared/JSI/ChakraApi.h +0 -4
- package/Shared/JSI/ChakraJsiRuntime_edgemode.cpp +1 -5
- package/Shared/JSI/ChakraRuntime.cpp +0 -12
- package/Shared/JSI/ChakraRuntimeFactory.h +0 -2
- package/Shared/OInstance.cpp +1 -14
- package/Shared/Shared.vcxitems +0 -1
- package/Shared/Shared.vcxitems.filters +0 -3
- package/package.json +2 -2
- package/Chakra/ChakraCoreDebugger.h +0 -147
- package/Scripts/Microsoft.ChakraCore.ARM64.nuspec +0 -50
- package/Scripts/Microsoft.ChakraCore.ARM64.targets +0 -15
- package/Shared/JSI/ChakraCoreRuntime.h +0 -59
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
#pragma once
|
|
5
|
-
|
|
6
|
-
#include "ChakraRuntime.h"
|
|
7
|
-
|
|
8
|
-
#include "ChakraCore.h"
|
|
9
|
-
#include "ChakraCoreDebugger.h"
|
|
10
|
-
|
|
11
|
-
namespace Microsoft::JSI {
|
|
12
|
-
|
|
13
|
-
class ChakraCoreRuntime : public ChakraRuntime {
|
|
14
|
-
public:
|
|
15
|
-
ChakraCoreRuntime(ChakraRuntimeArgs &&args) noexcept;
|
|
16
|
-
|
|
17
|
-
~ChakraCoreRuntime() noexcept;
|
|
18
|
-
|
|
19
|
-
#pragma region ChakraRuntime
|
|
20
|
-
|
|
21
|
-
void setupNativePromiseContinuation() noexcept override;
|
|
22
|
-
|
|
23
|
-
void startDebuggingIfNeeded() override;
|
|
24
|
-
|
|
25
|
-
void stopDebuggingIfNeeded() override;
|
|
26
|
-
|
|
27
|
-
std::unique_ptr<const facebook::jsi::Buffer> generatePreparedScript(
|
|
28
|
-
const std::string &sourceURL,
|
|
29
|
-
const facebook::jsi::Buffer &sourceBuffer) noexcept override;
|
|
30
|
-
|
|
31
|
-
facebook::jsi::Value evaluateJavaScriptSimple(const facebook::jsi::Buffer &buffer, const std::string &sourceURL)
|
|
32
|
-
override;
|
|
33
|
-
|
|
34
|
-
bool evaluateSerializedScript(
|
|
35
|
-
const facebook::jsi::Buffer &scriptBuffer,
|
|
36
|
-
const facebook::jsi::Buffer &serializedScriptBuffer,
|
|
37
|
-
const std::string &sourceURL,
|
|
38
|
-
JsValueRef *result) override;
|
|
39
|
-
|
|
40
|
-
#pragma endregion
|
|
41
|
-
|
|
42
|
-
private:
|
|
43
|
-
JsErrorCode enableDebugging(
|
|
44
|
-
JsRuntimeHandle runtime,
|
|
45
|
-
std::string const &runtimeName,
|
|
46
|
-
bool breakOnNextLine,
|
|
47
|
-
uint16_t port,
|
|
48
|
-
std::unique_ptr<DebugProtocolHandler> &debugProtocolHandler,
|
|
49
|
-
std::unique_ptr<DebugService> &debugService);
|
|
50
|
-
|
|
51
|
-
void ProcessDebuggerCommandQueue();
|
|
52
|
-
|
|
53
|
-
static void CALLBACK ProcessDebuggerCommandQueueCallback(void *callbackState);
|
|
54
|
-
|
|
55
|
-
std::unique_ptr<DebugProtocolHandler> m_debugProtocolHandler;
|
|
56
|
-
std::unique_ptr<DebugService> m_debugService;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
} // namespace Microsoft::JSI
|