Version 5.2.2: Fixed compilation errors due to V8 API deprecation.
This commit is contained in:
Родитель
589e2fb9e9
Коммит
bfd6c6981b
|
@ -73,5 +73,5 @@ using System.Runtime.InteropServices;
|
|||
[assembly: InternalsVisibleTo("ClearScriptTest")]
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("5.2.1.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.1.0")]
|
||||
[assembly: AssemblyVersion("5.2.2.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.2.0")]
|
||||
|
|
|
@ -183,7 +183,7 @@ V8ContextImpl::V8ContextImpl(LPCWSTR pName, bool enableDebugging, bool disableGl
|
|||
|
||||
if (disableGlobalMembers)
|
||||
{
|
||||
m_hContext = Context::New();
|
||||
m_hContext = Persistent<Context>::New(m_pIsolate, Context::New(m_pIsolate));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -192,7 +192,7 @@ V8ContextImpl::V8ContextImpl(LPCWSTR pName, bool enableDebugging, bool disableGl
|
|||
hGlobalTemplate->SetNamedPropertyHandler(GetGlobalProperty, SetGlobalProperty, QueryGlobalProperty, DeleteGlobalProperty, GetGlobalPropertyNames);
|
||||
hGlobalTemplate->SetIndexedPropertyHandler(GetGlobalProperty, SetGlobalProperty, QueryGlobalProperty, DeleteGlobalProperty, GetGlobalPropertyIndices);
|
||||
|
||||
m_hContext = Context::New(nullptr, hGlobalTemplate);
|
||||
m_hContext = Persistent<Context>::New(m_pIsolate, Context::New(m_pIsolate, nullptr, hGlobalTemplate));
|
||||
|
||||
m_hGlobal = Persistent<Object>::New(m_pIsolate, m_hContext->Global()->GetPrototype()->ToObject());
|
||||
_ASSERTE(m_hGlobal->InternalFieldCount() > 0);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Index: tools/gyp/v8.gyp
|
||||
===================================================================
|
||||
--- tools/gyp/v8.gyp (revision 14518)
|
||||
--- tools/gyp/v8.gyp (revision 14680)
|
||||
+++ tools/gyp/v8.gyp (working copy)
|
||||
@@ -32,6 +32,7 @@
|
||||
'targets': [
|
||||
|
|
|
@ -61,5 +61,5 @@
|
|||
|
||||
|
||||
|
||||
#define CLEARSCRIPT_VERSION_STRING "5.2.1.0"
|
||||
#define CLEARSCRIPT_VERSION_COMMA_SEPARATED 5,2,1,0
|
||||
#define CLEARSCRIPT_VERSION_STRING "5.2.2.0"
|
||||
#define CLEARSCRIPT_VERSION_COMMA_SEPARATED 5,2,2,0
|
||||
|
|
|
@ -69,5 +69,5 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyCopyright("© Microsoft Corporation")]
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("5.2.1.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.1.0")]
|
||||
[assembly: AssemblyVersion("5.2.2.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.2.0")]
|
||||
|
|
|
@ -69,5 +69,5 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyCopyright("© Microsoft Corporation")]
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("5.2.1.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.1.0")]
|
||||
[assembly: AssemblyVersion("5.2.2.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.2.0")]
|
||||
|
|
|
@ -69,5 +69,5 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyCopyright("© Microsoft Corporation")]
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("5.2.1.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.1.0")]
|
||||
[assembly: AssemblyVersion("5.2.2.0")]
|
||||
[assembly: AssemblyFileVersion("5.2.2.0")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
<# var version = new Version(5, 2, 1, 0); #>
|
||||
<# var version = new Version(5, 2, 2, 0); #>
|
||||
|
|
Загрузка…
Ссылка в новой задаче