Fix ChangeLog
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-11-16  Dan Bernstein  <mitz@apple.com>
2
3         Reviewed by Darin Adler and Sam Weinig.
4
5         - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
6
7         * DumpRenderTree/win/EventSender.cpp:
8         (keyDownCallback): For characters that cannot be entered on the active
9         keyboard layout, send a WM_CHAR message with the character along with
10         a WM_KEYDOWN message with a virtual key code of 255.
11
12 2007-11-16  Mark Rowe  <mrowe@apple.com>
13
14         Reviewed by Tim Hatcher.
15
16         Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
17
18         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
19         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20
21 2007-11-15  Adam Roben  <aroben@apple.com>
22
23         Make run-safari actually work on Windows
24
25         * Scripts/run-safari: Fixed the order of arguments to cp, and added a
26         chdir call.
27
28 2007-11-14  Adam Roben  <aroben@apple.com>
29
30         Updates to Safari launching now that 3.0.4 is released
31
32         Reviewed by Sam.
33
34         * FindSafari/FindSafari.cpp:
35         (getWebViewCLSID): Use version-independent ProgID.
36         * Scripts/run-safari: Use run-webkit-nightly.cmd.
37
38 2007-11-14  Anders Carlsson  <andersca@apple.com>
39
40         Reviewed by Adam.
41
42         <rdar://problem/5309081>
43         In DRT, "plugin.logDestroy = true" not working on Windows.
44         
45         * DumpRenderTree/win/TestNetscapePlugin/main.c:
46         (NPP_Destroy):
47
48 2007-11-14  Eric Seidel  <eric@webkit.org>
49
50         Reviewed by Sam.
51
52         * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
53
54 2007-11-14  Anders Carlsson  <andersca@apple.com>
55
56         Reviewed by Adam.
57
58         <rdar://problem/5141186>
59         window.layoutTestController.setWindowIsKey is not implemented in DRT.
60         
61         Implement setWindowIsKey.
62         
63         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
64         (LayoutTestController::setWindowIsKey):
65
66 2007-11-13  Sam Weinig  <sam@webkit.org>
67
68         Reviewed by Adam Roben.
69
70         Fix for <rdar://problem/5382579>
71         http/tests/security/cross-frame-access-put.html reports large 
72         negative numbers for screenLeft and screenTop (Mac reports "0")
73
74         * DumpRenderTree/win/UIDelegate.cpp:
75         (UIDelegate::UIDelegate): Initialize the RECT.
76         (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
77         (UIDelegate::webViewFrame): ditto.
78         * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
79
80 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
81
82         Reviewed by Adam.
83
84         - Make Drosera show source, source URLs, and function stack on Windows,
85         and some minor fixes.
86
87         * Drosera/DebuggerDocument.cpp: Force source to always update display.
88         (DebuggerDocument::updateFileSource):
89         * Drosera/debugger.js: Force source to always update display.
90         * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
91         menu controls.
92         (DebuggerClient::resume):
93         (DebuggerClient::pause):
94         (DebuggerClient::stepInto):
95         (DebuggerClient::stepOver):
96         (DebuggerClient::stepOut):
97         (DebuggerClient::showConsole):
98         (DebuggerClient::closeCurrentFile):
99         * Drosera/win/DebuggerClient.h: Ditto.
100         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
101         getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
102         removed two bugs.  1) caller could be in a bad state when asked to
103         assign into it. 2) BSTRs were not created correctly.
104         (DebuggerDocument::getPlatformCurrentFunctionStack):
105         * Drosera/win/Drosera.cpp: Hook up the menu controls.
106         (droseraWndProc):
107         (handleCommand):
108         (Drosera::resume):
109         (Drosera::pause):
110         (Drosera::stepInto):
111         (Drosera::stepOver):
112         (Drosera::stepOut):
113         (Drosera::showConsole):
114         (Drosera::closeCurrentFile):
115         * Drosera/win/Drosera.h: Hook up the menu controls.
116         * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
117         functions, added a null check, and fixed another bug where caller could
118         be in a bad state when asked to assign into it.
119         (ServerConnection::didLoadMainResourceForDataSource):
120         (ServerConnection::getCallerFrame):
121         * Drosera/win/ServerConnection.h: Safety first.
122
123 2007-11-13  Dan Bernstein  <mitz@apple.com>
124
125         Reviewed by Darin Adler.
126
127         - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
128           DumpRenderTree --pixel-tests renders each test twice
129
130         * DumpRenderTree/mac/DumpRenderTree.mm:
131         (dumpRenderTree): Removed the --paint option because the painting code
132         is always exercised as a result of
133         -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
134         calling -displayIfNeeded.
135         (dump): Changed to always grab the image from the window since the view
136         is always displayed.
137         (runTest):
138         (displayWebView):
139         * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
140         because it always paints.
141
142 2007-11-12  Antti Koivisto  <antti@apple.com>
143
144         Reviewed by Adele.
145         
146         Add support for http media tests
147
148         * Scripts/run-webkit-tests:
149
150 2007-11-12  Sam Weinig  <sam@webkit.org>
151
152         Reviewed by Adam Roben.
153
154         Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
155
156         * DumpRenderTree/win/DumpRenderTree.cpp:
157         (runTest):
158         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
159         (LayoutTestController::setPrivateBrowsingEnabled):
160
161 2007-11-12  Adam Roben  <aroben@apple.com>
162
163         * Scripts/update-webkit-localizable-strings: Changed to only scan the
164         mac and win subdirectories.
165
166 2007-11-11  Adam Roben  <aroben@apple.com>
167
168         Fix <rdar://5133816> keepWebHistory is not implemented
169
170         Fixes fast/history/clicked-link-is-visited.html.
171
172         Reviewed by Darin.
173
174         * DumpRenderTree/win/DumpRenderTree.cpp:
175         (runTest): Clear the optionalSharedHistory.
176         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
177         (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
178
179 2007-11-10  Sam Weinig  <sam@webkit.org>
180
181         Reviewed by Tim Hatcher.
182
183         Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript 
184         attempts when in private browsing mode (only an issue if Log JavaScript Exceptions 
185         is turned on)
186
187         - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
188
189         Added test: http/tests/security/cross-frame-access-private-browsing.html
190
191         * DumpRenderTree/LayoutTestController.cpp:
192         (setPrivateBrowsingEnabledCallback):
193         (LayoutTestController::staticFunctions):
194         * DumpRenderTree/LayoutTestController.h:
195         * DumpRenderTree/mac/DumpRenderTree.mm:
196         (runTest): Default to private browsing disabled.
197         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
198         (LayoutTestController::setPrivateBrowsingEnabled):
199         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
200         (LayoutTestController::setPrivateBrowsingEnabled):
201
202 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
203
204         Reviewed by Adam.
205
206         - Changed the vcproj file to use Drosera's ForwardingHeaders and not
207         WebCore's!
208
209         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
210         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
211         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
212         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
213         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
214         * Drosera/win/Drosera.cpp:
215         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
216
217 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
218
219         Reviewed by Sam.
220
221         - Use the new IWebFrame [local] function signature and get the shared
222         server correctly.
223
224         * Drosera/win/DebuggerClient.cpp:
225         (DebuggerClient::didFinishLoadForFrame):
226         * Drosera/win/ServerConnection.cpp:
227         (ServerConnection::attemptToCreateServerConnection):
228
229 2007-11-07  Dan Bernstein  <mitz@apple.com>
230
231         Reviewed by Darin Adler.
232
233         - add an option to run-webkit-tests to ignore pixel test failures where
234           all pixels differ by no more than a specified threshold
235
236         * DumpRenderTree/mac/ImageDiff.m:
237         (main):
238         (compareImages):
239         (computePercentageDifferent):
240         * Scripts/run-webkit-tests:
241
242 2007-11-07  Simon Hausmann  <hausmann@kde.org>
243
244         Reviewed by Lars.
245
246         Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
247
248         * DumpRenderTree/qt/DumpRenderTree.cpp:
249
250 2007-11-07  Simon Hausmann  <hausmann@kde.org>
251
252         Reviewed by Lars.
253
254         Reworked the QWebSettings API.
255         QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
256
257         * DumpRenderTree/qt/DumpRenderTree.cpp:
258
259 2007-11-07  Simon Hausmann  <hausmann@kde.org>
260
261         Reviewed by Lars.
262
263         Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
264
265         * DumpRenderTree/qt/jsobjects.cpp:
266
267 2007-11-07  Simon Hausmann  <hausmann@kde.org>
268
269         Reviewed by Lars Knoll <lars@trolltech.com>.
270
271         Add a QWebPage::frameCreated() signal and fix DRT
272         
273         The removal of createFrame in QWebPage broke the re-implementation
274         in DumpRenderTree. Instead emit a frameCreated() signal and
275         connect to it in DumpRenderTree.
276         
277
278         * DumpRenderTree/qt/DumpRenderTree.cpp:
279         (WebCore::WebPage::WebPage):
280         (WebCore::DumpRenderTree::dump):
281         (WebCore::DumpRenderTree::connectFrame):
282         * DumpRenderTree/qt/DumpRenderTree.h:
283
284 2007-11-07  Simon Hausmann  <hausmann@kde.org>
285
286         Reviewed by Lars Knoll <lars@trolltech.com>.
287
288         Moved all the event handlers from QWebFrame into QWebPage.
289         
290         This cleans up the public API and allows us to remove the
291         HackWebFrame hack in DumpRenderTree.
292         
293
294         * DumpRenderTree/qt/jsobjects.cpp:
295         (EventSender::mouseDown):
296         (EventSender::mouseUp):
297         (EventSender::mouseMoveTo):
298
299 2007-11-07  Simon Hausmann  <hausmann@kde.org>
300
301         Reviewed by Mark.
302
303         Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
304         to prevent the default implementation from popping up messageboxes.
305
306         * DumpRenderTree/qt/DumpRenderTree.cpp:
307         (WebCore::WebPage::javaScriptConfirm):
308         (WebCore::WebPage::javaScriptPrompt):
309
310 2007-11-06  Eric Seidel  <eric@webkit.org>
311
312         * Scripts/build-testkjs: build fix... too many $$
313
314 2007-11-06  Eric Seidel  <eric@webkit.org>
315
316         Reviewed by Mark Rowe.
317
318         * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
319
320 2007-11-05  Adam Roben  <aroben@apple.com>
321
322         Add support on Windows for WEBKIT_TESTFONTS
323
324         This environment variable lets you specify where the fonts to be used
325         by DumpRenderTree reside. The Qt port is already using this, so I'm
326         just following their lead.
327
328         Reviewed by Darin.
329
330         * DumpRenderTree/win/DumpRenderTree.cpp:
331         (exePath): Refactored code out of initialize().
332         (fontsPath): Returns either $WEBKIT_TESTFONTS or
333         DumpRenderTree.resources.
334         (initialize): Use the new fontsPath function.
335         (main): Use the new exePath function.
336         * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
337         variable to DRT, like Qt does.
338
339 2007-11-05  Mark Rowe  <mrowe@apple.com>
340
341         Rubber-stamped by Alp Toker.
342
343         Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
344
345         * GtkLauncher/main.cpp:
346         (goToURLBarText):
347         (main):
348
349 2007-11-04  David D. Kilzer  <ddkilzer@webkit.org>
350
351         bisect-builds doesn't work with nightly build r19992 or newer on Leopard
352         <http://bugs.webkit.org/show_bug.cgi?id=15830>
353
354         Reviewed by Timothy.
355
356         Restrict the range of nightly builds used by the bisect-builds script
357         based on the version of Safari and the version of Mac OS X being used.
358
359         Mac OS X 10.4: Safari 2.0: r11976 or newer
360         Mac OS X 10.4: Safari 3.0: r19992 or newer
361
362         Mac OS X 10.5: Safari 2.0: r19594 or newer
363         Mac OS X 10.5: Safari 3.0: r25124 or newer
364
365         * Scripts/bisect-builds:
366         (findMacOSXVersion): Added.
367         (makeNightlyList): Added argument to provide version of Mac OS X.
368         Restrict range of nightly builds based on Safari and Mac OS X versions.
369
370 2007-11-04  Kevin McCullough  <kmccullough@apple.com>
371
372         Reviewed by Maciej.
373
374         - This patch involves several changes, all of them were noticed that
375         they were needed by the work being done in WebKit to get Drosera and
376         WebKit working together on Windows.
377         - The changes are:
378         1) Added a debugger console for output messages.
379         2) Drosera now listens for the WebKit server (before, the server would
380         have to be running before Drosera was started.)
381         3) Fixed a bug where the WebView started out as 0x0 pixels.
382         4) Fixed a bug when there is no scope.
383         5) Added the HTML, JS, and CSS to the project file to make them easy to
384         find.
385         6) Made the ServerConnection functions virtual.
386
387         * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
388         for the WebKit server.
389         (DebuggerClient::DebuggerClient):
390         (DebuggerClient::~DebuggerClient):
391         (DebuggerClient::didFinishLoadForFrame):
392         (DebuggerClient::serverConnected):
393         (DebuggerClient::attemptToCreateServerConnection):
394         * Drosera/win/DebuggerClient.h: Ditto.
395         * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
396         scope.
397         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
398         (DebuggerDocument::platformValueForScopeVariableNamed):
399         * Drosera/win/Drosera.cpp:
400         (_tWinMain): Added a console in debug for output messages.
401         (Drosera::Drosera): Listen for server.
402         (Drosera::initUI): The server now Initializes COM.
403         (Drosera::serverConnected): Part of the listening for the server.
404         (Drosera::attemptToCreateServerConnection): Ditto.
405         * Drosera/win/Drosera.h: New interface for listening for the server.
406         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
407         files to the VS project.
408         * Drosera/win/ServerConnection.cpp: Part of listening for the server
409         connection.
410         (ServerConnection::ServerConnection):
411         (ServerConnection::attemptToCreateServerConnection):
412         * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
413         methods.
414         (ServerConnection::serverConnected):
415
416 2007-11-04  Alexey Proskuryakov  <ap@webkit.org>
417
418         Reviewed by Maciej.
419
420         http://bugs.webkit.org/show_bug.cgi?id=15832
421         fast/dom/gc-10.html crashes when run alone
422
423         Check for !done before using objects that can be already deallocated.
424
425         * DumpRenderTree/mac/EditingDelegate.mm:
426         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
427         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
428         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
429         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
430         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
431         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
432         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
433         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
434         (-[EditingDelegate webViewDidBeginEditing:]):
435         (-[EditingDelegate webViewDidChange:]):
436         (-[EditingDelegate webViewDidEndEditing:]):
437         (-[EditingDelegate webViewDidChangeTypingStyle:]):
438         (-[EditingDelegate webViewDidChangeSelection:]):
439         * DumpRenderTree/mac/FrameLoadDelegate.mm:
440         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
441         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
442         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
443         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
444         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
445         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
446         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
447         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
448         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
449         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
450         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
451         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
452         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
453         (-[FrameLoadDelegate webView:willCloseFrame:]):
454         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
455         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
456         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
457         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
458         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
459         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
460         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
461         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
462         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
463
464 2007-11-04  Mark Rowe  <mrowe@apple.com>
465
466         Build fix.  Don't use Carbon.h as the prefix header as it triggers
467         warnings that would otherwise be suppressed due to it being a system header.
468
469         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
470
471 2007-11-03  Maciej Stachowiak  <mjs@apple.com>
472
473         Rubber stamped by Adam.
474         
475         - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
476
477         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
478
479 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
480
481         Sort files(...); sections of Xcode project files.
482
483         Rubber-stamped by Darin.
484
485         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
486         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
487         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
488         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
489
490 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
491
492         Script to sort "files(...);" sections in Xcode project.pbxproj files.
493
494         Reviewed by Darin.
495
496         * Scripts/sort-Xcode-project-file: Added.
497
498 2007-11-02  Darin Adler  <darin@apple.com>
499
500         * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
501
502 2007-11-02  Darin Adler  <darin@apple.com>
503
504         Reviewed by Maciej.
505
506         * Scripts/run-sunspider: Pass the "--base" option through.
507
508         * Scripts/sunspider-compare-results: Don't check the number of parameters; let
509         the real script do that. Default configuration to Release to match run-sunspider
510         so we don't end up building Debug just to compare results.
511
512 2007-11-01  Adam Roben  <aroben@apple.com>
513
514         Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
515
516         Reviewed by Sam.
517
518         * Scripts/commit-log-editor: Show all the directories beneath the
519         source root, instead of just the last one.
520
521 2007-11-01  Kevin Ollivier  <kevino@theolliviers.com>
522
523         Reviewed by Adam Roben.
524
525         Print out an error message when the Windows build fails
526         and provide guidance on how to find out what went wrong.
527
528         * Scripts/build-webkit:
529         * Scripts/webkitdirs.pm:
530
531 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
532
533         Rubber-stamped by Adam Roben.
534
535         Rolled out r27326 - debug CRT seems to cause no problems after all.
536
537         * DumpRenderTree/win/DumpRenderTree.vcproj:
538
539 2007-10-31  Adam Roben  <aroben@apple.com>
540
541         Switch the Debug configuration to using the non-debug CRT
542
543         This matches WebKit.
544
545         Reviewed by Steve.
546
547         * DumpRenderTree/win/DumpRenderTree.vcproj:
548
549 2007-10-31  Antti Koivisto  <antti@apple.com>
550
551         Reviewed by bdash.
552         
553         Disable media tests when doing leak checking on Tiger.
554         They crash in QuickTime (rdar://problem/5537157).
555
556         * Scripts/run-webkit-tests:
557
558 2007-10-29  Antti Koivisto  <antti@apple.com>
559
560         Reviewed by Maciej.
561         
562         Build media support by default on OSX only.
563
564         * Scripts/build-webkit:
565
566 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
567
568         - Made Adam the reviewer for a previous checkin. Not sure how it didn't
569         get caught by the pre-commit hooks.
570
571 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
572
573         Reviewed by Adam.
574
575         - This is a collection of relatively unrelated changes and cleanups
576         to Drosera to prepare it for interacting with WebKit.  A lot of these
577         changes are just correcting mistakes, for example removing included
578         headers that are no longer needed.
579
580         * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
581         this will be needed by the DebuggerClient.
582         (DebuggerDocument::server):
583         * Drosera/win/BaseDelegate.h: Removed unnecessary include.
584         * Drosera/win/DebuggerClient.cpp: 
585         (DebuggerClient::didFinishLoadForFrame): Finished implementing.
586         (DebuggerClient::didReceiveTitle): Added comment about its purpose.
587         (DebuggerClient::createWebViewWithRequest): Added comment about its
588         purpose. 
589         * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
590         declarations.
591         (DebuggerClient::webViewLoaded): Moved.
592         * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
593         file, since this was the only place it was used.
594         (cfStringToBSTR):
595         * Drosera/win/Drosera.h: Cleaned up the includes.
596         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
597         * Drosera/win/HelperFunctions.h: Removed.
598
599 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
600
601         Reviewed by Adam.
602
603         - Small cleanup in the ServerConnection class.
604
605         * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
606         and added an include.
607         (ServerConnection::currentFrame):
608         (ServerConnection::getCallerFrame):
609         * Drosera/win/ServerConnection.h: Added comments, moved some functions,
610         made a pointer into a COMPtr, and cleaned up the includes.
611
612 2007-10-29  Timothy Hatcher  <timothy@apple.com>
613
614         Reviewed by John Sullivan.
615         
616         - Place the Localizable.strings file in mac or win directories
617           if that location exists.
618         - Also look for UI_STRING in .c files.
619
620         * Scripts/extract-localizable-strings:
621
622 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
623
624         Reviewed by Adam.
625
626         - Set the eol-style to native and made all the line endings the same
627         so that I avoid messy diffs that show eol changes.
628
629         * Drosera/win/ServerConnection.cpp:
630         (ServerConnection::didParseSource):
631         (ServerConnection::didEnterCallFrame):
632         (ServerConnection::willExecuteStatement):
633         (ServerConnection::willLeaveCallFrame):
634         (ServerConnection::exceptionWasRaised):
635
636 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
637
638         Reviewed by Adam.
639
640         * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
641         functionality that could not have existed previously without the new
642         interfaces.
643         (JSValueRefCreateWithBSTR): Added a helper function to easily convert
644         from a BSTR to a JSValueRef.
645         (DebuggerDocument::platformEvaluateScript): Implemented.
646         (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
647         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
648         Implemented.
649         (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
650         * Drosera/win/HelperFunctions.h: Cleaned up some comments.
651         * Drosera/win/ServerConnection.cpp: Added a helper function.
652         (ServerConnection::getCallerFrame):
653         * Drosera/win/ServerConnection.h: Added a helper function.
654
655 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
656
657         updated reviewers for my previous changelog.
658
659 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
660         Reviewed by Maciej and Adam and Geoff.
661
662         - Minor mac-side improvements including moving a function to a more
663         appropriate location, fixing a warning, and correctly checking
664         exceptions.
665
666         * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
667         (DebuggerDocument::willExecuteStatement):
668         (DebuggerDocument::didEnterCallFrame):
669         (DebuggerDocument::willLeaveCallFrame):
670         (DebuggerDocument::windowScriptObjectAvailable):
671         (DebuggerDocument::callFunctionOnObject):
672         * Drosera/mac/DebuggerClient.mm: Fixes a warning.
673         * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
674         webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
675         because it doesn't require the ServerConnection at all.
676         (NSStringCreateWithJSStringRef): Made an argument const.
677         (JSValueRefCreateWithNSString): Made an argument const.
678         (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
679         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
680         * Drosera/mac/ServerConnection.h: Moved aforementioned function.
681         * Drosera/mac/ServerConnection.mm: Ditto.
682         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
683
684 2007-10-29  Sam Weinig  <sam@webkit.org>
685
686         Reviewed by Adam Roben.
687
688         Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
689
690         * DumpRenderTree/LayoutTestController.cpp:
691         (LayoutTestController::LayoutTestController):
692         (getGlobalFlagCallback):
693         (setGlobalFlagCallback):
694         (LayoutTestController::getJSClass):
695         (LayoutTestController::staticValues):
696         * DumpRenderTree/LayoutTestController.h:
697         (LayoutTestController::globalFlag):
698         (LayoutTestController::setGlobalFlag):
699
700 2007-10-29  Darin Adler  <darin@apple.com>
701
702         Reviewed by Maciej.
703
704         * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
705         resolution instead of its default.
706
707 2007-10-29  David Kilzer  <ddkilzer@webkit.org>
708
709         Fixed showStatus() to print status for successfully resolved conflicts when using git.
710
711         Reviewed by Mark Rowe.
712
713         Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
714         was successfully resolved, but this would not show any status because the change had
715         already been cached in the index using "git add".  The solution is to add an optional
716         second argument to showStatus() which adds the "--cached" switch to the command.
717
718         * Scripts/resolve-ChangeLogs:
719         (showStatus):
720
721 2007-10-28  Eric Seidel  <eric@webkit.org>
722
723         Reviewed by Maciej and Geoff, in unison.
724
725         * Scripts/run-webkit-tests: remove broken --svg option
726
727 2007-10-28  Darin Adler  <darin@apple.com>
728
729         Reviewed by Adam.
730
731         * Scripts/run-sunspider: Default to "Release" configuration rather than
732         defaulting to the last configuration used as other scripts do. This can
733         still be overriden on the command line with "--debug" if there's some
734         reason to do so. Also fix a typo.
735
736         * Scripts/sunspider-compare-results: Fix a typo.
737
738 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
739
740         Reviewed by Adam.
741
742         - Implemented the WebScriptDebugListener functions now that the
743         WebScriptDebugServer exists
744
745         * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
746         functions.
747         (ServerConnection::currentFrame):
748         (ServerConnection::didLoadMainResourceForDataSource):
749         (ServerConnection::didParseSource):
750         (ServerConnection::failedToParseSource):
751         (ServerConnection::didEnterCallFrame):
752         (ServerConnection::willExecuteStatement):
753         (ServerConnection::willLeaveCallFrame):
754         (ServerConnection::exceptionWasRaised):
755         * Drosera/win/ServerConnection.h: Removed unused arguments from the
756         members arguments list.
757
758 2007-10-26  David Kilzer  <ddkilzer@webkit.org>
759
760         prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
761         <http://bugs.webkit.org/show_bug.cgi?id=15600>
762
763         Reviewed by Darin.
764
765         The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
766         a patch of the local changes and applying it with a fuzz level of 3 to the new file.
767         If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
768         file.  Note that it may also be used as a stand-alone script.
769
770         * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
771         * Scripts/resolve-ChangeLogs: Added.
772         * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
773
774 2007-10-26  Mark Rowe  <mrowe@apple.com>
775
776         Qt build fix.  r27084 added a destructor implementation for LayoutTestController
777         to the Qt port on the assumption that it was an implementation of the cross-platform
778         LayoutTestController class.  It is not, so it did not need to be changed.
779
780         * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
781
782 2007-10-25  Mark Rowe  <mrowe@apple.com>
783
784         Reviewed by Maciej.
785
786         Fix builds with code coverage enabled.
787
788         * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
789
790 2007-10-25  Darin Adler  <darin@apple.com>
791
792         Reviewed by Mark Rowe.
793
794         * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
795         * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
796
797 2007-10-25  Stephanie  <slewis@apple.com>
798
799         build Fix
800
801         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
802
803 2007-10-25  Stephanie  <slewis@apple.com>
804
805         Reviewed by Mark Rowe, Adam Roben.
806
807         Weak link against WebCore so DumpRenderTree can be bundled with production roots.
808
809         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 
810
811 2007-10-25  Alice Liu  <alice.liu@apple.com>
812
813         Reviewed by Adam.
814
815         Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
816
817         Moving destructor into platform-specific files
818         * DumpRenderTree/LayoutTestController.cpp:
819         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
820         (LayoutTestController::~LayoutTestController):
821         * DumpRenderTree/qt/jsobjects.cpp:
822         (LayoutTestController::~LayoutTestController):
823
824         LayoutTestController wasn't being destroyed
825         * DumpRenderTree/win/DumpRenderTree.cpp:
826         (runTest):
827
828         Added declspec
829         * DumpRenderTree/win/EditingDelegate.h:
830
831         Reset certain values on the webview (or related delegate) that might 
832         have changed while running a test
833         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
834         (LayoutTestController::~LayoutTestController):
835
836 2007-10-25  Adam Roben  <aroben@apple.com>
837
838         Make sunspider-compare-results work with relative paths
839
840         Reviewed by Sam.
841
842         * Scripts/sunspider-compare-results: Convert arguments to absolute
843         paths before we chdir.
844
845 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
846
847         Reviewed by Sam.
848
849         - Implemented server calls now the WebScriptDebugServer exists.
850         - Also removed no longer needed call to initialize CG.
851
852         * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
853         automatically now.
854         (_tWinMain):
855         * Drosera/win/ServerConnection.cpp: Now uses the COM class.
856         (ServerConnection::ServerConnection):
857         (ServerConnection::~ServerConnection):
858         (ServerConnection::pause):
859         (ServerConnection::resume):
860         (ServerConnection::stepInto):
861         (ServerConnection::applicationTerminating):
862         (ServerConnection::serverConnectionDidDie):
863         * Drosera/win/ServerConnection.h: Now uses the COM class.
864
865 2007-10-24  George Staikos  <staikos@kde.org>
866
867         Unbreak Qt build.
868
869         * Scripts/build-webkit:
870
871 2007-10-24  Adam Roben  <aroben@apple.com>
872
873         Remove now-unnecessary call to InitializeCoreGraphics
874
875         WebKit takes care of this now.
876
877         Reviewed by Ada.
878
879         * DumpRenderTree/win/DumpRenderTree.cpp:
880         (initialize):
881
882 2007-10-24  Adam Roben  <aroben@apple.com>
883
884         Use WebTextRenderer in DRT
885
886         Reviewed by Ada.
887
888         * DumpRenderTree/win/DumpRenderTree.cpp:
889         (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
890
891 2007-10-24  Sven Herzberg  <sven@imendio.com>
892
893         Reviewed by Mark Rowe.
894
895         Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
896         Bug 15614: [GTK] qmake based backends don't build on OS X
897
898         * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
899         GTK backend on a Mac
900         * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
901         isDarwin() to make it reusable in other places (like the workaround-
902         for-prebuilt-qmake in build-webkit)
903
904 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
905
906         Refurbish update-webkit script.
907
908         Reviewed by Adam.
909
910         * Scripts/update-webkit: Add -h|--help switch and usage statement.  Check result of
911         GetOptions() call.  Fix -q|--quiet switch to be passed to svn command properly.  Use
912         multi-argument version of system() for flexibility and security.  Check for existence
913         of Internal directory using -d test instead of -x.
914
915 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
916
917         Minor clean-up of prepare-ChangeLog script.
918
919         Reviewed by Adam.
920
921         * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
922         of a string.  Use multi-argument versions of open() and system() for flexibility and
923         security.
924
925 2007-10-24  Alice Liu  <alice.liu@apple.com>
926
927         Reviewed by Oliver.
928
929         Fix <rdar://5410959>  editing/selection/drag-to-contenteditable-iframe.html fails on Windows
930
931         Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to 
932         replay the saved events when we're still processing the mousedown that starts the drag
933         * DumpRenderTree/win/EventSender.cpp:
934         (doMouseMove):
935         * DumpRenderTree/win/UIDelegate.cpp:
936         (UIDelegate::doDragDrop):
937
938 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
939
940         Reviewed by Sam, Steve and Darin.
941
942         - Stubbed out the WebScriptDebugListener functionality in the Server
943         Connection class to prepare it for receiving those callbacks.
944         - Also I changed the instantiation of DebuggerClient, DebuggerDocument
945         and the ServerConnection to not need to be initialized with a server
946         name, since that is not the way we connect to the WebKit server. 
947
948         * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
949         no exception.  Now it only loggs when there is an exception
950         (DebuggerDocument::willExecuteStatement):
951         (DebuggerDocument::didEnterCallFrame):
952         (DebuggerDocument::willLeaveCallFrame):
953         (DebuggerDocument::windowScriptObjectAvailable):
954         (DebuggerDocument::callFunctionOnObject):
955         * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
956         to be instantiated with a server's name.
957         (DebuggerClient::DebuggerClient):
958         (DebuggerClient::didFinishLoadForFrame):
959         * Drosera/win/DebuggerClient.h: Removed unsued variable.
960         * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
961         a server name.
962         (Drosera::init):
963         (Drosera::initServer):
964         * Drosera/win/Drosera.h: No longer need the ServerConnection to be
965         instantiated with a server's name.
966         * Drosera/win/ServerConnection.cpp: 
967         (ServerConnection::ServerConnection): No longer needs a server name
968         (ServerConnection::~ServerConnection): Only release the global context
969         if there is one.
970         (ServerConnection::serverConnectionDidDie): Stub for
971         IWebScriptDebugListener
972         (ServerConnection::QueryInterface): ditto
973         (ServerConnection::AddRef): ditto
974         (ServerConnection::Release): ditto
975         (ServerConnection::didLoadMainResourceForDataSource): ditto
976         (ServerConnection::didParseSource): ditto
977         (ServerConnection::failedToParseSource): ditto
978         (ServerConnection::didEnterCallFrame): ditto
979         (ServerConnection::willExecuteStatement): ditto
980         (ServerConnection::willLeaveCallFrame): ditto
981         (ServerConnection::exceptionWasRaised): ditto
982         * Drosera/win/ServerConnection.h: Stubbed out the
983         IWebScriptDebugListener functions, and this class no longer needs to be
984         instantiated with a server name.
985
986 2007-10-24  Lars Knoll  <lars@trolltech.com>
987
988         Reviewed by Simon.
989
990         add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
991
992         * DumpRenderTree/qt/jsobjects.h:
993
994 2007-10-24  Lars Knoll  <lars@trolltech.com>
995
996         Reviewed by Simon.
997
998         add another command.
999
1000         * DumpRenderTree/qt/jsobjects.cpp:
1001         (TextInputController::doCommand):
1002
1003 2007-10-24  Lars Knoll  <lars@trolltech.com>
1004
1005         Reviewed by Simon.
1006
1007         add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
1008
1009         * DumpRenderTree/qt/jsobjects.cpp:
1010         (EventSender::keyDown):
1011         * DumpRenderTree/qt/jsobjects.h:
1012
1013 2007-10-24  Lars Knoll  <lars@trolltech.com>
1014
1015         Reviewed by Simon.
1016
1017         implement eventSender.keyDown().
1018
1019         * DumpRenderTree/qt/jsobjects.cpp:
1020         (EventSender::keyDown):
1021
1022 2007-10-24  Lars Knoll  <lars@trolltech.com>
1023
1024         Reviewed by Simon.
1025
1026         some smaller fixes to the editing support in DRT. Makes another few tests pass.
1027
1028         * DumpRenderTree/qt/DumpRenderTree.cpp:
1029         (WebCore::DumpRenderTree::DumpRenderTree):
1030         (WebCore::DumpRenderTree::initJSObjects):
1031         * DumpRenderTree/qt/jsobjects.cpp:
1032         (TextInputController::doCommand):
1033
1034 2007-10-24  Lars Knoll  <lars@trolltech.com>
1035
1036         Reviewed by Simon.
1037
1038         first bit of implementation for the textinputcontroller.
1039
1040         * DumpRenderTree/qt/DumpRenderTree.cpp:
1041         (WebCore::DumpRenderTree::DumpRenderTree):
1042         * DumpRenderTree/qt/DumpRenderTree.h:
1043         * DumpRenderTree/qt/jsobjects.cpp:
1044         (TextInputController::TextInputController):
1045         (TextInputController::doCommand):
1046         * DumpRenderTree/qt/jsobjects.h:
1047
1048 2007-10-24  Lars Knoll  <lars@trolltech.com>
1049
1050         Reviewed by Simon.
1051
1052         make the man webpage believe it has focus, so the editing tests work correctly.
1053
1054         * DumpRenderTree/qt/DumpRenderTree.cpp:
1055         (WebCore::DumpRenderTree::DumpRenderTree):
1056
1057 2007-10-24  Lars Knoll  <lars@trolltech.com>
1058
1059         Reviewed by Simon.
1060
1061         implement layoutTestController.dumpEditingCallbacks() correctly.
1062
1063         * DumpRenderTree/qt/DumpRenderTree.cpp:
1064         (WebCore::DumpRenderTree::DumpRenderTree):
1065         * DumpRenderTree/qt/jsobjects.cpp:
1066         (LayoutTestController::reset):
1067         (LayoutTestController::dumpEditingCallbacks):
1068
1069 2007-10-24  Lars Knoll  <lars@trolltech.com>
1070
1071         Reviewed by Simon.
1072
1073         Implement support for testing editing.
1074
1075         * DumpRenderTree/qt/DumpRenderTree.cpp:
1076         (WebCore::DumpRenderTree::DumpRenderTree):
1077
1078 2007-10-23  Sam Weinig  <sam@webkit.org>
1079
1080         Check for null BSTR that can be passed to the UIDelegate methods
1081         from javascript null and undefined.  Fixes a failing test case on
1082         Windows (fast/dom/Window/alert-undefined.html)
1083
1084         Reviewed by Eric Seidel.
1085
1086         * DumpRenderTree/win/UIDelegate.cpp:
1087         (UIDelegate::runJavaScriptAlertPanelWithMessage):
1088         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1089         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1090         (UIDelegate::webViewAddMessageToConsole):
1091
1092 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
1093
1094         Reviewed by Darin.
1095         
1096         Don't print a massive pile of setenvs from tools that automatically build testkjs.
1097
1098         * Scripts/build-testkjs:
1099
1100 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
1101
1102         Reviewed by Darin.
1103
1104         - add wrapper that finds the right copy of testkjs
1105         
1106         * Scripts/sunspider-compare-results: Added.
1107
1108 2007-10-23  Kevin McCullough  <kmccullough@apple.com>
1109
1110         Reviewed by Sam.
1111
1112         - After talking with Steve I now see that the WebKit server must be
1113         running for DCOM to create the distributed objects, which makes sense
1114         and currently WebKit only allows one instance to be running at a time
1115         which avoids accidentally connecting to the wrong server
1116         - In light of this I have removed the code for the attach box and
1117         NotificationServer and known server names, since they are all extranious
1118         now.
1119
1120         * Drosera/win/Drosera.cpp: Removed notification classes and known server
1121         names.
1122         (_tWinMain): Uses init instead of initUI.
1123         (droseraWndProc): No longer creats an attach dialog box.
1124         (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
1125         it's not manditory to call init before doing COM stuff.
1126         (Drosera::init): calls initUI and will call attach when the
1127         functionality exists. 
1128         (Drosera::initUI): Has changed very little.
1129         (Drosera::attach): Changed the signature to reflect that we no longer
1130         need the dictionary of known server names.
1131         * Drosera/win/Drosera.h: Removed notification classes and known server
1132         names.  Also renamed and moved some functions.
1133         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
1134         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
1135         headers to the resources folder. 
1136         * Drosera/win/resource.h: Removed the Attach box.
1137
1138 2007-10-22  Adam Roben  <aroben@apple.com>
1139
1140         Windows build fix
1141
1142         * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
1143
1144 2007-10-22  Kevin McCullough  <kmccullough@apple.com>
1145
1146         - Removed a leak that was fixed.
1147
1148         * Scripts/run-webkit-tests:
1149
1150 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
1151
1152         Reviewed by Darin.
1153
1154         - Changed the Client so that the DebuggerDocument now own the
1155         ServerConnection.  This simplifies ownership and cleanup. 
1156
1157         * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
1158         ServerConnection.
1159         (DebuggerClient::initWithServerName):
1160         (DebuggerClient::didFinishLoadForFrame):
1161         * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the 
1162         ServerConnection.
1163         * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
1164         until after we have a server which we are attached to.
1165         (Drosera::initUI):
1166         (Drosera::attach):
1167         * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
1168         out previously.
1169
1170 2007-10-22  Simon Hausmann  <hausmann@kde.org>
1171
1172         Reviewed by Nikolas.
1173
1174         When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
1175
1176         * Scripts/run-javascriptcore-tests:
1177
1178 2007-10-22  Simon Hausmann  <hausmann@kde.org>
1179
1180         Reviewed by Nikolas.
1181
1182         Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
1183
1184         * Scripts/build-drosera:
1185         * Scripts/build-dumprendertree:
1186         * Scripts/build-testkjs:
1187         * Scripts/build-webkit:
1188         * Scripts/run-javascriptcore-tests:
1189         * Scripts/run-sunspider:
1190         * Scripts/run-webkit-tests:
1191         * Scripts/webkitdirs.pm:
1192
1193 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
1194
1195         Reviewed by Mark Rowe.
1196         
1197         Fix for local database support after r26879
1198         Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
1199
1200         * Scripts/build-webkit:
1201
1202 2007-10-22  Holger Freyther  <zecke@selfish.org>
1203
1204         Reviewed by Simon Hausmann <hausmann@kde.org>.
1205
1206         - Do not build testkjs as an application bundle. This is
1207         needed for run-javascriptcore-tests on OSX.
1208         - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
1209         - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
1210         as we do not have -rpath on OSX.
1211
1212         * DumpRenderTree/qt/DumpRenderTree.pro:
1213         * Scripts/run-webkit-tests:
1214
1215 2007-10-22  Simon Hausmann  <hausmann@kde.org>
1216
1217         Reviewed by aroben.
1218
1219         Fix support for Signed-off-by detection in prepare-ChangeLog
1220         --git-commit. The Signed-off-by tag does not appear in the header
1221         but usually at the end.
1222
1223         * Scripts/prepare-ChangeLog:
1224
1225 2007-10-21  Mark Rowe  <mrowe@apple.com>
1226
1227         Reviewed by Eric.
1228
1229         Fix run-javascriptcore-tests for Gtk.
1230
1231         * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
1232
1233 2007-10-20  Eric Seidel  <eric@webkit.org>
1234
1235         Reviewed by aroben.
1236
1237         * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
1238
1239 2007-10-20  Eric Seidel  <eric@webkit.org>
1240
1241         Reviewed by darin.
1242         
1243         Add improved argument handling to run-sunspider, including
1244         --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
1245         Also re-factor code into subroutines
1246
1247         * Scripts/build-dumprendertree: removed bogus comments
1248         * Scripts/build-testkjs: Added.
1249         * Scripts/run-javascriptcore-tests: use build-testkjs
1250         * Scripts/run-sunspider: improved argument handling, abstraction
1251         * Scripts/run-webkit-tests: improved abstraction
1252
1253 2007-10-20  Matt Lilek  <webkit@mattlilek.com>
1254
1255         Not reviewed, Windows build fix.
1256
1257         * DumpRenderTree/win/EventSender.cpp:
1258         (keyDownCallback):
1259
1260 2007-10-20  Darin Adler  <darin@apple.com>
1261
1262         Reviewed by Tim Hatcher.
1263
1264         - http://bugs.webkit.org/show_bug.cgi?id=15544
1265           <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
1266           not rely on Apple-specific key codes
1267
1268         * DumpRenderTree/mac/EventSendingController.mm:
1269         (-[EventSendingController keyDown:withModifiers:]):
1270         Added named key "rightArrow". Later we could have a whole table of these.
1271         Also tweaked modifiers code a little.
1272
1273         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
1274
1275 2007-10-19  Darin Adler  <darin@apple.com>
1276
1277         Reviewed by Eric.
1278
1279         - http://bugs.webkit.org/show_bug.cgi?id=15566
1280           possible fix for leak seen in DumpRenderTree
1281
1282         * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
1283         Delete the item if it's not put on the queue, since the caller has
1284         no way of knowing that. Would be better to have the parameter type
1285         be auto_ptr to express the fact that we take ownership.
1286
1287         - unrelated change
1288
1289         * Drosera/mac/main.m: Add missing include.
1290
1291 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
1292
1293         Reviewed by Adam.
1294
1295         - This change should be identical but for some reason was not working
1296         on my machine.
1297
1298         * Scripts/prepare-ChangeLog:
1299
1300 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
1301
1302         Reviewed by Oliver and Tim.
1303
1304         - Made use of RetainPtr to avoid retain and release issues and moved the
1305         log function to DebuggerDocumentPlatform, which seems to be a more
1306         logical place for it to live.
1307         - Also moved knownServers from the ServerConnection to
1308         DebuggerApplication to match the Windows code and because it makes sense
1309         that a connection knows its own server but not all of them.
1310
1311         * Drosera/mac/DebuggerClient.h: Moved the log function to
1312           DebuggerDocumentPlatform.
1313         * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
1314           Because it's owned by an own Ptr in DebuggerDocument.  Also moved the
1315           call for the server name up from the ServerConnection class.
1316         (-[DebuggerClient dealloc]):
1317         (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
1318           for the server name up from the ServerConnection.
1319         * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
1320         (DebuggerDocument::platformPause):
1321         (DebuggerDocument::platformResume):
1322         (DebuggerDocument::platformStepInto):
1323         (DebuggerDocument::platformEvaluateScript):
1324         (DebuggerDocument::getPlatformCurrentFunctionStack):
1325         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1326         (DebuggerDocument::platformValueForScopeVariableNamed):
1327         (DebuggerDocument::platformLog): Log directly from here. No need to call
1328           DebuggerClient.
1329         * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
1330           way I see it, a ServerConnection should only know about its connection
1331           and the group of all possible servers should be kept by the
1332           application.
1333         * Drosera/mac/ServerConnection.mm: Removed knownServer but added
1334           currentServerName, it makes sense that the connection should know that
1335           name.
1336         (-[ServerConnection currentServerName]):
1337
1338 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
1339
1340         Reviewed by Adam.
1341
1342         - Integrated changes from mac drosera.  Recently I've encapsulated
1343         out the server connection object from the rest of Drosera because
1344         it is very platform dependent right now and RPC is not implemented on
1345         windows.  This functionality, of communicating with the WebKit server
1346         is the next area I will be focusing on in Windows.
1347
1348         - Other changes and cleanup were made to organize the code and add notes
1349         on which parts still need work.  Also some mac code is added and
1350         commented out, to act as pseudocode for the logic of those parts.
1351
1352         * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1353           pointer.
1354         * Drosera/config.h: Added whitespace.
1355         * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1356           these files got moved into Drosera.h/cpp
1357         * Drosera/win/DebuggerApplication.h: Removed.
1358         * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring 
1359           happened here to better match the logic flow of the same code on the 
1360           mac side and to use the new ServerConnection class.
1361         (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1362         (DebuggerClient::initWithServerName): Initializer that will set up the
1363           class to use a ServerConnection object.  This was necessary so I could
1364           create a DebuggerClient without having to initilaize it at
1365           construction.
1366         (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1367           will be the UIDelegate and FrameLoadDelegate.
1368         (DebuggerClient::AddRef): For IUnknown.
1369         (DebuggerClient::Release): For IUnknown.
1370         (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1371           this still needs to set the global context of the server, but
1372           IWebFrame does not have an accessor for the global context yet. 
1373         (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1374           this is a pass through for the same function in the document.
1375         (DebuggerClient::didReceiveTitle): Unimplemented part of
1376           FrameLoadDelegate this would change the title of the window.
1377         (DebuggerClient::createWebViewWithRequest): Part of the
1378           FrameLoadDelegate.  This is about new windows via Window.open() and
1379           how their delegates are set.
1380         (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1381           UIDelegate.  Just a debug function for printing messages.
1382         * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1383           because the Client should be the UIDelegate and FrameLoadDelegate
1384           to match the delegates on mac.
1385         (DebuggerClient::webViewLoaded): Added accessor method.
1386         * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1387           forgotten to add this file before.  This is where the platform
1388           dependent versions of the Documents functions live. Most of these are
1389           unimplemented because some piece of functionality does not exist on
1390           Windows yet.
1391         (DebuggerDocument::platformPause):
1392         (DebuggerDocument::platformResume):
1393         (DebuggerDocument::platformStepInto):
1394         (DebuggerDocument::platformEvaluateScript):
1395         (DebuggerDocument::getPlatformCurrentFunctionStack):
1396         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1397         (DebuggerDocument::platformValueForScopeVariableNamed):
1398         (DebuggerDocument::platformLog):
1399         * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1400           responsibilities becaue they belong in the Client. Also I laid the
1401           groundwork for attaching Drosera to a WebKit process
1402         (attachWndProc): Now if a server is selected the Client becomes it's
1403           delegate.
1404         (Drosera::Drosera): Added the construction of the Client and dictionary
1405           of server names. 
1406         (Drosera::initUI): This is no longer the delegates, the Client is.
1407         (Drosera::webViewLoaded): Now asks the Client instead of holding local
1408           state. 
1409         (Drosera::applicationDidFinishLaunching): Placeholder for needed
1410           notification registration when it's possible to implement.
1411         (Drosera::serverLoaded): Ditto
1412         (Drosera::serverUnloaded): Ditto
1413         (Drosera::attach): Attach Drosera to the WebKit server.
1414         * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1415         (Drosera::getInst): 
1416         (Drosera::setInst):
1417         (Drosera::knownServers):
1418         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1419           and added the ServerConnection.
1420         * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1421         * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1422           Most of the functions are completely unimlemented because they cannot
1423           connect with the WebKit server, because one does not exist on Windows
1424           yet.
1425         (ServerConnection::initWithServerName): 
1426         (ServerConnection::~ServerConnection):
1427         (ServerConnection::setGlobalContext):
1428         (ServerConnection::pause):
1429         (ServerConnection::resume):
1430         (ServerConnection::stepInto):
1431         (ServerConnection::switchToServerNamed):
1432         (ServerConnection::applicationTerminating):
1433         (ServerConnection::serverConnectionDidDie):
1434         (ServerConnection::currentFrame):
1435         * Drosera/win/ServerConnection.h: Added. Ditto.
1436         (ServerConnection::ServerConnection):
1437
1438 2007-10-19  Alice Liu  <alice.liu@apple.com>
1439
1440         Reviewed by Darin.
1441
1442         Fix for these broken layout tests on Windows:
1443         
1444         fast/forms/focus-selection-input.html
1445         fast/forms/focus-selection-textarea.html
1446         fast/forms/select-accesskey.html
1447         
1448         * DumpRenderTree/win/EventSender.cpp:
1449         (keyDownCallback):
1450         correct the VK code for alt key.
1451         
1452 2007-10-19  Eric Seidel  <eric@webkit.org>
1453
1454         Reviewed by Mark Rowe.
1455         
1456         Make the GtkLauncher code slightly more readable.
1457
1458         * GtkLauncher/main.cpp:
1459         (setupMainMenu): Added.
1460         (setupMainWindowUI): Added.
1461         (main):
1462
1463 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
1464
1465         Rubber stamped by Adam.
1466         
1467         - don't delay-load WebKit in DumpRenderTree.
1468
1469         * DumpRenderTree/win/DumpRenderTree.vcproj:
1470
1471 2007-10-18  Dan Bernstein  <mitz@apple.com>
1472
1473         Reviewed by Adam Roben.
1474
1475         - fix <rdar://problem/5313523>
1476         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1477
1478         * DumpRenderTree/mac/DumpRenderTree.mm:
1479         (dump): Changed to use _responseMIMEType.
1480
1481 2007-10-17  Adam Roben  <aroben@apple.com>
1482
1483         Make it possible to have Windows-specific tests and results
1484
1485         When searching for tests to run and the Skipped file, we will only
1486         look in platform/win and the cross-platform directory. When looking
1487         for expected results, we will look in platform/win, then
1488         platform/mac-leopard, then platform/mac, then finally the
1489         cross-platform directory.
1490
1491         Reviewed by Sam.
1492
1493         * Scripts/run-webkit-tests:
1494         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1495         searching in the cross-platform directory.
1496         (sub buildPlatformHierarchy): Removed some unneeded calls to
1497         dirname/basename.
1498
1499 2007-10-17  Adam Roben  <aroben@apple.com>
1500
1501         Add back the call to register WebKit that we had before WebKitInitializer existed
1502
1503         This is needed to ensure that the right WebKit is used when
1504         instantiating COM objects.
1505
1506         Reviewed by Oliver.
1507
1508         * DumpRenderTree/win/debug_internal.vsprops: Define
1509         DEBUG_WEBKIT_HAS_SUFFIX.
1510         * DumpRenderTree/win/DumpRenderTree.cpp:
1511         (initialize):
1512
1513 2007-10-17  Adam Roben  <aroben@apple.com>
1514
1515         Import File::Basename in webkitdirs since we use it
1516
1517         * Scripts/webkitdirs.pm:
1518
1519 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
1520
1521         - Updated the tiger leaks list to make the internal bots green.
1522
1523         * Scripts/run-webkit-tests:
1524
1525 2007-10-17  Adam Roben  <aroben@apple.com>
1526
1527         Build fix for VC++ Express
1528
1529         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1530         and ole32.lib.
1531
1532 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
1533
1534         Reviewed by Sam.
1535
1536         - Minor mac improvements based on observations I made while implementing the
1537         Windows code.
1538
1539         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1540         then hand it to the Client who will retain it, it should just be the client who
1541         creates and owns the server.
1542         (-[DebuggerApplication attach:]):
1543         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1544         * Drosera/mac/DebuggerClient.mm: Creates the server.
1545         (-[DebuggerClient initWithServerName:]):
1546         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1547         can instead forward declare what it needs.
1548
1549 2007-10-16  Darin Adler  <darin@apple.com>
1550
1551         Reviewed by Geoff Garen.
1552
1553         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1554         want to turn failing tests into platform-specific test results. Also did a
1555         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1556         would take the type of results into account only some of the time.
1557
1558 2007-10-16  Adam Roben  <aroben@apple.com>
1559
1560         Add a new nightly launcher script for Windows
1561
1562         This new script is for versions of Safari that don't delay-load
1563         WebKit. I had to make FindSafari be able to print out the nightly
1564         launcher script on stdout because Windows shell scripts can't capture
1565         the output from a command into an environment variable.
1566
1567         Reviewed by Steve.
1568
1569         * FindSafari/FindSafari.cpp:
1570         (_tmain): Added /printSafariLauncher option.
1571         * Scripts/run-webkit-nightly.cmd: Added.
1572
1573 2007-10-16  Adam Roben  <aroben@apple.com>
1574
1575         Replace WebKitInitializer with FindSafari
1576
1577         We now rely on setting the PATH environment variable to tell Windows
1578         where to find WebKit and its dependencies (similar to
1579         DYLD_FRAMEWORK_PATH on Mac).
1580
1581         This change also make DumpRenderTree no longer delay-load WebKit.
1582
1583         Reviewed by Sam.
1584
1585         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1586         FindSafari.
1587         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1588         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1589         WebKitInitializer, don't delay-load WebKit.
1590         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1591         * Scripts/run-webkit-tests: Ditto.
1592         * Scripts/webkitdirs.pm:
1593         (sub setPathForRunningWebKitApp): Added.
1594         * WebKitInitializer/WebKitInitializer.cpp: Removed.
1595         * WebKitInitializer/WebKitInitializer.h: Removed.
1596         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1597         * WebKitInitializer/debug.vsprops: Removed.
1598         * WebKitInitializer/debug_internal.vsprops: Removed.
1599         * WebKitInitializer/release.vsprops: Removed.
1600
1601 2007-10-16  Adam Roben  <aroben@apple.com>
1602
1603         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1604
1605         http://bugs.webkit.org/show_bug.cgi?id=15532
1606
1607         FindSafari simply prints the location of an installed Safari.exe on
1608         stdout.
1609
1610         Reviewed by Darin.
1611
1612         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1613         (getStringValue):
1614         (getWebViewCLSID):
1615         (getInstalledWebKitDirectory):
1616         (_tmain):
1617         * FindSafari/FindSafari.vcproj: Added.
1618         * Scripts/webkitdirs.pm:
1619         (sub installedSafariPath): Added. Calls FindSafari on Windows.
1620
1621 2007-10-16  Adam Roben  <aroben@apple.com>
1622
1623         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1624
1625         Reviewed by Kevin McCullough.
1626
1627         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1628         when referring to WebKit.dll.
1629         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1630         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1631         * DumpRenderTree/win/release.vsprops: Ditto.
1632         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1633         never have a _debug suffix on WebKit.dll.
1634         * WebKitInitializer/WebKitInitializer.cpp:
1635         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1636         specified.
1637         * WebKitInitializer/debug_internal.vsprops: Added
1638         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1639
1640 2007-10-16  Darin Adler  <darin@apple.com>
1641
1642         Reviewed by Adele.
1643
1644         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1645         Remove now-unneeded control/alt key hack; the tests have been updated.
1646
1647 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
1648
1649         - Updated leaks list because our internal bot upgraded it's version of leopard and 
1650         one of the leaks was fixed between that revision and the bot's previous version of
1651         leopard.
1652
1653         * Scripts/run-webkit-tests:
1654
1655 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
1656
1657         Reviewed by Tim.
1658
1659         - I encapsulated out the server connecton functionality because it is a specific part
1660         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1661         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
1662         Windows.  So the majority of this patch is moving preexisting functionality.
1663
1664         - Also I removed the prefix header and changed to use config.h because it is more
1665         standard on how we use config.h in windows and it didn't make much sense to keep
1666         the prefix header and the config.h
1667
1668         * Drosera/DebuggerDocument.cpp:
1669         (DebuggerDocument::DebuggerDocument):
1670         * Drosera/DebuggerDocument.h:
1671         * Drosera/config.h:
1672         * Drosera/mac/DebuggerApplication.mm:
1673         (-[DebuggerApplication attach:]):
1674         * Drosera/mac/DebuggerClient.h:
1675         * Drosera/mac/DebuggerClient.mm:
1676         (-[DebuggerClient initWithServerConnection:]):
1677         (-[DebuggerClient dealloc]):
1678         (-[DebuggerClient windowDidLoad]):
1679         (-[DebuggerClient windowWillClose:]):
1680         (-[DebuggerClient webView:didFinishLoadForFrame:]):
1681         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1682         * Drosera/mac/DebuggerDocumentPlatform.mm:
1683         (DebuggerDocument::platformPause):
1684         (DebuggerDocument::platformResume):
1685         (DebuggerDocument::platformStepInto):
1686         (DebuggerDocument::platformEvaluateScript):
1687         (DebuggerDocument::getPlatformCurrentFunctionStack):
1688         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1689         (DebuggerDocument::platformValueForScopeVariableNamed):
1690         (DebuggerDocument::platformLog):
1691         * Drosera/mac/Drosera.pch: Removed.
1692         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1693         * Drosera/mac/ServerConnection.h: Added.
1694         * Drosera/mac/ServerConnection.mm: Added.
1695         (-[ServerConnection initWithServerName:]):
1696         (-[ServerConnection dealloc]):
1697         (-[ServerConnection setGlobalContext:]):
1698         (-[ServerConnection pause]):
1699         (-[ServerConnection resume]):
1700         (-[ServerConnection stepInto]):
1701         (-[ServerConnection switchToServerNamed:]):
1702         (-[ServerConnection applicationTerminating:]):
1703         (-[ServerConnection serverConnectionDidDie:]):
1704         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1705         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1706         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1707         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1708         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1709         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1710         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1711         (-[ServerConnection currentFrame]):
1712         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1713         (-[ServerConnection knownServers]):
1714
1715 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
1716
1717         Reviewed by Eric.
1718
1719         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1720           Script to automatically search nightly builds for regressions (bisect-builds)
1721
1722         * Scripts/bisect-builds: Added.
1723
1724 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
1725
1726         Reviewed by Darin.
1727
1728         - New JavaScript benchmark
1729         http://bugs.webkit.org/show_bug.cgi?id=15515
1730
1731         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1732         current development or release build of JavaScriptCore.
1733
1734 2007-10-15  Mark Rowe  <mrowe@apple.com>
1735
1736         Reviewed by Sam.
1737
1738         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1739
1740         * Scripts/webkitdirs.pm:
1741         - Change checkArgv to remove the options from @ARGV to prevent
1742         them from interfering with further option processing.
1743         - Fix logic error in determineIsQt that would prevent it from bailing out early.
1744         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
1745         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1746         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1747
1748 2007-10-15  Darin Adler  <darin@apple.com>
1749
1750         Reviewed by Sam.
1751
1752         - added logging of window.prompt and window.confirm
1753
1754         * DumpRenderTree/mac/UIDelegate.mm:
1755         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1756         Implement the recommended delegate rather than the deprecated one.
1757         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1758         Added.
1759         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1760         Added.
1761
1762         * DumpRenderTree/win/UIDelegate.h:
1763         * DumpRenderTree/win/UIDelegate.cpp:
1764         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1765         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1766         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1767         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1768
1769 2007-10-15  Alice Liu  <alice.liu@apple.com>
1770
1771         Reviewed by Sam Weinig.
1772
1773         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1774
1775         * DumpRenderTree/win/DumpRenderTree.cpp:
1776         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1777         (main): allocate the global policy delegate for DRT's custom use
1778         * DumpRenderTree/win/DumpRenderTree.vcproj:
1779         Adding files to project
1780         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1781         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1782         (LayoutTestController::setCustomPolicyDelegate):
1783         set the webview's policy delegate to DRT's custom one if the test requests it.
1784         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1785         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1786         (PolicyDelegate::PolicyDelegate):
1787         (PolicyDelegate::QueryInterface):
1788         (PolicyDelegate::AddRef):
1789         (PolicyDelegate::Release):
1790         (PolicyDelegate::decidePolicyForNavigationAction):
1791         * DumpRenderTree/win/PolicyDelegate.h: Added.
1792         (PolicyDelegate::decidePolicyForNewWindowAction):
1793         (PolicyDelegate::decidePolicyForMIMEType):
1794         (PolicyDelegate::unableToImplementPolicyWithError):
1795
1796 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
1797
1798         Reviewed by Mark.
1799
1800         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1801         when querying for QMAKE_MKSPECS.
1802
1803 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
1804
1805         Reviewed by Adam Roben.
1806         
1807         Fix run-webkit-tests is too greedy calculating platform hierarchy
1808         http://bugs.webkit.org/show_bug.cgi?id=15465
1809         
1810         Fix run-webkit-tests being too greedy in trying to split the platform name up
1811         causing it to try and find tests in every directory above the first "-" in the
1812         path to the LayoutTests
1813
1814         * Scripts/run-webkit-tests:
1815
1816 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
1817
1818         Reviewed by Darin.
1819
1820         http://bugs.webkit.org/show_bug.cgi?id=15006
1821         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1822         to reduce code duplication.
1823
1824         * Scripts/build-webkit:
1825         * Scripts/webkitdirs.pm:
1826         buildQMakeProject() renamed to buildQMakeQtProject().
1827         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1828         unused $colorize has been removed.
1829
1830 === Start merge of feature-branch 2007-10-12 ===
1831
1832 2007-10-08  Eric Seidel  <eric@webkit.org>
1833
1834         Reviewed by Mark Rowe.
1835
1836         * Scripts/build-webkit: add --help, remove unused --color
1837
1838 2007-10-07  Eric Seidel  <eric@webkit.org>
1839
1840         Reviewed by darin.
1841
1842         * Drosera/mac/DebuggerDocumentPlatform.mm:
1843         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1844
1845 2007-10-03  Rob Buis  <buis@kde.org>
1846
1847         Reviewed by Olliej.
1848
1849         Adapt to changed location of Ahem font.
1850
1851         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1852
1853 2007-10-02  Eric Seidel  <eric@webkit.org>
1854
1855         Reviewed by Adam Roben.
1856         
1857         Make pixel tests more useful!
1858         Finally fix the image diff 0.00% mystery problem
1859         Highlight any image differences in the image diff.
1860         Add a link from image diffs back to original test file.
1861
1862         * DumpRenderTree/mac/ImageDiff.m:
1863         (compareImages): highlight any differences
1864         (computePercentageDifferent): round to two decimal places
1865         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1866
1867 2007-10-02  Eric Seidel  <eric@webkit.org>
1868
1869         Reviewed by Alexey Proskuryakov.
1870
1871         * Scripts/run-webkit-tests: print the % image difference on main results page
1872
1873 2007-10-02  Mark Rowe  <mrowe@apple.com>
1874
1875         Reviewed by Oliver.
1876
1877         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1878
1879         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1880         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1881
1882 2007-10-01  Mark Rowe  <mrowe@apple.com>
1883
1884         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1885
1886 2007-09-25  Eric Seidel  <eric@webkit.org>
1887
1888         Reviewed by Mark Rowe.
1889         
1890         DerivedSources.make was finding "ENABLE_SVG" in the string
1891         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1892         quite correctly.
1893
1894         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1895
1896 2007-09-25  Mark Rowe  <mrowe@apple.com>
1897
1898         Rubber-stamped by Eric.
1899
1900         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1901         This makes it possible to automate nightly builds for the feature-branch.
1902
1903 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
1904
1905         Rubber stamped by Mark.
1906
1907         Enable svg experimental features as default here in feature-branch.
1908
1909         * Scripts/build-webkit:
1910
1911 2007-06-29  Antti Koivisto  <antti@apple.com>
1912
1913         Reviewed by Weinig.
1914         
1915         Add VIDEO flag for timed media features
1916
1917         * Scripts/build-webkit
1918         
1919 === End merge of feature-branch 2007-10-12 ===
1920
1921 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
1922
1923         Reviewed by Darin.
1924
1925         - Updated rational for the leaks list to be more clear.
1926
1927         * Scripts/run-webkit-tests:
1928
1929 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
1930
1931         Rubber Stamp by Sam.
1932
1933         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1934         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1935
1936         * Scripts/run-webkit-tests:
1937
1938 2007-10-10  Simon Hausmann  <hausmann@kde.org>
1939
1940         Reviewed by Lars.
1941
1942         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1943         includes are needed for INT_MAX, std::auto_ptr and the like.
1944
1945         * DumpRenderTree/qt/main.cpp:
1946
1947 2007-10-09  Lars Knoll  <lars@trolltech.com>
1948
1949         Reviewed by Simon.
1950
1951         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1952
1953         * DumpRenderTree/qt/jsobjects.cpp:
1954         (LayoutTestController::encodeHostName):
1955         (LayoutTestController::decodeHostName):
1956         * DumpRenderTree/qt/jsobjects.h:
1957
1958 2007-10-09  Lars Knoll  <lars@trolltech.com>
1959
1960         Reviewed by Simon.
1961
1962         Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
1963
1964         * DumpRenderTree/qt/DumpRenderTree.cpp:
1965         (WebCore::WebPage::createFrame):
1966         (WebCore::DumpRenderTree::DumpRenderTree):
1967         (WebCore::DumpRenderTree::titleChanged):
1968         * DumpRenderTree/qt/DumpRenderTree.h:
1969         * DumpRenderTree/qt/jsobjects.cpp:
1970         (LayoutTestController::reset):
1971         * DumpRenderTree/qt/jsobjects.h:
1972
1973 2007-10-09  Lars Knoll  <lars@trolltech.com>
1974
1975         Reviewed by Simon.
1976
1977         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1978
1979         * DumpRenderTree/qt/DumpRenderTree.h:
1980         * DumpRenderTree/qt/jsobjects.cpp:
1981         (LayoutTestController::clearBackForwardList):
1982         * DumpRenderTree/qt/jsobjects.h:
1983
1984 2007-10-09  Lars Knoll  <lars@trolltech.com>
1985
1986         Reviewed by Simon.
1987
1988         make --git-reviewer work again.
1989
1990         * Scripts/prepare-ChangeLog:
1991
1992 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
1993
1994         Rubber stamped by Eric.
1995
1996         Connect to the "hovering-over-link" signal emitted by WebKitPage and
1997         show the current link inside the statusbar.
1998         This shows how to make use of this signal and allows to easily test
1999         http://bugs.webkit.org/show_bug.cgi?id=15299.
2000
2001         * GtkLauncher/main.cpp:
2002         (hoveringOverLink):
2003         (main):
2004
2005 2007-10-05  Lars Knoll  <lars@trolltech.com>
2006
2007         add proper error messages to the FrameLoaderClient.
2008         Implement ChromeClientQt::closeWindowSoon and
2009         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2010         Some fixes in DRT to make it work correctly with multiple windows.
2011
2012         Reviewed by Maciej.
2013
2014         * DumpRenderTree/qt/DumpRenderTree.cpp:
2015         (WebCore::DumpRenderTree::DumpRenderTree):
2016         (WebCore::DumpRenderTree::createWindow):
2017         (WebCore::DumpRenderTree::windowCount):
2018         * DumpRenderTree/qt/DumpRenderTree.h:
2019         * DumpRenderTree/qt/jsobjects.cpp:
2020         (LayoutTestController::maybeDump):
2021         (LayoutTestController::windowCount):
2022         * DumpRenderTree/qt/jsobjects.h:
2023
2024 2007-10-05  Lars Knoll  <lars@trolltech.com>
2025
2026         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
2027         Add support for layoutTextController.setCanOpenWindows() to DRT
2028         fixing another 2 test cases in fast/dom/Window.
2029
2030         Reviewed by Maciej.
2031
2032         * DumpRenderTree/qt/DumpRenderTree.cpp:
2033         (WebCore::WebPage::WebPage):
2034         (WebCore::WebPage::createWindow):
2035         (WebCore::DumpRenderTree::resetJSObjects):
2036         (WebCore::DumpRenderTree::createWindow):
2037         * DumpRenderTree/qt/DumpRenderTree.h:
2038         * DumpRenderTree/qt/DumpRenderTree.pro:
2039         * DumpRenderTree/qt/jsobjects.cpp:
2040         (LayoutTestController::LayoutTestController):
2041         (LayoutTestController::reset):
2042         * DumpRenderTree/qt/jsobjects.h:
2043         * DumpRenderTree/qt/main.cpp:
2044         * DumpRenderTree/qt/testplugin.cpp: Added.
2045         * DumpRenderTree/qt/testplugin.h: Added.
2046
2047 2007-10-04  Sam Weinig  <sam@webkit.org>
2048
2049         Rubber stamped by Adam.
2050
2051         Remove empty directories.
2052
2053         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
2054         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
2055
2056 2007-10-03  Darin Adler  <darin@apple.com>
2057
2058         Reviewed by Adam.
2059
2060         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
2061         we find the internal libraries in the libraries directory. This
2062         is helpful for Safari team engineers at Apple.
2063
2064 2007-10-03  Adam Roben  <aroben@apple.com>
2065
2066         Update the location of AHEM___.TTF after r25968
2067
2068         Reviewed by Sam.
2069
2070         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2071
2072 2007-10-03  Alp Toker  <alp@atoker.com>
2073
2074         Reviewed by Adam.
2075
2076         http://bugs.webkit.org/show_bug.cgi?id=14726
2077         [gtk] API design. Mapping the WebView delegates to signals.
2078
2079         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
2080
2081         * GtkLauncher/main.cpp:
2082         (goToURLBarText):
2083         (titleChanged):
2084         (progressChanged):
2085         (menuMainBackCallback):
2086         (menuMainForwardCallback):
2087         (main):
2088
2089 2007-10-03  Lars Knoll  <lars@trolltech.com>
2090
2091         Reviewed by Rob.
2092
2093         This fixes --strict mode in run-webkit-tests again after
2094         the platform dependent test results have been moved.
2095
2096         * Scripts/run-webkit-tests:
2097
2098 2007-10-03  Lars Knoll  <lars@trolltech.com>
2099
2100         Reviewed by bdash.
2101
2102         remove the hack in run-webkit-tests that forced text only test
2103         to be taken from the platform independent dir. It was only left
2104         there from early days.
2105         
2106         Remove platform dependent results for tests that are text only nowadays,
2107         and add one platform dependent result for a text only test that requires it.
2108
2109         * Scripts/run-webkit-tests:
2110
2111 2007-10-03  Lars Knoll  <lars@trolltech.com>
2112
2113         Reviewed by olliej.
2114
2115         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
2116
2117         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
2118         (WebCore::WebFrame::WebFrame):
2119         (WebCore::WebPage::WebPage):
2120         (WebCore::WebPage::createFrame):
2121         (WebCore::WebPage::javaScriptAlert):
2122         (WebCore::WebPage::javaScriptConsoleMessage):
2123         (WebCore::DumpRenderTree::DumpRenderTree):
2124         (WebCore::DumpRenderTree::~DumpRenderTree):
2125         (WebCore::DumpRenderTree::open):
2126         (WebCore::DumpRenderTree::readStdin):
2127         (WebCore::DumpRenderTree::resetJSObjects):
2128         (WebCore::DumpRenderTree::initJSObjects):
2129         (WebCore::DumpRenderTree::dumpFramesAsText):
2130         (WebCore::DumpRenderTree::dump):
2131         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
2132         (WebCore::DumpRenderTree::layoutTestController):
2133         (WebCore::DumpRenderTree::eventSender):
2134         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
2135         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
2136         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
2137         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
2138         (HackWebFrame::mousePressEvent):
2139         (HackWebFrame::mouseReleaseEvent):
2140         (HackWebFrame::mouseMoveEvent):
2141         (HackWebFrame::HackWebFrame):
2142         (HackWebFrame::~HackWebFrame):
2143         (LayoutTestController::LayoutTestController):
2144         (LayoutTestController::reset):
2145         (LayoutTestController::maybeDump):
2146         (LayoutTestController::waitUntilDone):
2147         (LayoutTestController::notifyDone):
2148         (LayoutTestController::dumpEditingCallbacks):
2149         (LayoutTestController::queueReload):
2150         (LayoutTestController::provisionalLoad):
2151         (LayoutTestController::timerEvent):
2152         (EventSender::EventSender):
2153         (EventSender::mouseDown):
2154         (EventSender::mouseUp):
2155         (EventSender::mouseMoveTo):
2156         (EventSender::leapForward):
2157         (EventSender::keyDown):
2158         (EventSender::frameUnderMouse):
2159         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
2160         (LayoutTestController::isLoading):
2161         (LayoutTestController::setLoading):
2162         (LayoutTestController::shouldDumpAsText):
2163         (LayoutTestController::shouldDumpChildrenAsText):
2164         (LayoutTestController::shouldWaitUntilDone):
2165         (LayoutTestController::dumpAsText):
2166         (LayoutTestController::dumpChildFramesAsText):
2167         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
2168         (messageHandler):
2169         (crashHandler):
2170         (main):
2171         * Scripts/run-webkit-tests:
2172
2173 2007-10-03  Mark Rowe  <mrowe@apple.com>
2174
2175         Reviewed by Alp Toker.
2176
2177         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
2178         should take precedence over QTDIR when determining which port we are working with.
2179
2180         * Scripts/webkitdirs.pm: 
2181
2182 2007-10-02  Adam Roben  <aroben@apple.com>
2183
2184         Add keychain to the list of default packages to install
2185
2186         Rubberstamped by Sam.
2187
2188         * CygwinDownloader/cygwin-downloader.py:
2189         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2190
2191 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
2192
2193         Reviewed by Adam.
2194
2195         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
2196         Also makes WebCore regression test case logic work when using git.
2197
2198         * Scripts/prepare-ChangeLog:
2199         (reviewerAndDescriptionForGitCommit): Added.
2200
2201 2007-10-02  Lars Knoll  <lars@trolltech.com>
2202
2203         Reviewed by bdash.
2204
2205         Add API to retrieve the frame name from QWebFrame.
2206         Implement support for DRT::dumpChildrenAsText.
2207
2208         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2209         (WebCore::DumpRenderTree::dumpFramesAsText):
2210         (WebCore::DumpRenderTree::dump):
2211         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2212         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2213         (LayoutTestController::LayoutTestController):
2214         (LayoutTestController::reset):
2215         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2216
2217 2007-10-02  Lars Knoll  <lars@trolltech.com>
2218
2219         Reviewed by bdash.
2220
2221         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2222
2223         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2224         (WebCore::DumpRenderTree::readStdin):
2225
2226 2007-10-02  Mark Rowe  <mrowe@apple.com>
2227
2228         Reviewed by Oliver.
2229
2230         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
2231
2232         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
2233         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2234
2235 2007-10-02  Mark Rowe  <mrowe@apple.com>
2236
2237         Rubber-stamped by Maciej.
2238
2239         Configuration changes from build.webkit.org.  The major change is refactoring to work
2240         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
2241         last few weeks.
2242
2243         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2244         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
2245         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
2246         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
2247         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
2248         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
2249         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
2250         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2251
2252 2007-10-02  Lars Knoll  <lars@trolltech.com>
2253
2254         Reviewed by Maciej.
2255
2256         Add support for eventSender.mouseMove to DRT.
2257         Fixes fast/css/hover-affects-child.html
2258
2259         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2260         (EventSender::mouseMoveTo):
2261
2262 2007-10-01  Mark Rowe  <mrowe@apple.com>
2263
2264         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2265
2266 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
2267
2268         Reviewed by Hyatt.
2269
2270         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
2271
2272         * Scripts/svn-apply:
2273         (gitdiff2svndiff): Ignore lines beginning with "new file".
2274         * Scripts/svn-unapply:
2275         (gitdiff2svndiff): Ditto.
2276
2277 2007-09-30  George Staikos  <staikos@kde.org>
2278
2279         Qt build fix (Mac OS X specific)
2280
2281         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2282
2283 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
2284
2285         Reviewed by Mark.
2286
2287         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
2288         Remove Bakefiles from svn.
2289
2290         * GtkLauncher/Bakefiles.bkgen: Removed.
2291         * GtkLauncher/ENV: Removed.
2292         * GtkLauncher/gdklauncher.bkl: Removed.
2293         * GtkLauncher/mk: Removed.
2294         * Scripts/regenerate-makefiles: Removed.
2295
2296 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
2297
2298         Reviewed by John.
2299
2300         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
2301
2302         * Scripts/run-webkit-tests:
2303
2304 2007-09-26  Adam Roben  <aroben@apple.com>
2305
2306         Make not finding an installed WebKit non-fatal
2307
2308         What really matters is that we are able to load WebKit and its
2309         dependencies, not whether we think we've found an installed WebKit.
2310
2311         Reviewed by Sam.
2312
2313         * WebKitInitializer/WebKitInitializer.cpp:
2314         (getWebViewCLSID): Use new LOG_WARNING macro.
2315         (getInstalledWebKitDirectory): Ditto.
2316         (initializeWebKit): Don't die if we didn't find an installed WebKit,
2317         and use new macros.
2318         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2319
2320 2007-09-26  Adam Roben  <aroben@apple.com>
2321
2322         Committed this file before saving it
2323
2324         * WebKitInitializer/debug_internal.vsprops:
2325
2326 2007-09-26  Adam Roben  <aroben@apple.com>
2327
2328         Load WebKit and its dependencies manually so they come from DllDirectory
2329
2330         I had to change WebKitInitializer to use malloc/free instead of
2331         new/delete to avoid pulling in WebKit (and its dependencies) early
2332         through use of fastMalloc.
2333
2334         Reviewed by Oliver.
2335
2336         * WebKitInitializer/WebKitInitializer.cpp:
2337         (getStringValue): Changed to use malloc/free.
2338         (getInstalledWebKitDirectory): Ditto.
2339         (initializeWebKit): Call SetDllDirectory first, then load all of
2340         WebKit's dependencies manually, finally followed by WebKit itself.
2341         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2342         configuration to match our other projects.
2343         * WebKitInitializer/debug_internal.vsprops: Added.
2344
2345 2007-09-25  Adam Roben  <aroben@apple.com>
2346
2347         Actually define DEBUG/NDEBUG so that we load WebKit correctly
2348
2349         Rubberstamped by Sam.
2350
2351         * WebKitInitializer/WebKitInitializer.vcproj:
2352
2353 2007-09-25  Adam Roben  <aroben@apple.com>
2354
2355         Make DumpRenderTree delay-load its dependencies
2356
2357         This lets WebKitInitializer re-route the dependencies to be loaded out
2358         of the Safari installation directory.
2359
2360         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2361         same thing), since we can't import the kCFAllocatorDefault symbol when
2362         delay-loading CoreFoundation.dll.
2363
2364         Rubberstamped by Sam.
2365
2366         * DumpRenderTree/win/DumpRenderTree.cpp:
2367         (runTest):
2368         (javaScriptThreads):
2369         * DumpRenderTree/win/DumpRenderTree.vcproj:
2370         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2371         (LayoutTestController::setWaitToDump):
2372
2373 2007-09-25  Adam Roben  <aroben@apple.com>
2374
2375         Pull ole32.lib into WebKitInitializer
2376
2377         Rubberstamped by Sam.
2378
2379         * WebKitInitializer/WebKitInitializer.vcproj:
2380
2381 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
2382
2383         Reviewed by Adam.
2384
2385         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2386           LGPL'ed files contain incorrect FSF address
2387
2388         * Drosera/config.h:
2389
2390 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
2391
2392         Reviewed by Adam.
2393
2394         Make svn-apply and svn-unapply work with git-diff formatted patches.
2395
2396         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2397         (gitdiff2svndiff): Added.
2398         * Scripts/svn-unapply: Ditto.
2399         (gitdiff2svndiff): Added.
2400
2401 2007-09-25  Adam Roben  <aroben@apple.com>
2402
2403         Pull advapi32.lib into WebKitInitializer
2404
2405         This is needed to get the registry functions we use.
2406
2407         Rubberstamped by Sam.
2408
2409         * WebKitInitializer/WebKitInitializer.vcproj:
2410
2411 2007-09-25  Adam Roben  <aroben@apple.com>
2412
2413         Add python and rsync to cygwin-downloader
2414
2415         Our build slaves need this, and it can't hurt for everyone else to
2416         have it, too.
2417
2418         Reviewed by Sam.
2419
2420         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2421         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2422
2423 2007-09-25  Adam Roben  <aroben@apple.com>
2424
2425         Add WebKitInitializer and use it in DumpRenderTree
2426
2427         WebKitInitializer is a static library that has one function,
2428         initializeWebKit(). This registers WebKit and sets up the DLL search
2429         path so that WebKit's dependencies that are installed with Safari can
2430         be found.
2431
2432         Reviewed by Sam.
2433
2434         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2435         DumpRenderTree depend on it.
2436         * DumpRenderTree/win/DumpRenderTree.cpp:
2437         (initialize): Call initializeWebKit.
2438         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2439         WebKitInitializer.lib.
2440         * WebKitInitializer/WebKitInitializer.cpp: Added.
2441         (getStringValue):
2442         (getWebViewCLSID):
2443         (getInstalledWebKitDirectory):
2444         (initializeWebKit):
2445         * WebKitInitializer/WebKitInitializer.h: Added.
2446         * WebKitInitializer/WebKitInitializer.vcproj: Added.
2447         * WebKitInitializer/debug.vsprops: Added.
2448         * WebKitInitializer/release.vsprops: Added.
2449
2450 2007-09-25  Adam Roben  <aroben@apple.com>
2451
2452         Make run-webkit-tests respect set-webkit-configuration
2453
2454         Reviewed by Sam.
2455
2456         * Scripts/run-webkit-tests: Initialize $configuration to whatever
2457         set-webkit-configuration was last set to.
2458
2459 2007-09-25  Mark Rowe  <mrowe@apple.com>
2460
2461         Rubber-stamped by Eric.
2462
2463         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2464         This makes it possible to automate nightly builds for the feature-branch.
2465
2466 2007-09-25  Adam Roben  <aroben@apple.com>
2467
2468         A couple of fixes/enhancements to update-webkit-*-libs
2469
2470         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2471         to tell update-webkit-support-libraries where it should find the
2472         WebKitSupportLibrary.zip file you downloaded.
2473
2474         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2475         Windows-style path.
2476
2477         Reviewed by Sam.
2478
2479         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2480         to $auxiliaryLibsURL and removed an irrelevant comment.
2481         * Scripts/update-webkit-support-libs:
2482
2483 2007-09-25  Adam Treat  <treat@kde.org>
2484
2485         Reviewed by Simon and Lars.
2486
2487         Refactors and cleans up Qt DRT member variable names, member variable
2488         initialization, style fixes and general code cleanup.
2489
2490         Adds queueReload slot to LayoutTestController that some tests require.
2491
2492         Subclasses QWebFrame to make sure that all frames have an associated
2493         LayoutTestController JS window object.
2494
2495         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2496         aren't dumped twice.
2497
2498         EOF fixes.
2499
2500         Together, this patch fixes some 20+ layout tests in QtWebKit.
2501
2502         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2503         (WebCore::WebFrame::WebFrame):
2504         (WebCore::WebPage::WebPage):
2505         (WebCore::WebPage::createFrame):
2506         (WebCore::DumpRenderTree::DumpRenderTree):
2507         (WebCore::DumpRenderTree::open):
2508         (WebCore::DumpRenderTree::readStdin):
2509         (WebCore::DumpRenderTree::initJSObjects):
2510         (WebCore::DumpRenderTree::dump):
2511         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2512         (WebCore::DumpRenderTree::layoutTestController):
2513         (WebCore::DumpRenderTree::eventSender):
2514         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2515         (LayoutTestController::LayoutTestController):
2516         (LayoutTestController::reset):
2517         (LayoutTestController::maybeDump):
2518         (LayoutTestController::waitUntilDone):
2519         (LayoutTestController::notifyDone):
2520         (LayoutTestController::queueReload):
2521         (LayoutTestController::provisionalLoad):
2522         (EventSender::EventSender):
2523         (EventSender::mouseDown):
2524         (EventSender::mouseUp):
2525         (EventSender::mouseMoveTo):
2526         (EventSender::frameUnderMouse):
2527         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2528         (LayoutTestController::isLoading):
2529         (LayoutTestController::setLoading):
2530         (LayoutTestController::dumpAsText):
2531         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2532         (main):
2533
2534 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
2535
2536
2537         - Reverted an accidentally checked in file.
2538
2539         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2540
2541 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
2542         Reviewed by Sam.
2543
2544         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2545
2546         * DumpRenderTree/win/DumpRenderTree.vcproj:
2547         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2548
2549 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
2550
2551         Rubber stamped by Adam.
2552
2553         * GdkLauncher: Removed.
2554         * GdkLauncher/Bakefiles.bkgen: Removed.
2555         * GdkLauncher/ENV: Removed.
2556         * GdkLauncher/GdkLauncher.pro: Removed.
2557         * GdkLauncher/gdklauncher.bkl: Removed.
2558         * GdkLauncher/main.cpp: Removed.
2559         * GdkLauncher/mk: Removed.
2560         * GdkLauncher/simple.svg: Removed.
2561         * GdkLauncher/text.html: Removed.
2562         * GtkLauncher: Added.
2563         * GtkLauncher/GdkLauncher.pro: Removed.
2564         * GtkLauncher/GtkLauncher.pro: Added.
2565         * GtkLauncher/main.cpp:
2566         (updateWindowTitle):
2567         (main):
2568         * Scripts/build-webkit:
2569         * Scripts/regenerate-makefiles:
2570         * Scripts/run-javascriptcore-tests:
2571         * Scripts/run-launcher:
2572         * Scripts/run-webkit-tests:
2573         * Scripts/webkitdirs.pm:
2574
2575 2007-09-21  Timothy Hatcher  <timothy@apple.com>
2576
2577         Reviewed by Darin.
2578
2579         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2580
2581         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2582         This is tested by plugins/root-object-premature-delete-crash.html.
2583
2584         * DumpRenderTree/mac/ObjCController.m:
2585         (-[ObjCController accessStoredWebScriptObject]):
2586
2587 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
2588
2589         Reviewed by Oliver.
2590
2591         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2592
2593         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2594         (FrameLoadDelegate::FrameLoadDelegate):
2595
2596 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
2597
2598         Reviewed by Adam.
2599
2600         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2601         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2602
2603         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2604         Now isQt() and isGdk() use global variables that are only set once.
2605
2606         An array of all the parameters is now given to build-dumprender which includes
2607         the platform on linux.
2608
2609         * Scripts/build-dumprendertree:
2610         * Scripts/run-webkit-tests:
2611         * Scripts/webkitdirs.pm:
2612
2613 2007-09-19  Adam Roben  <aroben@apple.com>
2614
2615         Rubberstamped by Hyatt.
2616
2617         * Spinneret: Removed.
2618
2619 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
2620
2621         Reviewed by David Kilzer.
2622
2623         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2624
2625 2007-09-18  Sam Weinig  <sam@webkit.org>
2626
2627         Add JSRetainPtr.h #include to fix some builds.
2628
2629         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2630
2631 2007-09-18  Mike Hommey  <glandium@debian.org>
2632
2633         Reviewed by Adam.
2634
2635         * Scripts/prepare-ChangeLog:
2636         - Properly parse GECOS field.
2637         - Use git configuration for user name and email when appropriate.
2638
2639 2007-09-17  Sam Weinig  <sam@webkit.org>
2640
2641         Build fix.
2642
2643         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2644
2645 2007-09-17  Sam Weinig  <sam@webkit.org>
2646
2647         Reviewed by Adam Roben.
2648
2649         Share more code between mac and windows DRT.
2650             - GCController is now shared.
2651             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2652
2653         * DumpRenderTree/GCController.cpp:
2654         * DumpRenderTree/win/DumpRenderTree.cpp:
2655         * DumpRenderTree/win/DumpRenderTree.vcproj:
2656         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2657         (FrameLoadDelegate::FrameLoadDelegate):
2658         (FrameLoadDelegate::~FrameLoadDelegate):
2659         (FrameLoadDelegate::windowScriptObjectAvailable):
2660         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2661         * DumpRenderTree/win/GCController.cpp: Removed.
2662         * DumpRenderTree/win/GCController.h: Removed.
2663         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2664         (GCController::collect):
2665         (GCController::collectOnAlternateThread):
2666         (GCController::getJSObjectCount):
2667         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2668         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2669
2670 2007-09-17  Sam Weinig  <sam@webkit.org>
2671
2672         Reviewed by Adam Roben.
2673
2674         Begin sharing code between mac and windows DRT.
2675             - both now share LayoutTestController.h/cpp and implement platform dependant 
2676               operations in LayoutTestControllerMac/Win.
2677             - DumpRenderTree.h is now shared.
2678             - WorkQueue and WorkQueueItem are also shared.
2679
2680         * DumpRenderTree/DumpRenderTree.h:
2681         * DumpRenderTree/LayoutTestController.cpp:
2682         * DumpRenderTree/win/DumpRenderTree.cpp:
2683         (displayWebView):
2684         (dumpFrameScrollPosition):
2685         (dumpFramesAsText):
2686         (dump):
2687         (runTest):
2688         * DumpRenderTree/win/DumpRenderTree.h: Removed.
2689         * DumpRenderTree/win/DumpRenderTree.vcproj:
2690         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2691         * DumpRenderTree/win/EditingDelegate.cpp:
2692         (EditingDelegate::shouldBeginEditingInDOMRange):
2693         (EditingDelegate::shouldEndEditingInDOMRange):
2694         (EditingDelegate::shouldInsertNode):
2695         (EditingDelegate::shouldInsertText):
2696         (EditingDelegate::shouldDeleteDOMRange):
2697         (EditingDelegate::shouldChangeSelectedDOMRange):
2698         (EditingDelegate::shouldApplyStyle):
2699         (EditingDelegate::shouldChangeTypingStyle):
2700         (EditingDelegate::doPlatformCommand):
2701         (EditingDelegate::webViewDidBeginEditing):
2702         (EditingDelegate::webViewDidChange):
2703         (EditingDelegate::webViewDidEndEditing):
2704         (EditingDelegate::webViewDidChangeTypingStyle):
2705         (EditingDelegate::webViewDidChangeSelection):
2706         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2707         * DumpRenderTree/win/LayoutTestController.h: Removed.
2708         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2709         (LayoutTestController::addDisallowedURL):
2710         (LayoutTestController::clearBackForwardList):
2711         (LayoutTestController::copyDecodedHostName):
2712         (LayoutTestController::copyEncodedHostName):
2713         (LayoutTestController::display):
2714         (LayoutTestController::keepWebHistory):
2715         (LayoutTestController::notifyDone):
2716         (LayoutTestController::queueBackNavigation):
2717         (LayoutTestController::queueForwardNavigation):
2718         (jsStringRefToWString):
2719         (LayoutTestController::queueLoad):
2720         (LayoutTestController::queueReload):
2721         (LayoutTestController::queueScript):
2722         (LayoutTestController::setAcceptsEditing):
2723         (LayoutTestController::setCustomPolicyDelegate):
2724         (LayoutTestController::setMainFrameIsFirstResponder):
2725         (LayoutTestController::setTabKeyCyclesThroughElements):
2726         (LayoutTestController::setUseDashboardCompatibilityMode):
2727         (LayoutTestController::setUserStyleSheetEnabled):
2728         (LayoutTestController::setUserStyleSheetLocation):
2729         (LayoutTestController::setWindowIsKey):
2730         (waitUntilDoneWatchdogFired):
2731         (LayoutTestController::setWaitToDump):
2732         (LayoutTestController::windowCount):
2733         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2734         (FrameLoadDelegate::didReceiveTitle):
2735         (FrameLoadDelegate::processWork):
2736         (FrameLoadDelegate::locationChangeDone):
2737         (FrameLoadDelegate::windowScriptObjectAvailable):
2738         * DumpRenderTree/win/WorkQueue.cpp: Removed.
2739         * DumpRenderTree/win/WorkQueue.h: Removed.
2740         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2741         * DumpRenderTree/win/WorkQueueItem.h: Removed.
2742         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2743         (jsStringRefToWString):
2744         (LoadItem::invoke):
2745         (ScriptItem::invoke):
2746
2747 2007-09-17  Sam Weinig  <sam@webkit.org>
2748
2749         Reviewed by Adam Roben.
2750
2751         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2752
2753         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2754         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2755         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2756         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2757         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2758         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2759         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2760         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2761         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2762         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2763         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2764         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2765         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2766         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2767         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2768         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2769         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2770         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2771         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2772         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2773         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2774         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2775         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2776         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2777         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2778         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2779         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2780         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2781         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2782         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2783         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2784         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2785         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2786         * DumpRenderTree/win: Added.
2787         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2788         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2789         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2790         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2791         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2792         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2793         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2794         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2795         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2796         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2797         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2798         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2799         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2800         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2801         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2802         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2803         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2804         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2805         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2806         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2807         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2808         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2809         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2810         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2811         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2812         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2813
2814 2007-09-15  Mark Rowe  <mrowe@apple.com>
2815
2816         Build fix for DumpRenderTree.
2817
2818         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2819
2820 2007-09-14  Sam Weinig  <sam@webkit.org>
2821
2822         Rubber stamped by Adam Roben.
2823
2824         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2825           - The UIDelegate was put into a new file while the FrameLoadDelegate was
2826             kept in the WaitUntilDoneDelegate file for the time being.
2827
2828         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2829         (main):
2830         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2831         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2832         (UIDelegate::QueryInterface):
2833         (UIDelegate::AddRef):
2834         (UIDelegate::Release):
2835         (UIDelegate::hasCustomMenuImplementation):
2836         (UIDelegate::setFrame):
2837         (UIDelegate::webViewFrame):
2838         (UIDelegate::runJavaScriptAlertPanelWithMessage):
2839         (UIDelegate::webViewAddMessageToConsole):
2840         (UIDelegate::doDragDrop):
2841         (UIDelegate::webViewGetDlgCode):
2842         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2843         (UIDelegate::UIDelegate):
2844         (UIDelegate::createWebViewWithRequest):
2845         (UIDelegate::webViewShow):
2846         (UIDelegate::webViewClose):
2847         (UIDelegate::webViewFocus):
2848         (UIDelegate::webViewUnfocus):
2849         (UIDelegate::webViewFirstResponder):
2850         (UIDelegate::makeFirstResponder):
2851         (UIDelegate::setStatusText):
2852         (UIDelegate::webViewStatusText):
2853         (UIDelegate::webViewAreToolbarsVisible):
2854         (UIDelegate::setToolbarsVisible):
2855         (UIDelegate::webViewIsStatusBarVisible):
2856         (UIDelegate::setStatusBarVisible):
2857         (UIDelegate::webViewIsResizable):
2858         (UIDelegate::setResizable):
2859         (UIDelegate::setContentRect):
2860         (UIDelegate::webViewContentRect):
2861         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2862         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2863         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2864         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2865         (UIDelegate::mouseDidMoveOverElement):
2866         (UIDelegate::contextMenuItemsForElement):
2867         (UIDelegate::validateUserInterfaceItem):
2868         (UIDelegate::shouldPerformAction):
2869         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2870         (UIDelegate::willPerformDragDestinationAction):
2871         (UIDelegate::dragSourceActionMaskForPoint):
2872         (UIDelegate::willPerformDragSourceAction):
2873         (UIDelegate::contextMenuItemSelected):
2874         (UIDelegate::trackCustomPopupMenu):
2875         (UIDelegate::measureCustomMenuItem):
2876         (UIDelegate::drawCustomMenuItem):
2877         (UIDelegate::addCustomMenuDrawingData):
2878         (UIDelegate::cleanUpCustomMenuDrawingData):
2879         (UIDelegate::canTakeFocus):
2880         (UIDelegate::takeFocus):
2881         (UIDelegate::registerUndoWithTarget):
2882         (UIDelegate::removeAllActionsWithTarget):
2883         (UIDelegate::setActionTitle):
2884         (UIDelegate::undo):
2885         (UIDelegate::redo):
2886         (UIDelegate::canUndo):
2887         (UIDelegate::canRedo):
2888         (UIDelegate::webViewResizerRect):
2889         (UIDelegate::webViewDrawResizer):
2890         (UIDelegate::webViewScrolled):
2891         (UIDelegate::webViewShouldInterruptJavaScript):
2892         (UIDelegate::webViewReceivedFocus):
2893         (UIDelegate::webViewLostFocus):
2894         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2895         (FrameLoadDelegate::QueryInterface):
2896         (FrameLoadDelegate::AddRef):
2897         (FrameLoadDelegate::Release):
2898         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2899         (FrameLoadDelegate::didCommitLoadForFrame):
2900         (FrameLoadDelegate::didReceiveTitle):
2901         (FrameLoadDelegate::processWork):
2902         (processWorkTimer):
2903         (FrameLoadDelegate::locationChangeDone):
2904         (FrameLoadDelegate::didFinishLoadForFrame):
2905         (FrameLoadDelegate::didFailLoadWithError):
2906         (FrameLoadDelegate::windowScriptObjectAvailable):
2907         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2908         (FrameLoadDelegate::FrameLoadDelegate):
2909
2910 2007-09-14  Sam Weinig  <sam@webkit.org>
2911
2912         Reviewed by Kevin McCullough.
2913
2914         Move mac specific globals in to mac/DumpRenderTreeMac.h
2915
2916         * DumpRenderTree/DumpRenderTree.h:
2917         * DumpRenderTree/DumpRenderTree.mm: Removed.
2918         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2919         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2920         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2921
2922 2007-09-14  Brady Eidson  <beidson@apple.com>
2923
2924         Rubberstamped by Weinig
2925
2926         You know, Sam, some of us use case-sensitve filesystems...
2927
2928         * DumpRenderTree/DumpRenderTree.h:
2929         * DumpRenderTree/mac/UIDelegate.mm:
2930
2931 2007-09-14  Sam Weinig  <sam@webkit.org>
2932
2933         Rubber stamped by Adam Roben.
2934
2935         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2936         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2937
2938         * DumpRenderTree/AppleScriptController.h: Removed.
2939         * DumpRenderTree/AppleScriptController.m: Removed.
2940         * DumpRenderTree/DumpRenderTree.h:
2941         * DumpRenderTree/DumpRenderTree.mm:
2942         (startJavaScriptThreads):
2943         (stopJavaScriptThreads):
2944         (activateAhemFont):
2945         (setDefaultColorProfileToRGB):
2946         (makeLargeMallocFailSilently):
2947         (dumpFrameScrollPosition):
2948         (dumpFramesAsText):
2949         (dump):
2950         (runTest):
2951         (-[DumpRenderTreeWindow isKeyWindow]):
2952         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2953         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2954         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2955         * DumpRenderTree/EditingDelegate.h: Removed.
2956         * DumpRenderTree/EditingDelegate.m: Removed.
2957         * DumpRenderTree/EventSendingController.h: Removed.
2958         * DumpRenderTree/EventSendingController.m: Removed.
2959         * DumpRenderTree/FrameLoadDelegate.h: Removed.
2960         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2961         * DumpRenderTree/GCController.mm: Removed.
2962         * DumpRenderTree/ImageDiff.m: Removed.
2963         * DumpRenderTree/LayoutTestController.cpp:
2964         (LayoutTestController::LayoutTestController):
2965         (dumpAsTextCallback):
2966         (dumpBackForwardListCallback):
2967         (dumpChildFramesAsTextCallback):
2968         (dumpChildFrameScrollPositionsCallback):
2969         (dumpDOMAsWebArchiveCallback):
2970         (dumpEditingCallbacksCallback):
2971         (dumpFrameLoadCallbacksCallback):
2972         (dumpResourceLoadCallbacksCallback):
2973         (dumpSelectionRectCallback):
2974         (dumpSourceAsWebArchiveCallback):
2975         (dumpTitleChangesCallback):
2976         (repaintSweepHorizontallyCallback):
2977         (setCallCloseOnWebViewsCallback):
2978         (setCanOpenWindowsCallback):
2979         (setCloseRemainingWindowsWhenCompleteCallback):
2980         (testRepaintCallback):
2981         (addFileToPasteboardOnDragCallback):
2982         (waitUntilDoneCallback):
2983         * DumpRenderTree/LayoutTestController.h:
2984         (LayoutTestController::dumpAsText):
2985         (LayoutTestController::setDumpAsText):
2986         (LayoutTestController::dumpBackForwardList):
2987         (LayoutTestController::setDumpBackForwardList):
2988         (LayoutTestController::dumpChildFrameScrollPositions):
2989         (LayoutTestController::setDumpChildFrameScrollPositions):
2990         (LayoutTestController::dumpChildFramesAsText):
2991         (LayoutTestController::setDumpChildFramesAsText):
2992         (LayoutTestController::dumpDOMAsWebArchive):
2993         (LayoutTestController::setDumpDOMAsWebArchive):
2994         (LayoutTestController::dumpSelectionRect):
2995         (LayoutTestController::setDumpSelectionRect):
2996         (LayoutTestController::dumpSourceAsWebArchive):
2997         (LayoutTestController::setDumpSourceAsWebArchive):
2998         (LayoutTestController::dumpTitleChanges):
2999         (LayoutTestController::setDumpTitleChanges):
3000         (LayoutTestController::dumpEditingCallbacks):
3001         (LayoutTestController::setDumpEditingCallbacks):
3002         (LayoutTestController::dumpResourceLoadCallbacks):
3003         (LayoutTestController::setDumpResourceLoadCallbacks):
3004         (LayoutTestController::dumpFrameLoadCallbacks):
3005         (LayoutTestController::setDumpFrameLoadCallbacks):
3006         (LayoutTestController::addFileToPasteboardOnDrag):
3007         (LayoutTestController::setAddFileToPasteboardOnDrag):
3008         (LayoutTestController::callCloseOnWebViews):
3009         (LayoutTestController::setCallCloseOnWebViews):
3010         (LayoutTestController::canOpenWindows):
3011         (LayoutTestController::setCanOpenWindows):
3012         (LayoutTestController::closeRemainingWindowsWhenComplete):
3013         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3014         (LayoutTestController::testRepaint):
3015         (LayoutTestController::setTestRepaint):
3016         (LayoutTestController::testRepaintSweepHorizontally):
3017         (LayoutTestController::setTestRepaintSweepHorizontally):
3018         (LayoutTestController::waitToDump):
3019         (LayoutTestController::windowIsKey):
3020         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
3021         * DumpRenderTree/NavigationController.h: Removed.
3022         * DumpRenderTree/NavigationController.m: Removed.
3023         * DumpRenderTree/ObjCController.h: Removed.
3024         * DumpRenderTree/ObjCController.m: Removed.
3025         * DumpRenderTree/ObjCPlugin.h: Removed.
3026         * DumpRenderTree/ObjCPlugin.m: Removed.
3027         * DumpRenderTree/ObjCPluginFunction.h: Removed.
3028         * DumpRenderTree/ObjCPluginFunction.m: Removed.
3029         * DumpRenderTree/PolicyDelegate.h: Removed.
3030         * DumpRenderTree/PolicyDelegate.m: Removed.
3031         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
3032         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
3033         * DumpRenderTree/TextInputController.h: Removed.
3034         * DumpRenderTree/TextInputController.m: Removed.
3035         * DumpRenderTree/UIDelegate.h: Removed.
3036         * DumpRenderTree/UIDelegate.mm: Removed.
3037         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
3038         * DumpRenderTree/mac: Added.
3039         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
3040         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
3041         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
3042         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
3043         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
3044         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
3045         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3046         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3047         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3048         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3049         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3050         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3051         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3052         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3053         (-[EditingDelegate webViewDidBeginEditing:]):
3054         (-[EditingDelegate webViewDidChange:]):
3055         (-[EditingDelegate webViewDidEndEditing:]):
3056         (-[EditingDelegate webViewDidChangeTypingStyle:]):
3057         (-[EditingDelegate webViewDidChangeSelection:]):
3058         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
3059         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
3060         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
3061         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
3062         (-[FrameLoadDelegate init]):
3063         (-[FrameLoadDelegate dealloc]):
3064         (-[FrameLoadDelegate processWork:]):
3065         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3066         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3067         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3068         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3069         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3070         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3071         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3072         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3073         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3074         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
3075         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
3076         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
3077         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
3078         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
3079         (-[FrameLoadDelegate webView:willCloseFrame:]):
3080         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3081         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3082         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
3083         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
3084         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
3085         (LayoutTestController::notifyDone):
3086         (LayoutTestController::setWindowIsKey):
3087         (LayoutTestController::setWaitToDump):
3088         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
3089         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
3090         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
3091         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
3092         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
3093         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
3094         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
3095         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
3096         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
3097         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
3098         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
3099         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
3100         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3101         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3102         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
3103         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
3104         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
3105         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
3106         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
3107         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
3108         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
3109         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
3110         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3111         (-[UIDelegate webViewFocus:]):
3112         (-[UIDelegate webView:createWebViewWithRequest:]):
3113         (-[UIDelegate webViewClose:]):
3114         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
3115
3116 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
3117
3118         Reviewed by Adam.
3119
3120         - Changing Win version of Drosera work with recent changes.
3121
3122         * Drosera/DebuggerDocument.cpp:
3123         * Drosera/DebuggerDocument.h:
3124         * Drosera/mac/DebuggerDocumentPlatform.mm:
3125         (NSStringCreateWithJSStringRef):
3126         (JSValueRefCreateWithNSString):
3127         * Drosera/win/DebuggerClient.cpp:
3128         (DebuggerClient::stepInto):
3129         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3130
3131 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
3132
3133         Reviewed by Tim.
3134
3135         - Moved isPaused into the JS for efficiency and simplicity.
3136
3137         * Drosera/DebuggerDocument.cpp:
3138         (DebuggerDocument::DebuggerDocument):
3139         (DebuggerDocument::pauseCallback):
3140         (DebuggerDocument::resumeCallback):
3141         (DebuggerDocument::isPaused):
3142         (DebuggerDocument::staticFunctions):
3143         * Drosera/DebuggerDocument.h:
3144         * Drosera/console.js:
3145         * Drosera/debugger.js:
3146         * Drosera/mac/DebuggerClient.mm:
3147         (-[DebuggerClient validateUserInterfaceItem:]):
3148
3149 2007-09-13  Sam Weinig  <sam@webkit.org>
3150
3151         Rubber stamped by Darin.
3152
3153         Make DumpRenderTree more cross platform ready.
3154         - Convert GCController to use the JSCore API instead of the WebScriptObject.
3155         - Use CF types instead of NS objects.
3156         - General cleanup.
3157
3158         * DumpRenderTree/DumpRenderTree.h:
3159         * DumpRenderTree/DumpRenderTree.mm:
3160         (dumpRenderTree):
3161         (dump):
3162         (runTest):
3163         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3164         * DumpRenderTree/EditingDelegate.m:
3165         * DumpRenderTree/FrameLoadDelegate.h:
3166         * DumpRenderTree/FrameLoadDelegate.mm:
3167         (-[FrameLoadDelegate init]):
3168         (-[FrameLoadDelegate dealloc]):
3169         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3170         * DumpRenderTree/GCController.cpp: Added.
3171         (GCController::GCController):
3172         (GCController::~GCController):
3173         (collectCallback):
3174         (collectOnAlternateThreadCallback):
3175         (getJSObjectCountCallback):
3176         (GCController::makeWindowObject):
3177         (GCController::getJSClass):
3178         (GCController::staticFunctions):
3179         * DumpRenderTree/GCController.h:
3180         * DumpRenderTree/GCController.mm:
3181         (GCController::collect):
3182         (GCController::collectOnAlternateThread):
3183         (GCController::getJSObjectCount):
3184         * DumpRenderTree/LayoutTestController.cpp:
3185         (LayoutTestController::makeWindowObject):
3186         (LayoutTestController::getJSClass):
3187         * DumpRenderTree/LayoutTestController.h:
3188         * DumpRenderTree/LayoutTestControllerMac.mm:
3189         (LayoutTestController::addDisallowedURL):
3190         (waitUntilDoneWatchdogFired):
3191         (LayoutTestController::waitUntilDone):
3192         * DumpRenderTree/ResourceLoadDelegate.m:
3193         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3194
3195 2007-09-12  Sam Weinig  <sam@webkit.org>
3196
3197         Reviewed by Stephanie.
3198
3199         Fix leaks in mac DumpRenderTree.
3200
3201         * DumpRenderTree/FrameLoadDelegate.mm:
3202         (-[FrameLoadDelegate init]): Initalize in the correct order.
3203         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
3204         * DumpRenderTree/LayoutTestController.cpp:
3205         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
3206         (encodeHostNameCallback): ditto.
3207         * DumpRenderTree/LayoutTestController.h:
3208         * DumpRenderTree/LayoutTestControllerMac.mm:
3209         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
3210         (LayoutTestController::copyEncodedHostName): ditto
3211         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
3212
3213 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
3214
3215         Reviewed by Geof.
3216
3217         - 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.
3218
3219         * Scripts/run-webkit-tests:
3220
3221 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
3222
3223         Reviewed by Darin.
3224
3225         - Simplified code paths and extracted out functions to increase encapsulation.
3226
3227         * Drosera/DebuggerDocument.cpp:
3228         (DebuggerDocument::breakpointEditorHTMLCallback):
3229         (DebuggerDocument::isPausedCallback):
3230         (DebuggerDocument::pauseCallback):
3231         (DebuggerDocument::resumeCallback):
3232         (DebuggerDocument::stepIntoCallback):
3233         (DebuggerDocument::evaluateScriptCallback):
3234         (DebuggerDocument::currentFunctionStackCallback):
3235         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3236         (DebuggerDocument::valueForScopeVariableNamedCallback):
3237         (DebuggerDocument::logCallback):
3238         * Drosera/DebuggerDocument.h:
3239         (DebuggerDocument::getPaused):
3240         * Drosera/mac/DebuggerClient.mm:
3241         (-[DebuggerClient pause:]):
3242         (-[DebuggerClient resume:]):
3243         (-[DebuggerClient stepInto:]):
3244         (-[DebuggerClient stepOver:]):
3245         (-[DebuggerClient stepOut:]):
3246         (-[DebuggerClient showConsole:]):
3247         (-[DebuggerClient closeCurrentFile:]):
3248         (-[DebuggerClient validateUserInterfaceItem:]):
3249         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
3250         (+[NSString stringOrNilFromWebScriptResult:]):
3251         (DebuggerDocument::platformPause):
3252         (DebuggerDocument::platformResume):
3253         (DebuggerDocument::platformStepInto):
3254         (DebuggerDocument::platformEvaluateScript):
3255         (DebuggerDocument::getPlatformCurrentFunctionStack):
3256         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3257         (DebuggerDocument::platformValueForScopeVariableNamed):
3258         (DebuggerDocument::platformLog):
3259         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3260
3261 2007-09-12  Sam Weinig  <sam@webkit.org>
3262
3263         Build fix for Buildbot.
3264
3265         * DumpRenderTree/DumpRenderTree.mm:
3266         (dump):
3267
3268 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
3269
3270         Reviewed by Geoff.
3271
3272         - Updated the leaks list for leopard to help identify regressions.
3273
3274         * Scripts/run-webkit-tests:
3275
3276 2007-09-12  Sam Weinig  <sam@webkit.org>
3277
3278         Rubber stamped by Darin.
3279
3280         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
3281
3282         * DumpRenderTree/DumpRenderTree.h: Re-order variables. 
3283         * DumpRenderTree/DumpRenderTree.m: Removed.
3284         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
3285         (stopJavaScriptThreads): Fix initialization.
3286         (setDefaultColorProfileToRGB): Add explicit cast from void*.
3287         (dumpRenderTree): Ditto.
3288         (runTest):
3289         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
3290
3291         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3292         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
3293         * DumpRenderTree/FrameLoadDelegate.m: Removed.
3294         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
3295         (-[FrameLoadDelegate init]):
3296         (-[FrameLoadDelegate dealloc]):
3297         (-[FrameLoadDelegate processWork:]):
3298         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3299         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3300         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
3301         
3302         * DumpRenderTree/LayoutTestController.cpp: Added.
3303         (LayoutTestController::LayoutTestController):
3304         (LayoutTestController::~LayoutTestController):
3305         (dumpAsTextCallback):
3306         (dumpBackForwardListCallback):
3307         (dumpChildFramesAsTextCallback):
3308         (dumpChildFrameScrollPositionsCallback):
3309         (dumpDOMAsWebArchiveCallback):
3310         (dumpEditingCallbacksCallback):
3311         (dumpFrameLoadCallbacksCallback):
3312         (dumpResourceLoadCallbacksCallback):
3313         (dumpSelectionRectCallback):
3314         (dumpSourceAsWebArchiveCallback):
3315         (dumpTitleChangesCallback):
3316         (repaintSweepHorizontallyCallback):
3317         (setCallCloseOnWebViewsCallback):
3318         (setCanOpenWindowsCallback):
3319         (setCloseRemainingWindowsWhenCompleteCallback):
3320         (testRepaintCallback):
3321         (addFileToPasteboardOnDragCallback):
3322         (addDisallowedURLCallback):
3323         (clearBackForwardListCallback):
3324         (decodeHostNameCallback):
3325         (displayCallback):
3326         (encodeHostNameCallback):
3327         (keepWebHistoryCallback):
3328         (notifyDoneCallback):
3329         (queueBackNavigationCallback):
3330         (queueForwardNavigationCallback):
3331         (queueLoadCallback):
3332         (queueReloadCallback):
3333         (queueScriptCallback):
3334         (setAcceptsEditingCallback):
3335         (setCustomPolicyDelegateCallback):
3336         (setMainFrameIsFirstResponderCallback):
3337         (setTabKeyCyclesThroughElementsCallback):
3338         (setUseDashboardCompatibilityModeCallback):
3339         (setUserStyleSheetEnabledCallback):
3340         (setUserStyleSheetLocationCallback):
3341         (setWindowIsKeyCallback):
3342         (waitUntilDoneCallback):
3343         (windowCountCallback):
3344         (LayoutTestController::makeWindowObject):
3345         (LayoutTestController::getLayoutTestControllerJSClass):
3346         (LayoutTestController::staticFunctions):
3347         * DumpRenderTree/LayoutTestController.h: Replaced.
3348         * DumpRenderTree/LayoutTestController.m: Removed.
3349         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3350         (LayoutTestController::dumpAsText):
3351         (LayoutTestController::dumpBackForwardList):
3352         (LayoutTestController::dumpChildFramesAsText):
3353         (LayoutTestController::dumpChildFrameScrollPositions):
3354         (LayoutTestController::dumpDOMAsWebArchive):
3355         (LayoutTestController::dumpEditingCallbacks):
3356         (LayoutTestController::dumpFrameLoadCallbacks):
3357         (LayoutTestController::dumpResourceLoadCallbacks):
3358         (LayoutTestController::dumpSelectionRect):
3359         (LayoutTestController::dumpSourceAsWebArchive):
3360         (LayoutTestController::dumpTitleChanges):
3361         (LayoutTestController::repaintSweepHorizontally):
3362         (LayoutTestController::setCallCloseOnWebViews):
3363         (LayoutTestController::setCanOpenWindows):
3364         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3365         (LayoutTestController::testRepaint):
3366         (LayoutTestController::addFileToPasteboardOnDrag):
3367         (LayoutTestController::addDisallowedURL):
3368         (LayoutTestController::clearBackForwardList):
3369         (LayoutTestController::decodeHostName):
3370         (LayoutTestController::encodeHostName):
3371         (LayoutTestController::display):
3372         (LayoutTestController::keepWebHistory):
3373         (LayoutTestController::notifyDone):
3374         (LayoutTestController::queueBackNavigation):
3375         (LayoutTestController::queueForwardNavigation):
3376         (LayoutTestController::queueLoad):
3377         (LayoutTestController::queueReload):
3378         (LayoutTestController::queueScript):
3379         (LayoutTestController::setAcceptsEditing):
3380         (LayoutTestController::setCustomPolicyDelegate):
3381         (LayoutTestController::setMainFrameIsFirstResponder):
3382         (LayoutTestController::setTabKeyCyclesThroughElements):
3383         (LayoutTestController::setUseDashboardCompatibilityMode):
3384         (LayoutTestController::setUserStyleSheetEnabled):
3385         (LayoutTestController::setUserStyleSheetLocation):
3386         (LayoutTestController::setWindowIsKey):
3387         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3388         (LayoutTestController::waitUntilDone):
3389         (LayoutTestController::windowCount):
3390         Use the JSCore API to implement the LayoutTestController.
3391
3392         * DumpRenderTree/ObjCController.h:
3393         * DumpRenderTree/ObjCController.m:
3394         (+[ObjCController isSelectorExcludedFromWebScript:]):
3395         (+[ObjCController webScriptNameForSelector:]):
3396         (-[ObjCController accessStoredWebScriptObject]):
3397         (-[ObjCController storeWebScriptObject:]):
3398         (-[ObjCController dealloc]):
3399         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3400         Move WebScriptObject tests to ObjCController.
3401
3402         * DumpRenderTree/UIDelegate.m: Removed.
3403         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3404
3405         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3406         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3407         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3408         (WorkQueueItem::~WorkQueueItem):
3409         (LoadItem::LoadItem):
3410         (LoadItem::url):
3411         (LoadItem::target):
3412         (ScriptItem::ScriptItem):
3413         (ScriptItem::script):
3414         * DumpRenderTree/WorkQueueItemMac.mm: Added.
3415         (LoadItem::invoke):
3416         (ReloadItem::invoke):
3417         (ScriptItem::invoke):
3418         (BackForwardItem::invoke):
3419         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3420         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
3421         sharing code.
3422
3423 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
3424
3425         Reviewed by Maciej.
3426
3427         - Updated Win side to take advantage of the platform separating changes.
3428
3429         * Drosera/DebuggerDocument.cpp:
3430         (DebuggerDocument::localScopeVariableNamesForCallFrame):
3431         * Drosera/DebuggerDocument.h:
3432         * Drosera/win/DebuggerClient.cpp:
3433         (DebuggerClient::pause):
3434         (DebuggerClient::resume):
3435         (DebuggerClient::stepInto):
3436         (DebuggerDocument::platformPause):
3437         (DebuggerDocument::platformResume):
3438         (DebuggerDocument::platformStepInto):
3439         (DebuggerDocument::platformEvaluateScript):
3440         (DebuggerDocument::getPlatformCurrentFunctionStack):
3441         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3442         (DebuggerDocument::platformValueForScopeVariableNamed):
3443         (DebuggerDocument::platformLog):
3444         * Drosera/win/DebuggerClient.h:
3445         * Drosera/win/Drosera.cpp:
3446         (Drosera::Drosera):
3447         (Drosera::windowScriptObjectAvailable):
3448         (Drosera::initWithServerName):
3449         (Drosera::switchToServerNamed):
3450         * Drosera/win/Drosera.h:
3451         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3452
3453 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
3454
3455         Reviewed by Adam.
3456
3457         - Just doing the moves in a separate patch so the changes are easier to see.
3458
3459         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3460         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3461         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3462         * Drosera/win/DebuggerDocumentWin.h: Removed.
3463         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3464
3465 2007-09-11  Sven Herzberg  <sven@imendio.com>
3466
3467         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3468         http://bugs.webkit.org/show_bug.cgi?id=15176
3469
3470         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3471         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3472         other paths eg. from jhbuild)
3473
3474 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
3475
3476         Reviewed by Adam.
3477
3478         - Made an order-of-deletion mistake.
3479
3480         * Drosera/DebuggerDocument.h:
3481         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3482         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3483         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3484         * Drosera/mac/DebuggerClient.mm:
3485         (DebuggerDocument::platformPause):
3486         (DebuggerDocument::platformResume):
3487         (DebuggerDocument::platformStepInto):
3488         (DebuggerDocument::platformEvaluateScript):
3489         (DebuggerDocument::getPlatformCurrentFunctionStack):
3490         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3491         (DebuggerDocument::platformValueForScopeVariableNamed):
3492         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3493
3494 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
3495
3496         Reviewed by Darin.
3497
3498         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3499
3500         * Drosera/DebuggerDocument.cpp:
3501         (DebuggerDocument::DebuggerDocument):
3502         * Drosera/DebuggerDocument.h:
3503         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3504         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3505         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3506         * Drosera/mac/DebuggerApplication.mm:
3507         (-[DebuggerApplication attach:]):
3508         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3509         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3510         (DebuggerDocument::platformPause):
3511         (DebuggerDocument::platformResume):
3512         (DebuggerDocument::platformStepInto):
3513         (DebuggerDocument::platformEvaluateScript):
3514         (DebuggerDocument::getPlatformCurrentFunctionStack):
3515         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3516         (DebuggerDocument::platformValueForScopeVariableNamed):
3517         (DebuggerDocument::platformLog):
3518         * Drosera/mac/DebuggerDocumentMac.h: Removed.
3519         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3520         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3521
3522 2007-09-09  Sam Weinig  <sam@webkit.org>
3523
3524         Reviewed by Mark Rowe.
3525
3526         Remove 'objC' prefix from methods now in the ObjCController. 
3527
3528         * DumpRenderTree/ObjCController.m:
3529         (+[ObjCController isSelectorExcludedFromWebScript:]):
3530         (+[ObjCController webScriptNameForSelector:]):
3531         (-[ObjCController classNameOf:]):
3532         (-[ObjCController objectOfClass:]):
3533         (-[ObjCController identityIsEqual::]):
3534         (-[ObjCController longLongRoundTrip:]):
3535         (-[ObjCController unsignedLongLongRoundTrip:]):
3536
3537 2007-09-09  Sam Weinig  <sam@webkit.org>
3538
3539         Reviewed by Oliver.
3540
3541         Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
3542         - Move LayoutTestController into its own file.
3543         - Move Objective-C only functions on LayoutTestController into a new controller called the
3544           ObjCController. 
3545
3546         * DumpRenderTree/DumpRenderTree.h:
3547