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