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