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