Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
[WebKit-https.git] / WebKitTools / ChangeLog
1 2008-05-09  Mark Rowe  <mrowe@apple.com>
2
3         Reviewed by Anders Carlsson.
4
5         Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
6
7         It currently does not attempt to print events which means that plugins/mouse-events.html
8         will fail when run 64-bit.  All other tests that use this plugin pass.
9
10         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
11         (testGetIntIdentifier):
12         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
13         (NPP_New):
14         (NPP_HandleEvent):
15
16 2008-05-09  Brady Eidson  <beidson@apple.com>
17
18         Reviewed by Adam Roben
19
20         Explicitly call shutDownWebKit() before quitting.
21
22         * Drosera/win/Drosera.cpp:
23         (_tWinMain):
24
25         * DumpRenderTree/win/DumpRenderTree.cpp:
26         (main):
27
28 2008-05-09  Mark Rowe  <mrowe@apple.com>
29
30         Fix the Tiger build of Drosera.
31
32         * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
33
34 2008-05-09  Sam Weinig  <sam@webkit.org>
35
36         Rubber-stamped by Mark Rowe.
37
38         Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
39
40         * Scripts/build-webkit:
41
42 2008-05-08  Mark Rowe  <mrowe@apple.com>
43
44         Another attempt at a Tiger build fix.
45
46         Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
47
48         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
49
50 2008-05-08  Mark Rowe  <mrowe@apple.com>
51
52         Tiger build fix.  Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
53
54         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
55
56 2008-05-08  Mark Rowe  <mrowe@apple.com>
57
58         Reviewed by Oliver Hunt and Dan Bernstein.
59
60         Update DumpRenderTree to build 64-bit.
61
62         The three major changes here are:
63         1) Use NSInteger in the appropriate places.
64         2) Use ColorSync API that is available in 64-bit to switch display profiles.
65         3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
66
67         The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
68         needs updated to successfully build.
69
70         * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
71         * DumpRenderTree/mac/DumpRenderTree.mm:
72         (swizzleAllMethods):
73         (poseAsClass):
74         (prepareConsistentTestingEnvironment):
75         * DumpRenderTree/mac/DumpRenderTreeMac.h:
76         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
77         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
78         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
79         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
80         (restoreColorSpace):
81         (failedGettingCurrentProfile):
82         (setDefaultColorProfileToRGB):
83
84 2008-05-08  Mark Rowe  <mrowe@apple.com>
85
86         Reviewed by Darin Adler.
87
88         Clean up Drosera so that it will build 64-bit.
89
90         * Drosera/mac/DebuggerApplication.mm:
91         (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
92         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
93         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
94
95 2008-05-07  David Kilzer  <ddkilzer@apple.com>
96
97         Use File::Find and Getopt::Long in make-js-test-wrappers
98
99         Reviewed by Darin.
100
101         * Scripts/make-js-test-wrappers:
102         - Updated Apple copyright statement.
103         - Added command-line switch parsing and -h|--help switch.
104         - Allowed user to pass list of files/directories on which to do
105           a restricted search for TEMPLATE.html files.  The default
106           behavior is still to search the entire LayoutTests directory.
107         - Removed duplicate 'use strict' statement.
108         - Replaced use of `find` statements with File::Find::find().
109         - Remove unneeded chomp() calls now that we use File::Find.
110         (directoryFilter): Added.  Filters .svn directories when used
111         with File::Find::find().
112         (findTemplateFiles): Added.  Returns a list of TEMPLATE.html
113         files found.
114
115 2008-05-05  Steve Falkenburg  <sfalken@apple.com>
116
117         Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
118
119         * DumpRenderTree/win/DumpRenderTree.vcproj:
120         * DumpRenderTree/win/ImageDiff.vcproj:
121
122 2008-05-05  Adele Peterson  <adele@apple.com>
123
124         Reviewed by Adam.
125
126         Look for the right ImageDiff executable for debug builds.
127
128         * Scripts/run-webkit-tests:
129
130 2008-05-05  Darin Adler  <darin@apple.com>
131
132         * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
133         leak tests.
134
135 2008-05-05  Ariya Hidayat  <ariya.hidayat@trolltech.com>
136
137         Reviewed by Simon.
138
139         In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG 
140         tests expect to be 480x360)
141
142         * DumpRenderTree/qt/DumpRenderTree.cpp:
143         (WebCore::DumpRenderTree::open):
144
145 2008-05-02  Dan Bernstein  <mitz@apple.com>
146
147         Reviewed by Adam Roben.
148
149         - add an option to svn-apply to set the reviewer name in change logs
150
151         * Scripts/svn-apply: Added a [-r|--reviewer name] option.
152
153 2008-05-01  David Kilzer  <ddkilzer@apple.com>
154
155         Clean up configuration usage in run-webkit-tests
156
157         Reviewed by Adam.
158
159         * Scripts/run-webkit-tests: Parse configuration switches using
160         passedConfiguration() from webkitdirs.pm like every other script.
161         Note that we must still call setConfiguration() afterwards in
162         case the --configuration switch was used.  Use $configurationOption
163         when running build-dumprendertree instead of recreating the switch.
164
165 2008-04-29  Adam Roben  <aroben@apple.com>
166
167         Restore the beloved COMPtr::operator&
168
169 2008-04-29  Adam Roben  <aroben@apple.com>
170
171         Windows build fixes
172
173         Replace COMPtr::operator& with COMPtr::adoptionPointer.
174
175 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
176
177         Reviewed by Darin.
178
179         Fix run-webkit-tests --threading
180         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
181         Proxy server issue in Sunday's Nightly
182
183         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
184         (runJavaScriptThread):
185         (startJavaScriptThreads):
186         (stopJavaScriptThreads):
187         Spawned threads were immediately detached, unlike the original ones, so joining them
188         made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
189         waits for them all to exit.
190
191 2008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
192
193         Reviewed by Simon.
194
195         Reset dumping resource load callbacks to false for the next test
196         
197
198         * DumpRenderTree/qt/jsobjects.cpp:
199         (LayoutTestController::reset):
200
201 2008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
202
203         Reviewed by Simon.
204
205         Adapt to the latest API changes in WebKit/qt/Api.
206
207         * DumpRenderTree/qt/DumpRenderTree.cpp:
208         (WebCore::DumpRenderTree::DumpRenderTree):
209         * DumpRenderTree/qt/jsobjects.cpp:
210
211 2008-04-26  Robin Dunn  <robin@alldunn.com>
212
213         Reviewed by Kevin Ollivier.
214         
215         Delete the DerivedSources after make clean has been done so that the DerivedSources
216         don't get re-created. Also, use the proper extension for the Win wxPython extension.
217         
218         https://bugs.webkit.org/show_bug.cgi?id=18756
219
220         * wx/build-wxwebkit:
221
222 2008-04-26  Adam Barth <hk9565@gmail.com>
223
224         Reviewed by Adam Roben and Sam Weinig.
225
226         Updates LayoutTestController to use host instead of domain.
227
228         Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
229
230         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
231         (LayoutTestController::setDatabaseQuota):
232         * DumpRenderTree/mac/UIDelegate.mm:
233         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
234
235 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
236
237         wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
238
239         * wx/install-unix-extras:
240
241 2008-04-26  Robin Dunn  <robin@alldunn.com>
242
243         Reviewed by Kevin Ollivier.
244         
245         Allow the user to set the path to SWIG using an environment variable.
246         
247         https://bugs.webkit.org/show_bug.cgi?id=18660
248
249         * wx/build-wxwebkit:
250
251 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
252
253         wx build fix. Download the latest libpng version for building the
254         dependencies.
255
256         * wx/install-unix-extras:
257
258 2008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
259
260         Reviewed by Simon.
261
262         Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
263         
264         Similar to Editing and Frameloading we do the dumping within WebCore
265         
266
267         * DumpRenderTree/qt/jsobjects.cpp:
268         (LayoutTestController::dumpResourceLoadCallbacks):
269         * DumpRenderTree/qt/jsobjects.h:
270
271 2008-04-24  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
272
273         Reviewed by Maciej Stachowiak.
274
275         http://bugs.webkit.org/show_bug.cgi?id=18485
276         Typo and documentation fix for build-webkit
277
278         * Scripts/build-webkit:
279
280 2008-04-24  Anders Carlsson  <andersca@apple.com>
281
282         Reviewed by Sam.
283
284         Don't call fprintf from the signal handler.
285         
286         * DumpRenderTree/mac/DumpRenderTree.mm:
287         (crashHandler):
288
289 2008-04-23  Adam Roben  <aroben@apple.com>
290
291         Make crashes be reported as crashes, not hangs
292
293         Reviewed by David Kilzer.
294
295         * Scripts/run-webkit-tests:
296         (top level): Use the new status field of the output from
297         readFromDumpToolWithTimer to determine if the test crashed or hung.
298         (sub readFromDumpToolWithTimer):
299           - If we fail to read a line and $! is not EAGAIN, then we've crashed
300             and should not try to read any more.
301           - Changed the timedout field to a more general status field.
302
303 2008-04-22  David Kilzer  <ddkilzer@apple.com>
304
305         Bug 18683: update-webkit returns 0 even if it fails
306
307         <https://bugs.webkit.org/show_bug.cgi?id=18683>
308
309         Reviewed by Mitz Pettel.
310
311         * Scripts/update-webkit:
312         (runSvnUpdate): Die if close() fails.
313
314 2008-04-21  Adam Roben  <aroben@apple.com>
315
316         Flush stdout/stderr after printing every #EOF separator
317
318         This fixes a hang when running the pixel tests on Windows
319
320         Reviewed by Mitz Pettel.
321
322         * DumpRenderTree/win/DumpRenderTree.cpp:
323         (dump):
324         (main): We don't have to flush stdout/stderr in the arguments loop
325         anymore, as runTest flushes for us.
326
327 2008-04-21  Adam Roben  <aroben@apple.com>
328
329         Fix pixel tests
330
331         * Scripts/run-webkit-tests:
332         (sub readFromDumpToolWithTimer): Use readline instead of read to
333         ensure that we don't read past the #EOF marker.
334
335 2008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
336
337         Reviewed by Simon.
338
339         Build fix for Qt 4.3
340
341         * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
342         always defined. Do this by adding defines to the compiler line
343
344         * DumpRenderTree/qt/DumpRenderTree.pro:
345
346 2008-04-19  Mike Hommey  <glandium@debian.org>
347
348         Reviewed by Alp Toker.
349
350         Don't build GtkLauncher and DumpRenderTree with rpath.
351
352         * GNUmakefile.am:
353
354 2008-04-18  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
355
356         Reviewed by Alp Toker.
357
358         http://bugs.webkit.org/show_bug.cgi?id=16620
359         [GTK] Autotools make dist and make check support
360
361         Cleanups.
362
363         * GNUmakefile.am:
364
365 2008-04-18  Adam Roben  <aroben@apple.com>
366
367         Drop the hang timer to 30 seconds
368
369         This matches what DRT/mac was using.
370
371         Reviewed by Mitz Pettel.
372
373         * Scripts/run-webkit-tests:
374
375 2008-04-18  Adam Roben  <aroben@apple.com>
376
377         Get rid of DRT's Watchdog
378
379         run-webkit-tests now detects hangs and samples DRT as needed.
380
381         Reviewed by Mitz Pettel.
382
383         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
384         Watchdog* files from the project.
385         * DumpRenderTree/Watchdog.cpp: Removed.
386         * DumpRenderTree/Watchdog.h: Removed.
387         * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
388         (dumpRenderTree):
389         (runTest):
390         * DumpRenderTree/mac/WatchdogMac.h: Removed.
391         * DumpRenderTree/mac/WatchdogMac.mm: Removed.
392         * Scripts/run-webkit-tests:
393         (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
394         (sub sampleDumpTool): Added. Writes a sample report to
395         ~/Library/Logs/DumpRenderTree/HangReport.txt.
396
397 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
398
399         Reviewed by Holger.
400
401         Adapt to the API changes in WebKit/qt
402
403         * DumpRenderTree/qt/DumpRenderTree.cpp:
404         (WebCore::WebPage::WebPage):
405         (WebCore::DumpRenderTree::DumpRenderTree):
406         (WebCore::DumpRenderTree::initJSObjects):
407         (WebCore::DumpRenderTree::dumpFramesAsText):
408         (WebCore::DumpRenderTree::dump):
409
410 2008-04-17  Adam Roben  <aroben@apple.com>
411
412         Fix many tests on Windows
413
414         * Scripts/run-webkit-tests:
415         (readFromDumpToolWithTimer):
416          - Use read instead of sysread to ensure that we don't interfere with
417            other uses of buffered IO in this script.
418         (setFileHandleNonBlocking): Actually set the filehandle to blocking
419         when specified.
420
421 2008-04-17  Adam Roben  <aroben@apple.com>
422
423         Fix ~10 tests
424
425         * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
426         whatever newline happens to be at the end of what we've read.
427
428 2008-04-17  Adam Roben  <aroben@apple.com>
429
430         Remove DRT/win's hang timer
431
432         run-webkit-tests takes care of this for us now
433
434         Reviewed by Anders Carlsson.
435
436         * DumpRenderTree/win/DumpRenderTree.cpp:
437
438 2008-04-17  Adam Roben  <aroben@apple.com>
439
440         Don't wait for the hang timer twice in the case of a hang
441
442         Previously we'd wait for a hang while reading both stdout and stderr
443         from DRT. Now we'll only wait for one or the other.
444
445         Reviewed by Anders Carlsson.
446
447         * Scripts/run-webkit-tests:
448         (top level): Don't wait for stderr to time out if stdout already timed
449         out.
450         (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
451         after the first read that returns no data.
452
453 2008-04-17  Adam Roben  <aroben@apple.com>
454
455         Don't throw away the output from timed out tests
456
457         Reviewed by Anders Carlsson.
458
459         * Scripts/run-webkit-tests:
460         (top level): Updated for changes to readFromDumpToolWithTimer.
461         (readFromDumpToolWithTimer): Return a hash that contains both the
462         output and whether or not the test timed out.
463
464 2008-04-17  Adam Roben  <aroben@apple.com>
465
466         Make the hang timer 60 seconds
467
468         * Scripts/run-webkit-tests:
469
470 2008-04-17  Adam Roben  <aroben@apple.com>
471
472         Get rid of carriage returns in DRT/win's stderr
473
474         Reviewed by Eric Seidel.
475
476         * DumpRenderTree/win/DumpRenderTree.cpp:
477         (main): Mark stderr as binary like we already do for stdout.
478
479 2008-04-17  Adam Roben  <aroben@apple.com>
480
481         Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
482         timeout long tests)
483
484         <https://bugs.webkit.org/show_bug.cgi?id=17678>
485
486         We now abort tests that take longer than 60 seconds to produce output.
487         This matches the watchdog timer in DRT/mac and DRT/win (which we can
488         now remove).
489
490         Reviewed by Eric Seidel.
491
492         * Scripts/run-webkit-tests:
493         (top level): Read DRT's output using the new readFromDumpToolWithTimer
494         subroutine. If readFromDumpToolWithTimer returns undefined it means
495         the test timed out, so we register the test as a hang and move on.
496         (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
497         both crashed and timed out tests. If the test timed out, we kill DRT
498         before returning.
499         (sub linksForTimedOutTest): Added. We don't have any output to link to for
500         tests that timed out.
501         (sub recordActualResultsAndDiff): Don't call length on undefined.
502         (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
503         from a filehandle until an #EOF is reached or
504         $maximumSecondsWithoutOutput have elapsed.
505         (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
506         non-blocking.
507
508 2008-04-17  Adam Roben  <aroben@apple.com>
509
510         Refactor test results page generation
511
512         Reviewed by Eric Seidel.
513
514         * Scripts/run-webkit-tests:
515         (sub htmlForResultsSection): Added. Takes a set of tests, a
516         description, and a subroutine to generate the links for each test, and
517         creates a HTML string containing a table of the tests and their
518         links.
519         (sub linksForExpectedAndActualResults): Added. Replaces the
520         htmlForExpectedAndActualResults subroutine.
521         (sub linksForMismatchTest): Added.
522         (sub linksForCrashOrErrorTest): Added.
523         (sub linksForNewTest): Added.
524
525 2008-04-17  Adam Roben  <aroben@apple.com>
526
527         Print the extension for all tests in the test results page
528
529         Reviewed by Eric Seidel.
530
531         * Scripts/run-webkit-tests:
532
533 2008-04-17  Adam Roben  <aroben@apple.com>
534
535         Move code that counts finished tests into a subroutine
536
537         Reviewed by Eric Seidel.
538
539         * Scripts/run-webkit-tests:
540         (sub countFinishedTest): Added.
541
542 2008-04-17  Adam Roben  <aroben@apple.com>
543
544         Move code that handles a crash into a subroutine
545
546         Reviewed by Eric Seidel.
547
548         * Scripts/run-webkit-tests:
549         (sub testCrashed): Added.
550
551 2008-04-17  Eric Seidel  <eric@webkit.org>
552
553         Reviewed by hyatt.
554         
555         Rename RenderView to RenderViewport in the next rename patch.
556
557         * Scripts/do-webcore-rename:
558
559 2008-04-17  Mario Bensi  <mbensi@pleyo.com>
560
561         Reviewed by Alp Toker.
562
563         http://bugs.webkit.org/show_bug.cgi?id=18543
564         DumpRenderTree gtk freeze
565
566         fix DumpRenderTree gtk freeze 
567
568         * DumpRenderTree/gtk/DumpRenderTree.cpp:
569         (dump):
570
571 2008-04-15  Anders Carlsson  <andersca@apple.com>
572
573         Add missing ;
574         
575         * Scripts/build-webkit:
576         
577 2008-04-15  Anders Carlsson  <andersca@apple.com>
578
579         Reviewed by Adam.
580
581         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
582
583         * Scripts/build-webkit:
584
585 2008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
586
587         Reviewed by Simon.
588
589         Fix compilation with Qt namespaces
590
591         Qt can be configured to have all of its classes inside a specified namespaces.
592         This is for example used in plugin/component environments like Eclipse.
593
594         This change makes it possible to let the Qt port compile against a namespaced
595         Qt by the use of macros Qt provides to properly forward declare Qt classes in
596         the namespace.
597
598         * DumpRenderTree/qt/DumpRenderTree.h:
599
600 2008-04-08  Kevin Ollivier  <kevino@theolliviers.com>
601
602         Reviewed by Darin Adler.
603
604         Add a script that propagates any file changes made to the Bakefiles
605         over to GTK and Qt build systems. Still needs to be wired into
606         those ports though.
607
608         * Scripts/update-sources-list.py: Added.
609
610 2008-04-08  Mark Rowe  <mrowe@apple.com>
611
612         Clean up after Brady.
613
614         * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
615
616 2008-04-08  Brady Eidson  <beidson@apple.com>
617
618         Reviewed by Mitzpettel
619
620         Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
621         -WebArchive subresources dump in random order, intermittent failures
622
623         * DumpRenderTree/mac/DumpRenderTree.mm:
624         (compareResourceURLs): Sorting function based on the resource URLs
625         (serializeWebArchiveToXML): Sort the subresource array
626
627 2008-04-07  Brady Eidson  <beidson@apple.com>
628
629         OMG, BUILD - please!
630
631         * Scripts/build-webkit:
632
633 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
634
635         Reviewed by Simon.
636
637         * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
638         * Running these tests on windows and other platforms might need some work.
639
640         * Scripts/run-webkit-tests:
641
642 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
643
644         Reviewed by Simon.
645
646         * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
647         is not exporting enough to create the output in DRT itself. Settle with the approach
648         Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
649         * run-webkit-tests http/tests(/loading) can now be executed.
650         * For tests in loading/ directories we are going to throw away the dirty
651         QWebPage to start with something clean.
652         
653
654         * DumpRenderTree/qt/DumpRenderTree.cpp:
655
656 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
657
658         Reviewed by Simon.
659
660         * Treat http and https as special URLs as well. Change the main.cpp and
661         DumpRenderTree.cpp to handle http and https URIs as input.
662         * I'm not doing the clean up and merging of these two checks now.
663         
664
665         * DumpRenderTree/qt/DumpRenderTree.cpp:
666         (WebCore::DumpRenderTree::readStdin):
667         * DumpRenderTree/qt/main.cpp:
668         (main):
669
670 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
671
672         Reviewed by Simon.
673
674         * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
675         located in a directory with the name "loading". And this will autoamtically
676         enable dumping.
677         * Remove this method from the LayoutTestController as it is unused now and this
678         avoids adding it to the DRT of the Qt port.
679         
680
681         * DumpRenderTree/LayoutTestController.cpp:
682         (setPrivateBrowsingEnabledCallback):
683
684 2008-04-01  Christian Dywan  <christian@imendio.com>
685
686         Build fix for GCC 4.3.
687
688         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
689
690 2008-04-01  Simon Hausmann  <hausmann@webkit.org>
691
692         Reviewed by Holger.
693
694         Fix Qt DRT run by also printing EOF on stderr, as expected by
695         run-webkit-tests.
696
697         * DumpRenderTree/qt/DumpRenderTree.cpp:
698         (WebCore::DumpRenderTree::dump):
699
700 2008-03-31  Julien Chaffraix  <julien.chaffraix@gmail.com>
701
702         Reviewed by Darin.
703
704         Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
705
706         Remove trailing '/' in $sourceDir in determineSourceDir().
707
708         Fix suggested by Dmitriy Kazachkov.
709
710         * Scripts/webkitdirs.pm:
711
712 2008-03-29  Adam Roben  <aroben@apple.com>
713
714         Update for rename of an IWebViewPrivate method
715
716         Reviewed by Mitz Pettel.
717
718         * DumpRenderTree/win/DumpRenderTree.cpp:
719         (createWebViewAndOffscreenWindow):
720
721 2008-03-26  Antti Koivisto  <antti@apple.com>
722
723         Reviewed by Anders.
724         
725         Enable SVG animation support by default.
726
727         * Scripts/build-webkit:
728
729 2008-03-25  Adam Roben  <aroben@apple.com>
730
731         Windows build fix
732
733         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
734         Add $(WebKitLibrariesDir)\include to the include path so we can find
735         stdint.h there.
736
737 2008-03-24  Eric Seidel  <eric@webkit.org>
738
739         Reviewed by Mark.
740
741         Clean up SVG features message to be less confusing.
742
743         * Scripts/build-webkit:
744
745 2008-03-24  Sam Weinig  <sam@webkit.org>
746
747         Reviewed by Dave Hyatt.
748
749         Add EventSender.zoomPageIn/zoomPageOut support to DRT.
750
751         * DumpRenderTree/mac/DumpRenderTree.mm:
752         (resetWebViewToConsistentStateBeforeTesting):
753         * DumpRenderTree/mac/EventSendingController.mm:
754         (+[EventSendingController isSelectorExcludedFromWebScript:]):
755         (-[EventSendingController zoomPageIn]):
756         (-[EventSendingController zoomPageOut]):
757         * DumpRenderTree/win/DumpRenderTree.cpp:
758         (resetWebViewToConsistentStateBeforeTesting):
759         * DumpRenderTree/win/EventSender.cpp:
760         (textZoomInCallback):
761         (textZoomOutCallback):
762         (zoomPageInCallback):
763         (zoomPageOutCallback):
764
765 2008-03-24  Dan Bernstein  <mitz@apple.com>
766
767         Reviewed by Mark Rowe.
768
769         - update bisect-builds for Safari 3.1
770
771         * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
772         revision, r29711.
773
774 2008-03-21  Rodney Dawes  <dobey@wayofthemonkey.com>
775
776         Reviewed by Holger.
777
778         http://bugs.webkit.org/show_bug.cgi?id=17981
779
780         Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
781
782         * GNUmakefile.am:
783
784 2008-03-21  Adam Roben  <aroben@apple.com>
785
786         Remove a non-working mirror from cygwin-downloader and add the ruby package
787
788         * CygwinDownloader/cygwin-downloader.py:
789         * CygwinDownloader/cygwin-downloader.zip: Updated.
790
791 2008-03-20  Mark Rowe  <mrowe@apple.com>
792
793         Reviewed by Sam Weinig.
794
795         Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
796         This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
797         command-line.
798
799         * Scripts/build-webkit:
800
801 2008-03-17  Eric Seidel  <eric@webkit.org>
802
803         Reviewed by Dan Bernstein.
804
805         Fix bogus argCount check breaking plugin test.
806
807         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
808
809 2008-03-17  Eric Seidel  <eric@webkit.org>
810
811         Reviewed by darin.
812
813         Cleanup PluginObject.cpp and add support for testing
814         converting from int -> identifier -> string
815         and from string -> identifier -> int
816         as well as round-tripping ints and stings through identifiers
817
818         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
819         (pluginGetProperty):
820         (pluginSetProperty):
821         (testDOMAccess):
822         (stringVariantToIdentifier):
823         (int32VariantToIdentifier):
824         (doubleVariantToIdentifier):
825         (variantToIdentifier):
826         (testIdentifierToString):
827         (testIdentifierToInt):
828         (testCallback):
829         (getURL):
830         (removeDefaultMethod):
831         (getURLNotify):
832         (testInvokeDefault):
833         (destroyStream):
834         (testEnumerate):
835         (testGetIntIdentifier):
836         (testGetProperty):
837         (testEvaluate):
838         (testGetPropertyReturnValue):
839         (pluginInvoke):
840         (pluginInvokeDefault):
841         (pluginInvalidate):
842         (pluginAllocate):
843         (pluginDeallocate):
844         (handleCallback):
845
846 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
847
848         Rubber stamped by Darin.
849
850         Add set-webkit-configuration support for wx port, and centralize
851         build dir location setting.
852
853         http://bugs.webkit.org/show_bug.cgi?id=17790
854
855         * wx/browser/browser.bkl:
856         * wx/build-wxwebkit:
857
858 2008-03-15  Darin Adler  <darin@apple.com>
859
860         * Scripts/commit-log-editor: Include the name line of the change log entry.
861         A long time ago I designed this script to not include the name because I
862         thought it was redundant (same as the name of the person checking in), but
863         nowadays it's more common for someone to check something in done by someone
864         else.
865
866         * Scripts/do-webcore-rename: Added some more planned renames and removed
867         some that were already done "by hand".
868
869 2008-03-13  Brent Fulgham  <bfulgham@gmail.com>
870
871         Reviewed by Darin.
872
873         Correct paths to vsprops files so they use the environment
874         variable, rather than hard-coded path.
875         http://bugs.webkit.org/show_bug.cgi?id=17797.
876
877         * WinLauncher/WinLauncher.vcproj:  Correct paths to vsprops.
878
879 2008-03-12  Steve Falkenburg  <sfalken@apple.com>
880
881         VSExpress build fix
882
883         * WinLauncher/WinLauncher.vcproj:
884
885 2008-03-12  Holger Hans Peter Freyther  <zecke@selfish.org>
886
887         Reviewed by Alp Toker.
888
889         Run testkjs in the correct productsDir in the GTK+ port.
890
891         * Scripts/run-javascriptcore-tests:
892
893 2008-03-11  Brent Fulgham  <bfulgham@gmail.com>
894
895         Reviewed by Adam Roben.
896
897         Enabled WinLauncher as part of normal Windows build.
898         http://bugs.webkit.org/show_bug.cgi?id=17715.
899
900         * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
901           it can find the proper libraries to link against.
902
903 2008-03-10  Julien Chaffraix  <julien.chaffraix@gmail.com>
904
905         Reviewed and landed by Darin.
906
907         http://bugs.webkit.org/show_bug.cgi?id=17581
908         Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
909
910         Remove the previous warning which occurs when the --random option is used.
911
912         * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
913         its inequality
914
915 2008-03-07  Simon Hausmann  <hausmann@webkit.org>
916
917         Reviewed by Darin.
918
919         Done with Lars.
920
921         Ported the netscape test plugin to QWebPluginFactory.
922
923         * DumpRenderTree/qt/DumpRenderTree.cpp:
924         (WebCore::WebPage::WebPage):
925         * DumpRenderTree/qt/main.cpp:
926         * DumpRenderTree/qt/testplugin.cpp:
927         (TestPlugin::plugins):
928         (TestPlugin::create):
929         * DumpRenderTree/qt/testplugin.h:
930
931 2008-03-09  Steve Falkenburg  <sfalken@apple.com>
932
933         Stop Windows build if an error occurs in a prior project.
934
935         Rubber stamped by Darin.
936
937         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
938         * DumpRenderTree/win/DumpRenderTree.vcproj:
939         * DumpRenderTree/win/ImageDiff.vcproj:
940         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
941
942 2008-03-08  Julien Chaffraix  <julien.chaffraix@gmail.com>
943
944         Reviewed by Mark Rowe.
945
946         DRT build fix for Tiger.
947
948         * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
949
950 2008-03-07  Mark Rowe  <mrowe@apple.com>
951
952         Reviewed by Oliver Hunt.
953
954         Fix WebKit build with GCC 4.2.
955
956         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
957
958 2008-03-07  Stephanie Lewis <slewis@apple.com>
959
960         Reviewed by Oliver.
961
962         Add Windows part of <rdar://problem/5693690> 
963
964         * DumpRenderTree/win/DumpRenderTree.cpp:
965         (dump):
966         (main):
967
968 2008-03-07  Alp Toker  <alp@atoker.com>
969
970         Back out the r30818, r30819 build fix attempts now the GTK+ build
971         server has been upgraded.
972
973         * Scripts/webkitdirs.pm:
974
975 2008-03-07  Stephanie Lewis <slewis@apple.com>
976
977         Reviewed by Geoff.
978
979         <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
980
981         * DumpRenderTree/mac/DumpRenderTree.mm:
982         (dump): push EOF to stderr after every test
983         * Scripts/run-webkit-tests: collect stderr output and print it
984
985 2008-03-07  Steve Falkenburg  <sfalken@apple.com>
986
987         Get pdevenv working with Visual Studio Express.
988         
989         Reviewed by Adam.
990
991         * Scripts/pdevenv:
992
993 2008-03-06  Adele Peterson  <adele@apple.com>
994
995         Reviewed by Darin.
996
997         Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
998
999         * DumpRenderTree/mac/UIDelegate.mm:
1000         (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
1001         (-[UIDelegate webViewUnfocus:]): Added.  In Safari, the default is to focus another window if there is one.
1002          To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
1003
1004 2008-03-06  Matt Lilek  <webkit@mattlilek.com>
1005
1006         Reviewed by Adam Roben.
1007
1008         Bug 17691: REGRESSION: FindSafari doesn't work
1009         http://bugs.webkit.org/show_bug.cgi?id=17691
1010
1011         Swap my change from r30394 to use the Release libraries instead of Debug
1012         since some machines don't have the Debug version.
1013
1014         * FindSafari/FindSafari.vcproj:
1015
1016 2008-03-06  Kevin McCullough  <kmccullough@apple.com>
1017
1018         Reviewed by Sam and Tim.
1019
1020         <rdar://5631450> Drosera: breakpoint indicators disappear after the
1021         script is finished running.
1022         - If there is a pre-existing breakpoint on a line when the file is
1023         updated we need to redraw it.
1024
1025         * Drosera/debugger.js:
1026
1027 2008-03-06  Brady Eidson  <beidson@apple.com>
1028
1029         Tiger build fix...?
1030
1031         * DumpRenderTree/mac/WatchdogMac.mm:
1032
1033 2008-03-06  Brady Eidson  <beidson@apple.com>
1034
1035         Reviewed by Darin
1036
1037         Added a cross-platform Watchdog thread to DRT.
1038
1039         The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
1040         main thread hangs still affect DRT.
1041
1042         By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
1043         and true deadlocks can be caught.
1044
1045         There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
1046         `sample` available, the Mac implementation of this hook samples the process before it is killed.
1047
1048         I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
1049
1050         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1051         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
1052
1053         * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
1054         * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
1055
1056         * DumpRenderTree/Watchdog.cpp: Added.
1057         (Watchdog::Watchdog):
1058         (Watchdog::~Watchdog):
1059         (Watchdog::start):
1060         (Watchdog::stop):
1061         (Watchdog::checkIn):
1062         (Watchdog::setWatchdogInterval):
1063         (Watchdog::handleHang):
1064         (Watchdog::watchdogThreadStart):
1065         (Watchdog::watchdogThread):
1066         * DumpRenderTree/Watchdog.h: Added.
1067
1068         * DumpRenderTree/mac/WatchdogMac.h: Added.
1069         * DumpRenderTree/mac/WatchdogMac.mm: Added.
1070         (WatchdogMac::handleHang): Sample the process and write it out to a file
1071
1072         * DumpRenderTree/mac/DumpRenderTree.mm:
1073         (dumpRenderTree): Setup and start the watchdog before running any tests
1074         (runTest): Checkin with the watchdog after each test
1075
1076 2008-03-05  Alp Toker  <alp@atoker.com>
1077
1078         Attempt to get the autotools build working again on the bot with
1079         build-webkit.
1080
1081         Force the use of /bin/bash since we seem to have bash-isms in the
1082         configure script right now.
1083
1084         * Scripts/webkitdirs.pm:
1085
1086 2008-03-05  Alp Toker  <alp@atoker.com>
1087
1088         Re-attempt to switch to the autotools build system for GTK+.
1089
1090         Change scripts to continue when distclean fails.
1091
1092         * Scripts/webkitdirs.pm:
1093
1094 2008-03-05  Alp Toker  <alp@atoker.com>
1095
1096         Force qmake for the GTK+ build until we get the build bot to succeed
1097         with autotools (currently dies at make distclean)
1098
1099         * Scripts/webkitdirs.pm:
1100
1101 2008-03-04  Alp Toker  <alp@atoker.com>
1102
1103         Reviewed by Mark Rowe.
1104
1105         Switch the default GTK+ build system from qmake to autotools.
1106
1107         qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
1108
1109         * Scripts/build-webkit:
1110         * Scripts/run-launcher:
1111         * Scripts/run-webkit-tests:
1112         * Scripts/webkitdirs.pm:
1113
1114 2008-03-04  Sam Weinig  <sam@webkit.org>
1115
1116         Reviewed by Darin Adler.
1117
1118         * Scripts/do-webcore-rename: Update renaming plan.
1119
1120 2008-03-02  Brent Fulgham  <bfulgham@gmail.com>
1121
1122         Reviewed by Alp Toker.
1123
1124         Remove some needless LIBS.
1125
1126         * GNUmakefile.am:
1127
1128 2008-03-02  Alp Toker  <alp@atoker.com>
1129
1130         Reviewed by Mark Rowe.
1131
1132         Split the WebKit GTK+ build out of the WebCore build and change the
1133         shared object name to match the package name.
1134
1135         * GNUmakefile.am:
1136
1137 2008-03-01  Mark Rowe  <mrowe@apple.com>
1138
1139         Reviewed by Tim Hatcher.
1140
1141         Update Xcode configuration to support building debug and release from the mysterious future.
1142
1143         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1144
1145 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1146
1147         Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
1148
1149         Reviewed by Dan.
1150
1151         Originally broken in r26838.
1152
1153         * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
1154         not local, unused @args variable.
1155
1156 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1157
1158         Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
1159
1160         <http://bugs.webkit.org/show_bug.cgi?id=15754>
1161
1162         Reviewed by Geoff and Darin.
1163
1164         We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
1165         then removing that path from all file:/// URLs in the WebArchive output so these tests
1166         would pass no matter where they were run.
1167
1168         The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
1169         current working directory, but the WebArchive does not.  This left the current working
1170         directory in all file:/// URLs in the test output, and thus all tests failed, for any
1171         developer that used symlinks to get to their WebKit source directory.
1172
1173         The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
1174         remove the current working directory path (no matter what it is) after "file://" but
1175         before "/LayoutTests/".  
1176
1177         * DumpRenderTree/mac/DumpRenderTree.mm:
1178         (normalizeWebResourceURL): Removed unused oldURLBase argument.  We now replace the
1179         current working directory as described above.
1180         (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument.  Update
1181         calls to normalizeWebResourceURL().
1182         (serializeWebArchiveToXML): Removed now unused cwdURL variable.  Update calls to
1183         normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
1184
1185 2008-02-26  Robin Dunn <robin@alldunn.com>
1186
1187         Reviewed by Kevin Ollivier.
1188
1189         Improvements to the wx build script.
1190
1191         http://bugs.webkit.org/show_bug.cgi?id=17492
1192
1193         * wx/build-wxwebkit:
1194         - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
1195         - Allow the build script to properly find wxPython includes under different setups
1196         - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
1197
1198 2008-02-26  Timothy Hatcher  <timothy@apple.com>
1199
1200         Reviewed by Darin Adler.
1201
1202         * Scripts/build-webkit: Add --universal and --64-bit flags to make building
1203         64-bit architectures easy. Combine the two flags to build 4-way universal.
1204         * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
1205         non-zero when the build failes.
1206
1207 2008-02-26  Jessica Kahn  <jess@apple.com>
1208
1209         Reviewed by Darin.
1210
1211         * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
1212         so that Safari inherits it when launched. Preexisting code in WebKit checks this
1213         environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
1214         launched by Safari continue to use the standard system WebKit.
1215
1216 2008-02-25  Adam Roben  <aroben@apple.com>
1217
1218         Fix run-webkit-tests after r30394
1219
1220         * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
1221         executable name.
1222
1223 2008-02-24  Darin Adler  <darin@apple.com>
1224
1225         * Scripts/do-webcore-rename: Make some updates based on a trial run of
1226         the renaming script.
1227
1228 2008-02-24  Darin Adler  <darin@apple.com>
1229
1230         * Scripts/do-webcore-rename: More renaming plans.
1231
1232 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1233
1234         Rubber stamped by Darin.
1235
1236         Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
1237         whitespaces introduced in the previous commit.
1238
1239         * GNUmakefile.am:
1240
1241 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1242
1243         Rubber-stamped by Darin.
1244
1245         * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
1246
1247 2008-02-23  David Kilzer  <ddkilzer@apple.com>
1248
1249         Please clarify licensing for some files
1250         <http://bugs.webkit.org/show_bug.cgi?id=14970>
1251
1252         Reviewed by Darin.
1253
1254         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
1255         copyright statement.  Replaced license with newer Apple BSD-style license.
1256         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
1257         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
1258         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
1259         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
1260         * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
1261         * mangleme/LICENSE: Added (LGPL).
1262
1263 2008-02-22  Anders Carlsson  <andersca@apple.com>
1264
1265         Reviewed by Adam.
1266
1267         <rdar://problem/5748781> 
1268         https://bugs.webkit.org/show_bug.cgi?id=17413
1269         REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
1270         
1271         Copy the Java plug-in over to the new location.
1272         
1273         * FindSafari/FindSafari.cpp:
1274         (_tmain):
1275
1276 2008-02-22  Anders Carlsson  <andersca@apple.com>
1277
1278         Reviewed by Adam.
1279
1280         <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
1281         
1282         * DumpRenderTree/win/DumpRenderTree.cpp:
1283         (runTest):
1284         Init the URL request with the correct timeout.
1285
1286 2008-02-21  Mike Auty  <mike.auty@gmail.com>
1287
1288         Reviewed by Alp Toker.
1289
1290         http://bugs.webkit.org/show_bug.cgi?id=17445
1291         [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
1292
1293         GTK+/autotools build system improvements
1294
1295         The GNUmakefile.am files make use of the LDFLAGS variable to include library
1296         additions such as -ljpeg etc.  Unfortunately, if these inclusions aren't made
1297         in LIBADD/LDADD variables, then they are mis-ordered during the linking.
1298
1299         The as-needed flag discards libraries whose functions have not been needed by
1300         earlier libraries, which therefore makes the ordering important.
1301
1302         This moves all -l library inclusion statements from LDFLAGS variables to
1303         LIBADD/LDADD variables.
1304
1305         * GNUmakefile.am:
1306
1307 2008-02-20  Brent Fulgham  <bfulgham@gmail.com>
1308
1309         Reviewed by Alp.
1310
1311         - http://bugs.webkit.org/show_bug.cgi?id=17428
1312           Reenable a Windows-based launcher
1313
1314         This patch reenables the venerable Spinneret application,
1315         changing its name to match the other lanch applications.
1316
1317         * WinLauncher: Added.
1318         * WinLauncher/WinLauncher.cpp: Added.
1319         (WinLauncherWebHost::updateAddressBar):
1320         (WinLauncherWebHost::QueryInterface):
1321         (WinLauncherWebHost::AddRef):
1322         (WinLauncherWebHost::Release):
1323         (resizeSubViews):
1324         (_tWinMain):
1325         (MyRegisterClass):
1326         (InitInstance):
1327         (WndProc):
1328         (MyEditProc):
1329         (About):
1330         (loadURL):
1331         * WinLauncher/WinLauncher.h: Added.
1332         (WinLauncherWebHost::WinLauncherWebHost):
1333         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
1334         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1335         (WinLauncherWebHost::didFailProvisionalLoadWithError):
1336         (WinLauncherWebHost::didCommitLoadForFrame):
1337         (WinLauncherWebHost::didReceiveTitle):
1338         (WinLauncherWebHost::didReceiveIcon):
1339         (WinLauncherWebHost::didFinishLoadForFrame):
1340         (WinLauncherWebHost::didFailLoadWithError):
1341         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
1342         (WinLauncherWebHost::willPerformClientRedirectToURL):
1343         (WinLauncherWebHost::didCancelClientRedirectForFrame):
1344         (WinLauncherWebHost::willCloseFrame):
1345         (WinLauncherWebHost::windowScriptObjectAvailable):
1346         * WinLauncher/WinLauncher.ico: Added.
1347         * WinLauncher/WinLauncher.rc: Added.
1348         * WinLauncher/WinLauncher.vcproj: Added.
1349         * WinLauncher/resource.h: Added.
1350         * WinLauncher/small.ico: Added.
1351         * WinLauncher/stdafx.cpp: Added.
1352         * WinLauncher/stdafx.h: Added.
1353
1354 2008-02-19  Brady Eidson  <beidson@apple.com>
1355
1356         Reviewed by Geoff
1357
1358         Fixed a bug in DRT --threaded mode
1359
1360         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1361         (startJavaScriptThreads): Don't detach the newly created thread.  The later call to stopJavaScriptThreads() tries
1362           to pthread_join() each thread that had been created, but you can't join a detached thread!
1363
1364 2008-02-18  Brady Eidson  <beidson@apple.com>
1365
1366         Changes by Geoff Garen, Reviewed by Darin
1367
1368         Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
1369
1370         DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
1371
1372         [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
1373         This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread.  If the lock has leaked,
1374         this series of method calls will deadlock.  If things are good, it will complete successfully.
1375
1376         * DumpRenderTree/mac/ObjCController.m:
1377         (runJavaScriptThread):
1378         (+[ObjCController isSelectorExcludedFromWebScript:]):
1379         (+[ObjCController webScriptNameForSelector:]):
1380         (-[ObjCController testValueForKey]):
1381
1382 2008-02-18  Matt Lilek  <webkit@mattlilek.com>
1383
1384         Reviewed by Adam.
1385
1386         Remove FindSafari's Release configuration.
1387
1388         * FindSafari/FindSafari.vcproj:
1389
1390 2008-02-15  Adam Roben  <aroben@apple.com>
1391
1392         Fix a typo that broke the Mac build
1393
1394         Reviewed by Mark.
1395
1396         * Scripts/build-webkit:
1397
1398 2008-02-14  Adam Roben  <aroben@apple.com>
1399
1400         Turn on cross-document messaging support by default
1401
1402         Reviewed by Darin.
1403
1404         * Scripts/build-webkit:
1405
1406 2008-02-14  Adam Roben  <aroben@apple.com>
1407
1408         Conditionalize cross-document messaging support
1409
1410         The cross-document messaging parts of HTML 5 are in flux and we want
1411         ports to be able to turn off the support as needed.
1412
1413         Note that the support is turned off by default right now. A subsequent
1414         commit will turn it on by default.
1415
1416         Reviewed by Darin.
1417
1418         * Scripts/build-webkit:
1419
1420 2008-02-14  Darin Adler  <darin@apple.com>
1421
1422        - fix Windows build
1423
1424         * DumpRenderTree/win/UIDelegate.cpp:
1425         (UIDelegate::setStatusText): Update parameter types to match declaration.
1426
1427 2008-02-14  Oliver Hunt  <oliver@apple.com>
1428
1429         Reviewed by Geoff G and Weinig.
1430
1431         Add ability for DRT to report tests setting the status text.
1432
1433         * DumpRenderTree/LayoutTestController.cpp:
1434         (LayoutTestController::LayoutTestController):
1435         (dumpStatusCallbacksCallback):
1436         (LayoutTestController::staticFunctions):
1437         * DumpRenderTree/LayoutTestController.h:
1438         * DumpRenderTree/mac/UIDelegate.mm:
1439         (-[UIDelegate webView:setStatusText:]):
1440         * DumpRenderTree/win/UIDelegate.cpp:
1441         * DumpRenderTree/win/UIDelegate.h:
1442
1443 2008-02-13  Adam Roben  <aroben@apple.com>
1444
1445         Windows build fix
1446
1447         * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
1448
1449 2008-02-13  Adam Roben  <aroben@apple.com>
1450
1451         Windows/GTK+ build fix
1452
1453         * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
1454         get isnan.
1455
1456 2008-02-13  Brady Eidson  <beidson@apple.com>
1457
1458         Reviewed by Darin Adler
1459
1460         Add some much needed Database support to DRT
1461
1462         * DumpRenderTree/LayoutTestController.cpp:
1463         (LayoutTestController::LayoutTestController):
1464         (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
1465           databases are called
1466         (clearAllDatabasesCallback): Allow a test to delete all databases
1467         (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
1468         (LayoutTestController::staticFunctions):
1469
1470         * DumpRenderTree/LayoutTestController.h:
1471         (LayoutTestController::dumpDatabaseCallbacks):
1472         (LayoutTestController::setDumpDatabaseCallbacks):
1473
1474         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1475         (LayoutTestController::clearAllDatabases):
1476         (LayoutTestController::setDatabaseQuota):
1477
1478         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1479         (LayoutTestController::clearAllDatabases): Stubbed out
1480         (LayoutTestController::setDatabaseQuota): Ditto
1481         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1482         (LayoutTestController::clearAllDatabases): Stubbed out with error message
1483         (LayoutTestController::setDatabaseQuota): Ditto
1484
1485         * DumpRenderTree/mac/UIDelegate.mm:
1486         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
1487           message with details about the event then return a 5mb quota like before
1488
1489
1490 2008-02-12  Steve Falkenburg  <sfalken@apple.com>
1491
1492         Changes to support merged MIDL output.
1493
1494         All COM interfaces are now generated to WebKit.h.
1495
1496         Reviewed by Sam, Ada.
1497
1498         * Drosera/win/BaseDelegate.h:
1499         * Drosera/win/DebuggerClient.cpp:
1500         * Drosera/win/DebuggerDocumentPlatform.cpp:
1501         * Drosera/win/Drosera.cpp:
1502         * Drosera/win/ServerConnection.cpp:
1503         * Drosera/win/ServerConnection.h:
1504         * DumpRenderTree/win/DumpRenderTree.cpp:
1505         * DumpRenderTree/win/EditingDelegate.h:
1506         * DumpRenderTree/win/EventSender.cpp:
1507         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1508         * DumpRenderTree/win/FrameLoadDelegate.h:
1509         * DumpRenderTree/win/GCControllerWin.cpp:
1510         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1511         * DumpRenderTree/win/PolicyDelegate.h:
1512         * DumpRenderTree/win/ResourceLoadDelegate.h:
1513         * DumpRenderTree/win/UIDelegate.cpp:
1514         * DumpRenderTree/win/UIDelegate.h:
1515         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1516
1517 2008-02-10  Dan Bernstein  <mitz@apple.com>
1518
1519         Reviewed by Oliver Hunt.
1520
1521         - fix a memory leak
1522
1523         * DumpRenderTree/cg/ImageDiffCG.cpp:
1524         (getDifferenceBitmap): Use a static CFMutableData instead of allocating
1525         and leaking the buffer each time.
1526
1527 2008-02-07  Adam Roben  <aroben@apple.com>
1528
1529         Fix error in bisect-builds when responding "broken" for the first
1530         build
1531
1532         Reviewed by Dave Kilzer.
1533
1534         * Scripts/bisect-builds: Only try to test the build if the nightly
1535         info for the current index has not been deleted.
1536
1537 2008-02-07  Geoffrey Garen  <ggaren@apple.com>
1538
1539         Reviewed by Alexey Proskuryakov.
1540
1541         Fixed two minor typos in the --root option, to get it working.
1542
1543         * Scripts/run-sunspider:
1544             1. Actually assign the function argument to our local variable.
1545             2. Actually set the $root variable, so we don't try to build later.
1546
1547 2008-02-05  Oliver Hunt  <oliver@apple.com>
1548
1549         RS=Eric.
1550
1551         Re-enable foreignObject by default as it is needed for a number of non-fO
1552         related SVG tests and none of the old known crashes occur anymore.
1553
1554         * Scripts/build-webkit:
1555
1556 2008-02-05  Steve Falkenburg  <sfalken@apple.com>
1557
1558         Build fix.  Don't override intermediate directory.
1559
1560         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1561
1562 2008-02-05  Holger Hans Peter Freyther  <zecke@selfish.org>
1563
1564         Build fix for Windows. willCloseFrame is a pure virtual and we are
1565         forced to have an implementation.
1566         
1567         This partially reverts r30014.
1568
1569         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1570         (FrameLoadDelegate::willCloseFrame):
1571         * DumpRenderTree/win/FrameLoadDelegate.h:
1572
1573 2008-02-05  Nikolas Zimmermann  <zimmermann@kde.org>
1574
1575         Reviewed by Holger.
1576
1577         Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
1578
1579         * Scripts/make-js-test-wrappers:
1580
1581 2008-02-05  Holger Freyther  <zecke@selfish.org>
1582
1583         Reviewed by Darin.
1584
1585         In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
1586         the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
1587         depends on the order the tests are executed.
1588         
1589         Propose to remove willCloseFrame and didlCearWindowObject output from the
1590         FrameLoadDelegate and update the test results. The output of didClearWindowObject
1591         is not interesting for any of the current tests and we have other ways to find
1592         out if a frame was closed or not.
1593
1594         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1595         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1596         (FrameLoadDelegate::didClearWindowObject):
1597         * DumpRenderTree/win/FrameLoadDelegate.h:
1598
1599 2008-02-04  Mark Rowe  <mrowe@apple.com>
1600
1601         Reviewed by Oliver Hunt.
1602
1603         Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
1604         Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
1605
1606         Don't install the signal handler unless we are running the pixel tests.
1607         It is currently only used to restore the color profile, but by catching
1608         signals we can trigger a deadlock in DRT while running leak tests.
1609         The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
1610         and a more complete fix will need to be developed to address this for
1611         pixel tests as well.
1612
1613         * DumpRenderTree/mac/DumpRenderTree.mm:
1614         (dumpRenderTree):
1615
1616 2008-02-04  Mark Rowe  <mrowe@apple.com>
1617
1618        Gtk qmake build fix.
1619
1620         * Scripts/webkitdirs.pm:  Fix perl's complaint about an odd number of elements in anonymous hash.
1621
1622 2008-02-04  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1623
1624         Reviewed by Alp Toker and Mark Rowe.
1625
1626         http://bugs.webkit.org/show_bug.cgi?id=16618
1627         [GTK] build-webkit and run-webkit-tests autootools support
1628
1629         * Scripts/build-webkit: added --database and --icon-database options
1630         * Scripts/run-launcher:
1631         * Scripts/run-webkit-tests:
1632         * Scripts/webkitdirs.pm:
1633
1634 2008-02-04  Oliver Hunt  <oliver@apple.com>
1635
1636         Reviewed by Steve F.
1637
1638         Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
1639
1640         Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
1641         Issues include:
1642           * Uses Sleep() to implement leapForward reliably.
1643           * 3 DND tests still fail for reasons that i have not yet determined
1644           * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain 
1645
1646         * DumpRenderTree/win/EventSender.cpp:
1647         (leapForwardCallback):
1648         (mouseDownCallback):
1649         (doMouseUp):
1650         (mouseUpCallback):
1651         (doMouseMove):
1652         (mouseMoveToCallback):
1653           Minor updates to these functions to handle the different message queue structure.
1654
1655         (replaySavedEvents):
1656           More complicated now.  Where possible we just use the old while-loop model of execution,
1657           but when leapForward has been used we have to jump through some hoops and set up an 
1658           inner event loop so that we can ensure messages get the correct time stamp.
1659
1660         * DumpRenderTree/win/UIDelegate.cpp:
1661         (UIDelegate::doDragDrop):
1662           Call replaySavedEvents directly to force synchronous handling of drag and drop.
1663
1664 2008-02-04  Rodney Dawes  <dobey@wayofthemonkey.com>
1665
1666         Reviewed by Alp Toker and Mark Rowe.
1667
1668         Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
1669         Bug 17175: Use of C++ compiler flags in CFLAGS
1670
1671         * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
1672
1673 2008-02-04  Darin Adler  <darin@apple.com>
1674
1675         Reviewed by Geoff.
1676
1677         * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
1678         and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
1679         subdirectory.
1680
1681 2008-02-04  Adam Roben  <aroben@apple.com>
1682
1683         Windows Apple-only build fix
1684
1685         * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
1686         directory.
1687
1688 2008-02-04  Alp Toker  <alp@atoker.com>
1689
1690         Rubber-stamped by Mark Rowe.
1691
1692         Remove all trailing whitespace in the GTK+ port and related
1693         components.
1694
1695         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1696         * DumpRenderTree/gtk/GCControllerGtk.cpp:
1697         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1698         * GNUmakefile.am:
1699
1700 2008-02-01  Eric Seidel  <eric@webkit.org>
1701
1702         Reviewed by Oliver.
1703
1704         Also search LayoutTests/svg for js-based tests.
1705
1706         * Scripts/make-js-test-wrappers:
1707
1708 2008-01-31  Alp Toker  <alp@atoker.com>
1709
1710         Rubber-stamped by Adam Roben.
1711
1712         http://bugs.webkit.org/show_bug.cgi?id=17006
1713         [GTK] Header path should be webkit/webkit.h
1714
1715         Move the GTK+ API sources as needed and update the build systems.
1716
1717         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1718         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1719         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1720         * GNUmakefile.am:
1721         * GtkLauncher/main.c:
1722
1723 2008-01-30  Stephanie  <slewis@apple.com>
1724
1725         Reviewed by Geoff.
1726
1727         Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth.  This should make it easier for the buildbots to track new leaks.
1728
1729         * Scripts/run-webkit-tests:
1730
1731 2008-01-30  Alexey Proskuryakov  <ap@webkit.org>
1732
1733         Reviewed by Adam Roben.
1734
1735         One more debug (external) fix.
1736
1737         * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
1738         and Debug configurations. 
1739
1740 2008-01-29  Geoffrey Garen  <ggaren@apple.com>
1741
1742         Reviewed by Sam Weinig. Sam Weinig.
1743         
1744         Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
1745         fails when run after fast/dom/Window/window-property-shadowing.html (16902)
1746
1747         Modified our policy delegates not to output window.name. Since a
1748         previous test may have explicitly set window.name, we can't rely on its
1749         implicit value in test results.
1750
1751         * DumpRenderTree/mac/PolicyDelegate.mm:
1752         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1753
1754         * DumpRenderTree/win/PolicyDelegate.cpp:
1755         (PolicyDelegate::decidePolicyForNavigationAction):
1756
1757 2008-01-29  Mark Rowe  <mrowe@apple.com>
1758
1759         Reviewed by Tim Hatcher.
1760
1761         <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
1762
1763         * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
1764
1765 2008-01-29  David Kilzer  <ddkilzer@apple.com>
1766
1767         Refactor ChangeLog path code
1768
1769         Reviewed by Adam.
1770
1771         * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
1772         duplicate code in another foreach() loop.
1773
1774 2008-01-29  Alexey Proskuryakov  <ap@webkit.org>
1775
1776         Reviewed by Darin.
1777
1778         <rdar://problem/5710692> All storage tests fail/crash
1779
1780         * DumpRenderTree/mac/UIDelegate.mm:
1781         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
1782         arbitrary quota of 5 megabytes.
1783
1784         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1785         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1786         Removed unused (I think) code.
1787         
1788         * DumpRenderTree/win/UIDelegate.cpp:
1789         (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
1790         (UIDelegate::webViewPainted): A stub implementation.
1791         (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
1792         * DumpRenderTree/win/UIDelegate.h:
1793
1794 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1795
1796         GTK+ DRT build fix for breakage introduced in r29822.
1797
1798         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1799         (LayoutTestController::setPersistentUserStyleSheetLocation):
1800         (LayoutTestController::clearPersistentUserStyleSheet):
1801
1802 2008-01-27  Dan Bernstein  <mitz@apple.com>
1803
1804         Reviewed by Darin Adler.
1805
1806         - add support for directory prologues and epilogues to run-webkit-tests
1807         - allow setting a persistent user style sheet in DumpRenderTree
1808         - activate the WebKit Layout Tests font in Windows DumpRenderTree
1809
1810         * DumpRenderTree/LayoutTestController.cpp:
1811         (clearPersistentUserStyleSheetCallback): Added.
1812         (setPersistentUserStyleSheetLocationCallback): Added.
1813         (LayoutTestController::staticFunctions): Added.
1814         clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
1815         * DumpRenderTree/LayoutTestController.h:
1816         * DumpRenderTree/mac/DumpRenderTree.mm:
1817         (setPersistentUserStyleSheetLocation): Added.
1818         (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
1819         to the set of things this function resets. Now it either disables the
1820         user style sheet or sets it to the persistent user style sheet and
1821         enables it.
1822         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1823         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1824         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
1825         (LayoutTestController::clearPersistentUserStyleSheet): Added.
1826         * DumpRenderTree/win/DumpRenderTree.cpp:
1827         (setPersistentUserStyleSheetLocation): Added.
1828         (initialize): Added the WebKit Layout Tests font to the set of fonts to
1829         install.
1830         (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
1831         * DumpRenderTree/win/DumpRenderTreeWin.h:
1832         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1833         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
1834         (LayoutTestController::clearPersistentUserStyleSheet): Added.
1835         * Scripts/run-webkit-tests: Changed to look for, and if found process in
1836         DumpRenderTree, files named run-webkit-tests-prologue.html and
1837         run-webkit-tests-epilogue.html in the resources subdirectory of any
1838         test directory and platform test results directory. The prologues are
1839         processed before the first test from the directory (and its
1840         subdirectories) is run, and the epilogues are processed after the last
1841         test from the directory is run. Platform-specific prologues and
1842         epilogues are processed in order of specificity.
1843
1844 2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
1845
1846         Reviewed by Mark Rowe.
1847
1848         <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
1849
1850         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
1851         (matching Mac DRT).
1852         * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
1853
1854 2008-01-24  Sam Weinig  <sam@webkit.org>
1855
1856         Reviewed by Ada Chan.
1857
1858         Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
1859
1860         - Adds simplified UndoManager to windows DRT to allow testing the
1861           undo/redo code paths in WebCore and WebKit.  This is a temporary
1862           solution to an issue that should eventually be solved by having a
1863           shared UndoManager in WebKit.
1864
1865         * DumpRenderTree/win/DumpRenderTree.cpp:
1866         (runTest):
1867         * DumpRenderTree/win/UIDelegate.cpp:
1868         (DRTUndoObject::DRTUndoObject):
1869         (DRTUndoObject::invoke):
1870         (DRTUndoStack::~DRTUndoStack):
1871         (DRTUndoStack::isEmpty):
1872         (DRTUndoStack::clear):
1873         (DRTUndoStack::push):
1874         (DRTUndoStack::pop):
1875         (DRTUndoManager::canRedo):
1876         (DRTUndoManager::canUndo):
1877         (DRTUndoManager::DRTUndoManager):
1878         (DRTUndoManager::removeAllActions):
1879         (DRTUndoManager::registerUndoWithTarget):
1880         (DRTUndoManager::redo):
1881         (DRTUndoManager::undo):
1882         (UIDelegate::UIDelegate):
1883         (UIDelegate::resetUndoManager):
1884         (UIDelegate::registerUndoWithTarget):
1885         (UIDelegate::removeAllActionsWithTarget):
1886         (UIDelegate::setActionTitle):
1887         (UIDelegate::undo):
1888         (UIDelegate::redo):
1889         (UIDelegate::canUndo):
1890         (UIDelegate::canRedo):
1891         * DumpRenderTree/win/UIDelegate.h:
1892
1893 2008-01-23  Adam Roben  <aroben@apple.com>
1894
1895         Allow directories containing ChangeLogs to be passed to
1896         resolve-ChangeLogs
1897
1898         Reviewed by David Kilzer.
1899
1900         * Scripts/resolve-ChangeLogs:
1901         (sub findChangeLog): Return a ChangeLog contained within the specified
1902         directory if one exists.
1903
1904 2008-01-23  Steve Falkenburg  <sfalken@apple.com>
1905
1906         <rdar://problem/5698732> Copyright strings should include 2008
1907
1908         Reviewed by Sam.
1909
1910         * Drosera/win/Drosera.vcproj/Drosera.rc:
1911         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
1912
1913 2008-01-23  Alp Toker  <alp@atoker.com>
1914
1915         Rubber-stamped by Mark Rowe.
1916
1917         Remove whitespace after -I in automake include lists.
1918
1919         * GNUmakefile.am:
1920
1921 2008-01-23  Michael Goddard <michael.goddard@trolltech.com>
1922
1923         Reviewed by Lars Knoll <lars@trolltech.com>.
1924
1925         Reworked the JavaScriptCore Qt bindings:
1926         
1927         * Update JS DRT controller for Qt JS binding changes.
1928         There were two functions that needed some changes
1929         so that the layout tests would work, so this makes
1930         a few tests pass again.
1931         
1932         * Bump the timeout for layout tests up to 11s.
1933         At least some tests have an internal timeout of
1934         10 seconds, so make the waitUntilDone approach
1935         wait at least 11s.  fast/dom/open-and-close-by-DOM.html
1936         is one of these - now the failure message is more
1937         accurate.
1938         
1939
1940         * DumpRenderTree/qt/jsobjects.cpp:
1941         (LayoutTestController::waitUntilDone):
1942         * DumpRenderTree/qt/jsobjects.h:
1943
1944 2008-01-22  Anders Carlsson  <andersca@apple.com>
1945
1946         Reviewed by Darin and Adam.
1947
1948         <rdar://problem/5688975>
1949         div element on microsoft site has wrong left offset.
1950         
1951         Add new method for testing the return vale of NPN_GetProperty.
1952         
1953         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1954         (pluginInvoke):
1955
1956 2008-01-22  Alexey Proskuryakov  <ap@webkit.org>
1957
1958         Reviewed by Adam Roben.
1959
1960         <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
1961
1962         * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
1963
1964 2008-01-21  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1965
1966         Reviewed by Alp Toker.
1967
1968         http://bugs.webkit.org/show_bug.cgi?id=16955
1969         Get errors when cross-compile webkit-gtk
1970
1971         * GNUmakefile.am: Removed ICU_CFLAGS 
1972
1973 2008-01-21  Darin Adler  <darin@apple.com>
1974
1975         Reviewed by Mitz and Adam.
1976
1977         * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
1978         sorting speed by doing all sort criteria in a single pass instead of three sorts.
1979
1980 2008-01-21  Simon Hausmann  <hausmann@webkit.org>
1981
1982         Reviewed by Holger.
1983
1984         Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
1985         
1986         * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
1987         * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
1988         and make the return value depend on whether we successfully determined a focusable
1989         node or not.
1990         * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
1991         if we could not handle the focus chain ourselves.
1992         * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
1993         * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
1994         used to control the situation of stepping out of the focus chain inside the page.
1995         * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
1996         The layout tests expect this to be disabled but for the user it seems sensible to have it
1997         on by default, hence the default in qwebsettings.cpp
1998         
1999
2000         * DumpRenderTree/qt/DumpRenderTree.cpp:
2001         (WebCore::WebPage::WebPage):
2002
2003 2008-01-19  Mark Rowe  <mrowe@apple.com>
2004
2005         Reviewed by Alp Toker.
2006
2007         Allow the --http flag to run-webkit-tests to override
2008         the default behaviour of disabling HTTP tests for Qt,
2009         Gtk and Wx.
2010
2011         * Scripts/run-webkit-tests:
2012
2013 2008-01-19  David Kilzer  <ddkilzer@apple.com>
2014
2015         <rdar://problem/5695344> check-for-global-initializers script never checks any object files
2016
2017         Reviewed by Darin.
2018
2019         We now touch a check-for-global-initializers.timestamp file in
2020         the TARGET_TEMP_DIR directory to determine when new object files
2021         have been compiled and thus need to be checked.  If the timestamp
2022         file doesn't exist, all object files will be checked.
2023
2024         Previously the modification time of the "executable" (the
2025         framework binary, e.g., WebKit.framework/WebKit) was used, but
2026         since this was the last file modified at the end of the compile
2027         phase, no object files would ever get checked!
2028
2029         Also added JSCustomSQLTransactionCallback.o to the list of files
2030         since it has static initializers in Debug builds of WebCore.
2031
2032         * Scripts/check-for-global-initializers:
2033
2034 2008-01-18  Adam Roben  <aroben@apple.com>
2035
2036         Build fix
2037
2038         * Scripts/build-webkit:
2039
2040 2008-01-18  Beth Dakin  <bdakin@apple.com>
2041
2042         Reviewed by Oliver.
2043
2044         Update build-webkit to account for foreign-object being disabled by 
2045         default.
2046
2047         * Scripts/build-webkit:
2048
2049 2008-01-18  Adam Roben  <aroben@apple.com>
2050
2051         Updated for method renames
2052
2053         Reviewed by Adele.
2054
2055         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2056         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2057         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2058         (LayoutTestController::setMainFrameIsFirstResponder):
2059         (LayoutTestController::setWindowIsKey):
2060         * DumpRenderTree/mac/UIDelegate.mm:
2061         (-[UIDelegate webViewFocus:]):
2062         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2063         (FrameLoadDelegate::didCommitLoadForFrame):
2064
2065 2008-01-18  Alexey Proskuryakov  <ap@webkit.org>
2066
2067         Reviewed by Adam Roben.
2068
2069         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
2070         between DRT and TestNetscapePlugin.
2071
2072         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
2073         * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
2074
2075 2008-01-18  Simon Hausmann  <hausmann@webkit.org>
2076
2077         Reviewed by Holger.
2078
2079         Fix fast/dom/Window/window-resize.html
2080         
2081         In DRT connect the page's geometryChangeRequest signal to a slot that
2082         sets the geometry of the view widget.
2083         
2084
2085         * DumpRenderTree/qt/DumpRenderTree.cpp:
2086         (WebCore::WebPage::setViewGeometry):
2087         (WebCore::WebPage::WebPage):
2088
2089 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2090
2091         Build fix.
2092
2093         * Drosera/DroseraWin.make:
2094
2095 2008-01-17  Darin Adler  <darin@apple.com>
2096
2097         * Scripts/run-webkit-tests: Fixed a bug number.
2098
2099 2008-01-17  Alexey Proskuryakov  <ap@webkit.org>
2100
2101         Reviewed by Adam Roben.
2102
2103         http://bugs.webkit.org/show_bug.cgi?id=16908
2104         run-webkit-tests complains about missing FindSafari.exe
2105
2106         * Scripts/webkitdirs.pm: Append _debug as appropriate.
2107
2108 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2109
2110         Re-add DEBUG_WEBKIT_HAS_SUFFIX.
2111         
2112         Rubber-stamped by Jon Honeycutt.
2113
2114         * DumpRenderTree/win/DumpRenderTree.vcproj:
2115
2116 2008-01-16  Alp Toker  <alp@atoker.com>
2117
2118         Reviewed by Mark Rowe.
2119
2120         http://bugs.webkit.org/show_bug.cgi?id=16218
2121         [GTK] API: Should this entry point be called go_back rather than go_backward?
2122
2123         Track back/forward API changes in the tools.
2124
2125         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2126         (BackForwardItem::invoke):
2127         * GtkLauncher/main.c:
2128         (go_back_cb):
2129
2130 2008-01-16  Adam Roben  <aroben@apple.com>
2131
2132         Windows build fix after r29488
2133
2134         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2135         Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
2136         expects to find the plugin.
2137
2138 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2139
2140         Reviewed by Sam Weinig.
2141         
2142         Fixed the waitUntilDone watchdog timer -- the old code never added the
2143         timer to the run loop, so it didn't do anything.
2144
2145         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2146         (LayoutTestController::setWaitToDump):
2147         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2148         (LayoutTestController::setWaitToDump):
2149
2150 2008-01-14  Steve Falkenburg  <sfalken@apple.com>
2151
2152         Use shared vsprops for most vcproj properties.
2153         
2154         Reviewed by Darin.
2155
2156         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2157         * DumpRenderTree/win/DumpRenderTree.vcproj:
2158         * DumpRenderTree/win/ImageDiff.vcproj:
2159         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2160         * FindSafari/FindSafari.vcproj:
2161
2162 2008-01-14  Stephanie  <slewis@apple.com>
2163
2164        Reviewed by NOBODY.
2165   
2166        revert accidental character.
2167
2168        * Scripts/run-webkit-tests:
2169
2170 2008-01-14  Stephanie  <slewis@apple.com>
2171
2172         RS=Oliver
2173
2174         add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
2175
2176         * Scripts/run-webkit-tests:
2177
2178 2008-01-14  Darin Adler  <darin@apple.com>
2179
2180         * Scripts/do-webcore-rename: Queue up another rename.
2181
2182 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2183
2184         Reviewed by Darin.
2185
2186         * Allow to run the tests in reverse order to spot test cases where the result depends on the order
2187         the tests were ran.
2188         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2189
2190         * Scripts/run-webkit-tests:
2191
2192 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2193
2194         Reviewed by Darin.
2195
2196         * Randomize tests array to spot test cases where the results depends on the order
2197         the tests are ran.
2198         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2199
2200         * Scripts/run-webkit-tests:
2201
2202 2008-01-14  Darin Adler  <darin@apple.com>
2203
2204         * Scripts/run-webkit-tests: More ignore list tweaking.
2205
2206 2008-01-14  Darin Adler  <darin@apple.com>
2207
2208         * Scripts/run-webkit-tests: Add another leak to the ignore list.
2209
2210 2008-01-14  Dan Bernstein  <mitz@apple.com>
2211
2212         Reviewed by Adam Roben.
2213
2214         - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
2215           build bots
2216
2217         * DumpRenderTree/win/DumpRenderTree.cpp:
2218         (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
2219
2220 2008-01-13  Steve Falkenburg  <sfalken@apple.com>
2221
2222         Share common files across projects.
2223         
2224         Unify vsprops files
2225         Debug:          common.vsprops, debug.vsprops
2226         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
2227         Release:        common.vsprops, release.vsprops
2228         
2229         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
2230         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
2231
2232         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
2233
2234         Reviewed by Adam Roben.
2235
2236         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2237         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
2238         * Drosera/win/Drosera.vcproj/VERSION: Removed.
2239         * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
2240         * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
2241         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
2242         * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
2243         * DumpRenderTree/win/DumpRenderTree.vcproj:
2244         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2245         * DumpRenderTree/win/debug.vsprops: Removed.
2246         * DumpRenderTree/win/debug_internal.vsprops: Removed.
2247         * DumpRenderTree/win/release.vsprops: Removed.
2248
2249 2008-01-13  Brent Fulgham  <bfulgham@gmail.com>
2250
2251         Reviewed by Maciej.
2252
2253         - http://bugs.webkit.org/show_bug.cgi?id=16314
2254           Script to launch Drosera
2255
2256         * Scripts/gdb-drosera: Added.
2257         * Scripts/run-drosera: Added.
2258         * Scripts/run-drosera-nightly.cmd: Added.
2259         * Scripts/webkitdirs.pm: Added runDrosera function.
2260
2261 2008-01-13  Dan Bernstein  <mitz@apple.com>
2262
2263         - fix breakage due to last-minute change
2264
2265         * DumpRenderTree/win/DumpRenderTree.cpp:
2266         (runTest): Declare the loop variable.
2267
2268 2008-01-13  Dan Bernstein  <mitz@apple.com>
2269
2270         Reviewed by Adam Roben.
2271
2272         - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
2273
2274         * DumpRenderTree/win/DumpRenderTree.cpp:
2275         (DumpRenderTreeWndProc):
2276         (initialize):
2277         (dumpBackForwardList):
2278         (dumpBackForwardListForAllWindows):
2279         (dump):
2280         (resetWebViewToConsistentStateBeforeTesting): Factored out of
2281         runTest().
2282         (runTest):
2283         (allWindows): Added. Returns a vector of all open windows.
2284         (windowToWebViewMap): Added. Returns a map from open windows to their
2285         WebViews.
2286         (createWebViewAndOffscreenWindow): Factored out of main() to be
2287         reusable for creating extra windows.
2288         (main):
2289         * DumpRenderTree/win/DumpRenderTreeWin.h:
2290         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2291         (LayoutTestController::windowCount): Implemented.
2292         * DumpRenderTree/win/UIDelegate.cpp:
2293         (UIDelegate::createWebViewWithRequest): Implemented.
2294         (UIDelegate::webViewClose): Implemented.
2295         * DumpRenderTree/win/UIDelegate.h:
2296
2297 2008-01-12  Alp Toker  <alp@atoker.com>
2298
2299         Reviewed by Mark Rowe.
2300
2301         Hide non-public symbols in GTK+/autotools release builds.
2302
2303         * GNUmakefile.am:
2304
2305 2008-01-12  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2306
2307         Reviewed by Ap.
2308
2309         * Make launching of the WebKit httpd work on GNU/Debian/Linux
2310         
2311         The configuration of Apache2 and installation does not depend on
2312         the kernel but on the distribution policy. Make launching of httpd
2313         work for Debian derived distributions.
2314
2315         * Scripts/run-webkit-httpd:
2316         * Scripts/run-webkit-tests:
2317         * Scripts/webkitdirs.pm:
2318
2319 2008-01-12  Mark Rowe  <mrowe@apple.com>
2320
2321         Reviewed by Maciej Stachowiak.
2322
2323         Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
2324
2325         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
2326         match the callers expectations that it can take ownership of the string.
2327
2328 2008-01-11  Alexey Proskuryakov  <ap@webkit.org>
2329
2330         Reviewed by Adam Roben.
2331
2332         <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
2333
2334         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
2335         as these are only posted because the test window is not a normal visible one, and
2336         they confuse drag&drop machinery.
2337
2338 2008-01-11  Adam Roben  <aroben@apple.com>
2339
2340         Fix a crash when pathToLocalResource fails and a leak
2341
2342         Reviewed by Darin.
2343
2344         * DumpRenderTree/LayoutTestController.cpp:
2345         (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
2346         sure not to pass null to JSValueMakeString.
2347         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2348         (LayoutTestController::pathToLocalResource): Print an error message if
2349         the conversion fails so it's clear what happened.
2350
2351 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2352
2353         Reviewed by John Sullivan.
2354
2355         * DumpRenderTree/mac/GCControllerMac.mm:
2356         (GCController::collectOnAlternateThread): Updated for name change.
2357
2358 2008-01-10  Kevin Ollivier  <kevino@theolliviers.com>
2359
2360         wx build fix. Don't build dftables any longer since it's now a Perl
2361         script.
2362
2363         * wx/build-wxwebkit:
2364
2365 2008-01-10  Sam Weinig  <sam@webkit.org>
2366
2367         Reviewed by Anders Carlsson.
2368
2369         Make DRT track open windows instead of allocated windows so that
2370         we can avoid ASSERTION due to late deallocs out of our control.
2371
2372         * DumpRenderTree/mac/DumpRenderTree.mm:
2373         (dumpBackForwardListForAllWindows):
2374         (runTest):
2375         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2376         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2377         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2378         (+[DumpRenderTreeWindow openWindows]):
2379         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2380         (-[DumpRenderTreeWindow close]):
2381         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2382         (LayoutTestController::windowCount):
2383
2384 2008-01-10  Ada Chan  <adachan@apple.com>
2385
2386         Meta key is not the same as Alt key on windows.
2387
2388         Reviewed by Darin.
2389
2390         * DumpRenderTree/win/EventSender.cpp:
2391         (keyDownCallback):
2392
2393 2008-01-09  Kevin McCullough  <kmccullough@apple.com>
2394
2395         Reviewed by Darin, Sam and Adam.
2396
2397         -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
2398         link in gmail message displays JavaScript alert falsely complaining
2399         about pop-up blocking.
2400         - Added the ability to enable the pop-up blocker via the
2401         LayoutTestController.
2402
2403         * DumpRenderTree/LayoutTestController.cpp:
2404         (setPopupBlockingEnabledCallback):
2405         (LayoutTestController::staticFunctions):
2406         * DumpRenderTree/LayoutTestController.h:
2407         * DumpRenderTree/mac/DumpRenderTree.mm:
2408         (setDefaultsToConsistentValuesForTesting):
2409         (resetWebViewToConsistentStateBeforeTesting):
2410         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2411         (LayoutTestController::setPopupBlockingEnabled):
2412
2413 2008-01-10  Lars Knoll  <lars@trolltech.com>
2414
2415         Reviewed by Simon.
2416
2417         rename QWebPageHistory to QWebHistory.
2418         
2419
2420         * DumpRenderTree/qt/jsobjects.cpp:
2421
2422 2008-01-09  Maciej Stachowiak  <mjs@apple.com>
2423
2424         Reviewed by Darin.
2425         
2426         - add some more renames, adjust some
2427
2428         * Scripts/do-webcore-rename:
2429
2430 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
2431
2432         Reviewed by Oliver.
2433
2434         Enable SVG Fonts support by default.
2435
2436         * Scripts/build-webkit:
2437
2438 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
2439
2440         Reviewed by Adam.
2441
2442         Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
2443         DRT doesn't handle platform specific pixel test results correctly.
2444
2445         <test>-expected.txt files and <test>-expected.png files may now live
2446         in different directories (ie. a cross-platform <test>-expected.txt file
2447         and a platform-specific <test>-expected.png file).
2448
2449         * Scripts/run-webkit-tests:
2450
2451 2008-01-04  Kevin McCullough  <kmccullough@apple.com>
2452
2453         Reviewed by Darin.
2454
2455         - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
2456         DRT did not correctly handle printing the '\0' char.  Now it does.
2457
2458         * DumpRenderTree/win/DumpRenderTree.cpp:
2459         (dumpFramesAsText):
2460         (dump):
2461
2462 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
2463
2464         Reviewed by Lars.
2465
2466         Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
2467         
2468
2469         * DumpRenderTree/qt/main.cpp:
2470         * DumpRenderTree/qt/testplugin.cpp:
2471         * DumpRenderTree/qt/testplugin.h:
2472
2473 2008-01-05  Mark Rowe  <mrowe@apple.com>
2474
2475         Reviewed by Alp Toker.
2476
2477         Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
2478
2479         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2480         (processWork): Process pending work.
2481         (webViewLoadFinished): Schedule processing of pending work.
2482         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
2483
2484 2008-01-05  Darin Adler  <darin@apple.com>
2485
2486         * Scripts/do-webcore-rename: Some more renaming plans.
2487
2488 2008-01-04  Alice Liu  <alice.liu@apple.com>
2489
2490         Reviewed by Alexey and Darin.
2491
2492         Adding "home" and "end" to DRT's keydown since
2493         DOM key events can't handle keyIdentifiers at this point. 
2494
2495         * DumpRenderTree/mac/EventSendingController.mm:
2496         (-[EventSendingController keyDown:withModifiers:]):
2497         * DumpRenderTree/win/EventSender.cpp:
2498         (keyDownCallback):
2499
2500 2008-01-04  Lars Knoll  <lars@trolltech.com>
2501
2502         Reviewed by Simon.
2503
2504         fix DRT after the changes to QWebPage.
2505         
2506         The great thing is that we actually don't have
2507         any regressions from the QWebPage change :)
2508         
2509
2510         * DumpRenderTree/qt/DumpRenderTree.cpp:
2511         (WebCore::DumpRenderTree::DumpRenderTree):
2512
2513 2008-01-04  Lars Knoll  <lars@trolltech.com>
2514
2515         Reviewed by Simon.
2516
2517         make QWebPage a QObject and get things to compile.
2518         
2519         Nothing works currently though.
2520         
2521
2522         * DumpRenderTree/qt/DumpRenderTree.cpp:
2523         (WebCore::DumpRenderTree::DumpRenderTree):
2524
2525 2008-01-04  Lars Knoll  <lars@trolltech.com>
2526
2527         Reviewed by Simon.
2528
2529         take a QString as identifier in QWebFrame::addToJSWindowObject.
2530
2531         * DumpRenderTree/qt/DumpRenderTree.cpp:
2532         (WebCore::DumpRenderTree::initJSObjects):
2533
2534 2008-01-04  Alp Toker  <alp@atoker.com>
2535
2536         GTK+ DRT build fix for breakage introduced in r29149.
2537
2538         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2539         (LayoutTestController::execCommand):
2540
2541 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
2542
2543         Reviewed by Darin.
2544
2545         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
2546
2547         Added layoutTestController.execCommand to access editor commands that are not available
2548         via document.execCommand.
2549
2550         * DumpRenderTree/LayoutTestController.cpp:
2551         (execCommandCallback):
2552         (LayoutTestController::staticFunctions):
2553         * DumpRenderTree/LayoutTestController.h:
2554         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2555         (LayoutTestController::execCommand):
2556         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2557         (LayoutTestController::queueLoad):
2558         (LayoutTestController::execCommand):
2559
2560 2008-01-03  Alice Liu  <alice.liu@apple.com>
2561
2562         Reviewed by Darin, Mitz.
2563
2564         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
2565
2566         the clickcount should not increase if the last click was at a different location.  it's a new click.
2567
2568         * DumpRenderTree/mac/DumpRenderTree.mm:
2569         (runTest):
2570         * DumpRenderTree/mac/EventSendingController.h:
2571         * DumpRenderTree/mac/EventSendingController.mm:
2572         (-[EventSendingController mouseDown]):
2573         (-[EventSendingController mouseUp]):
2574
2575 2008-01-03  Darin Adler  <darin@apple.com>
2576
2577         Reviewed by Adam.
2578
2579         * Scripts/update-webkit: Make this work a little better for the people at Apple
2580         who have a directory named Internal.
2581
2582 2008-01-03  Adam Roben  <aroben@apple.com>
2583
2584         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
2585
2586         Rubberstamped by Mark.
2587
2588         * Scripts/update-webkit-auxiliary-libs:
2589
2590 2008-01-03  Adam Roben  <aroben@apple.com>
2591
2592         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
2593
2594         http://bugs.webkit.org/show_bug.cgi?id=15663
2595
2596         Added a fuzz factor into the Last-Modified comparison for downloading
2597         WebKitAuxiliaryLibrary.zip.
2598
2599         The zip file is served from a set of mirrors who give Last-Modified
2600         times that are off by 1-3 seconds from each other. This was causing
2601         the build bots to redownload WebKitAuxiliaryLibrary for every build,
2602         which would then cause all of WebCore to rebuild each time.
2603
2604         Reviewed by Mark.
2605
2606         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
2607         at least 30 seconds newer than the old one -- otherwise we assume that
2608         the difference in time is due to the mirrors being slightly offset
2609         from each other.
2610         (sub lastModifiedToUnixTime): Added.
2611
2612 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
2613
2614         Windows build fix.
2615
2616         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
2617
2618 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
2619
2620         Reviewed by Lars.
2621
2622         Moved QWebPage::open to QWebFrame::load and added setHtml.
2623         
2624
2625         * DumpRenderTree/qt/DumpRenderTree.cpp:
2626         (WebCore::DumpRenderTree::open):
2627
2628 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
2629
2630         Reviewed by Lars.
2631
2632         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
2633         
2634
2635         * DumpRenderTree/qt/DumpRenderTree.cpp:
2636         (WebCore::DumpRenderTree::DumpRenderTree):
2637
2638 2008-01-02  Sam Weinig  <sam@webkit.org>
2639
2640         * Scripts/do-webcore-rename: Yet more renaming ideas.
2641
2642 2008-01-02  Darin Adler  <darin@apple.com>
2643
2644         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
2645
2646 2008-01-02  Alice Liu  <alice.liu@apple.com>
2647
2648         Reviewed by Sam Weinig.
2649
2650         fixing assertion hit with editing/selection/move-begin-end.html
2651
2652         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
2653         * DumpRenderTree/win/DumpRenderTree.vcproj:
2654         * DumpRenderTree/win/EventSender.cpp:
2655         (keyDownCallback):
2656         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
2657
2658 2008-01-02  Darin Adler  <darin@apple.com>
2659
2660         * Scripts/do-webcore-rename: Some more name change plans.
2661
2662 2008-01-02  Alice Liu  <alice.liu@apple.com>
2663
2664         Reviewed by Maciej.
2665
2666         Added handling for page up and page down in EventSender
2667
2668         * DumpRenderTree/mac/EventSendingController.mm:
2669         (-[EventSendingController keyDown:withModifiers:]):
2670         * DumpRenderTree/win/EventSender.cpp:
2671         (keyDownCallback):
2672
2673 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
2674
2675         Reviewed by Darin.
2676
2677         Fix fast/events/arrow-keys-on-body.html for real.
2678
2679         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
2680
2681 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
2682
2683         Reviewed by Darin.
2684
2685         http://bugs.webkit.org/show_bug.cgi?id=16674
2686         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
2687
2688         * Scripts/run-launcher:
2689
2690 2007-12-31  Darin Adler  <darin@apple.com>
2691
2692         Suggested by Antti.
2693
2694         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
2695         we get it installed on the build bots.
2696
2697 2007-12-30  Eric Seidel  <eric@webkit.org>
2698
2699         Reviewed by Sam.
2700
2701         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
2702
2703 2007-12-29  Darin Adler  <darin@apple.com>
2704
2705         Reviewed by Oliver.
2706
2707         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
2708           leak bot shows createCStringFromNPVariant result leaking
2709
2710         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2711         (pluginInvoke): Added a missing free.
2712
2713 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2714
2715         Reviewed by Alp Toker.
2716
2717         http://bugs.webkit.org/show_bug.cgi?id=16390
2718         Use autotools or GNU make as the build system for the GTK port
2719
2720         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
2721         * GNUmakefile.am: Added.
2722
2723 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
2724
2725         Reviewed by Oliver.
2726
2727         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
2728
2729         * DumpRenderTree/win/EventSender.cpp:
2730         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
2731         of 1, even though WebKit currently ignores it.
2732
2733 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
2734
2735         wx buildbot fix. Update libpng dl script to the latest version.
2736
2737         * wx/install-unix-extras:
2738
2739 2007-12-22  Antti Koivisto  <antti@apple.com>
2740
2741         Fix a typo.
2742
2743         * Scripts/webkitdirs.pm:
2744
2745 2007-12-21  Sam Weinig  <sam@webkit.org>
2746
2747         Reviewed by Mark Rowe.
2748
2749         - Disable the back/forward cache using the new WebPreferences API
2750           instead of through the BackForwardList.  This makes us match what
2751           we do on Windows.
2752
2753         * DumpRenderTree/mac/DumpRenderTree.mm:
2754         (createWebViewAndOffscreenWindow):
2755         (setDefaultsToConsistentValuesForTesting):
2756
2757 2007-12-21  Dan Bernstein  <mitz@apple.com>
2758
2759         Reviewed by Mark Rowe.
2760
2761         - disable the back/forward cache in Windows DumpRenderTree. It is
2762           already disabled in Mac DumpRenderTree.
2763
2764         * DumpRenderTree/win/DumpRenderTree.cpp:
2765         (initializePreferences):
2766
2767 2007-12-13  Antti Koivisto  <antti@apple.com>
2768
2769         Reviewed by Darin and Steve.
2770         
2771         - check for QuickTime SDK on Windows.
2772         - build media support on Windows by default
2773
2774         * Scripts/build-webkit:
2775         * Scripts/webkitdirs.pm:
2776
2777 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
2778
2779         Build script fix for buildbot.
2780
2781         * wx/build-wxwebkit:
2782
2783 2007-12-20  Eric Seidel  <eric@webkit.org>
2784
2785         Reviewed by mjs.
2786
2787         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
2788
2789 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
2790
2791         Reviewed by Steve.
2792
2793         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
2794         WebKit.
2795
2796         - Drosera and Safari need to use the same ProgIDs in order for
2797         CoCreateInstance to work properly.  The most robust way to do this is
2798         for WebKit to dynamically publish those ProgIDs.
2799
2800         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
2801         (DebuggerClient::createWebViewWithRequest):
2802         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
2803         statics.
2804         (Drosera::initUI):
2805         (Drosera::attach):
2806         (Drosera::attemptToCreateServerConnection):
2807         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
2808         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
2809         make use of the published ProgIDs.
2810         (ServerConnection::attemptToCreateServerConnection):
2811
2812 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
2813
2814         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
2815         - Build bot and leak fix.
2816
2817         * DumpRenderTree/LayoutTestController.cpp:
2818         (pathToLocalResourceCallback):
2819
2820 2007-12-19  David Kilzer  <ddkilzer@apple.com>
2821
2822         Make svn-apply/svn-unapply work with patches from git-format-patch.
2823
2824         Reviewed by Darin.
2825
2826         * Scripts/svn-apply:
2827         (patch): If 'Index:' can't be found in the text passed in, print it
2828         out with a warning and return early.
2829         * Scripts/svn-unapply:
2830         (patch): Ditto.
2831
2832 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
2833
2834         Reviewed by Alp Toker.
2835
2836         Build related fixes.
2837
2838         * wx/build-wxwebkit:
2839         - Check to make sure the user is running a supported wx port
2840         - More robust checks for Cygwin
2841         - Only run install-unix-extras on Mac, it's not the right solution
2842           for Linux distros.
2843         - Remove outdated Linux instructions after successful build
2844         - Clean Bakefile-generated files during a clean operation
2845
2846 2007-12-18  Darin Adler  <darin@apple.com>
2847
2848         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
2849
2850 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
2851
2852         Add script to run Drosera as part of the nightly.
2853         
2854         Reviewed by Kevin M.
2855
2856         * Scripts/run-drosera.cmd: Added.
2857
2858 2007-12-18  Darin Adler  <darin@apple.com>
2859
2860         * Scripts/do-webcore-rename: Remove a stray K.
2861
2862 2007-12-18  Darin Adler  <darin@apple.com>
2863
2864         * Scripts/do-webcore-rename: Plan more renaming.
2865
2866 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
2867
2868         Reviewed by Alp Toker.
2869
2870         http://bugs.webkit.org/show_bug.cgi?id=16042
2871         [GTK] Eliminate webkit_init()
2872
2873         Moving webkit initialization to WebView class init.
2874
2875         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2876         (main):
2877         * GtkLauncher/main.c:
2878         (main):
2879
2880 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
2881
2882         Reviewed by Alp Toker.
2883
2884         http://bugs.webkit.org/show_bug.cgi?id=13542
2885         gdklauncher doesnt change URL in adress GTKEntry.
2886
2887         * GtkLauncher/main.c:
2888         (load_commit_cb): added
2889         (title_change_cb):
2890         (create_browser):
2891
2892 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
2893
2894         Reviewed by Adam Roben.
2895
2896         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
2897
2898         * FindSafari/FindSafari.cpp:
2899         (_tmain):
2900
2901 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
2902
2903         Reviewed by Adam Roben.
2904
2905         http://bugs.webkit.org/show_bug.cgi?id=16315
2906         FindSafari needs a path-only option.
2907
2908         * FindSafari/FindSafari.cpp:
2909         (_tmain):
2910
2911 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
2912
2913         Reviewed by Darin.
2914
2915         http://bugs.webkit.org/show_bug.cgi?id=16462
2916         REGRESSION: access keys broken on Windows
2917
2918         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
2919         if Alt is pressed.
2920
2921 2007-12-15  Sam Weinig  <sam@webkit.org>
2922
2923         Reviewed by Mark Rowe.
2924
2925         Fix urlSuitableForTestResult to correctly identify wstring::npos as
2926         the case when wstring.find doesn't find anything.
2927
2928         * DumpRenderTree/win/DumpRenderTree.cpp:
2929         (urlSuitableForTestResult):
2930
2931 2007-12-15  Alp Toker  <alp@atoker.com>
2932
2933         GTK+ DRT build fix for GLib < 2.14.
2934
2935         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2936         (LayoutTestController::setWaitToDump):
2937
2938 2007-12-05  Mark Rowe  <mrowe@apple.com>
2939
2940         Reviewed by Alp Toker.
2941
2942         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
2943         many layout tests from hanging while waiting on user responses to dialogs.
2944
2945         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2946         (invalidateAnyPreviousWaitToDumpWatchdog):
2947         (webViewScriptAlert):
2948         (webViewScriptPrompt):
2949         (webViewScriptConfirm):
2950         (main):
2951         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2952         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2953         (waitToDumpWatchdogFired):
2954         (LayoutTestController::setWaitToDump):
2955
2956 2007-12-05  Mark Rowe  <mrowe@apple.com>
2957
2958         Reviewed by Alp Toker.
2959
2960         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
2961
2962         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2963         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
2964         (dump):
2965         (runTest):
2966         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
2967         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
2968         work queue is empty.
2969         (webViewWindowObjectCleared): Set up window.layoutTestController.
2970         (webViewConsoleMessage): Match the console message format expected by the layout test results.
2971         (main): Hook up the new signals.
2972         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2973         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
2974         dumping multiple times.
2975         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
2976         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
2977
2978 2007-12-14  Anders Carlsson  <andersca@apple.com>
2979
2980         Reviewed by Brady.
2981
2982         Assert that a web frame that's loading a resource always has either a data source or 
2983         a provisional data source.
2984         
2985         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2986         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2987
2988 2007-12-14  Darin Adler  <darin@apple.com>
2989
2990         - fix mistake causing nearly all tests to fail on Windows
2991
2992         * DumpRenderTree/win/UIDelegate.cpp:
2993         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
2994         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
2995
2996         * DumpRenderTree/mac/UIDelegate.mm:
2997         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
2998         than passing the entire message.
2999
3000 2007-12-14  Darin Adler  <darin@apple.com>
3001
3002         - fix Tiger build
3003
3004         * DumpRenderTree/mac/UIDelegate.mm:
3005         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
3006         new-to-Leopard methods.
3007
3008 2007-12-14  Darin Adler  <darin@apple.com>
3009
3010         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
3011         since it now triggers unwanted icon loading. We only had it because we implemented "all"
3012         delegate methods here.
3013
3014 2007-12-14  Anders Carlsson  <andersca@apple.com>
3015
3016         Reviewed by Darin and Geoff.
3017
3018         <rdar://problem/5619295> 
3019         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
3020         
3021         Add property getting methods to the plug-in.
3022         
3023         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3024         (pluginInvoke):
3025
3026 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
3027
3028         Reviewed by Darin.
3029
3030         - Layout test fix for mac. When dumped to the console local file paths
3031         now only show the name of the resource not the whole path.  This is to
3032         make the results machine and OS independent.
3033
3034         * DumpRenderTree/mac/UIDelegate.mm:
3035         (-[UIDelegate webView:addMessageToConsole:]):
3036
3037 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
3038
3039         Reviewed by Adam.
3040
3041         - Layout tests fix.  We need a way to remove machine-dependent
3042         information from paths in layout test results. The UIDelegate now does
3043         this.
3044
3045         * DumpRenderTree/DumpRenderTree.h:
3046         * DumpRenderTree/win/DumpRenderTree.cpp:
3047         (urlSuitableForTestResult):
3048         * DumpRenderTree/win/DumpRenderTreeWin.h:
3049         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3050         * DumpRenderTree/win/UIDelegate.cpp:
3051         (UIDelegate::webViewAddMessageToConsole):
3052
3053 2007-12-13  Alp Toker  <alp@atoker.com>
3054
3055         Build fix for DRT breakage introduced in r28690.
3056
3057         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3058         (LayoutTestController::pathToLocalResource):
3059
3060 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
3061
3062         Reviewed by Alice and Sam.
3063
3064         - <rdar://5621435> Need a way to specify local resources (being loaded
3065         from HTTP tests) on Windows.
3066         - Implemented pathToLocalResource which exposes the functionality of
3067         converting a given unix path to the correct location on Windows.
3068
3069         * DumpRenderTree/LayoutTestController.cpp:
3070         (pathToLocalResourceCallback):
3071         (LayoutTestController::staticFunctions):
3072         * DumpRenderTree/LayoutTestController.h:
3073         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3074         (LayoutTestController::pathToLocalResource):
3075         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3076         (LayoutTestController::pathToLocalResource):
3077
3078 2007-12-12  Anders Carlsson  <andersca@apple.com>
3079
3080         Reviewed by Sam.
3081
3082         <rdar://problem/5132003>
3083         dumpResourceLoadCallbacks is not implemented in DRT on Windows.
3084
3085         * DumpRenderTree/win/DumpRenderTree.cpp:
3086         (main):
3087         Set the resource load delegate.
3088         
3089         * DumpRenderTree/win/DumpRenderTree.vcproj:
3090         
3091         * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
3092         * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
3093
3094 2007-12-12  Alexey Proskuryakov  <ap@webkit.org>
3095
3096         Reviewed by Adam Roben.
3097
3098         Fix conversion from double to LPARAM in dispatchMessage().
3099
3100         * DumpRenderTree/win/EventSender.cpp:
3101         (dispatchMessageCallback):
3102
3103 2007-12-11  Dan Bernstein  <mitz@apple.com>
3104
3105         Reviewed by Mark Rowe and Sam Weinig too!
3106
3107         - added Helvetica Oblique and Helvetica Bold Oblique to the list of
3108           fonts DumpRenderTree registers.
3109
3110         * DumpRenderTree/win/DumpRenderTree.cpp:
3111         (initialize):
3112
3113 2007-12-11  Brady Eidson  <beidson@apple.com>
3114
3115         Reviewed by Anders
3116
3117         Make DumpRenderTree on mac use its own path for Databases testing
3118
3119         * DumpRenderTree/mac/DumpRenderTree.mm:
3120         (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree 
3121           for future DRT-only use, then use it to construct the Databases path and set that default
3122
3123 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
3124
3125         Reviewed by Darin.
3126
3127         <rdar://problem/5535636>
3128         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
3129
3130         http://bugs.webkit.org/show_bug.cgi?id=13916
3131         JavaScript detects Tab as a character input on a textfield validation
3132
3133         * DumpRenderTree/mac/EventSendingController.mm:
3134         (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
3135         Dispatch a keyup to better match what happens when a key is physically pressed.
3136
3137         * DumpRenderTree/win/EventSender.cpp:
3138         (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
3139         returning from keyDown().
3140         (getConstantCallback): Fixed a couple copy/paste mistakes.
3141
3142 2007-12-07  Kevin McCullough  <kmccullough@apple.com>
3143
3144         Reviewed by Oliver.
3145
3146         - <rdar://5599845> Drosera: Does not show loal files in the file list
3147         on the left side.
3148
3149         * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
3150         * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
3151         so the open source community can build.
3152
3153 2007-12-10  Brady Eidson  <beidson@apple.com>
3154
3155         Rubberstamped by Sam Weinig
3156
3157         Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
3158
3159         * DumpRenderTree/mac/UIDelegate.mm:
3160         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
3161         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
3162
3163 2007-12-08  Oliver Hunt  <oliver@apple.com>
3164
3165         Reviewed by Sam W.
3166
3167         Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
3168         
3169         Fixes <rdar://problem/5620249> Must disable SVG animation
3170         <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
3171         
3172         In order to allow finer grained control over the set of SVG features
3173         this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
3174         distinct flags:
3175         ENABLE_SVG_ANIMATION
3176         ENABLE_SVG_FILTERS
3177         ENABLE_SVG_FONTS
3178         ENABLE_SVG_AS_IMAGE
3179         ENABLE_SVG_USE
3180         
3181         by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
3182         
3183         Script handles all the new build flags, and allows --svg-experimental
3184         to automatically enable all features.
3185
3186         * Scripts/build-webkit:
3187
3188 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3189
3190         Fix version parsing.
3191
3192         Rubber-stamped by Oliver.
3193
3194         * Drosera/win/Drosera.vcproj/auto-version.sh:
3195
3196 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3197
3198         Build modifications for Drosera.
3199
3200         Reviewed by Adam.
3201
3202         * Drosera/DroseraWin.make: Added.
3203         * Drosera/win/Drosera.vcproj/Drosera.rc:
3204         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3205         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
3206         * Drosera/win/Drosera.vcproj/VERSION: Added.
3207         * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
3208
3209 2007-12-06  Adam Roben  <aroben@apple.com>
3210
3211         Explicitly turn on the Mac font ascent hack on Windows
3212
3213         This keeps our font metrics matching those from Mac.
3214
3215         Reviewed by Hyatt.
3216
3217         * DumpRenderTree/win/DumpRenderTree.cpp:
3218         (main):
3219
3220 2007-12-06  Anders Carlsson  <andersca@apple.com>
3221
3222         Rename main.c to main.cpp here too.
3223         
3224         * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
3225
3226 2007-12-06  Sam Weinig  <sam@webkit.org>
3227
3228         Rubber stamped by Geoff.
3229
3230         * Scripts/do-webcore-rename: Don't rename kjs_css twice.
3231
3232 2007-12-06  Darin Adler  <darin@apple.com>
3233
3234         * Scripts/do-webcore-rename: Some more renaming plans.
3235
3236 2007-12-06  Anders Carlsson  <andersca@apple.com>
3237
3238         Restore implementation of testGetIntIdentifier that was accidentally
3239         removed somehow (possibly when I made PluginObject be a cpp file).
3240         
3241         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3242         (pluginInvoke):
3243
3244 2007-12-05  Anders Carlsson  <andersca@apple.com>
3245
3246         Make the entry points extern "C".
3247         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3248         
3249 2007-12-05  Anders Carlsson  <andersca@apple.com>
3250
3251         C++ warning fixes.
3252         
3253         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3254         (NPP_New):
3255         (NPP_Destroy):
3256         (NPP_SetWindow):
3257         (NPP_NewStream):
3258         (NPP_HandleEvent):
3259         (NPP_URLNotify):
3260         (NPP_GetValue):
3261
3262 2007-12-05  Anders Carlsson  <andersca@apple.com>
3263
3264         Add the .cpp files to the TestNetscapePlugIn target.
3265
3266         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3267
3268 2007-12-05  Anders Carlsson  <andersca@apple.com>
3269
3270         Reviewed by Geoff.
3271         
3272         Rename the TestNetscapePlugIn .c files to be .cpp.
3273
3274         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3275         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
3276         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
3277         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
3278         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
3279         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
3280         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
3281         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3282
3283 2007-12-05  Adam Roben  <aroben@apple.com>
3284
3285         Fix case of keypresses from the Windows implementation of eventSender.keyDown
3286
3287         This fixes several regression tests.
3288
3289         Reviewed by Alice.
3290
3291         * DumpRenderTree/win/EventSender.cpp:
3292         (keyDownCallback): Virtual keycodes for ASCII characters are always
3293         uppercase, so we need to check the case of the original character
3294         passed in to eventSender.keyDown.
3295
3296 2007-12-05  Adam Roben  <aroben@apple.com>
3297
3298         Learn from Tim's mistakes
3299
3300         * DumpRenderTree/win/DumpRenderTree.cpp:
3301         (runTest): Reset the authorAndUserStylesEnabled preference for each
3302         test.
3303
3304 2007-12-05  Alp Toker  <alp@atoker.com>
3305
3306         Reviewed by Mark Rowe.
3307
3308         Initialize GTK+ and WebKit so the tests can run.
3309
3310         Reorganize the headers a little.
3311
3312         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3313         (main):
3314
3315 2007-12-04  Anders Carlsson  <andersca@apple.com>
3316
3317         Remove IWebScriptScope include.
3318         
3319         * Drosera/win/DebuggerDocumentPlatform.cpp:
3320
3321 2007-12-04  Sam Weinig  <sam@webkit.org>
3322
3323         Rubber stamped by Mark Rowe.
3324
3325         Define CF as platform for mac and revert r28409
3326
3327         * DumpRenderTree/DumpRenderTree.h:
3328         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3329
3330 2007-12-04  Sam Weinig  <sam@webkit.org>
3331
3332         Define CF as platform for windows.
3333
3334         Reviewed by Adam Roben.
3335
3336         * DumpRenderTree/win/DumpRenderTreeWin.h:
3337
3338 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
3339
3340         Reviewed by Adam and Darin.
3341
3342         - Removed a needless BSTR cleanup.
3343
3344         * Drosera/win/DebuggerDocumentPlatform.cpp:
3345         (DebuggerDocument::getPlatformCurrentFunctionStack):
3346
3347 2007-11-27  Adam Roben  <aroben@apple.com>
3348
3349         Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
3350
3351         Reviewed by Maciej.
3352
3353         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3354         (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
3355
3356 2007-12-04  Alp Toker  <alp@atoker.com>
3357
3358         Prospective Win DRT build fix.
3359
3360         * DumpRenderTree/DumpRenderTree.h:
3361
3362 2007-12-04  Alp Toker  <alp@atoker.com>
3363
3364         Fix a clobbered copyright header.
3365
3366         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3367
3368 2007-12-04  Xan Lopez  <xan@gnome.org>
3369
3370         Reviewed by Alp Toker.
3371
3372         http://bugs.webkit.org/show_bug.cgi?id=15561
3373         GTK port needs DumpRenderTree implementation
3374
3375         Start work on the GTK+ DRT.
3376
3377         This does not work yet, and there are a few lingering style issues
3378         (nothing major) but this patch has been stuck in the bug tracker for
3379         too long already.
3380
3381         * DumpRenderTree/DumpRenderTree.h:
3382         * DumpRenderTree/gtk: Added.
3383         * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
3384         (autocorrectURL):
3385         (shouldLogFrameLoadDelegates):
3386         (dumpFrameScrollPosition):
3387         (displayWebView):
3388         (appendString):
3389         (dumpFramesAsText):
3390         (dumpRenderTreeAsText):
3391         (dump):
3392         (runTest):
3393         (main):
3394         * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
3395         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
3396         * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
3397         (GCController::collect):
3398         (GCController::collectOnAlternateThread):
3399         (GCController::getJSObjectCount):
3400         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
3401         (LayoutTestController::~LayoutTestController):
3402         (LayoutTestController::addDisallowedURL):
3403         (LayoutTestController::clearBackForwardList):
3404         (LayoutTestController::copyDecodedHostName):
3405         (LayoutTestController::copyEncodedHostName):
3406         (LayoutTestController::display):
3407         (LayoutTestController::keepWebHistory):
3408         (LayoutTestController::notifyDone):
3409         (LayoutTestController::queueBackNavigation):
3410         (LayoutTestController::queueForwardNavigation):
3411         (LayoutTestController::queueLoad):
3412         (LayoutTestController::queueReload):
3413         (LayoutTestController::queueScript):
3414         (LayoutTestController::setAcceptsEditing):
3415         (LayoutTestController::setCustomPolicyDelegate):
3416         (LayoutTestController::setMainFrameIsFirstResponder):
3417         (LayoutTestController::setTabKeyCyclesThroughElements):
3418         (LayoutTestController::setUseDashboardCompatibilityMode):
3419         (LayoutTestController::setUserStyleSheetEnabled):
3420         (LayoutTestController::setUserStyleSheetLocation):
3421         (LayoutTestController::setWindowIsKey):
3422         (LayoutTestController::setWaitToDump):
3423         (LayoutTestController::windowCount):
3424         (LayoutTestController::setPrivateBrowsingEnabled):
3425         (LayoutTestController::setAuthorAndUserStylesEnabled):
3426         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
3427         (JSStringCopyUTF8CString):
3428         (LoadItem::invoke):
3429         (ReloadItem::invoke):
3430         (ScriptItem::invoke):
3431         (BackForwardItem::invoke):
3432
3433 2007-12-03  Sam Weinig  <sam@webkit.org>
3434
3435         Move JavaScriptCore thread testing code to pthread specific directory
3436         and remove the dependance on CoreFoundation by using WTF::HashSet.
3437
3438         Reviewed by Geoff and Oliver.
3439
3440         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3441         * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
3442         * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
3443         * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
3444         * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
3445         * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
3446         * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
3447         * DumpRenderTree/pthreads: Added.
3448         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
3449         (javaScriptThreads):
3450         (runJavaScriptThread):
3451         (startJavaScriptThreads):
3452         (stopJavaScriptThreads):
3453
3454 2007-12-03  Andrew Bonventre  <andybons@google.com>
3455
3456         Reviewed by Darin Adler.
3457
3458         - fix http://bugs.webkit.org/show_bug.cgi?id=16267
3459         Symbol lookup menu broken in debugger view
3460
3461         * Drosera/debugger.js: Fixed javascript error where document property
3462         should have been used instead of contentDocument in switchFunction that
3463         was breaking the select symbol dropdown menu.  This is because
3464         window.frames will return a Window object and not a frame object like
3465         the author was originally expecting.
3466
3467 2007-12-03  Kevin McCullough  <kmccullough@apple.com>
3468
3469         Reviewed by Adam.
3470
3471         - <rdar://5618942> Drosera: Console window does not process everything
3472         correctly.
3473         - <rdar://5619005> Drosera: could be sped up by moving the 
3474         WebScriptScope stuff into the WebScriptCallFrame.
3475         - Now the console can correctly process objects and does not receive
3476         notifications from JavaScriptCore about the JavaScript in Drosera's
3477         own process.
3478
3479         * Drosera/win/DebuggerDocumentPlatform.cpp:
3480         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3481         (DebuggerDocument::platformValueForScopeVariableNamed):
3482
3483 2007-12-03  Stephanie  <slewis@apple.com>
3484
3485         Reviewed by Darin.
3486
3487         Check to see if we are building a debug root
3488
3489         * Scripts/check-for-global-initializers: 
3490
3491 2007-12-03  Dan Bernstein  <mitz@apple.com>
3492
3493         Reviewed by Darin Adler.
3494
3495         - added a testGetIntIdentifier() method to TestNetscapePlugIn
3496
3497         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3498         (pluginInvoke):
3499
3500 2007-12-03  Alexey Proskuryakov  <ap@webkit.org>
3501
3502         Reviewed by Oliver.
3503
3504         Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
3505         in a more fine-grained manner than eventSender.keyDown().
3506
3507         * DumpRenderTree/win/EventSender.cpp:
3508         (getConstantCallback):
3509         (dispatchMessageCallback):
3510
3511 2007-12-02  Darin Adler  <darin@apple.com>
3512
3513         * Scripts/do-webcore-rename: More planned renaming.
3514
3515 2007-12-02  Sam Weinig  <sam@webkit.org>
3516
3517         Rubber stamped by Anders.
3518
3519         Use [NSURL absoluteString] instead of [NSURL description] in order to get
3520         more uniform results cross platform.
3521
3522         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3523         (-[NSURL _drt_descriptionSuitableForTestResult]):
3524
3525 2007-12-02  Sam Weinig  <sam@webkit.org>
3526
3527         Rubber stamped by Niko.
3528
3529         Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
3530
3531         * DumpRenderTree/win/DumpRenderTree.cpp:
3532         * DumpRenderTree/win/DumpRenderTree.vcproj:
3533         * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
3534         * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
3535         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
3536         * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
3537
3538 2007-12-01  Alp Toker  <alp@atoker.com>
3539
3540         Reviewed by Adam Roben.
3541
3542         Make use of the newly introduced webkit.h convenience header.
3543
3544         * GtkLauncher/main.c:
3545
3546 2007-12-01  Adam Treat  <treat@kde.org>
3547
3548         Reviewed by Simon.
3549
3550         * Check to see if the directory exists and exit if not.
3551
3552         * DumpRenderTree/qt/main.cpp:
3553         (main):
3554
3555 2007-12-01  Adam Treat  <treat@kde.org>
3556
3557         Reviewed by Simon.
3558
3559         * Don't hide symbols when in Debug mode
3560         * On Linux (glibc) provide a backtrace in the test output for debugging purposes
3561
3562
3563         * DumpRenderTree/qt/main.cpp:
3564         (messageHandler):
3565
3566 2007-11-30  Alp Toker  <alp@atoker.com>
3567
3568         Reviewed by Adam Roben.
3569
3570         http://bugs.webkit.org/show_bug.cgi?id=15691
3571         [GTK] Public API does not follow GTK+ conventions
3572
3573         Refactor the WebKit/GTK+ public API. Changes:
3574           WebKitPage -> WebKitWebView
3575           WebKitFrame -> WebKitWebFrame
3576
3577         Public API source and header names have been updated to mirror the API
3578         changes.
3579
3580         The API is now kept in WebKit/gtk/WebView to match other ports in the
3581         same class such as Mac and Win.
3582
3583         * GtkLauncher/main.c:
3584         (activate_uri_entry_cb):
3585         (link_hover_cb):
3586         (title_change_cb):
3587         (progress_change_cb):
3588         (go_back_cb):
3589         (go_forward_cb):
3590         (create_browser):
3591         (main):
3592
3593 2007-11-30  Adam Roben  <aroben@apple.com>
3594
3595         Hopefully the final build fix
3596
3597         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
3598         pull in WTF's assertion/logging functions.
3599
3600 2007-11-30  Adam Roben  <aroben@apple.com>
3601
3602         Another build fix
3603
3604         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
3605         WebKit.lib.
3606
3607 2007-11-30  Adam Roben  <aroben@apple.com>
3608
3609         Debug build fix
3610
3611         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
3612         configuration.
3613         * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
3614         projects.
3615         * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
3616         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
3617         WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
3618
3619 2007-11-30  Sam Weinig  <sam@webkit.org>
3620
3621         Reviewed by Adam Roben.
3622
3623         Fix drawSelectionRect to actually draw the selection rect.
3624
3625         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3626         (drawSelectionRect):
3627
3628 2007-11-30  Darin Adler  <darin@apple.com>
3629
3630         * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
3631
3632 2007-11-30  Darin Adler  <darin@apple.com>
3633
3634         * Scripts/do-webcore-rename: Get ready for some future renaming.
3635
3636 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
3637
3638         Reviewed by Adam.
3639
3640         - Removed some unnecessary functions and changed an unused return type. 
3641
3642         * Drosera/win/DebuggerClient.cpp:
3643         (registerConsoleClass):
3644         * Drosera/win/DebuggerClient.h:
3645         * Drosera/win/Drosera.cpp:
3646         (registerDroseraClass):
3647
3648 2007-11-28  Alp Toker  <alp@atoker.com>
3649
3650         Reviewed by Timothy Hatcher.
3651
3652         http://bugs.webkit.org/show_bug.cgi?id=16174
3653         [GTK] Use "URI" not "URL" in public API
3654
3655         Replace use of the term "URL" with "URI" in public headers,
3656         documentation and some internal code to match GLib/GTK+ convention.
3657
3658         This is now mentioned in the API guidelines:
3659           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
3660
3661         * GtkLauncher/main.c:
3662         (activate_uri_entry_cb):
3663         (title_change_cb):
3664         (create_toolbar):
3665         (main):
3666
3667 2007-11-29  Anders Carlsson  <andersca@apple.com>
3668
3669         Reviewed by Sam.
3670
3671         <rdar://problem/5230478>
3672         FrameLoadDelegate callbacks are not dumped in DRT.
3673         
3674         * DumpRenderTree/win/DumpRenderTree.cpp:
3675         (shouldLogFrameLoadDelegates):
3676         (runTest):
3677         (main):
3678         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
3679         (BSTRtoString):
3680         (descriptionSuitableForTestResult):
3681         (FrameLoadDelegate::QueryInterface):
3682         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
3683         (FrameLoadDelegate::didFailProvisionalLoadWithError):
3684         (FrameLoadDelegate::didCommitLoadForFrame):
3685         (FrameLoadDelegate::didFinishLoadForFrame):
3686         (FrameLoadDelegate::willCloseFrame):
3687         (FrameLoadDelegate::didClearWindowObject):
3688         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
3689         (FrameLoadDelegate::didHandleOnloadEventsForFrame):
3690         * DumpRenderTree/win/FrameLoaderDelegate.h:
3691         (FrameLoadDelegate::windowScriptObjectAvailable):
3692         (FrameLoadDelegate::didFirstLayoutInFrame):
3693