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