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