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