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