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