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