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