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