b8b3dea4775b42efa934a202c9d345674714c0b1
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-10-03  Lars Knoll  <lars@trolltech.com>
2
3         Reviewed by bdash.
4
5         remove the hack in run-webkit-tests that forced text only test
6         to be taken from the platform independent dir. It was only left
7         there from early days.
8         
9         Remove platform dependent results for tests that are text only nowadays,
10         and add one platform dependent result for a text only test that requires it.
11
12         * Scripts/run-webkit-tests:
13
14 2007-10-03  Lars Knoll  <lars@trolltech.com>
15
16         Reviewed by olliej.
17
18         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
19
20         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
21         (WebCore::WebFrame::WebFrame):
22         (WebCore::WebPage::WebPage):
23         (WebCore::WebPage::createFrame):
24         (WebCore::WebPage::javaScriptAlert):
25         (WebCore::WebPage::javaScriptConsoleMessage):
26         (WebCore::DumpRenderTree::DumpRenderTree):
27         (WebCore::DumpRenderTree::~DumpRenderTree):
28         (WebCore::DumpRenderTree::open):
29         (WebCore::DumpRenderTree::readStdin):
30         (WebCore::DumpRenderTree::resetJSObjects):
31         (WebCore::DumpRenderTree::initJSObjects):
32         (WebCore::DumpRenderTree::dumpFramesAsText):
33         (WebCore::DumpRenderTree::dump):
34         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
35         (WebCore::DumpRenderTree::layoutTestController):
36         (WebCore::DumpRenderTree::eventSender):
37         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
38         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
39         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
40         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
41         (HackWebFrame::mousePressEvent):
42         (HackWebFrame::mouseReleaseEvent):
43         (HackWebFrame::mouseMoveEvent):
44         (HackWebFrame::HackWebFrame):
45         (HackWebFrame::~HackWebFrame):
46         (LayoutTestController::LayoutTestController):
47         (LayoutTestController::reset):
48         (LayoutTestController::maybeDump):
49         (LayoutTestController::waitUntilDone):
50         (LayoutTestController::notifyDone):
51         (LayoutTestController::dumpEditingCallbacks):
52         (LayoutTestController::queueReload):
53         (LayoutTestController::provisionalLoad):
54         (LayoutTestController::timerEvent):
55         (EventSender::EventSender):
56         (EventSender::mouseDown):
57         (EventSender::mouseUp):
58         (EventSender::mouseMoveTo):
59         (EventSender::leapForward):
60         (EventSender::keyDown):
61         (EventSender::frameUnderMouse):
62         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
63         (LayoutTestController::isLoading):
64         (LayoutTestController::setLoading):
65         (LayoutTestController::shouldDumpAsText):
66         (LayoutTestController::shouldDumpChildrenAsText):
67         (LayoutTestController::shouldWaitUntilDone):
68         (LayoutTestController::dumpAsText):
69         (LayoutTestController::dumpChildFramesAsText):
70         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
71         (messageHandler):
72         (crashHandler):
73         (main):
74         * Scripts/run-webkit-tests:
75
76 2007-10-03  Mark Rowe  <mrowe@apple.com>
77
78         Reviewed by Alp Toker.
79
80         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
81         should take precedence over QTDIR when determining which port we are working with.
82
83         * Scripts/webkitdirs.pm: 
84
85 2007-10-02  Adam Roben  <aroben@apple.com>
86
87         Add keychain to the list of default packages to install
88
89         Rubberstamped by Sam.
90
91         * CygwinDownloader/cygwin-downloader.py:
92         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
93
94 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
95
96         Reviewed by Adam.
97
98         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
99         Also makes WebCore regression test case logic work when using git.
100
101         * Scripts/prepare-ChangeLog:
102         (reviewerAndDescriptionForGitCommit): Added.
103
104 2007-10-02  Lars Knoll  <lars@trolltech.com>
105
106         Reviewed by bdash.
107
108         Add API to retrieve the frame name from QWebFrame.
109         Implement support for DRT::dumpChildrenAsText.
110
111         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
112         (WebCore::DumpRenderTree::dumpFramesAsText):
113         (WebCore::DumpRenderTree::dump):
114         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
115         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
116         (LayoutTestController::LayoutTestController):
117         (LayoutTestController::reset):
118         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
119
120 2007-10-02  Lars Knoll  <lars@trolltech.com>
121
122         Reviewed by bdash.
123
124         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
125
126         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
127         (WebCore::DumpRenderTree::readStdin):
128
129 2007-10-02  Mark Rowe  <mrowe@apple.com>
130
131         Reviewed by Oliver.
132
133         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
134
135         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
136         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
137
138 2007-10-02  Mark Rowe  <mrowe@apple.com>
139
140         Rubber-stamped by Maciej.
141
142         Configuration changes from build.webkit.org.  The major change is refactoring to work
143         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
144         last few weeks.
145
146         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
147         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
148         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
149         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
150         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
151         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
152         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
153         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
154
155 2007-10-02  Lars Knoll  <lars@trolltech.com>
156
157         Reviewed by Maciej.
158
159         Add support for eventSender.mouseMove to DRT.
160         Fixes fast/css/hover-affects-child.html
161
162         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
163         (EventSender::mouseMoveTo):
164
165 2007-10-01  Mark Rowe  <mrowe@apple.com>
166
167         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
168
169 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
170
171         Reviewed by Hyatt.
172
173         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
174
175         * Scripts/svn-apply:
176         (gitdiff2svndiff): Ignore lines beginning with "new file".
177         * Scripts/svn-unapply:
178         (gitdiff2svndiff): Ditto.
179
180 2007-09-30  George Staikos  <staikos@kde.org>
181
182         Qt build fix (Mac OS X specific)
183
184         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
185
186 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
187
188         Reviewed by Mark.
189
190         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
191         Remove Bakefiles from svn.
192
193         * GtkLauncher/Bakefiles.bkgen: Removed.
194         * GtkLauncher/ENV: Removed.
195         * GtkLauncher/gdklauncher.bkl: Removed.
196         * GtkLauncher/mk: Removed.
197         * Scripts/regenerate-makefiles: Removed.
198
199 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
200
201         Reviewed by John.
202
203         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
204
205         * Scripts/run-webkit-tests:
206
207 2007-09-26  Adam Roben  <aroben@apple.com>
208
209         Make not finding an installed WebKit non-fatal
210
211         What really matters is that we are able to load WebKit and its
212         dependencies, not whether we think we've found an installed WebKit.
213
214         Reviewed by Sam.
215
216         * WebKitInitializer/WebKitInitializer.cpp:
217         (getWebViewCLSID): Use new LOG_WARNING macro.
218         (getInstalledWebKitDirectory): Ditto.
219         (initializeWebKit): Don't die if we didn't find an installed WebKit,
220         and use new macros.
221         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
222
223 2007-09-26  Adam Roben  <aroben@apple.com>
224
225         Committed this file before saving it
226
227         * WebKitInitializer/debug_internal.vsprops:
228
229 2007-09-26  Adam Roben  <aroben@apple.com>
230
231         Load WebKit and its dependencies manually so they come from DllDirectory
232
233         I had to change WebKitInitializer to use malloc/free instead of
234         new/delete to avoid pulling in WebKit (and its dependencies) early
235         through use of fastMalloc.
236
237         Reviewed by Oliver.
238
239         * WebKitInitializer/WebKitInitializer.cpp:
240         (getStringValue): Changed to use malloc/free.
241         (getInstalledWebKitDirectory): Ditto.
242         (initializeWebKit): Call SetDllDirectory first, then load all of
243         WebKit's dependencies manually, finally followed by WebKit itself.
244         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
245         configuration to match our other projects.
246         * WebKitInitializer/debug_internal.vsprops: Added.
247
248 2007-09-25  Adam Roben  <aroben@apple.com>
249
250         Actually define DEBUG/NDEBUG so that we load WebKit correctly
251
252         Rubberstamped by Sam.
253
254         * WebKitInitializer/WebKitInitializer.vcproj:
255
256 2007-09-25  Adam Roben  <aroben@apple.com>
257
258         Make DumpRenderTree delay-load its dependencies
259
260         This lets WebKitInitializer re-route the dependencies to be loaded out
261         of the Safari installation directory.
262
263         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
264         same thing), since we can't import the kCFAllocatorDefault symbol when
265         delay-loading CoreFoundation.dll.
266
267         Rubberstamped by Sam.
268
269         * DumpRenderTree/win/DumpRenderTree.cpp:
270         (runTest):
271         (javaScriptThreads):
272         * DumpRenderTree/win/DumpRenderTree.vcproj:
273         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
274         (LayoutTestController::setWaitToDump):
275
276 2007-09-25  Adam Roben  <aroben@apple.com>
277
278         Pull ole32.lib into WebKitInitializer
279
280         Rubberstamped by Sam.
281
282         * WebKitInitializer/WebKitInitializer.vcproj:
283
284 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
285
286         Reviewed by Adam.
287
288         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
289           LGPL'ed files contain incorrect FSF address
290
291         * Drosera/config.h:
292
293 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
294
295         Reviewed by Adam.
296
297         Make svn-apply and svn-unapply work with git-diff formatted patches.
298
299         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
300         (gitdiff2svndiff): Added.
301         * Scripts/svn-unapply: Ditto.
302         (gitdiff2svndiff): Added.
303
304 2007-09-25  Adam Roben  <aroben@apple.com>
305
306         Pull advapi32.lib into WebKitInitializer
307
308         This is needed to get the registry functions we use.
309
310         Rubberstamped by Sam.
311
312         * WebKitInitializer/WebKitInitializer.vcproj:
313
314 2007-09-25  Adam Roben  <aroben@apple.com>
315
316         Add python and rsync to cygwin-downloader
317
318         Our build slaves need this, and it can't hurt for everyone else to
319         have it, too.
320
321         Reviewed by Sam.
322
323         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
324         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
325
326 2007-09-25  Adam Roben  <aroben@apple.com>
327
328         Add WebKitInitializer and use it in DumpRenderTree
329
330         WebKitInitializer is a static library that has one function,
331         initializeWebKit(). This registers WebKit and sets up the DLL search
332         path so that WebKit's dependencies that are installed with Safari can
333         be found.
334
335         Reviewed by Sam.
336
337         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
338         DumpRenderTree depend on it.
339         * DumpRenderTree/win/DumpRenderTree.cpp:
340         (initialize): Call initializeWebKit.
341         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
342         WebKitInitializer.lib.
343         * WebKitInitializer/WebKitInitializer.cpp: Added.
344         (getStringValue):
345         (getWebViewCLSID):
346         (getInstalledWebKitDirectory):
347         (initializeWebKit):
348         * WebKitInitializer/WebKitInitializer.h: Added.
349         * WebKitInitializer/WebKitInitializer.vcproj: Added.
350         * WebKitInitializer/debug.vsprops: Added.
351         * WebKitInitializer/release.vsprops: Added.
352
353 2007-09-25  Adam Roben  <aroben@apple.com>
354
355         Make run-webkit-tests respect set-webkit-configuration
356
357         Reviewed by Sam.
358
359         * Scripts/run-webkit-tests: Initialize $configuration to whatever
360         set-webkit-configuration was last set to.
361
362 2007-09-25  Mark Rowe  <mrowe@apple.com>
363
364         Rubber-stamped by Eric.
365
366         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
367         This makes it possible to automate nightly builds for the feature-branch.
368
369 2007-09-25  Adam Roben  <aroben@apple.com>
370
371         A couple of fixes/enhancements to update-webkit-*-libs
372
373         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
374         to tell update-webkit-support-libraries where it should find the
375         WebKitSupportLibrary.zip file you downloaded.
376
377         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
378         Windows-style path.
379
380         Reviewed by Sam.
381
382         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
383         to $auxiliaryLibsURL and removed an irrelevant comment.
384         * Scripts/update-webkit-support-libs:
385
386 2007-09-25  Adam Treat  <treat@kde.org>
387
388         Reviewed by Simon and Lars.
389
390         Refactors and cleans up Qt DRT member variable names, member variable
391         initialization, style fixes and general code cleanup.
392
393         Adds queueReload slot to LayoutTestController that some tests require.
394
395         Subclasses QWebFrame to make sure that all frames have an associated
396         LayoutTestController JS window object.
397
398         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
399         aren't dumped twice.
400
401         EOF fixes.
402
403         Together, this patch fixes some 20+ layout tests in QtWebKit.
404
405         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
406         (WebCore::WebFrame::WebFrame):
407         (WebCore::WebPage::WebPage):
408         (WebCore::WebPage::createFrame):
409         (WebCore::DumpRenderTree::DumpRenderTree):
410         (WebCore::DumpRenderTree::open):
411         (WebCore::DumpRenderTree::readStdin):
412         (WebCore::DumpRenderTree::initJSObjects):
413         (WebCore::DumpRenderTree::dump):
414         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
415         (WebCore::DumpRenderTree::layoutTestController):
416         (WebCore::DumpRenderTree::eventSender):
417         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
418         (LayoutTestController::LayoutTestController):
419         (LayoutTestController::reset):
420         (LayoutTestController::maybeDump):
421         (LayoutTestController::waitUntilDone):
422         (LayoutTestController::notifyDone):
423         (LayoutTestController::queueReload):
424         (LayoutTestController::provisionalLoad):
425         (EventSender::EventSender):
426         (EventSender::mouseDown):
427         (EventSender::mouseUp):
428         (EventSender::mouseMoveTo):
429         (EventSender::frameUnderMouse):
430         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
431         (LayoutTestController::isLoading):
432         (LayoutTestController::setLoading):
433         (LayoutTestController::dumpAsText):
434         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
435         (main):
436
437 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
438
439
440         - Reverted an accidentally checked in file.
441
442         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
443
444 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
445         Reviewed by Sam.
446
447         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
448
449         * DumpRenderTree/win/DumpRenderTree.vcproj:
450         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
451
452 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
453
454         Rubber stamped by Adam.
455
456         * GdkLauncher: Removed.
457         * GdkLauncher/Bakefiles.bkgen: Removed.
458         * GdkLauncher/ENV: Removed.
459         * GdkLauncher/GdkLauncher.pro: Removed.
460         * GdkLauncher/gdklauncher.bkl: Removed.
461         * GdkLauncher/main.cpp: Removed.
462         * GdkLauncher/mk: Removed.
463         * GdkLauncher/simple.svg: Removed.
464         * GdkLauncher/text.html: Removed.
465         * GtkLauncher: Added.
466         * GtkLauncher/GdkLauncher.pro: Removed.
467         * GtkLauncher/GtkLauncher.pro: Added.
468         * GtkLauncher/main.cpp:
469         (updateWindowTitle):
470         (main):
471         * Scripts/build-webkit:
472         * Scripts/regenerate-makefiles:
473         * Scripts/run-javascriptcore-tests:
474         * Scripts/run-launcher:
475         * Scripts/run-webkit-tests:
476         * Scripts/webkitdirs.pm:
477
478 2007-09-21  Timothy Hatcher  <timothy@apple.com>
479
480         Reviewed by Darin.
481
482         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
483
484         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
485         This is tested by plugins/root-object-premature-delete-crash.html.
486
487         * DumpRenderTree/mac/ObjCController.m:
488         (-[ObjCController accessStoredWebScriptObject]):
489
490 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
491
492         Reviewed by Oliver.
493
494         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
495
496         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
497         (FrameLoadDelegate::FrameLoadDelegate):
498
499 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
500
501         Reviewed by Adam.
502
503         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
504         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
505
506         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
507         Now isQt() and isGdk() use global variables that are only set once.
508
509         An array of all the parameters is now given to build-dumprender which includes
510         the platform on linux.
511
512         * Scripts/build-dumprendertree:
513         * Scripts/run-webkit-tests:
514         * Scripts/webkitdirs.pm:
515
516 2007-09-19  Adam Roben  <aroben@apple.com>
517
518         Rubberstamped by Hyatt.
519
520         * Spinneret: Removed.
521
522 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
523
524         Reviewed by David Kilzer.
525
526         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
527
528 2007-09-18  Sam Weinig  <sam@webkit.org>
529
530         Add JSRetainPtr.h #include to fix some builds.
531
532         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
533
534 2007-09-18  Mike Hommey  <glandium@debian.org>
535
536         Reviewed by Adam.
537
538         * Scripts/prepare-ChangeLog:
539         - Properly parse GECOS field.
540         - Use git configuration for user name and email when appropriate.
541
542 2007-09-17  Sam Weinig  <sam@webkit.org>
543
544         Build fix.
545
546         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
547
548 2007-09-17  Sam Weinig  <sam@webkit.org>
549
550         Reviewed by Adam Roben.
551
552         Share more code between mac and windows DRT.
553             - GCController is now shared.
554             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
555
556         * DumpRenderTree/GCController.cpp:
557         * DumpRenderTree/win/DumpRenderTree.cpp:
558         * DumpRenderTree/win/DumpRenderTree.vcproj:
559         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
560         (FrameLoadDelegate::FrameLoadDelegate):
561         (FrameLoadDelegate::~FrameLoadDelegate):
562         (FrameLoadDelegate::windowScriptObjectAvailable):
563         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
564         * DumpRenderTree/win/GCController.cpp: Removed.
565         * DumpRenderTree/win/GCController.h: Removed.
566         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
567         (GCController::collect):
568         (GCController::collectOnAlternateThread):
569         (GCController::getJSObjectCount):
570         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
571         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
572
573 2007-09-17  Sam Weinig  <sam@webkit.org>
574
575         Reviewed by Adam Roben.
576
577         Begin sharing code between mac and windows DRT.
578             - both now share LayoutTestController.h/cpp and implement platform dependant 
579               operations in LayoutTestControllerMac/Win.
580             - DumpRenderTree.h is now shared.
581             - WorkQueue and WorkQueueItem are also shared.
582
583         * DumpRenderTree/DumpRenderTree.h:
584         * DumpRenderTree/LayoutTestController.cpp:
585         * DumpRenderTree/win/DumpRenderTree.cpp:
586         (displayWebView):
587         (dumpFrameScrollPosition):
588         (dumpFramesAsText):
589         (dump):
590         (runTest):
591         * DumpRenderTree/win/DumpRenderTree.h: Removed.
592         * DumpRenderTree/win/DumpRenderTree.vcproj:
593         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
594         * DumpRenderTree/win/EditingDelegate.cpp:
595         (EditingDelegate::shouldBeginEditingInDOMRange):
596         (EditingDelegate::shouldEndEditingInDOMRange):
597         (EditingDelegate::shouldInsertNode):
598         (EditingDelegate::shouldInsertText):
599         (EditingDelegate::shouldDeleteDOMRange):
600         (EditingDelegate::shouldChangeSelectedDOMRange):
601         (EditingDelegate::shouldApplyStyle):
602         (EditingDelegate::shouldChangeTypingStyle):
603         (EditingDelegate::doPlatformCommand):
604         (EditingDelegate::webViewDidBeginEditing):
605         (EditingDelegate::webViewDidChange):
606         (EditingDelegate::webViewDidEndEditing):
607         (EditingDelegate::webViewDidChangeTypingStyle):
608         (EditingDelegate::webViewDidChangeSelection):
609         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
610         * DumpRenderTree/win/LayoutTestController.h: Removed.
611         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
612         (LayoutTestController::addDisallowedURL):
613         (LayoutTestController::clearBackForwardList):
614         (LayoutTestController::copyDecodedHostName):
615         (LayoutTestController::copyEncodedHostName):
616         (LayoutTestController::display):
617         (LayoutTestController::keepWebHistory):
618         (LayoutTestController::notifyDone):
619         (LayoutTestController::queueBackNavigation):
620         (LayoutTestController::queueForwardNavigation):
621         (jsStringRefToWString):
622         (LayoutTestController::queueLoad):
623         (LayoutTestController::queueReload):
624         (LayoutTestController::queueScript):
625         (LayoutTestController::setAcceptsEditing):
626         (LayoutTestController::setCustomPolicyDelegate):
627         (LayoutTestController::setMainFrameIsFirstResponder):
628         (LayoutTestController::setTabKeyCyclesThroughElements):
629         (LayoutTestController::setUseDashboardCompatibilityMode):
630         (LayoutTestController::setUserStyleSheetEnabled):
631         (LayoutTestController::setUserStyleSheetLocation):
632         (LayoutTestController::setWindowIsKey):
633         (waitUntilDoneWatchdogFired):
634         (LayoutTestController::setWaitToDump):
635         (LayoutTestController::windowCount):
636         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
637         (FrameLoadDelegate::didReceiveTitle):
638         (FrameLoadDelegate::processWork):
639         (FrameLoadDelegate::locationChangeDone):
640         (FrameLoadDelegate::windowScriptObjectAvailable):
641         * DumpRenderTree/win/WorkQueue.cpp: Removed.
642         * DumpRenderTree/win/WorkQueue.h: Removed.
643         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
644         * DumpRenderTree/win/WorkQueueItem.h: Removed.
645         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
646         (jsStringRefToWString):
647         (LoadItem::invoke):
648         (ScriptItem::invoke):
649
650 2007-09-17  Sam Weinig  <sam@webkit.org>
651
652         Reviewed by Adam Roben.
653
654         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
655
656         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
657         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
658         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
659         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
660         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
661         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
662         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
663         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
664         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
665         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
666         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
667         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
668         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
669         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
670         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
671         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
672         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
673         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
674         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
675         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
676         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
677         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
678         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
679         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
680         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
681         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
682         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
683         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
684         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
685         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
686         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
687         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
688         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
689         * DumpRenderTree/win: Added.
690         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
691         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
692         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
693         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
694         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
695         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
696         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
697         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
698         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
699         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
700         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
701         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
702         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
703         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
704         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
705         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
706         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
707         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
708         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
709         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
710         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
711         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
712         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
713         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
714         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
715         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
716
717 2007-09-15  Mark Rowe  <mrowe@apple.com>
718
719         Build fix for DumpRenderTree.
720
721         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
722
723 2007-09-14  Sam Weinig  <sam@webkit.org>
724
725         Rubber stamped by Adam Roben.
726
727         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
728           - The UIDelegate was put into a new file while the FrameLoadDelegate was
729             kept in the WaitUntilDoneDelegate file for the time being.
730
731         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
732         (main):
733         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
734         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
735         (UIDelegate::QueryInterface):
736         (UIDelegate::AddRef):
737         (UIDelegate::Release):
738         (UIDelegate::hasCustomMenuImplementation):
739         (UIDelegate::setFrame):
740         (UIDelegate::webViewFrame):
741         (UIDelegate::runJavaScriptAlertPanelWithMessage):
742         (UIDelegate::webViewAddMessageToConsole):
743         (UIDelegate::doDragDrop):
744         (UIDelegate::webViewGetDlgCode):
745         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
746         (UIDelegate::UIDelegate):
747         (UIDelegate::createWebViewWithRequest):
748         (UIDelegate::webViewShow):
749         (UIDelegate::webViewClose):
750         (UIDelegate::webViewFocus):
751         (UIDelegate::webViewUnfocus):
752         (UIDelegate::webViewFirstResponder):
753         (UIDelegate::makeFirstResponder):
754         (UIDelegate::setStatusText):
755         (UIDelegate::webViewStatusText):
756         (UIDelegate::webViewAreToolbarsVisible):
757         (UIDelegate::setToolbarsVisible):
758         (UIDelegate::webViewIsStatusBarVisible):
759         (UIDelegate::setStatusBarVisible):
760         (UIDelegate::webViewIsResizable):
761         (UIDelegate::setResizable):
762         (UIDelegate::setContentRect):
763         (UIDelegate::webViewContentRect):
764         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
765         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
766         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
767         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
768         (UIDelegate::mouseDidMoveOverElement):
769         (UIDelegate::contextMenuItemsForElement):
770         (UIDelegate::validateUserInterfaceItem):
771         (UIDelegate::shouldPerformAction):
772         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
773         (UIDelegate::willPerformDragDestinationAction):
774         (UIDelegate::dragSourceActionMaskForPoint):
775         (UIDelegate::willPerformDragSourceAction):
776         (UIDelegate::contextMenuItemSelected):
777         (UIDelegate::trackCustomPopupMenu):
778         (UIDelegate::measureCustomMenuItem):
779         (UIDelegate::drawCustomMenuItem):
780         (UIDelegate::addCustomMenuDrawingData):
781         (UIDelegate::cleanUpCustomMenuDrawingData):
782         (UIDelegate::canTakeFocus):
783         (UIDelegate::takeFocus):
784         (UIDelegate::registerUndoWithTarget):
785         (UIDelegate::removeAllActionsWithTarget):
786         (UIDelegate::setActionTitle):
787         (UIDelegate::undo):
788         (UIDelegate::redo):
789         (UIDelegate::canUndo):
790         (UIDelegate::canRedo):
791         (UIDelegate::webViewResizerRect):
792         (UIDelegate::webViewDrawResizer):
793         (UIDelegate::webViewScrolled):
794         (UIDelegate::webViewShouldInterruptJavaScript):
795         (UIDelegate::webViewReceivedFocus):
796         (UIDelegate::webViewLostFocus):
797         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
798         (FrameLoadDelegate::QueryInterface):
799         (FrameLoadDelegate::AddRef):
800         (FrameLoadDelegate::Release):
801         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
802         (FrameLoadDelegate::didCommitLoadForFrame):
803         (FrameLoadDelegate::didReceiveTitle):
804         (FrameLoadDelegate::processWork):
805         (processWorkTimer):
806         (FrameLoadDelegate::locationChangeDone):
807         (FrameLoadDelegate::didFinishLoadForFrame):
808         (FrameLoadDelegate::didFailLoadWithError):
809         (FrameLoadDelegate::windowScriptObjectAvailable):
810         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
811         (FrameLoadDelegate::FrameLoadDelegate):
812
813 2007-09-14  Sam Weinig  <sam@webkit.org>
814
815         Reviewed by Kevin McCullough.
816
817         Move mac specific globals in to mac/DumpRenderTreeMac.h
818
819         * DumpRenderTree/DumpRenderTree.h:
820         * DumpRenderTree/DumpRenderTree.mm: Removed.
821         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
822         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
823         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
824
825 2007-09-14  Brady Eidson  <beidson@apple.com>
826
827         Rubberstamped by Weinig
828
829         You know, Sam, some of us use case-sensitve filesystems...
830
831         * DumpRenderTree/DumpRenderTree.h:
832         * DumpRenderTree/mac/UIDelegate.mm:
833
834 2007-09-14  Sam Weinig  <sam@webkit.org>
835
836         Rubber stamped by Adam Roben.
837
838         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
839         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
840
841         * DumpRenderTree/AppleScriptController.h: Removed.
842         * DumpRenderTree/AppleScriptController.m: Removed.
843         * DumpRenderTree/DumpRenderTree.h:
844         * DumpRenderTree/DumpRenderTree.mm:
845         (startJavaScriptThreads):
846         (stopJavaScriptThreads):
847         (activateAhemFont):
848         (setDefaultColorProfileToRGB):
849         (makeLargeMallocFailSilently):
850         (dumpFrameScrollPosition):
851         (dumpFramesAsText):
852         (dump):
853         (runTest):
854         (-[DumpRenderTreeWindow isKeyWindow]):
855         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
856         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
857         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
858         * DumpRenderTree/EditingDelegate.h: Removed.
859         * DumpRenderTree/EditingDelegate.m: Removed.
860         * DumpRenderTree/EventSendingController.h: Removed.
861         * DumpRenderTree/EventSendingController.m: Removed.
862         * DumpRenderTree/FrameLoadDelegate.h: Removed.
863         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
864         * DumpRenderTree/GCController.mm: Removed.
865         * DumpRenderTree/ImageDiff.m: Removed.
866         * DumpRenderTree/LayoutTestController.cpp:
867         (LayoutTestController::LayoutTestController):
868         (dumpAsTextCallback):
869         (dumpBackForwardListCallback):
870         (dumpChildFramesAsTextCallback):
871         (dumpChildFrameScrollPositionsCallback):
872         (dumpDOMAsWebArchiveCallback):
873         (dumpEditingCallbacksCallback):
874         (dumpFrameLoadCallbacksCallback):
875         (dumpResourceLoadCallbacksCallback):
876         (dumpSelectionRectCallback):
877         (dumpSourceAsWebArchiveCallback):
878         (dumpTitleChangesCallback):
879         (repaintSweepHorizontallyCallback):
880         (setCallCloseOnWebViewsCallback):
881         (setCanOpenWindowsCallback):
882         (setCloseRemainingWindowsWhenCompleteCallback):
883         (testRepaintCallback):
884         (addFileToPasteboardOnDragCallback):
885         (waitUntilDoneCallback):
886         * DumpRenderTree/LayoutTestController.h:
887         (LayoutTestController::dumpAsText):
888         (LayoutTestController::setDumpAsText):
889         (LayoutTestController::dumpBackForwardList):
890         (LayoutTestController::setDumpBackForwardList):
891         (LayoutTestController::dumpChildFrameScrollPositions):
892         (LayoutTestController::setDumpChildFrameScrollPositions):
893         (LayoutTestController::dumpChildFramesAsText):
894         (LayoutTestController::setDumpChildFramesAsText):
895         (LayoutTestController::dumpDOMAsWebArchive):
896         (LayoutTestController::setDumpDOMAsWebArchive):
897         (LayoutTestController::dumpSelectionRect):
898         (LayoutTestController::setDumpSelectionRect):
899         (LayoutTestController::dumpSourceAsWebArchive):
900         (LayoutTestController::setDumpSourceAsWebArchive):
901         (LayoutTestController::dumpTitleChanges):
902         (LayoutTestController::setDumpTitleChanges):
903         (LayoutTestController::dumpEditingCallbacks):
904         (LayoutTestController::setDumpEditingCallbacks):
905         (LayoutTestController::dumpResourceLoadCallbacks):
906         (LayoutTestController::setDumpResourceLoadCallbacks):
907         (LayoutTestController::dumpFrameLoadCallbacks):
908         (LayoutTestController::setDumpFrameLoadCallbacks):
909         (LayoutTestController::addFileToPasteboardOnDrag):
910         (LayoutTestController::setAddFileToPasteboardOnDrag):
911         (LayoutTestController::callCloseOnWebViews):
912         (LayoutTestController::setCallCloseOnWebViews):
913         (LayoutTestController::canOpenWindows):
914         (LayoutTestController::setCanOpenWindows):
915         (LayoutTestController::closeRemainingWindowsWhenComplete):
916         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
917         (LayoutTestController::testRepaint):
918         (LayoutTestController::setTestRepaint):
919         (LayoutTestController::testRepaintSweepHorizontally):
920         (LayoutTestController::setTestRepaintSweepHorizontally):
921         (LayoutTestController::waitToDump):
922         (LayoutTestController::windowIsKey):
923         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
924         * DumpRenderTree/NavigationController.h: Removed.
925         * DumpRenderTree/NavigationController.m: Removed.
926         * DumpRenderTree/ObjCController.h: Removed.
927         * DumpRenderTree/ObjCController.m: Removed.
928         * DumpRenderTree/ObjCPlugin.h: Removed.
929         * DumpRenderTree/ObjCPlugin.m: Removed.
930         * DumpRenderTree/ObjCPluginFunction.h: Removed.
931         * DumpRenderTree/ObjCPluginFunction.m: Removed.
932         * DumpRenderTree/PolicyDelegate.h: Removed.
933         * DumpRenderTree/PolicyDelegate.m: Removed.
934         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
935         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
936         * DumpRenderTree/TextInputController.h: Removed.
937         * DumpRenderTree/TextInputController.m: Removed.
938         * DumpRenderTree/UIDelegate.h: Removed.
939         * DumpRenderTree/UIDelegate.mm: Removed.
940         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
941         * DumpRenderTree/mac: Added.
942         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
943         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
944         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
945         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
946         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
947         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
948         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
949         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
950         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
951         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
952         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
953         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
954         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
955         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
956         (-[EditingDelegate webViewDidBeginEditing:]):
957         (-[EditingDelegate webViewDidChange:]):
958         (-[EditingDelegate webViewDidEndEditing:]):
959         (-[EditingDelegate webViewDidChangeTypingStyle:]):
960         (-[EditingDelegate webViewDidChangeSelection:]):
961         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
962         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
963         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
964         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
965         (-[FrameLoadDelegate init]):
966         (-[FrameLoadDelegate dealloc]):
967         (-[FrameLoadDelegate processWork:]):
968         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
969         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
970         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
971         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
972         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
973         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
974         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
975         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
976         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
977         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
978         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
979         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
980         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
981         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
982         (-[FrameLoadDelegate webView:willCloseFrame:]):
983         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
984         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
985         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
986         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
987         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
988         (LayoutTestController::notifyDone):
989         (LayoutTestController::setWindowIsKey):
990         (LayoutTestController::setWaitToDump):
991         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
992         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
993         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
994         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
995         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
996         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
997         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
998         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
999         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
1000         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
1001         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
1002         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
1003         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1004         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1005         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1006         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1007         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1008         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1009         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
1010         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
1011         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
1012         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
1013         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1014         (-[UIDelegate webViewFocus:]):
1015         (-[UIDelegate webView:createWebViewWithRequest:]):
1016         (-[UIDelegate webViewClose:]):
1017         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
1018
1019 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
1020
1021         Reviewed by Adam.
1022
1023         - Changing Win version of Drosera work with recent changes.
1024
1025         * Drosera/DebuggerDocument.cpp:
1026         * Drosera/DebuggerDocument.h:
1027         * Drosera/mac/DebuggerDocumentPlatform.mm:
1028         (NSStringCreateWithJSStringRef):
1029         (JSValueRefCreateWithNSString):
1030         * Drosera/win/DebuggerClient.cpp:
1031         (DebuggerClient::stepInto):
1032         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1033
1034 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
1035
1036         Reviewed by Tim.
1037
1038         - Moved isPaused into the JS for efficiency and simplicity.
1039
1040         * Drosera/DebuggerDocument.cpp:
1041         (DebuggerDocument::DebuggerDocument):
1042         (DebuggerDocument::pauseCallback):
1043         (DebuggerDocument::resumeCallback):
1044         (DebuggerDocument::isPaused):
1045         (DebuggerDocument::staticFunctions):
1046         * Drosera/DebuggerDocument.h:
1047         * Drosera/console.js:
1048         * Drosera/debugger.js:
1049         * Drosera/mac/DebuggerClient.mm:
1050         (-[DebuggerClient validateUserInterfaceItem:]):
1051
1052 2007-09-13  Sam Weinig  <sam@webkit.org>
1053
1054         Rubber stamped by Darin.
1055
1056         Make DumpRenderTree more cross platform ready.
1057         - Convert GCController to use the JSCore API instead of the WebScriptObject.
1058         - Use CF types instead of NS objects.
1059         - General cleanup.
1060
1061         * DumpRenderTree/DumpRenderTree.h:
1062         * DumpRenderTree/DumpRenderTree.mm:
1063         (dumpRenderTree):
1064         (dump):
1065         (runTest):
1066         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1067         * DumpRenderTree/EditingDelegate.m:
1068         * DumpRenderTree/FrameLoadDelegate.h:
1069         * DumpRenderTree/FrameLoadDelegate.mm:
1070         (-[FrameLoadDelegate init]):
1071         (-[FrameLoadDelegate dealloc]):
1072         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1073         * DumpRenderTree/GCController.cpp: Added.
1074         (GCController::GCController):
1075         (GCController::~GCController):
1076         (collectCallback):
1077         (collectOnAlternateThreadCallback):
1078         (getJSObjectCountCallback):
1079         (GCController::makeWindowObject):
1080         (GCController::getJSClass):
1081         (GCController::staticFunctions):
1082         * DumpRenderTree/GCController.h:
1083         * DumpRenderTree/GCController.mm:
1084         (GCController::collect):
1085         (GCController::collectOnAlternateThread):
1086         (GCController::getJSObjectCount):
1087         * DumpRenderTree/LayoutTestController.cpp:
1088         (LayoutTestController::makeWindowObject):
1089         (LayoutTestController::getJSClass):
1090         * DumpRenderTree/LayoutTestController.h:
1091         * DumpRenderTree/LayoutTestControllerMac.mm:
1092         (LayoutTestController::addDisallowedURL):
1093         (waitUntilDoneWatchdogFired):
1094         (LayoutTestController::waitUntilDone):
1095         * DumpRenderTree/ResourceLoadDelegate.m:
1096         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1097
1098 2007-09-12  Sam Weinig  <sam@webkit.org>
1099
1100         Reviewed by Stephanie.
1101
1102         Fix leaks in mac DumpRenderTree.
1103
1104         * DumpRenderTree/FrameLoadDelegate.mm:
1105         (-[FrameLoadDelegate init]): Initalize in the correct order.
1106         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
1107         * DumpRenderTree/LayoutTestController.cpp:
1108         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
1109         (encodeHostNameCallback): ditto.
1110         * DumpRenderTree/LayoutTestController.h:
1111         * DumpRenderTree/LayoutTestControllerMac.mm:
1112         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
1113         (LayoutTestController::copyEncodedHostName): ditto
1114         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
1115
1116 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
1117
1118         Reviewed by Geof.
1119
1120         - 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.
1121
1122         * Scripts/run-webkit-tests:
1123
1124 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
1125
1126         Reviewed by Darin.
1127
1128         - Simplified code paths and extracted out functions to increase encapsulation.
1129
1130         * Drosera/DebuggerDocument.cpp:
1131         (DebuggerDocument::breakpointEditorHTMLCallback):
1132         (DebuggerDocument::isPausedCallback):
1133         (DebuggerDocument::pauseCallback):
1134         (DebuggerDocument::resumeCallback):
1135         (DebuggerDocument::stepIntoCallback):
1136         (DebuggerDocument::evaluateScriptCallback):
1137         (DebuggerDocument::currentFunctionStackCallback):
1138         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
1139         (DebuggerDocument::valueForScopeVariableNamedCallback):
1140         (DebuggerDocument::logCallback):
1141         * Drosera/DebuggerDocument.h:
1142         (DebuggerDocument::getPaused):
1143         * Drosera/mac/DebuggerClient.mm:
1144         (-[DebuggerClient pause:]):
1145         (-[DebuggerClient resume:]):
1146         (-[DebuggerClient stepInto:]):
1147         (-[DebuggerClient stepOver:]):
1148         (-[DebuggerClient stepOut:]):
1149         (-[DebuggerClient showConsole:]):
1150         (-[DebuggerClient closeCurrentFile:]):
1151         (-[DebuggerClient validateUserInterfaceItem:]):
1152         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
1153         (+[NSString stringOrNilFromWebScriptResult:]):
1154         (DebuggerDocument::platformPause):
1155         (DebuggerDocument::platformResume):
1156         (DebuggerDocument::platformStepInto):
1157         (DebuggerDocument::platformEvaluateScript):
1158         (DebuggerDocument::getPlatformCurrentFunctionStack):
1159         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1160         (DebuggerDocument::platformValueForScopeVariableNamed):
1161         (DebuggerDocument::platformLog):
1162         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1163
1164 2007-09-12  Sam Weinig  <sam@webkit.org>
1165
1166         Build fix for Buildbot.
1167
1168         * DumpRenderTree/DumpRenderTree.mm:
1169         (dump):
1170
1171 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
1172
1173         Reviewed by Geoff.
1174
1175         - Updated the leaks list for leopard to help identify regressions.
1176
1177         * Scripts/run-webkit-tests:
1178
1179 2007-09-12  Sam Weinig  <sam@webkit.org>
1180
1181         Rubber stamped by Darin.
1182
1183         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
1184
1185         * DumpRenderTree/DumpRenderTree.h: Re-order variables. 
1186         * DumpRenderTree/DumpRenderTree.m: Removed.
1187         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
1188         (stopJavaScriptThreads): Fix initialization.
1189         (setDefaultColorProfileToRGB): Add explicit cast from void*.
1190         (dumpRenderTree): Ditto.
1191         (runTest):
1192         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
1193
1194         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1195         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
1196         * DumpRenderTree/FrameLoadDelegate.m: Removed.
1197         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
1198         (-[FrameLoadDelegate init]):
1199         (-[FrameLoadDelegate dealloc]):
1200         (-[FrameLoadDelegate processWork:]):
1201         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1202         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1203         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
1204         
1205         * DumpRenderTree/LayoutTestController.cpp: Added.
1206         (LayoutTestController::LayoutTestController):
1207         (LayoutTestController::~LayoutTestController):
1208         (dumpAsTextCallback):
1209         (dumpBackForwardListCallback):
1210         (dumpChildFramesAsTextCallback):
1211         (dumpChildFrameScrollPositionsCallback):
1212         (dumpDOMAsWebArchiveCallback):
1213         (dumpEditingCallbacksCallback):
1214         (dumpFrameLoadCallbacksCallback):
1215         (dumpResourceLoadCallbacksCallback):
1216         (dumpSelectionRectCallback):
1217         (dumpSourceAsWebArchiveCallback):
1218         (dumpTitleChangesCallback):
1219         (repaintSweepHorizontallyCallback):
1220         (setCallCloseOnWebViewsCallback):
1221         (setCanOpenWindowsCallback):
1222         (setCloseRemainingWindowsWhenCompleteCallback):
1223         (testRepaintCallback):
1224         (addFileToPasteboardOnDragCallback):
1225         (addDisallowedURLCallback):
1226         (clearBackForwardListCallback):
1227         (decodeHostNameCallback):
1228         (displayCallback):
1229         (encodeHostNameCallback):
1230         (keepWebHistoryCallback):
1231         (notifyDoneCallback):
1232         (queueBackNavigationCallback):
1233         (queueForwardNavigationCallback):
1234         (queueLoadCallback):
1235         (queueReloadCallback):
1236         (queueScriptCallback):
1237         (setAcceptsEditingCallback):
1238         (setCustomPolicyDelegateCallback):
1239         (setMainFrameIsFirstResponderCallback):
1240         (setTabKeyCyclesThroughElementsCallback):
1241         (setUseDashboardCompatibilityModeCallback):
1242         (setUserStyleSheetEnabledCallback):
1243         (setUserStyleSheetLocationCallback):
1244         (setWindowIsKeyCallback):
1245         (waitUntilDoneCallback):
1246         (windowCountCallback):
1247         (LayoutTestController::makeWindowObject):
1248         (LayoutTestController::getLayoutTestControllerJSClass):
1249         (LayoutTestController::staticFunctions):
1250         * DumpRenderTree/LayoutTestController.h: Replaced.
1251         * DumpRenderTree/LayoutTestController.m: Removed.
1252         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
1253         (LayoutTestController::dumpAsText):
1254         (LayoutTestController::dumpBackForwardList):
1255         (LayoutTestController::dumpChildFramesAsText):
1256         (LayoutTestController::dumpChildFrameScrollPositions):
1257         (LayoutTestController::dumpDOMAsWebArchive):
1258         (LayoutTestController::dumpEditingCallbacks):
1259         (LayoutTestController::dumpFrameLoadCallbacks):
1260         (LayoutTestController::dumpResourceLoadCallbacks):
1261         (LayoutTestController::dumpSelectionRect):
1262         (LayoutTestController::dumpSourceAsWebArchive):
1263         (LayoutTestController::dumpTitleChanges):
1264         (LayoutTestController::repaintSweepHorizontally):
1265         (LayoutTestController::setCallCloseOnWebViews):
1266         (LayoutTestController::setCanOpenWindows):
1267         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1268         (LayoutTestController::testRepaint):
1269         (LayoutTestController::addFileToPasteboardOnDrag):
1270         (LayoutTestController::addDisallowedURL):
1271         (LayoutTestController::clearBackForwardList):
1272         (LayoutTestController::decodeHostName):
1273         (LayoutTestController::encodeHostName):
1274         (LayoutTestController::display):
1275         (LayoutTestController::keepWebHistory):
1276         (LayoutTestController::notifyDone):
1277         (LayoutTestController::queueBackNavigation):
1278         (LayoutTestController::queueForwardNavigation):
1279         (LayoutTestController::queueLoad):
1280         (LayoutTestController::queueReload):
1281         (LayoutTestController::queueScript):
1282         (LayoutTestController::setAcceptsEditing):
1283         (LayoutTestController::setCustomPolicyDelegate):
1284         (LayoutTestController::setMainFrameIsFirstResponder):
1285         (LayoutTestController::setTabKeyCyclesThroughElements):
1286         (LayoutTestController::setUseDashboardCompatibilityMode):
1287         (LayoutTestController::setUserStyleSheetEnabled):
1288         (LayoutTestController::setUserStyleSheetLocation):
1289         (LayoutTestController::setWindowIsKey):
1290         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
1291         (LayoutTestController::waitUntilDone):
1292         (LayoutTestController::windowCount):
1293         Use the JSCore API to implement the LayoutTestController.
1294
1295         * DumpRenderTree/ObjCController.h:
1296         * DumpRenderTree/ObjCController.m:
1297         (+[ObjCController isSelectorExcludedFromWebScript:]):
1298         (+[ObjCController webScriptNameForSelector:]):
1299         (-[ObjCController accessStoredWebScriptObject]):
1300         (-[ObjCController storeWebScriptObject:]):
1301         (-[ObjCController dealloc]):
1302         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
1303         Move WebScriptObject tests to ObjCController.
1304
1305         * DumpRenderTree/UIDelegate.m: Removed.
1306         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
1307
1308         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1309         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1310         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1311         (WorkQueueItem::~WorkQueueItem):
1312         (LoadItem::LoadItem):
1313         (LoadItem::url):
1314         (LoadItem::target):
1315         (ScriptItem::ScriptItem):
1316         (ScriptItem::script):
1317         * DumpRenderTree/WorkQueueItemMac.mm: Added.
1318         (LoadItem::invoke):
1319         (ReloadItem::invoke):
1320         (ScriptItem::invoke):
1321         (BackForwardItem::invoke):
1322         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
1323         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
1324         sharing code.
1325
1326 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
1327
1328         Reviewed by Maciej.
1329
1330         - Updated Win side to take advantage of the platform separating changes.
1331
1332         * Drosera/DebuggerDocument.cpp:
1333         (DebuggerDocument::localScopeVariableNamesForCallFrame):
1334         * Drosera/DebuggerDocument.h:
1335         * Drosera/win/DebuggerClient.cpp:
1336         (DebuggerClient::pause):
1337         (DebuggerClient::resume):
1338         (DebuggerClient::stepInto):
1339         (DebuggerDocument::platformPause):
1340         (DebuggerDocument::platformResume):
1341         (DebuggerDocument::platformStepInto):
1342         (DebuggerDocument::platformEvaluateScript):
1343         (DebuggerDocument::getPlatformCurrentFunctionStack):
1344         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1345         (DebuggerDocument::platformValueForScopeVariableNamed):
1346         (DebuggerDocument::platformLog):
1347         * Drosera/win/DebuggerClient.h:
1348         * Drosera/win/Drosera.cpp:
1349         (Drosera::Drosera):
1350         (Drosera::windowScriptObjectAvailable):
1351         (Drosera::initWithServerName):
1352         (Drosera::switchToServerNamed):
1353         * Drosera/win/Drosera.h:
1354         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1355
1356 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
1357
1358         Reviewed by Adam.
1359
1360         - Just doing the moves in a separate patch so the changes are easier to see.
1361
1362         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
1363         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
1364         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
1365         * Drosera/win/DebuggerDocumentWin.h: Removed.
1366         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1367
1368 2007-09-11  Sven Herzberg  <sven@imendio.com>
1369
1370         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
1371         http://bugs.webkit.org/show_bug.cgi?id=15176
1372
1373         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
1374         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
1375         other paths eg. from jhbuild)
1376
1377 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
1378
1379         Reviewed by Adam.
1380
1381         - Made an order-of-deletion mistake.
1382
1383         * Drosera/DebuggerDocument.h:
1384         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
1385         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
1386         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
1387         * Drosera/mac/DebuggerClient.mm:
1388         (DebuggerDocument::platformPause):
1389         (DebuggerDocument::platformResume):
1390         (DebuggerDocument::platformStepInto):
1391         (DebuggerDocument::platformEvaluateScript):
1392         (DebuggerDocument::getPlatformCurrentFunctionStack):
1393         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1394         (DebuggerDocument::platformValueForScopeVariableNamed):
1395         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1396
1397 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
1398
1399         Reviewed by Darin.
1400
1401         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
1402
1403         * Drosera/DebuggerDocument.cpp:
1404         (DebuggerDocument::DebuggerDocument):
1405         * Drosera/DebuggerDocument.h:
1406         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
1407         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
1408         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
1409         * Drosera/mac/DebuggerApplication.mm:
1410         (-[DebuggerApplication attach:]):
1411         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
1412         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
1413         (DebuggerDocument::platformPause):
1414         (DebuggerDocument::platformResume):
1415         (DebuggerDocument::platformStepInto):
1416         (DebuggerDocument::platformEvaluateScript):
1417         (DebuggerDocument::getPlatformCurrentFunctionStack):
1418         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1419         (DebuggerDocument::platformValueForScopeVariableNamed):
1420         (DebuggerDocument::platformLog):
1421         * Drosera/mac/DebuggerDocumentMac.h: Removed.
1422         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
1423         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1424
1425 2007-09-09  Sam Weinig  <sam@webkit.org>
1426
1427         Reviewed by Mark Rowe.
1428
1429         Remove 'objC' prefix from methods now in the ObjCController. 
1430
1431         * DumpRenderTree/ObjCController.m:
1432         (+[ObjCController isSelectorExcludedFromWebScript:]):
1433         (+[ObjCController webScriptNameForSelector:]):
1434         (-[ObjCController classNameOf:]):
1435         (-[ObjCController objectOfClass:]):
1436         (-[ObjCController identityIsEqual::]):
1437         (-[ObjCController longLongRoundTrip:]):
1438         (-[ObjCController unsignedLongLongRoundTrip:]):
1439
1440 2007-09-09  Sam Weinig  <sam@webkit.org>
1441
1442         Reviewed by Oliver.
1443
1444         Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
1445         - Move LayoutTestController into its own file.
1446         - Move Objective-C only functions on LayoutTestController into a new controller called the
1447           ObjCController. 
1448
1449         * DumpRenderTree/DumpRenderTree.h:
1450         * DumpRenderTree/DumpRenderTree.m:
1451         (displayWebView):
1452         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1453         * DumpRenderTree/FrameLoadDelegate.m:
1454         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1455         * DumpRenderTree/LayoutTestController.h: Added.
1456         * DumpRenderTree/LayoutTestController.m: Added.
1457         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1458         (+[LayoutTestController webScriptNameForSelector:]):
1459         (-[LayoutTestController clearBackForwardList]):
1460         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
1461         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
1462         (-[LayoutTestController setCustomPolicyDelegate:]):
1463         (-[LayoutTestController keepWebHistory]):
1464         (-[LayoutTestController setCallCloseOnWebViews:]):
1465         (-[LayoutTestController setCanOpenWindows]):
1466         (-[LayoutTestController waitUntilDone]):
1467         (-[LayoutTestController waitUntilDoneWatchdogFired]):
1468         (-[LayoutTestController notifyDone]):
1469         (-[LayoutTestController dumpAsText]):
1470         (-[LayoutTestController addFileToPasteboardOnDrag]):
1471         (-[LayoutTestController addDisallowedURL:]):
1472         (-[LayoutTestController setUserStyleSheetLocation:]):
1473         (-[LayoutTestController setUserStyleSheetEnabled:]):
1474         (-[LayoutTestController dumpDOMAsWebArchive]):
1475         (-[LayoutTestController dumpSourceAsWebArchive]):
1476         (-[LayoutTestController dumpSelectionRect]):
1477         (-[LayoutTestController dumpTitleChanges]):
1478         (-[LayoutTestController dumpBackForwardList]):
1479         (-[LayoutTestController windowCount]):
1480         (-[LayoutTestController dumpChildFrameScrollPositions]):
1481         (-[LayoutTestController dumpChildFramesAsText]):
1482         (-[LayoutTestController dumpEditingCallbacks]):
1483         (-[LayoutTestController dumpResourceLoadCallbacks]):
1484         (-[LayoutTestController dumpFrameLoadCallbacks]):
1485         (-[LayoutTestController setWindowIsKey:]):
1486         (-[LayoutTestController setMainFrameIsFirstResponder:]):
1487         (-[LayoutTestController display]):
1488         (-[LayoutTestController testRepaint]):
1489         (-[LayoutTestController repaintSweepHorizontally]):
1490         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1491         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
1492         (-[LayoutTestController _doLoad:target:]):
1493         (-[LayoutTestController _doBackOrForwardNavigation:]):
1494         (-[LayoutTestController queueBackNavigation:]):
1495         (-[LayoutTestController queueForwardNavigation:]):
1496         (-[LayoutTestController queueReload]):
1497         (-[LayoutTestController queueScript:]):
1498         (-[LayoutTestController queueLoad:target:]):
1499         (-[LayoutTestController setAcceptsEditing:]):
1500         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
1501         (-[LayoutTestController storeWebScriptObject:]):
1502         (-[LayoutTestController accessStoredWebScriptObject]):
1503         (-[LayoutTestController dealloc]):
1504         (-[LayoutTestController decodeHostName:]):
1505         (-[LayoutTestController encodeHostName:]):
1506         * DumpRenderTree/ObjCController.h: Added.
1507         * DumpRenderTree/ObjCController.m: Added.
1508         (+[ObjCController isSelectorExcludedFromWebScript:]):
1509         (+[ObjCController webScriptNameForSelector:]):
1510         (-[ObjCController objCClassNameOf:]):
1511         (-[ObjCController objCObjectOfClass:]):
1512         (-[ObjCController objCIdentityIsEqual::]):
1513         (-[ObjCController objCLongLongRoundTrip:]):
1514         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
1515         (-[ObjCController testWrapperRoundTripping:]):
1516
1517 2007-09-07  Sam Weinig  <sam@webkit.org>
1518
1519         Reviewed by Alice.
1520
1521         Strip trailing and leading space/newline characters from skiplist file names.
1522
1523         * Scripts/run-webkit-tests:
1524
1525 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
1526
1527         Reviewed by Maciej.
1528
1529         - Changed Drosera to take advantage of the JSRetainPtr changes.
1530
1531         * Drosera/DebuggerDocument.cpp:
1532         (DebuggerDocument::breakpointEditorHTML):
1533         (DebuggerDocument::evaluateScript):
1534         (DebuggerDocument::valueForScopeVariableNamed):
1535         (DebuggerDocument::log):
1536         (DebuggerDocument::windowScriptObjectAvailable):
1537         (DebuggerDocument::toJSArray):
1538         (DebuggerDocument::callFunctionOnObject):
1539         (DebuggerDocument::logException):
1540         * Drosera/mac/DebuggerDocumentMac.mm:
1541         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
1542         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1543         (DebuggerDocument::platformEvaluateScript):
1544         (DebuggerDocument::getPlatformCurrentFunctionStack):
1545         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1546         (DebuggerDocument::platformValueForScopeVariableNamed):
1547
1548 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
1549
1550         Reviewed by Adam, Sam, Darin.
1551
1552         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
1553
1554         * Drosera/Debugger.h: Added.
1555         * Drosera/DebuggerDocument.cpp:
1556         (DebuggerDocument::breakpointEditorHTMLCallback):
1557         (DebuggerDocument::isPausedCallback):
1558         (DebuggerDocument::pauseCallback):
1559         (DebuggerDocument::resumeCallback):
1560         (DebuggerDocument::stepIntoCallback):
1561         (DebuggerDocument::evaluateScriptCallback):
1562         (DebuggerDocument::currentFunctionStackCallback):
1563         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
1564         (DebuggerDocument::valueForScopeVariableNamedCallback):
1565         (DebuggerDocument::logCallback):
1566         (DebuggerDocument::breakpointEditorHTML):
1567         (DebuggerDocument::isPaused):
1568         (DebuggerDocument::pause):
1569         (DebuggerDocument::resume):
1570         (DebuggerDocument::stepInto):
1571         (DebuggerDocument::evaluateScript):
1572         (DebuggerDocument::currentFunctionStack):
1573         (DebuggerDocument::localScopeVariableNamesForCallFrame):
1574         (DebuggerDocument::valueForScopeVariableNamed):
1575         (DebuggerDocument::log):
1576         (DebuggerDocument::toolbarPause):
1577         (DebuggerDocument::toolbarResume):
1578         (DebuggerDocument::toolbarStepInto):
1579         (DebuggerDocument::toolbarStepOver):
1580         (DebuggerDocument::toolbarStepOut):
1581         (DebuggerDocument::toolbarShowConsole):
1582         (DebuggerDocument::toolbarCloseCurrentFile):
1583         (DebuggerDocument::updateFileSource):
1584         (DebuggerDocument::didParseScript):
1585         (DebuggerDocument::willExecuteStatement):
1586         (DebuggerDocument::didEnterCallFrame):
1587         (DebuggerDocument::willLeaveCallFrame):
1588         (DebuggerDocument::exceptionWasRaised):
1589         (DebuggerDocument::windowScriptObjectAvailable):
1590         (DebuggerDocument::toJSArray):
1591         (DebuggerDocument::callGlobalFunction):
1592         (DebuggerDocument::callFunctionOnObject):
1593         (DebuggerDocument::getDroseraJSClass):
1594         (DebuggerDocument::staticFunctions):
1595         (DebuggerDocument::logException):
1596         * Drosera/DebuggerDocument.h:
1597         (DebuggerDocument::DebuggerDocument):
1598         * Drosera/ForwardingHeaders: Added.
1599         * Drosera/ForwardingHeaders/wtf: Added.
1600         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
1601         * Drosera/config.h:
1602         * Drosera/console.html:
1603         * Drosera/console.js:
1604         * Drosera/debugger.js:
1605         * Drosera/mac/DebuggerApplication.mm:
1606         (-[DebuggerApplication attach:]):
1607         * Drosera/mac/DebuggerDocumentMac.h:
1608         * Drosera/mac/DebuggerDocumentMac.mm:
1609         (+[NSString stringOrNilFromWebScriptResult:]):
1610         (+[DebuggerClientMac log:]):
1611         (-[DebuggerClientMac initWithServerName:]):
1612         (-[DebuggerClientMac dealloc]):
1613         (-[DebuggerClientMac pause]):
1614         (-[DebuggerClientMac resume]):
1615         (-[DebuggerClientMac pause:]):
1616         (-[DebuggerClientMac resume:]):
1617         (-[DebuggerClientMac stepInto:]):
1618         (-[DebuggerClientMac stepOver:]):
1619         (-[DebuggerClientMac stepOut:]):
1620         (-[DebuggerClientMac showConsole:]):
1621         (-[DebuggerClientMac closeCurrentFile:]):
1622         (-[DebuggerClientMac validateUserInterfaceItem:]):
1623         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
1624         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1625         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1626         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1627         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1628         (DebuggerDocument::platformPause):
1629         (DebuggerDocument::platformResume):
1630         (DebuggerDocument::platformStepInto):
1631         (DebuggerDocument::platformEvaluateScript):
1632         (DebuggerDocument::platformCurrentFunctionStack):
1633         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
1634         (DebuggerDocument::platformValueForScopeVariableNamed):
1635         (DebuggerDocument::platformLog):
1636         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1637
1638 2007-09-06  Sam Weinig  <sam@webkit.org>
1639
1640         Reviewed by Adam Roben.
1641
1642         Register the WebKit DLL on initialization of the DumpRenderTree.
1643
1644         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1645         (initialize):
1646
1647 2007-09-05  Sam Weinig  <sam@webkit.org>
1648
1649         Reviewed by Oliver.
1650
1651         Fix many layout test failures caused by r25364.
1652         Set text size to standand size at the begining of each test matching the mac.
1653
1654         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1655         (runTest):
1656
1657 2007-09-04  Sam Weinig  <sam@webkit.org>
1658
1659         Reviewed by Adam.
1660
1661         Fix for <rdar://problem/5382277>
1662         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
1663
1664         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
1665         (textZoomInCallback):
1666         (textZoomOutCallback):
1667
1668 2007-08-29  David Kilzer  <ddkilzer@apple.com>
1669
1670         Reviewed by Adam.
1671
1672         Added case-insensitivity to checks for adding regression tests.
1673
1674         * Scripts/prepare-ChangeLog:
1675         (generateFileList):
1676
1677 2007-08-28  David Kilzer  <ddkilzer@apple.com>
1678
1679         Reviewed by Maciej.
1680
1681         Ignore files in /resources/ subdirectories when creating a list of added tests.
1682
1683         * Scripts/prepare-ChangeLog:
1684         (generateFileList):
1685
1686 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
1687
1688         Reviewed by John.
1689
1690         - Removed Leopard leaks list since all of those radars were fixed.
1691
1692         * Scripts/run-webkit-tests:
1693
1694 2007-08-27  Adam Roben  <aroben@apple.com>
1695
1696         Rubberstamped by Mark.
1697
1698         * Scripts/pdevenv: Pass arguments along to devenv.com.
1699
1700 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
1701
1702         Reviewed by Mark Rowe.
1703
1704         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
1705
1706         * Scripts/prepare-ChangeLog:
1707         (changeLogDate): Added.
1708
1709 2007-08-24  Sam Weinig  <sam@webkit.org>
1710
1711         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
1712
1713 2007-08-24  Sam Weinig  <sam@webkit.org>
1714
1715         Rubber-stamped by Adam Roben.
1716
1717         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
1718
1719         Rename COM DOM bindings to use Deprecated prefix.
1720
1721         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1722         (dumpFramesAsText):
1723         (dump):
1724         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
1725         (dumpPath):
1726         (dump):
1727         (EditingDelegate::shouldBeginEditingInDOMRange):
1728         (EditingDelegate::shouldEndEditingInDOMRange):
1729         (EditingDelegate::shouldInsertNode):
1730         (EditingDelegate::shouldInsertText):
1731         (EditingDelegate::shouldDeleteDOMRange):
1732         (EditingDelegate::shouldChangeSelectedDOMRange):
1733         (EditingDelegate::shouldApplyStyle):
1734         (EditingDelegate::shouldChangeTypingStyle):
1735         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
1736
1737 2007-08-24  Oliver Hunt  <oliver@apple.com>
1738
1739         Reviewed by John H.
1740
1741         WebDataSource::response can legitimately have a null response, so we
1742         must check that case.
1743
1744         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
1745         (queueLoadCallback):
1746
1747 2007-08-23  Mitz Pettel  <mitz@webkit.org>
1748
1749         Reviewed by Darin and Adam.
1750
1751         - DumpRenderTree changes to allow testing for
1752           http://bugs.webkit.org/show_bug.cgi?id=11756
1753           REGRESSION: link targeting a frame in another window does not work
1754           <rdar://problem/5286420>
1755
1756         Use a frame group name for all WebViews created by DumpRenderTree to
1757         allow testing of cross-page frame lookup.
1758
1759         * DumpRenderTree/DumpRenderTree.m:
1760         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
1761         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1762         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
1763
1764 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
1765
1766         Reviewed by Adam.
1767
1768         Quote the $sslCertificate path in case it contains a space.
1769
1770         * Scripts/run-webkit-httpd:
1771         * Scripts/run-webkit-tests:
1772
1773 2007-08-22  Oliver Hunt  <oliver@apple.com>
1774
1775         Reviewed by John and Adam.
1776         
1777         WebDataSource::response can legitimately have a null response, so we
1778         must check that case.
1779
1780         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1781         (dump):
1782
1783 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
1784
1785         Reviewed by Geof.
1786
1787         - Changing the usage to be more clear.
1788
1789         * Scripts/run-testkjs:
1790
1791 2007-08-20  John Sullivan  <sullivan@apple.com>
1792
1793         Reviewed by Adam Roben
1794
1795         * DumpRenderTree/DumpRenderTree.m:
1796         (runTest):
1797         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
1798         in layout tests on Tiger and Leopard
1799
1800 2007-08-20  Adam Roben  <aroben@apple.com>
1801
1802         Put LayoutTests after all other ChangeLogs in commit logs
1803
1804         We use "~" to sort LayoutTests after all the other ChangeLogs because
1805         "~" is the last ASCII character (other than "DEL").
1806
1807         Reviewed by Sam.
1808
1809         * Scripts/commit-log-editor:
1810
1811 2007-08-20  Adam Roben  <aroben@apple.com>
1812
1813         Detect that DRT crashed even if a crash dialog is running
1814
1815         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
1816         process is still running at this point, so run-webkit-tests wouldn't
1817         detect that DRT had crashed. We now record the crash in our SIGPIPE
1818         handler so that we know if DRT crashed even if the crash dialog is up.
1819
1820         Reviewed by Sam.
1821
1822         * Scripts/run-webkit-tests:
1823         (sub catch_pipe): Set the crashed bit.
1824         (sub openDumpTool): Reset the crashed bit.
1825         (sub dumpToolDidCrash): Check the crashed bit.
1826
1827 2007-08-20  Adam Roben  <aroben@apple.com>
1828
1829         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
1830
1831         http://bugs.webkit.org/show_bug.cgi?id=15026
1832
1833         Reviewed by David Kilzer and Darin Adler.
1834
1835         * Scripts/prepare-ChangeLog:
1836         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
1837         (sub isAddedStatus): Ditto.
1838         (sub testListForChangeLog): Added.
1839
1840 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
1841
1842         Reviewed by Mark.
1843
1844         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
1845
1846         * Scripts/webkitdirs.pm:
1847         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
1848
1849 2007-08-17  Darin Adler  <darin@apple.com>
1850
1851         Reviewed by Oliver Hunt.
1852
1853         - don't look for Apple-style localizable strings in the GTK version of WebKit
1854
1855         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
1856         name of subdirectories to skip.
1857         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
1858         to skip.
1859
1860 2007-08-17  Anders Carlsson  <andersca@apple.com>
1861
1862         Build fix.
1863         
1864         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1865         (NPP_SetWindow):
1866
1867 2007-08-17  Anders Carlsson  <andersca@apple.com>
1868
1869         Reviewed by Dave Hyatt.
1870
1871         <rdar://problem/5379040>
1872         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
1873
1874         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
1875         
1876         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1877         (pluginAllocate):
1878         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1879         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1880         (NPP_New):
1881         (NPP_SetWindow):
1882
1883 2007-08-16  Alice Liu  <alice.liu@apple.com>
1884
1885         Reviewed by Maciej.
1886
1887         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
1888
1889         * DumpRenderTree/DumpRenderTree.m:
1890         (createWebView):
1891         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
1892         (dumpRenderTree):
1893         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow. 
1894
1895 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
1896
1897         Reviewed by Adam.
1898
1899         - 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.
1900
1901         * Scripts/run-webkit-tests:
1902
1903 2007-08-15  Timothy Hatcher  <timothy@apple.com>
1904
1905         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
1906         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
1907
1908         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
1909         this prevents making "build" directories in each project folder.
1910
1911         * Scripts/webkitdirs.pm:
1912
1913 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
1914
1915         Reviewed by Kevin Mccullough.
1916         
1917         Removed special case that didn't belong. (It would allow a global 
1918         initializer to sneak into production builds, which would cause a 
1919         system-wide performance regression on Mac OS X.)
1920
1921         * Scripts/check-for-global-initializers:
1922
1923 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
1924
1925         Reviewed by Tim.
1926         
1927         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
1928
1929         * DumpRenderTree/EditingDelegate.m:
1930         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
1931         only for elements with the class needsDeletionUI.
1932
1933 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
1934
1935         Reviewed by Darin.
1936
1937         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
1938           svn-create-patch uses deprecated tail switch
1939
1940         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
1941
1942 2007-08-13  Sam Weinig  <sam@webkit.org>
1943
1944         Reviewed by Adam Roben.
1945
1946         Use the cygwin specific Apache config file under cygwin.
1947
1948         * Scripts/run-webkit-httpd:
1949
1950 2007-08-12  Adam Roben  <aroben@apple.com>
1951
1952         Generate results for new tests in a more logical location
1953
1954         New platform-specific tests always have their results generated right
1955         next to the test. New cross-platform tests will have their results
1956         generated a) in the cross-platform directory, if they are text-only,
1957         or b) in the least-specific platform directory, if they are render
1958         tree dumps.
1959
1960         Reviewed by Lars.
1961
1962         * Scripts/run-webkit-tests:
1963
1964 2007-08-12  Adam Roben  <aroben@apple.com>
1965
1966         Print the actual directory where new results are generated.
1967
1968         Before, we were printing an unpredictable, context-specific substring
1969         of the directory.
1970
1971         Reviewed by Lars.
1972
1973         * Scripts/run-webkit-tests:
1974
1975 2007-08-12  Adam Roben  <aroben@apple.com>
1976
1977         Factor some common code into a stripExtension() subroutine.
1978
1979         Reviewed by Lars.
1980
1981         * Scripts/run-webkit-tests: Also removed some debugging output.
1982
1983 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
1984
1985         Reviewed over and over and over by Adam Roben.
1986
1987         Bug 14740: Hierarchical layout tests and platform organization
1988         http://bugs.webkit.org/show_bug.cgi?id=14740
1989
1990         Add support for platform-specific layout tests and results.
1991
1992         * Scripts/run-webkit-tests:
1993
1994 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
1995
1996         Reviewed by Adam.
1997
1998         Refactored svn-create-path to use a hash-of-hashes data structure to keep
1999         track of changed files.  In the top level hash, keys are paths to files and
2000         values are 'fileData' hashes with the following keys and values:
2001
2002         - isBinary: boolean value (set to true for non-text files like images, etc.)
2003         - isTestFile: boolean value (set to true if file exists within a known test
2004           directory)
2005         - modificationType: string equal to one of 'addition', 'additionWithHistory',
2006           'modification' or 'deletion'
2007         - path: string equal to the path to the file (this may seem redundant, but it
2008           is required to use the second-level 'fileData' hash independent of the
2009           top-level hash)
2010         - sourceFile: [optional] string equal to the path of the original file that was
2011           copied or moved
2012         - sourceRevision: [optional] string equal to the revision of the original file
2013           that was copied or moved
2014
2015         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
2016         that saves the return value in $result, then checks it before printing help.
2017         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
2018         and eliminated two for() loops.
2019         (binarycmp): Added.  Used with sort() to order non-binary files before binary
2020         files.
2021         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
2022         (findMimeType): Added optional second argument that takes a revision number.
2023         (generateDiff): Updated to take one fileData argument instead of three ($file,
2024         $modificationType, $isBinary).
2025         (generateFileList): Updated to take one hash ref argument (%diffFiles)
2026         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
2027         %diffFiles using paths for keys and fileData hashes for values.
2028         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
2029         argument.
2030         (pathcmp): Updated to take two fileData arguments instead of two strings.
2031         (testfilecmp): Added.  Used with sort() to order non-test files before test
2032         files.
2033
2034 2007-08-11  Darin Adler  <darin@apple.com>
2035
2036         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
2037
2038 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
2039
2040         Reviewed by David Kilzer.
2041
2042         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
2043         http://bugs.webkit.org/show_bug.cgi?id=14745
2044
2045         * Scripts/run-launcher:
2046         Scrub the "--gdk" out of the command line args, if given, so that
2047         GdkLauncher doesn't try to interpret it as a URL.
2048
2049 2007-08-03  Adam Roben  <aroben@apple.com>
2050
2051         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
2052
2053         Reviewed by Sam.
2054
2055         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
2056
2057 2007-08-03  Sam Weinig  <sam@webkit.org>
2058
2059         Reviewed by Darin.
2060
2061         Recursively dump all frames as text using new
2062         layoutTestController.dumpChildFramesAsText() function.
2063
2064         * DumpRenderTree/DumpRenderTree.m:
2065         (dumpFramesAsText):
2066         (dump):
2067         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2068         (-[LayoutTestController dumpChildFramesAsText]):
2069         (runTest):
2070         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2071         (dumpFramesAsText):
2072         (dump):
2073         (runTest):
2074         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
2075         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2076         (dumpChildFramesAsTextCallback):
2077         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2078
2079 2007-08-02  Adam Roben  <aroben@apple.com>
2080
2081         Fix fast/dom/Window/alert-undefined.html
2082
2083         Reviewed by Sam.
2084
2085         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2086         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
2087         Windows translate a null BSTR into "(null)"
2088
2089 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
2090
2091         Reviewed by Tim. 
2092
2093         - It would help if I actually called the right function.
2094
2095         * Drosera/DebuggerDocument.cpp:
2096         (DebuggerDocument::showConsole):
2097
2098 2007-08-02  Adam Roben  <aroben@apple.com>
2099
2100         Don't delete the stderr file right after creating it
2101
2102         Reviewed by NOBODY.
2103
2104         * Scripts/run-webkit-tests:
2105
2106 2007-08-01  Adam Roben  <aroben@apple.com>
2107
2108         When DRT crashes, record stderr and restart DRT
2109
2110         This prevents a DRT crash from causing the next few hundred tests to
2111         "fail" because DRT is no longer running. 
2112
2113         I also changed the terminology that run-webkit-tests uses in its
2114         output a bit, so that crashing tests are referred to as "crashes"
2115         instead of "failures".
2116
2117         Reviewed by Mark.
2118
2119         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
2120         failure.
2121         (sub openDumpTool): Use open3 so that we can access stderr.
2122         (sub dumpToolCrashed): Added.
2123         (sub printFailureMessageForTest): Added.
2124         (sub htmlForExpectedAndActualResults): Added.
2125         (sub deleteExpectedAndActualResults): Added.
2126         (sub recordActualResultsAndDiff): Added.
2127
2128 2007-07-30  Darin Adler  <darin@apple.com>
2129
2130         Reviewed by Tim Hatcher.
2131
2132         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
2133         characters. This turned out not to be needed for the test case that motivated me to
2134         do it, but it's nice to have this for the future.
2135
2136 2007-07-30  Simon Hausmann  <hausmann@kde.org>
2137
2138         Reviewed by Lars.
2139
2140         Link QtLauncher into $$OUTPUT_DIR/bin
2141
2142         * Scripts/run-launcher:
2143
2144 2007-07-27  David Kilzer  <ddkilzer@apple.com>
2145
2146         Reviewed by Geoff and Darin.
2147
2148         Use a subroutine for validating the --skipped switch.
2149
2150         * Scripts/run-webkit-tests:
2151
2152 2007-07-27  Darin Adler  <darin@apple.com>
2153
2154         Reviewed by Sam.
2155
2156         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
2157
2158 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
2159
2160         Reviewed by Mark.
2161
2162         Correct the path of GdkLauncher and make checkFrameworks work on OSX
2163         when building the Qt or Gtk+ port.
2164
2165         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
2166         * Scripts/run-launcher:
2167         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
2168
2169 2007-07-27  Simon Hausmann  <hausmann@kde.org>
2170
2171         Done with and reviewed by Lars and Zack.
2172
2173         Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
2174
2175         * Scripts/webkitdirs.pm:
2176
2177 2007-07-27  Simon Hausmann  <hausmann@kde.org>
2178
2179         Done with and reviewed by Lars and Zack.
2180
2181         For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
2182
2183         * Scripts/webkitdirs.pm:
2184
2185 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
2186
2187         Reviewed by Darin, Geoff, Sam.
2188
2189         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
2190
2191         - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
2192
2193         * DumpRenderTree/UIDelegate.h:
2194         * DumpRenderTree/UIDelegate.m:
2195         (-[UIDelegate webView:setFrame:]):
2196         (-[UIDelegate webViewFrame:]):
2197
2198 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
2199
2200         Reviewed by Adam.
2201
2202         - Lars wanted this check for Qt but it breaks platform specific layout tests.
2203
2204         * Scripts/run-webkit-tests:
2205
2206 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
2207
2208         Reviewed by Tim, Darin, Oliver.
2209
2210         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
2211         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
2212
2213         * ChangeLog:
2214         * DumpRenderTree/DumpRenderTree.m:
2215         (createWebView):
2216         (dumpRenderTree):
2217         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2218         (+[LayoutTestController webScriptNameForSelector:]):
2219         (-[LayoutTestController setCustomPolicyDelegate:]):
2220         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2221         * DumpRenderTree/FrameLoadDelegate.h:
2222         * DumpRenderTree/PolicyDelegate.h: Added.
2223         * DumpRenderTree/PolicyDelegate.m: Added.
2224         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2225         * DumpRenderTree/ResourceLoadDelegate.h:
2226
2227 2007-07-25  Adam Treat  <treat@kde.org>
2228
2229         Reviewed by Niko.
2230
2231         Fix build for some reported systems.
2232
2233         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2234
2235 2007-07-23  Adam Treat  <treat@kde.org>
2236
2237         Reviewed by Nikolas.
2238
2239         Fix qt DRT to suppress js popup alerts and log instead.
2240
2241         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2242         (WebCore::WebPage::javaScriptAlert):
2243
2244 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
2245
2246         Reviewed by Adam.
2247
2248         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
2249         honor --qmakearg for the Gdk/Gtk build as well.
2250
2251         * GdkLauncher/main.cpp: Switch to the new API
2252         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
2253
2254 2007-07-22  Darin Adler  <darin@apple.com>
2255
2256         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
2257         Fix a leak by releasing the array used here.
2258
2259 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
2260
2261         Reviewed by Darin.
2262
2263         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
2264           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
2265
2266         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
2267         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
2268
2269         * Scripts/update-iexploder-cssproperties: Added.
2270         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
2271         Added new CSS3 property section and Moved box-sizing property to it.
2272
2273 2007-07-22  Oliver Hunt  <oliver@apple.com>
2274
2275         Reviewed by Darin.
2276
2277         http://bugs.webkit.org/show_bug.cgi?id=14710
2278
2279         Add preliminary support for testing Input Method/WebKit behaviour and interaction 
2280         in DRT.  This provides the NSTextInput API which is most of what should be necessary
2281         to mimic the event sequences Input Methods trigger.
2282
2283         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2284         * DumpRenderTree/TextInputController.h:
2285         * DumpRenderTree/TextInputController.m:
2286         (-[WebHTMLView interpretKeyEvents:]):
2287         (+[TextInputController isSelectorExcludedFromWebScript:]):
2288         (+[TextInputController webScriptNameForSelector:]):
2289         (-[TextInputController initWithWebView:]):
2290         (-[TextInputController dealloc]):
2291         (-[TextInputController textInput]):
2292         (-[TextInputController setInputMethodHandler:]):
2293         (-[TextInputController interpretKeyEvents:withSender:]):
2294
2295 2007-07-20  Adam Roben  <aroben@apple.com>
2296
2297         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
2298         message not count as an existing log.
2299
2300 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
2301
2302         Reviewed by Darin Adler.
2303         
2304         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 
2305         value behavior of stringByEvaluatingJavaScriptFromString
2306
2307         * DumpRenderTree/DumpRenderTree.m:
2308         (testStringByEvaluatingJavaScriptFromString):
2309         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2310
2311 2007-07-19  Adam Roben  <aroben@apple.com>
2312
2313         Make commit-log-editor work with git
2314
2315         Reviewed by Sam.
2316
2317         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
2318         commit message template. Also removed the unused $breakPoint variable.
2319
2320 2007-07-19  Adam Roben  <aroben@apple.com>
2321
2322         Move generally-useful VCS code into a new VCSUtils.pm module
2323
2324         This is in preparation for making commit-log-editor git-friendly.
2325
2326         Reviewed by Sam.
2327
2328         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
2329         * Scripts/prepare-ChangeLog: Use VCSUtils.
2330
2331 2007-07-19  Lars Knoll <lars@trolltech.com>
2332
2333         Fix a crash on exit when running DRT against a current
2334         Qt 4.4 snapshot.
2335
2336         Reviewed by Zack
2337
2338         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2339         (main):
2340
2341 2007-07-18  Adam Roben  <aroben@apple.com>
2342
2343         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
2344
2345         Reviewed by Mark.
2346
2347         * Scripts/run-webkit-httpd:
2348         * Scripts/run-webkit-tests:
2349
2350 2007-07-18  Adam Roben  <aroben@apple.com>
2351
2352         More git friendliness for prepare-ChangeLog
2353
2354         The overall change is to remove the use of git-status and replace it
2355         with git-diff --name-status (which we were already using in the
2356         --git-commit case).
2357
2358         This lets us respect directories specified on the command line when
2359         using git, just as we do for Subversion. It also speeds things up a
2360         bit, especially in the subdirectory case, as git-status is pretty slow.
2361
2362         I also fixed some issues where we wouldn't detect copied files and
2363         would reverse the new filename and the original filename for renamed files.
2364
2365         Reviewed by Mark.
2366
2367         * Scripts/prepare-ChangeLog:
2368         (sub diffFromToString): Added.
2369         (sub diffCommand): Don't append the paths in the --git-commit case, as
2370         we should be operating on the entire commit.
2371         (sub statusCommand): Always use git-diff --name-status, and added an
2372         extra -C option to git-diff to make it find a few more copied files.
2373         (sub createPatchCommand): Collapsed the two git cases a bit, and added
2374         the extra -C option as above.
2375         (sub generateFileList): Remove the git-status codepath, and recognize
2376         file copies in the --name-status output.
2377         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
2378         dictionary.
2379         (sub isConflictStatus): Updated the git dictionary.
2380         (sub statusDescription): Updated the git dictionary.
2381
2382 2007-07-18  Timothy Hatcher  <timothy@apple.com>
2383
2384         * Scripts/build-drosera: Update where we look for the Xcode project.
2385
2386 2007-07-18  Adam Treat <treat@kde.org>
2387
2388         Reviewed by bdash.
2389
2390         Use the old wording for Safari.
2391
2392         * Scripts/build-webkit:
2393         * Scripts/webkitdirs.pm:
2394
2395 2007-07-18  Adam Treat <treat@kde.org>
2396
2397         Reviewed by bdash.
2398
2399         Add convenience script for launching test apps for Qt and Gdk ports.
2400         Change the build-webkit script accordingly.
2401
2402         * Scripts/build-webkit:
2403         * Scripts/run-launcher: Added.
2404         * Scripts/webkitdirs.pm:
2405
2406 2007-07-18  Timothy Hatcher  <timothy@apple.com>
2407
2408         Reviewed by Adam.
2409
2410         Make the Page with the now required InspectorClient.
2411
2412         * GdkLauncher/main.cpp:
2413         (main):
2414
2415 2007-07-18  Timothy Hatcher  <timothy@apple.com>
2416
2417         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
2418         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
2419
2420         * Drosera/Makefile: Added.
2421         * Drosera/mac/Makefile:
2422         * DumpRenderTree/Makefile:
2423         * Makefile:
2424         * Makefile.Drosera: Removed.
2425         * Makefile.shared: Removed.
2426
2427 2007-07-18  Timothy Hatcher  <timothy@apple.com>
2428
2429         The console log was 20px down from the top for no reason, move it up.
2430
2431         * Drosera/console.css:
2432
2433 2007-07-18  Timothy Hatcher  <timothy@apple.com>
2434
2435         Use contentDocument to get the source view's iframe document.
2436         Also adds a null/undefined check for localVariableNames.
2437
2438         * Drosera/debugger.js:
2439
2440 2007-07-18  Lars Knoll <lars@trolltech.com>
2441
2442         We really don't want to compare non text only tests to the 
2443         Mac results if we don't have a result for Qt, as this would
2444         give a failure and not a notification that the test is new.
2445
2446         Reviewed by Zack
2447
2448         * Scripts/run-webkit-tests:
2449
2450 2007-07-18  Lars Knoll <lars@trolltech.com>
2451
2452         Reviewed by Zack & Simon
2453
2454         Adjust to changed API in QWebFrame
2455
2456         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2457         (WebCore::DumpRenderTree::DumpRenderTree):
2458
2459 2007-07-18  Mark Rowe  <mrowe@apple.com>
2460
2461         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
2462
2463         * BuildSlaveSupport/build-launcher-app:
2464
2465 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
2466
2467         Reviewed by Antti Koivisto.
2468         
2469         Added watchdog timer to waitUntilDone to prevent a run-away test from
2470         hanging the test harness.
2471
2472         * DumpRenderTree/DumpRenderTree.m:
2473         (dump):
2474         (-[LayoutTestController waitUntilDone]):
2475         (-[LayoutTestController waitUntilDoneWatchdogFired]):
2476         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2477
2478 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
2479
2480         Reviewed by Adam.
2481
2482         - Implemented cross-platform code for functions calling into the JavaScript.
2483
2484         * Drosera/DebuggerDocument.cpp:
2485         (DebuggerDocument::callAsFunction):
2486         (DebuggerDocument::pauseJS):
2487         (DebuggerDocument::resumeJS):
2488         (DebuggerDocument::stepIntoJS):
2489         (DebuggerDocument::stepOverJS):
2490         (DebuggerDocument::stepOutJS):
2491         (DebuggerDocument::showConsoleJS):
2492         (DebuggerDocument::closeCurrentFileJS):
2493         (DebuggerDocument::updateFileSource):
2494         (DebuggerDocument::didParseScript):
2495         (DebuggerDocument::willExecuteStatement):
2496         (DebuggerDocument::didEnterCallFrame):
2497         (DebuggerDocument::willLeaveCallFrame):
2498         (DebuggerDocument::exceptionWasRaised):
2499         * Drosera/DebuggerDocument.h:
2500         * Drosera/mac/DebuggerDocumentMac.mm:
2501         (-[DebuggerDocumentMac pause:]):
2502         (-[DebuggerDocumentMac resume:]):
2503         (-[DebuggerDocumentMac stepInto:]):
2504         (-[DebuggerDocumentMac stepOver:]):
2505         (-[DebuggerDocumentMac stepOut:]):
2506         (-[DebuggerDocumentMac showConsole:]):
2507         (-[DebuggerDocumentMac closeCurrentFile:]):
2508         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
2509         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2510         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2511         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2512         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2513         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2514
2515 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
2516
2517         Reviewed by Darin.
2518
2519         - Continued x-platform modifications.
2520
2521         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
2522         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
2523         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
2524         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
2525         * Drosera/win/Drosera.cpp:
2526         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2527         * Drosera/win/stdafx.cpp: Removed.
2528         * Drosera/win/stdafx.h: Removed.
2529
2530 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
2531
2532         Reviewed by Sam.
2533
2534         - Modified files to use cross-platform code.
2535
2536         * Drosera/DebuggerDocument.cpp: Added.
2537         (DebuggerDocument::breakpointEditorHTML):
2538         (DebuggerDocument::isPaused):
2539         (DebuggerDocument::pause):
2540         (DebuggerDocument::resume):
2541         (DebuggerDocument::stepInto):
2542         (DebuggerDocument::evaluateScript):
2543         (DebuggerDocument::currentFunctionStack):
2544         (DebuggerDocument::localScopeVariableNamesForCallFrame):
2545         (DebuggerDocument::valueForScopeVariableNamed):
2546         * Drosera/DebuggerDocument.h: Added.
2547         (DebuggerDocument::DebuggerDocument):
2548         * Drosera/config.h: Added.
2549         * Drosera/mac/DebuggerApplication.mm:
2550         (-[DebuggerApplication attach:]):
2551         * Drosera/mac/DebuggerDocument.h: Removed.
2552         * Drosera/mac/DebuggerDocument.mm: Removed.
2553         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
2554         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
2555         (-[DebuggerDocumentMac initWithServerName:]):
2556         (-[DebuggerDocumentMac dealloc]):
2557         (-[DebuggerDocumentMac breakpointEditorHTML]):
2558         (-[DebuggerDocumentMac isPaused]):
2559         (-[DebuggerDocumentMac pause]):
2560         (-[DebuggerDocumentMac resume]):
2561         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2562         * Drosera/win/DebuggerApplication.cpp:
2563         * Drosera/win/DebuggerObjectCallbacks.cpp:
2564         (breakpointEditorHTMLCallback):
2565         (currentFunctionStackCallback):
2566         (evaluateScript_inCallFrame_Callback):
2567         (isPausedCallback):
2568         (localScopeVariableNamesForCallFrame_Callback):
2569         (pauseCallback):
2570         (resumeCallback):
2571         (stepIntoCallback):
2572         (valueForScopeVariableNamed_inCallFrame_Callback):
2573         (staticFunctions):
2574         * Drosera/win/Drosera.cpp:
2575         * Drosera/win/DroseraPrefix.cpp: Added.
2576         * Drosera/win/DroseraPrefix.h: Added.
2577
2578 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
2579
2580         Reviewed by Adam, Sam and Tim.
2581
2582         - Moving files to prepare for cross-platform architecture.
2583
2584         * Drosera/DebuggerApplication.h: Removed.
2585         * Drosera/DebuggerApplication.m: Removed.
2586         * Drosera/DebuggerDocument.h: Removed.
2587         * Drosera/DebuggerDocument.m: Removed.
2588         * Drosera/Drosera.pch: Removed.
2589         * Drosera/Drosera.xcodeproj: Removed.
2590         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
2591         * Drosera/Info.plist: Removed.
2592         * Drosera/LauncherInfo.plist: Removed.
2593         * Drosera/Makefile: Removed.
2594         * Drosera/launcher.m: Removed.
2595         * Drosera/mac: Added.
2596         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
2597         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
2598         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
2599         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
2600         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
2601         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
2602         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2603         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
2604         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
2605         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
2606         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
2607         * Drosera/mac/main.m: Copied from Drosera/main.m.
2608         * Drosera/main.m: Removed.
2609         * Makefile:
2610         * Makefile.Drosera: Added.
2611
2612 2007-07-15  Mark Rowe  <mrowe@apple.com>
2613
2614         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
2615
2616 2007-07-13  Sam Weinig  <sam@webkit.org>
2617
2618         Reviewed by Geoff Garen.
2619
2620         Add support for running SSL tests over HTTPS.
2621
2622         * DumpRenderTree/DumpRenderTree.m:
2623         (runTest):
2624         * DumpRenderTree/FrameLoadDelegate.m:
2625         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2626         * Scripts/run-webkit-httpd:
2627         * Scripts/run-webkit-tests:
2628
2629 2007-07-13  David Kilzer  <ddkilzer@apple.com>
2630
2631         Reviewed by Darin.
2632
2633         Added support for -h|--help argument and verify that all command line arguments parse
2634         correctly.
2635
2636         * Scripts/run-webkit-httpd:
2637
2638 2007-07-12  Mark Rowe  <mrowe@apple.com>
2639
2640         Reviewed by Ada.
2641
2642         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
2643
2644         * Scripts/run-webkit-tests:
2645
2646 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
2647
2648         Reviewed by Oliver Hunt.
2649         
2650         Made the leaks tests pass on Leopard.
2651
2652         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
2653         * Scripts/run-leaks: Updated parser for slight change in text output.
2654
2655 2007-07-11  David Kilzer  <ddkilzer@apple.com>
2656
2657         Reviewed by Maciej.
2658
2659         Update the iExploder list of CSS properties after box-sizing was renamed to
2660         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
2661
2662         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
2663         -moz-box-sizing remain.
2664
2665 2007-07-10  Darin Adler  <darin@apple.com>
2666
2667         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
2668         Foundation's multipart/mixed-replace support -- I already verified that
2669         the bug has been fixed.
2670
2671 2007-07-10  Alice Liu  <alice.liu@apple.com>
2672
2673         rubber stamped by Maciej.
2674
2675         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
2676
2677         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2678         (initializePreferences):
2679         set editable link behavior to match Mac DRT. 
2680
2681 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
2682
2683         Reviewed by Tim Hatcher.
2684
2685         Ignore Page.o in debug builds because it now has a static PageCounter
2686         object.
2687
2688         * Scripts/check-for-global-initializers:
2689
2690 2007-07-09  Darin Adler  <darin@apple.com>
2691
2692         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
2693
2694 2007-07-09  Alice Liu  <alice.liu@apple.com>
2695
2696         Reviewed by Adam Roben.
2697
2698         setting DOM Paste Allowed Pref 
2699
2700         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2701         (initializePreferences):
2702
2703 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
2704
2705         Reviewed by Adam, Sam, and Ada.
2706
2707         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
2708
2709         * Drosera/Images/Drosera.ico: Added.
2710         * Drosera/Images/small.ico: Added.
2711         * Drosera/win: Added.
2712         * Drosera/win/BaseDelegate.h: Added.
2713         (BaseDelegate::QueryInterface):
2714         (BaseDelegate::didFinishLoadForFrame):
2715         (BaseDelegate::windowScriptObjectAvailable):
2716         (BaseDelegate::didStartProvisionalLoadForFrame):
2717         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
2718         (BaseDelegate::didFailProvisionalLoadWithError):
2719         (BaseDelegate::didCommitLoadForFrame):
2720         (BaseDelegate::didReceiveTitle):
2721         (BaseDelegate::didReceiveIcon):
2722         (BaseDelegate::didFailLoadWithError):
2723         (BaseDelegate::didChangeLocationWithinPageForFrame):
2724         (BaseDelegate::willPerformClientRedirectToURL):
2725         (BaseDelegate::didCancelClientRedirectForFrame):
2726         (BaseDelegate::willCloseFrame):
2727         (BaseDelegate::createWebViewWithRequest):
2728         (BaseDelegate::webViewShow):
2729         (BaseDelegate::webViewClose):
2730         (BaseDelegate::webViewFocus):
2731         (BaseDelegate::webViewUnfocus):
2732         (BaseDelegate::webViewFirstResponder):
2733         (BaseDelegate::makeFirstResponder):
2734         (BaseDelegate::setStatusText):
2735         (BaseDelegate::webViewStatusText):
2736         (BaseDelegate::webViewAreToolbarsVisible):
2737         (BaseDelegate::setToolbarsVisible):
2738         (BaseDelegate::webViewIsStatusBarVisible):
2739         (BaseDelegate::setStatusBarVisible):
2740         (BaseDelegate::webViewIsResizable):
2741         (BaseDelegate::setResizable):
2742         (BaseDelegate::setFrame):
2743         (BaseDelegate::webViewFrame):
2744         (BaseDelegate::setContentRect):
2745         (BaseDelegate::webViewContentRect):
2746         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
2747         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
2748         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
2749         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
2750         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
2751         (BaseDelegate::mouseDidMoveOverElement):
2752         (BaseDelegate::contextMenuItemsForElement):
2753         (BaseDelegate::validateUserInterfaceItem):
2754         (BaseDelegate::shouldPerformAction):
2755         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
2756         (BaseDelegate::willPerformDragDestinationAction):
2757         (BaseDelegate::dragSourceActionMaskForPoint):
2758         (BaseDelegate::willPerformDragSourceAction):
2759         (BaseDelegate::contextMenuItemSelected):
2760         (BaseDelegate::hasCustomMenuImplementation):
2761         (BaseDelegate::trackCustomPopupMenu):
2762         (BaseDelegate::measureCustomMenuItem):
2763         (BaseDelegate::drawCustomMenuItem):
2764         (BaseDelegate::addCustomMenuDrawingData):
2765         (BaseDelegate::cleanUpCustomMenuDrawingData):
2766         (BaseDelegate::canTakeFocus):
2767         (BaseDelegate::takeFocus):
2768         (BaseDelegate::registerUndoWithTarget):
2769         (BaseDelegate::removeAllActionsWithTarget):
2770         (BaseDelegate::setActionTitle):
2771         (BaseDelegate::undo):
2772         (BaseDelegate::redo):
2773         (BaseDelegate::canUndo):
2774         (BaseDelegate::canRedo):
2775         * Drosera/win/DebuggerApplication.cpp: Added.
2776         (DebuggerApplication::serverLoaded):
2777         (DebuggerApplication::serverUnloaded):
2778         (DebuggerApplication::attach):
2779         (DebuggerApplication::numberOfRowsInTableView):
2780         (DebuggerApplication::tableView):
2781         * Drosera/win/DebuggerApplication.h: Added.
2782         (DebuggerApplication::DebuggerApplication):
2783         (DebuggerApplication::knownServers):
2784         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
2785         (breakpointEditorHTMLCallback):
2786         (currentFunctionStackCallback):
2787         (doubleClickMillisecondsCallback):
2788         (evaluateScript_inCallFrame_Callback):
2789         (isPausedCallback):
2790         (localScopeVariableNamesForCallFrame_Callback):
2791         (pauseCallback):
2792         (resumeCallback):
2793         (stepIntoCallback):
2794         (valueForScopeVariableNamed_inCallFrame_Callback):
2795         (staticFunctions):
2796         * Drosera/win/DebuggerObjectCallbacks.h: Added.
2797         * Drosera/win/Drosera.cpp: Added.
2798         (_tWinMain):
2799         (RegisterDroseraClass):
2800         (DroseraWndProc):
2801         (About):
2802         (Attach):
2803         (Drosera::Drosera):
2804         (Drosera::initUI):
2805         (Drosera::QueryInterface):
2806         (Drosera::AddRef):
2807         (Drosera::Release):
2808         (Drosera::didFinishLoadForFrame):
2809         (getDroseraJSClass):
2810         (Drosera::windowScriptObjectAvailable):
2811         (Drosera::webViewClose):
2812         (Drosera::validateUserInterfaceItem):
2813         (Drosera::runJavaScriptAlertPanelWithMessage):
2814         (Drosera::onSize):
2815         * Drosera/win/Drosera.h: Added.
2816         (Drosera::webViewLoaded):
2817         * Drosera/win/Drosera.vcproj: Added.
2818         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
2819         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
2820         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
2821         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
2822         * Drosera/win/HelperFunctions.h: Added.
2823         (CFStringToBSTR):
2824         * Drosera/win/Info.plist: Added.
2825         * Drosera/win/resource.h: Added.
2826         * Drosera/win/stdafx.cpp: Added.
2827         * Drosera/win/stdafx.h: Added.
2828
2829 2007-07-09  Adam Treat  <adam@staikos.net>
2830
2831         Reviewed by George Staikos.
2832
2833         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2834         traces of widgets.
2835
2836         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2837         (WebCore::DumpRenderTree::DumpRenderTree):
2838
2839 2007-07-09  Anders Carlsson  <andersca@apple.com>
2840
2841         Reviewed by Oliver.
2842
2843         <rdar://problem/4954319> 
2844         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at 
2845         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
2846         
2847         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream", 
2848         return an error from NPP_NewStream.
2849         
2850         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2851         (pluginAllocate):
2852         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2853         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2854         (NPP_New):
2855         (NPP_NewStream):
2856
2857 2007-07-08  Mark Rowe  <mrowe@apple.com>
2858
2859         Change name from WebKit/Qt to WebKit.
2860
2861         * CodeCoverage/regenerate-coverage-display:
2862
2863 2007-07-08  Rob Buis  <buis@kde.org>
2864
2865         Reviewed by Mitz.
2866
2867         http://bugs.webkit.org/show_bug.cgi?id=14209
2868         DRT should be able to deal with text zoom
2869
2870         Allow increasing/decreasing text zoom using eventSender.
2871
2872         * DumpRenderTree/DumpRenderTree.m:
2873         (runTest):
2874         * DumpRenderTree/EventSendingController.m:
2875         (+[EventSendingController initialize]):
2876         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2877         (-[EventSendingController textZoomIn]):
2878         (-[EventSendingController textZoomOut]):
2879
2880 2007-07-07  Mark Rowe  <mrowe@apple.com>
2881
2882         Reviewed by Oliver.
2883
2884         * DumpRenderTree/DumpRenderTree.m:
2885         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
2886
2887 2007-07-06  Anders Carlsson  <andersca@apple.com>
2888
2889         Reviewed by David Kilzer.
2890
2891         <rdar://problem/5313502>
2892         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
2893
2894         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
2895         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
2896         
2897         * DumpRenderTree/DumpRenderTree.m:
2898         (convertMIMEType):
2899         (convertWebResourceDataToString):
2900         (convertWebResourceResponseToDictionary):
2901         (serializeWebArchiveToXML):
2902
2903 2007-07-06  Timothy Hatcher  <timothy@apple.com>
2904
2905         Reviewed by Oliver.
2906
2907         Initialize the NSMutableAttributedString directly instead of creating
2908         a NSAttributedString first.
2909
2910         * DumpRenderTree/TextInputController.m:
2911         (-[TextInputController attributedStringWithString:]):
2912
2913 2007-07-06  Anders Carlsson  <andersca@apple.com>
2914
2915         Reviewed by David Kilzer.
2916
2917         Replace "Apple Computer" with "Apple" in the DTD declaration.
2918
2919         * DumpRenderTree/DumpRenderTree.m:
2920         (serializeWebArchiveToXML):
2921
2922 2007-07-06  Adam Treat  <adam@staikos.net>
2923
2924         Reviewed by George Staikos.
2925
2926         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
2927
2928         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2929         (WebCore::DumpRenderTree::DumpRenderTree):
2930
2931 2007-07-06  George Staikos  <staikos@kde.org>
2932
2933         Reviewed by Anders.
2934
2935         Allow passing of additional arguments to qmake with --qmakearg=
2936
2937         * Scripts/webkitdirs.pm:
2938
2939 2007-07-05  George Staikos  <staikos@kde.org>
2940
2941         Reviewed by Maciej.
2942
2943         Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
2944         give a path to a specific qmake binary.  Both are optional.
2945
2946         * Scripts/webkitdirs.pm:
2947
2948 2007-07-05  Adam Roben  <aroben@apple.com>
2949
2950         Warn about tests in the Skipped file that succeeded
2951
2952         * Scripts/run-webkit-tests:
2953
2954 2007-07-05  Adam Roben  <aroben@apple.com>
2955
2956         Removed unused install-win-extras script
2957
2958         Rubberstamped by Mark.
2959
2960         * Scripts/install-win-extras: Removed.
2961
2962 2007-07-05  Adam Roben  <aroben@apple.com>
2963
2964         Show the test's extension in the results page
2965
2966         * Scripts/run-webkit-tests:
2967
2968 2007-07-05  Adam Roben  <aroben@apple.com>
2969
2970         Add more options for controlling the interpretation of the Skipped file
2971
2972         Reviewed by Mark.
2973
2974         * Scripts/run-webkit-tests:
2975
2976 2007-07-04  Adam Roben  <aroben@apple.com>
2977
2978         Add --skipped-only option to run-webkit-tests
2979
2980         When this option is specified, only those tests listed in the Skipped
2981         file are run.
2982
2983         Reviewed by Mark.
2984
2985         * Scripts/run-webkit-tests:
2986
2987 2007-07-04  Adam Roben  <aroben@apple.com>
2988
2989         Clean up/alphabetize the run-webkit-tests help message
2990
2991         * Scripts/run-webkit-tests:
2992
2993 2007-07-04  Adam Roben  <aroben@apple.com>
2994
2995         Enable a Leopard-specific Skipped list.
2996
2997         Reviewed by Mark.
2998
2999         * Scripts/run-webkit-tests: Check for Leopard.
3000         * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
3001
3002 2007-07-03  Adam Roben  <aroben@apple.com>
3003
3004         Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
3005
3006         Got rid of extract-webkit-localizable-strings because it was trying to
3007         do update-webkit-localizable-strings' job.
3008
3009         Rubberstamped by Darin.
3010
3011         * Scripts/extract-webkit-localizable-strings: Removed.
3012         * Scripts/update-webkit-localizable-strings: Renamed from
3013         extract-localizable-strings.
3014
3015 2007-07-03  Adam Roben  <aroben@apple.com>
3016
3017         Modify scripts to keep Mac/Windows localized strings in sync
3018
3019         extract-webkit-localizable-strings now handles extracting strings from
3020         both the Mac and Windows WebKit ports and updating their respective
3021         Localizable.strings files. extract-localizable-strings is now really a
3022         piece of plumbing rather than a top-level tool.
3023
3024         Reviewed by Darin and Anders.
3025
3026         * Scripts/extract-localizable-strings: Changed to handle multiple
3027         directories.
3028         * Scripts/extract-webkit-localizable-strings: Added.
3029
3030 2007-07-03  Adele Peterson  <adele@apple.com>
3031
3032         Reviewed by Darin.
3033
3034         Extended DumpRenderTree to test encoding and decoding host names.
3035
3036         * DumpRenderTree/DumpRenderTree.m:
3037         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
3038         (+[LayoutTestController webScriptNameForSelector:]): ditto.
3039         (-[LayoutTestController decodeHostName:]): Added.
3040         (-[LayoutTestController encodeHostName:]): Added.
3041
3042 2007-07-03  Sam Weinig  <sam@webkit.org>
3043
3044         Reviewed by Darin.
3045
3046         Eleventh round of fixes for implicit 64-32 bit conversion errors.
3047         <rdar://problem/5292262>
3048
3049         Add functions to test long long and unsigned long long.
3050
3051         * DumpRenderTree/DumpRenderTree.m:
3052         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3053         (+[LayoutTestController webScriptNameForSelector:]):
3054         (-[LayoutTestController objCLongLongRoundTrip:]):
3055         (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
3056
3057 2007-07-01  Adam Roben  <aroben@apple.com>
3058
3059         Fix some paths to make http tests work again on Windows
3060
3061         Rubberstamped by Sam.
3062
3063         * Scripts/run-webkit-tests:
3064
3065 2007-06-28  Stephanie  <slewis@apple.com>
3066
3067         Reviewed by Adam,
3068
3069         Allow tests to use pre-built roots instead of building the tests.
3070
3071         * Scripts/run-javascriptcore-tests: added --root option
3072         * Scripts/run-webkit-tests: added --root option
3073         * Scripts/webkitdirs.pm: added support for using a root
3074
3075 2007-06-25  Adam Roben  <aroben@apple.com>
3076
3077         Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
3078         http://bugs.webkit.org/show_bug.cgi?id=14405
3079
3080         Reviewed by Anders.
3081
3082         * Scripts/run-webkit-tests:
3083
3084 2007-06-25  Adam Roben  <aroben@apple.com>
3085
3086         Enable running the regression tests on Windows.
3087
3088         These changes were developed alongside the Windows WebKit port and
3089         have been well tested.
3090
3091         Rubberstamped by Sam.
3092
3093         * Scripts/run-webkit-tests:
3094
3095 2007-06-25  Adam Roben  <aroben@apple.com>
3096
3097         Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
3098         http://bugs.webkit.org/show_bug.cgi?id=14403
3099
3100         Reviewed by Mark Rowe.
3101
3102         * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
3103         (sub createPatchCommand): Generate a correct diff in the $gitCommit
3104         case.
3105
3106 2007-06-25  Adam Roben  <aroben@apple.com>
3107
3108         Land pdevenv and supporting scripts/programs
3109
3110         pdevenv is a script that will open an instance of Visual Studio that
3111         can compile multiple files in parallel, similar to make -jN. It uses
3112         the following scripts/programs to accomplish this:
3113
3114         CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
3115
3116         parallelcl: Actually performs the parallel compilation by forking
3117         multiple instances of the Microsoft-supplied cl.exe.
3118
3119         MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
3120         Microsoft-supplied midl.exe. This avoids having to invoke perl for
3121         every invocation of midl.exe, which would be quite slow.
3122
3123         Rubberstamped by Sam.
3124
3125         * CLWrapper/CLWrapper.cpp: Added.
3126         (wmain):
3127         * CLWrapper/CLWrapper.sln: Added.
3128         * CLWrapper/CLWrapper.vcproj: Added.
3129         * MIDLWrapper/MIDLWrapper.cpp: Added.
3130         (wmain):
3131         * MIDLWrapper/MIDLWrapper.sln: Added.
3132         * MIDLWrapper/MIDLWrapper.vcproj: Added.
3133         * Scripts/parallelcl: Added.
3134         * Scripts/pdevenv: Added.
3135         * vcbin/cl.exe: Added.
3136         * vcbin/midl.exe: Added.
3137
3138 2007-06-23  Adam Roben  <aroben@apple.com>
3139
3140         Land num-cpus for the Windows build.
3141
3142         Reviewed by Mark Rowe.
3143
3144         * Scripts/num-cpus: Added.
3145
3146 2007-06-22  Simon Hausmann  <hausmann@kde.org>
3147
3148         Reviewed by Adam Roben.
3149
3150         Added support for populating ChangeLog entries from given git commits
3151         using --git-commit=<commitish> and --git-reviewer=<name>.
3152
3153         * Scripts/prepare-ChangeLog:
3154
3155 2007-06-22  Timothy Hatcher  <timothy@apple.com>
3156
3157         Reviewed by Anders.
3158
3159         <rdar://problem/5228168> Leopard regression test failures: fast/applescript
3160
3161         There were some changes in Leopard that made our test output inconsistent with Tiger.
3162
3163         NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
3164         on Leopard, so output our own readable string for typeType descriptors.
3165
3166         NSArray's description also changed on Leopard to output more whitespace, so
3167         make our own string representation for typeAEList descriptors. This requires
3168         a special case typeUnicodeText too, so the output is a quoted string.
3169
3170         * DumpRenderTree/AppleScriptController.m:
3171         (convertAEDescToObject):
3172
3173 2007-06-21  Anders Carlsson  <andersca@apple.com>
3174
3175         Reviewed by Geoff.
3176
3177         Don't dump didFirstLayout callbacks, they happen intermittently.
3178         
3179         * DumpRenderTree/FrameLoadDelegate.m:
3180
3181 2007-06-21  Lars Knoll  <lars@trolltech.com>
3182
3183         Reviewed by Simon.
3184
3185         look for the Qt library in the installed location
3186
3187         * Scripts/webkitdirs.pm:
3188
3189 2007-06-20  Geoffrey Garen  <ggaren@apple.com>
3190
3191         Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
3192
3193         Added tests for stringByEvaluatingJavaScriptFromString.
3194
3195         * DumpRenderTree/DumpRenderTree.m:
3196         (testStringByEvaluatingJavaScriptFromString):
3197         (dumpRenderTree):
3198
3199 2007-06-19  Andrew Wellington  <proton@wiretapped.net>
3200
3201         Reviewed by Mark Rowe.
3202         
3203         Support applications with spaces or special characters in their names
3204
3205         * Scripts/run-webkit-app:
3206
3207 2007-06-18  Anders Carlsson  <andersca@apple.com>
3208
3209         Reviewed by John Sullivan.
3210
3211         Assert that the frame has a dataSource.
3212         
3213         * DumpRenderTree/FrameLoadDelegate.m:
3214         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3215
3216 2007-06-18  Adam Treat <adam@staikos.net>
3217
3218         Reviewed by George.
3219
3220         Reflect the library name change.
3221
3222         * Scripts/webkitdirs.pm:
3223
3224 2007-06-18  Jake Helfert  <jake@jakeonthenet.com>
3225
3226         Reviewed by Adam.
3227
3228         - fix http://bugs.webkit.org/show_bug.cgi?id=14154
3229           Spinneret doesn't build against the new Win32 port.
3230
3231         * Spinneret/Spinneret/Spinneret.cpp:
3232         (_tWinMain): 
3233             -Changed IWebViewExt to IWebViewPrivate
3234             -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
3235              the WIN32 function RegisterDragDrop which requires the Ole* calls.
3236         * Spinneret/Spinneret/Spinneret.h:
3237         (SpinneretWebHost::didReceiveIcon): Updated method signature.
3238         (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
3239         (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
3240
3241 2007-06-14  Sam Weinig  <sam@webkit.org>
3242
3243         Reviewed by Brady.
3244
3245         Update set of files to download for cygwin to include
3246         diffutils and regenerate the zip file.  This should fix
3247         an issue on vista where svn-create-patch doesn't work.
3248
3249         * CygwinDownloader/cygwin-downloader.py:
3250         * CygwinDownloader/cygwin-downloader.zip:
3251
3252 2007-06-14  Mark Rowe  <mrowe@apple.com>
3253
3254         Update script to match new nightly.webkit.org infrastructure.
3255
3256         * BuildSlaveSupport/build-launcher-dmg:  Upload to the live web server, not the caching proxy.  Let the server know it's a Mac build.
3257
3258 2007-06-12  Adam Roben  <aroben@apple.com>
3259
3260         Land CygwinDownloader.
3261
3262         Rubberstamped by Hyatt.
3263
3264         * CygwinDownloader/cygwin-downloader.py: Added.
3265         * CygwinDownloader/cygwin-downloader.zip: Added.
3266         * CygwinDownloader/make-zip.sh: Added.
3267         * CygwinDownloader/setup.py: Added.
3268
3269 2007-06-06  Vladimir Olexa  <vladimir.olexa@gmail.com>
3270
3271         Reviewed by Mark Rowe.
3272
3273         Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
3274         [Drosera] Items in the file list don't get un-highlighted when 
3275         files are selected from the file drop-down
3276
3277         * Drosera/debugger.js: currentFile was getting modified before file in the file
3278         browser got un-highlighted. Changed the order in which the functions execute. 
3279
3280 2007-06-06  Mark Rowe  <mrowe@apple.com>
3281
3282         Reviewed by Maciej.
3283
3284         http://bugs.webkit.org/show_bug.cgi?id=13988
3285         Bug 13988: Colon in file path crashes WebKit Nightly
3286
3287         The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
3288         the bundled WebKit framework.  Both of these variables are interpreted as containing a
3289         colon-delimited list of paths.  There is no escaping mechanism defined, so if we detect
3290         a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
3291         when we execute Safari.
3292
3293         * WebKitLauncher/main.m:
3294         (main):
3295
3296 2007-06-05  Mark Rowe  <mrowe@apple.com>
3297
3298         Reviewed by Anders.
3299
3300         * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
3301
3302 2007-05-30  Alp Toker  <alp.toker@collabora.co.uk>
3303
3304         Reviewed by Brady.
3305
3306         Enable logging in the Gdk port.
3307         http://bugs.webkit.org/show_bug.cgi?id=13936
3308
3309         * GdkLauncher/main.cpp:
3310         (main):
3311
3312 2007-05-29  Holger Freyther  <zecke@selfish.org>
3313
3314         Reviewed by Anders.
3315
3316         Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
3317         to provide ScrollBars for the FrameView.
3318
3319         * GdkLauncher/main.cpp:
3320         (registerRenderingAreaEvents):
3321         (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
3322         (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
3323         (main):
3324
3325 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
3326
3327         Reviewed by Darin.
3328
3329         - fix http://bugs.webkit.org/show_bug.cgi?id=13901
3330           run-pageloadtest does not obey testName on command-line
3331
3332         * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
3333         otherwise default to "svg".  Added dummy check to make sure $testName.pltsuite
3334         exists.
3335
3336 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
3337
3338         Reviewed by Darin.
3339
3340         - fix http://bugs.webkit.org/show_bug.cgi?id=13900
3341           svnStatus($) subroutine in svn-[un]apply does not work properly with directories
3342
3343         This patch also fixes an instance of the "broken pipe" warning that happened when
3344         a directory contained modified files that were not part of an applied or unapplied
3345         patch.
3346
3347         * Scripts/svn-apply:
3348         (svnStatus($)): If we're trying to get status on a directory (instead of a file),
3349         make sure we actually get the directory's status (if it has one), not the first
3350         file's status reported within the directory.  Fix "broken pipe" warnings by
3351         reading all of the output from the SVN filehandle before closing it.
3352         * Scripts/svn-unapply:
3353         (svnStatus($)): Ditto.
3354
3355 2007-05-28  David Kilzer  <ddkilzer@webkit.org>
3356
3357         Reviewed by Darin.
3358
3359         - fix http://bugs.webkit.org/show_bug.cgi?id=10342
3360           prepare-ChangeLog only shows removed files but not added files when files are moved
3361         - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
3362           prepare-ChangeLog and svn-create-patch don't show replaced files
3363
3364         Switched method used to find list of changed files from "diff" to "status".  This
3365         makes added and replaced files with history appear in the changed file list for svn.
3366         Added check for "+" in output from the svn status command to detect file history, and
3367         handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
3368
3369         * Scripts/prepare-ChangeLog:
3370         (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
3371         (statusCommand(@)): Switched argument from array ref to array.  Necessary to use
3372         the output of "keys $paths" without creating a temporary array variable.
3373         (findOriginalFileFromSvn($)): Added.  Based on findSourceFileAndRevision($)
3374         subroutine in svn-create-patch.
3375         (generateFileList(\@\@\%)): Added.  Extracted from main body of script.  Runs status
3376         command using command-line arguments instead of list of changed files from the diff
3377         command.  Changed svn regex to only accept file statuses that we know how to handle.
3378         Identify original file when an added/replaced status with history is present.
3379         (statusDescription($$)): Handled added/replaced statuses with history.  Added
3380         fall-through return statement.
3381
3382 2007-05-28  Holger Freyther  <zecke@selfish.org>
3383
3384         Reviewed by Mark Rowe.
3385
3386         Add scripts and data to generate a coverage data for WebKit.
3387
3388         * CodeCoverage/README: Added.
3389         * CodeCoverage/amber.png: Added.
3390         * CodeCoverage/cov.py: Added.
3391         * CodeCoverage/emerald.png: Added.
3392         * CodeCoverage/gcov.css: Added.
3393         * CodeCoverage/glass.png: Added.
3394         * CodeCoverage/regenerate-coverage-display: Added.
3395         * CodeCoverage/ruby.png: Added.
3396         * CodeCoverage/run-generate-coverage-data: Added.
3397         * CodeCoverage/snow.png: Added.
3398         * Scripts/build-webkit: Add --coverage by Niko
3399         * Scripts/check-for-global-initializers: Skip the check on coverage builds
3400         * Scripts/generate-coverage-data: Added.
3401         * Scripts/run-javascriptcore-tests: Add --coverage by Niko
3402
3403 2007-05-29  Mark Rowe  <mrowe@apple.com>
3404
3405         Build fix after r21745.
3406
3407         * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
3408
3409 2007-05-25  Anders Carlsson  <andersca@apple.com>
3410
3411         Fix build.
3412
3413         * DumpRenderTree/DumpRenderTree.m:
3414         * DumpRenderTree/FrameLoadDelegate.m:
3415
3416 2007-05-25  Simon Hausmann  <hausmann@kde.org>
3417
3418         Reviewed by Zack.
3419
3420         For the keyDown binding use QStringList instead of QList<QString>. The former is a default
3421         registered metatype. Also print out critical messages in dumprendertree's qt message handler.
3422
3423         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3424         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3425         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3426
3427 2007-05-20  David Kilzer  <ddkilzer@webkit.org>
3428
3429         Reviewed by Adam Roben.
3430
3431         - fix http://bugs.webkit.org/show_bug.cgi?id=13565
3432           Change svn-create-patch to put LayoutTests in the end
3433
3434         In addition to reordering test files under the LayoutTests directory so that they
3435         appear after source code files, this patch fixes an issue with prepare-ChangeLog
3436         if the first argument passed to it is a file name instead of a directory name.
3437
3438         * Scripts/prepare-ChangeLog:
3439         (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
3440         (isSVN()): Ditto.
3441         * Scripts/svn-create-patch:
3442         (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
3443         source code files.
3444
3445 2007-05-18  Mark Rowe  <mrowe@apple.com>
3446
3447         Reviewed by Oliver.
3448
3449         Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
3450
3451         * Scripts/svn-create-patch:
3452         * Scripts/webkitdirs.pm:
3453
3454 2007-05-18  Holger Freyther  <zecke@selfish.org>
3455
3456         Reviewed by Maciej.
3457
3458         * GdkLauncher/main.cpp: Call setGtkWidget
3459         (main):
3460
3461 2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>
3462
3463         Reviewed by Mark Rowe.
3464
3465         * GdkLauncher/main.cpp:
3466         (main): Call Frame::init to catch up with Maciej's changes.
3467         * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
3468         passed to the helper scripts.
3469
3470 2007-05-16  Brady Eidson  <beidson@apple.com>
3471
3472         Build fix for some dev configurations
3473
3474         * DumpRenderTree/DumpRenderTree.m:
3475
3476 2007-05-16  Maciej Stachowiak  <mjs@apple.com>
3477
3478         Reviewed by Justin.
3479         
3480         - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
3481         
3482         The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
3483         that happen before the load commits.
3484         
3485         Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
3486         optional logging for every FrameLoadDelegate callback, including SPI callbacks.
3487
3488         * DumpRenderTree/DumpRenderTree.h:
3489         * DumpRenderTree/DumpRenderTree.m:
3490         (createWebView):
3491         (dumpRenderTree):
3492         (dump):
3493         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3494         (-[LayoutTestController clearBackForwardList]):
3495         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3496         (-[LayoutTestController dumpFrameLoadCallbacks]):
3497         (-[LayoutTestController setWindowIsKey:]):
3498         (-[LayoutTestController setMainFrameIsFirstResponder:]):
3499         (-[LayoutTestController _doLoad:target:]):
3500         (-[LayoutTestController _doBackOrForwardNavigation:]):
3501         (-[LayoutTestController queueReload]):
3502         (-[LayoutTestController queueScript:]):
3503         (-[LayoutTestController queueLoad:target:]):
3504         (-[LayoutTestController setAcceptsEditing:]):
3505         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3506         (shouldLogFrameLoadDelegates):
3507         (runTest):
3508         (displayWebView):
3509         (+[DumpRenderTreeEvent mouseLocation]):
3510         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3511         * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
3512         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3513         * DumpRenderTree/EventSendingController.m:
3514         (-[EventSendingController mouseDown]):
3515         (-[EventSendingController mouseUp]):
3516         (-[EventSendingController mouseMoveToX:Y:]):
3517         (-[EventSendingController contextClick]):
3518         * DumpRenderTree/FrameLoadDelegate.h: Added.
3519         * DumpRenderTree/FrameLoadDelegate.m: Added.
3520         (-[WebFrame _drt_descriptionSuitableForTestResult]):
3521         (-[FrameLoadDelegate processWork:]):
3522         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3523         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3524         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3525         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3526         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3527         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3528         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3529         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3530         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3531         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
3532         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
3533         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
3534         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
3535         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
3536         (-[FrameLoadDelegate webView:willCloseFrame:]):
3537         (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
3538         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3539         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3540         * DumpRenderTree/ResourceLoadDelegate.m:
3541         (-[NSURL _drt_descriptionSuitableForTestResult]):
3542         * DumpRenderTree/UIDelegate.m:
3543         (-[UIDelegate webViewFocus:]):
3544
3545 2007-05-16  Kevin McCullough  <kmccullough@apple.com>
3546
3547         Reviewed by Darin and Geoff.
3548
3549         - rdar://problem/4981886
3550         - Now windows opened by the DOM can be closed by JS.
3551
3552         * DumpRenderTree/DumpRenderTree.m:
3553         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3554         (-[LayoutTestController windowCount]):
3555
3556 2007-05-15  Adam Roben  <aroben@apple.com>
3557
3558         Reviewed by David Kilzer.
3559
3560         http://bugs.webkit.org/show_bug.cgi?id=13732
3561         prepare-ChangeLog should work with git
3562
3563         * Scripts/prepare-ChangeLog: Added support for Git.
3564
3565 2007-05-15  Lars Knoll <lars@trolltech.com>
3566
3567         Reviewed by Zack
3568
3569         Add the EventSender object to DRT. Currently it implements
3570         mouseDown, mouseUp and mouseMoveTo.
3571
3572         Make run-webkit-tests --strict work somewhat better for form elements.
3573
3574         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3575         (WebCore::DumpRenderTree::DumpRenderTree):