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