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