Version 5.2.2: Fixed compilation errors due to V8 API deprecation.

This commit is contained in:
ClearScript 2013-05-15 08:58:33 -04:00
Родитель 589e2fb9e9
Коммит bfd6c6981b
8 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@ -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); #>