512c9c5f2fe63279656b01ba6229e2787d346041
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
2
3         Reviewed by Darin.
4
5         - Simplified code paths and extracted out functions to increase encapsulation.
6
7         * Drosera/DebuggerDocument.cpp:
8         (DebuggerDocument::breakpointEditorHTMLCallback):
9         (DebuggerDocument::isPausedCallback):
10         (DebuggerDocument::pauseCallback):
11         (DebuggerDocument::resumeCallback):
12         (DebuggerDocument::stepIntoCallback):
13         (DebuggerDocument::evaluateScriptCallback):
14         (DebuggerDocument::currentFunctionStackCallback):
15         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
16         (DebuggerDocument::valueForScopeVariableNamedCallback):
17         (DebuggerDocument::logCallback):
18         * Drosera/DebuggerDocument.h:
19         (DebuggerDocument::getPaused):
20         * Drosera/mac/DebuggerClient.mm:
21         (-[DebuggerClient pause:]):
22         (-[DebuggerClient resume:]):
23         (-[DebuggerClient stepInto:]):
24         (-[DebuggerClient stepOver:]):
25         (-[DebuggerClient stepOut:]):
26         (-[DebuggerClient showConsole:]):
27         (-[DebuggerClient closeCurrentFile:]):
28         (-[DebuggerClient validateUserInterfaceItem:]):
29         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
30         (+[NSString stringOrNilFromWebScriptResult:]):
31         (DebuggerDocument::platformPause):
32         (DebuggerDocument::platformResume):
33         (DebuggerDocument::platformStepInto):
34         (DebuggerDocument::platformEvaluateScript):
35         (DebuggerDocument::getPlatformCurrentFunctionStack):
36         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
37         (DebuggerDocument::platformValueForScopeVariableNamed):
38         (DebuggerDocument::platformLog):
39         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
40
41 2007-09-12  Sam Weinig  <sam@webkit.org>
42
43         Build fix for Buildbot.
44
45         * DumpRenderTree/DumpRenderTree.mm:
46         (dump):
47
48 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
49
50         Reviewed by Geoff.
51
52         - Updated the leaks list for leopard to help identify regressions.
53
54         * Scripts/run-webkit-tests:
55
56 2007-09-12  Sam Weinig  <sam@webkit.org>
57
58         Rubber stamped by Darin.
59
60         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
61
62         * DumpRenderTree/DumpRenderTree.h: Re-order variables. 
63         * DumpRenderTree/DumpRenderTree.m: Removed.
64         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
65         (stopJavaScriptThreads): Fix initialization.
66         (setDefaultColorProfileToRGB): Add explicit cast from void*.
67         (dumpRenderTree): Ditto.
68         (runTest):
69         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
70
71         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
72         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
73         * DumpRenderTree/FrameLoadDelegate.m: Removed.
74         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
75         (-[FrameLoadDelegate init]):
76         (-[FrameLoadDelegate dealloc]):
77         (-[FrameLoadDelegate processWork:]):
78         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
79         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
80         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
81         
82         * DumpRenderTree/LayoutTestController.cpp: Added.
83         (LayoutTestController::LayoutTestController):
84         (LayoutTestController::~LayoutTestController):
85         (dumpAsTextCallback):
86         (dumpBackForwardListCallback):
87         (dumpChildFramesAsTextCallback):
88         (dumpChildFrameScrollPositionsCallback):
89         (dumpDOMAsWebArchiveCallback):
90         (dumpEditingCallbacksCallback):
91         (dumpFrameLoadCallbacksCallback):
92         (dumpResourceLoadCallbacksCallback):
93         (dumpSelectionRectCallback):
94         (dumpSourceAsWebArchiveCallback):
95         (dumpTitleChangesCallback):
96         (repaintSweepHorizontallyCallback):
97         (setCallCloseOnWebViewsCallback):
98         (setCanOpenWindowsCallback):
99         (setCloseRemainingWindowsWhenCompleteCallback):
100         (testRepaintCallback):
101         (addFileToPasteboardOnDragCallback):
102         (addDisallowedURLCallback):
103         (clearBackForwardListCallback):
104         (decodeHostNameCallback):
105         (displayCallback):
106         (encodeHostNameCallback):
107         (keepWebHistoryCallback):
108         (notifyDoneCallback):
109         (queueBackNavigationCallback):
110         (queueForwardNavigationCallback):
111         (queueLoadCallback):
112         (queueReloadCallback):
113         (queueScriptCallback):
114         (setAcceptsEditingCallback):
115         (setCustomPolicyDelegateCallback):
116         (setMainFrameIsFirstResponderCallback):
117         (setTabKeyCyclesThroughElementsCallback):
118         (setUseDashboardCompatibilityModeCallback):
119         (setUserStyleSheetEnabledCallback):
120         (setUserStyleSheetLocationCallback):
121         (setWindowIsKeyCallback):
122         (waitUntilDoneCallback):
123         (windowCountCallback):
124         (LayoutTestController::makeWindowObject):
125         (LayoutTestController::getLayoutTestControllerJSClass):
126         (LayoutTestController::staticFunctions):
127         * DumpRenderTree/LayoutTestController.h: Replaced.
128         * DumpRenderTree/LayoutTestController.m: Removed.
129         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
130         (LayoutTestController::dumpAsText):
131         (LayoutTestController::dumpBackForwardList):
132         (LayoutTestController::dumpChildFramesAsText):
133         (LayoutTestController::dumpChildFrameScrollPositions):
134         (LayoutTestController::dumpDOMAsWebArchive):
135         (LayoutTestController::dumpEditingCallbacks):
136         (LayoutTestController::dumpFrameLoadCallbacks):
137         (LayoutTestController::dumpResourceLoadCallbacks):
138         (LayoutTestController::dumpSelectionRect):
139         (LayoutTestController::dumpSourceAsWebArchive):
140         (LayoutTestController::dumpTitleChanges):
141         (LayoutTestController::repaintSweepHorizontally):
142         (LayoutTestController::setCallCloseOnWebViews):
143         (LayoutTestController::setCanOpenWindows):
144         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
145         (LayoutTestController::testRepaint):
146         (LayoutTestController::addFileToPasteboardOnDrag):
147         (LayoutTestController::addDisallowedURL):
148         (LayoutTestController::clearBackForwardList):
149         (LayoutTestController::decodeHostName):
150         (LayoutTestController::encodeHostName):
151         (LayoutTestController::display):
152         (LayoutTestController::keepWebHistory):
153         (LayoutTestController::notifyDone):
154         (LayoutTestController::queueBackNavigation):
155         (LayoutTestController::queueForwardNavigation):
156         (LayoutTestController::queueLoad):
157         (LayoutTestController::queueReload):
158         (LayoutTestController::queueScript):
159         (LayoutTestController::setAcceptsEditing):
160         (LayoutTestController::setCustomPolicyDelegate):
161         (LayoutTestController::setMainFrameIsFirstResponder):
162         (LayoutTestController::setTabKeyCyclesThroughElements):
163         (LayoutTestController::setUseDashboardCompatibilityMode):
164         (LayoutTestController::setUserStyleSheetEnabled):
165         (LayoutTestController::setUserStyleSheetLocation):
166         (LayoutTestController::setWindowIsKey):
167         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
168         (LayoutTestController::waitUntilDone):
169         (LayoutTestController::windowCount):
170         Use the JSCore API to implement the LayoutTestController.
171
172         * DumpRenderTree/ObjCController.h:
173         * DumpRenderTree/ObjCController.m:
174         (+[ObjCController isSelectorExcludedFromWebScript:]):
175         (+[ObjCController webScriptNameForSelector:]):
176         (-[ObjCController accessStoredWebScriptObject]):
177         (-[ObjCController storeWebScriptObject:]):
178         (-[ObjCController dealloc]):
179         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
180         Move WebScriptObject tests to ObjCController.
181
182         * DumpRenderTree/UIDelegate.m: Removed.
183         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
184
185         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
186         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
187         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
188         (WorkQueueItem::~WorkQueueItem):
189         (LoadItem::LoadItem):
190         (LoadItem::url):
191         (LoadItem::target):
192         (ScriptItem::ScriptItem):
193         (ScriptItem::script):
194         * DumpRenderTree/WorkQueueItemMac.mm: Added.
195         (LoadItem::invoke):
196         (ReloadItem::invoke):
197         (ScriptItem::invoke):
198         (BackForwardItem::invoke):
199         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
200         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
201         sharing code.
202
203 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
204
205         Reviewed by Maciej.
206
207         - Updated Win side to take advantage of the platform separating changes.
208
209         * Drosera/DebuggerDocument.cpp:
210         (DebuggerDocument::localScopeVariableNamesForCallFrame):
211         * Drosera/DebuggerDocument.h:
212         * Drosera/win/DebuggerClient.cpp:
213         (DebuggerClient::pause):
214         (DebuggerClient::resume):
215         (DebuggerClient::stepInto):
216         (DebuggerDocument::platformPause):
217         (DebuggerDocument::platformResume):
218         (DebuggerDocument::platformStepInto):
219         (DebuggerDocument::platformEvaluateScript):
220         (DebuggerDocument::getPlatformCurrentFunctionStack):
221         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
222         (DebuggerDocument::platformValueForScopeVariableNamed):
223         (DebuggerDocument::platformLog):
224         * Drosera/win/DebuggerClient.h:
225         * Drosera/win/Drosera.cpp:
226         (Drosera::Drosera):
227         (Drosera::windowScriptObjectAvailable):
228         (Drosera::initWithServerName):
229         (Drosera::switchToServerNamed):
230         * Drosera/win/Drosera.h:
231         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
232
233 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
234
235         Reviewed by Adam.
236
237         - Just doing the moves in a separate patch so the changes are easier to see.
238
239         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
240         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
241         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
242         * Drosera/win/DebuggerDocumentWin.h: Removed.
243         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
244
245 2007-09-11  Sven Herzberg  <sven@imendio.com>
246
247         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
248         http://bugs.webkit.org/show_bug.cgi?id=15176
249
250         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
251         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
252         other paths eg. from jhbuild)
253
254 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
255
256         Reviewed by Adam.
257
258         - Made an order-of-deletion mistake.
259
260         * Drosera/DebuggerDocument.h:
261         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
262         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
263         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
264         * Drosera/mac/DebuggerClient.mm:
265         (DebuggerDocument::platformPause):
266         (DebuggerDocument::platformResume):
267         (DebuggerDocument::platformStepInto):
268         (DebuggerDocument::platformEvaluateScript):
269         (DebuggerDocument::getPlatformCurrentFunctionStack):
270         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
271         (DebuggerDocument::platformValueForScopeVariableNamed):
272         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
273
274 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
275
276         Reviewed by Darin.
277
278         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
279
280         * Drosera/DebuggerDocument.cpp:
281         (DebuggerDocument::DebuggerDocument):
282         * Drosera/DebuggerDocument.h:
283         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
284         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
285         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
286         * Drosera/mac/DebuggerApplication.mm:
287         (-[DebuggerApplication attach:]):
288         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
289         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
290         (DebuggerDocument::platformPause):
291         (DebuggerDocument::platformResume):
292         (DebuggerDocument::platformStepInto):
293         (DebuggerDocument::platformEvaluateScript):
294         (DebuggerDocument::getPlatformCurrentFunctionStack):
295         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
296         (DebuggerDocument::platformValueForScopeVariableNamed):
297         (DebuggerDocument::platformLog):
298         * Drosera/mac/DebuggerDocumentMac.h: Removed.
299         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
300         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
301
302 2007-09-09  Sam Weinig  <sam@webkit.org>
303
304         Reviewed by Mark Rowe.
305
306         Remove 'objC' prefix from methods now in the ObjCController. 
307
308         * DumpRenderTree/ObjCController.m:
309         (+[ObjCController isSelectorExcludedFromWebScript:]):
310         (+[ObjCController webScriptNameForSelector:]):
311         (-[ObjCController classNameOf:]):
312         (-[ObjCController objectOfClass:]):
313         (-[ObjCController identityIsEqual::]):
314         (-[ObjCController longLongRoundTrip:]):
315         (-[ObjCController unsignedLongLongRoundTrip:]):
316
317 2007-09-09  Sam Weinig  <sam@webkit.org>
318
319         Reviewed by Oliver.
320
321         Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
322         - Move LayoutTestController into its own file.
323         - Move Objective-C only functions on LayoutTestController into a new controller called the
324           ObjCController. 
325
326         * DumpRenderTree/DumpRenderTree.h:
327         * DumpRenderTree/DumpRenderTree.m:
328         (displayWebView):
329         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
330         * DumpRenderTree/FrameLoadDelegate.m:
331         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
332         * DumpRenderTree/LayoutTestController.h: Added.
333         * DumpRenderTree/LayoutTestController.m: Added.
334         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
335         (+[LayoutTestController webScriptNameForSelector:]):
336         (-[LayoutTestController clearBackForwardList]):
337         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
338         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
339         (-[LayoutTestController setCustomPolicyDelegate:]):
340         (-[LayoutTestController keepWebHistory]):
341         (-[LayoutTestController setCallCloseOnWebViews:]):
342         (-[LayoutTestController setCanOpenWindows]):
343         (-[LayoutTestController waitUntilDone]):
344         (-[LayoutTestController waitUntilDoneWatchdogFired]):
345         (-[LayoutTestController notifyDone]):
346         (-[LayoutTestController dumpAsText]):
347         (-[LayoutTestController addFileToPasteboardOnDrag]):
348         (-[LayoutTestController addDisallowedURL:]):
349         (-[LayoutTestController setUserStyleSheetLocation:]):
350         (-[LayoutTestController setUserStyleSheetEnabled:]):
351         (-[LayoutTestController dumpDOMAsWebArchive]):
352         (-[LayoutTestController dumpSourceAsWebArchive]):
353         (-[LayoutTestController dumpSelectionRect]):
354         (-[LayoutTestController dumpTitleChanges]):
355         (-[LayoutTestController dumpBackForwardList]):
356         (-[LayoutTestController windowCount]):
357         (-[LayoutTestController dumpChildFrameScrollPositions]):
358         (-[LayoutTestController dumpChildFramesAsText]):
359         (-[LayoutTestController dumpEditingCallbacks]):
360         (-[LayoutTestController dumpResourceLoadCallbacks]):
361         (-[LayoutTestController dumpFrameLoadCallbacks]):
362         (-[LayoutTestController setWindowIsKey:]):
363         (-[LayoutTestController setMainFrameIsFirstResponder:]):
364         (-[LayoutTestController display]):
365         (-[LayoutTestController testRepaint]):
366         (-[LayoutTestController repaintSweepHorizontally]):
367         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
368         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
369         (-[LayoutTestController _doLoad:target:]):
370         (-[LayoutTestController _doBackOrForwardNavigation:]):
371         (-[LayoutTestController queueBackNavigation:]):
372         (-[LayoutTestController queueForwardNavigation:]):
373         (-[LayoutTestController queueReload]):
374         (-[LayoutTestController queueScript:]):
375         (-[LayoutTestController queueLoad:target:]):
376         (-[LayoutTestController setAcceptsEditing:]):
377         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
378         (-[LayoutTestController storeWebScriptObject:]):
379         (-[LayoutTestController accessStoredWebScriptObject]):
380         (-[LayoutTestController dealloc]):
381         (-[LayoutTestController decodeHostName:]):
382         (-[LayoutTestController encodeHostName:]):
383         * DumpRenderTree/ObjCController.h: Added.
384         * DumpRenderTree/ObjCController.m: Added.
385         (+[ObjCController isSelectorExcludedFromWebScript:]):
386         (+[ObjCController webScriptNameForSelector:]):
387         (-[ObjCController objCClassNameOf:]):
388         (-[ObjCController objCObjectOfClass:]):
389         (-[ObjCController objCIdentityIsEqual::]):
390         (-[ObjCController objCLongLongRoundTrip:]):
391         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
392         (-[ObjCController testWrapperRoundTripping:]):
393
394 2007-09-07  Sam Weinig  <sam@webkit.org>
395
396         Reviewed by Alice.
397
398         Strip trailing and leading space/newline characters from skiplist file names.
399
400         * Scripts/run-webkit-tests:
401
402 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
403
404         Reviewed by Maciej.
405
406         - Changed Drosera to take advantage of the JSRetainPtr changes.
407
408         * Drosera/DebuggerDocument.cpp:
409         (DebuggerDocument::breakpointEditorHTML):
410         (DebuggerDocument::evaluateScript):
411         (DebuggerDocument::valueForScopeVariableNamed):
412         (DebuggerDocument::log):
413         (DebuggerDocument::windowScriptObjectAvailable):
414         (DebuggerDocument::toJSArray):
415         (DebuggerDocument::callFunctionOnObject):
416         (DebuggerDocument::logException):
417         * Drosera/mac/DebuggerDocumentMac.mm:
418         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
419         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
420         (DebuggerDocument::platformEvaluateScript):
421         (DebuggerDocument::getPlatformCurrentFunctionStack):
422         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
423         (DebuggerDocument::platformValueForScopeVariableNamed):
424
425 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
426
427         Reviewed by Adam, Sam, Darin.
428
429         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
430
431         * Drosera/Debugger.h: Added.
432         * Drosera/DebuggerDocument.cpp:
433         (DebuggerDocument::breakpointEditorHTMLCallback):
434         (DebuggerDocument::isPausedCallback):
435         (DebuggerDocument::pauseCallback):
436         (DebuggerDocument::resumeCallback):
437         (DebuggerDocument::stepIntoCallback):
438         (DebuggerDocument::evaluateScriptCallback):
439         (DebuggerDocument::currentFunctionStackCallback):
440         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
441         (DebuggerDocument::valueForScopeVariableNamedCallback):
442         (DebuggerDocument::logCallback):
443         (DebuggerDocument::breakpointEditorHTML):
444         (DebuggerDocument::isPaused):
445         (DebuggerDocument::pause):
446         (DebuggerDocument::resume):
447         (DebuggerDocument::stepInto):
448         (DebuggerDocument::evaluateScript):
449         (DebuggerDocument::currentFunctionStack):
450         (DebuggerDocument::localScopeVariableNamesForCallFrame):
451         (DebuggerDocument::valueForScopeVariableNamed):
452         (DebuggerDocument::log):
453         (DebuggerDocument::toolbarPause):
454         (DebuggerDocument::toolbarResume):
455         (DebuggerDocument::toolbarStepInto):
456         (DebuggerDocument::toolbarStepOver):
457         (DebuggerDocument::toolbarStepOut):
458         (DebuggerDocument::toolbarShowConsole):
459         (DebuggerDocument::toolbarCloseCurrentFile):
460         (DebuggerDocument::updateFileSource):
461         (DebuggerDocument::didParseScript):
462         (DebuggerDocument::willExecuteStatement):
463         (DebuggerDocument::didEnterCallFrame):
464         (DebuggerDocument::willLeaveCallFrame):
465         (DebuggerDocument::exceptionWasRaised):
466         (DebuggerDocument::windowScriptObjectAvailable):
467         (DebuggerDocument::toJSArray):
468         (DebuggerDocument::callGlobalFunction):
469         (DebuggerDocument::callFunctionOnObject):
470         (DebuggerDocument::getDroseraJSClass):
471         (DebuggerDocument::staticFunctions):
472         (DebuggerDocument::logException):
473         * Drosera/DebuggerDocument.h:
474         (DebuggerDocument::DebuggerDocument):
475         * Drosera/ForwardingHeaders: Added.
476         * Drosera/ForwardingHeaders/wtf: Added.
477         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
478         * Drosera/config.h:
479         * Drosera/console.html:
480         * Drosera/console.js:
481         * Drosera/debugger.js:
482         * Drosera/mac/DebuggerApplication.mm:
483         (-[DebuggerApplication attach:]):
484         * Drosera/mac/DebuggerDocumentMac.h:
485         * Drosera/mac/DebuggerDocumentMac.mm:
486         (+[NSString stringOrNilFromWebScriptResult:]):
487         (+[DebuggerClientMac log:]):
488         (-[DebuggerClientMac initWithServerName:]):
489         (-[DebuggerClientMac dealloc]):
490         (-[DebuggerClientMac pause]):
491         (-[DebuggerClientMac resume]):
492         (-[DebuggerClientMac pause:]):
493         (-[DebuggerClientMac resume:]):
494         (-[DebuggerClientMac stepInto:]):
495         (-[DebuggerClientMac stepOver:]):
496         (-[DebuggerClientMac stepOut:]):
497         (-[DebuggerClientMac showConsole:]):
498         (-[DebuggerClientMac closeCurrentFile:]):
499         (-[DebuggerClientMac validateUserInterfaceItem:]):
500         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
501         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
502         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
503         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
504         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
505         (DebuggerDocument::platformPause):
506         (DebuggerDocument::platformResume):
507         (DebuggerDocument::platformStepInto):
508         (DebuggerDocument::platformEvaluateScript):
509         (DebuggerDocument::platformCurrentFunctionStack):
510         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
511         (DebuggerDocument::platformValueForScopeVariableNamed):
512         (DebuggerDocument::platformLog):
513         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
514
515 2007-09-06  Sam Weinig  <sam@webkit.org>
516
517         Reviewed by Adam Roben.
518
519         Register the WebKit DLL on initialization of the DumpRenderTree.
520
521         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
522         (initialize):
523
524 2007-09-05  Sam Weinig  <sam@webkit.org>
525
526         Reviewed by Oliver.
527
528         Fix many layout test failures caused by r25364.
529         Set text size to standand size at the begining of each test matching the mac.
530
531         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
532         (runTest):
533
534 2007-09-04  Sam Weinig  <sam@webkit.org>
535
536         Reviewed by Adam.
537
538         Fix for <rdar://problem/5382277>
539         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
540
541         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
542         (textZoomInCallback):
543         (textZoomOutCallback):
544
545 2007-08-29  David Kilzer  <ddkilzer@apple.com>
546
547         Reviewed by Adam.
548
549         Added case-insensitivity to checks for adding regression tests.
550
551         * Scripts/prepare-ChangeLog:
552         (generateFileList):
553
554 2007-08-28  David Kilzer  <ddkilzer@apple.com>
555
556         Reviewed by Maciej.
557
558         Ignore files in /resources/ subdirectories when creating a list of added tests.
559
560         * Scripts/prepare-ChangeLog:
561         (generateFileList):
562
563 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
564
565         Reviewed by John.
566
567         - Removed Leopard leaks list since all of those radars were fixed.
568
569         * Scripts/run-webkit-tests:
570
571 2007-08-27  Adam Roben  <aroben@apple.com>
572
573         Rubberstamped by Mark.
574
575         * Scripts/pdevenv: Pass arguments along to devenv.com.
576
577 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
578
579         Reviewed by Mark Rowe.
580
581         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
582
583         * Scripts/prepare-ChangeLog:
584         (changeLogDate): Added.
585
586 2007-08-24  Sam Weinig  <sam@webkit.org>
587
588         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
589
590 2007-08-24  Sam Weinig  <sam@webkit.org>
591
592         Rubber-stamped by Adam Roben.
593
594         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
595
596         Rename COM DOM bindings to use Deprecated prefix.
597
598         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
599         (dumpFramesAsText):
600         (dump):
601         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
602         (dumpPath):
603         (dump):
604         (EditingDelegate::shouldBeginEditingInDOMRange):
605         (EditingDelegate::shouldEndEditingInDOMRange):
606         (EditingDelegate::shouldInsertNode):
607         (EditingDelegate::shouldInsertText):
608         (EditingDelegate::shouldDeleteDOMRange):
609         (EditingDelegate::shouldChangeSelectedDOMRange):
610         (EditingDelegate::shouldApplyStyle):
611         (EditingDelegate::shouldChangeTypingStyle):
612         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
613
614 2007-08-24  Oliver Hunt  <oliver@apple.com>
615
616         Reviewed by John H.
617
618         WebDataSource::response can legitimately have a null response, so we
619         must check that case.
620
621         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
622         (queueLoadCallback):
623
624 2007-08-23  Mitz Pettel  <mitz@webkit.org>
625
626         Reviewed by Darin and Adam.
627
628         - DumpRenderTree changes to allow testing for
629           http://bugs.webkit.org/show_bug.cgi?id=11756
630           REGRESSION: link targeting a frame in another window does not work
631           <rdar://problem/5286420>
632
633         Use a frame group name for all WebViews created by DumpRenderTree to
634         allow testing of cross-page frame lookup.
635
636         * DumpRenderTree/DumpRenderTree.m:
637         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
638         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
639         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
640
641 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
642
643         Reviewed by Adam.
644
645         Quote the $sslCertificate path in case it contains a space.
646
647         * Scripts/run-webkit-httpd:
648         * Scripts/run-webkit-tests:
649
650 2007-08-22  Oliver Hunt  <oliver@apple.com>
651
652         Reviewed by John and Adam.
653         
654         WebDataSource::response can legitimately have a null response, so we
655         must check that case.
656
657         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
658         (dump):
659
660 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
661
662         Reviewed by Geof.
663
664         - Changing the usage to be more clear.
665
666         * Scripts/run-testkjs:
667
668 2007-08-20  John Sullivan  <sullivan@apple.com>
669
670         Reviewed by Adam Roben
671
672         * DumpRenderTree/DumpRenderTree.m:
673         (runTest):
674         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
675         in layout tests on Tiger and Leopard
676
677 2007-08-20  Adam Roben  <aroben@apple.com>
678
679         Put LayoutTests after all other ChangeLogs in commit logs
680
681         We use "~" to sort LayoutTests after all the other ChangeLogs because
682         "~" is the last ASCII character (other than "DEL").
683
684         Reviewed by Sam.
685
686         * Scripts/commit-log-editor:
687
688 2007-08-20  Adam Roben  <aroben@apple.com>
689
690         Detect that DRT crashed even if a crash dialog is running
691
692         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
693         process is still running at this point, so run-webkit-tests wouldn't
694         detect that DRT had crashed. We now record the crash in our SIGPIPE
695         handler so that we know if DRT crashed even if the crash dialog is up.
696
697         Reviewed by Sam.
698
699         * Scripts/run-webkit-tests:
700         (sub catch_pipe): Set the crashed bit.
701         (sub openDumpTool): Reset the crashed bit.
702         (sub dumpToolDidCrash): Check the crashed bit.
703
704 2007-08-20  Adam Roben  <aroben@apple.com>
705
706         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
707
708         http://bugs.webkit.org/show_bug.cgi?id=15026
709
710         Reviewed by David Kilzer and Darin Adler.
711
712         * Scripts/prepare-ChangeLog:
713         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
714         (sub isAddedStatus): Ditto.
715         (sub testListForChangeLog): Added.
716
717 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
718
719         Reviewed by Mark.
720
721         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
722
723         * Scripts/webkitdirs.pm:
724         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
725
726 2007-08-17  Darin Adler  <darin@apple.com>
727
728         Reviewed by Oliver Hunt.
729
730         - don't look for Apple-style localizable strings in the GTK version of WebKit
731
732         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
733         name of subdirectories to skip.
734         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
735         to skip.
736
737 2007-08-17  Anders Carlsson  <andersca@apple.com>
738
739         Build fix.
740         
741         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
742         (NPP_SetWindow):
743
744 2007-08-17  Anders Carlsson  <andersca@apple.com>
745
746         Reviewed by Dave Hyatt.
747
748         <rdar://problem/5379040>
749         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
750
751         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
752         
753         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
754         (pluginAllocate):
755         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
756         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
757         (NPP_New):
758         (NPP_SetWindow):
759
760 2007-08-16  Alice Liu  <alice.liu@apple.com>
761
762         Reviewed by Maciej.
763
764         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
765
766         * DumpRenderTree/DumpRenderTree.m:
767         (createWebView):
768         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
769         (dumpRenderTree):
770         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow. 
771
772 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
773
774         Reviewed by Adam.
775
776         - Added tests for regressions in other components.  In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
777
778         * Scripts/run-webkit-tests:
779
780 2007-08-15  Timothy Hatcher  <timothy@apple.com>
781
782         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
783         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
784
785         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
786         this prevents making "build" directories in each project folder.
787
788         * Scripts/webkitdirs.pm:
789
790 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
791
792         Reviewed by Kevin Mccullough.
793         
794         Removed special case that didn't belong. (It would allow a global 
795         initializer to sneak into production builds, which would cause a 
796         system-wide performance regression on Mac OS X.)
797
798         * Scripts/check-for-global-initializers:
799
800 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
801
802         Reviewed by Tim.
803         
804         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
805
806         * DumpRenderTree/EditingDelegate.m:
807         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
808         only for elements with the class needsDeletionUI.
809
810 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
811
812         Reviewed by Darin.
813
814         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
815           svn-create-patch uses deprecated tail switch
816
817         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
818
819 2007-08-13  Sam Weinig  <sam@webkit.org>
820
821         Reviewed by Adam Roben.
822
823         Use the cygwin specific Apache config file under cygwin.
824
825         * Scripts/run-webkit-httpd:
826
827 2007-08-12  Adam Roben  <aroben@apple.com>
828
829         Generate results for new tests in a more logical location
830
831         New platform-specific tests always have their results generated right
832         next to the test. New cross-platform tests will have their results
833         generated a) in the cross-platform directory, if they are text-only,
834         or b) in the least-specific platform directory, if they are render
835         tree dumps.
836
837         Reviewed by Lars.
838
839         * Scripts/run-webkit-tests:
840
841 2007-08-12  Adam Roben  <aroben@apple.com>
842
843         Print the actual directory where new results are generated.
844
845         Before, we were printing an unpredictable, context-specific substring
846         of the directory.
847
848         Reviewed by Lars.
849
850         * Scripts/run-webkit-tests:
851
852 2007-08-12  Adam Roben  <aroben@apple.com>
853
854         Factor some common code into a stripExtension() subroutine.
855
856         Reviewed by Lars.
857
858         * Scripts/run-webkit-tests: Also removed some debugging output.
859
860 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
861
862         Reviewed over and over and over by Adam Roben.
863
864         Bug 14740: Hierarchical layout tests and platform organization
865         http://bugs.webkit.org/show_bug.cgi?id=14740
866
867         Add support for platform-specific layout tests and results.
868
869         * Scripts/run-webkit-tests:
870
871 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
872
873         Reviewed by Adam.
874
875         Refactored svn-create-path to use a hash-of-hashes data structure to keep
876         track of changed files.  In the top level hash, keys are paths to files and
877         values are 'fileData' hashes with the following keys and values:
878
879         - isBinary: boolean value (set to true for non-text files like images, etc.)
880         - isTestFile: boolean value (set to true if file exists within a known test
881           directory)
882         - modificationType: string equal to one of 'addition', 'additionWithHistory',
883           'modification' or 'deletion'
884         - path: string equal to the path to the file (this may seem redundant, but it
885           is required to use the second-level 'fileData' hash independent of the
886           top-level hash)
887         - sourceFile: [optional] string equal to the path of the original file that was
888           copied or moved
889         - sourceRevision: [optional] string equal to the revision of the original file
890           that was copied or moved
891
892         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
893         that saves the return value in $result, then checks it before printing help.
894         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
895         and eliminated two for() loops.
896         (binarycmp): Added.  Used with sort() to order non-binary files before binary
897         files.
898         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
899         (findMimeType): Added optional second argument that takes a revision number.
900         (generateDiff): Updated to take one fileData argument instead of three ($file,
901         $modificationType, $isBinary).
902         (generateFileList): Updated to take one hash ref argument (%diffFiles)
903         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
904         %diffFiles using paths for keys and fileData hashes for values.
905         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
906         argument.
907         (pathcmp): Updated to take two fileData arguments instead of two strings.
908         (testfilecmp): Added.  Used with sort() to order non-test files before test
909         files.
910
911 2007-08-11  Darin Adler  <darin@apple.com>
912
913         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
914
915 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
916
917         Reviewed by David Kilzer.
918
919         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
920         http://bugs.webkit.org/show_bug.cgi?id=14745
921
922         * Scripts/run-launcher:
923         Scrub the "--gdk" out of the command line args, if given, so that
924         GdkLauncher doesn't try to interpret it as a URL.
925
926 2007-08-03  Adam Roben  <aroben@apple.com>
927
928         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
929
930         Reviewed by Sam.
931
932         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
933
934 2007-08-03  Sam Weinig  <sam@webkit.org>
935
936         Reviewed by Darin.
937
938         Recursively dump all frames as text using new
939         layoutTestController.dumpChildFramesAsText() function.
940
941         * DumpRenderTree/DumpRenderTree.m:
942         (dumpFramesAsText):
943         (dump):
944         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
945         (-[LayoutTestController dumpChildFramesAsText]):
946         (runTest):
947         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
948         (dumpFramesAsText):
949         (dump):
950         (runTest):
951         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
952         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
953         (dumpChildFramesAsTextCallback):
954         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
955
956 2007-08-02  Adam Roben  <aroben@apple.com>
957
958         Fix fast/dom/Window/alert-undefined.html
959
960         Reviewed by Sam.
961
962         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
963         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
964         Windows translate a null BSTR into "(null)"
965
966 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
967
968         Reviewed by Tim. 
969
970         - It would help if I actually called the right function.
971
972         * Drosera/DebuggerDocument.cpp:
973         (DebuggerDocument::showConsole):
974
975 2007-08-02  Adam Roben  <aroben@apple.com>
976
977         Don't delete the stderr file right after creating it
978
979         Reviewed by NOBODY.
980
981         * Scripts/run-webkit-tests:
982
983 2007-08-01  Adam Roben  <aroben@apple.com>
984
985         When DRT crashes, record stderr and restart DRT
986
987         This prevents a DRT crash from causing the next few hundred tests to
988         "fail" because DRT is no longer running. 
989
990         I also changed the terminology that run-webkit-tests uses in its
991         output a bit, so that crashing tests are referred to as "crashes"
992         instead of "failures".
993
994         Reviewed by Mark.
995
996         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
997         failure.
998         (sub openDumpTool): Use open3 so that we can access stderr.
999         (sub dumpToolCrashed): Added.
1000         (sub printFailureMessageForTest): Added.
1001         (sub htmlForExpectedAndActualResults): Added.
1002         (sub deleteExpectedAndActualResults): Added.
1003         (sub recordActualResultsAndDiff): Added.
1004
1005 2007-07-30  Darin Adler  <darin@apple.com>
1006
1007         Reviewed by Tim Hatcher.
1008
1009         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
1010         characters. This turned out not to be needed for the test case that motivated me to
1011         do it, but it's nice to have this for the future.
1012
1013 2007-07-30  Simon Hausmann  <hausmann@kde.org>
1014
1015         Reviewed by Lars.
1016
1017         Link QtLauncher into $$OUTPUT_DIR/bin
1018
1019         * Scripts/run-launcher:
1020
1021 2007-07-27  David Kilzer  <ddkilzer@apple.com>
1022
1023         Reviewed by Geoff and Darin.
1024
1025         Use a subroutine for validating the --skipped switch.
1026
1027         * Scripts/run-webkit-tests:
1028
1029 2007-07-27  Darin Adler  <darin@apple.com>
1030
1031         Reviewed by Sam.
1032
1033         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
1034
1035 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
1036
1037         Reviewed by Mark.
1038
1039         Correct the path of GdkLauncher and make checkFrameworks work on OSX
1040         when building the Qt or Gtk+ port.
1041
1042         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
1043         * Scripts/run-launcher:
1044         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
1045
1046 2007-07-27  Simon Hausmann  <hausmann@kde.org>
1047
1048         Done with and reviewed by Lars and Zack.
1049
1050         Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
1051
1052         * Scripts/webkitdirs.pm:
1053
1054 2007-07-27  Simon Hausmann  <hausmann@kde.org>
1055
1056         Done with and reviewed by Lars and Zack.
1057
1058         For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
1059
1060         * Scripts/webkitdirs.pm:
1061
1062 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
1063
1064         Reviewed by Darin, Geoff, Sam.
1065
1066         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
1067
1068         - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
1069
1070         * DumpRenderTree/UIDelegate.h:
1071         * DumpRenderTree/UIDelegate.m:
1072         (-[UIDelegate webView:setFrame:]):
1073         (-[UIDelegate webViewFrame:]):
1074
1075 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
1076
1077         Reviewed by Adam.
1078
1079         - Lars wanted this check for Qt but it breaks platform specific layout tests.
1080
1081         * Scripts/run-webkit-tests:
1082
1083 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
1084
1085         Reviewed by Tim, Darin, Oliver.
1086
1087         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
1088         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
1089
1090         * ChangeLog:
1091         * DumpRenderTree/DumpRenderTree.m:
1092         (createWebView):
1093         (dumpRenderTree):
1094         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1095         (+[LayoutTestController webScriptNameForSelector:]):
1096         (-[LayoutTestController setCustomPolicyDelegate:]):
1097         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1098         * DumpRenderTree/FrameLoadDelegate.h:
1099         * DumpRenderTree/PolicyDelegate.h: Added.
1100         * DumpRenderTree/PolicyDelegate.m: Added.
1101         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1102         * DumpRenderTree/ResourceLoadDelegate.h:
1103
1104 2007-07-25  Adam Treat  <treat@kde.org>
1105
1106         Reviewed by Niko.
1107
1108         Fix build for some reported systems.
1109
1110         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1111
1112 2007-07-23  Adam Treat  <treat@kde.org>
1113
1114         Reviewed by Nikolas.
1115
1116         Fix qt DRT to suppress js popup alerts and log instead.
1117
1118         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1119         (WebCore::WebPage::javaScriptAlert):
1120
1121 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
1122
1123         Reviewed by Adam.
1124
1125         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
1126         honor --qmakearg for the Gdk/Gtk build as well.
1127
1128         * GdkLauncher/main.cpp: Switch to the new API
1129         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
1130
1131 2007-07-22  Darin Adler  <darin@apple.com>
1132
1133         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
1134         Fix a leak by releasing the array used here.
1135
1136 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
1137
1138         Reviewed by Darin.
1139
1140         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
1141           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
1142
1143         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
1144         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
1145
1146         * Scripts/update-iexploder-cssproperties: Added.
1147         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
1148         Added new CSS3 property section and Moved box-sizing property to it.
1149
1150 2007-07-22  Oliver Hunt  <oliver@apple.com>
1151
1152         Reviewed by Darin.
1153
1154         http://bugs.webkit.org/show_bug.cgi?id=14710
1155
1156         Add preliminary support for testing Input Method/WebKit behaviour and interaction 
1157         in DRT.  This provides the NSTextInput API which is most of what should be necessary
1158         to mimic the event sequences Input Methods trigger.
1159
1160         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1161         * DumpRenderTree/TextInputController.h:
1162         * DumpRenderTree/TextInputController.m:
1163         (-[WebHTMLView interpretKeyEvents:]):
1164         (+[TextInputController isSelectorExcludedFromWebScript:]):
1165         (+[TextInputController webScriptNameForSelector:]):
1166         (-[TextInputController initWithWebView:]):
1167         (-[TextInputController dealloc]):
1168         (-[TextInputController textInput]):
1169         (-[TextInputController setInputMethodHandler:]):
1170         (-[TextInputController interpretKeyEvents:withSender:]):
1171
1172 2007-07-20  Adam Roben  <aroben@apple.com>
1173
1174         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
1175         message not count as an existing log.
1176
1177 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
1178
1179         Reviewed by Darin Adler.
1180         
1181         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 
1182         value behavior of stringByEvaluatingJavaScriptFromString
1183
1184         * DumpRenderTree/DumpRenderTree.m:
1185         (testStringByEvaluatingJavaScriptFromString):
1186         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1187
1188 2007-07-19  Adam Roben  <aroben@apple.com>
1189
1190         Make commit-log-editor work with git
1191
1192         Reviewed by Sam.
1193
1194         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
1195         commit message template. Also removed the unused $breakPoint variable.
1196
1197 2007-07-19  Adam Roben  <aroben@apple.com>
1198
1199         Move generally-useful VCS code into a new VCSUtils.pm module
1200
1201         This is in preparation for making commit-log-editor git-friendly.
1202
1203         Reviewed by Sam.
1204
1205         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
1206         * Scripts/prepare-ChangeLog: Use VCSUtils.
1207
1208 2007-07-19  Lars Knoll <lars@trolltech.com>
1209
1210         Fix a crash on exit when running DRT against a current
1211         Qt 4.4 snapshot.
1212
1213         Reviewed by Zack
1214
1215         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1216         (main):
1217
1218 2007-07-18  Adam Roben  <aroben@apple.com>
1219
1220         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
1221
1222         Reviewed by Mark.
1223
1224         * Scripts/run-webkit-httpd:
1225         * Scripts/run-webkit-tests:
1226
1227 2007-07-18  Adam Roben  <aroben@apple.com>
1228
1229         More git friendliness for prepare-ChangeLog
1230
1231         The overall change is to remove the use of git-status and replace it
1232         with git-diff --name-status (which we were already using in the
1233         --git-commit case).
1234
1235         This lets us respect directories specified on the command line when
1236         using git, just as we do for Subversion. It also speeds things up a
1237         bit, especially in the subdirectory case, as git-status is pretty slow.
1238
1239         I also fixed some issues where we wouldn't detect copied files and
1240         would reverse the new filename and the original filename for renamed files.
1241
1242         Reviewed by Mark.
1243
1244         * Scripts/prepare-ChangeLog:
1245         (sub diffFromToString): Added.
1246         (sub diffCommand): Don't append the paths in the --git-commit case, as
1247         we should be operating on the entire commit.
1248         (sub statusCommand): Always use git-diff --name-status, and added an
1249         extra -C option to git-diff to make it find a few more copied files.
1250         (sub createPatchCommand): Collapsed the two git cases a bit, and added
1251         the extra -C option as above.
1252         (sub generateFileList): Remove the git-status codepath, and recognize
1253         file copies in the --name-status output.
1254         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
1255         dictionary.
1256         (sub isConflictStatus): Updated the git dictionary.
1257         (sub statusDescription): Updated the git dictionary.
1258
1259 2007-07-18  Timothy Hatcher  <timothy@apple.com>
1260
1261         * Scripts/build-drosera: Update where we look for the Xcode project.
1262
1263 2007-07-18  Adam Treat <treat@kde.org>
1264
1265         Reviewed by bdash.
1266
1267         Use the old wording for Safari.
1268
1269         * Scripts/build-webkit:
1270         * Scripts/webkitdirs.pm:
1271
1272 2007-07-18  Adam Treat <treat@kde.org>
1273
1274         Reviewed by bdash.
1275
1276         Add convenience script for launching test apps for Qt and Gdk ports.
1277         Change the build-webkit script accordingly.
1278
1279         * Scripts/build-webkit:
1280         * Scripts/run-launcher: Added.
1281         * Scripts/webkitdirs.pm:
1282
1283 2007-07-18  Timothy Hatcher  <timothy@apple.com>
1284
1285         Reviewed by Adam.
1286
1287         Make the Page with the now required InspectorClient.
1288
1289         * GdkLauncher/main.cpp:
1290         (main):
1291
1292 2007-07-18  Timothy Hatcher  <timothy@apple.com>
1293
1294         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
1295         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
1296
1297         * Drosera/Makefile: Added.
1298         * Drosera/mac/Makefile:
1299         * DumpRenderTree/Makefile:
1300         * Makefile:
1301         * Makefile.Drosera: Removed.
1302         * Makefile.shared: Removed.
1303
1304 2007-07-18  Timothy Hatcher  <timothy@apple.com>
1305
1306         The console log was 20px down from the top for no reason, move it up.
1307
1308         * Drosera/console.css:
1309
1310 2007-07-18  Timothy Hatcher  <timothy@apple.com>
1311
1312         Use contentDocument to get the source view's iframe document.
1313         Also adds a null/undefined check for localVariableNames.
1314
1315         * Drosera/debugger.js:
1316
1317 2007-07-18  Lars Knoll <lars@trolltech.com>
1318
1319         We really don't want to compare non text only tests to the 
1320         Mac results if we don't have a result for Qt, as this would
1321         give a failure and not a notification that the test is new.
1322
1323         Reviewed by Zack
1324
1325         * Scripts/run-webkit-tests:
1326
1327 2007-07-18  Lars Knoll <lars@trolltech.com>
1328
1329         Reviewed by Zack & Simon
1330
1331         Adjust to changed API in QWebFrame
1332
1333         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1334         (WebCore::DumpRenderTree::DumpRenderTree):
1335
1336 2007-07-18  Mark Rowe  <mrowe@apple.com>
1337
1338         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
1339
1340         * BuildSlaveSupport/build-launcher-app:
1341
1342 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
1343
1344         Reviewed by Antti Koivisto.
1345         
1346         Added watchdog timer to waitUntilDone to prevent a run-away test from
1347         hanging the test harness.
1348
1349         * DumpRenderTree/DumpRenderTree.m:
1350         (dump):
1351         (-[LayoutTestController waitUntilDone]):
1352         (-[LayoutTestController waitUntilDoneWatchdogFired]):
1353         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1354
1355 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
1356
1357         Reviewed by Adam.
1358
1359         - Implemented cross-platform code for functions calling into the JavaScript.
1360
1361         * Drosera/DebuggerDocument.cpp:
1362         (DebuggerDocument::callAsFunction):
1363         (DebuggerDocument::pauseJS):
1364         (DebuggerDocument::resumeJS):
1365         (DebuggerDocument::stepIntoJS):
1366         (DebuggerDocument::stepOverJS):
1367         (DebuggerDocument::stepOutJS):
1368         (DebuggerDocument::showConsoleJS):
1369         (DebuggerDocument::closeCurrentFileJS):
1370         (DebuggerDocument::updateFileSource):
1371         (DebuggerDocument::didParseScript):
1372         (DebuggerDocument::willExecuteStatement):
1373         (DebuggerDocument::didEnterCallFrame):
1374         (DebuggerDocument::willLeaveCallFrame):
1375         (DebuggerDocument::exceptionWasRaised):
1376         * Drosera/DebuggerDocument.h:
1377         * Drosera/mac/DebuggerDocumentMac.mm:
1378         (-[DebuggerDocumentMac pause:]):
1379         (-[DebuggerDocumentMac resume:]):
1380         (-[DebuggerDocumentMac stepInto:]):
1381         (-[DebuggerDocumentMac stepOver:]):
1382         (-[DebuggerDocumentMac stepOut:]):
1383         (-[DebuggerDocumentMac showConsole:]):
1384         (-[DebuggerDocumentMac closeCurrentFile:]):
1385         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
1386         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1387         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1388         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1389         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1390         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1391
1392 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
1393
1394         Reviewed by Darin.
1395
1396         - Continued x-platform modifications.
1397
1398         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
1399         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
1400         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
1401         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
1402         * Drosera/win/Drosera.cpp:
1403         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1404         * Drosera/win/stdafx.cpp: Removed.
1405         * Drosera/win/stdafx.h: Removed.
1406
1407 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
1408
1409         Reviewed by Sam.
1410
1411         - Modified files to use cross-platform code.
1412
1413         * Drosera/DebuggerDocument.cpp: Added.
1414         (DebuggerDocument::breakpointEditorHTML):
1415         (DebuggerDocument::isPaused):
1416         (DebuggerDocument::pause):
1417         (DebuggerDocument::resume):
1418         (DebuggerDocument::stepInto):
1419         (DebuggerDocument::evaluateScript):
1420         (DebuggerDocument::currentFunctionStack):
1421         (DebuggerDocument::localScopeVariableNamesForCallFrame):
1422         (DebuggerDocument::valueForScopeVariableNamed):
1423         * Drosera/DebuggerDocument.h: Added.
1424         (DebuggerDocument::DebuggerDocument):
1425         * Drosera/config.h: Added.
1426         * Drosera/mac/DebuggerApplication.mm:
1427         (-[DebuggerApplication attach:]):
1428         * Drosera/mac/DebuggerDocument.h: Removed.
1429         * Drosera/mac/DebuggerDocument.mm: Removed.
1430         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
1431         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
1432         (-[DebuggerDocumentMac initWithServerName:]):
1433         (-[DebuggerDocumentMac dealloc]):
1434         (-[DebuggerDocumentMac breakpointEditorHTML]):
1435         (-[DebuggerDocumentMac isPaused]):
1436         (-[DebuggerDocumentMac pause]):
1437         (-[DebuggerDocumentMac resume]):
1438         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1439         * Drosera/win/DebuggerApplication.cpp:
1440         * Drosera/win/DebuggerObjectCallbacks.cpp:
1441         (breakpointEditorHTMLCallback):
1442         (currentFunctionStackCallback):
1443         (evaluateScript_inCallFrame_Callback):
1444         (isPausedCallback):
1445         (localScopeVariableNamesForCallFrame_Callback):
1446         (pauseCallback):
1447         (resumeCallback):
1448         (stepIntoCallback):
1449         (valueForScopeVariableNamed_inCallFrame_Callback):
1450         (staticFunctions):
1451         * Drosera/win/Drosera.cpp:
1452         * Drosera/win/DroseraPrefix.cpp: Added.
1453         * Drosera/win/DroseraPrefix.h: Added.
1454
1455 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
1456
1457         Reviewed by Adam, Sam and Tim.
1458
1459         - Moving files to prepare for cross-platform architecture.
1460
1461         * Drosera/DebuggerApplication.h: Removed.
1462         * Drosera/DebuggerApplication.m: Removed.
1463         * Drosera/DebuggerDocument.h: Removed.
1464         * Drosera/DebuggerDocument.m: Removed.
1465         * Drosera/Drosera.pch: Removed.
1466         * Drosera/Drosera.xcodeproj: Removed.
1467         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
1468         * Drosera/Info.plist: Removed.
1469         * Drosera/LauncherInfo.plist: Removed.
1470         * Drosera/Makefile: Removed.
1471         * Drosera/launcher.m: Removed.
1472         * Drosera/mac: Added.
1473         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
1474         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
1475         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
1476         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
1477         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
1478         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
1479         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1480         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
1481         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
1482         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
1483         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
1484         * Drosera/mac/main.m: Copied from Drosera/main.m.
1485         * Drosera/main.m: Removed.
1486         * Makefile:
1487         * Makefile.Drosera: Added.
1488
1489 2007-07-15  Mark Rowe  <mrowe@apple.com>
1490
1491         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
1492
1493 2007-07-13  Sam Weinig  <sam@webkit.org>
1494
1495         Reviewed by Geoff Garen.
1496
1497         Add support for running SSL tests over HTTPS.
1498
1499         * DumpRenderTree/DumpRenderTree.m:
1500         (runTest):
1501         * DumpRenderTree/FrameLoadDelegate.m:
1502         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1503         * Scripts/run-webkit-httpd:
1504         * Scripts/run-webkit-tests:
1505
1506 2007-07-13  David Kilzer  <ddkilzer@apple.com>
1507
1508         Reviewed by Darin.
1509
1510         Added support for -h|--help argument and verify that all command line arguments parse
1511         correctly.
1512
1513         * Scripts/run-webkit-httpd:
1514
1515 2007-07-12  Mark Rowe  <mrowe@apple.com>
1516
1517         Reviewed by Ada.
1518
1519         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
1520
1521         * Scripts/run-webkit-tests:
1522
1523 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
1524
1525         Reviewed by Oliver Hunt.
1526         
1527         Made the leaks tests pass on Leopard.
1528
1529         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
1530         * Scripts/run-leaks: Updated parser for slight change in text output.
1531
1532 2007-07-11  David Kilzer  <ddkilzer@apple.com>
1533
1534         Reviewed by Maciej.
1535
1536         Update the iExploder list of CSS properties after box-sizing was renamed to
1537         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
1538
1539         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
1540         -moz-box-sizing remain.
1541
1542 2007-07-10  Darin Adler  <darin@apple.com>
1543
1544         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
1545         Foundation's multipart/mixed-replace support -- I already verified that
1546         the bug has been fixed.
1547
1548 2007-07-10  Alice Liu  <alice.liu@apple.com>
1549
1550         rubber stamped by Maciej.
1551
1552         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
1553
1554         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1555         (initializePreferences):
1556         set editable link behavior to match Mac DRT. 
1557
1558 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
1559
1560         Reviewed by Tim Hatcher.
1561
1562         Ignore Page.o in debug builds because it now has a static PageCounter
1563         object.
1564
1565         * Scripts/check-for-global-initializers:
1566
1567 2007-07-09  Darin Adler  <darin@apple.com>
1568
1569         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
1570
1571 2007-07-09  Alice Liu  <alice.liu@apple.com>
1572
1573         Reviewed by Adam Roben.
1574
1575         setting DOM Paste Allowed Pref 
1576
1577         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1578         (initializePreferences):
1579
1580 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
1581
1582         Reviewed by Adam, Sam, and Ada.
1583
1584         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
1585
1586         * Drosera/Images/Drosera.ico: Added.
1587         * Drosera/Images/small.ico: Added.
1588         * Drosera/win: Added.
1589         * Drosera/win/BaseDelegate.h: Added.
1590         (BaseDelegate::QueryInterface):
1591         (BaseDelegate::didFinishLoadForFrame):
1592         (BaseDelegate::windowScriptObjectAvailable):
1593         (BaseDelegate::didStartProvisionalLoadForFrame):
1594         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
1595         (BaseDelegate::didFailProvisionalLoadWithError):
1596         (BaseDelegate::didCommitLoadForFrame):
1597         (BaseDelegate::didReceiveTitle):
1598         (BaseDelegate::didReceiveIcon):
1599         (BaseDelegate::didFailLoadWithError):
1600         (BaseDelegate::didChangeLocationWithinPageForFrame):
1601         (BaseDelegate::willPerformClientRedirectToURL):
1602         (BaseDelegate::didCancelClientRedirectForFrame):
1603         (BaseDelegate::willCloseFrame):
1604         (BaseDelegate::createWebViewWithRequest):
1605         (BaseDelegate::webViewShow):
1606         (BaseDelegate::webViewClose):
1607         (BaseDelegate::webViewFocus):
1608         (BaseDelegate::webViewUnfocus):
1609         (BaseDelegate::webViewFirstResponder):
1610         (BaseDelegate::makeFirstResponder):
1611         (BaseDelegate::setStatusText):
1612         (BaseDelegate::webViewStatusText):
1613         (BaseDelegate::webViewAreToolbarsVisible):
1614         (BaseDelegate::setToolbarsVisible):
1615         (BaseDelegate::webViewIsStatusBarVisible):
1616         (BaseDelegate::setStatusBarVisible):
1617         (BaseDelegate::webViewIsResizable):
1618         (BaseDelegate::setResizable):
1619         (BaseDelegate::setFrame):
1620         (BaseDelegate::webViewFrame):
1621         (BaseDelegate::setContentRect):
1622         (BaseDelegate::webViewContentRect):
1623         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
1624         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
1625         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
1626         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
1627         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
1628         (BaseDelegate::mouseDidMoveOverElement):
1629         (BaseDelegate::contextMenuItemsForElement):
1630         (BaseDelegate::validateUserInterfaceItem):
1631         (BaseDelegate::shouldPerformAction):
1632         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
1633         (BaseDelegate::willPerformDragDestinationAction):
1634         (BaseDelegate::dragSourceActionMaskForPoint):
1635         (BaseDelegate::willPerformDragSourceAction):
1636         (BaseDelegate::contextMenuItemSelected):
1637         (BaseDelegate::hasCustomMenuImplementation):
1638         (BaseDelegate::trackCustomPopupMenu):
1639         (BaseDelegate::measureCustomMenuItem):
1640         (BaseDelegate::drawCustomMenuItem):
1641         (BaseDelegate::addCustomMenuDrawingData):
1642         (BaseDelegate::cleanUpCustomMenuDrawingData):
1643         (BaseDelegate::canTakeFocus):
1644         (BaseDelegate::takeFocus):
1645         (BaseDelegate::registerUndoWithTarget):
1646         (BaseDelegate::removeAllActionsWithTarget):
1647         (BaseDelegate::setActionTitle):
1648         (BaseDelegate::undo):
1649         (BaseDelegate::redo):
1650         (BaseDelegate::canUndo):
1651         (BaseDelegate::canRedo):
1652         * Drosera/win/DebuggerApplication.cpp: Added.
1653         (DebuggerApplication::serverLoaded):
1654         (DebuggerApplication::serverUnloaded):
1655         (DebuggerApplication::attach):
1656         (DebuggerApplication::numberOfRowsInTableView):
1657         (DebuggerApplication::tableView):
1658         * Drosera/win/DebuggerApplication.h: Added.
1659         (DebuggerApplication::DebuggerApplication):
1660         (DebuggerApplication::knownServers):
1661         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
1662         (breakpointEditorHTMLCallback):
1663         (currentFunctionStackCallback):
1664         (doubleClickMillisecondsCallback):
1665         (evaluateScript_inCallFrame_Callback):
1666         (isPausedCallback):
1667         (localScopeVariableNamesForCallFrame_Callback):
1668         (pauseCallback):
1669         (resumeCallback):
1670         (stepIntoCallback):
1671         (valueForScopeVariableNamed_inCallFrame_Callback):
1672         (staticFunctions):
1673         * Drosera/win/DebuggerObjectCallbacks.h: Added.
1674         * Drosera/win/Drosera.cpp: Added.
1675         (_tWinMain):
1676         (RegisterDroseraClass):
1677         (DroseraWndProc):
1678         (About):
1679         (Attach):
1680         (Drosera::Drosera):
1681         (Drosera::initUI):
1682         (Drosera::QueryInterface):
1683         (Drosera::AddRef):
1684         (Drosera::Release):
1685         (Drosera::didFinishLoadForFrame):
1686         (getDroseraJSClass):
1687         (Drosera::windowScriptObjectAvailable):
1688         (Drosera::webViewClose):
1689         (Drosera::validateUserInterfaceItem):
1690         (Drosera::runJavaScriptAlertPanelWithMessage):
1691         (Drosera::onSize):
1692         * Drosera/win/Drosera.h: Added.
1693         (Drosera::webViewLoaded):
1694         * Drosera/win/Drosera.vcproj: Added.
1695         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
1696         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
1697         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
1698         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
1699         * Drosera/win/HelperFunctions.h: Added.
1700         (CFStringToBSTR):
1701         * Drosera/win/Info.plist: Added.
1702         * Drosera/win/resource.h: Added.
1703         * Drosera/win/stdafx.cpp: Added.
1704         * Drosera/win/stdafx.h: Added.
1705
1706 2007-07-09  Adam Treat  <adam@staikos.net>
1707
1708         Reviewed by George Staikos.
1709
1710         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
1711         traces of widgets.
1712
1713         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1714         (WebCore::DumpRenderTree::DumpRenderTree):
1715
1716 2007-07-09  Anders Carlsson  <andersca@apple.com>
1717
1718         Reviewed by Oliver.
1719
1720         <rdar://problem/4954319> 
1721         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at 
1722         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
1723         
1724         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream", 
1725         return an error from NPP_NewStream.
1726         
1727         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1728         (pluginAllocate):
1729         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1730         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1731         (NPP_New):
1732         (NPP_NewStream):
1733
1734 2007-07-08  Mark Rowe  <mrowe@apple.com>
1735
1736         Change name from WebKit/Qt to WebKit.
1737
1738         * CodeCoverage/regenerate-coverage-display:
1739
1740 2007-07-08  Rob Buis  <buis@kde.org>
1741
1742         Reviewed by Mitz.
1743
1744         http://bugs.webkit.org/show_bug.cgi?id=14209
1745         DRT should be able to deal with text zoom
1746
1747         Allow increasing/decreasing text zoom using eventSender.
1748
1749         * DumpRenderTree/DumpRenderTree.m:
1750         (runTest):
1751         * DumpRenderTree/EventSendingController.m:
1752         (+[EventSendingController initialize]):
1753         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1754         (-[EventSendingController textZoomIn]):
1755         (-[EventSendingController textZoomOut]):
1756
1757 2007-07-07  Mark Rowe  <mrowe@apple.com>
1758
1759         Reviewed by Oliver.
1760
1761         * DumpRenderTree/DumpRenderTree.m:
1762         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
1763
1764 2007-07-06  Anders Carlsson  <andersca@apple.com>
1765
1766         Reviewed by David Kilzer.
1767
1768         <rdar://problem/5313502>
1769         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
1770
1771         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
1772         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
1773         
1774         * DumpRenderTree/DumpRenderTree.m:
1775         (convertMIMEType):
1776         (convertWebResourceDataToString):
1777         (convertWebResourceResponseToDictionary):
1778         (serializeWebArchiveToXML):
1779
1780 2007-07-06  Timothy Hatcher  <timothy@apple.com>
1781
1782         Reviewed by Oliver.
1783
1784         Initialize the NSMutableAttributedString directly instead of creating
1785         a NSAttributedString first.
1786
1787         * DumpRenderTree/TextInputController.m:
1788         (-[TextInputController attributedStringWithString:]):
1789
1790 2007-07-06  Anders Carlsson  <andersca@apple.com>
1791
1792         Reviewed by David Kilzer.
1793
1794         Replace "Apple Computer" with "Apple" in the DTD declaration.
1795
1796         * DumpRenderTree/DumpRenderTree.m:
1797         (serializeWebArchiveToXML):
1798
1799 2007-07-06  Adam Treat  <adam@staikos.net>
1800
1801         Reviewed by George Staikos.
1802
1803         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
1804
1805         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1806         (WebCore::DumpRenderTree::DumpRenderTree):
1807
1808 2007-07-06  George Staikos  <staikos@kde.org>
1809
1810         Reviewed by Anders.
1811
1812         Allow passing of additional arguments to qmake with --qmakearg=
1813
1814         * Scripts/webkitdirs.pm:
1815
1816 2007-07-05  George Staikos  <staikos@kde.org>
1817
1818         Reviewed by Maciej.
1819
1820         Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
1821         give a path to a specific qmake binary.  Both are optional.
1822
1823         * Scripts/webkitdirs.pm:
1824
1825 2007-07-05  Adam Roben  <aroben@apple.com>
1826
1827         Warn about tests in the Skipped file that succeeded
1828
1829         * Scripts/run-webkit-tests:
1830
1831 2007-07-05  Adam Roben  <aroben@apple.com>
1832
1833         Removed unused install-win-extras script
1834
1835         Rubberstamped by Mark.
1836
1837         * Scripts/install-win-extras: Removed.
1838
1839 2007-07-05  Adam Roben  <aroben@apple.com>
1840
1841         Show the test's extension in the results page
1842
1843         * Scripts/run-webkit-tests:
1844
1845 2007-07-05  Adam Roben  <aroben@apple.com>
1846
1847         Add more options for controlling the interpretation of the Skipped file
1848
1849         Reviewed by Mark.
1850
1851         * Scripts/run-webkit-tests:
1852
1853 2007-07-04  Adam Roben  <aroben@apple.com>
1854
1855         Add --skipped-only option to run-webkit-tests
1856
1857         When this option is specified, only those tests listed in the Skipped
1858         file are run.
1859
1860         Reviewed by Mark.
1861
1862         * Scripts/run-webkit-tests:
1863
1864 2007-07-04  Adam Roben  <aroben@apple.com>
1865
1866         Clean up/alphabetize the run-webkit-tests help message
1867
1868         * Scripts/run-webkit-tests:
1869
1870 2007-07-04  Adam Roben  <aroben@apple.com>
1871
1872         Enable a Leopard-specific Skipped list.
1873
1874         Reviewed by Mark.
1875
1876         * Scripts/run-webkit-tests: Check for Leopard.
1877         * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
1878
1879 2007-07-03  Adam Roben  <aroben@apple.com>
1880
1881         Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
1882
1883         Got rid of extract-webkit-localizable-strings because it was trying to
1884         do update-webkit-localizable-strings' job.
1885
1886         Rubberstamped by Darin.
1887
1888         * Scripts/extract-webkit-localizable-strings: Removed.
1889         * Scripts/update-webkit-localizable-strings: Renamed from
1890         extract-localizable-strings.
1891
1892 2007-07-03  Adam Roben  <aroben@apple.com>
1893
1894         Modify scripts to keep Mac/Windows localized strings in sync
1895
1896         extract-webkit-localizable-strings now handles extracting strings from
1897         both the Mac and Windows WebKit ports and updating their respective
1898         Localizable.strings files. extract-localizable-strings is now really a
1899         piece of plumbing rather than a top-level tool.
1900
1901         Reviewed by Darin and Anders.
1902
1903         * Scripts/extract-localizable-strings: Changed to handle multiple
1904         directories.
1905         * Scripts/extract-webkit-localizable-strings: Added.
1906
1907 2007-07-03  Adele Peterson  <adele@apple.com>
1908
1909         Reviewed by Darin.
1910
1911         Extended DumpRenderTree to test encoding and decoding host names.
1912
1913         * DumpRenderTree/DumpRenderTree.m:
1914         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
1915         (+[LayoutTestController webScriptNameForSelector:]): ditto.
1916         (-[LayoutTestController decodeHostName:]): Added.
1917         (-[LayoutTestController encodeHostName:]): Added.
1918
1919 2007-07-03  Sam Weinig  <sam@webkit.org>
1920
1921         Reviewed by Darin.
1922
1923         Eleventh round of fixes for implicit 64-32 bit conversion errors.
1924         <rdar://problem/5292262>
1925
1926         Add functions to test long long and unsigned long long.
1927
1928         * DumpRenderTree/DumpRenderTree.m:
1929         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1930         (+[LayoutTestController webScriptNameForSelector:]):
1931         (-[LayoutTestController objCLongLongRoundTrip:]):
1932         (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
1933
1934 2007-07-01  Adam Roben  <aroben@apple.com>
1935
1936         Fix some paths to make http tests work again on Windows
1937
1938         Rubberstamped by Sam.
1939
1940         * Scripts/run-webkit-tests:
1941
1942 2007-06-28  Stephanie  <slewis@apple.com>
1943
1944         Reviewed by Adam,
1945
1946         Allow tests to use pre-built roots instead of building the tests.
1947
1948         * Scripts/run-javascriptcore-tests: added --root option
1949         * Scripts/run-webkit-tests: added --root option
1950         * Scripts/webkitdirs.pm: added support for using a root
1951
1952 2007-06-25  Adam Roben  <aroben@apple.com>
1953
1954         Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
1955         http://bugs.webkit.org/show_bug.cgi?id=14405
1956
1957         Reviewed by Anders.
1958
1959         * Scripts/run-webkit-tests:
1960
1961 2007-06-25  Adam Roben  <aroben@apple.com>
1962
1963         Enable running the regression tests on Windows.
1964
1965         These changes were developed alongside the Windows WebKit port and
1966         have been well tested.
1967
1968         Rubberstamped by Sam.
1969
1970         * Scripts/run-webkit-tests:
1971
1972 2007-06-25  Adam Roben  <aroben@apple.com>
1973
1974         Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
1975         http://bugs.webkit.org/show_bug.cgi?id=14403
1976
1977         Reviewed by Mark Rowe.
1978
1979         * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
1980         (sub createPatchCommand): Generate a correct diff in the $gitCommit
1981         case.
1982
1983 2007-06-25  Adam Roben  <aroben@apple.com>
1984
1985         Land pdevenv and supporting scripts/programs
1986
1987         pdevenv is a script that will open an instance of Visual Studio that
1988         can compile multiple files in parallel, similar to make -jN. It uses
1989         the following scripts/programs to accomplish this:
1990
1991         CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
1992
1993         parallelcl: Actually performs the parallel compilation by forking
1994         multiple instances of the Microsoft-supplied cl.exe.
1995
1996         MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
1997         Microsoft-supplied midl.exe. This avoids having to invoke perl for
1998         every invocation of midl.exe, which would be quite slow.
1999
2000         Rubberstamped by Sam.
2001
2002         * CLWrapper/CLWrapper.cpp: Added.
2003         (wmain):
2004         * CLWrapper/CLWrapper.sln: Added.
2005         * CLWrapper/CLWrapper.vcproj: Added.
2006         * MIDLWrapper/MIDLWrapper.cpp: Added.
2007         (wmain):
2008         * MIDLWrapper/MIDLWrapper.sln: Added.
2009         * MIDLWrapper/MIDLWrapper.vcproj: Added.
2010         * Scripts/parallelcl: Added.
2011         * Scripts/pdevenv: Added.
2012         * vcbin/cl.exe: Added.
2013         * vcbin/midl.exe: Added.
2014
2015 2007-06-23  Adam Roben  <aroben@apple.com>
2016
2017         Land num-cpus for the Windows build.
2018
2019         Reviewed by Mark Rowe.
2020
2021         * Scripts/num-cpus: Added.
2022
2023 2007-06-22  Simon Hausmann  <hausmann@kde.org>
2024
2025         Reviewed by Adam Roben.
2026
2027         Added support for populating ChangeLog entries from given git commits
2028         using --git-commit=<commitish> and --git-reviewer=<name>.
2029
2030         * Scripts/prepare-ChangeLog:
2031
2032 2007-06-22  Timothy Hatcher  <timothy@apple.com>
2033
2034         Reviewed by Anders.
2035
2036         <rdar://problem/5228168> Leopard regression test failures: fast/applescript
2037
2038         There were some changes in Leopard that made our test output inconsistent with Tiger.
2039
2040         NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
2041         on Leopard, so output our own readable string for typeType descriptors.
2042
2043         NSArray's description also changed on Leopard to output more whitespace, so
2044         make our own string representation for typeAEList descriptors. This requires
2045         a special case typeUnicodeText too, so the output is a quoted string.
2046
2047         * DumpRenderTree/AppleScriptController.m:
2048         (convertAEDescToObject):
2049
2050 2007-06-21  Anders Carlsson  <andersca@apple.com>
2051
2052         Reviewed by Geoff.
2053
2054         Don't dump didFirstLayout callbacks, they happen intermittently.
2055         
2056         * DumpRenderTree/FrameLoadDelegate.m:
2057
2058 2007-06-21  Lars Knoll  <lars@trolltech.com>
2059
2060         Reviewed by Simon.
2061
2062         look for the Qt library in the installed location
2063
2064         * Scripts/webkitdirs.pm:
2065
2066 2007-06-20  Geoffrey Garen  <ggaren@apple.com>
2067
2068         Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
2069
2070         Added tests for stringByEvaluatingJavaScriptFromString.
2071
2072         * DumpRenderTree/DumpRenderTree.m:
2073         (testStringByEvaluatingJavaScriptFromString):
2074         (dumpRenderTree):
2075
2076 2007-06-19  Andrew Wellington  <proton@wiretapped.net>
2077
2078         Reviewed by Mark Rowe.
2079         
2080         Support applications with spaces or special characters in their names
2081
2082         * Scripts/run-webkit-app:
2083
2084 2007-06-18  Anders Carlsson  <andersca@apple.com>
2085
2086         Reviewed by John Sullivan.
2087
2088         Assert that the frame has a dataSource.
2089         
2090         * DumpRenderTree/FrameLoadDelegate.m:
2091         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2092
2093 2007-06-18  Adam Treat <adam@staikos.net>
2094
2095         Reviewed by George.
2096
2097         Reflect the library name change.
2098
2099         * Scripts/webkitdirs.pm:
2100
2101 2007-06-18  Jake Helfert  <jake@jakeonthenet.com>
2102
2103         Reviewed by Adam.
2104
2105         - fix http://bugs.webkit.org/show_bug.cgi?id=14154
2106           Spinneret doesn't build against the new Win32 port.
2107
2108         * Spinneret/Spinneret/Spinneret.cpp:
2109         (_tWinMain): 
2110             -Changed IWebViewExt to IWebViewPrivate
2111             -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
2112              the WIN32 function RegisterDragDrop which requires the Ole* calls.
2113         * Spinneret/Spinneret/Spinneret.h:
2114         (SpinneretWebHost::didReceiveIcon): Updated method signature.
2115         (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
2116         (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
2117
2118 2007-06-14  Sam Weinig  <sam@webkit.org>
2119
2120         Reviewed by Brady.
2121
2122         Update set of files to download for cygwin to include
2123         diffutils and regenerate the zip file.  This should fix
2124         an issue on vista where svn-create-patch doesn't work.
2125
2126         * CygwinDownloader/cygwin-downloader.py:
2127         * CygwinDownloader/cygwin-downloader.zip:
2128
2129 2007-06-14  Mark Rowe  <mrowe@apple.com>
2130
2131         Update script to match new nightly.webkit.org infrastructure.
2132
2133         * BuildSlaveSupport/build-launcher-dmg:  Upload to the live web server, not the caching proxy.  Let the server know it's a Mac build.
2134
2135 2007-06-12  Adam Roben  <aroben@apple.com>
2136
2137         Land CygwinDownloader.
2138
2139         Rubberstamped by Hyatt.
2140
2141         * CygwinDownloader/cygwin-downloader.py: Added.
2142         * CygwinDownloader/cygwin-downloader.zip: Added.
2143         * CygwinDownloader/make-zip.sh: Added.
2144         * CygwinDownloader/setup.py: Added.
2145
2146 2007-06-06  Vladimir Olexa  <vladimir.olexa@gmail.com>
2147
2148         Reviewed by Mark Rowe.
2149
2150         Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
2151         [Drosera] Items in the file list don't get un-highlighted when 
2152         files are selected from the file drop-down
2153
2154         * Drosera/debugger.js: currentFile was getting modified before file in the file
2155         browser got un-highlighted. Changed the order in which the functions execute. 
2156
2157 2007-06-06  Mark Rowe  <mrowe@apple.com>
2158
2159         Reviewed by Maciej.
2160
2161         http://bugs.webkit.org/show_bug.cgi?id=13988
2162         Bug 13988: Colon in file path crashes WebKit Nightly
2163
2164         The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
2165         the bundled WebKit framework.  Both of these variables are interpreted as containing a
2166         colon-delimited list of paths.  There is no escaping mechanism defined, so if we detect
2167         a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
2168         when we execute Safari.
2169
2170         * WebKitLauncher/main.m:
2171         (main):
2172
2173 2007-06-05  Mark Rowe  <mrowe@apple.com>
2174
2175         Reviewed by Anders.
2176
2177         * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
2178
2179 2007-05-30  Alp Toker  <alp.toker@collabora.co.uk>
2180
2181         Reviewed by Brady.
2182
2183         Enable logging in the Gdk port.
2184         http://bugs.webkit.org/show_bug.cgi?id=13936
2185
2186         * GdkLauncher/main.cpp:
2187         (main):
2188
2189 2007-05-29  Holger Freyther  <zecke@selfish.org>
2190
2191         Reviewed by Anders.
2192
2193         Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
2194         to provide ScrollBars for the FrameView.
2195
2196         * GdkLauncher/main.cpp:
2197         (registerRenderingAreaEvents):
2198         (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
2199         (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
2200         (main):
2201
2202 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
2203
2204         Reviewed by Darin.
2205
2206         - fix http://bugs.webkit.org/show_bug.cgi?id=13901
2207           run-pageloadtest does not obey testName on command-line
2208
2209         * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
2210         otherwise default to "svg".  Added dummy check to make sure $testName.pltsuite
2211         exists.
2212
2213 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
2214
2215         Reviewed by Darin.
2216
2217         - fix http://bugs.webkit.org/show_bug.cgi?id=13900
2218           svnStatus($) subroutine in svn-[un]apply does not work properly with directories
2219
2220         This patch also fixes an instance of the "broken pipe" warning that happened when
2221         a directory contained modified files that were not part of an applied or unapplied
2222         patch.
2223
2224         * Scripts/svn-apply:
2225         (svnStatus($)): If we're trying to get status on a directory (instead of a file),
2226         make sure we actually get the directory's status (if it has one), not the first
2227         file's status reported within the directory.  Fix "broken pipe" warnings by
2228         reading all of the output from the SVN filehandle before closing it.
2229         * Scripts/svn-unapply:
2230         (svnStatus($)): Ditto.
2231
2232 2007-05-28  David Kilzer  <ddkilzer@webkit.org>
2233
2234         Reviewed by Darin.
2235
2236         - fix http://bugs.webkit.org/show_bug.cgi?id=10342
2237           prepare-ChangeLog only shows removed files but not added files when files are moved
2238         - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
2239           prepare-ChangeLog and svn-create-patch don't show replaced files
2240
2241         Switched method used to find list of changed files from "diff" to "status".  This
2242         makes added and replaced files with history appear in the changed file list for svn.
2243         Added check for "+" in output from the svn status command to detect file history, and
2244         handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
2245
2246         * Scripts/prepare-ChangeLog:
2247         (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
2248         (statusCommand(@)): Switched argument from array ref to array.  Necessary to use
2249         the output of "keys $paths" without creating a temporary array variable.
2250         (findOriginalFileFromSvn($)): Added.  Based on findSourceFileAndRevision($)
2251         subroutine in svn-create-patch.
2252         (generateFileList(\@\@\%)): Added.  Extracted from main body of script.  Runs status
2253         command using command-line arguments instead of list of changed files from the diff
2254         command.  Changed svn regex to only accept file statuses that we know how to handle.
2255         Identify original file when an added/replaced status with history is present.
2256         (statusDescription($$)): Handled added/replaced statuses with history.  Added
2257         fall-through return statement.
2258
2259 2007-05-28  Holger Freyther  <zecke@selfish.org>
2260
2261         Reviewed by Mark Rowe.
2262
2263         Add scripts and data to generate a coverage data for WebKit.
2264
2265         * CodeCoverage/README: Added.
2266         * CodeCoverage/amber.png: Added.
2267         * CodeCoverage/cov.py: Added.
2268         * CodeCoverage/emerald.png: Added.
2269         * CodeCoverage/gcov.css: Added.
2270         * CodeCoverage/glass.png: Added.
2271         * CodeCoverage/regenerate-coverage-display: Added.
2272         * CodeCoverage/ruby.png: Added.
2273         * CodeCoverage/run-generate-coverage-data: Added.
2274         * CodeCoverage/snow.png: Added.
2275         * Scripts/build-webkit: Add --coverage by Niko
2276         * Scripts/check-for-global-initializers: Skip the check on coverage builds
2277         * Scripts/generate-coverage-data: Added.
2278         * Scripts/run-javascriptcore-tests: Add --coverage by Niko
2279
2280 2007-05-29  Mark Rowe  <mrowe@apple.com>
2281
2282         Build fix after r21745.
2283
2284         * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
2285
2286 2007-05-25  Anders Carlsson  <andersca@apple.com>
2287
2288         Fix build.
2289
2290         * DumpRenderTree/DumpRenderTree.m:
2291         * DumpRenderTree/FrameLoadDelegate.m:
2292
2293 2007-05-25  Simon Hausmann  <hausmann@kde.org>
2294
2295         Reviewed by Zack.
2296
2297         For the keyDown binding use QStringList instead of QList<QString>. The former is a default
2298         registered metatype. Also print out critical messages in dumprendertree's qt message handler.
2299
2300         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2301         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2302         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2303
2304 2007-05-20  David Kilzer  <ddkilzer@webkit.org>
2305
2306         Reviewed by Adam Roben.
2307
2308         - fix http://bugs.webkit.org/show_bug.cgi?id=13565
2309           Change svn-create-patch to put LayoutTests in the end
2310
2311         In addition to reordering test files under the LayoutTests directory so that they
2312         appear after source code files, this patch fixes an issue with prepare-ChangeLog
2313         if the first argument passed to it is a file name instead of a directory name.
2314
2315         * Scripts/prepare-ChangeLog:
2316         (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
2317         (isSVN()): Ditto.
2318         * Scripts/svn-create-patch:
2319         (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
2320         source code files.
2321
2322 2007-05-18  Mark Rowe  <mrowe@apple.com>
2323
2324         Reviewed by Oliver.
2325
2326         Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
2327
2328         * Scripts/svn-create-patch:
2329         * Scripts/webkitdirs.pm:
2330
2331 2007-05-18  Holger Freyther  <zecke@selfish.org>
2332
2333         Reviewed by Maciej.
2334
2335         * GdkLauncher/main.cpp: Call setGtkWidget
2336         (main):
2337
2338 2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2339
2340         Reviewed by Mark Rowe.
2341
2342         * GdkLauncher/main.cpp:
2343         (main): Call Frame::init to catch up with Maciej's changes.
2344         * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
2345         passed to the helper scripts.
2346
2347 2007-05-16  Brady Eidson  <beidson@apple.com>
2348
2349         Build fix for some dev configurations
2350
2351         * DumpRenderTree/DumpRenderTree.m:
2352
2353 2007-05-16  Maciej Stachowiak  <mjs@apple.com>
2354
2355         Reviewed by Justin.
2356         
2357         - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
2358         
2359         The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
2360         that happen before the load commits.
2361         
2362         Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
2363         optional logging for every FrameLoadDelegate callback, including SPI callbacks.
2364
2365         * DumpRenderTree/DumpRenderTree.h:
2366         * DumpRenderTree/DumpRenderTree.m:
2367         (createWebView):
2368         (dumpRenderTree):
2369         (dump):
2370         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2371         (-[LayoutTestController clearBackForwardList]):
2372         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2373         (-[LayoutTestController dumpFrameLoadCallbacks]):
2374         (-[LayoutTestController setWindowIsKey:]):
2375         (-[LayoutTestController setMainFrameIsFirstResponder:]):
2376         (-[LayoutTestController _doLoad:target:]):
2377         (-[LayoutTestController _doBackOrForwardNavigation:]):
2378         (-[LayoutTestController queueReload]):
2379         (-[LayoutTestController queueScript:]):
2380         (-[LayoutTestController queueLoad:target:]):
2381         (-[LayoutTestController setAcceptsEditing:]):
2382         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2383         (shouldLogFrameLoadDelegates):
2384         (runTest):
2385         (displayWebView):
2386         (+[DumpRenderTreeEvent mouseLocation]):
2387         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2388         * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
2389         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
2390         * DumpRenderTree/EventSendingController.m:
2391         (-[EventSendingController mouseDown]):
2392         (-[EventSendingController mouseUp]):
2393         (-[EventSendingController mouseMoveToX:Y:]):
2394         (-[EventSendingController contextClick]):
2395         * DumpRenderTree/FrameLoadDelegate.h: Added.
2396         * DumpRenderTree/FrameLoadDelegate.m: Added.
2397         (-[WebFrame _drt_descriptionSuitableForTestResult]):
2398         (-[FrameLoadDelegate processWork:]):
2399         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2400         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2401         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2402         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2403         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2404         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2405         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2406         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2407         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2408         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2409         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2410         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2411         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2412         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2413         (-[FrameLoadDelegate webView:willCloseFrame:]):
2414         (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
2415         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2416         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2417         * DumpRenderTree/ResourceLoadDelegate.m:
2418         (-[NSURL _drt_descriptionSuitableForTestResult]):
2419         * DumpRenderTree/UIDelegate.m:
2420         (-[UIDelegate webViewFocus:]):
2421
2422 2007-05-16  Kevin McCullough  <kmccullough@apple.com>
2423
2424         Reviewed by Darin and Geoff.
2425
2426         - rdar://problem/4981886
2427         - Now windows opened by the DOM can be closed by JS.
2428
2429         * DumpRenderTree/DumpRenderTree.m:
2430         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2431         (-[LayoutTestController windowCount]):
2432
2433 2007-05-15  Adam Roben  <aroben@apple.com>
2434
2435         Reviewed by David Kilzer.
2436
2437         http://bugs.webkit.org/show_bug.cgi?id=13732
2438         prepare-ChangeLog should work with git
2439
2440         * Scripts/prepare-ChangeLog: Added support for Git.
2441
2442 2007-05-15  Lars Knoll <lars@trolltech.com>
2443
2444         Reviewed by Zack
2445
2446         Add the EventSender object to DRT. Currently it implements
2447         mouseDown, mouseUp and mouseMoveTo.
2448
2449         Make run-webkit-tests --strict work somewhat better for form elements.
2450
2451         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2452         (WebCore::DumpRenderTree::DumpRenderTree):
2453         (WebCore::DumpRenderTree::initJSObjects):
2454         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2455         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2456         (HackWebFrame::mousePressEvent):
2457         (HackWebFrame::mouseReleaseEvent):
2458         (EventSender::EventSender):
2459         (EventSender::mouseDown):
2460         (EventSender::mouseUp):
2461         (EventSender::mouseMoveTo):
2462         (EventSender::leapForward):
2463         (EventSender::keyDown):
2464         (EventSender::frameUnderMouse):
2465         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2466         * Scripts/run-webkit-tests:
2467
2468 2007-05-12  Oliver Hunt  <oliver@apple.com>
2469
2470         Reviewed by Hyatt.
2471         
2472         Add new api to DRT to allow us to test a file being dragged 
2473         onto <input type="file">
2474
2475         * DumpRenderTree/DumpRenderTree.h:
2476         * DumpRenderTree/DumpRenderTree.m:
2477         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2478         (-[LayoutTestController addFileToPasteboardOnDrag]):
2479         (runTest):
2480         * DumpRenderTree/UIDelegate.m:
2481         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2482
2483 2007-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
2484
2485         Reviewed by Maciej.
2486
2487         Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
2488         http://bugs.webkit.org/show_bug.cgi?id=13656
2489
2490         * GdkLauncher/main.cpp: Handle resizing the drawing area
2491         (frameResizeCallback):
2492         (main):
2493
2494 2007-05-11  Geoffrey Garen  <ggaren@apple.com>
2495
2496         Reviewed by Darin Adler.
2497
2498         Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:] 
2499         is gone.
2500
2501         * DumpRenderTree/DumpRenderTree.m:
2502         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
2503         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2504         (+[LayoutTestController webScriptNameForSelector:]):
2505         (-[LayoutTestController testWrapperRoundTripping:]):
2506
2507 2007-05-08  Maciej Stachowiak  <mjs@apple.com>
2508
2509         Reviewed by Oliver.
2510         
2511         - don't clear events whenever an EventSendingController goes away, only do it at predictable times, 
2512         since destroying a subframe can make one go away
2513         
2514         (Discovered while fixing:
2515         
2516         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
2517         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
2518
2519         * DumpRenderTree/DumpRenderTree.m:
2520         (runTest): explicitly clear saved events after every page load
2521         * DumpRenderTree/EventSendingController.h:
2522         * DumpRenderTree/EventSendingController.m:
2523         (-[EventSendingController dealloc]): don't clear saved events here...
2524         (+[EventSendingController clearSavedEvents]): do it here
2525         * Scripts/check-for-global-initializers:
2526
2527 2007-05-10  Mark Rowe  <mrowe@apple.com>
2528
2529         Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
2530
2531         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2532
2533 2007-05-09  Geoffrey Garen  <ggaren@apple.com>
2534
2535         Reviewed by Maciej Stachowiak.
2536         
2537         Added support for testing ObjC/JS type bridging.
2538         
2539         Added ASSERT that -JSObject returns nil when the underlying JSObject
2540         is no longer GC protected.
2541
2542         * DumpRenderTree/DumpRenderTree.m:
2543         (returnThisCallback):
2544         (returnThisClass):
2545         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
2546         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2547         (+[LayoutTestController webScriptNameForSelector:]):
2548         (-[LayoutTestController accessStoredWebScriptObject]):
2549         (-[LayoutTestController testWrapperRoundTripping]):
2550         (-[LayoutTestController objCClassNameOf:]):
2551         (-[LayoutTestController objCObjectOfClass:]):
2552         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2553
2554 2007-05-10  Lars Knoll <lars@trolltech.com>
2555
2556         Reviewed by Simon
2557
2558         Move setting of the DPI value a few lines up. Should fix
2559         the last two remaining failures in the layout tests.
2560
2561         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2562         (main):
2563
2564 2007-05-09  Holger Freyther <zecke@selfish.org>
2565
2566         Reviewed by Mark Rowe.
2567
2568         * GdkLauncher/main.cpp: Always include config.h.
2569
2570 2007-05-08  Geoffrey Garen  <ggaren@apple.com>
2571
2572         Reviewed by Darin Adler.
2573         
2574         Added support for testing ObjC object identity.
2575         
2576         Added ASSERT to verify that you can round-trip the object passed to you
2577         in -didClearWindowObject:forFrame:.
2578
2579         * DumpRenderTree/DumpRenderTree.m:
2580         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
2581         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2582         (+[LayoutTestController webScriptNameForSelector:]):
2583         (-[LayoutTestController accessStoredWebScriptObject]):
2584         (-[LayoutTestController objCIdentityIsEqual::]):
2585
2586 2007-05-07  Geoffrey Garen  <ggaren@apple.com>
2587
2588         Reviewed by Maciej Stachowiak.
2589         
2590         Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext], 
2591         and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject 
2592         forFrame:(WebFrame *)frame, in the form of ASSERTs.
2593         
2594         * DumpRenderTree/DumpRenderTree.m:
2595         (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
2596         to complain about.
2597
2598         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2599         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
2600         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2601
2602 2007-05-08  Lars Knoll <lars@trolltech.com>
2603
2604         Reviewed by Zack.
2605
2606         Dump JavaScript console messages as well. Also requires a slight
2607         change in run-webkit-tests, so we still correctly differentiate
2608         between text only and rendertree tests.
2609
2610         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2611         (WebCore::WebPage::WebPage):
2612         (WebCore::WebPage::javaScriptConsoleMessage):
2613         (WebCore::DumpRenderTree::DumpRenderTree):
2614         (WebCore::DumpRenderTree::dump):
2615         * Scripts/run-webkit-tests:
2616
2617 2007-05-08  Lars Knoll <lars@trolltech.com>
2618
2619         Reviewed by Zack
2620
2621         Specify what the serif, sans-serif and monospace aliases
2622         should map to and explicitly select the Gui style of
2623         DRT to be plastique.
2624
2625         Fixes most of the test failures still seen on the build bot.
2626
2627         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
2628         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2629         (main):
2630
2631 2007-05-07  Lars Knoll <lars@trolltech.com>
2632
2633         Reviewed by Zack
2634
2635         Fix the default font to 9pt Sans Serif.
2636
2637         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2638         (main):
2639
2640 2007-05-04  Lars Knoll <lars@trolltech.com>
2641
2642         Reviewed by Zack
2643
2644         Revert on line of the last commit. We still want to keep the RPATH
2645         support in the pro file.
2646
2647         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2648
2649 2007-05-04  Lars Knoll <lars@trolltech.com>
2650
2651         Reviewed by Zack
2652
2653         Remove the old bitmap fonts I tried using to get reliable results from
2654         DumpRenderTree on X11. Instead we now use the URW Type1 fonts from 
2655         ghostscript. I've added a mirror to simply check them out at 
2656         svn://labs.trolltech.com/svn/webkit/testfonts.
2657
2658         Fixed DumpRenderTree to make sure these fonts are the only ones we use
2659         on X11 and added a fonts.conf file to get a well defined fontconfig
2660         configuration.
2661
2662         Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
2663         I use to find the fonts to DumpRenderTree.
2664
2665         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2666         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
2667         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
2668         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
2669         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
2670         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
2671         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
2672         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
2673         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
2674         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
2675         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
2676         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
2677         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
2678         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
2679         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
2680         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
2681         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
2682         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2683         (main):
2684         * Scripts/run-webkit-tests:
2685
2686 2007-05-03  Holger Freyther <freyther@kde.org>
2687
2688         Reviewed by Zack, landed by Simon.
2689         This is bugzilla bug 13499.
2690
2691         * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
2692         * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
2693         * Scripts/build-webkit: Add --gdk for the Gdk port
2694         * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
2695
2696 2007-05-03  Geoffrey Garen  <ggaren@apple.com>
2697
2698         Build fix: Add AllInOneFile.o to the ignore list, since it includes files
2699         in the ignore list.
2700         
2701         * Scripts/check-for-global-initializers:
2702
2703 2007-05-02  Holger Freyther <freyther@kde.org>
2704
2705         Reviewed by Mark Rowe.
2706
2707         * Scripts/build-webkit: Remove the CMake call.
2708         * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
2709         buildsystem for the Qt port.
2710
2711 2007-04-27  Kevin McCullough  <kmccullough@apple.com>
2712
2713         - Removed debugging statements and took out the removal of the deletion
2714           of the symlink.  This is because multiple instances of run-webkit-tests
2715           can be running at the same time.
2716         * Scripts/run-webkit-tests:
2717
2718 2007-04-27  Adam Roben <aroben@apple.com>
2719
2720         Reviewed by Maciej.
2721
2722         Cleaned up prepare-ChangeLog
2723         
2724         * Scripts/prepare-ChangeLog: No code changes, but style now matches
2725         the prevalent style of our perl scripts.
2726
2727 2007-04-27  Nazar Kulyk  <schamane@myeburg.net>
2728
2729         Reviewed by Mark Rowe.
2730
2731         Basic auto-correction of user-entered URLs.
2732
2733         * GdkLauncher/main.cpp:
2734         (autocorrectURL):
2735         (goToURLBarText):
2736         (main):
2737
2738 2007-04-28  Mark Rowe  <mrowe@apple.com>
2739
2740         Rubber-stamped by Anders.
2741
2742         Rename some methods and variables to match the style guidelines.
2743
2744         * GdkLauncher/main.cpp:
2745         (stringIsEmpty):
2746         (stringIsEqual):
2747         (goToURLBarText):
2748         (goButtonClickedCallback):
2749         (urlBarEnterCallback):
2750         (frameResizeCallback):
2751         (frameDestroyCallback):
2752         (menuMainBackCallback):
2753         (menuMainForwardCallback):
2754         (menuMainQuitCallback):
2755         (main):
2756
2757 2007-04-27  Holger Freyther <freyther@kde.org>
2758
2759         Reviewed by Maciej.
2760
2761         Remove unmaintained CMake build system.
2762
2763         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
2764         * Scripts/build-webkit: Remove references to CMake.
2765         * Scripts/webkitdirs.pm: Remove references to CMake.
2766
2767 2007-04-26  Alp Toker  <alp@atoker.com>
2768
2769         Reviewed by Mark Rowe.
2770
2771         * GdkLauncher/main.cpp:
2772         (main): Avoid use of deprecated API.
2773
2774 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
2775
2776         - Changed debugging statements for more information.
2777
2778         * Scripts/run-webkit-tests:
2779
2780 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
2781
2782         - Adding debugging statements to see why these tests fail.  These will be removed.
2783
2784         * Scripts/run-webkit-tests:
2785
2786 2007-04-25  Anders Carlsson  <andersca@apple.com>
2787
2788         Reviewed by Mitz.
2789
2790         Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
2791         the dashboard compatibility mode.
2792         
2793         * DumpRenderTree/DumpRenderTree.m:
2794         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2795         (+[LayoutTestController webScriptNameForSelector:]):
2796         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2797         (runTest):
2798         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2799
2800 2007-04-24  Timothy Hatcher  <timothy@apple.com>
2801
2802         Setting the valid architectures to 32-bit only, so these projects
2803         will ignore requests to build them 64-bit. Once they can be built 64-bit,
2804         the valid architectures can be updated.
2805
2806         * Drosera/Drosera.xcodeproj/project.pbxproj:
2807         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2808
2809 2007-04-23  Adam Roben  <aroben@apple.com>
2810
2811         Reviewed by Mark Rowe and David Kilzer.
2812
2813         * Scripts/build-webkit: Print the path to the run-safari script when
2814         finished building so that users can copy-and-paste the command to
2815         execute it.
2816
2817 2007-04-23  Darin Adler  <darin@apple.com>
2818
2819         Reviewed by Hyatt.
2820
2821         - rename box-sizing to -webkit-box-sizing
2822
2823         * Drosera/console.css: Here.
2824         * Drosera/debugger.css: And here.
2825         * Drosera/viewer.css: And here.
2826
2827 2007-04-21  Mitz Pettel  <mitz@webkit.org>
2828
2829         Reviewed by Darin.
2830
2831         - http://bugs.webkit.org/show_bug.cgi?id=13350
2832           Build Ahem into DumpRenderTree
2833
2834         * DumpRenderTree/DumpRenderTree.m:
2835         (activateAhemFont): Added. Activates the copy of Ahem included in the
2836         DumpRenderTree binary.
2837         (dumpRenderTree): Replaced the check that Ahem is available with a call
2838         to activateAhemFont().
2839         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2840           Added linker options to include Ahem in the data section of the
2841           DumpRenderTree binary.
2842
2843 2007-04-20  Adam Roben  <aroben@apple.com>
2844
2845         Reviewed by Darin.
2846
2847         http://bugs.webkit.org/show_bug.cgi?id=13421
2848         Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
2849
2850         * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
2851
2852 2007-04-18  Brady Eidson  <beidson@apple.com>
2853
2854         Reviewed by Tim
2855
2856         <rdar://problem/5008925>
2857         Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
2858
2859         * DumpRenderTree/ResourceLoadDelegate.m:
2860         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 
2861           Add the willCacheResponse delegate call
2862
2863 2007-04-18  Adam Roben  <aroben@apple.com>
2864
2865         Reviewed by David Kilzer.
2866
2867         * Scripts/webkitdirs.pm:
2868         (sub setConfiguration): Added an optional argument to set the
2869         configuration instead of parsing it from ARGV.
2870
2871 2007-04-17  Adam Roben  <aroben@apple.com>
2872
2873         * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
2874         files as well.
2875
2876 2007-04-17  Adam Roben  <aroben@apple.com>
2877
2878         Added a simple shell script to find all the headers from a specified
2879         framework or frameworks that are included by files beneath the working
2880         directory.
2881
2882         * Scripts/find-included-framework-headers: Added.
2883
2884 2007-04-16  Timothy Hatcher  <timothy@apple.com>
2885
2886         * Drosera/debugger.css: hide the borders for iframes
2887
2888 2007-04-13  Adam Roben  <aroben@apple.com>
2889
2890         Rubberstamped by Anders.
2891
2892         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
2893         stdio.h so that snprintf is defined.
2894
2895 2007-04-13  Brady Eidson  <beidson@apple.com>
2896
2897         Reviewed by Anders
2898
2899         Add the ability to dump the back/forward history of all windows open at the end of a test
2900
2901         * DumpRenderTree/DumpRenderTree.m:
2902         (dumpBackForwardListForWebView): Dump B/F list for the given WebView
2903         (dump): Call dumpBackForwardListForWebView for each WebView open after the test
2904
2905 2007-04-13  Anders Carlsson  <andersca@apple.com>
2906
2907         Reviewed by Brady.
2908
2909         By default, close any windows that have been opened during a test. This can be overridden by
2910         calling setCloseRemainingWindowsWhenComplete(false).
2911         
2912         Change the windows set to an array so we can gurantee the enumeration order.
2913         
2914         * DumpRenderTree/DumpRenderTree.m:
2915         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2916         (+[LayoutTestController webScriptNameForSelector:]):
2917         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2918         (runTest):
2919         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2920         (-[DumpRenderTreeWindow dealloc]):
2921
2922 2007-04-13  Geoffrey Garen  <ggaren@apple.com>
2923
2924         Build fix.
2925
2926         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2927         (handleCallback): Explicitly cast the void* returned by malloc.
2928
2929 2007-04-12  Deneb Meketa  <dmeketa@adobe.com>
2930
2931         Reviewed by Darin Adler.
2932
2933         http://bugs.webkit.org/show_bug.cgi?id=13029
2934         rdar://problem/4994849
2935         Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
2936         Changes in WebKitTools are only for the NPAPI test plugin.
2937
2938         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
2939         (pluginInvoke): support null window argument for NPStream creation.
2940         (pluginAllocate): initialization.
2941         (pluginDeallocate): cleanup.
2942         (handleCallback): add second JS callback arg: header dump.
2943         (notifyStream): added; hook from NPP_NewStream to record headers.
2944         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
2945         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
2946         (NPP_NewStream): call new header hook.
2947
2948 2007-04-09  Geoffrey Garen  <ggaren@apple.com>
2949
2950         Reviewed by Maciej Stachowiak.
2951         
2952         Fixed fast/forms/textarea-paste-newline.html.
2953         
2954         This failure was pretty funny. run-webkit-tests kills and respawns
2955         DumpRenderTree once every 1000 runs. Adding a few tests caused 
2956         textarea-paste-newline.html to run right at the beginning of DumpRenderTree's 
2957         lifetime, before any render tree dumps had occurred. However, WebCore 
2958         used a render tree dump as the hook that set a global flag to allow 
2959         pasting through the DOM API, so running before any render tree dumps had 
2960         occurred caused this test to fail.
2961
2962         * DumpRenderTree/DumpRenderTree.m:
2963         (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
2964         API, instead of hoping it will read the tea leaves.
2965
2966 2007-04-07  Mark Rowe  <mrowe@apple.com>
2967
2968         Not reviewed.  Update to match some configuration changes that have been active on build.webkit.org.
2969
2970         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
2971
2972 2007-04-05  Anders Carlsson  <andersca@apple.com>
2973
2974         Reviewed by Adam.
2975
2976         Add support for opening new windows in DumpRenderTree.
2977         
2978         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2979         (+[LayoutTestController webScriptNameForSelector:]):
2980         (-[LayoutTestController setCallCloseOnWebViews:]):
2981         (-[LayoutTestController setCanOpenWindows]):
2982         Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
2983         can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on 
2984         web views that are about to be closed.
2985         
2986         (runTest):
2987         Make sure that only the main window is around when a test has finished running.
2988         
2989         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2990         (-[DumpRenderTreeWindow dealloc]):
2991         Manage the set of windows.
2992         
2993         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2994         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2995         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2996         (NPP_Destroy):
2997         Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
2998         
2999         * DumpRenderTree/UIDelegate.m:
3000         (-[UIDelegate webView:createWebViewWithRequest:]):
3001         Create new windows.
3002         
3003         (-[UIDelegate webViewClose:]):
3004         Close windows.
3005         
3006 2007-04-05  Anders Carlsson  <andersca@apple.com>
3007
3008         Reviewed by Maciej.
3009
3010         Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
3011         windows in DRT.
3012
3013         * DumpRenderTree/DumpRenderTree.m:
3014         (createWebView):
3015         (dumpRenderTree):
3016
3017 2007-04-03  Anders Carlsson  <andersca@apple.com>
3018
3019         Reviewed by Darin.
3020
3021         Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
3022         
3023         * DumpRenderTree/DumpRenderTree.h:
3024         * DumpRenderTree/DumpRenderTree.m:
3025         (dumpRenderTree):
3026         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3027         (+[LayoutTestController webScriptNameForSelector:]):
3028         (-[LayoutTestController addDisallowedURL:]):
3029         (runTest):
3030         * DumpRenderTree/ResourceLoadDelegate.m:
3031         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3032
3033 2007-04-03  Mark Rowe  <mrowe@apple.com>
3034
3035         Reviewed by Antti.
3036
3037         * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
3038
3039 2007-04-02  Anders Carlsson  <andersca@apple.com>
3040
3041         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3042         Don't use #import in a header included by C files.
3043
3044 2007-03-31  Mark Rowe  <mrowe@apple.com>
3045
3046         Reviewed by Mitz.
3047
3048         Fix http://bugs.webkit.org/show_bug.cgi?id=13239
3049         Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
3050
3051         Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
3052         rather than -[WebScriptObject count].
3053
3054         * Drosera/DebuggerDocument.m:
3055         (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
3056
3057 2007-03-30  Anders Carlsson  <andersca@apple.com>
3058
3059         Reviewed by Geoff.
3060
3061         Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
3062         
3063         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3064         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3065         (NPP_New):
3066         Look for the onstreamload attribute.
3067         
3068         (NPP_Destroy):
3069         Free the onstreamload attribute.
3070         
3071         (NPP_NewStream):
3072         Call the onstreamload handler.
3073
3074 2007-03-30  Geoffrey Garen  <ggaren@apple.com>
3075
3076         Removing an assertion I just added because it's crashing the Leopard 
3077         buildbot. The related layout test will still report a failure, so we 
3078         don't really need this assertion.
3079
3080         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3081         (pluginInvoke):
3082
3083 2007-03-30  Anders Carlsson  <andersca@apple.com>
3084
3085         Reviewed by Geoff.
3086
3087         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
3088         (testAllocate):
3089         (testEnumerate):
3090         Add casts.
3091         
3092         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
3093         Don't use #import, use #include.
3094
3095 2007-03-30  Anders Carlsson  <andersca@apple.com>
3096
3097         Reviewed by Alexey.
3098
3099         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3100         (pluginInvoke):
3101         Free the identifier string.
3102
3103 2007-03-30  Anders Carlsson  <andersca@apple.com>
3104
3105         Reviewed by Geoff.
3106
3107         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3108         Add TestObject.c and TestObject.h
3109         
3110         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3111         (pluginGetProperty):
3112         Implement the testObject property.
3113         
3114         (pluginInvoke):
3115         Implement testEnumerate which takes an object and an array and enumerates
3116         the properties of the object and adds them to the array.
3117         
3118         (pluginAllocate):
3119         Allocate the test object.
3120         
3121         (pluginDeallocate):
3122         Free the test object.
3123         
3124         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
3125         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
3126         Add a test object with two enumerable properties.
3127
3128 2007-03-29  Geoffrey Garen  <ggaren@apple.com>
3129
3130         Reviewed by Beth Dakin.
3131         
3132         Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in 
3133         -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] 
3134         navigating away from page with DivX movie plug-in (13203)
3135         
3136         Added hasStream property and destroyStream function, used by layout test.
3137
3138         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3139         (pluginGetProperty):
3140         (pluginInvoke):
3141         (pluginAllocate):
3142         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3143         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3144         (NPP_NewStream):
3145
3146 2007-03-27  Anders Carlsson  <acarlsson@apple.com>
3147
3148         Reviewed by Geoff.
3149
3150         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3151         (pluginInvoke):
3152         Add new function which takes a function and calls it using NPN_InvokeDefault.
3153
3154 2007-03-27  Adele Peterson  <adele@apple.com>
3155
3156         Adding comment.
3157
3158         * DumpRenderTree/DumpRenderTree.m:
3159         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
3160
3161 2007-03-27  Adele Peterson  <adele@apple.com>
3162
3163         Fix svg tests by calling displayIfNeeded.
3164
3165         * DumpRenderTree/DumpRenderTree.m:
3166         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
3167
3168 2007-03-26  Mark Rowe  <mrowe@apple.com>
3169
3170         Reviewed by Sam Weinig.
3171
3172         Upload crash logs from DumpRenderTree as part of the test results to ease debugging
3173         of hard-to-reproduce crashes.
3174
3175         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
3176
3177 2007-03-23  Adam Treat  <adam@staikos.net>
3178
3179         Reviewed and committed by George.
3180
3181         Patch by Adam Treat.  Removes hardcoded path to .pro file.
3182
3183 2007-03-22  Adam Roben  <aroben@apple.com>
3184
3185         Reviewed by Geoff.
3186
3187         Removed eventSender.mouseClick because it was only useful for AppKit
3188         controls, which we don't use anymore.
3189
3190         * DumpRenderTree/EventSendingController.m:
3191         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
3192         mouseClick.
3193
3194 2007-03-22  Adam Roben  <aroben@apple.com>
3195
3196         Reviewed by Ada.
3197
3198         Make eventSender.mouseClick actually send a mouse up event.
3199
3200         * DumpRenderTree/EventSendingController.m:
3201         (-[EventSendingController mouseClick]):
3202
3203 2007-03-19  David Hyatt  <hyatt@apple.com>
3204
3205         Update the minimum font size pref to match the actual default setting in Safari.  It should have been 1
3206         all this time and not 9.
3207
3208         Reviewed by aroben
3209
3210         * DumpRenderTree/DumpRenderTree.m:
3211         (dumpRenderTree):
3212
3213 2007-03-18  Dan Waylonis  <waylonis@mac.com>
3214
3215         Reviewed by Tim Hatcher.
3216
3217         DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
3218         Bug 13005: WebScriptObject +throwException needs NULL check.
3219
3220         Add tests to ensure that a plugin can safely throw an exception in dealloc.
3221
3222         * DumpRenderTree/ObjCPlugin.h:
3223         * DumpRenderTree/ObjCPlugin.m:
3224         (+[ObjCPlugin webScriptNameForKey:]):
3225         (+[ObjCPlugin isKeyExcludedFromWebScript:]):
3226         (-[ObjCPlugin dealloc]):
3227
3228 2007-03-13  Mark Rowe  <mrowe@apple.com>
3229
3230         Reviewed by Maciej.
3231
3232         Have the nightly launcher prefer Safari found in /Applications or ~/Applications
3233         if present, otherwise fall back on using LaunchServices to locate it elsewhere
3234         on the system.  The motivation for this is to make the behaviour of the nightly
3235         builds more predictable on machines with multiple copies of Safari present.
3236
3237         * WebKitLauncher/main.m:
3238         (locateSafariBundle):
3239         (main):
3240
3241 2007-03-12  Darin Adler  <darin@apple.com>
3242
3243         Reviewed by Tim Hatcher.
3244
3245         - add a DumpRenderTree feature where you can get the Objective-C
3246           class name of a JavaScript object
3247
3248         * DumpRenderTree/DumpRenderTree.m:
3249         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
3250         objCClassNameOf: selector.
3251         (+[LayoutTestController webScriptNameForSelector:]): Add the
3252         objCClassNameOf: selector, with the name "objCClassName".
3253         (-[LayoutTestController objCClassNameOf:]): Added.
3254
3255 2007-03-11  Geoffrey Garen  <ggaren@apple.com>
3256
3257         Reviewed by Oliver Hunt.
3258         
3259         Beefed up --threaded mode in light of <rdar://problem/4681051> Installer 
3260         crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*) 
3261         trying to install iLife 06 using Rosetta on an Intel Machine
3262         
3263         --threaded mode now runs a bunch of different JavaScript threads, randomly
3264         killing and respawning them. This was sufficient for reproducing the
3265         bug on my MacBook Pro.
3266
3267         * DumpRenderTree/DumpRenderTree.m:
3268         (javaScriptThreads):
3269         (runJavaScriptThread):
3270         (startJavaScriptThreads):
3271         (stopJavaScriptThreads):
3272         (dumpRenderTree):
3273
3274 2007-03-11  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3275
3276         Reviewed by Brady Eidson.
3277
3278         Add forward/backward/quit menus for easier testing.
3279
3280         * GdkLauncher/main.cpp:
3281         (menuMainBackCb):
3282         (menuMainForwardCb):
3283         (menuMainQuitCb):
3284         (main):
3285
3286 2007-03-09  Andrew Wellington  <proton@wiretapped.net>
3287
3288         Reviewed by Darin.
3289
3290         - fix http://bugs.webkit.org/show_bug.cgi?id=13007
3291           svn-create-patch doesn't handle UTF files with BOMs as text
3292
3293         Force diff to treat files that svn-create-patch thinks are text as text.
3294
3295         * Scripts/svn-create-patch: Added -a switch to diff command.
3296
3297 2007-03-09  Mark Rowe  <mrowe@apple.com>
3298
3299         Unreviewed.  Use the new SVN URL on the buildbot.
3300
3301         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
3302
3303 2007-03-08  Mark Rowe  <mrowe@apple.com>
3304
3305         Reviewed by Antti.
3306
3307         Fix compiler warnings when building Drosera as 64-bit.
3308
3309         * Drosera/DebuggerDocument.m:
3310         (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
3311         (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
3312         (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
3313
3314 2007-03-07  Mark Rowe  <mrowe@apple.com>
3315
3316         Reviewed by Maciej.
3317
3318         Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
3319
3320         * Scripts/check-for-global-initializers:
3321
3322 2007-03-07  Anders Carlsson  <acarlsson@apple.com>
3323
3324         Reviewed by Adam.
3325
3326         Add some assertions.
3327
3328         * DumpRenderTree/DumpRenderTree.m:
3329         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
3330         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
3331         (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3332         (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
3333
3334 2007-03-07  David Kilzer  <ddkilzer@webkit.org>
3335
3336         Reviewed by Darin.
3337
3338         - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
3339           WebArchiver - attempt to insert nil exception when archive empty iframe
3340
3341         The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
3342         a webarchive while the dumpSourceAsWebArchive() test method uses the original
3343         dataSource (page source) to create a webarchive.  Most tests currently use
3344         dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
3345         webarchive.
3346
3347         * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
3348         Added dumpSourceAsWebArchive.
3349         (dump):
3350         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3351         (-[LayoutTestController dumpDOMAsWebArchive]):
3352         (-[LayoutTestController dumpSourceAsWebArchive]):
3353         (runTest):
3354
3355 2007-03-05  Kevin McCullough  <kmccullough@apple.com>
3356
3357         Reviewed by Mark and Dave H.
3358
3359         - rdar://problem/4922454
3360         - This fixes a security issue by making remote referrers not able to access local
3361         resources, unless they register their schemes to be treated as local. The result is
3362         that those schemes can access local resources and cannot be accessed by remote
3363         referrers.
3364         Because this behavior is new a link-on-or-after check is made to determine if the
3365         app should use the older, less safe, behavior.
3366
3367         * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
3368         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3369         (+[LayoutTestController webScriptNameForSelector:]):
3370         (-[LayoutTestController setUserStyleSheetLocation:]):
3371         (-[LayoutTestController setUserStyleSheetEnabled:]):
3372
3373 2007-03-05  Anders Carlsson  <acarlsson@apple.com>
3374
3375         Reviewed by Adam, Darin.
3376
3377         <rdar://problem/5025212>
3378         In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
3379         
3380         Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
3381         to be run when the URL has finished (or failed) loading.
3382         
3383         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3384         (pluginInvoke):
3385         (handleCallback):
3386         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3387         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3388         (NPP_URLNotify):
3389
3390 2007-03-04  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3391
3392         Reviewed by Nikolas Zimmermann.
3393
3394         Load a url given on a command line in a way that also
3395         works for local (file://) urls.
3396
3397         * GdkLauncher/main.cpp:
3398         (main):
3399
3400 2007-03-02  Geoffrey Garen  <ggaren@apple.com>
3401
3402         Tweaked parse-malloc-history to work with new malloc_history output format.
3403
3404         * Scripts/parse-malloc-history:
3405
3406 2007-02-28  Vladimir Olexa  <vladimir.olexa@gmail.com>
3407
3408         Reviewed by Tim H.
3409
3410         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
3411         Bug#12887: [Drosera] Add ability to close loaded files
3412
3413         * Drosera/DebuggerDocument.h:
3414         * Drosera/DebuggerDocument.m:
3415         (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
3416         * Drosera/Drosera.xcodeproj/project.pbxproj:
3417         * Drosera/English.lproj/MainMenu.nib/classes.nib: 
3418         * Drosera/English.lproj/MainMenu.nib/info.nib:
3419         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
3420         * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
3421         * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
3422
3423 2007-02-28  Nikolas Zimmermann  <zimmermann@kde.org>
3424
3425         Reviewed by Maciej.
3426
3427         Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
3428
3429         * Scripts/build-webkit:
3430
3431 2007-02-27  Geoffrey Garen  <ggaren@apple.com>
3432
3433         Small tweak to run-webkit-tests.
3434
3435         * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
3436         1000 MallocStackLogging tests at a time.
3437
3438 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
3439
3440         Reviewed by Lars.
3441         
3442         - set ENABLE_XSLT even when compiling without SVG support, since that is no
3443         longer hardcoded into config.h.
3444
3445         * Scripts/build-webkit:
3446
3447 2007-02-26  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3448
3449         Reviewed by Adam Roben.
3450
3451         Rename *_SUPPORT defines to ENABLE_*.
3452
3453         * GdkLauncher/gdklauncher.bkl:
3454
3455 2007-02-24  Geoffrey Garen  <ggaren@apple.com>
3456
3457         Reviewed by Darin Adler.
3458         
3459         * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
3460         fixed.
3461
3462 2007-02-24  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3463
3464         Reviewed by Adam Roben.
3465
3466         Improve gdklauncher: add text field for entering url.
3467
3468         * GdkLauncher/gdklauncher.bkl:
3469         * GdkLauncher/main.cpp:
3470         (strEmpty):
3471         (strEq):
3472         (handleGdkEvent):
3473         (goToUrlBarText):
3474         (goButtonClickedCb):
3475         (urlBarEnterCb):
3476         (registerRenderingAreaEvents):
3477         (frameResizeCb):
3478         (frameDestroyCb):
3479         (main):
3480
3481 2007-02-22  Vladimir Olexa  <vladimir.olexa@gmail.com>
3482
3483         Reviewed by Tim H.
3484
3485         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
3486         Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
3487         * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
3488
3489 2007-02-22  Adele Peterson  <adele@apple.com>
3490
3491         Reviewed by Darin.
3492
3493         Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
3494         can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
3495
3496         * DumpRenderTree/DumpRenderTree.m:
3497         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3498         (+[LayoutTestController webScriptNameForSelector:]):
3499         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3500
3501 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
3502
3503         Used svn merge -r19786:19785 to roll out previous hack to work around
3504         SVG painting issue in DRT.
3505         
3506         Implemented new work-around, which makes --paint paint *after* dumping
3507         the render tree instead of before, so that painting doesn't influence
3508         the SVG render tree.
3509
3510         This should fix the ~400 new pixel failures introduced in r19786.
3511
3512         * DumpRenderTree/DumpRenderTree.m:
3513         (dump):
3514         * Scripts/run-webkit-tests:
3515
3516 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
3517
3518         Resetting --leaks mode default to run 1000 tests at a time because setting it
3519         to 750 didn't stop the stack logging related crashes, and running more tests
3520         at a time is faster. The crashes seem to be a real bug in stack logging, 
3521         not an out of memory condition.
3522
3523         * Scripts/run-webkit-tests:
3524
3525 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
3526
3527         Reviewed by Adam Roben.
3528         
3529         Added hack to force painting when running an SVG test. This is a work-around
3530         for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at 
3531         paint time instead of style resolution time.
3532
3533         We need this so that --leaks mode, which always paints, doesn't appear to 
3534         fail SVG tests. We also need this if we ever want to test style application 
3535         in SVG, since many SVGs don't apply style to their renderers until they paint.
3536
3537         * Scripts/run-webkit-tests:
3538
3539 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
3540         
3541         Reduced --leaks mode to running only 750 tests at a time, in the hopes
3542         of fixing intermittent crasher that may be caused by out of memory
3543         conditions.
3544
3545         * Scripts/run-webkit-tests:
3546
3547 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
3548
3549         Reviewed by Darin Adler.
3550
3551         Made DRT paint when running run-webkit-tests in --leaks mode, to check
3552         for painting leaks.
3553
3554         * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
3555         that's the default for statics.
3556         (dumpRenderTree): Added --paint command line option, which specifies that
3557         DRT should paint at the end of every test.
3558         (displayWebView): New function, called by dump() and -[LayoutTestController display].
3559         * Scripts/run-webkit-tests: Use the --paint command line option when checking
3560         for leaks.
3561
3562         * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list. 
3563         Removed stale comment about THRD leaks -- we now ignore them reliably.
3564
3565 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
3566
3567         Tools tweak. No review necessary.
3568         
3569         * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
3570         arguments. Changed command line argument variables from special implicit 
3571         no-op values to specific empty values that we test explicitly.
3572
3573 2007-02-21  Vladimir Olexa  <vladimir.olexa@gmail.com>
3574
3575         Reviewed by Tim H.
3576
3577         Bug 12834: Drosera should remember scroll position of open files like Xcode
3578         http://bugs.webkit.org/show_bug.cgi?id=12834
3579
3580         * Drosera/debugger.js: Implemented scrolling memory 
3581
3582 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
3583
3584         Tools tweak. No review necessary.
3585         
3586         Made parse-malloc-history executable. (Oops!)
3587         
3588         Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history" 
3589         output.
3590         
3591         Added the ability to merge callstacks by regexp, not just depth, so you 
3592         can ask questions like, "How many of these allocations were due to that one 
3593         call to ...?"
3594         
3595         * Scripts/parse-malloc-history:
3596
3597 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
3598
3599         * Scripts/parse-malloc-history: Added copyright info.
3600
3601 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
3602
3603         Reviewed by Darin Adler.
3604         
3605         New script to parse the output from malloc_history, so we can determine
3606         what's using memory in WebKit.
3607
3608         * Scripts/parse-malloc-history: Added.
3609
3610 2007-02-20  Graham Dennis  <graham.dennis@gmail.com>
3611
3612         Reviewed by Darin Adler.
3613         
3614         Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
3615         WebKit.framework is built with SVG_SUPPORT for No-SVG build
3616
3617         * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
3618
3619 2007-02-19  Geoffrey Garen  <ggaren@apple.com>
3620
3621         Build fix.
3622         
3623         * Scripts/check-for-global-initializers: Ignore the global counter I added
3624         for SubresourceLoaders.
3625
3626 2007-02-19  Darin Adler  <darin@apple.com>
3627
3628         Reviewed by Tim Hatcher.
3629
3630         * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
3631         Without this, you only see the global initializer error once, which makes it very easy
3632         to miss them.
3633
3634 2007-02-16  Mark Rowe  <mrowe@apple.com>
3635
3636         Not reviewed.
3637
3638         <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
3639
3640         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
3641
3642 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
3643
3644         Reviewed by Beth Dakin.
3645         
3646         * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
3647         leaks anymore, either, since r19486 fixed them, too.
3648         (shouldIgnoreWebCoreNodeLeaks):
3649
3650 2007-02-15  Darin Adler  <darin@apple.com>
3651
3652         * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
3653         fixed by change 19486.
3654
3655 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
3656
3657         Reviewed by Beth Dakin.
3658         
3659         Ignore another leak, seen recently on the buildbot.
3660
3661         * Scripts/run-webkit-tests:
3662
3663 2007-02-14  Geoffrey Garen  <ggaren@apple.com>
3664
3665         Reviewed by Beth Dakin.
3666         
3667         Ignore another leak, seen recently on the buildbot.
3668
3669         * Scripts/run-webkit-tests:
3670
3671 2007-02-13  Darin Adler  <darin@apple.com>
3672
3673         * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
3674         giant line.
3675
3676 2007-02-11  Maciej Stachowiak  <mjs@apple.com>
3677
3678         Reviewed by Mitz.
3679         
3680         - add contextClick() operation to eventSender to be able to test this
3681
3682         * DumpRenderTree/EventSendingController.m:
3683         (+[EventSendingController isSelectorExcludedFromWebScript:]):
3684         (-[EventSendingController contextClick]):
3685
3686 2007-02-11  Darin Adler  <darin@apple.com>
3687
3688         * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
3689         so it doesn't give a perl exception (happens in clean builds, for example).
3690
3691 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
3692
3693         Reviewed by Adam.
3694
3695         * Scripts/svn-create-patch:
3696         (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
3697         a relative path to the copied file.
3698
3699 2007-02-10  Timothy Hatcher  <timothy@apple.com>
3700
3701         Reviewed by Sam Weinig.
3702
3703         * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
3704
3705 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
3706
3707         Reviewed by Timothy.
3708
3709         * Scripts/svn-apply:
3710         (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
3711         encoded text.
3712
3713 2007-02-10  Brady Eidson <beidson@apple.com>
3714
3715         Reviewed by Maciej
3716
3717         <rdar://problem/4965133> WebKit sends file:// url referrers
3718
3719         * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
3720           on local files, but have an httpd for remote resources
3721
3722 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
3723
3724         Reviewed by Beth Dakin.
3725         
3726         Ignore another false leak report.
3727
3728         * Scripts/run-webkit-tests:
3729
3730 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
3731
3732         Reviewed by Kevin McCullough.
3733
3734         * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
3735         already exists, to avoid confusing error message.
3736         
3737         Also, remove /tmp/LayoutTests after running so unsupecting fools don't 
3738         try to rm -rf it, only later to discover that they have completely hosed 
3739         their machines.
3740
3741 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3742
3743         Reviewed by Adam Roben.
3744
3745         Linux/gdk build fixes.
3746
3747         * GdkLauncher/main.cpp: Add -exit-after-loading and
3748         -dump-render-tree as debugging aid.
3749         (strEq):
3750         (main):
3751
3752 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
3753
3754         Minor fixup based on Maciej's review last night.
3755         
3756         * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
3757         and do a little math to make it work.
3758
3759 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
3760
3761         Reviewed by Adam Roben.
3762
3763         Linux/gdk build fixes.
3764
3765         * GdkLauncher/gdklauncher.bkl:
3766
3767 2007-02-08  Kevin McCullough  <KMcCullough@apple.com>
3768
3769         - Fix layout test failures.
3770
3771         * Scripts/run-webkit-tests:
3772
3773 2007-02-08  Darin Adler  <darin@apple.com>
3774
3775         Reviewed by Anders.
3776
3777         * Scripts/check-for-global-initializers: For speed, only check files that
3778         have been modified since the last time we linked. For tidiness, capture
3779         stderr from nm, and prevent "nm: no name list" messages from going out.
3780
3781 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
3782
3783         Reviewed by Maciej Stachowiak, Adam Roben.
3784         
3785         Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
3786         arbitrary number n.
3787         
3788         Plus some renames:
3789             - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
3790             - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
3791             - tool => dumpTool (to match abstraction elsewhere)
3792             - httpdOpen => isHttpdOpen (to match style guidelines)
3793         
3794         Plus a few logic fixups:
3795             - Don't check isDumpToolOpen when we know we've called openDumpTool().
3796             - Use a single code path to decide when to shut down dumpTool and
3797               when to check for leaks, since the operations are coincidental. 
3798             - Use a single code path for running the leaks tool, since the only 
3799               thing that varies between configurations is the output file name.
3800             - Increment $count after each test finishes, instead of at the end
3801               of the loop, to help with comparing to the length of the array
3802               and %-ing by n.
3803             - Use a more robust test inside the loop to determine if we need to
3804               close dumpTool, instead of copying the closing code outside the loop.
3805         
3806         Layout tests pass.
3807
3808         * Scripts/run-webkit-tests:
3809
3810 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
3811
3812         Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
3813         
3814         Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
3815         catch all reports of them, not just those inside pthread_create.
3816         
3817         Also, use "\\" instead of "\" because we need the actual \ to get into the
3818         regexp string if it's going to do any escaping. (Oops!)
3819
3820         * Scripts/run-webkit-tests:
3821
3822 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
3823
3824         Reviewed by Bethany P. Dakin.
3825         
3826         The 's' is optional when the leaks tool reports 'leaks'.
3827         
3828         * Scripts/run-leaks:
3829
3830 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
3831
3832         Reviewed by Bethany P. Dakin.
3833         
3834         Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
3835
3836         * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
3837
3838 2007-02-06  David Smith  <catfish.man@gmail.com>
3839
3840         Reviewed by Darin.
3841
3842         Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
3843         [Drosera] Console history fixups
3844
3845         * Drosera/console.js: assorted cleanups and fixes
3846
3847 2007-02-05  Geoffrey Garen  <ggaren@apple.com>
3848
3849         Reviewed by Darin Adler.
3850         
3851         New script that allows you to ignore leaks by regular expression.
3852
3853         * Scripts/run-leaks: Added.
3854
3855 2007-02-03  Sam Weinig  <sam@webkit.org>
3856
3857         Reviewed by Mark.
3858
3859         Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
3860         Drosera doesn't handle CR ( carriage returns ) well
3861
3862         - Normalize all the line endings.
3863
3864         * Drosera/debugger.js:
3865
3866 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
3867
3868         Reviewed by Darin Adler.
3869
3870         Added some more known leaks to the leaks ignore list.
3871
3872         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
3873         hate itself so much?
3874         * Scripts/run-webkit-tests:
3875
3876 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
3877
3878         Even better build fix than the last.
3879
3880         * ChangeLog:
3881         * DumpRenderTree/DumpRenderTree.m:
3882         (shouldIgnoreWebCoreNodeLeaks):
3883
3884 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
3885
3886         Fixed build. Added work-around for GCC bug.
3887
3888         * DumpRenderTree/DumpRenderTree.m:
3889         (shouldIgnoreWebCoreNodeLeaks):
3890
3891 2007-02-01  Geoffrey Garen  <ggaren@apple.com>
3892
3893         Reviewed by Maciej Stachowiak.
3894         
3895         Added support for selectively ignoring WebCore::Node leaks during layout
3896         tests, so that we can ignore known leaks in other components.
3897
3898         * DumpRenderTree/DumpRenderTree.m:
3899         (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
3900         WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
3901         confuse anyone else? 
3902         (runTest):
3903
3904 2007-02-01  Anders Carlsson  <acarlsson@apple.com>
3905
3906         Reviewed by Darin.
3907
3908         * DumpRenderTree/UIDelegate.m:
3909         (-[UIDelegate webView:addMessageToConsole:]):
3910         Dump console messages.
3911
3912 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
3913
3914         * DumpRenderTree/ResourceLoadDelegate.m:
3915         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3916         Use an NSString here so we can guarantee that -description always returns the same value.
3917
3918 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
3919
3920         Reviewed by Darin Adler.
3921
3922         Added Selection::toRange to the leaks -exclude list, since it comes up
3923         as a false positive (Radar 4967949).
3924         
3925         Also added RangeCounter to the global initializer exclude list. I added
3926         a RangeCounter since leaks won't detect all Range leaks anymore.
3927
3928         * Scripts/check-for-global-initializers:
3929         * Scripts/run-webkit-tests:
3930
3931 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
3932
3933         * DumpRenderTree/ResourceLoadDelegate.m:
3934         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3935         Don't try to create an identifier if resource loads shouldn't be dumped.
3936
3937 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
3938
3939         Reviewed by Geoff.
3940
3941         Add dumping of resource loads. This isn't completely tweaked yet since the test results would
3942         rely on resources being delivered in the same order which might not always be true. However, it works good
3943         enough for the simple webarchive tests I want to do right now.
3944         
3945         * DumpRenderTree/DumpRenderTree.h:
3946         * DumpRenderTree/DumpRenderTree.m:
3947         (dumpRenderTree):
3948         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3949         (-[LayoutTestController dumpResourceLoadCallbacks]):
3950         (runTest):
3951         
3952         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3953         * DumpRenderTree/ResourceLoadDelegate.h: Added.
3954         * DumpRenderTree/ResourceLoadDelegate.m: Added.
3955         Add new resource load delegate.
3956         
3957 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
3958
3959         Backing out the CFRunLoopRunSpecific exclude command because it was overly
3960         broad. We'll either need to work around this leak in DRT, or do some
3961         custom grep-based leak ignoring.
3962
3963         * Scripts/run-webkit-tests:
3964
3965 2007-01-30  Geoffrey Garen  <ggaren@apple.com>
3966
3967         Reviewed by Beth Dakin.
3968
3969         Filed some more Radars in other components, added some more leaks to the
3970         exclusion list.
3971
3972         * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
3973         CFRunLoopRunSpecific, and NSSpellChecker.
3974
3975 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
3976
3977         Reviewed by Darin.
3978
3979         http://bugs.webkit.org/show_bug.cgi?id=11882
3980         Need a way to regression test .webarchive output files
3981
3982         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
3983         Alters WebResourceResponse and WebResourceURL properties within WebArchive format
3984         to normalize URLs to remove path where WebKit was checked out.  Also converts
3985         WebDataResource properties from data to string if the corresponding
3986         WebResourceMIMEType property starts with "text/" or equals
3987         "application/x-javascript".
3988
3989         * DumpRenderTree/DumpRenderTree.m:
3990         (convertWebResourceDataToString): Added.
3991         (normalizeWebResourceURL): Added.
3992         (normalizeWebResourceResponse): Added.
3993         (serializeWebArchiveToXML): Added.
3994         (dump):
3995         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3996         (-[LayoutTestController dumpAsWebArchive]): Added.
3997         (runTest):
3998
3999 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
4000
4001         Reviewed by Mark Rowe.
4002
4003         http://bugs.webkit.org/show_bug.cgi?id=12470
4004         svn-create-patch creates duplicate patches for files within an added/modified directory
4005
4006         * Scripts/svn-create-patch:
4007         (sub generateFileList($\%\%)): Ignore directories when generating the file list.
4008
4009 2007-01-29  Geoffrey Garen  <ggaren@apple.com>
4010
4011         Reviewed by Maciej Stachowiak.
4012
4013         Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
4014         
4015         No more mollycoddling for you, FastMalloc.o!
4016         
4017         * Scripts/check-for-global-initializers:
4018
4019 2007-01-29  Graham Dennis  <graham.dennis@gmail.com>
4020
4021         Reviewed by Maciej.
4022         
4023         Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
4024         Image data in from RTFD clipboard data thrown away
4025         
4026         - This method is needed because NSArrays are bridged to JS Arrays,
4027           which in turn are bridged back to WebScriptObjects when passed from
4028           JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
4029
4030         * DumpRenderTree/DumpRenderTree.m:
4031         (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
4032
4033 2007-01-25  Geoffrey Garen  <ggaren@apple.com>
4034
4035         Reviewed by Maciej Stachowiak.
4036         
4037         Added support for test for <rdar://problem/4608404> WebScriptObject's 
4038         _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
4039         
4040         * DumpRenderTree/DumpRenderTree.m:
4041         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
4042         (+[LayoutTestController webScriptNameForSelector:]):
4043         (-[LayoutTestController storeWebScriptObject:]):
4044         (-[LayoutTestController accessStoredWebScriptObject]):
4045         (-[LayoutTestController dealloc]):
4046
4047 2007-01-26  Lars Knoll <lars@trolltech.com>
4048
4049         Reviewed by Zack
4050
4051         Small hack to ensure that our top level frame actually has the
4052         correct size. Unfortunately this means I'll have to regenerate 
4053         all test cases :/
4054
4055         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4056         (WebCore::DumpRenderTree::DumpRenderTree):
4057
4058 2007-01-25  Lars Knoll <lars@trolltech.com>
4059
4060         Reviewed by Darin and Zack
4061         
4062         Move the test results for Qt into a directory of it's own
4063         (WebKit/LayoutTestResults/qt). Leave the Mac results where
4064         they are for now and share the text only results between 
4065         Mac and Qt.
4066
4067         Add support for a LayoutTestResults/platform/Skipped file
4068         to run-webkit-tests to be able to ignore certain tests
4069
4070         Remove the old tests-skipped.txt from Qts DumpRenderTree
4071         implementation. 
4072
4073         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4074         (WebCore::DumpRenderTree::DumpRenderTree):
4075         (WebCore::DumpRenderTree::open):
4076         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
4077         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
4078         * Scripts/run-webkit-tests:
4079
4080 2007-01-24  Darin Adler  <darin@apple.com>
4081
4082         Reviewed by Oliver.
4083
4084         - fix crash seen in layout tests
4085
4086         * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
4087         Add back the line of code that sets savedMouseEvents to nil. I thought it was
4088         a field of the EventSendingController, but it's actually a global.
4089
4090 2007-01-24  Darin Adler  <darin@apple.com>
4091
4092         Reviewed by Maciej.
4093
4094         - changed dragMode to be a property instead of a function
4095
4096         * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
4097         * DumpRenderTree/EventSendingController.m:
4098         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
4099         (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
4100         (-[EventSendingController init]): Updated for name change.
4101         (-[EventSendingController leapForward:]): Ditto.
4102         (-[EventSendingController mouseUp]): Ditto.
4103         (-[EventSendingController mouseMoveToX:Y:]): Ditto.
4104
4105 2007-01-24  Darin Adler  <darin@apple.com>
4106
4107         Reviewed by Maciej.
4108
4109         - made the deferral of mouse events until drag completes conditional
4110           it's needed for drag testing, and harmful for selection testing
4111
4112         * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
4113         * DumpRenderTree/EventSendingController.m:
4114         (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
4115         (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
4116         and remove unneeded clearKillRing name.
4117         (-[EventSendingController init]): Initialize inDragMode to true.
4118         (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
4119         not be asserting things that are dependent on the test content!
4120         (-[EventSendingController leapForward:]): Only queue events in drag mode.
4121         (-[EventSendingController setDragMode:]): Added.
4122         (-[EventSendingController mouseDown]): Removed overzealous assertion.
4123         (-[EventSendingController mouseUp]): Removed overzealous assertions.
4124         Only queue events in drag mode.
4125         (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
4126
4127 2007-01-24  Lars Knoll <lars@trolltech.com>
4128
4129         Reviewed by Zack
4130
4131         Add a signal handler, always dump immediately if we get an
4132         error during a page load and raise the timeout to 5 seconds
4133         (as we get a lot less such failures now)
4134
4135         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4136         (WebCore::DumpRenderTree::DumpRenderTree):
4137         (WebCore::DumpRenderTree::maybeDump):
4138         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
4139         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
4140         (LayoutTestController::waitUntilDone):
4141         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
4142         (crashHandler):
4143         (main):
4144         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
4145
4146 2007-01-22  Darin Adler  <darin@apple.com>
4147
4148         Reviewed by Mitz.
4149
4150         - a couple tiny tweaks to make --reset-results work better
4151
4152         * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
4153         Don't make a separate "new" entry while generating results when --reset-results
4154         is specified since new results are the norm in that case.
4155
4156 2007-01-21  Sanjay Madhav  <sanjay12@gmail.com>
4157
4158         Reviewed by Darin.
4159
4160         Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
4161
4162         This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
4163
4164         * DumpRenderTree/GCController.h:
4165         * DumpRenderTree/GCController.mm:
4166         (+[GCController isSelectorExcludedFromWebScript:]):
4167         (-[GCController getJSObjectCount]):
4168
4169 2007-01-20  Mark Rowe  <mrowe@apple.com>
4170
4171         Reviewed by Maciej.
4172
4173         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
4174         catch single regressions, and don't generate tests results for new tests.
4175
4176 2007-01-20  Adam Roben  <aroben@apple.com>
4177
4178         Rubberstamped by Maciej.
4179
4180         * Scripts/run-webkit-tests: Change the default behavior back to
4181         generating results for new tests (this can be disabled with
4182         --no-new-test-results)
4183
4184 2007-01-19  Lars Knoll <lars@trolltech.com>
4185
4186         Reviewed by Adam Roben.
4187
4188         run-webkit-tests does now not generate new results by default anymore. 
4189         You'll have to pass the --new-tests flag to it to force it to do so.
4190
4191         This is required to make it possible to have tests running on multiple 
4192         platforms peacefully together.
4193
4194         * Scripts/run-webkit-tests:
4195
4196 2007-01-18  Darin Adler  <darin@apple.com>
4197
4198         Reviewed by John Sullivan.
4199
4200         * Scripts/run-webkit-tests: Fix handling of configuration so it
4201         does the right thing when no explicit configuration is passed in.
4202         The old code assumed that the result of setConfiguration() was the
4203         configuration, but it's undefined when no configuration is
4204         explicitly passed in. The correct function to use is
4205         configuration(), and I also streamlined the code.
4206
4207 2007-01-17  Lars Knoll <lars@trolltech.com>
4208
4209         Fix my last commit to actually work in all cases.
4210
4211         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4212         (WebCore::DumpRenderTree::readStdin):
4213
4214 2007-01-17  Lars Knoll <lars@trolltech.com>
4215
4216         Reviewed by Maciej
4217
4218         Make sure DumpRenderTree exits when run-webkit-tests
4219         is done.
4220
4221         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4222         (WebCore::DumpRenderTree::readStdin):
4223
4224 2007-01-17  Lars Knoll <lars@trolltech.com>
4225
4226         Reviewed by Zack
4227
4228         Small fixes in DumpRenderTree, so we don't by
4229         accident dump twice for the same test.
4230
4231         Exclude one more test as it currently causes DumpRenderTree to
4232         hang forever.
4233
4234         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4235         (WebCore::DumpRenderTree::readStdin):
4236         (WebCore::DumpRenderTree::dump):
4237         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
4238         (LayoutTestController::notifyDone):
4239         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
4240
4241 2007-01-17  Lars Knoll <lars@trolltech.com>
4242
4243         Reviewed by Zack
4244
4245         Add a message handler to DumpRenderTree that will
4246         suppress all debug output coming from qDebug() statements.
4247         Like this we can get rid of all the noise coming
4248         from the notImplemented() macro when running the
4249         layout tests. You can get it back by adding -v to
4250         DumpRenderTree's command line.
4251
4252         Changed run-webkit-tests slightly, so we by default
4253         don't fail anymore when our output differs from what
4254         is generated on the Mac. Added a --strict option, so
4255         that we can still see this cases and fix them one by one.
4256
4257         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
4258         (messageHandler):
4259         (main):
4260         * Scripts/run-webkit-tests:
4261
4262 2007-01-16  Lars Knoll <lars@trolltech.com>
4263
4264         Reviewed by Zack
4265
4266         Use the new public API for the Qt build, and don't rely