JavaScriptCore:
Make testkjs delay-load its dependencies
This lets WebKitInitializer re-route the dependencies to be loaded out
of the Safari installation directory.
Rubberstamped by Sam.
* JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
WebKitTools:
Make DumpRenderTree delay-load its dependencies
This lets WebKitInitializer re-route the dependencies to be loaded out
of the Safari installation directory.
Also replaced all uses of kCFAllocatorDefault with 0 (which means the
same thing), since we can't import the kCFAllocatorDefault symbol when
delay-loading CoreFoundation.dll.
Rubberstamped by Sam.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest):
(javaScriptThreads):
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setWaitToDump):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25757
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-09-25 Adam Roben <aroben@apple.com>
+
+ Make testkjs delay-load its dependencies
+
+ This lets WebKitInitializer re-route the dependencies to be loaded out
+ of the Safari installation directory.
+
+ Rubberstamped by Sam.
+
+ * JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
+
2007-09-25 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam.
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
LinkIncremental="2"
AdditionalLibraryDirectories=""$(WebKitOutputDir)\lib";"$(WebKitLibrariesDir)\lib";..\..\..\icu\lib"
+ DelayLoadDLLs="icuuc$(LibraryConfigSuffix).dll;pthreadVC2$(LibraryConfigSuffix).dll"
GenerateDebugInformation="true"
SubSystem="1"
TargetMachine="1"
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
LinkIncremental="1"
AdditionalLibraryDirectories=""$(WebKitOutputDir)\lib";"$(WebKitLibrariesDir)\lib";..\..\..\icu\lib"
+ DelayLoadDLLs="icuuc$(LibraryConfigSuffix).dll;pthreadVC2$(LibraryConfigSuffix).dll"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
LinkIncremental="2"
AdditionalLibraryDirectories=""$(WebKitOutputDir)\lib";"$(WebKitLibrariesDir)\lib";..\..\..\icu\lib"
+ DelayLoadDLLs="icuuc$(LibraryConfigSuffix).dll;pthreadVC2$(LibraryConfigSuffix).dll"
GenerateDebugInformation="true"
SubSystem="1"
TargetMachine="1"
+2007-09-25 Adam Roben <aroben@apple.com>
+
+ Make DumpRenderTree delay-load its dependencies
+
+ This lets WebKitInitializer re-route the dependencies to be loaded out
+ of the Safari installation directory.
+
+ Also replaced all uses of kCFAllocatorDefault with 0 (which means the
+ same thing), since we can't import the kCFAllocatorDefault symbol when
+ delay-loading CoreFoundation.dll.
+
+ Rubberstamped by Sam.
+
+ * DumpRenderTree/win/DumpRenderTree.cpp:
+ (runTest):
+ (javaScriptThreads):
+ * DumpRenderTree/win/DumpRenderTree.vcproj:
+ * DumpRenderTree/win/LayoutTestControllerWin.cpp:
+ (LayoutTestController::setWaitToDump):
+
2007-09-25 Adam Roben <aroben@apple.com>
Pull ole32.lib into WebKitInitializer
BSTR urlBStr;
- CFStringRef str = CFStringCreateWithCString(kCFAllocatorDefault, pathOrURL, kCFStringEncodingWindowsLatin1);
- CFURLRef url = CFURLCreateWithString(kCFAllocatorDefault, str, 0);
+ CFStringRef str = CFStringCreateWithCString(0, pathOrURL, kCFStringEncodingWindowsLatin1);
+ CFURLRef url = CFURLCreateWithString(0, str, 0);
if (!url)
- url = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, str, kCFURLWindowsPathStyle, false);
+ url = CFURLCreateWithFileSystemPath(0, str, kCFURLWindowsPathStyle, false);
CFRelease(str);
assert(pthread_mutex_trylock(&javaScriptThreadsMutex) == EBUSY);
static CFMutableDictionaryRef staticJavaScriptThreads;
if (!staticJavaScriptThreads)
- staticJavaScriptThreads = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &pthreadKeyCallbacks, 0);
+ staticJavaScriptThreads = CFDictionaryCreateMutable(0, 0, &pthreadKeyCallbacks, 0);
return staticJavaScriptThreads;
}
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
LinkIncremental="2"
AdditionalLibraryDirectories=""$(WebKitOutputDir)\lib";"$(WebKitLibrariesDir)\lib";"$(WebKitOutputDir)\bin""
+ DelayLoadDLLs="WebKit$(WebKitConfigSuffix).dll;CoreGraphics$(LibraryConfigSuffix).dll;CoreFoundation$(LibraryConfigSuffix).dll;pthreadVC2$(LibraryConfigSuffix).dll"
GenerateDebugInformation="true"
SubSystem="1"
TargetMachine="1"
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
LinkIncremental="1"
AdditionalLibraryDirectories=""$(WebKitOutputDir)\lib";"$(WebKitLibrariesDir)\lib";"$(WebKitOutputDir)\bin""
+ DelayLoadDLLs="WebKit$(WebKitConfigSuffix).dll;CoreGraphics$(LibraryConfigSuffix).dll;CoreFoundation$(LibraryConfigSuffix).dll;pthreadVC2$(LibraryConfigSuffix).dll"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
LinkIncremental="2"
AdditionalLibraryDirectories=""$(WebKitOutputDir)\lib";"$(WebKitLibrariesDir)\lib";"$(WebKitOutputDir)\bin""
+ DelayLoadDLLs="WebKit$(WebKitConfigSuffix).dll;CoreGraphics$(LibraryConfigSuffix).dll;CoreFoundation$(LibraryConfigSuffix).dll;pthreadVC2$(LibraryConfigSuffix).dll"
GenerateDebugInformation="true"
SubSystem="1"
TargetMachine="1"
// Same as on mac. This can be shared.
m_waitToDump = waitUntilDone;
if (m_waitToDump && !waitToDumpWatchdog)
- ::waitToDumpWatchdog = CFRunLoopTimerCreate(kCFAllocatorDefault, 0, waitToDumpWatchdogInterval, 0, 0, waitUntilDoneWatchdogFired, NULL);
+ ::waitToDumpWatchdog = CFRunLoopTimerCreate(0, 0, waitToDumpWatchdogInterval, 0, 0, waitUntilDoneWatchdogFired, NULL);
}
int LayoutTestController::windowCount()