WebCore:
[webkit/qt.git] / WebKitTools / ChangeLog
blobb65738fc5c686e3526d62d3603c04d86a77c9d42
1 2008-06-02  Anders Carlsson  <andersca@apple.com>
3         Reviewed by David Hyatt and Mitz.
5         <rdar://problem/5704119> 
6         repro crash in WebCore::RenderPart::setWidget (plugin-related?)
7         
8         Call -[WebView display] in the "plug-in" failed delegate method, simulating
9         the sheet that Safari puts up.
10         
11         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
12         (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
14 2008-05-30  Timothy Hatcher  <timothy@apple.com>
16         Made the starting line number of scripts be 1-based throughout the engine.
17         This cleans up script line numbers so they are all consistent now.
19         Reviewed by Oliver Hunt.
21         * DumpRenderTree/mac/ObjCController.m:
22         (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
23         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
24         (runJavaScriptThread): Ditto.
25         * DumpRenderTree/win/DumpRenderTree.cpp:
26         (runJavaScriptThread): Ditto.
28 2008-05-29  Geoffrey Garen  <ggaren@apple.com>
30         Reviewed by Adam Roben.
32         Fixed VCSUtils.pm to work with git repositories inside symlinks.
34         * Scripts/VCSUtils.pm: Compute a relative path from the git repository
35         root, instead of the root of the filesystem, to work around a bug in
36         abs2rel when traversing symlinked home directories.
38 2008-05-29  Kevin Ollivier  <kevino@theolliviers.com>
40         Reviewed by Darin Adler.
41         
42         Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
43         
44         https://bugs.webkit.org/show_bug.cgi?id=19311
46         * Scripts/webkitdirs.pm:
48 2008-05-29  Alexey Proskuryakov  <ap@webkit.org>
50         Reviewed by Adam Roben.
52         Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
53         configuration files.
55         * Scripts/run-iexploder-tests:
56         * Scripts/run-mangleme-tests:
57         Renamed runSafari to not conflict with the one in webkitdirs.
58         Added SSLCertificateFile option for httpd, as now needed.
60 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
62         wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
64         * wx/browser/browser.cpp:
65         (MyApp::OnInit):
67 2008-05-24  Andreia Gaita  <shana@isninja.com>
69         Reviewed by Alp Toker.
71         cygwin-downloader.py fixes.
73         Remove two non-working mirrors. Add a check for missing dependency
74         packages to avoid bailing out on an inconsistent Cygwin package list.
76         * CygwinDownloader/cygwin-downloader.py:
78 2008-05-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
80         Reviewed by Darin Adler.
82         Remove useQmake usage. QMake build doesn't support Gtk port
83         anymore.
85         Also fix 2 occurences of "Web Kit". Should be WebKit.
87         * Scripts/build-webkit:
88         * Scripts/run-javascriptcore-tests:
89         * Scripts/run-launcher:
90         * Scripts/run-webkit-tests:
91         * Scripts/webkitdirs.pm:
93 2008-05-22  Stephanie Lewis  <slewis@apple.com>
95         Reviewed by Dan.
97         implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
99         * DumpRenderTree/mac/UIDelegate.mm:
100         (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
101         * DumpRenderTree/win/UIDelegate.cpp:
102         (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
104 2008-05-21  Adele Peterson  <adele@apple.com>
106         Reviewed by Adam.
108         DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
110         * DumpRenderTree/win/UIDelegate.cpp:
111         (UIDelegate::webViewFocus): Added.
112         (UIDelegate::webViewUnfocus): Added.
113         * DumpRenderTree/win/UIDelegate.h:
115 2008-05-21  Mark Rowe  <mrowe@apple.com>
117         Rubber-stamped by Stephanie Lewis.
119         Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
120         rather than trigger an unknown argument message.  This allows run-webkit-tests to display results
121         once more.
123         * Scripts/run-safari:
125 2008-05-21  Stephanie Lewis  <slewis@apple.com>
127         Reviewed by Maciej, Mark.
128   
129         arch doesn't take arguments on tiger.  expand DRT timeout for guardMalloc.
131         * Scripts/run-webkit-tests:
132         * Scripts/webkitdirs.pm:
134 2008-05-20  Mark Rowe  <mrowe@apple.com>
136         Reviewed by Stephanie Lewis.
138         Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
140         If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
141         This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
142         can be manually overridden by passing --64-bit or --no-64-bit.  This removes the need to always
143         pass an argument to run-webkit-tests after having built with "make x86_64".
145         * Scripts/gdb-safari:
146         * Scripts/run-safari:
147         * Scripts/run-webkit-tests:
148         * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
149         preferred architecture, and exporting of the environment variables for 'arch' out into
150         separate subroutines.
152 2008-05-20  Mark Rowe  <mrowe@apple.com>
154         Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
156         * Makefile:
158 === End merge of squirrelfish ===
160 2008-04-14  Maciej Stachowiak  <mjs@apple.com>
162         Reviewed by Oliver.
163         
164         - added support for --ubench mode
166         * Scripts/run-sunspider:
168 2008-03-26  Geoffrey Garen  <ggaren@apple.com>
170         Reviewed by Oliver Hunt.
172         --squirrelfish mode: pared down tests for squirrelfish to chew on.
174         * Scripts/run-sunspider:
176 === Start merge of squirrelfish ===
178 2008-05-21  Darin Adler  <darin@apple.com>
180         * Scripts/make-js-test-wrappers: Added another exception.
182 2008-05-19  Stephanie Lewis  <slewis@apple.com>
184         Reviewed by Adam.
186         Explicitly set run mode to 32bit unless overridden to avoid
187         confusion when running tests
189         * Scripts/build-dumprendertree:
190         * Scripts/gdb-safari:
191         * Scripts/run-webkit-tests:
192         * Scripts/webkitdirs.pm:
194 2008-05-16  Stephanie Lewis  <slewis@apple.com>
196         Reviewed by Steve.
198         Print out pending unload event count. Also print out main frame name to match Mac.         
200         * DumpRenderTree/win/FrameLoadDelegate.cpp:
201         (descriptionSuitableForTestResult):
202         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
204 2008-05-16  Timothy Hatcher  <timothy@apple.com>
206         Remove the Drosera project, code and resources since it has been
207         replaced with the Web Inspector's debugger. Removes references to
208         Drosera in various scripts and makefiles.
210         Rubber-stamped by Mark Rowe.
212         * BuildSlaveSupport/build-launcher-app:
213         * Drosera/DebuggerDocument.cpp: Removed.
214         * Drosera/DebuggerDocument.h: Removed.
215         * Drosera/Drosera.icns: Removed.
216         * Drosera/DroseraWin.make: Removed.
217         * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
218         * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
219         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
220         * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
221         * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
222         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
223         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
224         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
225         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
226         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
227         * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
228         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
229         * Drosera/Images/Drosera.ico: Removed.
230         * Drosera/Images/SourceArrow.png: Removed.
231         * Drosera/Images/SourceArrowBlank.png: Removed.
232         * Drosera/Images/SourceArrowOpen.png: Removed.
233         * Drosera/Images/background_stripe.png: Removed.
234         * Drosera/Images/breakPoint.tif: Removed.
235         * Drosera/Images/breakPointDisabled.tif: Removed.
236         * Drosera/Images/breakpointeditor.png: Removed.
237         * Drosera/Images/close.tif: Removed.
238         * Drosera/Images/close_active.tif: Removed.
239         * Drosera/Images/close_hover.tif: Removed.
240         * Drosera/Images/console.png: Removed.
241         * Drosera/Images/continue.tif: Removed.
242         * Drosera/Images/fileIcon.jpg: Removed.
243         * Drosera/Images/finishFunction.tif: Removed.
244         * Drosera/Images/glossyFooterFill.tif: Removed.
245         * Drosera/Images/glossyHeader.png: Removed.
246         * Drosera/Images/glossyHeaderPressed.png: Removed.
247         * Drosera/Images/gradientBackground.png: Removed.
248         * Drosera/Images/gutter.png: Removed.
249         * Drosera/Images/navLeftDisabled.png: Removed.
250         * Drosera/Images/navLeftNormal.png: Removed.
251         * Drosera/Images/navLeftPressed.png: Removed.
252         * Drosera/Images/navRightDisabled.png: Removed.
253         * Drosera/Images/navRightNormal.png: Removed.
254         * Drosera/Images/navRightPressed.png: Removed.
255         * Drosera/Images/pause.tif: Removed.
256         * Drosera/Images/popUpArrows.png: Removed.
257         * Drosera/Images/programCounter.tif: Removed.
258         * Drosera/Images/programCounterBreakPoint.tif: Removed.
259         * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
260         * Drosera/Images/run.tif: Removed.
261         * Drosera/Images/siteCollapsed.tif: Removed.
262         * Drosera/Images/siteExpanded.tif: Removed.
263         * Drosera/Images/siteIcon.tif: Removed.
264         * Drosera/Images/small.ico: Removed.
265         * Drosera/Images/splitterBar.tif: Removed.
266         * Drosera/Images/splitterDimple.tif: Removed.
267         * Drosera/Images/step.tif: Removed.
268         * Drosera/Images/stepOut.tif: Removed.
269         * Drosera/Images/stepOver.tif: Removed.
270         * Drosera/Images/stop.tif: Removed.
271         * Drosera/Images/toolbarBackground.png: Removed.
272         * Drosera/Images/verticalSplitterBar.tiff: Removed.
273         * Drosera/Images/verticalSplitterDimple.tiff: Removed.
274         * Drosera/Makefile: Removed.
275         * Drosera/breakpointEditor.html: Removed.
276         * Drosera/config.h: Removed.
277         * Drosera/console.css: Removed.
278         * Drosera/console.html: Removed.
279         * Drosera/console.js: Removed.
280         * Drosera/debugger.css: Removed.
281         * Drosera/debugger.html: Removed.
282         * Drosera/debugger.js: Removed.
283         * Drosera/mac/DebuggerApplication.h: Removed.
284         * Drosera/mac/DebuggerApplication.mm: Removed.
285         * Drosera/mac/DebuggerClient.h: Removed.
286         * Drosera/mac/DebuggerClient.mm: Removed.
287         * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
288         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
289         * Drosera/mac/Info.plist: Removed.
290         * Drosera/mac/LauncherInfo.plist: Removed.
291         * Drosera/mac/Makefile: Removed.
292         * Drosera/mac/ServerConnection.h: Removed.
293         * Drosera/mac/ServerConnection.mm: Removed.
294         * Drosera/mac/launcher.m: Removed.
295         * Drosera/mac/main.m: Removed.
296         * Drosera/viewer.css: Removed.
297         * Drosera/viewer.html: Removed.
298         * Drosera/win/BaseDelegate.h: Removed.
299         * Drosera/win/DebuggerClient.cpp: Removed.
300         * Drosera/win/DebuggerClient.h: Removed.
301         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
302         * Drosera/win/Drosera.cpp: Removed.
303         * Drosera/win/Drosera.h: Removed.
304         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
305         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
306         * Drosera/win/DroseraPrefix.cpp: Removed.
307         * Drosera/win/DroseraPrefix.h: Removed.
308         * Drosera/win/Info.plist: Removed.
309         * Drosera/win/ServerConnection.cpp: Removed.
310         * Drosera/win/ServerConnection.h: Removed.
311         * Drosera/win/resource.h: Removed.
312         * Makefile:
313         * Scripts/build-drosera: Removed.
314         * Scripts/gdb-drosera: Removed.
315         * Scripts/run-drosera: Removed.
316         * Scripts/run-drosera-nightly.cmd: Removed.
317         * Scripts/run-drosera.cmd: Removed.
318         * Scripts/webkitdirs.pm:
320 2008-05-15  Stephanie Lewis  <slewis@apple.com>
322         Reviewed by Anders.
324         Dump the unload count for a frame after parsing is finished.
326         * DumpRenderTree/mac/FrameLoadDelegate.mm:
327         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
329 2008-05-15  Alexey Proskuryakov  <ap@webkit.org>
331         Reviewed by Dan Bernstein.
333         https://bugs.webkit.org/show_bug.cgi?id=10707
334         DumpRenderTree should not be able to access non-local resources
336         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
337         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
338         Block them, and complain.
340 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
342         wx build fix. Update the version of libpng to download and instsall.
344         * wx/install-unix-extras:
346 2008-05-14  Julien Chaffraix  <jchaffraix@webkit.org>
348         Reviewed by Eric.
350         - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
351           We now force the return value to be numeric.
353         - Removed platform checks as it was a work around the previous issue.
355         - Replaced isDarwin() by isOSX() as they have now the same behaviour.
357         * Scripts/build-webkit:
358         * Scripts/webkitdirs.pm:
360 2008-05-12  Adam Roben  <aroben@apple.com>
362         Support for testing NPN_PostURL
364         Reviewed by Anders Carlsson.
366         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
367         (toCString): Added this helper function.
368         (testPostURLFile): Added. Writes the passed-in content to the
369         passed-in file and calls NPN_PostURL with the passed-in URL and
370         target.
371         (pluginInvoke): Added a case for testPostURLFile.
372         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
373         (followShortcuts): Changed to allow paths that don't yet exist.
375 2008-05-12  Mark Rowe  <mrowe@apple.com>
377         Reviewed by Sam Weinig.
379         Minor cleanup of the DRT Xcode project.
381         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Use GCC_OPTIMIZATION_LEVEL rather than
382         OPTIMIZATION_CFLAGS.  Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
383         not need to be there.
385 2008-05-12  Anders Carlsson  <andersca@apple.com>
387         Reviewed by Adam.
389         Add support for testing application caches.
390         
391         * DumpRenderTree/mac/DumpRenderTree.mm:
392         (dumpRenderTree):
393         Empty the cache.
394         
395         (resetWebViewToConsistentStateBeforeTesting):
396         Turn on support for the application cache.
398 2008-05-09  Mark Rowe  <mrowe@apple.com>
400         Reviewed by Anders Carlsson.
402         Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
404         It currently does not attempt to print events which means that plugins/mouse-events.html
405         will fail when run 64-bit.  All other tests that use this plugin pass.
407         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
408         (testGetIntIdentifier):
409         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
410         (NPP_New):
411         (NPP_HandleEvent):
413 2008-05-09  Brady Eidson  <beidson@apple.com>
415         Reviewed by Adam Roben
417         Explicitly call shutDownWebKit() before quitting.
419         * Drosera/win/Drosera.cpp:
420         (_tWinMain):
422         * DumpRenderTree/win/DumpRenderTree.cpp:
423         (main):
425 2008-05-09  Mark Rowe  <mrowe@apple.com>
427         Fix the Tiger build of Drosera.
429         * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
431 2008-05-09  Sam Weinig  <sam@webkit.org>
433         Rubber-stamped by Mark Rowe.
435         Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
437         * Scripts/build-webkit:
439 2008-05-08  Mark Rowe  <mrowe@apple.com>
441         Another attempt at a Tiger build fix.
443         Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
445         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
447 2008-05-08  Mark Rowe  <mrowe@apple.com>
449         Tiger build fix.  Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
451         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
453 2008-05-08  Mark Rowe  <mrowe@apple.com>
455         Reviewed by Oliver Hunt and Dan Bernstein.
457         Update DumpRenderTree to build 64-bit.
459         The three major changes here are:
460         1) Use NSInteger in the appropriate places.
461         2) Use ColorSync API that is available in 64-bit to switch display profiles.
462         3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
464         The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
465         needs updated to successfully build.
467         * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
468         * DumpRenderTree/mac/DumpRenderTree.mm:
469         (swizzleAllMethods):
470         (poseAsClass):
471         (prepareConsistentTestingEnvironment):
472         * DumpRenderTree/mac/DumpRenderTreeMac.h:
473         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
474         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
475         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
476         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
477         (restoreColorSpace):
478         (failedGettingCurrentProfile):
479         (setDefaultColorProfileToRGB):
481 2008-05-08  Mark Rowe  <mrowe@apple.com>
483         Reviewed by Darin Adler.
485         Clean up Drosera so that it will build 64-bit.
487         * Drosera/mac/DebuggerApplication.mm:
488         (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
489         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
490         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
492 2008-05-07  David Kilzer  <ddkilzer@apple.com>
494         Use File::Find and Getopt::Long in make-js-test-wrappers
496         Reviewed by Darin.
498         * Scripts/make-js-test-wrappers:
499         - Updated Apple copyright statement.
500         - Added command-line switch parsing and -h|--help switch.
501         - Allowed user to pass list of files/directories on which to do
502           a restricted search for TEMPLATE.html files.  The default
503           behavior is still to search the entire LayoutTests directory.
504         - Removed duplicate 'use strict' statement.
505         - Replaced use of `find` statements with File::Find::find().
506         - Remove unneeded chomp() calls now that we use File::Find.
507         (directoryFilter): Added.  Filters .svn directories when used
508         with File::Find::find().
509         (findTemplateFiles): Added.  Returns a list of TEMPLATE.html
510         files found.
512 2008-05-05  Steve Falkenburg  <sfalken@apple.com>
514         Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
516         * DumpRenderTree/win/DumpRenderTree.vcproj:
517         * DumpRenderTree/win/ImageDiff.vcproj:
519 2008-05-05  Adele Peterson  <adele@apple.com>
521         Reviewed by Adam.
523         Look for the right ImageDiff executable for debug builds.
525         * Scripts/run-webkit-tests:
527 2008-05-05  Darin Adler  <darin@apple.com>
529         * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
530         leak tests.
532 2008-05-05  Ariya Hidayat  <ariya.hidayat@trolltech.com>
534         Reviewed by Simon.
536         In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG 
537         tests expect to be 480x360)
539         * DumpRenderTree/qt/DumpRenderTree.cpp:
540         (WebCore::DumpRenderTree::open):
542 2008-05-02  Dan Bernstein  <mitz@apple.com>
544         Reviewed by Adam Roben.
546         - add an option to svn-apply to set the reviewer name in change logs
548         * Scripts/svn-apply: Added a [-r|--reviewer name] option.
550 2008-05-01  David Kilzer  <ddkilzer@apple.com>
552         Clean up configuration usage in run-webkit-tests
554         Reviewed by Adam.
556         * Scripts/run-webkit-tests: Parse configuration switches using
557         passedConfiguration() from webkitdirs.pm like every other script.
558         Note that we must still call setConfiguration() afterwards in
559         case the --configuration switch was used.  Use $configurationOption
560         when running build-dumprendertree instead of recreating the switch.
562 2008-04-29  Adam Roben  <aroben@apple.com>
564         Restore the beloved COMPtr::operator&
566 2008-04-29  Adam Roben  <aroben@apple.com>
568         Windows build fixes
570         Replace COMPtr::operator& with COMPtr::adoptionPointer.
572 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
574         Reviewed by Darin.
576         Fix run-webkit-tests --threading
577         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
578         Proxy server issue in Sunday's Nightly
580         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
581         (runJavaScriptThread):
582         (startJavaScriptThreads):
583         (stopJavaScriptThreads):
584         Spawned threads were immediately detached, unlike the original ones, so joining them
585         made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
586         waits for them all to exit.
588 2008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
590         Reviewed by Simon.
592         Reset dumping resource load callbacks to false for the next test
593         
595         * DumpRenderTree/qt/jsobjects.cpp:
596         (LayoutTestController::reset):
598 2008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
600         Reviewed by Simon.
602         Adapt to the latest API changes in WebKit/qt/Api.
604         * DumpRenderTree/qt/DumpRenderTree.cpp:
605         (WebCore::DumpRenderTree::DumpRenderTree):
606         * DumpRenderTree/qt/jsobjects.cpp:
608 2008-04-26  Robin Dunn  <robin@alldunn.com>
610         Reviewed by Kevin Ollivier.
611         
612         Delete the DerivedSources after make clean has been done so that the DerivedSources
613         don't get re-created. Also, use the proper extension for the Win wxPython extension.
614         
615         https://bugs.webkit.org/show_bug.cgi?id=18756
617         * wx/build-wxwebkit:
619 2008-04-26  Adam Barth <hk9565@gmail.com>
621         Reviewed by Adam Roben and Sam Weinig.
623         Updates LayoutTestController to use host instead of domain.
625         Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
627         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
628         (LayoutTestController::setDatabaseQuota):
629         * DumpRenderTree/mac/UIDelegate.mm:
630         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
632 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
634         wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
636         * wx/install-unix-extras:
638 2008-04-26  Robin Dunn  <robin@alldunn.com>
640         Reviewed by Kevin Ollivier.
641         
642         Allow the user to set the path to SWIG using an environment variable.
643         
644         https://bugs.webkit.org/show_bug.cgi?id=18660
646         * wx/build-wxwebkit:
648 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
650         wx build fix. Download the latest libpng version for building the
651         dependencies.
653         * wx/install-unix-extras:
655 2008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
657         Reviewed by Simon.
659         Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
660         
661         Similar to Editing and Frameloading we do the dumping within WebCore
662         
664         * DumpRenderTree/qt/jsobjects.cpp:
665         (LayoutTestController::dumpResourceLoadCallbacks):
666         * DumpRenderTree/qt/jsobjects.h:
668 2008-04-24  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
670         Reviewed by Maciej Stachowiak.
672         http://bugs.webkit.org/show_bug.cgi?id=18485
673         Typo and documentation fix for build-webkit
675         * Scripts/build-webkit:
677 2008-04-24  Anders Carlsson  <andersca@apple.com>
679         Reviewed by Sam.
681         Don't call fprintf from the signal handler.
682         
683         * DumpRenderTree/mac/DumpRenderTree.mm:
684         (crashHandler):
686 2008-04-23  Adam Roben  <aroben@apple.com>
688         Make crashes be reported as crashes, not hangs
690         Reviewed by David Kilzer.
692         * Scripts/run-webkit-tests:
693         (top level): Use the new status field of the output from
694         readFromDumpToolWithTimer to determine if the test crashed or hung.
695         (sub readFromDumpToolWithTimer):
696           - If we fail to read a line and $! is not EAGAIN, then we've crashed
697             and should not try to read any more.
698           - Changed the timedout field to a more general status field.
700 2008-04-22  David Kilzer  <ddkilzer@apple.com>
702         Bug 18683: update-webkit returns 0 even if it fails
704         <https://bugs.webkit.org/show_bug.cgi?id=18683>
706         Reviewed by Mitz Pettel.
708         * Scripts/update-webkit:
709         (runSvnUpdate): Die if close() fails.
711 2008-04-21  Adam Roben  <aroben@apple.com>
713         Flush stdout/stderr after printing every #EOF separator
715         This fixes a hang when running the pixel tests on Windows
717         Reviewed by Mitz Pettel.
719         * DumpRenderTree/win/DumpRenderTree.cpp:
720         (dump):
721         (main): We don't have to flush stdout/stderr in the arguments loop
722         anymore, as runTest flushes for us.
724 2008-04-21  Adam Roben  <aroben@apple.com>
726         Fix pixel tests
728         * Scripts/run-webkit-tests:
729         (sub readFromDumpToolWithTimer): Use readline instead of read to
730         ensure that we don't read past the #EOF marker.
732 2008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
734         Reviewed by Simon.
736         Build fix for Qt 4.3
738         * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
739         always defined. Do this by adding defines to the compiler line
741         * DumpRenderTree/qt/DumpRenderTree.pro:
743 2008-04-19  Mike Hommey  <glandium@debian.org>
745         Reviewed by Alp Toker.
747         Don't build GtkLauncher and DumpRenderTree with rpath.
749         * GNUmakefile.am:
751 2008-04-18  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
753         Reviewed by Alp Toker.
755         http://bugs.webkit.org/show_bug.cgi?id=16620
756         [GTK] Autotools make dist and make check support
758         Cleanups.
760         * GNUmakefile.am:
762 2008-04-18  Adam Roben  <aroben@apple.com>
764         Drop the hang timer to 30 seconds
766         This matches what DRT/mac was using.
768         Reviewed by Mitz Pettel.
770         * Scripts/run-webkit-tests:
772 2008-04-18  Adam Roben  <aroben@apple.com>
774         Get rid of DRT's Watchdog
776         run-webkit-tests now detects hangs and samples DRT as needed.
778         Reviewed by Mitz Pettel.
780         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
781         Watchdog* files from the project.
782         * DumpRenderTree/Watchdog.cpp: Removed.
783         * DumpRenderTree/Watchdog.h: Removed.
784         * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
785         (dumpRenderTree):
786         (runTest):
787         * DumpRenderTree/mac/WatchdogMac.h: Removed.
788         * DumpRenderTree/mac/WatchdogMac.mm: Removed.
789         * Scripts/run-webkit-tests:
790         (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
791         (sub sampleDumpTool): Added. Writes a sample report to
792         ~/Library/Logs/DumpRenderTree/HangReport.txt.
794 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
796         Reviewed by Holger.
798         Adapt to the API changes in WebKit/qt
800         * DumpRenderTree/qt/DumpRenderTree.cpp:
801         (WebCore::WebPage::WebPage):
802         (WebCore::DumpRenderTree::DumpRenderTree):
803         (WebCore::DumpRenderTree::initJSObjects):
804         (WebCore::DumpRenderTree::dumpFramesAsText):
805         (WebCore::DumpRenderTree::dump):
807 2008-04-17  Adam Roben  <aroben@apple.com>
809         Fix many tests on Windows
811         * Scripts/run-webkit-tests:
812         (readFromDumpToolWithTimer):
813          - Use read instead of sysread to ensure that we don't interfere with
814            other uses of buffered IO in this script.
815         (setFileHandleNonBlocking): Actually set the filehandle to blocking
816         when specified.
818 2008-04-17  Adam Roben  <aroben@apple.com>
820         Fix ~10 tests
822         * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
823         whatever newline happens to be at the end of what we've read.
825 2008-04-17  Adam Roben  <aroben@apple.com>
827         Remove DRT/win's hang timer
829         run-webkit-tests takes care of this for us now
831         Reviewed by Anders Carlsson.
833         * DumpRenderTree/win/DumpRenderTree.cpp:
835 2008-04-17  Adam Roben  <aroben@apple.com>
837         Don't wait for the hang timer twice in the case of a hang
839         Previously we'd wait for a hang while reading both stdout and stderr
840         from DRT. Now we'll only wait for one or the other.
842         Reviewed by Anders Carlsson.
844         * Scripts/run-webkit-tests:
845         (top level): Don't wait for stderr to time out if stdout already timed
846         out.
847         (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
848         after the first read that returns no data.
850 2008-04-17  Adam Roben  <aroben@apple.com>
852         Don't throw away the output from timed out tests
854         Reviewed by Anders Carlsson.
856         * Scripts/run-webkit-tests:
857         (top level): Updated for changes to readFromDumpToolWithTimer.
858         (readFromDumpToolWithTimer): Return a hash that contains both the
859         output and whether or not the test timed out.
861 2008-04-17  Adam Roben  <aroben@apple.com>
863         Make the hang timer 60 seconds
865         * Scripts/run-webkit-tests:
867 2008-04-17  Adam Roben  <aroben@apple.com>
869         Get rid of carriage returns in DRT/win's stderr
871         Reviewed by Eric Seidel.
873         * DumpRenderTree/win/DumpRenderTree.cpp:
874         (main): Mark stderr as binary like we already do for stdout.
876 2008-04-17  Adam Roben  <aroben@apple.com>
878         Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
879         timeout long tests)
881         <https://bugs.webkit.org/show_bug.cgi?id=17678>
883         We now abort tests that take longer than 60 seconds to produce output.
884         This matches the watchdog timer in DRT/mac and DRT/win (which we can
885         now remove).
887         Reviewed by Eric Seidel.
889         * Scripts/run-webkit-tests:
890         (top level): Read DRT's output using the new readFromDumpToolWithTimer
891         subroutine. If readFromDumpToolWithTimer returns undefined it means
892         the test timed out, so we register the test as a hang and move on.
893         (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
894         both crashed and timed out tests. If the test timed out, we kill DRT
895         before returning.
896         (sub linksForTimedOutTest): Added. We don't have any output to link to for
897         tests that timed out.
898         (sub recordActualResultsAndDiff): Don't call length on undefined.
899         (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
900         from a filehandle until an #EOF is reached or
901         $maximumSecondsWithoutOutput have elapsed.
902         (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
903         non-blocking.
905 2008-04-17  Adam Roben  <aroben@apple.com>
907         Refactor test results page generation
909         Reviewed by Eric Seidel.
911         * Scripts/run-webkit-tests:
912         (sub htmlForResultsSection): Added. Takes a set of tests, a
913         description, and a subroutine to generate the links for each test, and
914         creates a HTML string containing a table of the tests and their
915         links.
916         (sub linksForExpectedAndActualResults): Added. Replaces the
917         htmlForExpectedAndActualResults subroutine.
918         (sub linksForMismatchTest): Added.
919         (sub linksForCrashOrErrorTest): Added.
920         (sub linksForNewTest): Added.
922 2008-04-17  Adam Roben  <aroben@apple.com>
924         Print the extension for all tests in the test results page
926         Reviewed by Eric Seidel.
928         * Scripts/run-webkit-tests:
930 2008-04-17  Adam Roben  <aroben@apple.com>
932         Move code that counts finished tests into a subroutine
934         Reviewed by Eric Seidel.
936         * Scripts/run-webkit-tests:
937         (sub countFinishedTest): Added.
939 2008-04-17  Adam Roben  <aroben@apple.com>
941         Move code that handles a crash into a subroutine
943         Reviewed by Eric Seidel.
945         * Scripts/run-webkit-tests:
946         (sub testCrashed): Added.
948 2008-04-17  Eric Seidel  <eric@webkit.org>
950         Reviewed by hyatt.
951         
952         Rename RenderView to RenderViewport in the next rename patch.
954         * Scripts/do-webcore-rename:
956 2008-04-17  Mario Bensi  <mbensi@pleyo.com>
958         Reviewed by Alp Toker.
960         http://bugs.webkit.org/show_bug.cgi?id=18543
961         DumpRenderTree gtk freeze
963         fix DumpRenderTree gtk freeze 
965         * DumpRenderTree/gtk/DumpRenderTree.cpp:
966         (dump):
968 2008-04-15  Anders Carlsson  <andersca@apple.com>
970         Add missing ;
971         
972         * Scripts/build-webkit:
973         
974 2008-04-15  Anders Carlsson  <andersca@apple.com>
976         Reviewed by Adam.
978         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
980         * Scripts/build-webkit:
982 2008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
984         Reviewed by Simon.
986         Fix compilation with Qt namespaces
988         Qt can be configured to have all of its classes inside a specified namespaces.
989         This is for example used in plugin/component environments like Eclipse.
991         This change makes it possible to let the Qt port compile against a namespaced
992         Qt by the use of macros Qt provides to properly forward declare Qt classes in
993         the namespace.
995         * DumpRenderTree/qt/DumpRenderTree.h:
997 2008-04-08  Kevin Ollivier  <kevino@theolliviers.com>
999         Reviewed by Darin Adler.
1001         Add a script that propagates any file changes made to the Bakefiles
1002         over to GTK and Qt build systems. Still needs to be wired into
1003         those ports though.
1005         * Scripts/update-sources-list.py: Added.
1007 2008-04-08  Mark Rowe  <mrowe@apple.com>
1009         Clean up after Brady.
1011         * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
1013 2008-04-08  Brady Eidson  <beidson@apple.com>
1015         Reviewed by Mitzpettel
1017         Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
1018         -WebArchive subresources dump in random order, intermittent failures
1020         * DumpRenderTree/mac/DumpRenderTree.mm:
1021         (compareResourceURLs): Sorting function based on the resource URLs
1022         (serializeWebArchiveToXML): Sort the subresource array
1024 2008-04-07  Brady Eidson  <beidson@apple.com>
1026         OMG, BUILD - please!
1028         * Scripts/build-webkit:
1030 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1032         Reviewed by Simon.
1034         * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
1035         * Running these tests on windows and other platforms might need some work.
1037         * Scripts/run-webkit-tests:
1039 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1041         Reviewed by Simon.
1043         * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
1044         is not exporting enough to create the output in DRT itself. Settle with the approach
1045         Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
1046         * run-webkit-tests http/tests(/loading) can now be executed.
1047         * For tests in loading/ directories we are going to throw away the dirty
1048         QWebPage to start with something clean.
1049         
1051         * DumpRenderTree/qt/DumpRenderTree.cpp:
1053 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1055         Reviewed by Simon.
1057         * Treat http and https as special URLs as well. Change the main.cpp and
1058         DumpRenderTree.cpp to handle http and https URIs as input.
1059         * I'm not doing the clean up and merging of these two checks now.
1060         
1062         * DumpRenderTree/qt/DumpRenderTree.cpp:
1063         (WebCore::DumpRenderTree::readStdin):
1064         * DumpRenderTree/qt/main.cpp:
1065         (main):
1067 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1069         Reviewed by Simon.
1071         * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
1072         located in a directory with the name "loading". And this will autoamtically
1073         enable dumping.
1074         * Remove this method from the LayoutTestController as it is unused now and this
1075         avoids adding it to the DRT of the Qt port.
1076         
1078         * DumpRenderTree/LayoutTestController.cpp:
1079         (setPrivateBrowsingEnabledCallback):
1081 2008-04-01  Christian Dywan  <christian@imendio.com>
1083         Build fix for GCC 4.3.
1085         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
1087 2008-04-01  Simon Hausmann  <hausmann@webkit.org>
1089         Reviewed by Holger.
1091         Fix Qt DRT run by also printing EOF on stderr, as expected by
1092         run-webkit-tests.
1094         * DumpRenderTree/qt/DumpRenderTree.cpp:
1095         (WebCore::DumpRenderTree::dump):
1097 2008-03-31  Julien Chaffraix  <julien.chaffraix@gmail.com>
1099         Reviewed by Darin.
1101         Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
1103         Remove trailing '/' in $sourceDir in determineSourceDir().
1105         Fix suggested by Dmitriy Kazachkov.
1107         * Scripts/webkitdirs.pm:
1109 2008-03-29  Adam Roben  <aroben@apple.com>
1111         Update for rename of an IWebViewPrivate method
1113         Reviewed by Mitz Pettel.
1115         * DumpRenderTree/win/DumpRenderTree.cpp:
1116         (createWebViewAndOffscreenWindow):
1118 2008-03-26  Antti Koivisto  <antti@apple.com>
1120         Reviewed by Anders.
1121         
1122         Enable SVG animation support by default.
1124         * Scripts/build-webkit:
1126 2008-03-25  Adam Roben  <aroben@apple.com>
1128         Windows build fix
1130         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1131         Add $(WebKitLibrariesDir)\include to the include path so we can find
1132         stdint.h there.
1134 2008-03-24  Eric Seidel  <eric@webkit.org>
1136         Reviewed by Mark.
1138         Clean up SVG features message to be less confusing.
1140         * Scripts/build-webkit:
1142 2008-03-24  Sam Weinig  <sam@webkit.org>
1144         Reviewed by Dave Hyatt.
1146         Add EventSender.zoomPageIn/zoomPageOut support to DRT.
1148         * DumpRenderTree/mac/DumpRenderTree.mm:
1149         (resetWebViewToConsistentStateBeforeTesting):
1150         * DumpRenderTree/mac/EventSendingController.mm:
1151         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1152         (-[EventSendingController zoomPageIn]):
1153         (-[EventSendingController zoomPageOut]):
1154         * DumpRenderTree/win/DumpRenderTree.cpp:
1155         (resetWebViewToConsistentStateBeforeTesting):
1156         * DumpRenderTree/win/EventSender.cpp:
1157         (textZoomInCallback):
1158         (textZoomOutCallback):
1159         (zoomPageInCallback):
1160         (zoomPageOutCallback):
1162 2008-03-24  Dan Bernstein  <mitz@apple.com>
1164         Reviewed by Mark Rowe.
1166         - update bisect-builds for Safari 3.1
1168         * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
1169         revision, r29711.
1171 2008-03-21  Rodney Dawes  <dobey@wayofthemonkey.com>
1173         Reviewed by Holger.
1175         http://bugs.webkit.org/show_bug.cgi?id=17981
1177         Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
1179         * GNUmakefile.am:
1181 2008-03-21  Adam Roben  <aroben@apple.com>
1183         Remove a non-working mirror from cygwin-downloader and add the ruby package
1185         * CygwinDownloader/cygwin-downloader.py:
1186         * CygwinDownloader/cygwin-downloader.zip: Updated.
1188 2008-03-20  Mark Rowe  <mrowe@apple.com>
1190         Reviewed by Sam Weinig.
1192         Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
1193         This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
1194         command-line.
1196         * Scripts/build-webkit:
1198 2008-03-17  Eric Seidel  <eric@webkit.org>
1200         Reviewed by Dan Bernstein.
1202         Fix bogus argCount check breaking plugin test.
1204         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1206 2008-03-17  Eric Seidel  <eric@webkit.org>
1208         Reviewed by darin.
1210         Cleanup PluginObject.cpp and add support for testing
1211         converting from int -> identifier -> string
1212         and from string -> identifier -> int
1213         as well as round-tripping ints and stings through identifiers
1215         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1216         (pluginGetProperty):
1217         (pluginSetProperty):
1218         (testDOMAccess):
1219         (stringVariantToIdentifier):
1220         (int32VariantToIdentifier):
1221         (doubleVariantToIdentifier):
1222         (variantToIdentifier):
1223         (testIdentifierToString):
1224         (testIdentifierToInt):
1225         (testCallback):
1226         (getURL):
1227         (removeDefaultMethod):
1228         (getURLNotify):
1229         (testInvokeDefault):
1230         (destroyStream):
1231         (testEnumerate):
1232         (testGetIntIdentifier):
1233         (testGetProperty):
1234         (testEvaluate):
1235         (testGetPropertyReturnValue):
1236         (pluginInvoke):
1237         (pluginInvokeDefault):
1238         (pluginInvalidate):
1239         (pluginAllocate):
1240         (pluginDeallocate):
1241         (handleCallback):
1243 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
1245         Rubber stamped by Darin.
1247         Add set-webkit-configuration support for wx port, and centralize
1248         build dir location setting.
1250         http://bugs.webkit.org/show_bug.cgi?id=17790
1252         * wx/browser/browser.bkl:
1253         * wx/build-wxwebkit:
1255 2008-03-15  Darin Adler  <darin@apple.com>
1257         * Scripts/commit-log-editor: Include the name line of the change log entry.
1258         A long time ago I designed this script to not include the name because I
1259         thought it was redundant (same as the name of the person checking in), but
1260         nowadays it's more common for someone to check something in done by someone
1261         else.
1263         * Scripts/do-webcore-rename: Added some more planned renames and removed
1264         some that were already done "by hand".
1266 2008-03-13  Brent Fulgham  <bfulgham@gmail.com>
1268         Reviewed by Darin.
1270         Correct paths to vsprops files so they use the environment
1271         variable, rather than hard-coded path.
1272         http://bugs.webkit.org/show_bug.cgi?id=17797.
1274         * WinLauncher/WinLauncher.vcproj:  Correct paths to vsprops.
1276 2008-03-12  Steve Falkenburg  <sfalken@apple.com>
1278         VSExpress build fix
1280         * WinLauncher/WinLauncher.vcproj:
1282 2008-03-12  Holger Hans Peter Freyther  <zecke@selfish.org>
1284         Reviewed by Alp Toker.
1286         Run testkjs in the correct productsDir in the GTK+ port.
1288         * Scripts/run-javascriptcore-tests:
1290 2008-03-11  Brent Fulgham  <bfulgham@gmail.com>
1292         Reviewed by Adam Roben.
1294         Enabled WinLauncher as part of normal Windows build.
1295         http://bugs.webkit.org/show_bug.cgi?id=17715.
1297         * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
1298           it can find the proper libraries to link against.
1300 2008-03-10  Julien Chaffraix  <julien.chaffraix@gmail.com>
1302         Reviewed and landed by Darin.
1304         http://bugs.webkit.org/show_bug.cgi?id=17581
1305         Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
1307         Remove the previous warning which occurs when the --random option is used.
1309         * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
1310         its inequality
1312 2008-03-07  Simon Hausmann  <hausmann@webkit.org>
1314         Reviewed by Darin.
1316         Done with Lars.
1318         Ported the netscape test plugin to QWebPluginFactory.
1320         * DumpRenderTree/qt/DumpRenderTree.cpp:
1321         (WebCore::WebPage::WebPage):
1322         * DumpRenderTree/qt/main.cpp:
1323         * DumpRenderTree/qt/testplugin.cpp:
1324         (TestPlugin::plugins):
1325         (TestPlugin::create):
1326         * DumpRenderTree/qt/testplugin.h:
1328 2008-03-09  Steve Falkenburg  <sfalken@apple.com>
1330         Stop Windows build if an error occurs in a prior project.
1332         Rubber stamped by Darin.
1334         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1335         * DumpRenderTree/win/DumpRenderTree.vcproj:
1336         * DumpRenderTree/win/ImageDiff.vcproj:
1337         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1339 2008-03-08  Julien Chaffraix  <julien.chaffraix@gmail.com>
1341         Reviewed by Mark Rowe.
1343         DRT build fix for Tiger.
1345         * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
1347 2008-03-07  Mark Rowe  <mrowe@apple.com>
1349         Reviewed by Oliver Hunt.
1351         Fix WebKit build with GCC 4.2.
1353         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
1355 2008-03-07  Stephanie Lewis <slewis@apple.com>
1357         Reviewed by Oliver.
1359         Add Windows part of <rdar://problem/5693690> 
1361         * DumpRenderTree/win/DumpRenderTree.cpp:
1362         (dump):
1363         (main):
1365 2008-03-07  Alp Toker  <alp@atoker.com>
1367         Back out the r30818, r30819 build fix attempts now the GTK+ build
1368         server has been upgraded.
1370         * Scripts/webkitdirs.pm:
1372 2008-03-07  Stephanie Lewis <slewis@apple.com>
1374         Reviewed by Geoff.
1376         <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
1378         * DumpRenderTree/mac/DumpRenderTree.mm:
1379         (dump): push EOF to stderr after every test
1380         * Scripts/run-webkit-tests: collect stderr output and print it
1382 2008-03-07  Steve Falkenburg  <sfalken@apple.com>
1384         Get pdevenv working with Visual Studio Express.
1385         
1386         Reviewed by Adam.
1388         * Scripts/pdevenv:
1390 2008-03-06  Adele Peterson  <adele@apple.com>
1392         Reviewed by Darin.
1394         Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
1396         * DumpRenderTree/mac/UIDelegate.mm:
1397         (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
1398         (-[UIDelegate webViewUnfocus:]): Added.  In Safari, the default is to focus another window if there is one.
1399          To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
1401 2008-03-06  Matt Lilek  <webkit@mattlilek.com>
1403         Reviewed by Adam Roben.
1405         Bug 17691: REGRESSION: FindSafari doesn't work
1406         http://bugs.webkit.org/show_bug.cgi?id=17691
1408         Swap my change from r30394 to use the Release libraries instead of Debug
1409         since some machines don't have the Debug version.
1411         * FindSafari/FindSafari.vcproj:
1413 2008-03-06  Kevin McCullough  <kmccullough@apple.com>
1415         Reviewed by Sam and Tim.
1417         <rdar://5631450> Drosera: breakpoint indicators disappear after the
1418         script is finished running.
1419         - If there is a pre-existing breakpoint on a line when the file is
1420         updated we need to redraw it.
1422         * Drosera/debugger.js:
1424 2008-03-06  Brady Eidson  <beidson@apple.com>
1426         Tiger build fix...?
1428         * DumpRenderTree/mac/WatchdogMac.mm:
1430 2008-03-06  Brady Eidson  <beidson@apple.com>
1432         Reviewed by Darin
1434         Added a cross-platform Watchdog thread to DRT.
1436         The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
1437         main thread hangs still affect DRT.
1439         By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
1440         and true deadlocks can be caught.
1442         There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
1443         `sample` available, the Mac implementation of this hook samples the process before it is killed.
1445         I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
1447         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1448         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
1450         * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
1451         * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
1453         * DumpRenderTree/Watchdog.cpp: Added.
1454         (Watchdog::Watchdog):
1455         (Watchdog::~Watchdog):
1456         (Watchdog::start):
1457         (Watchdog::stop):
1458         (Watchdog::checkIn):
1459         (Watchdog::setWatchdogInterval):
1460         (Watchdog::handleHang):
1461         (Watchdog::watchdogThreadStart):
1462         (Watchdog::watchdogThread):
1463         * DumpRenderTree/Watchdog.h: Added.
1465         * DumpRenderTree/mac/WatchdogMac.h: Added.
1466         * DumpRenderTree/mac/WatchdogMac.mm: Added.
1467         (WatchdogMac::handleHang): Sample the process and write it out to a file
1469         * DumpRenderTree/mac/DumpRenderTree.mm:
1470         (dumpRenderTree): Setup and start the watchdog before running any tests
1471         (runTest): Checkin with the watchdog after each test
1473 2008-03-05  Alp Toker  <alp@atoker.com>
1475         Attempt to get the autotools build working again on the bot with
1476         build-webkit.
1478         Force the use of /bin/bash since we seem to have bash-isms in the
1479         configure script right now.
1481         * Scripts/webkitdirs.pm:
1483 2008-03-05  Alp Toker  <alp@atoker.com>
1485         Re-attempt to switch to the autotools build system for GTK+.
1487         Change scripts to continue when distclean fails.
1489         * Scripts/webkitdirs.pm:
1491 2008-03-05  Alp Toker  <alp@atoker.com>
1493         Force qmake for the GTK+ build until we get the build bot to succeed
1494         with autotools (currently dies at make distclean)
1496         * Scripts/webkitdirs.pm:
1498 2008-03-04  Alp Toker  <alp@atoker.com>
1500         Reviewed by Mark Rowe.
1502         Switch the default GTK+ build system from qmake to autotools.
1504         qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
1506         * Scripts/build-webkit:
1507         * Scripts/run-launcher:
1508         * Scripts/run-webkit-tests:
1509         * Scripts/webkitdirs.pm:
1511 2008-03-04  Sam Weinig  <sam@webkit.org>
1513         Reviewed by Darin Adler.
1515         * Scripts/do-webcore-rename: Update renaming plan.
1517 2008-03-02  Brent Fulgham  <bfulgham@gmail.com>
1519         Reviewed by Alp Toker.
1521         Remove some needless LIBS.
1523         * GNUmakefile.am:
1525 2008-03-02  Alp Toker  <alp@atoker.com>
1527         Reviewed by Mark Rowe.
1529         Split the WebKit GTK+ build out of the WebCore build and change the
1530         shared object name to match the package name.
1532         * GNUmakefile.am:
1534 2008-03-01  Mark Rowe  <mrowe@apple.com>
1536         Reviewed by Tim Hatcher.
1538         Update Xcode configuration to support building debug and release from the mysterious future.
1540         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1542 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1544         Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
1546         Reviewed by Dan.
1548         Originally broken in r26838.
1550         * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
1551         not local, unused @args variable.
1553 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1555         Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
1557         <http://bugs.webkit.org/show_bug.cgi?id=15754>
1559         Reviewed by Geoff and Darin.
1561         We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
1562         then removing that path from all file:/// URLs in the WebArchive output so these tests
1563         would pass no matter where they were run.
1565         The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
1566         current working directory, but the WebArchive does not.  This left the current working
1567         directory in all file:/// URLs in the test output, and thus all tests failed, for any
1568         developer that used symlinks to get to their WebKit source directory.
1570         The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
1571         remove the current working directory path (no matter what it is) after "file://" but
1572         before "/LayoutTests/".  
1574         * DumpRenderTree/mac/DumpRenderTree.mm:
1575         (normalizeWebResourceURL): Removed unused oldURLBase argument.  We now replace the
1576         current working directory as described above.
1577         (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument.  Update
1578         calls to normalizeWebResourceURL().
1579         (serializeWebArchiveToXML): Removed now unused cwdURL variable.  Update calls to
1580         normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
1582 2008-02-26  Robin Dunn <robin@alldunn.com>
1584         Reviewed by Kevin Ollivier.
1586         Improvements to the wx build script.
1588         http://bugs.webkit.org/show_bug.cgi?id=17492
1590         * wx/build-wxwebkit:
1591         - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
1592         - Allow the build script to properly find wxPython includes under different setups
1593         - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
1595 2008-02-26  Timothy Hatcher  <timothy@apple.com>
1597         Reviewed by Darin Adler.
1599         * Scripts/build-webkit: Add --universal and --64-bit flags to make building
1600         64-bit architectures easy. Combine the two flags to build 4-way universal.
1601         * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
1602         non-zero when the build failes.
1604 2008-02-26  Jessica Kahn  <jess@apple.com>
1606         Reviewed by Darin.
1608         * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
1609         so that Safari inherits it when launched. Preexisting code in WebKit checks this
1610         environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
1611         launched by Safari continue to use the standard system WebKit.
1613 2008-02-25  Adam Roben  <aroben@apple.com>
1615         Fix run-webkit-tests after r30394
1617         * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
1618         executable name.
1620 2008-02-24  Darin Adler  <darin@apple.com>
1622         * Scripts/do-webcore-rename: Make some updates based on a trial run of
1623         the renaming script.
1625 2008-02-24  Darin Adler  <darin@apple.com>
1627         * Scripts/do-webcore-rename: More renaming plans.
1629 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1631         Rubber stamped by Darin.
1633         Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
1634         whitespaces introduced in the previous commit.
1636         * GNUmakefile.am:
1638 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1640         Rubber-stamped by Darin.
1642         * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
1644 2008-02-23  David Kilzer  <ddkilzer@apple.com>
1646         Please clarify licensing for some files
1647         <http://bugs.webkit.org/show_bug.cgi?id=14970>
1649         Reviewed by Darin.
1651         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
1652         copyright statement.  Replaced license with newer Apple BSD-style license.
1653         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
1654         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
1655         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
1656         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
1657         * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
1658         * mangleme/LICENSE: Added (LGPL).
1660 2008-02-22  Anders Carlsson  <andersca@apple.com>
1662         Reviewed by Adam.
1664         <rdar://problem/5748781> 
1665         https://bugs.webkit.org/show_bug.cgi?id=17413
1666         REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
1667         
1668         Copy the Java plug-in over to the new location.
1669         
1670         * FindSafari/FindSafari.cpp:
1671         (_tmain):
1673 2008-02-22  Anders Carlsson  <andersca@apple.com>
1675         Reviewed by Adam.
1677         <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
1678         
1679         * DumpRenderTree/win/DumpRenderTree.cpp:
1680         (runTest):
1681         Init the URL request with the correct timeout.
1683 2008-02-21  Mike Auty  <mike.auty@gmail.com>
1685         Reviewed by Alp Toker.
1687         http://bugs.webkit.org/show_bug.cgi?id=17445
1688         [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
1690         GTK+/autotools build system improvements
1692         The GNUmakefile.am files make use of the LDFLAGS variable to include library
1693         additions such as -ljpeg etc.  Unfortunately, if these inclusions aren't made
1694         in LIBADD/LDADD variables, then they are mis-ordered during the linking.
1696         The as-needed flag discards libraries whose functions have not been needed by
1697         earlier libraries, which therefore makes the ordering important.
1699         This moves all -l library inclusion statements from LDFLAGS variables to
1700         LIBADD/LDADD variables.
1702         * GNUmakefile.am:
1704 2008-02-20  Brent Fulgham  <bfulgham@gmail.com>
1706         Reviewed by Alp.
1708         - http://bugs.webkit.org/show_bug.cgi?id=17428
1709           Reenable a Windows-based launcher
1711         This patch reenables the venerable Spinneret application,
1712         changing its name to match the other lanch applications.
1714         * WinLauncher: Added.
1715         * WinLauncher/WinLauncher.cpp: Added.
1716         (WinLauncherWebHost::updateAddressBar):
1717         (WinLauncherWebHost::QueryInterface):
1718         (WinLauncherWebHost::AddRef):
1719         (WinLauncherWebHost::Release):
1720         (resizeSubViews):
1721         (_tWinMain):
1722         (MyRegisterClass):
1723         (InitInstance):
1724         (WndProc):
1725         (MyEditProc):
1726         (About):
1727         (loadURL):
1728         * WinLauncher/WinLauncher.h: Added.
1729         (WinLauncherWebHost::WinLauncherWebHost):
1730         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
1731         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1732         (WinLauncherWebHost::didFailProvisionalLoadWithError):
1733         (WinLauncherWebHost::didCommitLoadForFrame):
1734         (WinLauncherWebHost::didReceiveTitle):
1735         (WinLauncherWebHost::didReceiveIcon):
1736         (WinLauncherWebHost::didFinishLoadForFrame):
1737         (WinLauncherWebHost::didFailLoadWithError):
1738         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
1739         (WinLauncherWebHost::willPerformClientRedirectToURL):
1740         (WinLauncherWebHost::didCancelClientRedirectForFrame):
1741         (WinLauncherWebHost::willCloseFrame):
1742         (WinLauncherWebHost::windowScriptObjectAvailable):
1743         * WinLauncher/WinLauncher.ico: Added.
1744         * WinLauncher/WinLauncher.rc: Added.
1745         * WinLauncher/WinLauncher.vcproj: Added.
1746         * WinLauncher/resource.h: Added.
1747         * WinLauncher/small.ico: Added.
1748         * WinLauncher/stdafx.cpp: Added.
1749         * WinLauncher/stdafx.h: Added.
1751 2008-02-19  Brady Eidson  <beidson@apple.com>
1753         Reviewed by Geoff
1755         Fixed a bug in DRT --threaded mode
1757         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1758         (startJavaScriptThreads): Don't detach the newly created thread.  The later call to stopJavaScriptThreads() tries
1759           to pthread_join() each thread that had been created, but you can't join a detached thread!
1761 2008-02-18  Brady Eidson  <beidson@apple.com>
1763         Changes by Geoff Garen, Reviewed by Darin
1765         Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
1767         DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
1769         [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
1770         This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread.  If the lock has leaked,
1771         this series of method calls will deadlock.  If things are good, it will complete successfully.
1773         * DumpRenderTree/mac/ObjCController.m:
1774         (runJavaScriptThread):
1775         (+[ObjCController isSelectorExcludedFromWebScript:]):
1776         (+[ObjCController webScriptNameForSelector:]):
1777         (-[ObjCController testValueForKey]):
1779 2008-02-18  Matt Lilek  <webkit@mattlilek.com>
1781         Reviewed by Adam.
1783         Remove FindSafari's Release configuration.
1785         * FindSafari/FindSafari.vcproj:
1787 2008-02-15  Adam Roben  <aroben@apple.com>
1789         Fix a typo that broke the Mac build
1791         Reviewed by Mark.
1793         * Scripts/build-webkit:
1795 2008-02-14  Adam Roben  <aroben@apple.com>
1797         Turn on cross-document messaging support by default
1799         Reviewed by Darin.
1801         * Scripts/build-webkit:
1803 2008-02-14  Adam Roben  <aroben@apple.com>
1805         Conditionalize cross-document messaging support
1807         The cross-document messaging parts of HTML 5 are in flux and we want
1808         ports to be able to turn off the support as needed.
1810         Note that the support is turned off by default right now. A subsequent
1811         commit will turn it on by default.
1813         Reviewed by Darin.
1815         * Scripts/build-webkit:
1817 2008-02-14  Darin Adler  <darin@apple.com>
1819        - fix Windows build
1821         * DumpRenderTree/win/UIDelegate.cpp:
1822         (UIDelegate::setStatusText): Update parameter types to match declaration.
1824 2008-02-14  Oliver Hunt  <oliver@apple.com>
1826         Reviewed by Geoff G and Weinig.
1828         Add ability for DRT to report tests setting the status text.
1830         * DumpRenderTree/LayoutTestController.cpp:
1831         (LayoutTestController::LayoutTestController):
1832         (dumpStatusCallbacksCallback):
1833         (LayoutTestController::staticFunctions):
1834         * DumpRenderTree/LayoutTestController.h:
1835         * DumpRenderTree/mac/UIDelegate.mm:
1836         (-[UIDelegate webView:setStatusText:]):
1837         * DumpRenderTree/win/UIDelegate.cpp:
1838         * DumpRenderTree/win/UIDelegate.h:
1840 2008-02-13  Adam Roben  <aroben@apple.com>
1842         Windows build fix
1844         * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
1846 2008-02-13  Adam Roben  <aroben@apple.com>
1848         Windows/GTK+ build fix
1850         * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
1851         get isnan.
1853 2008-02-13  Brady Eidson  <beidson@apple.com>
1855         Reviewed by Darin Adler
1857         Add some much needed Database support to DRT
1859         * DumpRenderTree/LayoutTestController.cpp:
1860         (LayoutTestController::LayoutTestController):
1861         (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
1862           databases are called
1863         (clearAllDatabasesCallback): Allow a test to delete all databases
1864         (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
1865         (LayoutTestController::staticFunctions):
1867         * DumpRenderTree/LayoutTestController.h:
1868         (LayoutTestController::dumpDatabaseCallbacks):
1869         (LayoutTestController::setDumpDatabaseCallbacks):
1871         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1872         (LayoutTestController::clearAllDatabases):
1873         (LayoutTestController::setDatabaseQuota):
1875         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1876         (LayoutTestController::clearAllDatabases): Stubbed out
1877         (LayoutTestController::setDatabaseQuota): Ditto
1878         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1879         (LayoutTestController::clearAllDatabases): Stubbed out with error message
1880         (LayoutTestController::setDatabaseQuota): Ditto
1882         * DumpRenderTree/mac/UIDelegate.mm:
1883         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
1884           message with details about the event then return a 5mb quota like before
1887 2008-02-12  Steve Falkenburg  <sfalken@apple.com>
1889         Changes to support merged MIDL output.
1891         All COM interfaces are now generated to WebKit.h.
1893         Reviewed by Sam, Ada.
1895         * Drosera/win/BaseDelegate.h:
1896         * Drosera/win/DebuggerClient.cpp:
1897         * Drosera/win/DebuggerDocumentPlatform.cpp:
1898         * Drosera/win/Drosera.cpp:
1899         * Drosera/win/ServerConnection.cpp:
1900         * Drosera/win/ServerConnection.h:
1901         * DumpRenderTree/win/DumpRenderTree.cpp:
1902         * DumpRenderTree/win/EditingDelegate.h:
1903         * DumpRenderTree/win/EventSender.cpp:
1904         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1905         * DumpRenderTree/win/FrameLoadDelegate.h:
1906         * DumpRenderTree/win/GCControllerWin.cpp:
1907         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1908         * DumpRenderTree/win/PolicyDelegate.h:
1909         * DumpRenderTree/win/ResourceLoadDelegate.h:
1910         * DumpRenderTree/win/UIDelegate.cpp:
1911         * DumpRenderTree/win/UIDelegate.h:
1912         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1914 2008-02-10  Dan Bernstein  <mitz@apple.com>
1916         Reviewed by Oliver Hunt.
1918         - fix a memory leak
1920         * DumpRenderTree/cg/ImageDiffCG.cpp:
1921         (getDifferenceBitmap): Use a static CFMutableData instead of allocating
1922         and leaking the buffer each time.
1924 2008-02-07  Adam Roben  <aroben@apple.com>
1926         Fix error in bisect-builds when responding "broken" for the first
1927         build
1929         Reviewed by Dave Kilzer.
1931         * Scripts/bisect-builds: Only try to test the build if the nightly
1932         info for the current index has not been deleted.
1934 2008-02-07  Geoffrey Garen  <ggaren@apple.com>
1936         Reviewed by Alexey Proskuryakov.
1938         Fixed two minor typos in the --root option, to get it working.
1940         * Scripts/run-sunspider:
1941             1. Actually assign the function argument to our local variable.
1942             2. Actually set the $root variable, so we don't try to build later.
1944 2008-02-05  Oliver Hunt  <oliver@apple.com>
1946         RS=Eric.
1948         Re-enable foreignObject by default as it is needed for a number of non-fO
1949         related SVG tests and none of the old known crashes occur anymore.
1951         * Scripts/build-webkit:
1953 2008-02-05  Steve Falkenburg  <sfalken@apple.com>
1955         Build fix.  Don't override intermediate directory.
1957         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1959 2008-02-05  Holger Hans Peter Freyther  <zecke@selfish.org>
1961         Build fix for Windows. willCloseFrame is a pure virtual and we are
1962         forced to have an implementation.
1963         
1964         This partially reverts r30014.
1966         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1967         (FrameLoadDelegate::willCloseFrame):
1968         * DumpRenderTree/win/FrameLoadDelegate.h:
1970 2008-02-05  Nikolas Zimmermann  <zimmermann@kde.org>
1972         Reviewed by Holger.
1974         Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
1976         * Scripts/make-js-test-wrappers:
1978 2008-02-05  Holger Freyther  <zecke@selfish.org>
1980         Reviewed by Darin.
1982         In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
1983         the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
1984         depends on the order the tests are executed.
1985         
1986         Propose to remove willCloseFrame and didlCearWindowObject output from the
1987         FrameLoadDelegate and update the test results. The output of didClearWindowObject
1988         is not interesting for any of the current tests and we have other ways to find
1989         out if a frame was closed or not.
1991         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1992         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1993         (FrameLoadDelegate::didClearWindowObject):
1994         * DumpRenderTree/win/FrameLoadDelegate.h:
1996 2008-02-04  Mark Rowe  <mrowe@apple.com>
1998         Reviewed by Oliver Hunt.
2000         Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
2001         Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
2003         Don't install the signal handler unless we are running the pixel tests.
2004         It is currently only used to restore the color profile, but by catching
2005         signals we can trigger a deadlock in DRT while running leak tests.
2006         The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
2007         and a more complete fix will need to be developed to address this for
2008         pixel tests as well.
2010         * DumpRenderTree/mac/DumpRenderTree.mm:
2011         (dumpRenderTree):
2013 2008-02-04  Mark Rowe  <mrowe@apple.com>
2015        Gtk qmake build fix.
2017         * Scripts/webkitdirs.pm:  Fix perl's complaint about an odd number of elements in anonymous hash.
2019 2008-02-04  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2021         Reviewed by Alp Toker and Mark Rowe.
2023         http://bugs.webkit.org/show_bug.cgi?id=16618
2024         [GTK] build-webkit and run-webkit-tests autootools support
2026         * Scripts/build-webkit: added --database and --icon-database options
2027         * Scripts/run-launcher:
2028         * Scripts/run-webkit-tests:
2029         * Scripts/webkitdirs.pm:
2031 2008-02-04  Oliver Hunt  <oliver@apple.com>
2033         Reviewed by Steve F.
2035         Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
2037         Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
2038         Issues include:
2039           * Uses Sleep() to implement leapForward reliably.
2040           * 3 DND tests still fail for reasons that i have not yet determined
2041           * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain 
2043         * DumpRenderTree/win/EventSender.cpp:
2044         (leapForwardCallback):
2045         (mouseDownCallback):
2046         (doMouseUp):
2047         (mouseUpCallback):
2048         (doMouseMove):
2049         (mouseMoveToCallback):
2050           Minor updates to these functions to handle the different message queue structure.
2052         (replaySavedEvents):
2053           More complicated now.  Where possible we just use the old while-loop model of execution,
2054           but when leapForward has been used we have to jump through some hoops and set up an 
2055           inner event loop so that we can ensure messages get the correct time stamp.
2057         * DumpRenderTree/win/UIDelegate.cpp:
2058         (UIDelegate::doDragDrop):
2059           Call replaySavedEvents directly to force synchronous handling of drag and drop.
2061 2008-02-04  Rodney Dawes  <dobey@wayofthemonkey.com>
2063         Reviewed by Alp Toker and Mark Rowe.
2065         Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
2066         Bug 17175: Use of C++ compiler flags in CFLAGS
2068         * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
2070 2008-02-04  Darin Adler  <darin@apple.com>
2072         Reviewed by Geoff.
2074         * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
2075         and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
2076         subdirectory.
2078 2008-02-04  Adam Roben  <aroben@apple.com>
2080         Windows Apple-only build fix
2082         * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
2083         directory.
2085 2008-02-04  Alp Toker  <alp@atoker.com>
2087         Rubber-stamped by Mark Rowe.
2089         Remove all trailing whitespace in the GTK+ port and related
2090         components.
2092         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2093         * DumpRenderTree/gtk/GCControllerGtk.cpp:
2094         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2095         * GNUmakefile.am:
2097 2008-02-01  Eric Seidel  <eric@webkit.org>
2099         Reviewed by Oliver.
2101         Also search LayoutTests/svg for js-based tests.
2103         * Scripts/make-js-test-wrappers:
2105 2008-01-31  Alp Toker  <alp@atoker.com>
2107         Rubber-stamped by Adam Roben.
2109         http://bugs.webkit.org/show_bug.cgi?id=17006
2110         [GTK] Header path should be webkit/webkit.h
2112         Move the GTK+ API sources as needed and update the build systems.
2114         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2115         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2116         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2117         * GNUmakefile.am:
2118         * GtkLauncher/main.c:
2120 2008-01-30  Stephanie  <slewis@apple.com>
2122         Reviewed by Geoff.
2124         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.
2126         * Scripts/run-webkit-tests:
2128 2008-01-30  Alexey Proskuryakov  <ap@webkit.org>
2130         Reviewed by Adam Roben.
2132         One more debug (external) fix.
2134         * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
2135         and Debug configurations. 
2137 2008-01-29  Geoffrey Garen  <ggaren@apple.com>
2139         Reviewed by Sam Weinig. Sam Weinig.
2140         
2141         Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
2142         fails when run after fast/dom/Window/window-property-shadowing.html (16902)
2144         Modified our policy delegates not to output window.name. Since a
2145         previous test may have explicitly set window.name, we can't rely on its
2146         implicit value in test results.
2148         * DumpRenderTree/mac/PolicyDelegate.mm:
2149         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2151         * DumpRenderTree/win/PolicyDelegate.cpp:
2152         (PolicyDelegate::decidePolicyForNavigationAction):
2154 2008-01-29  Mark Rowe  <mrowe@apple.com>
2156         Reviewed by Tim Hatcher.
2158         <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).
2160         * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
2162 2008-01-29  David Kilzer  <ddkilzer@apple.com>
2164         Refactor ChangeLog path code
2166         Reviewed by Adam.
2168         * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
2169         duplicate code in another foreach() loop.
2171 2008-01-29  Alexey Proskuryakov  <ap@webkit.org>
2173         Reviewed by Darin.
2175         <rdar://problem/5710692> All storage tests fail/crash
2177         * DumpRenderTree/mac/UIDelegate.mm:
2178         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
2179         arbitrary quota of 5 megabytes.
2181         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2182         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2183         Removed unused (I think) code.
2184         
2185         * DumpRenderTree/win/UIDelegate.cpp:
2186         (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
2187         (UIDelegate::webViewPainted): A stub implementation.
2188         (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
2189         * DumpRenderTree/win/UIDelegate.h:
2191 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2193         GTK+ DRT build fix for breakage introduced in r29822.
2195         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2196         (LayoutTestController::setPersistentUserStyleSheetLocation):
2197         (LayoutTestController::clearPersistentUserStyleSheet):
2199 2008-01-27  Dan Bernstein  <mitz@apple.com>
2201         Reviewed by Darin Adler.
2203         - add support for directory prologues and epilogues to run-webkit-tests
2204         - allow setting a persistent user style sheet in DumpRenderTree
2205         - activate the WebKit Layout Tests font in Windows DumpRenderTree
2207         * DumpRenderTree/LayoutTestController.cpp:
2208         (clearPersistentUserStyleSheetCallback): Added.
2209         (setPersistentUserStyleSheetLocationCallback): Added.
2210         (LayoutTestController::staticFunctions): Added.
2211         clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
2212         * DumpRenderTree/LayoutTestController.h:
2213         * DumpRenderTree/mac/DumpRenderTree.mm:
2214         (setPersistentUserStyleSheetLocation): Added.
2215         (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
2216         to the set of things this function resets. Now it either disables the
2217         user style sheet or sets it to the persistent user style sheet and
2218         enables it.
2219         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2220         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2221         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2222         (LayoutTestController::clearPersistentUserStyleSheet): Added.
2223         * DumpRenderTree/win/DumpRenderTree.cpp:
2224         (setPersistentUserStyleSheetLocation): Added.
2225         (initialize): Added the WebKit Layout Tests font to the set of fonts to
2226         install.
2227         (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
2228         * DumpRenderTree/win/DumpRenderTreeWin.h:
2229         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2230         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2231         (LayoutTestController::clearPersistentUserStyleSheet): Added.
2232         * Scripts/run-webkit-tests: Changed to look for, and if found process in
2233         DumpRenderTree, files named run-webkit-tests-prologue.html and
2234         run-webkit-tests-epilogue.html in the resources subdirectory of any
2235         test directory and platform test results directory. The prologues are
2236         processed before the first test from the directory (and its
2237         subdirectories) is run, and the epilogues are processed after the last
2238         test from the directory is run. Platform-specific prologues and
2239         epilogues are processed in order of specificity.
2241 2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
2243         Reviewed by Mark Rowe.
2245         <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
2247         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
2248         (matching Mac DRT).
2249         * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
2251 2008-01-24  Sam Weinig  <sam@webkit.org>
2253         Reviewed by Ada Chan.
2255         Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
2257         - Adds simplified UndoManager to windows DRT to allow testing the
2258           undo/redo code paths in WebCore and WebKit.  This is a temporary
2259           solution to an issue that should eventually be solved by having a
2260           shared UndoManager in WebKit.
2262         * DumpRenderTree/win/DumpRenderTree.cpp:
2263         (runTest):
2264         * DumpRenderTree/win/UIDelegate.cpp:
2265         (DRTUndoObject::DRTUndoObject):
2266         (DRTUndoObject::invoke):
2267         (DRTUndoStack::~DRTUndoStack):
2268         (DRTUndoStack::isEmpty):
2269         (DRTUndoStack::clear):
2270         (DRTUndoStack::push):
2271         (DRTUndoStack::pop):
2272         (DRTUndoManager::canRedo):
2273         (DRTUndoManager::canUndo):
2274         (DRTUndoManager::DRTUndoManager):
2275         (DRTUndoManager::removeAllActions):
2276         (DRTUndoManager::registerUndoWithTarget):
2277         (DRTUndoManager::redo):
2278         (DRTUndoManager::undo):
2279         (UIDelegate::UIDelegate):
2280         (UIDelegate::resetUndoManager):
2281         (UIDelegate::registerUndoWithTarget):
2282         (UIDelegate::removeAllActionsWithTarget):
2283         (UIDelegate::setActionTitle):
2284         (UIDelegate::undo):
2285         (UIDelegate::redo):
2286         (UIDelegate::canUndo):
2287         (UIDelegate::canRedo):
2288         * DumpRenderTree/win/UIDelegate.h:
2290 2008-01-23  Adam Roben  <aroben@apple.com>
2292         Allow directories containing ChangeLogs to be passed to
2293         resolve-ChangeLogs
2295         Reviewed by David Kilzer.
2297         * Scripts/resolve-ChangeLogs:
2298         (sub findChangeLog): Return a ChangeLog contained within the specified
2299         directory if one exists.
2301 2008-01-23  Steve Falkenburg  <sfalken@apple.com>
2303         <rdar://problem/5698732> Copyright strings should include 2008
2305         Reviewed by Sam.
2307         * Drosera/win/Drosera.vcproj/Drosera.rc:
2308         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
2310 2008-01-23  Alp Toker  <alp@atoker.com>
2312         Rubber-stamped by Mark Rowe.
2314         Remove whitespace after -I in automake include lists.
2316         * GNUmakefile.am:
2318 2008-01-23  Michael Goddard <michael.goddard@trolltech.com>
2320         Reviewed by Lars Knoll <lars@trolltech.com>.
2322         Reworked the JavaScriptCore Qt bindings:
2323         
2324         * Update JS DRT controller for Qt JS binding changes.
2325         There were two functions that needed some changes
2326         so that the layout tests would work, so this makes
2327         a few tests pass again.
2328         
2329         * Bump the timeout for layout tests up to 11s.
2330         At least some tests have an internal timeout of
2331         10 seconds, so make the waitUntilDone approach
2332         wait at least 11s.  fast/dom/open-and-close-by-DOM.html
2333         is one of these - now the failure message is more
2334         accurate.
2335         
2337         * DumpRenderTree/qt/jsobjects.cpp:
2338         (LayoutTestController::waitUntilDone):
2339         * DumpRenderTree/qt/jsobjects.h:
2341 2008-01-22  Anders Carlsson  <andersca@apple.com>
2343         Reviewed by Darin and Adam.
2345         <rdar://problem/5688975>
2346         div element on microsoft site has wrong left offset.
2347         
2348         Add new method for testing the return vale of NPN_GetProperty.
2349         
2350         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2351         (pluginInvoke):
2353 2008-01-22  Alexey Proskuryakov  <ap@webkit.org>
2355         Reviewed by Adam Roben.
2357         <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
2359         * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
2361 2008-01-21  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2363         Reviewed by Alp Toker.
2365         http://bugs.webkit.org/show_bug.cgi?id=16955
2366         Get errors when cross-compile webkit-gtk
2368         * GNUmakefile.am: Removed ICU_CFLAGS 
2370 2008-01-21  Darin Adler  <darin@apple.com>
2372         Reviewed by Mitz and Adam.
2374         * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
2375         sorting speed by doing all sort criteria in a single pass instead of three sorts.
2377 2008-01-21  Simon Hausmann  <hausmann@webkit.org>
2379         Reviewed by Holger.
2381         Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
2382         
2383         * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
2384         * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
2385         and make the return value depend on whether we successfully determined a focusable
2386         node or not.
2387         * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
2388         if we could not handle the focus chain ourselves.
2389         * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
2390         * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
2391         used to control the situation of stepping out of the focus chain inside the page.
2392         * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
2393         The layout tests expect this to be disabled but for the user it seems sensible to have it
2394         on by default, hence the default in qwebsettings.cpp
2395         
2397         * DumpRenderTree/qt/DumpRenderTree.cpp:
2398         (WebCore::WebPage::WebPage):
2400 2008-01-19  Mark Rowe  <mrowe@apple.com>
2402         Reviewed by Alp Toker.
2404         Allow the --http flag to run-webkit-tests to override
2405         the default behaviour of disabling HTTP tests for Qt,
2406         Gtk and Wx.
2408         * Scripts/run-webkit-tests:
2410 2008-01-19  David Kilzer  <ddkilzer@apple.com>
2412         <rdar://problem/5695344> check-for-global-initializers script never checks any object files
2414         Reviewed by Darin.
2416         We now touch a check-for-global-initializers.timestamp file in
2417         the TARGET_TEMP_DIR directory to determine when new object files
2418         have been compiled and thus need to be checked.  If the timestamp
2419         file doesn't exist, all object files will be checked.
2421         Previously the modification time of the "executable" (the
2422         framework binary, e.g., WebKit.framework/WebKit) was used, but
2423         since this was the last file modified at the end of the compile
2424         phase, no object files would ever get checked!
2426         Also added JSCustomSQLTransactionCallback.o to the list of files
2427         since it has static initializers in Debug builds of WebCore.
2429         * Scripts/check-for-global-initializers:
2431 2008-01-18  Adam Roben  <aroben@apple.com>
2433         Build fix
2435         * Scripts/build-webkit:
2437 2008-01-18  Beth Dakin  <bdakin@apple.com>
2439         Reviewed by Oliver.
2441         Update build-webkit to account for foreign-object being disabled by 
2442         default.
2444         * Scripts/build-webkit:
2446 2008-01-18  Adam Roben  <aroben@apple.com>
2448         Updated for method renames
2450         Reviewed by Adele.
2452         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2453         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2454         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2455         (LayoutTestController::setMainFrameIsFirstResponder):
2456         (LayoutTestController::setWindowIsKey):
2457         * DumpRenderTree/mac/UIDelegate.mm:
2458         (-[UIDelegate webViewFocus:]):
2459         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2460         (FrameLoadDelegate::didCommitLoadForFrame):
2462 2008-01-18  Alexey Proskuryakov  <ap@webkit.org>
2464         Reviewed by Adam Roben.
2466         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
2467         between DRT and TestNetscapePlugin.
2469         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
2470         * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
2472 2008-01-18  Simon Hausmann  <hausmann@webkit.org>
2474         Reviewed by Holger.
2476         Fix fast/dom/Window/window-resize.html
2477         
2478         In DRT connect the page's geometryChangeRequest signal to a slot that
2479         sets the geometry of the view widget.
2480         
2482         * DumpRenderTree/qt/DumpRenderTree.cpp:
2483         (WebCore::WebPage::setViewGeometry):
2484         (WebCore::WebPage::WebPage):
2486 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2488         Build fix.
2490         * Drosera/DroseraWin.make:
2492 2008-01-17  Darin Adler  <darin@apple.com>
2494         * Scripts/run-webkit-tests: Fixed a bug number.
2496 2008-01-17  Alexey Proskuryakov  <ap@webkit.org>
2498         Reviewed by Adam Roben.
2500         http://bugs.webkit.org/show_bug.cgi?id=16908
2501         run-webkit-tests complains about missing FindSafari.exe
2503         * Scripts/webkitdirs.pm: Append _debug as appropriate.
2505 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2507         Re-add DEBUG_WEBKIT_HAS_SUFFIX.
2508         
2509         Rubber-stamped by Jon Honeycutt.
2511         * DumpRenderTree/win/DumpRenderTree.vcproj:
2513 2008-01-16  Alp Toker  <alp@atoker.com>
2515         Reviewed by Mark Rowe.
2517         http://bugs.webkit.org/show_bug.cgi?id=16218
2518         [GTK] API: Should this entry point be called go_back rather than go_backward?
2520         Track back/forward API changes in the tools.
2522         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2523         (BackForwardItem::invoke):
2524         * GtkLauncher/main.c:
2525         (go_back_cb):
2527 2008-01-16  Adam Roben  <aroben@apple.com>
2529         Windows build fix after r29488
2531         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2532         Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
2533         expects to find the plugin.
2535 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2537         Reviewed by Sam Weinig.
2538         
2539         Fixed the waitUntilDone watchdog timer -- the old code never added the
2540         timer to the run loop, so it didn't do anything.
2542         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2543         (LayoutTestController::setWaitToDump):
2544         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2545         (LayoutTestController::setWaitToDump):
2547 2008-01-14  Steve Falkenburg  <sfalken@apple.com>
2549         Use shared vsprops for most vcproj properties.
2550         
2551         Reviewed by Darin.
2553         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2554         * DumpRenderTree/win/DumpRenderTree.vcproj:
2555         * DumpRenderTree/win/ImageDiff.vcproj:
2556         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2557         * FindSafari/FindSafari.vcproj:
2559 2008-01-14  Stephanie  <slewis@apple.com>
2561        Reviewed by NOBODY.
2562   
2563        revert accidental character.
2565        * Scripts/run-webkit-tests:
2567 2008-01-14  Stephanie  <slewis@apple.com>
2569         RS=Oliver
2571         add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
2573         * Scripts/run-webkit-tests:
2575 2008-01-14  Darin Adler  <darin@apple.com>
2577         * Scripts/do-webcore-rename: Queue up another rename.
2579 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2581         Reviewed by Darin.
2583         * Allow to run the tests in reverse order to spot test cases where the result depends on the order
2584         the tests were ran.
2585         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2587         * Scripts/run-webkit-tests:
2589 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2591         Reviewed by Darin.
2593         * Randomize tests array to spot test cases where the results depends on the order
2594         the tests are ran.
2595         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2597         * Scripts/run-webkit-tests:
2599 2008-01-14  Darin Adler  <darin@apple.com>
2601         * Scripts/run-webkit-tests: More ignore list tweaking.
2603 2008-01-14  Darin Adler  <darin@apple.com>
2605         * Scripts/run-webkit-tests: Add another leak to the ignore list.
2607 2008-01-14  Dan Bernstein  <mitz@apple.com>
2609         Reviewed by Adam Roben.
2611         - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
2612           build bots
2614         * DumpRenderTree/win/DumpRenderTree.cpp:
2615         (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
2617 2008-01-13  Steve Falkenburg  <sfalken@apple.com>
2619         Share common files across projects.
2620         
2621         Unify vsprops files
2622         Debug:          common.vsprops, debug.vsprops
2623         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
2624         Release:        common.vsprops, release.vsprops
2625         
2626         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
2627         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
2629         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
2631         Reviewed by Adam Roben.
2633         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2634         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
2635         * Drosera/win/Drosera.vcproj/VERSION: Removed.
2636         * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
2637         * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
2638         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
2639         * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
2640         * DumpRenderTree/win/DumpRenderTree.vcproj:
2641         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2642         * DumpRenderTree/win/debug.vsprops: Removed.
2643         * DumpRenderTree/win/debug_internal.vsprops: Removed.
2644         * DumpRenderTree/win/release.vsprops: Removed.
2646 2008-01-13  Brent Fulgham  <bfulgham@gmail.com>
2648         Reviewed by Maciej.
2650         - http://bugs.webkit.org/show_bug.cgi?id=16314
2651           Script to launch Drosera
2653         * Scripts/gdb-drosera: Added.
2654         * Scripts/run-drosera: Added.
2655         * Scripts/run-drosera-nightly.cmd: Added.
2656         * Scripts/webkitdirs.pm: Added runDrosera function.
2658 2008-01-13  Dan Bernstein  <mitz@apple.com>
2660         - fix breakage due to last-minute change
2662         * DumpRenderTree/win/DumpRenderTree.cpp:
2663         (runTest): Declare the loop variable.
2665 2008-01-13  Dan Bernstein  <mitz@apple.com>
2667         Reviewed by Adam Roben.
2669         - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
2671         * DumpRenderTree/win/DumpRenderTree.cpp:
2672         (DumpRenderTreeWndProc):
2673         (initialize):
2674         (dumpBackForwardList):
2675         (dumpBackForwardListForAllWindows):
2676         (dump):
2677         (resetWebViewToConsistentStateBeforeTesting): Factored out of
2678         runTest().
2679         (runTest):
2680         (allWindows): Added. Returns a vector of all open windows.
2681         (windowToWebViewMap): Added. Returns a map from open windows to their
2682         WebViews.
2683         (createWebViewAndOffscreenWindow): Factored out of main() to be
2684         reusable for creating extra windows.
2685         (main):
2686         * DumpRenderTree/win/DumpRenderTreeWin.h:
2687         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2688         (LayoutTestController::windowCount): Implemented.
2689         * DumpRenderTree/win/UIDelegate.cpp:
2690         (UIDelegate::createWebViewWithRequest): Implemented.
2691         (UIDelegate::webViewClose): Implemented.
2692         * DumpRenderTree/win/UIDelegate.h:
2694 2008-01-12  Alp Toker  <alp@atoker.com>
2696         Reviewed by Mark Rowe.
2698         Hide non-public symbols in GTK+/autotools release builds.
2700         * GNUmakefile.am:
2702 2008-01-12  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2704         Reviewed by Ap.
2706         * Make launching of the WebKit httpd work on GNU/Debian/Linux
2707         
2708         The configuration of Apache2 and installation does not depend on
2709         the kernel but on the distribution policy. Make launching of httpd
2710         work for Debian derived distributions.
2712         * Scripts/run-webkit-httpd:
2713         * Scripts/run-webkit-tests:
2714         * Scripts/webkitdirs.pm:
2716 2008-01-12  Mark Rowe  <mrowe@apple.com>
2718         Reviewed by Maciej Stachowiak.
2720         Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
2722         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
2723         match the callers expectations that it can take ownership of the string.
2725 2008-01-11  Alexey Proskuryakov  <ap@webkit.org>
2727         Reviewed by Adam Roben.
2729         <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
2731         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
2732         as these are only posted because the test window is not a normal visible one, and
2733         they confuse drag&drop machinery.
2735 2008-01-11  Adam Roben  <aroben@apple.com>
2737         Fix a crash when pathToLocalResource fails and a leak
2739         Reviewed by Darin.
2741         * DumpRenderTree/LayoutTestController.cpp:
2742         (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
2743         sure not to pass null to JSValueMakeString.
2744         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2745         (LayoutTestController::pathToLocalResource): Print an error message if
2746         the conversion fails so it's clear what happened.
2748 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2750         Reviewed by John Sullivan.
2752         * DumpRenderTree/mac/GCControllerMac.mm:
2753         (GCController::collectOnAlternateThread): Updated for name change.
2755 2008-01-10  Kevin Ollivier  <kevino@theolliviers.com>
2757         wx build fix. Don't build dftables any longer since it's now a Perl
2758         script.
2760         * wx/build-wxwebkit:
2762 2008-01-10  Sam Weinig  <sam@webkit.org>
2764         Reviewed by Anders Carlsson.
2766         Make DRT track open windows instead of allocated windows so that
2767         we can avoid ASSERTION due to late deallocs out of our control.
2769         * DumpRenderTree/mac/DumpRenderTree.mm:
2770         (dumpBackForwardListForAllWindows):
2771         (runTest):
2772         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2773         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2774         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2775         (+[DumpRenderTreeWindow openWindows]):
2776         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2777         (-[DumpRenderTreeWindow close]):
2778         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2779         (LayoutTestController::windowCount):
2781 2008-01-10  Ada Chan  <adachan@apple.com>
2783         Meta key is not the same as Alt key on windows.
2785         Reviewed by Darin.
2787         * DumpRenderTree/win/EventSender.cpp:
2788         (keyDownCallback):
2790 2008-01-09  Kevin McCullough  <kmccullough@apple.com>
2792         Reviewed by Darin, Sam and Adam.
2794         -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
2795         link in gmail message displays JavaScript alert falsely complaining
2796         about pop-up blocking.
2797         - Added the ability to enable the pop-up blocker via the
2798         LayoutTestController.
2800         * DumpRenderTree/LayoutTestController.cpp:
2801         (setPopupBlockingEnabledCallback):
2802         (LayoutTestController::staticFunctions):
2803         * DumpRenderTree/LayoutTestController.h:
2804         * DumpRenderTree/mac/DumpRenderTree.mm:
2805         (setDefaultsToConsistentValuesForTesting):
2806         (resetWebViewToConsistentStateBeforeTesting):
2807         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2808         (LayoutTestController::setPopupBlockingEnabled):
2810 2008-01-10  Lars Knoll  <lars@trolltech.com>
2812         Reviewed by Simon.
2814         rename QWebPageHistory to QWebHistory.
2815         
2817         * DumpRenderTree/qt/jsobjects.cpp:
2819 2008-01-09  Maciej Stachowiak  <mjs@apple.com>
2821         Reviewed by Darin.
2822         
2823         - add some more renames, adjust some
2825         * Scripts/do-webcore-rename:
2827 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
2829         Reviewed by Oliver.
2831         Enable SVG Fonts support by default.
2833         * Scripts/build-webkit:
2835 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
2837         Reviewed by Adam.
2839         Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
2840         DRT doesn't handle platform specific pixel test results correctly.
2842         <test>-expected.txt files and <test>-expected.png files may now live
2843         in different directories (ie. a cross-platform <test>-expected.txt file
2844         and a platform-specific <test>-expected.png file).
2846         * Scripts/run-webkit-tests:
2848 2008-01-04  Kevin McCullough  <kmccullough@apple.com>
2850         Reviewed by Darin.
2852         - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
2853         DRT did not correctly handle printing the '\0' char.  Now it does.
2855         * DumpRenderTree/win/DumpRenderTree.cpp:
2856         (dumpFramesAsText):
2857         (dump):
2859 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
2861         Reviewed by Lars.
2863         Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
2864         
2866         * DumpRenderTree/qt/main.cpp:
2867         * DumpRenderTree/qt/testplugin.cpp:
2868         * DumpRenderTree/qt/testplugin.h:
2870 2008-01-05  Mark Rowe  <mrowe@apple.com>
2872         Reviewed by Alp Toker.
2874         Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
2876         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2877         (processWork): Process pending work.
2878         (webViewLoadFinished): Schedule processing of pending work.
2879         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
2881 2008-01-05  Darin Adler  <darin@apple.com>
2883         * Scripts/do-webcore-rename: Some more renaming plans.
2885 2008-01-04  Alice Liu  <alice.liu@apple.com>
2887         Reviewed by Alexey and Darin.
2889         Adding "home" and "end" to DRT's keydown since
2890         DOM key events can't handle keyIdentifiers at this point. 
2892         * DumpRenderTree/mac/EventSendingController.mm:
2893         (-[EventSendingController keyDown:withModifiers:]):
2894         * DumpRenderTree/win/EventSender.cpp:
2895         (keyDownCallback):
2897 2008-01-04  Lars Knoll  <lars@trolltech.com>
2899         Reviewed by Simon.
2901         fix DRT after the changes to QWebPage.
2902         
2903         The great thing is that we actually don't have
2904         any regressions from the QWebPage change :)
2905         
2907         * DumpRenderTree/qt/DumpRenderTree.cpp:
2908         (WebCore::DumpRenderTree::DumpRenderTree):
2910 2008-01-04  Lars Knoll  <lars@trolltech.com>
2912         Reviewed by Simon.
2914         make QWebPage a QObject and get things to compile.
2915         
2916         Nothing works currently though.
2917         
2919         * DumpRenderTree/qt/DumpRenderTree.cpp:
2920         (WebCore::DumpRenderTree::DumpRenderTree):
2922 2008-01-04  Lars Knoll  <lars@trolltech.com>
2924         Reviewed by Simon.
2926         take a QString as identifier in QWebFrame::addToJSWindowObject.
2928         * DumpRenderTree/qt/DumpRenderTree.cpp:
2929         (WebCore::DumpRenderTree::initJSObjects):
2931 2008-01-04  Alp Toker  <alp@atoker.com>
2933         GTK+ DRT build fix for breakage introduced in r29149.
2935         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2936         (LayoutTestController::execCommand):
2938 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
2940         Reviewed by Darin.
2942         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
2944         Added layoutTestController.execCommand to access editor commands that are not available
2945         via document.execCommand.
2947         * DumpRenderTree/LayoutTestController.cpp:
2948         (execCommandCallback):
2949         (LayoutTestController::staticFunctions):
2950         * DumpRenderTree/LayoutTestController.h:
2951         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2952         (LayoutTestController::execCommand):
2953         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2954         (LayoutTestController::queueLoad):
2955         (LayoutTestController::execCommand):
2957 2008-01-03  Alice Liu  <alice.liu@apple.com>
2959         Reviewed by Darin, Mitz.
2961         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
2963         the clickcount should not increase if the last click was at a different location.  it's a new click.
2965         * DumpRenderTree/mac/DumpRenderTree.mm:
2966         (runTest):
2967         * DumpRenderTree/mac/EventSendingController.h:
2968         * DumpRenderTree/mac/EventSendingController.mm:
2969         (-[EventSendingController mouseDown]):
2970         (-[EventSendingController mouseUp]):
2972 2008-01-03  Darin Adler  <darin@apple.com>
2974         Reviewed by Adam.
2976         * Scripts/update-webkit: Make this work a little better for the people at Apple
2977         who have a directory named Internal.
2979 2008-01-03  Adam Roben  <aroben@apple.com>
2981         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
2983         Rubberstamped by Mark.
2985         * Scripts/update-webkit-auxiliary-libs:
2987 2008-01-03  Adam Roben  <aroben@apple.com>
2989         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
2991         http://bugs.webkit.org/show_bug.cgi?id=15663
2993         Added a fuzz factor into the Last-Modified comparison for downloading
2994         WebKitAuxiliaryLibrary.zip.
2996         The zip file is served from a set of mirrors who give Last-Modified
2997         times that are off by 1-3 seconds from each other. This was causing
2998         the build bots to redownload WebKitAuxiliaryLibrary for every build,
2999         which would then cause all of WebCore to rebuild each time.
3001         Reviewed by Mark.
3003         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
3004         at least 30 seconds newer than the old one -- otherwise we assume that
3005         the difference in time is due to the mirrors being slightly offset
3006         from each other.
3007         (sub lastModifiedToUnixTime): Added.
3009 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
3011         Windows build fix.
3013         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
3015 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
3017         Reviewed by Lars.
3019         Moved QWebPage::open to QWebFrame::load and added setHtml.
3020         
3022         * DumpRenderTree/qt/DumpRenderTree.cpp:
3023         (WebCore::DumpRenderTree::open):
3025 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
3027         Reviewed by Lars.
3029         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
3030         
3032         * DumpRenderTree/qt/DumpRenderTree.cpp:
3033         (WebCore::DumpRenderTree::DumpRenderTree):
3035 2008-01-02  Sam Weinig  <sam@webkit.org>
3037         * Scripts/do-webcore-rename: Yet more renaming ideas.
3039 2008-01-02  Darin Adler  <darin@apple.com>
3041         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
3043 2008-01-02  Alice Liu  <alice.liu@apple.com>
3045         Reviewed by Sam Weinig.
3047         fixing assertion hit with editing/selection/move-begin-end.html
3049         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
3050         * DumpRenderTree/win/DumpRenderTree.vcproj:
3051         * DumpRenderTree/win/EventSender.cpp:
3052         (keyDownCallback):
3053         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
3055 2008-01-02  Darin Adler  <darin@apple.com>
3057         * Scripts/do-webcore-rename: Some more name change plans.
3059 2008-01-02  Alice Liu  <alice.liu@apple.com>
3061         Reviewed by Maciej.
3063         Added handling for page up and page down in EventSender
3065         * DumpRenderTree/mac/EventSendingController.mm:
3066         (-[EventSendingController keyDown:withModifiers:]):
3067         * DumpRenderTree/win/EventSender.cpp:
3068         (keyDownCallback):
3070 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
3072         Reviewed by Darin.
3074         Fix fast/events/arrow-keys-on-body.html for real.
3076         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
3078 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
3080         Reviewed by Darin.
3082         http://bugs.webkit.org/show_bug.cgi?id=16674
3083         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
3085         * Scripts/run-launcher:
3087 2007-12-31  Darin Adler  <darin@apple.com>
3089         Suggested by Antti.
3091         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
3092         we get it installed on the build bots.
3094 2007-12-30  Eric Seidel  <eric@webkit.org>
3096         Reviewed by Sam.
3098         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
3100 2007-12-29  Darin Adler  <darin@apple.com>
3102         Reviewed by Oliver.
3104         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
3105           leak bot shows createCStringFromNPVariant result leaking
3107         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3108         (pluginInvoke): Added a missing free.
3110 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
3112         Reviewed by Alp Toker.
3114         http://bugs.webkit.org/show_bug.cgi?id=16390
3115         Use autotools or GNU make as the build system for the GTK port
3117         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
3118         * GNUmakefile.am: Added.
3120 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
3122         Reviewed by Oliver.
3124         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
3126         * DumpRenderTree/win/EventSender.cpp:
3127         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
3128         of 1, even though WebKit currently ignores it.
3130 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
3132         wx buildbot fix. Update libpng dl script to the latest version.
3134         * wx/install-unix-extras:
3136 2007-12-22  Antti Koivisto  <antti@apple.com>
3138         Fix a typo.
3140         * Scripts/webkitdirs.pm:
3142 2007-12-21  Sam Weinig  <sam@webkit.org>
3144         Reviewed by Mark Rowe.
3146         - Disable the back/forward cache using the new WebPreferences API
3147           instead of through the BackForwardList.  This makes us match what
3148           we do on Windows.
3150         * DumpRenderTree/mac/DumpRenderTree.mm:
3151         (createWebViewAndOffscreenWindow):
3152         (setDefaultsToConsistentValuesForTesting):
3154 2007-12-21  Dan Bernstein  <mitz@apple.com>
3156         Reviewed by Mark Rowe.
3158         - disable the back/forward cache in Windows DumpRenderTree. It is
3159           already disabled in Mac DumpRenderTree.
3161         * DumpRenderTree/win/DumpRenderTree.cpp:
3162         (initializePreferences):
3164 2007-12-13  Antti Koivisto  <antti@apple.com>
3166         Reviewed by Darin and Steve.
3167         
3168         - check for QuickTime SDK on Windows.
3169         - build media support on Windows by default
3171         * Scripts/build-webkit:
3172         * Scripts/webkitdirs.pm:
3174 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
3176         Build script fix for buildbot.
3178         * wx/build-wxwebkit:
3180 2007-12-20  Eric Seidel  <eric@webkit.org>
3182         Reviewed by mjs.
3184         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
3186 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
3188         Reviewed by Steve.
3190         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
3191         WebKit.
3193         - Drosera and Safari need to use the same ProgIDs in order for
3194         CoCreateInstance to work properly.  The most robust way to do this is
3195         for WebKit to dynamically publish those ProgIDs.
3197         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
3198         (DebuggerClient::createWebViewWithRequest):
3199         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
3200         statics.
3201         (Drosera::initUI):
3202         (Drosera::attach):
3203         (Drosera::attemptToCreateServerConnection):
3204         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
3205         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
3206         make use of the published ProgIDs.
3207         (ServerConnection::attemptToCreateServerConnection):
3209 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
3211         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
3212         - Build bot and leak fix.
3214         * DumpRenderTree/LayoutTestController.cpp:
3215         (pathToLocalResourceCallback):
3217 2007-12-19  David Kilzer  <ddkilzer@apple.com>
3219         Make svn-apply/svn-unapply work with patches from git-format-patch.
3221         Reviewed by Darin.
3223         * Scripts/svn-apply:
3224         (patch): If 'Index:' can't be found in the text passed in, print it
3225         out with a warning and return early.
3226         * Scripts/svn-unapply:
3227         (patch): Ditto.
3229 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
3231         Reviewed by Alp Toker.
3233         Build related fixes.
3235         * wx/build-wxwebkit:
3236         - Check to make sure the user is running a supported wx port
3237         - More robust checks for Cygwin
3238         - Only run install-unix-extras on Mac, it's not the right solution
3239           for Linux distros.
3240         - Remove outdated Linux instructions after successful build
3241         - Clean Bakefile-generated files during a clean operation
3243 2007-12-18  Darin Adler  <darin@apple.com>
3245         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
3247 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
3249         Add script to run Drosera as part of the nightly.
3250         
3251         Reviewed by Kevin M.
3253         * Scripts/run-drosera.cmd: Added.
3255 2007-12-18  Darin Adler  <darin@apple.com>
3257         * Scripts/do-webcore-rename: Remove a stray K.
3259 2007-12-18  Darin Adler  <darin@apple.com>
3261         * Scripts/do-webcore-rename: Plan more renaming.
3263 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
3265         Reviewed by Alp Toker.
3267         http://bugs.webkit.org/show_bug.cgi?id=16042
3268         [GTK] Eliminate webkit_init()
3270         Moving webkit initialization to WebView class init.
3272         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3273         (main):
3274         * GtkLauncher/main.c:
3275         (main):
3277 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
3279         Reviewed by Alp Toker.
3281         http://bugs.webkit.org/show_bug.cgi?id=13542
3282         gdklauncher doesnt change URL in adress GTKEntry.
3284         * GtkLauncher/main.c:
3285         (load_commit_cb): added
3286         (title_change_cb):
3287         (create_browser):
3289 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
3291         Reviewed by Adam Roben.
3293         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
3295         * FindSafari/FindSafari.cpp:
3296         (_tmain):
3298 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
3300         Reviewed by Adam Roben.
3302         http://bugs.webkit.org/show_bug.cgi?id=16315
3303         FindSafari needs a path-only option.
3305         * FindSafari/FindSafari.cpp:
3306         (_tmain):
3308 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
3310         Reviewed by Darin.
3312         http://bugs.webkit.org/show_bug.cgi?id=16462
3313         REGRESSION: access keys broken on Windows
3315         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
3316         if Alt is pressed.
3318 2007-12-15  Sam Weinig  <sam@webkit.org>
3320         Reviewed by Mark Rowe.
3322         Fix urlSuitableForTestResult to correctly identify wstring::npos as
3323         the case when wstring.find doesn't find anything.
3325         * DumpRenderTree/win/DumpRenderTree.cpp:
3326         (urlSuitableForTestResult):
3328 2007-12-15  Alp Toker  <alp@atoker.com>
3330         GTK+ DRT build fix for GLib < 2.14.
3332         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3333         (LayoutTestController::setWaitToDump):
3335 2007-12-05  Mark Rowe  <mrowe@apple.com>
3337         Reviewed by Alp Toker.
3339         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
3340         many layout tests from hanging while waiting on user responses to dialogs.
3342         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3343         (invalidateAnyPreviousWaitToDumpWatchdog):
3344         (webViewScriptAlert):
3345         (webViewScriptPrompt):
3346         (webViewScriptConfirm):
3347         (main):
3348         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3349         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3350         (waitToDumpWatchdogFired):
3351         (LayoutTestController::setWaitToDump):
3353 2007-12-05  Mark Rowe  <mrowe@apple.com>
3355         Reviewed by Alp Toker.
3357         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
3359         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3360         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
3361         (dump):
3362         (runTest):
3363         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
3364         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
3365         work queue is empty.
3366         (webViewWindowObjectCleared): Set up window.layoutTestController.
3367         (webViewConsoleMessage): Match the console message format expected by the layout test results.
3368         (main): Hook up the new signals.
3369         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3370         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
3371         dumping multiple times.
3372         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
3373         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
3375 2007-12-14  Anders Carlsson  <andersca@apple.com>
3377         Reviewed by Brady.
3379         Assert that a web frame that's loading a resource always has either a data source or 
3380         a provisional data source.
3381         
3382         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3383         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3385 2007-12-14  Darin Adler  <darin@apple.com>
3387         - fix mistake causing nearly all tests to fail on Windows
3389         * DumpRenderTree/win/UIDelegate.cpp:
3390         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
3391         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
3393         * DumpRenderTree/mac/UIDelegate.mm:
3394         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
3395         than passing the entire message.
3397 2007-12-14  Darin Adler  <darin@apple.com>
3399         - fix Tiger build
3401         * DumpRenderTree/mac/UIDelegate.mm:
3402         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
3403         new-to-Leopard methods.
3405 2007-12-14  Darin Adler  <darin@apple.com>
3407         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
3408         since it now triggers unwanted icon loading. We only had it because we implemented "all"
3409         delegate methods here.
3411 2007-12-14  Anders Carlsson  <andersca@apple.com>
3413         Reviewed by Darin and Geoff.
3415         <rdar://problem/5619295> 
3416         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
3417         
3418         Add property getting methods to the plug-in.
3419         
3420         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3421         (pluginInvoke):
3423 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
3425         Reviewed by Darin.
3427         - Layout test fix for mac. When dumped to the console local file paths
3428         now only show the name of the resource not the whole path.  This is to
3429         make the results machine and OS independent.
3431         * DumpRenderTree/mac/UIDelegate.mm:
3432         (-[UIDelegate webView:addMessageToConsole:]):
3434 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
3436         Reviewed by Adam.
3438         - Layout tests fix.  We need a way to remove machine-dependent
3439         information from paths in layout test results. The UIDelegate now does
3440         this.
3442         * DumpRenderTree/DumpRenderTree.h:
3443         * DumpRenderTree/win/DumpRenderTree.cpp:
3444         (urlSuitableForTestResult):
3445         * DumpRenderTree/win/DumpRenderTreeWin.h:
3446         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3447         * DumpRenderTree/win/UIDelegate.cpp:
3448         (UIDelegate::webViewAddMessageToConsole):
3450 2007-12-13  Alp Toker  <alp@atoker.com>
3452         Build fix for DRT breakage introduced in r28690.
3454         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3455         (LayoutTestController::pathToLocalResource):
3457 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
3459         Reviewed by Alice and Sam.
3461         - <rdar://5621435> Need a way to specify local resources (being loaded
3462         from HTTP tests) on Windows.
3463         - Implemented pathToLocalResource which exposes the functionality of
3464         converting a given unix path to the correct location on Windows.
3466         * DumpRenderTree/LayoutTestController.cpp:
3467         (pathToLocalResourceCallback):
3468         (LayoutTestController::staticFunctions):
3469         * DumpRenderTree/LayoutTestController.h:
3470         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3471         (LayoutTestController::pathToLocalResource):
3472         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3473         (LayoutTestController::pathToLocalResource):
3475 2007-12-12  Anders Carlsson  <andersca@apple.com>
3477         Reviewed by Sam.
3479         <rdar://problem/5132003>
3480         dumpResourceLoadCallbacks is not implemented in DRT on Windows.
3482         * DumpRenderTree/win/DumpRenderTree.cpp:
3483         (main):
3484         Set the resource load delegate.
3485         
3486         * DumpRenderTree/win/DumpRenderTree.vcproj:
3487         
3488         * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
3489         * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
3491 2007-12-12  Alexey Proskuryakov  <ap@webkit.org>
3493         Reviewed by Adam Roben.
3495         Fix conversion from double to LPARAM in dispatchMessage().
3497         * DumpRenderTree/win/EventSender.cpp:
3498         (dispatchMessageCallback):
3500 2007-12-11  Dan Bernstein  <mitz@apple.com>
3502         Reviewed by Mark Rowe and Sam Weinig too!
3504         - added Helvetica Oblique and Helvetica Bold Oblique to the list of
3505           fonts DumpRenderTree registers.
3507         * DumpRenderTree/win/DumpRenderTree.cpp:
3508         (initialize):
3510 2007-12-11  Brady Eidson  <beidson@apple.com>
3512         Reviewed by Anders
3514         Make DumpRenderTree on mac use its own path for Databases testing
3516         * DumpRenderTree/mac/DumpRenderTree.mm:
3517         (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree 
3518           for future DRT-only use, then use it to construct the Databases path and set that default
3520 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
3522         Reviewed by Darin.
3524         <rdar://problem/5535636>
3525         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
3527         http://bugs.webkit.org/show_bug.cgi?id=13916
3528         JavaScript detects Tab as a character input on a textfield validation
3530         * DumpRenderTree/mac/EventSendingController.mm:
3531         (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
3532         Dispatch a keyup to better match what happens when a key is physically pressed.
3534         * DumpRenderTree/win/EventSender.cpp:
3535         (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
3536         returning from keyDown().
3537         (getConstantCallback): Fixed a couple copy/paste mistakes.
3539 2007-12-07  Kevin McCullough  <kmccullough@apple.com>
3541         Reviewed by Oliver.
3543         - <rdar://5599845> Drosera: Does not show loal files in the file list
3544         on the left side.
3546         * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
3547         * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
3548         so the open source community can build.
3550 2007-12-10  Brady Eidson  <beidson@apple.com>
3552         Rubberstamped by Sam Weinig
3554         Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
3556         * DumpRenderTree/mac/UIDelegate.mm:
3557         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
3558         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
3560 2007-12-08  Oliver Hunt  <oliver@apple.com>
3562         Reviewed by Sam W.
3564         Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
3565         
3566         Fixes <rdar://problem/5620249> Must disable SVG animation
3567         <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
3568         
3569         In order to allow finer grained control over the set of SVG features
3570         this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
3571         distinct flags:
3572         ENABLE_SVG_ANIMATION
3573         ENABLE_SVG_FILTERS
3574         ENABLE_SVG_FONTS
3575         ENABLE_SVG_AS_IMAGE
3576         ENABLE_SVG_USE
3577         
3578         by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
3579         
3580         Script handles all the new build flags, and allows --svg-experimental
3581         to automatically enable all features.
3583         * Scripts/build-webkit:
3585 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3587         Fix version parsing.
3589         Rubber-stamped by Oliver.
3591         * Drosera/win/Drosera.vcproj/auto-version.sh:
3593 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3595         Build modifications for Drosera.
3597         Reviewed by Adam.
3599         * Drosera/DroseraWin.make: Added.
3600         * Drosera/win/Drosera.vcproj/Drosera.rc:
3601         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3602         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
3603         * Drosera/win/Drosera.vcproj/VERSION: Added.
3604         * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
3606 2007-12-06  Adam Roben  <aroben@apple.com>
3608         Explicitly turn on the Mac font ascent hack on Windows
3610         This keeps our font metrics matching those from Mac.
3612         Reviewed by Hyatt.
3614         * DumpRenderTree/win/DumpRenderTree.cpp:
3615         (main):
3617 2007-12-06  Anders Carlsson  <andersca@apple.com>
3619         Rename main.c to main.cpp here too.
3620         
3621         * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
3623 2007-12-06  Sam Weinig  <sam@webkit.org>
3625         Rubber stamped by Geoff.
3627         * Scripts/do-webcore-rename: Don't rename kjs_css twice.
3629 2007-12-06  Darin Adler  <darin@apple.com>
3631         * Scripts/do-webcore-rename: Some more renaming plans.
3633 2007-12-06  Anders Carlsson  <andersca@apple.com>
3635         Restore implementation of testGetIntIdentifier that was accidentally
3636         removed somehow (possibly when I made PluginObject be a cpp file).
3637         
3638         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3639         (pluginInvoke):
3641 2007-12-05  Anders Carlsson  <andersca@apple.com>
3643         Make the entry points extern "C".
3644         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3645         
3646 2007-12-05  Anders Carlsson  <andersca@apple.com>
3648         C++ warning fixes.
3649         
3650         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3651         (NPP_New):
3652         (NPP_Destroy):
3653         (NPP_SetWindow):
3654         (NPP_NewStream):
3655         (NPP_HandleEvent):
3656         (NPP_URLNotify):
3657         (NPP_GetValue):
3659 2007-12-05  Anders Carlsson  <andersca@apple.com>
3661         Add the .cpp files to the TestNetscapePlugIn target.
3663         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3665 2007-12-05  Anders Carlsson  <andersca@apple.com>
3667         Reviewed by Geoff.
3668         
3669         Rename the TestNetscapePlugIn .c files to be .cpp.
3671         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3672         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
3673         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
3674         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
3675         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
3676         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
3677         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
3678         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3680 2007-12-05  Adam Roben  <aroben@apple.com>
3682         Fix case of keypresses from the Windows implementation of eventSender.keyDown
3684         This fixes several regression tests.
3686         Reviewed by Alice.
3688         * DumpRenderTree/win/EventSender.cpp:
3689         (keyDownCallback): Virtual keycodes for ASCII characters are always
3690         uppercase, so we need to check the case of the original character
3691         passed in to eventSender.keyDown.
3693 2007-12-05  Adam Roben  <aroben@apple.com>
3695         Learn from Tim's mistakes
3697         * DumpRenderTree/win/DumpRenderTree.cpp:
3698         (runTest): Reset the authorAndUserStylesEnabled preference for each
3699         test.
3701 2007-12-05  Alp Toker  <alp@atoker.com>
3703         Reviewed by Mark Rowe.
3705         Initialize GTK+ and WebKit so the tests can run.
3707         Reorganize the headers a little.
3709         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3710         (main):
3712 2007-12-04  Anders Carlsson  <andersca@apple.com>
3714         Remove IWebScriptScope include.
3715         
3716         * Drosera/win/DebuggerDocumentPlatform.cpp:
3718 2007-12-04  Sam Weinig  <sam@webkit.org>
3720         Rubber stamped by Mark Rowe.
3722         Define CF as platform for mac and revert r28409
3724         * DumpRenderTree/DumpRenderTree.h:
3725         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3727 2007-12-04  Sam Weinig  <sam@webkit.org>
3729         Define CF as platform for windows.
3731         Reviewed by Adam Roben.
3733         * DumpRenderTree/win/DumpRenderTreeWin.h:
3735 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
3737         Reviewed by Adam and Darin.
3739         - Removed a needless BSTR cleanup.
3741         * Drosera/win/DebuggerDocumentPlatform.cpp:
3742         (DebuggerDocument::getPlatformCurrentFunctionStack):
3744 2007-11-27  Adam Roben  <aroben@apple.com>
3746         Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
3748         Reviewed by Maciej.
3750         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3751         (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
3753 2007-12-04  Alp Toker  <alp@atoker.com>
3755         Prospective Win DRT build fix.
3757         * DumpRenderTree/DumpRenderTree.h:
3759 2007-12-04  Alp Toker  <alp@atoker.com>
3761         Fix a clobbered copyright header.
3763         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3765 2007-12-04  Xan Lopez  <xan@gnome.org>
3767         Reviewed by Alp Toker.
3769         http://bugs.webkit.org/show_bug.cgi?id=15561
3770         GTK port needs DumpRenderTree implementation
3772         Start work on the GTK+ DRT.
3774         This does not work yet, and there are a few lingering style issues
3775         (nothing major) but this patch has been stuck in the bug tracker for
3776         too long already.
3778         * DumpRenderTree/DumpRenderTree.h:
3779         * DumpRenderTree/gtk: Added.
3780         * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
3781         (autocorrectURL):
3782         (shouldLogFrameLoadDelegates):
3783         (dumpFrameScrollPosition):
3784         (displayWebView):
3785         (appendString):
3786         (dumpFramesAsText):
3787         (dumpRenderTreeAsText):
3788         (dump):
3789         (runTest):
3790         (main):
3791         * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
3792         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
3793         * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
3794         (GCController::collect):
3795         (GCController::collectOnAlternateThread):
3796         (GCController::getJSObjectCount):
3797         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
3798         (LayoutTestController::~LayoutTestController):
3799         (LayoutTestController::addDisallowedURL):
3800         (LayoutTestController::clearBackForwardList):
3801         (LayoutTestController::copyDecodedHostName):
3802         (LayoutTestController::copyEncodedHostName):
3803         (LayoutTestController::display):
3804         (LayoutTestController::keepWebHistory):
3805         (LayoutTestController::notifyDone):
3806         (LayoutTestController::queueBackNavigation):
3807         (LayoutTestController::queueForwardNavigation):
3808         (LayoutTestController::queueLoad):
3809         (LayoutTestController::queueReload):
3810         (LayoutTestController::queueScript):
3811         (LayoutTestController::setAcceptsEditing):
3812         (LayoutTestController::setCustomPolicyDelegate):
3813         (LayoutTestController::setMainFrameIsFirstResponder):
3814         (LayoutTestController::setTabKeyCyclesThroughElements):
3815         (LayoutTestController::setUseDashboardCompatibilityMode):
3816         (LayoutTestController::setUserStyleSheetEnabled):
3817         (LayoutTestController::setUserStyleSheetLocation):
3818         (LayoutTestController::setWindowIsKey):
3819         (LayoutTestController::setWaitToDump):
3820         (LayoutTestController::windowCount):
3821         (LayoutTestController::setPrivateBrowsingEnabled):
3822         (LayoutTestController::setAuthorAndUserStylesEnabled):
3823         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
3824         (JSStringCopyUTF8CString):
3825         (LoadItem::invoke):
3826         (ReloadItem::invoke):
3827         (ScriptItem::invoke):
3828         (BackForwardItem::invoke):
3830 2007-12-03  Sam Weinig  <sam@webkit.org>
3832         Move JavaScriptCore thread testing code to pthread specific directory
3833         and remove the dependance on CoreFoundation by using WTF::HashSet.
3835         Reviewed by Geoff and Oliver.
3837         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3838         * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
3839         * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
3840         * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
3841         * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
3842         * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
3843         * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
3844         * DumpRenderTree/pthreads: Added.
3845         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
3846         (javaScriptThreads):
3847         (runJavaScriptThread):
3848         (startJavaScriptThreads):
3849         (stopJavaScriptThreads):
3851 2007-12-03  Andrew Bonventre  <andybons@google.com>
3853         Reviewed by Darin Adler.
3855         - fix http://bugs.webkit.org/show_bug.cgi?id=16267
3856         Symbol lookup menu broken in debugger view
3858         * Drosera/debugger.js: Fixed javascript error where document property
3859         should have been used instead of contentDocument in switchFunction that
3860         was breaking the select symbol dropdown menu.  This is because
3861         window.frames will return a Window object and not a frame object like
3862         the author was originally expecting.
3864 2007-12-03  Kevin McCullough  <kmccullough@apple.com>
3866         Reviewed by Adam.
3868         - <rdar://5618942> Drosera: Console window does not process everything
3869         correctly.
3870         - <rdar://5619005> Drosera: could be sped up by moving the 
3871         WebScriptScope stuff into the WebScriptCallFrame.
3872         - Now the console can correctly process objects and does not receive
3873         notifications from JavaScriptCore about the JavaScript in Drosera's
3874         own process.
3876         * Drosera/win/DebuggerDocumentPlatform.cpp:
3877         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3878         (DebuggerDocument::platformValueForScopeVariableNamed):
3880 2007-12-03  Stephanie  <slewis@apple.com>
3882         Reviewed by Darin.
3884         Check to see if we are building a debug root
3886         * Scripts/check-for-global-initializers: 
3888 2007-12-03  Dan Bernstein  <mitz@apple.com>
3890         Reviewed by Darin Adler.
3892         - added a testGetIntIdentifier() method to TestNetscapePlugIn
3894         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3895         (pluginInvoke):
3897 2007-12-03  Alexey Proskuryakov  <ap@webkit.org>
3899         Reviewed by Oliver.
3901         Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
3902         in a more fine-grained manner than eventSender.keyDown().
3904         * DumpRenderTree/win/EventSender.cpp:
3905         (getConstantCallback):
3906         (dispatchMessageCallback):
3908 2007-12-02  Darin Adler  <darin@apple.com>
3910         * Scripts/do-webcore-rename: More planned renaming.
3912 2007-12-02  Sam Weinig  <sam@webkit.org>
3914         Rubber stamped by Anders.
3916         Use [NSURL absoluteString] instead of [NSURL description] in order to get
3917         more uniform results cross platform.
3919         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3920         (-[NSURL _drt_descriptionSuitableForTestResult]):
3922 2007-12-02  Sam Weinig  <sam@webkit.org>
3924         Rubber stamped by Niko.
3926         Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
3928         * DumpRenderTree/win/DumpRenderTree.cpp:
3929         * DumpRenderTree/win/DumpRenderTree.vcproj:
3930         * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
3931         * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
3932         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
3933         * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
3935 2007-12-01  Alp Toker  <alp@atoker.com>
3937         Reviewed by Adam Roben.
3939         Make use of the newly introduced webkit.h convenience header.
3941         * GtkLauncher/main.c:
3943 2007-12-01  Adam Treat  <treat@kde.org>
3945         Reviewed by Simon.
3947         * Check to see if the directory exists and exit if not.
3949         * DumpRenderTree/qt/main.cpp:
3950         (main):
3952 2007-12-01  Adam Treat  <treat@kde.org>
3954         Reviewed by Simon.
3956         * Don't hide symbols when in Debug mode
3957         * On Linux (glibc) provide a backtrace in the test output for debugging purposes
3960         * DumpRenderTree/qt/main.cpp:
3961         (messageHandler):
3963 2007-11-30  Alp Toker  <alp@atoker.com>
3965         Reviewed by Adam Roben.
3967         http://bugs.webkit.org/show_bug.cgi?id=15691
3968         [GTK] Public API does not follow GTK+ conventions
3970         Refactor the WebKit/GTK+ public API. Changes:
3971           WebKitPage -> WebKitWebView
3972           WebKitFrame -> WebKitWebFrame
3974         Public API source and header names have been updated to mirror the API
3975         changes.
3977         The API is now kept in WebKit/gtk/WebView to match other ports in the
3978         same class such as Mac and Win.
3980         * GtkLauncher/main.c:
3981         (activate_uri_entry_cb):
3982         (link_hover_cb):
3983         (title_change_cb):
3984         (progress_change_cb):
3985         (go_back_cb):
3986         (go_forward_cb):
3987         (create_browser):
3988         (main):
3990 2007-11-30  Adam Roben  <aroben@apple.com>
3992         Hopefully the final build fix
3994         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
3995         pull in WTF's assertion/logging functions.
3997 2007-11-30  Adam Roben  <aroben@apple.com>
3999         Another build fix
4001         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
4002         WebKit.lib.
4004 2007-11-30  Adam Roben  <aroben@apple.com>
4006         Debug build fix
4008         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
4009         configuration.
4010         * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
4011         projects.
4012         * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
4013         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
4014         WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
4016 2007-11-30  Sam Weinig  <sam@webkit.org>
4018         Reviewed by Adam Roben.
4020         Fix drawSelectionRect to actually draw the selection rect.
4022         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4023         (drawSelectionRect):
4025 2007-11-30  Darin Adler  <darin@apple.com>
4027         * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
4029 2007-11-30  Darin Adler  <darin@apple.com>
4031         * Scripts/do-webcore-rename: Get ready for some future renaming.
4033 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
4035         Reviewed by Adam.
4037         - Removed some unnecessary functions and changed an unused return type. 
4039         * Drosera/win/DebuggerClient.cpp:
4040         (registerConsoleClass):
4041         * Drosera/win/DebuggerClient.h:
4042         * Drosera/win/Drosera.cpp:
4043         (registerDroseraClass):
4045 2007-11-28  Alp Toker  <alp@atoker.com>
4047         Reviewed by Timothy Hatcher.
4049         http://bugs.webkit.org/show_bug.cgi?id=16174
4050         [GTK] Use "URI" not "URL" in public API
4052         Replace use of the term "URL" with "URI" in public headers,
4053         documentation and some internal code to match GLib/GTK+ convention.
4055         This is now mentioned in the API guidelines:
4056           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
4058         * GtkLauncher/main.c:
4059         (activate_uri_entry_cb):
4060         (title_change_cb):
4061         (create_toolbar):
4062         (main):
4064 2007-11-29  Anders Carlsson  <andersca@apple.com>
4066         Reviewed by Sam.
4068         <rdar://problem/5230478>
4069         FrameLoadDelegate callbacks are not dumped in DRT.
4070         
4071         * DumpRenderTree/win/DumpRenderTree.cpp:
4072         (shouldLogFrameLoadDelegates):
4073         (runTest):
4074         (main):
4075         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
4076         (BSTRtoString):
4077         (descriptionSuitableForTestResult):
4078         (FrameLoadDelegate::QueryInterface):
4079         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
4080         (FrameLoadDelegate::didFailProvisionalLoadWithError):
4081         (FrameLoadDelegate::didCommitLoadForFrame):
4082         (FrameLoadDelegate::didFinishLoadForFrame):
4083         (FrameLoadDelegate::willCloseFrame):
4084         (FrameLoadDelegate::didClearWindowObject):
4085         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
4086         (FrameLoadDelegate::didHandleOnloadEventsForFrame):
4087         * DumpRenderTree/win/FrameLoaderDelegate.h:
4088         (FrameLoadDelegate::windowScriptObjectAvailable):
4089         (FrameLoadDelegate::didFirstLayoutInFrame):
4091 2007-11-29  Sam Weinig  <sam@webkit.org>
4093         Reviewed by Anders.
4095         Add database quota UIDelegates methods to DRT UIDelegate.
4097         * DumpRenderTree/mac/UIDelegate.mm:
4098         (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
4099         (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
4101 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
4103         Reviewed by Sam.
4105         - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
4106         dying and vice versa.
4107         - This fix will allow Drosera and Safari to reconnect if either of them
4108         closes correctly, but does not fix the case where one of them dies
4109         silently.
4111         * Drosera/win/ServerConnection.cpp:
4112         (ServerConnection::attemptToCreateServerConnection): Added a safety
4113         check, because it's possilbe to try to connect to a server that's dying.
4114         (ServerConnection::serverDidDie): Implemented. This resets Drosera when
4115         the server has died.
4116         * Drosera/win/ServerConnection.h: Added the new function and removed
4117         an unnecessary member.
4119 2007-11-29  Anders Carlsson  <andersca@apple.com>
4121         * DumpRenderTree/win/DumpRenderTree.vcproj:
4122         Add shlwapi.lib to all configurations.
4124 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
4126         - Build fix.  Added additional includes for VS Express to the Release
4127         project.
4129         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4131 2007-11-29  Anders Carlsson  <andersca@apple.com>
4133         Reviewed by Adam.
4135         <rdar://problem/5132005>
4136         setUserStyleSheetEnabled is not fully implemented in Windows DRT.
4137         
4138         * DumpRenderTree/win/DumpRenderTree.vcproj:
4139         Add shlwapi.lib
4140         
4141         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4142         (LayoutTestController::setUserStyleSheetEnabled):
4143         Implement this.
4144         
4145         (appendComponentToPath):
4146         New method which wraps the Win32 API PathAppend.
4147         
4148         (followShortcuts):
4149         New method which checks if a file points to a shortcut and
4150         follows the shortcut.
4151         
4152         (resolveCygwinPath):
4153         New method that takes a cygwin unix-style path and returns the Win32 path.
4154         
4155         (cfStringRefToWString):
4156         
4157         (LayoutTestController::setUserStyleSheetLocation):
4158         Implement this.
4160 2007-11-29  Alice Liu  <alice.liu@apple.com>
4162         Reviewed by Adam.
4164         Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
4166         * DumpRenderTree/win/EventSender.cpp:
4167         (keyDownCallback):
4168         uppercase letters were being sent as lowercase letters without the shift key down.
4170 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
4172         - Windows build fix. VS express needs some love.
4174         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4176 2007-11-28  Darin Adler  <darin@apple.com>
4178         Reviewed by Adam Roben.
4180         * DumpRenderTree/mac/EventSendingController.mm:
4181         (-[EventSendingController keyDown:withModifiers:]):
4182         Send capital letters through as lowercase letters with the shift key down
4183         rather than sending them as if they were highly unusual "capital letter keys".
4185         * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
4186         where you need to update results and more tests are failing than before.
4188 2007-11-28  Anders Carlsson  <andersca@apple.com>
4190         Reviewed by Darin.
4192         <rdar://problem/5132001>
4193         contextClick is not implemented in DRT on Windows.
4194         
4195         * DumpRenderTree/win/EventSender.cpp:
4196         (contextClickCallback):
4197         Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
4198         by a WM_RBUTTONUP message.
4199         
4200         * DumpRenderTree/win/UIDelegate.cpp:
4201         (UIDelegate::hasCustomMenuImplementation):
4202         (UIDelegate::trackCustomPopupMenu):
4203         * DumpRenderTree/win/UIDelegate.h:
4204         Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
4205         menu from being shown (and causing the DRT to hang).
4207 2007-11-27  Maciej Stachowiak  <mjs@apple.com>
4209         Reviewed by Darin.
4211         Fix DumpRenderTree ObjC bug comparing strings.
4213         * DumpRenderTree/mac/ObjCController.m:
4214         (-[ObjCController identityIsEqual::]): Compare strings with string
4215         equality instead of identiy equality.
4217 2007-11-27  Timothy Hatcher  <timothy@apple.com>
4219         Reviewed by Sam.
4221         Reset the authorAndUserStylesEnabled preference
4222         back to YES for each test. Fixes the broken tests.
4224         * DumpRenderTree/mac/DumpRenderTree.mm:
4225         (resetWebViewToConsistentStateBeforeTesting):
4227 2007-11-27  Kevin McCullough  <kmccullough@apple.com>
4229         Reviewed by Adam.
4231         - Drosera now displays the console window, although it cannot currently
4232         process JavaScript.
4234         * Drosera/win/DebuggerClient.cpp: Shows the console window.
4235         (registerConsoleClass): Implemented.
4236         (consoleWndProc): Implemented.
4237         (DebuggerClient::onSize): Implemented.
4238         (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
4239         new window.
4240         * Drosera/win/DebuggerClient.h: Added needed method and members for 
4241         creating and maintaining a new window.
4242         * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
4243         lines of code to more appropriate places.
4244         (Drosera::handleCommand):
4245         (Drosera::initUI):
4246         (Drosera::onSize):
4247         (Drosera::attach):
4249 2007-11-27  Timothy Hatcher  <timothy@apple.com>
4251         Reviewed by Dave Hyatt.
4253         <rdar://problem/5569233> Add the ability to disable author and user CSS styles
4254         
4255         Add support for disabling author and user styles for testing.
4257         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4258         * DumpRenderTree/LayoutTestController.cpp:
4259         (setAuthorAndUserStylesEnabledCallback):
4260         (LayoutTestController::staticFunctions):
4261         * DumpRenderTree/LayoutTestController.h:
4262         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4263         (LayoutTestController::setAuthorAndUserStylesEnabled):
4264         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4265         (LayoutTestController::setAuthorAndUserStylesEnabled):
4267 2007-11-26  Dan Bernstein  <mitz@apple.com>
4269         - Tiger build fix.
4271         * DumpRenderTree/mac/Configurations/Base.xcconfig:
4273 2007-11-26  Kevin McCullough  <kmccullough@apple.com>
4275         Reviewed by Maciej.
4277         - Implemented displaying variables for Drosera on Win.
4279         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
4280         that retrieve variables to not hold onto the return value since it's
4281         not returned.  Also changed to use the new signatures of the retrieval
4282         functions.
4283         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
4284         (DebuggerDocument::platformValueForScopeVariableNamed):
4285         * Drosera/win/Drosera.cpp: Removed a needless TODO.
4286         (droseraWndProc):
4288 2007-11-26  Sam Weinig  <sam@webkit.org>
4290         Cleanup names of painting and repainting functions.
4292         Reviewed by Adam Roben.
4294         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4295         (drawSelectionRect): was drawSelectionRectIntoContext.
4296         (dumpWebViewAsPixelsAndCompareWithExpected):
4297         * DumpRenderTree/cg/PixelDumpSupportCG.h:
4298         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
4299         (paintWebView): was drawWebViewIntoContext.
4300         (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
4302 2007-11-26  Sam Weinig  <sam@webkit.org>
4304         Reviewed by Dan Bernstein.
4306         - Leopard build fix
4308         * DumpRenderTree/mac/Configurations/Base.xcconfig:
4310 2007-11-26  Sam Weinig  <sam@webkit.org>
4312         Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
4313         Use shared PixelDumpSupport for Mac DRT
4315         Reviewed by Adam Roben.
4317         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4318         * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
4319         * DumpRenderTree/cg/ImageDiffCG.cpp:
4320         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4321         (drawSelectionRectIntoContext):
4322         (dumpWebViewAsPixelsAndCompareWithExpected):
4323         * DumpRenderTree/cg/PixelDumpSupportCG.h:
4324         * DumpRenderTree/mac/Configurations/Base.xcconfig:
4325         * DumpRenderTree/mac/DumpRenderTree.mm:
4326         (dump):
4327         * DumpRenderTree/mac/ImageDiff.m: Removed.
4328         * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
4329         * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
4330         * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
4331         (setDefaultColorProfileToRGB):
4332         (getBitmapContextFromWebView):
4333         (drawWebViewIntoContext):
4334         (repaintWithVerticalSweep):
4335         (repaintWithHorizontalSweep):
4336         (getSelectionRect):
4337         * DumpRenderTree/win/PixelDumpSupport.h: Removed.
4339 2007-11-25  David D. Kilzer  <ddkilzer@webkit.org>
4341         Bug 16052: prepare-ChangeLog doesn't report deleted files
4342         <http://bugs.webkit.org/show_bug.cgi?id=16052>
4344         Reviewed by Sam.
4346         * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
4348 2007-11-25  David Kilzer  <ddkilzer@webkit.org>
4350         Bug 15864: Replace merge-changelog with resolve-ChangeLogs
4351         <http://bugs.webkit.org/show_bug.cgi?id=15864>
4353         Reviewed by Adam.
4355         Roll functionality of merge-changelog into resolve-ChangeLogs
4356         script.  The script now checks for ChangeLog.rej and
4357         ChangeLog.orig files first.  If it finds them, it uses the
4358         ChangeLog.rej file as a patch (in old contextual diff format) to
4359         apply with --fuzz=3.
4361         * Scripts/merge-changelog: Removed.
4362         * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
4364 2007-11-25  Sam Weinig  <sam@webkit.org>
4366         Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
4368         Reviewed by Mark Rowe.
4370         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4371         * DumpRenderTree/mac/Configurations/Base.xcconfig:
4372         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
4373         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
4374         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
4376 2007-11-25  Sam Weinig  <sam@webkit.org>
4378         Convert DumpRenderTree to ues .xcconfig files.
4380         Reviewed by Mark Rowe.
4382         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4383         * DumpRenderTree/mac/Configurations: Added.
4384         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
4385         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
4386         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
4388 2007-11-25  Sam Weinig  <sam@webkit.org>
4390         Add ForwardingHeaders to wtf for DumpRenderTree.
4392         Reviewed by Mark Rowe.
4394         * DumpRenderTree/DumpRenderTree.h:
4395         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4396         * DumpRenderTree/ForwardingHeaders: Added.
4397         * DumpRenderTree/ForwardingHeaders/wtf: Added.
4398         * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
4399         * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
4400         * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
4401         * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
4402         * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
4403         * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
4404         * DumpRenderTree/LayoutTestController.cpp:
4405         * DumpRenderTree/WorkQueue.cpp:
4406         * DumpRenderTree/mac/DumpRenderTree.mm:
4407         * DumpRenderTree/mac/FrameLoadDelegate.mm:
4408         * DumpRenderTree/mac/JavaScriptThreading.cpp:
4409         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4410         * DumpRenderTree/mac/ObjCController.m:
4411         * DumpRenderTree/mac/UIDelegate.mm:
4412         * DumpRenderTree/mac/WorkQueueItemMac.mm:
4414 2007-11-25  Adam Roben  <aroben@apple.com>
4416         Fix some test failures caused by r28019
4418         Now that stdout is in binary mode, we need to always use printf
4419         instead of wprintf. Otherwise we'll end up with UTF-16 characters in
4420         the output.
4422         Reviewed by Sam.
4424         * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
4425         printf.
4426         (UIDelegate::runJavaScriptAlertPanelWithMessage):
4427         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
4428         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
4429         (UIDelegate::webViewAddMessageToConsole):
4431 2007-11-25  Adam Roben  <aroben@apple.com>
4433         Set the font smoothing preference in DRT
4435         This makes the pixel results on Windows closer to the Mac results.
4437         Reviewed by Mitz.
4439         * DumpRenderTree/win/DumpRenderTree.cpp:
4440         (initializePreferences):
4442 2007-11-25  Adam Roben  <aroben@apple.com>
4444         Port ImageDiff to CG and C++
4446         Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
4447         <rdar://5071708>
4449         Reviewed by Sam.
4451         * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
4452         * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
4453         (main):
4454         (createImageFromStdin):
4455         (compareImages):
4456         (getDifferenceBitmap):
4457         (computePercentageDifferent):
4458         * DumpRenderTree/win/ImageDiff.vcproj: Added.
4460 2007-11-25  Adam Roben  <aroben@apple.com>
4462         Fix image diff link generation on Windows
4464         Reviewed by Sam.
4466         * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
4467         to toURL.
4469 2007-11-25  Adam Roben  <aroben@apple.com>
4471         Implement pixel dumping in Windows DRT
4473         Part of http://bugs.webkit.org/show_bug.cgi?id=16133
4474         <rdar://5071708>
4476         Reviewed by Sam.
4478         * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
4479         (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
4480         Content-Length header.
4481         (getMD5HashStringForBitmap):
4482         (dumpWebViewAsPixelsAndCompareWithExpected):
4483         * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
4484         * DumpRenderTree/win/DumpRenderTree.cpp:
4485         (dump): Do a pixel dump if requested.
4486         (main): Parse pixel test options.
4487         * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
4488         the cg/ subdirectory to the include path.
4489         * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
4490         available in a header or import library, so we have to go through this
4491         LoadLibrary/GetProcAddress dance to use them.
4492         (cryptDLL):
4493         (init):
4494         (update):
4495         (final):
4496         (MD5_Init):
4497         (MD5_Update):
4498         (MD5_Final):
4499         * DumpRenderTree/win/MD5.h: Added.
4500         * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
4501         moved up to the top level to share it with Mac eventually.
4502         * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
4503         (getBitmapContextFromWebView): Forces the WebView to paint using a
4504         WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
4506 2007-11-25  Adam Roben  <aroben@apple.com>
4508         Clean up Windows DRT's option parsing a little bit
4510         Reviewed by Sam.
4512         * DumpRenderTree/win/DumpRenderTree.cpp:
4513         (main): Put non-option arguments into a Vector.
4515 2007-11-25  Adam Roben  <aroben@apple.com>
4517         Make Windows DRT stop changing LF into CRLF
4519         Reviewed by Sam.
4521         * DumpRenderTree/win/DumpRenderTree.cpp:
4522         (main): Put stdout in binary mode.
4523         * Scripts/run-webkit-tests: Remove the CRLF hack.
4525 2007-11-24  David Kilzer  <ddkilzer@webkit.org>
4527         Removed empty directory.
4529         * Scripts/resources: Removed.
4531 2007-11-23  David D. Kilzer  <ddkilzer@webkit.org>
4533         Fix bisect-builds to work with recent WebKit nightly builds.
4535         Reviewed by Dan.
4537         * Scripts/bisect-builds: Check for the 
4538         WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
4539         it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
4540         to WebKit.app/Contents/Resources.
4542 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
4544         Reviewed by Maciej.
4546         <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
4547         not closed (affects digg.com)
4549         * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
4550         one after finishing with a test to avoid having its delayed onload handler firing when
4551         replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
4552         but it helps somewhat.
4554 2007-11-22  Mark Rowe  <mrowe@apple.com>
4556         Reviewed by Alp Toker.
4558         Fix build-webkit to propagate make's exit status if it fails.
4560         * Scripts/webkitdirs.pm:
4562 2007-11-22  Dan Bernstein  <mitz@apple.com>
4564         Reviewed by Mark Rowe.
4566         - fix crash when running pixel tests
4568         * DumpRenderTree/mac/DumpRenderTree.mm:
4569         (dumpRenderTree): Parse the command line options before setting up the
4570         environment so that we know if we need to set up the pixel dump
4571         machinery.
4573 2007-11-21  Eric Seidel  <eric@webkit.org>
4575         Speculative build fix for Tiger.
4577         * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
4579 2007-11-21  Eric Seidel  <eric@webkit.org>
4581         Reviewed by Tim Hatcher.
4583         Break out more of DumpRenderTree.mm into individual files
4585         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4586         * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
4587         (checkedMalloc):
4588         (checkedRealloc):
4589         (makeLargeMallocFailSilently):
4590         * DumpRenderTree/mac/CheckedMalloc.h: Added.
4591         * DumpRenderTree/mac/DumpRenderTree.mm:
4592         (crashHandler):
4593         (dump):
4594         * DumpRenderTree/mac/DumpRenderTreeMac.h:
4595         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
4596         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
4597         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
4598         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
4599         * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
4600         (javaScriptThreads):
4601         (runJavaScriptThread):
4602         (startJavaScriptThreads):
4603         (stopJavaScriptThreads):
4604         * DumpRenderTree/mac/JavaScriptThreading.h: Added.
4605         * DumpRenderTree/mac/PixelDumpSupport.h: Added.
4606         * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
4607         (restoreColorSpace):
4608         (setDefaultColorProfileToRGB):
4609         (initializeColorSpaceAndScreeBufferForPixelTests):
4610         (md5HashStringForBitmap):
4611         (dumpWebViewAsPixelsAndCompareWithExpected):
4613 2007-11-21  Kevin Ollivier  <kevino@theolliviers.com>
4615         Move install-unix-extras to wx directory as it seems only to be used by that 
4616         port now. It now supports universal binaries on Mac and adds libpng and libjpeg. 
4617         Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
4618         have install-unix-extras install into WebKitLibraries as per
4619         convention.
4620         
4621         Reviewed by Mark Rowe.
4623         * Scripts/install-unix-extras: Removed.
4624         * wx/build-wxwebkit:
4625         * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
4627 2007-11-21  Eric Seidel  <eric@webkit.org>
4629         Reviewed by Adam.
4631         More refactoring for greater code readability
4633         * DumpRenderTree/mac/DumpRenderTree.mm:
4634         (initializeGlobalsFromCommandLineOptions):
4635         (initializeColorSpaceAndScreeBufferForPixelTests):
4636         (addTestPluginsToPluginSearchPath):
4637         (useLongRunningServerMode):
4638         (runTestingServerLoop):
4639         (prepareConsistentTestingEnvironment):
4640         (dumpRenderTree):
4641         (main):
4642         (dumpFramesAsText):
4643         (dumpBackForwardListForWebView):
4644         (sizeWebViewForCurrentTest):
4645         (methodNameStringForFailedTest):
4646         (dumpBackForwardListForAllWindows):
4647         (dumpWebViewAsPixelsAndCompareWithExpected):
4648         (invalidateAnyPreviousWaitToDumpWatchdog):
4649         (dump):
4650         * DumpRenderTree/mac/DumpRenderTreeMac.h:
4651         * DumpRenderTree/mac/UIDelegate.mm:
4652         (-[UIDelegate webView:createWebViewWithRequest:]):
4654 2007-11-21  Eric Seidel  <eric@webkit.org>
4656         Reviewed by Tim Hatcher.
4658         Abstract more of DRT into static methods
4660         * DumpRenderTree/mac/DumpRenderTree.mm:
4661         (setDefaultsToConsistentValuesForTesting):
4662         (setupSignalHandlers):
4663         (allocateGlobalControllers):
4664         (releaseAndZero):
4665         (releaseGlobalControllers):
4666         (dumpRenderTree):
4667         (shouldLogFrameLoadDelegates):
4668         (createCFURLFromPathOrURL):
4669         (resetWebViewToConsistentStateBeforeTesting):
4670         (runTest):
4672 2007-11-21  Eric Seidel  <eric@webkit.org>
4674         Reviewed by Tim Hatcher.
4676         Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
4678         * DumpRenderTree/DumpRenderTree.h:
4679         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4680         * DumpRenderTree/mac/DumpRenderTree.mm:
4681         (dumpRenderTree):
4682         (dump):
4683         (runTest):
4684         * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
4685         * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
4686         (+[DumpRenderTreePasteboard _pasteboardWithName:]):
4687         (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
4688         (-[DumpRenderTreePasteboard declareType:owner:]):
4689         (+[LocalPasteboard alloc]):
4690         (-[LocalPasteboard init]):
4691         (-[LocalPasteboard dealloc]):
4692         (-[LocalPasteboard name]):
4693         (-[LocalPasteboard releaseGlobally]):
4694         (-[LocalPasteboard declareTypes:owner:]):
4695         (-[LocalPasteboard addTypes:owner:]):
4696         (-[LocalPasteboard changeCount]):
4697         (-[LocalPasteboard types]):
4698         (-[LocalPasteboard availableTypeFromArray:]):
4699         (-[LocalPasteboard setData:forType:]):
4700         (-[LocalPasteboard dataForType:]):
4701         (-[LocalPasteboard setPropertyList:forType:]):
4702         (-[LocalPasteboard setString:forType:]):
4703         * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
4704         * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
4705         (+[DumpRenderTreeWindow allWindows]):
4706         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
4707         (-[DumpRenderTreeWindow dealloc]):
4708         (-[DumpRenderTreeWindow isKeyWindow]):
4709         (-[DumpRenderTreeWindow keyDown:]):
4711 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
4713         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
4714         it indiscriminately copies any headers inside JavaScriptCore,
4715         which includes Tiger ICU headers. 
4717         * wx/build-wxwebkit:
4718         Don't run WebCore/move-js-headers.sh any longer.
4720 2007-11-20  Adam Treat  <treat@kde.org>
4722         Reviewed by David Kilzer.
4724         * Prepend git branch name to $baseProductDir
4726         * Scripts/VCSUtils.pm:
4727         * Scripts/webkitdirs.pm:
4729 2007-11-20  Mark Rowe  <mrowe@apple.com>
4731         Reviewed by Simon Hausmann.
4733         * Scripts/build-webkit:  Pass "clean" flag down into buildQMakeProject.
4734         * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
4735         Have it trigger a "make distclean" rather than "make clean" to ensure that the
4736         built product and generated Makefile's are removed.
4738 2007-11-19  Alp Toker  <alp@atoker.com>
4740         Reviewed by Mark Rowe.
4742         http://bugs.webkit.org/show_bug.cgi?id=16040
4743         [GTK] GtkLauncher should be written in C
4745         Port GtkLauncher to plain C.
4747         Use a more conventional GTK+ coding style.
4749         Use a toolbar instead of menus.
4751         Various signature fixes and cleanups.
4753         Add a license header. Assume all previous modifications were copyright
4754         assigned to Apple Inc. by default.
4756         * GtkLauncher/GtkLauncher.pro:
4757         * GtkLauncher/main.c: Added.
4758         (activate_url_entry_cb):
4759         (update_title):
4760         (link_hover_cb):
4761         (title_change_cb):
4762         (progress_change_cb):
4763         (destroy_cb):
4764         (go_back_cb):
4765         (go_forward_cb):
4766         (create_browser):
4767         (create_statusbar):
4768         (create_toolbar):
4769         (create_window):
4770         (main):
4771         * GtkLauncher/main.cpp: Removed.
4773 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
4775         Build script fixes to ensure they do the right thing for the 
4776         wx port, and update build-wxwebkit to reflect the way the
4777         build scripts now work.
4779         Reviewed by Adam.
4781         * Scripts/build-testkjs:
4782         * Scripts/build-webkit:
4783         * Scripts/run-javascriptcore-tests:
4784         * Scripts/webkitdirs.pm:
4785         * wx/build-wxwebkit:
4787 2007-11-18  Eric Seidel  <eric@webkit.org>
4789         Reviewed by Anders.
4791         Make run-javascriptcore-tests report failures on exit (to support git bisect)
4793         * Scripts/run-javascriptcore-tests:
4795 2007-11-18  Alexey Proskuryakov  <ap@webkit.org>
4797         Reviewed by Adam Roben.
4799         Make run-webkit-tests work with Windows debug build.
4801         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
4802         * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
4803         as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
4804         symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
4805         and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
4807 2007-11-18  Kevin Ollivier  <kevino@theolliviers.com>
4809         Add wxWebKit sample and build script, and integrate it with 
4810         build-webkit. Also make build-webkit --clean work for all
4811         ports.
4813         Reviewed by Darin Adler.
4815         * Scripts/build-webkit:
4816         * Scripts/webkitdirs.pm:
4817         * wx: Added.
4818         * wx/browser: Added.
4819         * wx/browser/browser.bkl: Added.
4820         * wx/browser/browser.cpp: Added.
4821         * wx/build-wxwebkit: Added.
4823 2007-11-17  Adam Roben  <aroben@apple.com>
4825         Make it easy to run Safari in the debugger on Windows
4827         I've added a new script, debug-safari, which launches Safari in the
4828         debugger. On OS X it just calls gdb-safari.
4830         Reviewed by Mark Rowe.
4832         * FindSafari/FindSafari.cpp:
4833         (_tmain): Added a /debugger flag, which in combination with
4834         /printSafariLauncher will print a script that launches Safari in the
4835         debugger.
4836         * Scripts/debug-safari: Added.
4837         * Scripts/run-safari: Changed to call runSafari().
4838         * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
4839         vsvars32.bat, which will let us find VS/VC++ Express, and passes the
4840         first argument along to FindSafari.
4841         * Scripts/webkitdirs.pm:
4842         (sub runSafari): Added.
4844 2007-11-16  Alexey Proskuryakov  <ap@webkit.org>
4846         Reviewed by Adam Roben.
4848         * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined. 
4850 2007-11-16  Ryan Leavengood  <leavengood@gmail.com>
4852         Reviewed by David Kilzer.
4854         The git config command was renamed to repo-config at some point. This
4855         change tries git config and then git repo-config if the first fails.
4857         * Scripts/prepare-ChangeLog:
4858         (gitConfig):
4860 2007-11-16  Dan Bernstein  <mitz@apple.com>
4862         Reviewed by Darin Adler and Sam Weinig.
4864         - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
4866         * DumpRenderTree/win/EventSender.cpp:
4867         (keyDownCallback): For characters that cannot be entered on the active
4868         keyboard layout, send a WM_CHAR message with the character along with
4869         a WM_KEYDOWN message with a virtual key code of 255.
4871 2007-11-16  Mark Rowe  <mrowe@apple.com>
4873         Reviewed by Tim Hatcher.
4875         Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
4877         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
4878         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4880 2007-11-15  Adam Roben  <aroben@apple.com>
4882         Make run-safari actually work on Windows
4884         * Scripts/run-safari: Fixed the order of arguments to cp, and added a
4885         chdir call.
4887 2007-11-14  Adam Roben  <aroben@apple.com>
4889         Updates to Safari launching now that 3.0.4 is released
4891         Reviewed by Sam.
4893         * FindSafari/FindSafari.cpp:
4894         (getWebViewCLSID): Use version-independent ProgID.
4895         * Scripts/run-safari: Use run-webkit-nightly.cmd.
4897 2007-11-14  Anders Carlsson  <andersca@apple.com>
4899         Reviewed by Adam.
4901         <rdar://problem/5309081>
4902         In DRT, "plugin.logDestroy = true" not working on Windows.
4903         
4904         * DumpRenderTree/win/TestNetscapePlugin/main.c:
4905         (NPP_Destroy):
4907 2007-11-14  Eric Seidel  <eric@webkit.org>
4909         Reviewed by Sam.
4911         * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
4913 2007-11-14  Anders Carlsson  <andersca@apple.com>
4915         Reviewed by Adam.
4917         <rdar://problem/5141186>
4918         window.layoutTestController.setWindowIsKey is not implemented in DRT.
4919         
4920         Implement setWindowIsKey.
4921         
4922         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4923         (LayoutTestController::setWindowIsKey):
4925 2007-11-13  Sam Weinig  <sam@webkit.org>
4927         Reviewed by Adam Roben.
4929         Fix for <rdar://problem/5382579>
4930         http/tests/security/cross-frame-access-put.html reports large 
4931         negative numbers for screenLeft and screenTop (Mac reports "0")
4933         * DumpRenderTree/win/UIDelegate.cpp:
4934         (UIDelegate::UIDelegate): Initialize the RECT.
4935         (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
4936         (UIDelegate::webViewFrame): ditto.
4937         * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
4939 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
4941         Reviewed by Adam.
4943         - Make Drosera show source, source URLs, and function stack on Windows,
4944         and some minor fixes.
4946         * Drosera/DebuggerDocument.cpp: Force source to always update display.
4947         (DebuggerDocument::updateFileSource):
4948         * Drosera/debugger.js: Force source to always update display.
4949         * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
4950         menu controls.
4951         (DebuggerClient::resume):
4952         (DebuggerClient::pause):
4953         (DebuggerClient::stepInto):
4954         (DebuggerClient::stepOver):
4955         (DebuggerClient::stepOut):
4956         (DebuggerClient::showConsole):
4957         (DebuggerClient::closeCurrentFile):
4958         * Drosera/win/DebuggerClient.h: Ditto.
4959         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
4960         getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
4961         removed two bugs.  1) caller could be in a bad state when asked to
4962         assign into it. 2) BSTRs were not created correctly.
4963         (DebuggerDocument::getPlatformCurrentFunctionStack):
4964         * Drosera/win/Drosera.cpp: Hook up the menu controls.
4965         (droseraWndProc):
4966         (handleCommand):
4967         (Drosera::resume):
4968         (Drosera::pause):
4969         (Drosera::stepInto):
4970         (Drosera::stepOver):
4971         (Drosera::stepOut):
4972         (Drosera::showConsole):
4973         (Drosera::closeCurrentFile):
4974         * Drosera/win/Drosera.h: Hook up the menu controls.
4975         * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
4976         functions, added a null check, and fixed another bug where caller could
4977         be in a bad state when asked to assign into it.
4978         (ServerConnection::didLoadMainResourceForDataSource):
4979         (ServerConnection::getCallerFrame):
4980         * Drosera/win/ServerConnection.h: Safety first.
4982 2007-11-13  Dan Bernstein  <mitz@apple.com>
4984         Reviewed by Darin Adler.
4986         - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
4987           DumpRenderTree --pixel-tests renders each test twice
4989         * DumpRenderTree/mac/DumpRenderTree.mm:
4990         (dumpRenderTree): Removed the --paint option because the painting code
4991         is always exercised as a result of
4992         -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
4993         calling -displayIfNeeded.
4994         (dump): Changed to always grab the image from the window since the view
4995         is always displayed.
4996         (runTest):
4997         (displayWebView):
4998         * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
4999         because it always paints.
5001 2007-11-12  Antti Koivisto  <antti@apple.com>
5003         Reviewed by Adele.
5004         
5005         Add support for http media tests
5007         * Scripts/run-webkit-tests:
5009 2007-11-12  Sam Weinig  <sam@webkit.org>
5011         Reviewed by Adam Roben.
5013         Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
5015         * DumpRenderTree/win/DumpRenderTree.cpp:
5016         (runTest):
5017         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5018         (LayoutTestController::setPrivateBrowsingEnabled):
5020 2007-11-12  Adam Roben  <aroben@apple.com>
5022         * Scripts/update-webkit-localizable-strings: Changed to only scan the
5023         mac and win subdirectories.
5025 2007-11-11  Adam Roben  <aroben@apple.com>
5027         Fix <rdar://5133816> keepWebHistory is not implemented
5029         Fixes fast/history/clicked-link-is-visited.html.
5031         Reviewed by Darin.
5033         * DumpRenderTree/win/DumpRenderTree.cpp:
5034         (runTest): Clear the optionalSharedHistory.
5035         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5036         (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
5038 2007-11-10  Sam Weinig  <sam@webkit.org>
5040         Reviewed by Tim Hatcher.
5042         Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript 
5043         attempts when in private browsing mode (only an issue if Log JavaScript Exceptions 
5044         is turned on)
5046         - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
5048         Added test: http/tests/security/cross-frame-access-private-browsing.html
5050         * DumpRenderTree/LayoutTestController.cpp:
5051         (setPrivateBrowsingEnabledCallback):
5052         (LayoutTestController::staticFunctions):
5053         * DumpRenderTree/LayoutTestController.h:
5054         * DumpRenderTree/mac/DumpRenderTree.mm:
5055         (runTest): Default to private browsing disabled.
5056         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5057         (LayoutTestController::setPrivateBrowsingEnabled):
5058         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5059         (LayoutTestController::setPrivateBrowsingEnabled):
5061 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
5063         Reviewed by Adam.
5065         - Changed the vcproj file to use Drosera's ForwardingHeaders and not
5066         WebCore's!
5068         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
5069         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
5070         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
5071         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
5072         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
5073         * Drosera/win/Drosera.cpp:
5074         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5076 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
5078         Reviewed by Sam.
5080         - Use the new IWebFrame [local] function signature and get the shared
5081         server correctly.
5083         * Drosera/win/DebuggerClient.cpp:
5084         (DebuggerClient::didFinishLoadForFrame):
5085         * Drosera/win/ServerConnection.cpp:
5086         (ServerConnection::attemptToCreateServerConnection):
5088 2007-11-07  Dan Bernstein  <mitz@apple.com>
5090         Reviewed by Darin Adler.
5092         - add an option to run-webkit-tests to ignore pixel test failures where
5093           all pixels differ by no more than a specified threshold
5095         * DumpRenderTree/mac/ImageDiff.m:
5096         (main):
5097         (compareImages):
5098         (computePercentageDifferent):
5099         * Scripts/run-webkit-tests:
5101 2007-11-07  Simon Hausmann  <hausmann@kde.org>
5103         Reviewed by Lars.
5105         Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
5107         * DumpRenderTree/qt/DumpRenderTree.cpp:
5109 2007-11-07  Simon Hausmann  <hausmann@kde.org>
5111         Reviewed by Lars.
5113         Reworked the QWebSettings API.
5114         QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
5116         * DumpRenderTree/qt/DumpRenderTree.cpp:
5118 2007-11-07  Simon Hausmann  <hausmann@kde.org>
5120         Reviewed by Lars.
5122         Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
5124         * DumpRenderTree/qt/jsobjects.cpp:
5126 2007-11-07  Simon Hausmann  <hausmann@kde.org>
5128         Reviewed by Lars Knoll <lars@trolltech.com>.
5130         Add a QWebPage::frameCreated() signal and fix DRT
5131         
5132         The removal of createFrame in QWebPage broke the re-implementation
5133         in DumpRenderTree. Instead emit a frameCreated() signal and
5134         connect to it in DumpRenderTree.
5135         
5137         * DumpRenderTree/qt/DumpRenderTree.cpp:
5138         (WebCore::WebPage::WebPage):
5139         (WebCore::DumpRenderTree::dump):
5140         (WebCore::DumpRenderTree::connectFrame):
5141         * DumpRenderTree/qt/DumpRenderTree.h:
5143 2007-11-07  Simon Hausmann  <hausmann@kde.org>
5145         Reviewed by Lars Knoll <lars@trolltech.com>.
5147         Moved all the event handlers from QWebFrame into QWebPage.
5148         
5149         This cleans up the public API and allows us to remove the
5150         HackWebFrame hack in DumpRenderTree.
5151         
5153         * DumpRenderTree/qt/jsobjects.cpp:
5154         (EventSender::mouseDown):
5155         (EventSender::mouseUp):
5156         (EventSender::mouseMoveTo):
5158 2007-11-07  Simon Hausmann  <hausmann@kde.org>
5160         Reviewed by Mark.
5162         Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
5163         to prevent the default implementation from popping up messageboxes.
5165         * DumpRenderTree/qt/DumpRenderTree.cpp:
5166         (WebCore::WebPage::javaScriptConfirm):
5167         (WebCore::WebPage::javaScriptPrompt):
5169 2007-11-06  Eric Seidel  <eric@webkit.org>
5171         * Scripts/build-testkjs: build fix... too many $$
5173 2007-11-06  Eric Seidel  <eric@webkit.org>
5175         Reviewed by Mark Rowe.
5177         * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
5179 2007-11-05  Adam Roben  <aroben@apple.com>
5181         Add support on Windows for WEBKIT_TESTFONTS
5183         This environment variable lets you specify where the fonts to be used
5184         by DumpRenderTree reside. The Qt port is already using this, so I'm
5185         just following their lead.
5187         Reviewed by Darin.
5189         * DumpRenderTree/win/DumpRenderTree.cpp:
5190         (exePath): Refactored code out of initialize().
5191         (fontsPath): Returns either $WEBKIT_TESTFONTS or
5192         DumpRenderTree.resources.
5193         (initialize): Use the new fontsPath function.
5194         (main): Use the new exePath function.
5195         * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
5196         variable to DRT, like Qt does.
5198 2007-11-05  Mark Rowe  <mrowe@apple.com>
5200         Rubber-stamped by Alp Toker.
5202         Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
5204         * GtkLauncher/main.cpp:
5205         (goToURLBarText):
5206         (main):
5208 2007-11-04  David D. Kilzer  <ddkilzer@webkit.org>
5210         bisect-builds doesn't work with nightly build r19992 or newer on Leopard
5211         <http://bugs.webkit.org/show_bug.cgi?id=15830>
5213         Reviewed by Timothy.
5215         Restrict the range of nightly builds used by the bisect-builds script
5216         based on the version of Safari and the version of Mac OS X being used.
5218         Mac OS X 10.4: Safari 2.0: r11976 or newer
5219         Mac OS X 10.4: Safari 3.0: r19992 or newer
5221         Mac OS X 10.5: Safari 2.0: r19594 or newer
5222         Mac OS X 10.5: Safari 3.0: r25124 or newer
5224         * Scripts/bisect-builds:
5225         (findMacOSXVersion): Added.
5226         (makeNightlyList): Added argument to provide version of Mac OS X.
5227         Restrict range of nightly builds based on Safari and Mac OS X versions.
5229 2007-11-04  Kevin McCullough  <kmccullough@apple.com>
5231         Reviewed by Maciej.
5233         - This patch involves several changes, all of them were noticed that
5234         they were needed by the work being done in WebKit to get Drosera and
5235         WebKit working together on Windows.
5236         - The changes are:
5237         1) Added a debugger console for output messages.
5238         2) Drosera now listens for the WebKit server (before, the server would
5239         have to be running before Drosera was started.)
5240         3) Fixed a bug where the WebView started out as 0x0 pixels.
5241         4) Fixed a bug when there is no scope.
5242         5) Added the HTML, JS, and CSS to the project file to make them easy to
5243         find.
5244         6) Made the ServerConnection functions virtual.
5246         * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
5247         for the WebKit server.
5248         (DebuggerClient::DebuggerClient):
5249         (DebuggerClient::~DebuggerClient):
5250         (DebuggerClient::didFinishLoadForFrame):
5251         (DebuggerClient::serverConnected):
5252         (DebuggerClient::attemptToCreateServerConnection):
5253         * Drosera/win/DebuggerClient.h: Ditto.
5254         * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
5255         scope.
5256         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
5257         (DebuggerDocument::platformValueForScopeVariableNamed):
5258         * Drosera/win/Drosera.cpp:
5259         (_tWinMain): Added a console in debug for output messages.
5260         (Drosera::Drosera): Listen for server.
5261         (Drosera::initUI): The server now Initializes COM.
5262         (Drosera::serverConnected): Part of the listening for the server.
5263         (Drosera::attemptToCreateServerConnection): Ditto.
5264         * Drosera/win/Drosera.h: New interface for listening for the server.
5265         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
5266         files to the VS project.
5267         * Drosera/win/ServerConnection.cpp: Part of listening for the server
5268         connection.
5269         (ServerConnection::ServerConnection):
5270         (ServerConnection::attemptToCreateServerConnection):
5271         * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
5272         methods.
5273         (ServerConnection::serverConnected):
5275 2007-11-04  Alexey Proskuryakov  <ap@webkit.org>
5277         Reviewed by Maciej.
5279         http://bugs.webkit.org/show_bug.cgi?id=15832
5280         fast/dom/gc-10.html crashes when run alone
5282         Check for !done before using objects that can be already deallocated.
5284         * DumpRenderTree/mac/EditingDelegate.mm:
5285         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
5286         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
5287         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
5288         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
5289         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
5290         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
5291         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
5292         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
5293         (-[EditingDelegate webViewDidBeginEditing:]):
5294         (-[EditingDelegate webViewDidChange:]):
5295         (-[EditingDelegate webViewDidEndEditing:]):
5296         (-[EditingDelegate webViewDidChangeTypingStyle:]):
5297         (-[EditingDelegate webViewDidChangeSelection:]):
5298         * DumpRenderTree/mac/FrameLoadDelegate.mm:
5299         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
5300         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
5301         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
5302         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
5303         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
5304         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
5305         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
5306         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
5307         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
5308         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
5309         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
5310         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
5311         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
5312         (-[FrameLoadDelegate webView:willCloseFrame:]):
5313         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
5314         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
5315         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
5316         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
5317         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
5318         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
5319         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
5320         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
5321         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
5323 2007-11-04  Mark Rowe  <mrowe@apple.com>
5325         Build fix.  Don't use Carbon.h as the prefix header as it triggers
5326         warnings that would otherwise be suppressed due to it being a system header.
5328         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5330 2007-11-03  Maciej Stachowiak  <mjs@apple.com>
5332         Rubber stamped by Adam.
5333         
5334         - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
5336         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5338 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
5340         Sort files(...); sections of Xcode project files.
5342         Rubber-stamped by Darin.
5344         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
5345         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
5346         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5347         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
5349 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
5351         Script to sort "files(...);" sections in Xcode project.pbxproj files.
5353         Reviewed by Darin.
5355         * Scripts/sort-Xcode-project-file: Added.
5357 2007-11-02  Darin Adler  <darin@apple.com>
5359         * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
5361 2007-11-02  Darin Adler  <darin@apple.com>
5363         Reviewed by Maciej.
5365         * Scripts/run-sunspider: Pass the "--base" option through.
5367         * Scripts/sunspider-compare-results: Don't check the number of parameters; let
5368         the real script do that. Default configuration to Release to match run-sunspider
5369         so we don't end up building Debug just to compare results.
5371 2007-11-01  Adam Roben  <aroben@apple.com>
5373         Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
5375         Reviewed by Sam.
5377         * Scripts/commit-log-editor: Show all the directories beneath the
5378         source root, instead of just the last one.
5380 2007-11-01  Kevin Ollivier  <kevino@theolliviers.com>
5382         Reviewed by Adam Roben.
5384         Print out an error message when the Windows build fails
5385         and provide guidance on how to find out what went wrong.
5387         * Scripts/build-webkit:
5388         * Scripts/webkitdirs.pm:
5390 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
5392         Rubber-stamped by Adam Roben.
5394         Rolled out r27326 - debug CRT seems to cause no problems after all.
5396         * DumpRenderTree/win/DumpRenderTree.vcproj:
5398 2007-10-31  Adam Roben  <aroben@apple.com>
5400         Switch the Debug configuration to using the non-debug CRT
5402         This matches WebKit.
5404         Reviewed by Steve.
5406         * DumpRenderTree/win/DumpRenderTree.vcproj:
5408 2007-10-31  Antti Koivisto  <antti@apple.com>
5410         Reviewed by bdash.
5411         
5412         Disable media tests when doing leak checking on Tiger.
5413         They crash in QuickTime (rdar://problem/5537157).
5415         * Scripts/run-webkit-tests:
5417 2007-10-29  Antti Koivisto  <antti@apple.com>
5419         Reviewed by Maciej.
5420         
5421         Build media support by default on OSX only.
5423         * Scripts/build-webkit:
5425 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
5427         - Made Adam the reviewer for a previous checkin. Not sure how it didn't
5428         get caught by the pre-commit hooks.
5430 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
5432         Reviewed by Adam.
5434         - This is a collection of relatively unrelated changes and cleanups
5435         to Drosera to prepare it for interacting with WebKit.  A lot of these
5436         changes are just correcting mistakes, for example removing included
5437         headers that are no longer needed.
5439         * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
5440         this will be needed by the DebuggerClient.
5441         (DebuggerDocument::server):
5442         * Drosera/win/BaseDelegate.h: Removed unnecessary include.
5443         * Drosera/win/DebuggerClient.cpp: 
5444         (DebuggerClient::didFinishLoadForFrame): Finished implementing.
5445         (DebuggerClient::didReceiveTitle): Added comment about its purpose.
5446         (DebuggerClient::createWebViewWithRequest): Added comment about its
5447         purpose. 
5448         * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
5449         declarations.
5450         (DebuggerClient::webViewLoaded): Moved.
5451         * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
5452         file, since this was the only place it was used.
5453         (cfStringToBSTR):
5454         * Drosera/win/Drosera.h: Cleaned up the includes.
5455         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
5456         * Drosera/win/HelperFunctions.h: Removed.
5458 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
5460         Reviewed by Adam.
5462         - Small cleanup in the ServerConnection class.
5464         * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
5465         and added an include.
5466         (ServerConnection::currentFrame):
5467         (ServerConnection::getCallerFrame):
5468         * Drosera/win/ServerConnection.h: Added comments, moved some functions,
5469         made a pointer into a COMPtr, and cleaned up the includes.
5471 2007-10-29  Timothy Hatcher  <timothy@apple.com>
5473         Reviewed by John Sullivan.
5474         
5475         - Place the Localizable.strings file in mac or win directories
5476           if that location exists.
5477         - Also look for UI_STRING in .c files.
5479         * Scripts/extract-localizable-strings:
5481 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
5483         Reviewed by Adam.
5485         - Set the eol-style to native and made all the line endings the same
5486         so that I avoid messy diffs that show eol changes.
5488         * Drosera/win/ServerConnection.cpp:
5489         (ServerConnection::didParseSource):
5490         (ServerConnection::didEnterCallFrame):
5491         (ServerConnection::willExecuteStatement):
5492         (ServerConnection::willLeaveCallFrame):
5493         (ServerConnection::exceptionWasRaised):
5495 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
5497         Reviewed by Adam.
5499         * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
5500         functionality that could not have existed previously without the new
5501         interfaces.
5502         (JSValueRefCreateWithBSTR): Added a helper function to easily convert
5503         from a BSTR to a JSValueRef.
5504         (DebuggerDocument::platformEvaluateScript): Implemented.
5505         (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
5506         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
5507         Implemented.
5508         (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
5509         * Drosera/win/HelperFunctions.h: Cleaned up some comments.
5510         * Drosera/win/ServerConnection.cpp: Added a helper function.
5511         (ServerConnection::getCallerFrame):
5512         * Drosera/win/ServerConnection.h: Added a helper function.
5514 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
5516         updated reviewers for my previous changelog.
5518 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
5519         Reviewed by Maciej and Adam and Geoff.
5521         - Minor mac-side improvements including moving a function to a more
5522         appropriate location, fixing a warning, and correctly checking
5523         exceptions.
5525         * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
5526         (DebuggerDocument::willExecuteStatement):
5527         (DebuggerDocument::didEnterCallFrame):
5528         (DebuggerDocument::willLeaveCallFrame):
5529         (DebuggerDocument::windowScriptObjectAvailable):
5530         (DebuggerDocument::callFunctionOnObject):
5531         * Drosera/mac/DebuggerClient.mm: Fixes a warning.
5532         * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
5533         webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
5534         because it doesn't require the ServerConnection at all.
5535         (NSStringCreateWithJSStringRef): Made an argument const.
5536         (JSValueRefCreateWithNSString): Made an argument const.
5537         (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
5538         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
5539         * Drosera/mac/ServerConnection.h: Moved aforementioned function.
5540         * Drosera/mac/ServerConnection.mm: Ditto.
5541         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
5543 2007-10-29  Sam Weinig  <sam@webkit.org>
5545         Reviewed by Adam Roben.
5547         Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
5549         * DumpRenderTree/LayoutTestController.cpp:
5550         (LayoutTestController::LayoutTestController):
5551         (getGlobalFlagCallback):
5552         (setGlobalFlagCallback):
5553         (LayoutTestController::getJSClass):
5554         (LayoutTestController::staticValues):
5555         * DumpRenderTree/LayoutTestController.h:
5556         (LayoutTestController::globalFlag):
5557         (LayoutTestController::setGlobalFlag):
5559 2007-10-29  Darin Adler  <darin@apple.com>
5561         Reviewed by Maciej.
5563         * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
5564         resolution instead of its default.
5566 2007-10-29  David Kilzer  <ddkilzer@webkit.org>
5568         Fixed showStatus() to print status for successfully resolved conflicts when using git.
5570         Reviewed by Mark Rowe.
5572         Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
5573         was successfully resolved, but this would not show any status because the change had
5574         already been cached in the index using "git add".  The solution is to add an optional
5575         second argument to showStatus() which adds the "--cached" switch to the command.
5577         * Scripts/resolve-ChangeLogs:
5578         (showStatus):
5580 2007-10-28  Eric Seidel  <eric@webkit.org>
5582         Reviewed by Maciej and Geoff, in unison.
5584         * Scripts/run-webkit-tests: remove broken --svg option
5586 2007-10-28  Darin Adler  <darin@apple.com>
5588         Reviewed by Adam.
5590         * Scripts/run-sunspider: Default to "Release" configuration rather than
5591         defaulting to the last configuration used as other scripts do. This can
5592         still be overriden on the command line with "--debug" if there's some
5593         reason to do so. Also fix a typo.
5595         * Scripts/sunspider-compare-results: Fix a typo.
5597 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
5599         Reviewed by Adam.
5601         - Implemented the WebScriptDebugListener functions now that the
5602         WebScriptDebugServer exists
5604         * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
5605         functions.
5606         (ServerConnection::currentFrame):
5607         (ServerConnection::didLoadMainResourceForDataSource):
5608         (ServerConnection::didParseSource):
5609         (ServerConnection::failedToParseSource):
5610         (ServerConnection::didEnterCallFrame):
5611         (ServerConnection::willExecuteStatement):
5612         (ServerConnection::willLeaveCallFrame):
5613         (ServerConnection::exceptionWasRaised):
5614         * Drosera/win/ServerConnection.h: Removed unused arguments from the
5615         members arguments list.
5617 2007-10-26  David Kilzer  <ddkilzer@webkit.org>
5619         prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
5620         <http://bugs.webkit.org/show_bug.cgi?id=15600>
5622         Reviewed by Darin.
5624         The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
5625         a patch of the local changes and applying it with a fuzz level of 3 to the new file.
5626         If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
5627         file.  Note that it may also be used as a stand-alone script.
5629         * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
5630         * Scripts/resolve-ChangeLogs: Added.
5631         * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
5633 2007-10-26  Mark Rowe  <mrowe@apple.com>
5635         Qt build fix.  r27084 added a destructor implementation for LayoutTestController
5636         to the Qt port on the assumption that it was an implementation of the cross-platform
5637         LayoutTestController class.  It is not, so it did not need to be changed.
5639         * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
5641 2007-10-25  Mark Rowe  <mrowe@apple.com>
5643         Reviewed by Maciej.
5645         Fix builds with code coverage enabled.
5647         * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
5649 2007-10-25  Darin Adler  <darin@apple.com>
5651         Reviewed by Mark Rowe.
5653         * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
5654         * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
5656 2007-10-25  Stephanie  <slewis@apple.com>
5658         build Fix
5660         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5662 2007-10-25  Stephanie  <slewis@apple.com>
5664         Reviewed by Mark Rowe, Adam Roben.
5666         Weak link against WebCore so DumpRenderTree can be bundled with production roots.
5668         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 
5670 2007-10-25  Alice Liu  <alice.liu@apple.com>
5672         Reviewed by Adam.
5674         Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
5676         Moving destructor into platform-specific files
5677         * DumpRenderTree/LayoutTestController.cpp:
5678         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5679         (LayoutTestController::~LayoutTestController):
5680         * DumpRenderTree/qt/jsobjects.cpp:
5681         (LayoutTestController::~LayoutTestController):
5683         LayoutTestController wasn't being destroyed
5684         * DumpRenderTree/win/DumpRenderTree.cpp:
5685         (runTest):
5687         Added declspec
5688         * DumpRenderTree/win/EditingDelegate.h:
5690         Reset certain values on the webview (or related delegate) that might 
5691         have changed while running a test
5692         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5693         (LayoutTestController::~LayoutTestController):
5695 2007-10-25  Adam Roben  <aroben@apple.com>
5697         Make sunspider-compare-results work with relative paths
5699         Reviewed by Sam.
5701         * Scripts/sunspider-compare-results: Convert arguments to absolute
5702         paths before we chdir.
5704 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
5706         Reviewed by Sam.
5708         - Implemented server calls now the WebScriptDebugServer exists.
5709         - Also removed no longer needed call to initialize CG.
5711         * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
5712         automatically now.
5713         (_tWinMain):
5714         * Drosera/win/ServerConnection.cpp: Now uses the COM class.
5715         (ServerConnection::ServerConnection):
5716         (ServerConnection::~ServerConnection):
5717         (ServerConnection::pause):
5718         (ServerConnection::resume):
5719         (ServerConnection::stepInto):
5720         (ServerConnection::applicationTerminating):
5721         (ServerConnection::serverConnectionDidDie):
5722         * Drosera/win/ServerConnection.h: Now uses the COM class.
5724 2007-10-24  George Staikos  <staikos@kde.org>
5726         Unbreak Qt build.
5728         * Scripts/build-webkit:
5730 2007-10-24  Adam Roben  <aroben@apple.com>
5732         Remove now-unnecessary call to InitializeCoreGraphics
5734         WebKit takes care of this now.
5736         Reviewed by Ada.
5738         * DumpRenderTree/win/DumpRenderTree.cpp:
5739         (initialize):
5741 2007-10-24  Adam Roben  <aroben@apple.com>
5743         Use WebTextRenderer in DRT
5745         Reviewed by Ada.
5747         * DumpRenderTree/win/DumpRenderTree.cpp:
5748         (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
5750 2007-10-24  Sven Herzberg  <sven@imendio.com>
5752         Reviewed by Mark Rowe.
5754         Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
5755         Bug 15614: [GTK] qmake based backends don't build on OS X
5757         * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
5758         GTK backend on a Mac
5759         * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
5760         isDarwin() to make it reusable in other places (like the workaround-
5761         for-prebuilt-qmake in build-webkit)
5763 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
5765         Refurbish update-webkit script.
5767         Reviewed by Adam.
5769         * Scripts/update-webkit: Add -h|--help switch and usage statement.  Check result of
5770         GetOptions() call.  Fix -q|--quiet switch to be passed to svn command properly.  Use
5771         multi-argument version of system() for flexibility and security.  Check for existence
5772         of Internal directory using -d test instead of -x.
5774 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
5776         Minor clean-up of prepare-ChangeLog script.
5778         Reviewed by Adam.
5780         * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
5781         of a string.  Use multi-argument versions of open() and system() for flexibility and
5782         security.
5784 2007-10-24  Alice Liu  <alice.liu@apple.com>
5786         Reviewed by Oliver.
5788         Fix <rdar://5410959>  editing/selection/drag-to-contenteditable-iframe.html fails on Windows
5790         Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to 
5791         replay the saved events when we're still processing the mousedown that starts the drag
5792         * DumpRenderTree/win/EventSender.cpp:
5793         (doMouseMove):
5794         * DumpRenderTree/win/UIDelegate.cpp:
5795         (UIDelegate::doDragDrop):
5797 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
5799         Reviewed by Sam, Steve and Darin.
5801         - Stubbed out the WebScriptDebugListener functionality in the Server
5802         Connection class to prepare it for receiving those callbacks.
5803         - Also I changed the instantiation of DebuggerClient, DebuggerDocument
5804         and the ServerConnection to not need to be initialized with a server
5805         name, since that is not the way we connect to the WebKit server. 
5807         * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
5808         no exception.  Now it only loggs when there is an exception
5809         (DebuggerDocument::willExecuteStatement):
5810         (DebuggerDocument::didEnterCallFrame):
5811         (DebuggerDocument::willLeaveCallFrame):
5812         (DebuggerDocument::windowScriptObjectAvailable):
5813         (DebuggerDocument::callFunctionOnObject):
5814         * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
5815         to be instantiated with a server's name.
5816         (DebuggerClient::DebuggerClient):
5817         (DebuggerClient::didFinishLoadForFrame):
5818         * Drosera/win/DebuggerClient.h: Removed unsued variable.
5819         * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
5820         a server name.
5821         (Drosera::init):
5822         (Drosera::initServer):
5823         * Drosera/win/Drosera.h: No longer need the ServerConnection to be
5824         instantiated with a server's name.
5825         * Drosera/win/ServerConnection.cpp: 
5826         (ServerConnection::ServerConnection): No longer needs a server name
5827         (ServerConnection::~ServerConnection): Only release the global context
5828         if there is one.
5829         (ServerConnection::serverConnectionDidDie): Stub for
5830         IWebScriptDebugListener
5831         (ServerConnection::QueryInterface): ditto
5832         (ServerConnection::AddRef): ditto
5833         (ServerConnection::Release): ditto
5834         (ServerConnection::didLoadMainResourceForDataSource): ditto
5835         (ServerConnection::didParseSource): ditto
5836         (ServerConnection::failedToParseSource): ditto
5837         (ServerConnection::didEnterCallFrame): ditto
5838         (ServerConnection::willExecuteStatement): ditto
5839         (ServerConnection::willLeaveCallFrame): ditto
5840         (ServerConnection::exceptionWasRaised): ditto
5841         * Drosera/win/ServerConnection.h: Stubbed out the
5842         IWebScriptDebugListener functions, and this class no longer needs to be
5843         instantiated with a server name.
5845 2007-10-24  Lars Knoll  <lars@trolltech.com>
5847         Reviewed by Simon.
5849         add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
5851         * DumpRenderTree/qt/jsobjects.h:
5853 2007-10-24  Lars Knoll  <lars@trolltech.com>
5855         Reviewed by Simon.
5857         add another command.
5859         * DumpRenderTree/qt/jsobjects.cpp:
5860         (TextInputController::doCommand):
5862 2007-10-24  Lars Knoll  <lars@trolltech.com>
5864         Reviewed by Simon.
5866         add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
5868         * DumpRenderTree/qt/jsobjects.cpp:
5869         (EventSender::keyDown):
5870         * DumpRenderTree/qt/jsobjects.h:
5872 2007-10-24  Lars Knoll  <lars@trolltech.com>
5874         Reviewed by Simon.
5876         implement eventSender.keyDown().
5878         * DumpRenderTree/qt/jsobjects.cpp:
5879         (EventSender::keyDown):
5881 2007-10-24  Lars Knoll  <lars@trolltech.com>
5883         Reviewed by Simon.
5885         some smaller fixes to the editing support in DRT. Makes another few tests pass.
5887         * DumpRenderTree/qt/DumpRenderTree.cpp:
5888         (WebCore::DumpRenderTree::DumpRenderTree):
5889         (WebCore::DumpRenderTree::initJSObjects):
5890         * DumpRenderTree/qt/jsobjects.cpp:
5891         (TextInputController::doCommand):
5893 2007-10-24  Lars Knoll  <lars@trolltech.com>
5895         Reviewed by Simon.
5897         first bit of implementation for the textinputcontroller.
5899         * DumpRenderTree/qt/DumpRenderTree.cpp:
5900         (WebCore::DumpRenderTree::DumpRenderTree):
5901         * DumpRenderTree/qt/DumpRenderTree.h:
5902         * DumpRenderTree/qt/jsobjects.cpp:
5903         (TextInputController::TextInputController):
5904         (TextInputController::doCommand):
5905         * DumpRenderTree/qt/jsobjects.h:
5907 2007-10-24  Lars Knoll  <lars@trolltech.com>
5909         Reviewed by Simon.
5911         make the man webpage believe it has focus, so the editing tests work correctly.
5913         * DumpRenderTree/qt/DumpRenderTree.cpp:
5914         (WebCore::DumpRenderTree::DumpRenderTree):
5916 2007-10-24  Lars Knoll  <lars@trolltech.com>
5918         Reviewed by Simon.
5920         implement layoutTestController.dumpEditingCallbacks() correctly.
5922         * DumpRenderTree/qt/DumpRenderTree.cpp:
5923         (WebCore::DumpRenderTree::DumpRenderTree):
5924         * DumpRenderTree/qt/jsobjects.cpp:
5925         (LayoutTestController::reset):
5926         (LayoutTestController::dumpEditingCallbacks):
5928 2007-10-24  Lars Knoll  <lars@trolltech.com>
5930         Reviewed by Simon.
5932         Implement support for testing editing.
5934         * DumpRenderTree/qt/DumpRenderTree.cpp:
5935         (WebCore::DumpRenderTree::DumpRenderTree):
5937 2007-10-23  Sam Weinig  <sam@webkit.org>
5939         Check for null BSTR that can be passed to the UIDelegate methods
5940         from javascript null and undefined.  Fixes a failing test case on
5941         Windows (fast/dom/Window/alert-undefined.html)
5943         Reviewed by Eric Seidel.
5945         * DumpRenderTree/win/UIDelegate.cpp:
5946         (UIDelegate::runJavaScriptAlertPanelWithMessage):
5947         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
5948         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
5949         (UIDelegate::webViewAddMessageToConsole):
5951 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
5953         Reviewed by Darin.
5954         
5955         Don't print a massive pile of setenvs from tools that automatically build testkjs.
5957         * Scripts/build-testkjs:
5959 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
5961         Reviewed by Darin.
5963         - add wrapper that finds the right copy of testkjs
5964         
5965         * Scripts/sunspider-compare-results: Added.
5967 2007-10-23  Kevin McCullough  <kmccullough@apple.com>
5969         Reviewed by Sam.
5971         - After talking with Steve I now see that the WebKit server must be
5972         running for DCOM to create the distributed objects, which makes sense
5973         and currently WebKit only allows one instance to be running at a time
5974         which avoids accidentally connecting to the wrong server
5975         - In light of this I have removed the code for the attach box and
5976         NotificationServer and known server names, since they are all extranious
5977         now.
5979         * Drosera/win/Drosera.cpp: Removed notification classes and known server
5980         names.
5981         (_tWinMain): Uses init instead of initUI.
5982         (droseraWndProc): No longer creats an attach dialog box.
5983         (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
5984         it's not manditory to call init before doing COM stuff.
5985         (Drosera::init): calls initUI and will call attach when the
5986         functionality exists. 
5987         (Drosera::initUI): Has changed very little.
5988         (Drosera::attach): Changed the signature to reflect that we no longer
5989         need the dictionary of known server names.
5990         * Drosera/win/Drosera.h: Removed notification classes and known server
5991         names.  Also renamed and moved some functions.
5992         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
5993         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
5994         headers to the resources folder. 
5995         * Drosera/win/resource.h: Removed the Attach box.
5997 2007-10-22  Adam Roben  <aroben@apple.com>
5999         Windows build fix
6001         * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
6003 2007-10-22  Kevin McCullough  <kmccullough@apple.com>
6005         - Removed a leak that was fixed.
6007         * Scripts/run-webkit-tests:
6009 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
6011         Reviewed by Darin.
6013         - Changed the Client so that the DebuggerDocument now own the
6014         ServerConnection.  This simplifies ownership and cleanup. 
6016         * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
6017         ServerConnection.
6018         (DebuggerClient::initWithServerName):
6019         (DebuggerClient::didFinishLoadForFrame):
6020         * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the 
6021         ServerConnection.
6022         * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
6023         until after we have a server which we are attached to.
6024         (Drosera::initUI):
6025         (Drosera::attach):
6026         * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
6027         out previously.
6029 2007-10-22  Simon Hausmann  <hausmann@kde.org>
6031         Reviewed by Nikolas.
6033         When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
6035         * Scripts/run-javascriptcore-tests:
6037 2007-10-22  Simon Hausmann  <hausmann@kde.org>
6039         Reviewed by Nikolas.
6041         Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
6043         * Scripts/build-drosera:
6044         * Scripts/build-dumprendertree:
6045         * Scripts/build-testkjs:
6046         * Scripts/build-webkit:
6047         * Scripts/run-javascriptcore-tests:
6048         * Scripts/run-sunspider:
6049         * Scripts/run-webkit-tests:
6050         * Scripts/webkitdirs.pm:
6052 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
6054         Reviewed by Mark Rowe.
6055         
6056         Fix for local database support after r26879
6057         Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
6059         * Scripts/build-webkit:
6061 2007-10-22  Holger Freyther  <zecke@selfish.org>
6063         Reviewed by Simon Hausmann <hausmann@kde.org>.
6065         - Do not build testkjs as an application bundle. This is
6066         needed for run-javascriptcore-tests on OSX.
6067         - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
6068         - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
6069         as we do not have -rpath on OSX.
6071         * DumpRenderTree/qt/DumpRenderTree.pro:
6072         * Scripts/run-webkit-tests:
6074 2007-10-22  Simon Hausmann  <hausmann@kde.org>
6076         Reviewed by aroben.
6078         Fix support for Signed-off-by detection in prepare-ChangeLog
6079         --git-commit. The Signed-off-by tag does not appear in the header
6080         but usually at the end.
6082         * Scripts/prepare-ChangeLog:
6084 2007-10-21  Mark Rowe  <mrowe@apple.com>
6086         Reviewed by Eric.
6088         Fix run-javascriptcore-tests for Gtk.
6090         * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
6092 2007-10-20  Eric Seidel  <eric@webkit.org>
6094         Reviewed by aroben.
6096         * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
6098 2007-10-20  Eric Seidel  <eric@webkit.org>
6100         Reviewed by darin.
6101         
6102         Add improved argument handling to run-sunspider, including
6103         --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
6104         Also re-factor code into subroutines
6106         * Scripts/build-dumprendertree: removed bogus comments
6107         * Scripts/build-testkjs: Added.
6108         * Scripts/run-javascriptcore-tests: use build-testkjs
6109         * Scripts/run-sunspider: improved argument handling, abstraction
6110         * Scripts/run-webkit-tests: improved abstraction
6112 2007-10-20  Matt Lilek  <webkit@mattlilek.com>
6114         Not reviewed, Windows build fix.
6116         * DumpRenderTree/win/EventSender.cpp:
6117         (keyDownCallback):
6119 2007-10-20  Darin Adler  <darin@apple.com>
6121         Reviewed by Tim Hatcher.
6123         - http://bugs.webkit.org/show_bug.cgi?id=15544
6124           <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
6125           not rely on Apple-specific key codes
6127         * DumpRenderTree/mac/EventSendingController.mm:
6128         (-[EventSendingController keyDown:withModifiers:]):
6129         Added named key "rightArrow". Later we could have a whole table of these.
6130         Also tweaked modifiers code a little.
6132         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
6134 2007-10-19  Darin Adler  <darin@apple.com>
6136         Reviewed by Eric.
6138         - http://bugs.webkit.org/show_bug.cgi?id=15566
6139           possible fix for leak seen in DumpRenderTree
6141         * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
6142         Delete the item if it's not put on the queue, since the caller has
6143         no way of knowing that. Would be better to have the parameter type
6144         be auto_ptr to express the fact that we take ownership.
6146         - unrelated change
6148         * Drosera/mac/main.m: Add missing include.
6150 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
6152         Reviewed by Adam.
6154         - This change should be identical but for some reason was not working
6155         on my machine.
6157         * Scripts/prepare-ChangeLog:
6159 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
6161         Reviewed by Oliver and Tim.
6163         - Made use of RetainPtr to avoid retain and release issues and moved the
6164         log function to DebuggerDocumentPlatform, which seems to be a more
6165         logical place for it to live.
6166         - Also moved knownServers from the ServerConnection to
6167         DebuggerApplication to match the Windows code and because it makes sense
6168         that a connection knows its own server but not all of them.
6170         * Drosera/mac/DebuggerClient.h: Moved the log function to
6171           DebuggerDocumentPlatform.
6172         * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
6173           Because it's owned by an own Ptr in DebuggerDocument.  Also moved the
6174           call for the server name up from the ServerConnection class.
6175         (-[DebuggerClient dealloc]):
6176         (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
6177           for the server name up from the ServerConnection.
6178         * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
6179         (DebuggerDocument::platformPause):
6180         (DebuggerDocument::platformResume):
6181         (DebuggerDocument::platformStepInto):
6182         (DebuggerDocument::platformEvaluateScript):
6183         (DebuggerDocument::getPlatformCurrentFunctionStack):
6184         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6185         (DebuggerDocument::platformValueForScopeVariableNamed):
6186         (DebuggerDocument::platformLog): Log directly from here. No need to call
6187           DebuggerClient.
6188         * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
6189           way I see it, a ServerConnection should only know about its connection
6190           and the group of all possible servers should be kept by the
6191           application.
6192         * Drosera/mac/ServerConnection.mm: Removed knownServer but added
6193           currentServerName, it makes sense that the connection should know that
6194           name.
6195         (-[ServerConnection currentServerName]):
6197 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
6199         Reviewed by Adam.
6201         - Integrated changes from mac drosera.  Recently I've encapsulated
6202         out the server connection object from the rest of Drosera because
6203         it is very platform dependent right now and RPC is not implemented on
6204         windows.  This functionality, of communicating with the WebKit server
6205         is the next area I will be focusing on in Windows.
6207         - Other changes and cleanup were made to organize the code and add notes
6208         on which parts still need work.  Also some mac code is added and
6209         commented out, to act as pseudocode for the logic of those parts.
6211         * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
6212           pointer.
6213         * Drosera/config.h: Added whitespace.
6214         * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
6215           these files got moved into Drosera.h/cpp
6216         * Drosera/win/DebuggerApplication.h: Removed.
6217         * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring 
6218           happened here to better match the logic flow of the same code on the 
6219           mac side and to use the new ServerConnection class.
6220         (DebuggerClient::DebuggerClient): Constructor that takes a server name.
6221         (DebuggerClient::initWithServerName): Initializer that will set up the
6222           class to use a ServerConnection object.  This was necessary so I could
6223           create a DebuggerClient without having to initilaize it at
6224           construction.
6225         (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
6226           will be the UIDelegate and FrameLoadDelegate.
6227         (DebuggerClient::AddRef): For IUnknown.
6228         (DebuggerClient::Release): For IUnknown.
6229         (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
6230           this still needs to set the global context of the server, but
6231           IWebFrame does not have an accessor for the global context yet. 
6232         (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
6233           this is a pass through for the same function in the document.
6234         (DebuggerClient::didReceiveTitle): Unimplemented part of
6235           FrameLoadDelegate this would change the title of the window.
6236         (DebuggerClient::createWebViewWithRequest): Part of the
6237           FrameLoadDelegate.  This is about new windows via Window.open() and
6238           how their delegates are set.
6239         (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
6240           UIDelegate.  Just a debug function for printing messages.
6241         * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
6242           because the Client should be the UIDelegate and FrameLoadDelegate
6243           to match the delegates on mac.
6244         (DebuggerClient::webViewLoaded): Added accessor method.
6245         * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
6246           forgotten to add this file before.  This is where the platform
6247           dependent versions of the Documents functions live. Most of these are
6248           unimplemented because some piece of functionality does not exist on
6249           Windows yet.
6250         (DebuggerDocument::platformPause):
6251         (DebuggerDocument::platformResume):
6252         (DebuggerDocument::platformStepInto):
6253         (DebuggerDocument::platformEvaluateScript):
6254         (DebuggerDocument::getPlatformCurrentFunctionStack):
6255         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6256         (DebuggerDocument::platformValueForScopeVariableNamed):
6257         (DebuggerDocument::platformLog):
6258         * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
6259           responsibilities becaue they belong in the Client. Also I laid the
6260           groundwork for attaching Drosera to a WebKit process
6261         (attachWndProc): Now if a server is selected the Client becomes it's
6262           delegate.
6263         (Drosera::Drosera): Added the construction of the Client and dictionary
6264           of server names. 
6265         (Drosera::initUI): This is no longer the delegates, the Client is.
6266         (Drosera::webViewLoaded): Now asks the Client instead of holding local
6267           state. 
6268         (Drosera::applicationDidFinishLaunching): Placeholder for needed
6269           notification registration when it's possible to implement.
6270         (Drosera::serverLoaded): Ditto
6271         (Drosera::serverUnloaded): Ditto
6272         (Drosera::attach): Attach Drosera to the WebKit server.
6273         * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
6274         (Drosera::getInst): 
6275         (Drosera::setInst):
6276         (Drosera::knownServers):
6277         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
6278           and added the ServerConnection.
6279         * Drosera/win/DroseraPrefix.h: Added an ifndef check.
6280         * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
6281           Most of the functions are completely unimlemented because they cannot
6282           connect with the WebKit server, because one does not exist on Windows
6283           yet.
6284         (ServerConnection::initWithServerName): 
6285         (ServerConnection::~ServerConnection):
6286         (ServerConnection::setGlobalContext):
6287         (ServerConnection::pause):
6288         (ServerConnection::resume):
6289         (ServerConnection::stepInto):
6290         (ServerConnection::switchToServerNamed):
6291         (ServerConnection::applicationTerminating):
6292         (ServerConnection::serverConnectionDidDie):
6293         (ServerConnection::currentFrame):
6294         * Drosera/win/ServerConnection.h: Added. Ditto.
6295         (ServerConnection::ServerConnection):
6297 2007-10-19  Alice Liu  <alice.liu@apple.com>
6299         Reviewed by Darin.
6301         Fix for these broken layout tests on Windows:
6302         
6303         fast/forms/focus-selection-input.html
6304         fast/forms/focus-selection-textarea.html
6305         fast/forms/select-accesskey.html
6306         
6307         * DumpRenderTree/win/EventSender.cpp:
6308         (keyDownCallback):
6309         correct the VK code for alt key.
6310         
6311 2007-10-19  Eric Seidel  <eric@webkit.org>
6313         Reviewed by Mark Rowe.
6314         
6315         Make the GtkLauncher code slightly more readable.
6317         * GtkLauncher/main.cpp:
6318         (setupMainMenu): Added.
6319         (setupMainWindowUI): Added.
6320         (main):
6322 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
6324         Rubber stamped by Adam.
6325         
6326         - don't delay-load WebKit in DumpRenderTree.
6328         * DumpRenderTree/win/DumpRenderTree.vcproj:
6330 2007-10-18  Dan Bernstein  <mitz@apple.com>
6332         Reviewed by Adam Roben.
6334         - fix <rdar://problem/5313523>
6335         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
6337         * DumpRenderTree/mac/DumpRenderTree.mm:
6338         (dump): Changed to use _responseMIMEType.
6340 2007-10-17  Adam Roben  <aroben@apple.com>
6342         Make it possible to have Windows-specific tests and results
6344         When searching for tests to run and the Skipped file, we will only
6345         look in platform/win and the cross-platform directory. When looking
6346         for expected results, we will look in platform/win, then
6347         platform/mac-leopard, then platform/mac, then finally the
6348         cross-platform directory.
6350         Reviewed by Sam.
6352         * Scripts/run-webkit-tests:
6353         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
6354         searching in the cross-platform directory.
6355         (sub buildPlatformHierarchy): Removed some unneeded calls to
6356         dirname/basename.
6358 2007-10-17  Adam Roben  <aroben@apple.com>
6360         Add back the call to register WebKit that we had before WebKitInitializer existed
6362         This is needed to ensure that the right WebKit is used when
6363         instantiating COM objects.
6365         Reviewed by Oliver.
6367         * DumpRenderTree/win/debug_internal.vsprops: Define
6368         DEBUG_WEBKIT_HAS_SUFFIX.
6369         * DumpRenderTree/win/DumpRenderTree.cpp:
6370         (initialize):
6372 2007-10-17  Adam Roben  <aroben@apple.com>
6374         Import File::Basename in webkitdirs since we use it
6376         * Scripts/webkitdirs.pm:
6378 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
6380         - Updated the tiger leaks list to make the internal bots green.
6382         * Scripts/run-webkit-tests:
6384 2007-10-17  Adam Roben  <aroben@apple.com>
6386         Build fix for VC++ Express
6388         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
6389         and ole32.lib.
6391 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
6393         Reviewed by Sam.
6395         - Minor mac improvements based on observations I made while implementing the
6396         Windows code.
6398         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
6399         then hand it to the Client who will retain it, it should just be the client who
6400         creates and owns the server.
6401         (-[DebuggerApplication attach:]):
6402         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
6403         * Drosera/mac/DebuggerClient.mm: Creates the server.
6404         (-[DebuggerClient initWithServerName:]):
6405         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
6406         can instead forward declare what it needs.
6408 2007-10-16  Darin Adler  <darin@apple.com>
6410         Reviewed by Geoff Garen.
6412         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
6413         want to turn failing tests into platform-specific test results. Also did a
6414         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
6415         would take the type of results into account only some of the time.
6417 2007-10-16  Adam Roben  <aroben@apple.com>
6419         Add a new nightly launcher script for Windows
6421         This new script is for versions of Safari that don't delay-load
6422         WebKit. I had to make FindSafari be able to print out the nightly
6423         launcher script on stdout because Windows shell scripts can't capture
6424         the output from a command into an environment variable.
6426         Reviewed by Steve.
6428         * FindSafari/FindSafari.cpp:
6429         (_tmain): Added /printSafariLauncher option.
6430         * Scripts/run-webkit-nightly.cmd: Added.
6432 2007-10-16  Adam Roben  <aroben@apple.com>
6434         Replace WebKitInitializer with FindSafari
6436         We now rely on setting the PATH environment variable to tell Windows
6437         where to find WebKit and its dependencies (similar to
6438         DYLD_FRAMEWORK_PATH on Mac).
6440         This change also make DumpRenderTree no longer delay-load WebKit.
6442         Reviewed by Sam.
6444         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
6445         FindSafari.
6446         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
6447         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
6448         WebKitInitializer, don't delay-load WebKit.
6449         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
6450         * Scripts/run-webkit-tests: Ditto.
6451         * Scripts/webkitdirs.pm:
6452         (sub setPathForRunningWebKitApp): Added.
6453         * WebKitInitializer/WebKitInitializer.cpp: Removed.
6454         * WebKitInitializer/WebKitInitializer.h: Removed.
6455         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
6456         * WebKitInitializer/debug.vsprops: Removed.
6457         * WebKitInitializer/debug_internal.vsprops: Removed.
6458         * WebKitInitializer/release.vsprops: Removed.
6460 2007-10-16  Adam Roben  <aroben@apple.com>
6462         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
6464         http://bugs.webkit.org/show_bug.cgi?id=15532
6466         FindSafari simply prints the location of an installed Safari.exe on
6467         stdout.
6469         Reviewed by Darin.
6471         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
6472         (getStringValue):
6473         (getWebViewCLSID):
6474         (getInstalledWebKitDirectory):
6475         (_tmain):
6476         * FindSafari/FindSafari.vcproj: Added.
6477         * Scripts/webkitdirs.pm:
6478         (sub installedSafariPath): Added. Calls FindSafari on Windows.
6480 2007-10-16  Adam Roben  <aroben@apple.com>
6482         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
6484         Reviewed by Kevin McCullough.
6486         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
6487         when referring to WebKit.dll.
6488         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
6489         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
6490         * DumpRenderTree/win/release.vsprops: Ditto.
6491         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
6492         never have a _debug suffix on WebKit.dll.
6493         * WebKitInitializer/WebKitInitializer.cpp:
6494         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
6495         specified.
6496         * WebKitInitializer/debug_internal.vsprops: Added
6497         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
6499 2007-10-16  Darin Adler  <darin@apple.com>
6501         Reviewed by Adele.
6503         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
6504         Remove now-unneeded control/alt key hack; the tests have been updated.
6506 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
6508         - Updated leaks list because our internal bot upgraded it's version of leopard and 
6509         one of the leaks was fixed between that revision and the bot's previous version of
6510         leopard.
6512         * Scripts/run-webkit-tests:
6514 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
6516         Reviewed by Tim.
6518         - I encapsulated out the server connecton functionality because it is a specific part
6519         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
6520         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
6521         Windows.  So the majority of this patch is moving preexisting functionality.
6523         - Also I removed the prefix header and changed to use config.h because it is more
6524         standard on how we use config.h in windows and it didn't make much sense to keep
6525         the prefix header and the config.h
6527         * Drosera/DebuggerDocument.cpp:
6528         (DebuggerDocument::DebuggerDocument):
6529         * Drosera/DebuggerDocument.h:
6530         * Drosera/config.h:
6531         * Drosera/mac/DebuggerApplication.mm:
6532         (-[DebuggerApplication attach:]):
6533         * Drosera/mac/DebuggerClient.h:
6534         * Drosera/mac/DebuggerClient.mm:
6535         (-[DebuggerClient initWithServerConnection:]):
6536         (-[DebuggerClient dealloc]):
6537         (-[DebuggerClient windowDidLoad]):
6538         (-[DebuggerClient windowWillClose:]):
6539         (-[DebuggerClient webView:didFinishLoadForFrame:]):
6540         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
6541         * Drosera/mac/DebuggerDocumentPlatform.mm:
6542         (DebuggerDocument::platformPause):
6543         (DebuggerDocument::platformResume):
6544         (DebuggerDocument::platformStepInto):
6545         (DebuggerDocument::platformEvaluateScript):
6546         (DebuggerDocument::getPlatformCurrentFunctionStack):
6547         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6548         (DebuggerDocument::platformValueForScopeVariableNamed):
6549         (DebuggerDocument::platformLog):
6550         * Drosera/mac/Drosera.pch: Removed.
6551         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
6552         * Drosera/mac/ServerConnection.h: Added.
6553         * Drosera/mac/ServerConnection.mm: Added.
6554         (-[ServerConnection initWithServerName:]):
6555         (-[ServerConnection dealloc]):
6556         (-[ServerConnection setGlobalContext:]):
6557         (-[ServerConnection pause]):
6558         (-[ServerConnection resume]):
6559         (-[ServerConnection stepInto]):
6560         (-[ServerConnection switchToServerNamed:]):
6561         (-[ServerConnection applicationTerminating:]):
6562         (-[ServerConnection serverConnectionDidDie:]):
6563         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
6564         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
6565         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
6566         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
6567         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
6568         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
6569         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
6570         (-[ServerConnection currentFrame]):
6571         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
6572         (-[ServerConnection knownServers]):
6574 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
6576         Reviewed by Eric.
6578         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
6579           Script to automatically search nightly builds for regressions (bisect-builds)
6581         * Scripts/bisect-builds: Added.
6583 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
6585         Reviewed by Darin.
6587         - New JavaScript benchmark
6588         http://bugs.webkit.org/show_bug.cgi?id=15515
6590         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
6591         current development or release build of JavaScriptCore.
6593 2007-10-15  Mark Rowe  <mrowe@apple.com>
6595         Reviewed by Sam.
6597         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
6599         * Scripts/webkitdirs.pm:
6600         - Change checkArgv to remove the options from @ARGV to prevent
6601         them from interfering with further option processing.
6602         - Fix logic error in determineIsQt that would prevent it from bailing out early.
6603         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
6604         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
6605         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
6607 2007-10-15  Darin Adler  <darin@apple.com>
6609         Reviewed by Sam.
6611         - added logging of window.prompt and window.confirm
6613         * DumpRenderTree/mac/UIDelegate.mm:
6614         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
6615         Implement the recommended delegate rather than the deprecated one.
6616         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
6617         Added.
6618         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
6619         Added.
6621         * DumpRenderTree/win/UIDelegate.h:
6622         * DumpRenderTree/win/UIDelegate.cpp:
6623         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
6624         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
6625         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
6626         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
6628 2007-10-15  Alice Liu  <alice.liu@apple.com>
6630         Reviewed by Sam Weinig.
6632         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
6634         * DumpRenderTree/win/DumpRenderTree.cpp:
6635         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
6636         (main): allocate the global policy delegate for DRT's custom use
6637         * DumpRenderTree/win/DumpRenderTree.vcproj:
6638         Adding files to project
6639         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
6640         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6641         (LayoutTestController::setCustomPolicyDelegate):
6642         set the webview's policy delegate to DRT's custom one if the test requests it.
6643         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
6644         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
6645         (PolicyDelegate::PolicyDelegate):
6646         (PolicyDelegate::QueryInterface):
6647         (PolicyDelegate::AddRef):
6648         (PolicyDelegate::Release):
6649         (PolicyDelegate::decidePolicyForNavigationAction):
6650         * DumpRenderTree/win/PolicyDelegate.h: Added.
6651         (PolicyDelegate::decidePolicyForNewWindowAction):
6652         (PolicyDelegate::decidePolicyForMIMEType):
6653         (PolicyDelegate::unableToImplementPolicyWithError):
6655 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
6657         Reviewed by Mark.
6659         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
6660         when querying for QMAKE_MKSPECS.
6662 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
6664         Reviewed by Adam Roben.
6665         
6666         Fix run-webkit-tests is too greedy calculating platform hierarchy
6667         http://bugs.webkit.org/show_bug.cgi?id=15465
6668         
6669         Fix run-webkit-tests being too greedy in trying to split the platform name up
6670         causing it to try and find tests in every directory above the first "-" in the
6671         path to the LayoutTests
6673         * Scripts/run-webkit-tests:
6675 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
6677         Reviewed by Darin.
6679         http://bugs.webkit.org/show_bug.cgi?id=15006
6680         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
6681         to reduce code duplication.
6683         * Scripts/build-webkit:
6684         * Scripts/webkitdirs.pm:
6685         buildQMakeProject() renamed to buildQMakeQtProject().
6686         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
6687         unused $colorize has been removed.
6689 === Start merge of feature-branch 2007-10-12 ===
6691 2007-10-08  Eric Seidel  <eric@webkit.org>
6693         Reviewed by Mark Rowe.
6695         * Scripts/build-webkit: add --help, remove unused --color
6697 2007-10-07  Eric Seidel  <eric@webkit.org>
6699         Reviewed by darin.
6701         * Drosera/mac/DebuggerDocumentPlatform.mm:
6702         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
6704 2007-10-03  Rob Buis  <buis@kde.org>
6706         Reviewed by Olliej.
6708         Adapt to changed location of Ahem font.
6710         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6712 2007-10-02  Eric Seidel  <eric@webkit.org>
6714         Reviewed by Adam Roben.
6715         
6716         Make pixel tests more useful!
6717         Finally fix the image diff 0.00% mystery problem
6718         Highlight any image differences in the image diff.
6719         Add a link from image diffs back to original test file.
6721         * DumpRenderTree/mac/ImageDiff.m:
6722         (compareImages): highlight any differences
6723         (computePercentageDifferent): round to two decimal places
6724         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
6726 2007-10-02  Eric Seidel  <eric@webkit.org>
6728         Reviewed by Alexey Proskuryakov.
6730         * Scripts/run-webkit-tests: print the % image difference on main results page
6732 2007-10-02  Mark Rowe  <mrowe@apple.com>
6734         Reviewed by Oliver.
6736         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
6738         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
6739         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
6741 2007-10-01  Mark Rowe  <mrowe@apple.com>
6743         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
6745 2007-09-25  Eric Seidel  <eric@webkit.org>
6747         Reviewed by Mark Rowe.
6748         
6749         DerivedSources.make was finding "ENABLE_SVG" in the string
6750         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
6751         quite correctly.
6753         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
6755 2007-09-25  Mark Rowe  <mrowe@apple.com>
6757         Rubber-stamped by Eric.
6759         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
6760         This makes it possible to automate nightly builds for the feature-branch.
6762 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
6764         Rubber stamped by Mark.
6766         Enable svg experimental features as default here in feature-branch.
6768         * Scripts/build-webkit:
6770 2007-06-29  Antti Koivisto  <antti@apple.com>
6772         Reviewed by Weinig.
6773         
6774         Add VIDEO flag for timed media features
6776         * Scripts/build-webkit
6777         
6778 === End merge of feature-branch 2007-10-12 ===
6780 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
6782         Reviewed by Darin.
6784         - Updated rational for the leaks list to be more clear.
6786         * Scripts/run-webkit-tests:
6788 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
6790         Rubber Stamp by Sam.
6792         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
6793         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
6795         * Scripts/run-webkit-tests:
6797 2007-10-10  Simon Hausmann  <hausmann@kde.org>
6799         Reviewed by Lars.
6801         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
6802         includes are needed for INT_MAX, std::auto_ptr and the like.
6804         * DumpRenderTree/qt/main.cpp:
6806 2007-10-09  Lars Knoll  <lars@trolltech.com>
6808         Reviewed by Simon.
6810         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
6812         * DumpRenderTree/qt/jsobjects.cpp:
6813         (LayoutTestController::encodeHostName):
6814         (LayoutTestController::decodeHostName):
6815         * DumpRenderTree/qt/jsobjects.h:
6817 2007-10-09  Lars Knoll  <lars@trolltech.com>
6819         Reviewed by Simon.
6821         Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
6823         * DumpRenderTree/qt/DumpRenderTree.cpp:
6824         (WebCore::WebPage::createFrame):
6825         (WebCore::DumpRenderTree::DumpRenderTree):
6826         (WebCore::DumpRenderTree::titleChanged):
6827         * DumpRenderTree/qt/DumpRenderTree.h:
6828         * DumpRenderTree/qt/jsobjects.cpp:
6829         (LayoutTestController::reset):
6830         * DumpRenderTree/qt/jsobjects.h:
6832 2007-10-09  Lars Knoll  <lars@trolltech.com>
6834         Reviewed by Simon.
6836         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
6838         * DumpRenderTree/qt/DumpRenderTree.h:
6839         * DumpRenderTree/qt/jsobjects.cpp:
6840         (LayoutTestController::clearBackForwardList):
6841         * DumpRenderTree/qt/jsobjects.h:
6843 2007-10-09  Lars Knoll  <lars@trolltech.com>
6845         Reviewed by Simon.
6847         make --git-reviewer work again.
6849         * Scripts/prepare-ChangeLog:
6851 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
6853         Rubber stamped by Eric.
6855         Connect to the "hovering-over-link" signal emitted by WebKitPage and
6856         show the current link inside the statusbar.
6857         This shows how to make use of this signal and allows to easily test
6858         http://bugs.webkit.org/show_bug.cgi?id=15299.
6860         * GtkLauncher/main.cpp:
6861         (hoveringOverLink):
6862         (main):
6864 2007-10-05  Lars Knoll  <lars@trolltech.com>
6866         add proper error messages to the FrameLoaderClient.
6867         Implement ChromeClientQt::closeWindowSoon and
6868         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
6869         Some fixes in DRT to make it work correctly with multiple windows.
6871         Reviewed by Maciej.
6873         * DumpRenderTree/qt/DumpRenderTree.cpp:
6874         (WebCore::DumpRenderTree::DumpRenderTree):
6875         (WebCore::DumpRenderTree::createWindow):
6876         (WebCore::DumpRenderTree::windowCount):
6877         * DumpRenderTree/qt/DumpRenderTree.h:
6878         * DumpRenderTree/qt/jsobjects.cpp:
6879         (LayoutTestController::maybeDump):
6880         (LayoutTestController::windowCount):
6881         * DumpRenderTree/qt/jsobjects.h:
6883 2007-10-05  Lars Knoll  <lars@trolltech.com>
6885         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
6886         Add support for layoutTextController.setCanOpenWindows() to DRT
6887         fixing another 2 test cases in fast/dom/Window.
6889         Reviewed by Maciej.
6891         * DumpRenderTree/qt/DumpRenderTree.cpp:
6892         (WebCore::WebPage::WebPage):
6893         (WebCore::WebPage::createWindow):
6894         (WebCore::DumpRenderTree::resetJSObjects):
6895         (WebCore::DumpRenderTree::createWindow):
6896         * DumpRenderTree/qt/DumpRenderTree.h:
6897         * DumpRenderTree/qt/DumpRenderTree.pro:
6898         * DumpRenderTree/qt/jsobjects.cpp:
6899         (LayoutTestController::LayoutTestController):
6900         (LayoutTestController::reset):
6901         * DumpRenderTree/qt/jsobjects.h:
6902         * DumpRenderTree/qt/main.cpp:
6903         * DumpRenderTree/qt/testplugin.cpp: Added.
6904         * DumpRenderTree/qt/testplugin.h: Added.
6906 2007-10-04  Sam Weinig  <sam@webkit.org>
6908         Rubber stamped by Adam.
6910         Remove empty directories.
6912         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
6913         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
6915 2007-10-03  Darin Adler  <darin@apple.com>
6917         Reviewed by Adam.
6919         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
6920         we find the internal libraries in the libraries directory. This
6921         is helpful for Safari team engineers at Apple.
6923 2007-10-03  Adam Roben  <aroben@apple.com>
6925         Update the location of AHEM___.TTF after r25968
6927         Reviewed by Sam.
6929         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6931 2007-10-03  Alp Toker  <alp@atoker.com>
6933         Reviewed by Adam.
6935         http://bugs.webkit.org/show_bug.cgi?id=14726
6936         [gtk] API design. Mapping the WebView delegates to signals.
6938         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
6940         * GtkLauncher/main.cpp:
6941         (goToURLBarText):
6942         (titleChanged):
6943         (progressChanged):
6944         (menuMainBackCallback):
6945         (menuMainForwardCallback):
6946         (main):
6948 2007-10-03  Lars Knoll  <lars@trolltech.com>
6950         Reviewed by Rob.
6952         This fixes --strict mode in run-webkit-tests again after
6953         the platform dependent test results have been moved.
6955         * Scripts/run-webkit-tests:
6957 2007-10-03  Lars Knoll  <lars@trolltech.com>
6959         Reviewed by bdash.
6961         remove the hack in run-webkit-tests that forced text only test
6962         to be taken from the platform independent dir. It was only left
6963         there from early days.
6964         
6965         Remove platform dependent results for tests that are text only nowadays,
6966         and add one platform dependent result for a text only test that requires it.
6968         * Scripts/run-webkit-tests:
6970 2007-10-03  Lars Knoll  <lars@trolltech.com>
6972         Reviewed by olliej.
6974         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
6976         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
6977         (WebCore::WebFrame::WebFrame):
6978         (WebCore::WebPage::WebPage):
6979         (WebCore::WebPage::createFrame):
6980         (WebCore::WebPage::javaScriptAlert):
6981         (WebCore::WebPage::javaScriptConsoleMessage):
6982         (WebCore::DumpRenderTree::DumpRenderTree):
6983         (WebCore::DumpRenderTree::~DumpRenderTree):
6984         (WebCore::DumpRenderTree::open):
6985         (WebCore::DumpRenderTree::readStdin):
6986         (WebCore::DumpRenderTree::resetJSObjects):
6987         (WebCore::DumpRenderTree::initJSObjects):
6988         (WebCore::DumpRenderTree::dumpFramesAsText):
6989         (WebCore::DumpRenderTree::dump):
6990         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
6991         (WebCore::DumpRenderTree::layoutTestController):
6992         (WebCore::DumpRenderTree::eventSender):
6993         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
6994         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
6995         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
6996         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
6997         (HackWebFrame::mousePressEvent):
6998         (HackWebFrame::mouseReleaseEvent):
6999         (HackWebFrame::mouseMoveEvent):
7000         (HackWebFrame::HackWebFrame):
7001         (HackWebFrame::~HackWebFrame):
7002         (LayoutTestController::LayoutTestController):
7003         (LayoutTestController::reset):
7004         (LayoutTestController::maybeDump):
7005         (LayoutTestController::waitUntilDone):
7006         (LayoutTestController::notifyDone):
7007         (LayoutTestController::dumpEditingCallbacks):
7008         (LayoutTestController::queueReload):
7009         (LayoutTestController::provisionalLoad):
7010         (LayoutTestController::timerEvent):
7011         (EventSender::EventSender):
7012         (EventSender::mouseDown):
7013         (EventSender::mouseUp):
7014         (EventSender::mouseMoveTo):
7015         (EventSender::leapForward):
7016         (EventSender::keyDown):
7017         (EventSender::frameUnderMouse):
7018         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
7019         (LayoutTestController::isLoading):
7020         (LayoutTestController::setLoading):
7021         (LayoutTestController::shouldDumpAsText):
7022         (LayoutTestController::shouldDumpChildrenAsText):
7023         (LayoutTestController::shouldWaitUntilDone):
7024         (LayoutTestController::dumpAsText):
7025         (LayoutTestController::dumpChildFramesAsText):
7026         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
7027         (messageHandler):
7028         (crashHandler):
7029         (main):
7030         * Scripts/run-webkit-tests:
7032 2007-10-03  Mark Rowe  <mrowe@apple.com>
7034         Reviewed by Alp Toker.
7036         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
7037         should take precedence over QTDIR when determining which port we are working with.
7039         * Scripts/webkitdirs.pm: 
7041 2007-10-02  Adam Roben  <aroben@apple.com>
7043         Add keychain to the list of default packages to install
7045         Rubberstamped by Sam.
7047         * CygwinDownloader/cygwin-downloader.py:
7048         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
7050 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
7052         Reviewed by Adam.
7054         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
7055         Also makes WebCore regression test case logic work when using git.
7057         * Scripts/prepare-ChangeLog:
7058         (reviewerAndDescriptionForGitCommit): Added.
7060 2007-10-02  Lars Knoll  <lars@trolltech.com>
7062         Reviewed by bdash.
7064         Add API to retrieve the frame name from QWebFrame.
7065         Implement support for DRT::dumpChildrenAsText.
7067         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
7068         (WebCore::DumpRenderTree::dumpFramesAsText):
7069         (WebCore::DumpRenderTree::dump):
7070         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
7071         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
7072         (LayoutTestController::LayoutTestController):
7073         (LayoutTestController::reset):
7074         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
7076 2007-10-02  Lars Knoll  <lars@trolltech.com>
7078         Reviewed by bdash.
7080         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
7082         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
7083         (WebCore::DumpRenderTree::readStdin):
7085 2007-10-02  Mark Rowe  <mrowe@apple.com>
7087         Reviewed by Oliver.
7089         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
7091         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
7092         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
7094 2007-10-02  Mark Rowe  <mrowe@apple.com>
7096         Rubber-stamped by Maciej.
7098         Configuration changes from build.webkit.org.  The major change is refactoring to work
7099         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
7100         last few weeks.
7102         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
7103         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
7104         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
7105         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
7106         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
7107         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
7108         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
7109         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
7111 2007-10-02  Lars Knoll  <lars@trolltech.com>
7113         Reviewed by Maciej.
7115         Add support for eventSender.mouseMove to DRT.
7116         Fixes fast/css/hover-affects-child.html
7118         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
7119         (EventSender::mouseMoveTo):
7121 2007-10-01  Mark Rowe  <mrowe@apple.com>
7123         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
7125 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
7127         Reviewed by Hyatt.
7129         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
7131         * Scripts/svn-apply:
7132         (gitdiff2svndiff): Ignore lines beginning with "new file".
7133         * Scripts/svn-unapply:
7134         (gitdiff2svndiff): Ditto.
7136 2007-09-30  George Staikos  <staikos@kde.org>
7138         Qt build fix (Mac OS X specific)
7140         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
7142 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
7144         Reviewed by Mark.
7146         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
7147         Remove Bakefiles from svn.
7149         * GtkLauncher/Bakefiles.bkgen: Removed.
7150         * GtkLauncher/ENV: Removed.
7151         * GtkLauncher/gdklauncher.bkl: Removed.
7152         * GtkLauncher/mk: Removed.
7153         * Scripts/regenerate-makefiles: Removed.
7155 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
7157         Reviewed by John.
7159         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
7161         * Scripts/run-webkit-tests:
7163 2007-09-26  Adam Roben  <aroben@apple.com>
7165         Make not finding an installed WebKit non-fatal
7167         What really matters is that we are able to load WebKit and its
7168         dependencies, not whether we think we've found an installed WebKit.
7170         Reviewed by Sam.
7172         * WebKitInitializer/WebKitInitializer.cpp:
7173         (getWebViewCLSID): Use new LOG_WARNING macro.
7174         (getInstalledWebKitDirectory): Ditto.
7175         (initializeWebKit): Don't die if we didn't find an installed WebKit,
7176         and use new macros.
7177         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
7179 2007-09-26  Adam Roben  <aroben@apple.com>
7181         Committed this file before saving it
7183         * WebKitInitializer/debug_internal.vsprops:
7185 2007-09-26  Adam Roben  <aroben@apple.com>
7187         Load WebKit and its dependencies manually so they come from DllDirectory
7189         I had to change WebKitInitializer to use malloc/free instead of
7190         new/delete to avoid pulling in WebKit (and its dependencies) early
7191         through use of fastMalloc.
7193         Reviewed by Oliver.
7195         * WebKitInitializer/WebKitInitializer.cpp:
7196         (getStringValue): Changed to use malloc/free.
7197         (getInstalledWebKitDirectory): Ditto.
7198         (initializeWebKit): Call SetDllDirectory first, then load all of
7199         WebKit's dependencies manually, finally followed by WebKit itself.
7200         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
7201         configuration to match our other projects.
7202         * WebKitInitializer/debug_internal.vsprops: Added.
7204 2007-09-25  Adam Roben  <aroben@apple.com>
7206         Actually define DEBUG/NDEBUG so that we load WebKit correctly
7208         Rubberstamped by Sam.
7210         * WebKitInitializer/WebKitInitializer.vcproj:
7212 2007-09-25  Adam Roben  <aroben@apple.com>
7214         Make DumpRenderTree delay-load its dependencies
7216         This lets WebKitInitializer re-route the dependencies to be loaded out
7217         of the Safari installation directory.
7219         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
7220         same thing), since we can't import the kCFAllocatorDefault symbol when
7221         delay-loading CoreFoundation.dll.
7223         Rubberstamped by Sam.
7225         * DumpRenderTree/win/DumpRenderTree.cpp:
7226         (runTest):
7227         (javaScriptThreads):
7228         * DumpRenderTree/win/DumpRenderTree.vcproj:
7229         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7230         (LayoutTestController::setWaitToDump):
7232 2007-09-25  Adam Roben  <aroben@apple.com>
7234         Pull ole32.lib into WebKitInitializer
7236         Rubberstamped by Sam.
7238         * WebKitInitializer/WebKitInitializer.vcproj:
7240 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
7242         Reviewed by Adam.
7244         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
7245           LGPL'ed files contain incorrect FSF address
7247         * Drosera/config.h:
7249 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
7251         Reviewed by Adam.
7253         Make svn-apply and svn-unapply work with git-diff formatted patches.
7255         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
7256         (gitdiff2svndiff): Added.
7257         * Scripts/svn-unapply: Ditto.
7258         (gitdiff2svndiff): Added.
7260 2007-09-25  Adam Roben  <aroben@apple.com>
7262         Pull advapi32.lib into WebKitInitializer
7264         This is needed to get the registry functions we use.
7266         Rubberstamped by Sam.
7268         * WebKitInitializer/WebKitInitializer.vcproj:
7270 2007-09-25  Adam Roben  <aroben@apple.com>
7272         Add python and rsync to cygwin-downloader
7274         Our build slaves need this, and it can't hurt for everyone else to
7275         have it, too.
7277         Reviewed by Sam.
7279         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
7280         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
7282 2007-09-25  Adam Roben  <aroben@apple.com>
7284         Add WebKitInitializer and use it in DumpRenderTree
7286         WebKitInitializer is a static library that has one function,
7287         initializeWebKit(). This registers WebKit and sets up the DLL search
7288         path so that WebKit's dependencies that are installed with Safari can
7289         be found.
7291         Reviewed by Sam.
7293         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
7294         DumpRenderTree depend on it.
7295         * DumpRenderTree/win/DumpRenderTree.cpp:
7296         (initialize): Call initializeWebKit.
7297         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
7298         WebKitInitializer.lib.
7299         * WebKitInitializer/WebKitInitializer.cpp: Added.
7300         (getStringValue):
7301         (getWebViewCLSID):
7302         (getInstalledWebKitDirectory):
7303         (initializeWebKit):
7304         * WebKitInitializer/WebKitInitializer.h: Added.
7305         * WebKitInitializer/WebKitInitializer.vcproj: Added.
7306         * WebKitInitializer/debug.vsprops: Added.
7307         * WebKitInitializer/release.vsprops: Added.
7309 2007-09-25  Adam Roben  <aroben@apple.com>
7311         Make run-webkit-tests respect set-webkit-configuration
7313         Reviewed by Sam.
7315         * Scripts/run-webkit-tests: Initialize $configuration to whatever
7316         set-webkit-configuration was last set to.
7318 2007-09-25  Mark Rowe  <mrowe@apple.com>
7320         Rubber-stamped by Eric.
7322         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
7323         This makes it possible to automate nightly builds for the feature-branch.
7325 2007-09-25  Adam Roben  <aroben@apple.com>
7327         A couple of fixes/enhancements to update-webkit-*-libs
7329         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
7330         to tell update-webkit-support-libraries where it should find the
7331         WebKitSupportLibrary.zip file you downloaded.
7333         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
7334         Windows-style path.
7336         Reviewed by Sam.
7338         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
7339         to $auxiliaryLibsURL and removed an irrelevant comment.
7340         * Scripts/update-webkit-support-libs:
7342 2007-09-25  Adam Treat  <treat@kde.org>
7344         Reviewed by Simon and Lars.
7346         Refactors and cleans up Qt DRT member variable names, member variable
7347         initialization, style fixes and general code cleanup.
7349         Adds queueReload slot to LayoutTestController that some tests require.
7351         Subclasses QWebFrame to make sure that all frames have an associated
7352         LayoutTestController JS window object.
7354         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
7355         aren't dumped twice.
7357         EOF fixes.
7359         Together, this patch fixes some 20+ layout tests in QtWebKit.
7361         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
7362         (WebCore::WebFrame::WebFrame):
7363         (WebCore::WebPage::WebPage):
7364         (WebCore::WebPage::createFrame):
7365         (WebCore::DumpRenderTree::DumpRenderTree):
7366         (WebCore::DumpRenderTree::open):
7367         (WebCore::DumpRenderTree::readStdin):
7368         (WebCore::DumpRenderTree::initJSObjects):
7369         (WebCore::DumpRenderTree::dump):
7370         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
7371         (WebCore::DumpRenderTree::layoutTestController):
7372         (WebCore::DumpRenderTree::eventSender):
7373         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
7374         (LayoutTestController::LayoutTestController):
7375         (LayoutTestController::reset):
7376         (LayoutTestController::maybeDump):
7377         (LayoutTestController::waitUntilDone):
7378         (LayoutTestController::notifyDone):
7379         (LayoutTestController::queueReload):
7380         (LayoutTestController::provisionalLoad):
7381         (EventSender::EventSender):
7382         (EventSender::mouseDown):
7383         (EventSender::mouseUp):
7384         (EventSender::mouseMoveTo):
7385         (EventSender::frameUnderMouse):
7386         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
7387         (LayoutTestController::isLoading):
7388         (LayoutTestController::setLoading):
7389         (LayoutTestController::dumpAsText):
7390         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
7391         (main):
7393 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
7396         - Reverted an accidentally checked in file.
7398         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
7400 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
7401         Reviewed by Sam.
7403         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
7405         * DumpRenderTree/win/DumpRenderTree.vcproj:
7406         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7408 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
7410         Rubber stamped by Adam.
7412         * GdkLauncher: Removed.
7413         * GdkLauncher/Bakefiles.bkgen: Removed.
7414         * GdkLauncher/ENV: Removed.
7415         * GdkLauncher/GdkLauncher.pro: Removed.
7416         * GdkLauncher/gdklauncher.bkl: Removed.
7417         * GdkLauncher/main.cpp: Removed.
7418         * GdkLauncher/mk: Removed.
7419         * GdkLauncher/simple.svg: Removed.
7420         * GdkLauncher/text.html: Removed.
7421         * GtkLauncher: Added.
7422         * GtkLauncher/GdkLauncher.pro: Removed.
7423         * GtkLauncher/GtkLauncher.pro: Added.
7424         * GtkLauncher/main.cpp:
7425         (updateWindowTitle):
7426         (main):
7427         * Scripts/build-webkit:
7428         * Scripts/regenerate-makefiles:
7429         * Scripts/run-javascriptcore-tests:
7430         * Scripts/run-launcher:
7431         * Scripts/run-webkit-tests:
7432         * Scripts/webkitdirs.pm:
7434 2007-09-21  Timothy Hatcher  <timothy@apple.com>
7436         Reviewed by Darin.
7438         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
7440         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
7441         This is tested by plugins/root-object-premature-delete-crash.html.
7443         * DumpRenderTree/mac/ObjCController.m:
7444         (-[ObjCController accessStoredWebScriptObject]):
7446 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
7448         Reviewed by Oliver.
7450         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
7452         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
7453         (FrameLoadDelegate::FrameLoadDelegate):
7455 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
7457         Reviewed by Adam.
7459         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
7460         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
7462         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
7463         Now isQt() and isGdk() use global variables that are only set once.
7465         An array of all the parameters is now given to build-dumprender which includes
7466         the platform on linux.
7468         * Scripts/build-dumprendertree:
7469         * Scripts/run-webkit-tests:
7470         * Scripts/webkitdirs.pm:
7472 2007-09-19  Adam Roben  <aroben@apple.com>
7474         Rubberstamped by Hyatt.
7476         * Spinneret: Removed.
7478 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
7480         Reviewed by David Kilzer.
7482         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
7484 2007-09-18  Sam Weinig  <sam@webkit.org>
7486         Add JSRetainPtr.h #include to fix some builds.
7488         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7490 2007-09-18  Mike Hommey  <glandium@debian.org>
7492         Reviewed by Adam.
7494         * Scripts/prepare-ChangeLog:
7495         - Properly parse GECOS field.
7496         - Use git configuration for user name and email when appropriate.
7498 2007-09-17  Sam Weinig  <sam@webkit.org>
7500         Build fix.
7502         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7504 2007-09-17  Sam Weinig  <sam@webkit.org>
7506         Reviewed by Adam Roben.
7508         Share more code between mac and windows DRT.
7509             - GCController is now shared.
7510             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
7512         * DumpRenderTree/GCController.cpp:
7513         * DumpRenderTree/win/DumpRenderTree.cpp:
7514         * DumpRenderTree/win/DumpRenderTree.vcproj:
7515         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
7516         (FrameLoadDelegate::FrameLoadDelegate):
7517         (FrameLoadDelegate::~FrameLoadDelegate):
7518         (FrameLoadDelegate::windowScriptObjectAvailable):
7519         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
7520         * DumpRenderTree/win/GCController.cpp: Removed.
7521         * DumpRenderTree/win/GCController.h: Removed.
7522         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
7523         (GCController::collect):
7524         (GCController::collectOnAlternateThread):
7525         (GCController::getJSObjectCount):
7526         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
7527         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
7529 2007-09-17  Sam Weinig  <sam@webkit.org>
7531         Reviewed by Adam Roben.
7533         Begin sharing code between mac and windows DRT.
7534             - both now share LayoutTestController.h/cpp and implement platform dependant 
7535               operations in LayoutTestControllerMac/Win.
7536             - DumpRenderTree.h is now shared.
7537             - WorkQueue and WorkQueueItem are also shared.
7539         * DumpRenderTree/DumpRenderTree.h:
7540         * DumpRenderTree/LayoutTestController.cpp:
7541         * DumpRenderTree/win/DumpRenderTree.cpp:
7542         (displayWebView):
7543         (dumpFrameScrollPosition):
7544         (dumpFramesAsText):
7545         (dump):
7546         (runTest):
7547         * DumpRenderTree/win/DumpRenderTree.h: Removed.
7548         * DumpRenderTree/win/DumpRenderTree.vcproj:
7549         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
7550         * DumpRenderTree/win/EditingDelegate.cpp:
7551         (EditingDelegate::shouldBeginEditingInDOMRange):
7552         (EditingDelegate::shouldEndEditingInDOMRange):
7553         (EditingDelegate::shouldInsertNode):
7554         (EditingDelegate::shouldInsertText):
7555         (EditingDelegate::shouldDeleteDOMRange):
7556         (EditingDelegate::shouldChangeSelectedDOMRange):
7557         (EditingDelegate::shouldApplyStyle):
7558         (EditingDelegate::shouldChangeTypingStyle):
7559         (EditingDelegate::doPlatformCommand):
7560         (EditingDelegate::webViewDidBeginEditing):
7561         (EditingDelegate::webViewDidChange):
7562         (EditingDelegate::webViewDidEndEditing):
7563         (EditingDelegate::webViewDidChangeTypingStyle):
7564         (EditingDelegate::webViewDidChangeSelection):
7565         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
7566         * DumpRenderTree/win/LayoutTestController.h: Removed.
7567         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
7568         (LayoutTestController::addDisallowedURL):
7569         (LayoutTestController::clearBackForwardList):
7570         (LayoutTestController::copyDecodedHostName):
7571         (LayoutTestController::copyEncodedHostName):
7572         (LayoutTestController::display):
7573         (LayoutTestController::keepWebHistory):
7574         (LayoutTestController::notifyDone):
7575         (LayoutTestController::queueBackNavigation):
7576         (LayoutTestController::queueForwardNavigation):
7577         (jsStringRefToWString):
7578         (LayoutTestController::queueLoad):
7579         (LayoutTestController::queueReload):
7580         (LayoutTestController::queueScript):
7581         (LayoutTestController::setAcceptsEditing):
7582         (LayoutTestController::setCustomPolicyDelegate):
7583         (LayoutTestController::setMainFrameIsFirstResponder):
7584         (LayoutTestController::setTabKeyCyclesThroughElements):
7585         (LayoutTestController::setUseDashboardCompatibilityMode):
7586         (LayoutTestController::setUserStyleSheetEnabled):
7587         (LayoutTestController::setUserStyleSheetLocation):
7588         (LayoutTestController::setWindowIsKey):
7589         (waitUntilDoneWatchdogFired):
7590         (LayoutTestController::setWaitToDump):
7591         (LayoutTestController::windowCount):
7592         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
7593         (FrameLoadDelegate::didReceiveTitle):
7594         (FrameLoadDelegate::processWork):
7595         (FrameLoadDelegate::locationChangeDone):
7596         (FrameLoadDelegate::windowScriptObjectAvailable):
7597         * DumpRenderTree/win/WorkQueue.cpp: Removed.
7598         * DumpRenderTree/win/WorkQueue.h: Removed.
7599         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
7600         * DumpRenderTree/win/WorkQueueItem.h: Removed.
7601         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
7602         (jsStringRefToWString):
7603         (LoadItem::invoke):
7604         (ScriptItem::invoke):
7606 2007-09-17  Sam Weinig  <sam@webkit.org>
7608         Reviewed by Adam Roben.
7610         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
7612         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
7613         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
7614         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
7615         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
7616         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
7617         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
7618         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
7619         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
7620         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
7621         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
7622         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
7623         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
7624         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
7625         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
7626         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
7627         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
7628         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
7629         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
7630         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
7631         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
7632         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
7633         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
7634         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
7635         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
7636         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
7637         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
7638         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
7639         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
7640         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
7641         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
7642         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
7643         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
7644         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
7645         * DumpRenderTree/win: Added.
7646         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
7647         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
7648         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
7649         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
7650         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
7651         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
7652         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
7653         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
7654         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
7655         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
7656         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
7657         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
7658         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
7659         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7660         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
7661         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
7662         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
7663         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
7664         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
7665         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
7666         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
7667         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
7668         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
7669         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
7670         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
7671         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
7673 2007-09-15  Mark Rowe  <mrowe@apple.com>
7675         Build fix for DumpRenderTree.
7677         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
7679 2007-09-14  Sam Weinig  <sam@webkit.org>
7681         Rubber stamped by Adam Roben.
7683         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
7684           - The UIDelegate was put into a new file while the FrameLoadDelegate was
7685             kept in the WaitUntilDoneDelegate file for the time being.
7687         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
7688         (main):
7689         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
7690         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
7691         (UIDelegate::QueryInterface):
7692         (UIDelegate::AddRef):
7693         (UIDelegate::Release):
7694         (UIDelegate::hasCustomMenuImplementation):
7695         (UIDelegate::setFrame):
7696         (UIDelegate::webViewFrame):
7697         (UIDelegate::runJavaScriptAlertPanelWithMessage):
7698         (UIDelegate::webViewAddMessageToConsole):
7699         (UIDelegate::doDragDrop):
7700         (UIDelegate::webViewGetDlgCode):
7701         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
7702         (UIDelegate::UIDelegate):
7703         (UIDelegate::createWebViewWithRequest):
7704         (UIDelegate::webViewShow):
7705         (UIDelegate::webViewClose):
7706         (UIDelegate::webViewFocus):
7707         (UIDelegate::webViewUnfocus):
7708         (UIDelegate::webViewFirstResponder):
7709         (UIDelegate::makeFirstResponder):
7710         (UIDelegate::setStatusText):
7711         (UIDelegate::webViewStatusText):
7712         (UIDelegate::webViewAreToolbarsVisible):
7713         (UIDelegate::setToolbarsVisible):
7714         (UIDelegate::webViewIsStatusBarVisible):
7715         (UIDelegate::setStatusBarVisible):
7716         (UIDelegate::webViewIsResizable):
7717         (UIDelegate::setResizable):
7718         (UIDelegate::setContentRect):
7719         (UIDelegate::webViewContentRect):
7720         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
7721         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
7722         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
7723         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
7724         (UIDelegate::mouseDidMoveOverElement):
7725         (UIDelegate::contextMenuItemsForElement):
7726         (UIDelegate::validateUserInterfaceItem):
7727         (UIDelegate::shouldPerformAction):
7728         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
7729         (UIDelegate::willPerformDragDestinationAction):
7730         (UIDelegate::dragSourceActionMaskForPoint):
7731         (UIDelegate::willPerformDragSourceAction):
7732         (UIDelegate::contextMenuItemSelected):
7733         (UIDelegate::trackCustomPopupMenu):
7734         (UIDelegate::measureCustomMenuItem):
7735         (UIDelegate::drawCustomMenuItem):
7736         (UIDelegate::addCustomMenuDrawingData):
7737         (UIDelegate::cleanUpCustomMenuDrawingData):
7738         (UIDelegate::canTakeFocus):
7739         (UIDelegate::takeFocus):
7740         (UIDelegate::registerUndoWithTarget):
7741         (UIDelegate::removeAllActionsWithTarget):
7742         (UIDelegate::setActionTitle):
7743         (UIDelegate::undo):
7744         (UIDelegate::redo):
7745         (UIDelegate::canUndo):
7746         (UIDelegate::canRedo):
7747         (UIDelegate::webViewResizerRect):
7748         (UIDelegate::webViewDrawResizer):
7749         (UIDelegate::webViewScrolled):
7750         (UIDelegate::webViewShouldInterruptJavaScript):
7751         (UIDelegate::webViewReceivedFocus):
7752         (UIDelegate::webViewLostFocus):
7753         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
7754         (FrameLoadDelegate::QueryInterface):
7755         (FrameLoadDelegate::AddRef):
7756         (FrameLoadDelegate::Release):
7757         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
7758         (FrameLoadDelegate::didCommitLoadForFrame):
7759         (FrameLoadDelegate::didReceiveTitle):
7760         (FrameLoadDelegate::processWork):
7761         (processWorkTimer):
7762         (FrameLoadDelegate::locationChangeDone):
7763         (FrameLoadDelegate::didFinishLoadForFrame):
7764         (FrameLoadDelegate::didFailLoadWithError):
7765         (FrameLoadDelegate::windowScriptObjectAvailable):
7766         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
7767         (FrameLoadDelegate::FrameLoadDelegate):
7769 2007-09-14  Sam Weinig  <sam@webkit.org>
7771         Reviewed by Kevin McCullough.
7773         Move mac specific globals in to mac/DumpRenderTreeMac.h
7775         * DumpRenderTree/DumpRenderTree.h:
7776         * DumpRenderTree/DumpRenderTree.mm: Removed.
7777         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7778         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
7779         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
7781 2007-09-14  Brady Eidson  <beidson@apple.com>
7783         Rubberstamped by Weinig
7785         You know, Sam, some of us use case-sensitve filesystems...
7787         * DumpRenderTree/DumpRenderTree.h:
7788         * DumpRenderTree/mac/UIDelegate.mm:
7790 2007-09-14  Sam Weinig  <sam@webkit.org>
7792         Rubber stamped by Adam Roben.
7794         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
7795         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
7797         * DumpRenderTree/AppleScriptController.h: Removed.
7798         * DumpRenderTree/AppleScriptController.m: Removed.
7799         * DumpRenderTree/DumpRenderTree.h:
7800         * DumpRenderTree/DumpRenderTree.mm:
7801         (startJavaScriptThreads):
7802         (stopJavaScriptThreads):
7803         (activateAhemFont):
7804         (setDefaultColorProfileToRGB):
7805         (makeLargeMallocFailSilently):
7806         (dumpFrameScrollPosition):
7807         (dumpFramesAsText):
7808         (dump):
7809         (runTest):
7810         (-[DumpRenderTreeWindow isKeyWindow]):
7811         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7812         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
7813         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
7814         * DumpRenderTree/EditingDelegate.h: Removed.
7815         * DumpRenderTree/EditingDelegate.m: Removed.
7816         * DumpRenderTree/EventSendingController.h: Removed.
7817         * DumpRenderTree/EventSendingController.m: Removed.
7818         * DumpRenderTree/FrameLoadDelegate.h: Removed.
7819         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
7820         * DumpRenderTree/GCController.mm: Removed.
7821         * DumpRenderTree/ImageDiff.m: Removed.
7822         * DumpRenderTree/LayoutTestController.cpp:
7823         (LayoutTestController::LayoutTestController):
7824         (dumpAsTextCallback):
7825         (dumpBackForwardListCallback):
7826         (dumpChildFramesAsTextCallback):
7827         (dumpChildFrameScrollPositionsCallback):
7828         (dumpDOMAsWebArchiveCallback):
7829         (dumpEditingCallbacksCallback):
7830         (dumpFrameLoadCallbacksCallback):
7831         (dumpResourceLoadCallbacksCallback):
7832         (dumpSelectionRectCallback):
7833         (dumpSourceAsWebArchiveCallback):
7834         (dumpTitleChangesCallback):
7835         (repaintSweepHorizontallyCallback):
7836         (setCallCloseOnWebViewsCallback):
7837         (setCanOpenWindowsCallback):
7838         (setCloseRemainingWindowsWhenCompleteCallback):
7839         (testRepaintCallback):
7840         (addFileToPasteboardOnDragCallback):
7841         (waitUntilDoneCallback):
7842         * DumpRenderTree/LayoutTestController.h:
7843         (LayoutTestController::dumpAsText):
7844         (LayoutTestController::setDumpAsText):
7845         (LayoutTestController::dumpBackForwardList):
7846         (LayoutTestController::setDumpBackForwardList):
7847         (LayoutTestController::dumpChildFrameScrollPositions):
7848         (LayoutTestController::setDumpChildFrameScrollPositions):
7849         (LayoutTestController::dumpChildFramesAsText):
7850         (LayoutTestController::setDumpChildFramesAsText):
7851         (LayoutTestController::dumpDOMAsWebArchive):
7852         (LayoutTestController::setDumpDOMAsWebArchive):
7853         (LayoutTestController::dumpSelectionRect):
7854         (LayoutTestController::setDumpSelectionRect):
7855         (LayoutTestController::dumpSourceAsWebArchive):
7856         (LayoutTestController::setDumpSourceAsWebArchive):
7857         (LayoutTestController::dumpTitleChanges):
7858         (LayoutTestController::setDumpTitleChanges):
7859         (LayoutTestController::dumpEditingCallbacks):
7860         (LayoutTestController::setDumpEditingCallbacks):
7861         (LayoutTestController::dumpResourceLoadCallbacks):
7862         (LayoutTestController::setDumpResourceLoadCallbacks):
7863         (LayoutTestController::dumpFrameLoadCallbacks):
7864         (LayoutTestController::setDumpFrameLoadCallbacks):
7865         (LayoutTestController::addFileToPasteboardOnDrag):
7866         (LayoutTestController::setAddFileToPasteboardOnDrag):
7867         (LayoutTestController::callCloseOnWebViews):
7868         (LayoutTestController::setCallCloseOnWebViews):
7869         (LayoutTestController::canOpenWindows):
7870         (LayoutTestController::setCanOpenWindows):
7871         (LayoutTestController::closeRemainingWindowsWhenComplete):
7872         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
7873         (LayoutTestController::testRepaint):
7874         (LayoutTestController::setTestRepaint):
7875         (LayoutTestController::testRepaintSweepHorizontally):
7876         (LayoutTestController::setTestRepaintSweepHorizontally):
7877         (LayoutTestController::waitToDump):
7878         (LayoutTestController::windowIsKey):
7879         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
7880         * DumpRenderTree/NavigationController.h: Removed.
7881         * DumpRenderTree/NavigationController.m: Removed.
7882         * DumpRenderTree/ObjCController.h: Removed.
7883         * DumpRenderTree/ObjCController.m: Removed.
7884         * DumpRenderTree/ObjCPlugin.h: Removed.
7885         * DumpRenderTree/ObjCPlugin.m: Removed.
7886         * DumpRenderTree/ObjCPluginFunction.h: Removed.
7887         * DumpRenderTree/ObjCPluginFunction.m: Removed.
7888         * DumpRenderTree/PolicyDelegate.h: Removed.
7889         * DumpRenderTree/PolicyDelegate.m: Removed.
7890         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
7891         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
7892         * DumpRenderTree/TextInputController.h: Removed.
7893         * DumpRenderTree/TextInputController.m: Removed.
7894         * DumpRenderTree/UIDelegate.h: Removed.
7895         * DumpRenderTree/UIDelegate.mm: Removed.
7896         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
7897         * DumpRenderTree/mac: Added.
7898         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
7899         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
7900         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
7901         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
7902         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
7903         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
7904         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
7905         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
7906         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
7907         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
7908         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
7909         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
7910         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
7911         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
7912         (-[EditingDelegate webViewDidBeginEditing:]):
7913         (-[EditingDelegate webViewDidChange:]):
7914         (-[EditingDelegate webViewDidEndEditing:]):
7915         (-[EditingDelegate webViewDidChangeTypingStyle:]):
7916         (-[EditingDelegate webViewDidChangeSelection:]):
7917         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
7918         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
7919         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
7920         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
7921         (-[FrameLoadDelegate init]):
7922         (-[FrameLoadDelegate dealloc]):
7923         (-[FrameLoadDelegate processWork:]):
7924         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
7925         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
7926         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
7927         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
7928         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
7929         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
7930         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
7931         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
7932         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
7933         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
7934         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
7935         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
7936         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
7937         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
7938         (-[FrameLoadDelegate webView:willCloseFrame:]):
7939         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
7940         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
7941         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
7942         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
7943         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
7944         (LayoutTestController::notifyDone):
7945         (LayoutTestController::setWindowIsKey):
7946         (LayoutTestController::setWaitToDump):
7947         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
7948         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
7949         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
7950         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
7951         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
7952         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
7953         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
7954         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
7955         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
7956         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
7957         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
7958         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
7959         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
7960         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
7961         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
7962         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
7963         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
7964         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
7965         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
7966         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
7967         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
7968         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
7969         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
7970         (-[UIDelegate webViewFocus:]):
7971         (-[UIDelegate webView:createWebViewWithRequest:]):
7972         (-[UIDelegate webViewClose:]):
7973         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
7975 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
7977         Reviewed by Adam.
7979         - Changing Win version of Drosera work with recent changes.
7981         * Drosera/DebuggerDocument.cpp:
7982         * Drosera/DebuggerDocument.h:
7983         * Drosera/mac/DebuggerDocumentPlatform.mm:
7984         (NSStringCreateWithJSStringRef):
7985         (JSValueRefCreateWithNSString):
7986         * Drosera/win/DebuggerClient.cpp:
7987         (DebuggerClient::stepInto):
7988         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7990 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
7992         Reviewed by Tim.
7994         - Moved isPaused into the JS for efficiency and simplicity.
7996         * Drosera/DebuggerDocument.cpp:
7997         (DebuggerDocument::DebuggerDocument):
7998         (DebuggerDocument::pauseCallback):
7999         (DebuggerDocument::resumeCallback):
8000         (DebuggerDocument::isPaused):
8001         (DebuggerDocument::staticFunctions):
8002         * Drosera/DebuggerDocument.h:
8003         * Drosera/console.js:
8004         * Drosera/debugger.js:
8005         * Drosera/mac/DebuggerClient.mm:
8006         (-[DebuggerClient validateUserInterfaceItem:]):
8008 2007-09-13  Sam Weinig  <sam@webkit.org>
8010         Rubber stamped by Darin.
8012         Make DumpRenderTree more cross platform ready.
8013         - Convert GCController to use the JSCore API instead of the WebScriptObject.
8014         - Use CF types instead of NS objects.
8015         - General cleanup.
8017         * DumpRenderTree/DumpRenderTree.h:
8018         * DumpRenderTree/DumpRenderTree.mm:
8019         (dumpRenderTree):
8020         (dump):
8021         (runTest):
8022         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8023         * DumpRenderTree/EditingDelegate.m:
8024         * DumpRenderTree/FrameLoadDelegate.h:
8025         * DumpRenderTree/FrameLoadDelegate.mm:
8026         (-[FrameLoadDelegate init]):
8027         (-[FrameLoadDelegate dealloc]):
8028         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
8029         * DumpRenderTree/GCController.cpp: Added.
8030         (GCController::GCController):
8031         (GCController::~GCController):
8032         (collectCallback):
8033         (collectOnAlternateThreadCallback):
8034         (getJSObjectCountCallback):
8035         (GCController::makeWindowObject):
8036         (GCController::getJSClass):
8037         (GCController::staticFunctions):
8038         * DumpRenderTree/GCController.h:
8039         * DumpRenderTree/GCController.mm:
8040         (GCController::collect):
8041         (GCController::collectOnAlternateThread):
8042         (GCController::getJSObjectCount):
8043         * DumpRenderTree/LayoutTestController.cpp:
8044         (LayoutTestController::makeWindowObject):
8045         (LayoutTestController::getJSClass):
8046         * DumpRenderTree/LayoutTestController.h:
8047         * DumpRenderTree/LayoutTestControllerMac.mm:
8048         (LayoutTestController::addDisallowedURL):
8049         (waitUntilDoneWatchdogFired):
8050         (LayoutTestController::waitUntilDone):
8051         * DumpRenderTree/ResourceLoadDelegate.m:
8052         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
8054 2007-09-12  Sam Weinig  <sam@webkit.org>
8056         Reviewed by Stephanie.
8058         Fix leaks in mac DumpRenderTree.
8060         * DumpRenderTree/FrameLoadDelegate.mm:
8061         (-[FrameLoadDelegate init]): Initalize in the correct order.
8062         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
8063         * DumpRenderTree/LayoutTestController.cpp:
8064         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
8065         (encodeHostNameCallback): ditto.
8066         * DumpRenderTree/LayoutTestController.h:
8067         * DumpRenderTree/LayoutTestControllerMac.mm:
8068         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
8069         (LayoutTestController::copyEncodedHostName): ditto
8070         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
8072 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
8074         Reviewed by Geof.
8076         - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on.  This will allow us to get the bot green, but later we should remove it.
8078         * Scripts/run-webkit-tests:
8080 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
8082         Reviewed by Darin.
8084         - Simplified code paths and extracted out functions to increase encapsulation.
8086         * Drosera/DebuggerDocument.cpp:
8087         (DebuggerDocument::breakpointEditorHTMLCallback):
8088         (DebuggerDocument::isPausedCallback):
8089         (DebuggerDocument::pauseCallback):
8090         (DebuggerDocument::resumeCallback):
8091         (DebuggerDocument::stepIntoCallback):
8092         (DebuggerDocument::evaluateScriptCallback):
8093         (DebuggerDocument::currentFunctionStackCallback):
8094         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
8095         (DebuggerDocument::valueForScopeVariableNamedCallback):
8096         (DebuggerDocument::logCallback):
8097         * Drosera/DebuggerDocument.h:
8098         (DebuggerDocument::getPaused):
8099         * Drosera/mac/DebuggerClient.mm:
8100         (-[DebuggerClient pause:]):
8101         (-[DebuggerClient resume:]):
8102         (-[DebuggerClient stepInto:]):
8103         (-[DebuggerClient stepOver:]):
8104         (-[DebuggerClient stepOut:]):
8105         (-[DebuggerClient showConsole:]):
8106         (-[DebuggerClient closeCurrentFile:]):
8107         (-[DebuggerClient validateUserInterfaceItem:]):
8108         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
8109         (+[NSString stringOrNilFromWebScriptResult:]):
8110         (DebuggerDocument::platformPause):
8111         (DebuggerDocument::platformResume):
8112         (DebuggerDocument::platformStepInto):
8113         (DebuggerDocument::platformEvaluateScript):
8114         (DebuggerDocument::getPlatformCurrentFunctionStack):
8115         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8116         (DebuggerDocument::platformValueForScopeVariableNamed):
8117         (DebuggerDocument::platformLog):
8118         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
8120 2007-09-12  Sam Weinig  <sam@webkit.org>
8122         Build fix for Buildbot.
8124         * DumpRenderTree/DumpRenderTree.mm:
8125         (dump):
8127 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
8129         Reviewed by Geoff.
8131         - Updated the leaks list for leopard to help identify regressions.
8133         * Scripts/run-webkit-tests:
8135 2007-09-12  Sam Weinig  <sam@webkit.org>
8137         Rubber stamped by Darin.
8139         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
8141         * DumpRenderTree/DumpRenderTree.h: Re-order variables. 
8142         * DumpRenderTree/DumpRenderTree.m: Removed.
8143         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
8144         (stopJavaScriptThreads): Fix initialization.
8145         (setDefaultColorProfileToRGB): Add explicit cast from void*.
8146         (dumpRenderTree): Ditto.
8147         (runTest):
8148         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
8150         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8151         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
8152         * DumpRenderTree/FrameLoadDelegate.m: Removed.
8153         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
8154         (-[FrameLoadDelegate init]):
8155         (-[FrameLoadDelegate dealloc]):
8156         (-[FrameLoadDelegate processWork:]):
8157         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
8158         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
8159         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
8160         
8161         * DumpRenderTree/LayoutTestController.cpp: Added.
8162         (LayoutTestController::LayoutTestController):
8163         (LayoutTestController::~LayoutTestController):
8164         (dumpAsTextCallback):
8165         (dumpBackForwardListCallback):
8166         (dumpChildFramesAsTextCallback):
8167         (dumpChildFrameScrollPositionsCallback):
8168         (dumpDOMAsWebArchiveCallback):
8169         (dumpEditingCallbacksCallback):
8170         (dumpFrameLoadCallbacksCallback):
8171         (dumpResourceLoadCallbacksCallback):
8172         (dumpSelectionRectCallback):
8173         (dumpSourceAsWebArchiveCallback):
8174         (dumpTitleChangesCallback):
8175         (repaintSweepHorizontallyCallback):
8176         (setCallCloseOnWebViewsCallback):
8177         (setCanOpenWindowsCallback):
8178         (setCloseRemainingWindowsWhenCompleteCallback):
8179         (testRepaintCallback):
8180         (addFileToPasteboardOnDragCallback):
8181         (addDisallowedURLCallback):
8182         (clearBackForwardListCallback):
8183         (decodeHostNameCallback):
8184         (displayCallback):
8185         (encodeHostNameCallback):
8186         (keepWebHistoryCallback):
8187         (notifyDoneCallback):
8188         (queueBackNavigationCallback):
8189         (queueForwardNavigationCallback):
8190         (queueLoadCallback):
8191         (queueReloadCallback):
8192         (queueScriptCallback):
8193         (setAcceptsEditingCallback):
8194         (setCustomPolicyDelegateCallback):
8195         (setMainFrameIsFirstResponderCallback):
8196         (setTabKeyCyclesThroughElementsCallback):
8197         (setUseDashboardCompatibilityModeCallback):
8198         (setUserStyleSheetEnabledCallback):
8199         (setUserStyleSheetLocationCallback):
8200         (setWindowIsKeyCallback):
8201         (waitUntilDoneCallback):
8202         (windowCountCallback):
8203         (LayoutTestController::makeWindowObject):
8204         (LayoutTestController::getLayoutTestControllerJSClass):
8205         (LayoutTestController::staticFunctions):
8206         * DumpRenderTree/LayoutTestController.h: Replaced.
8207         * DumpRenderTree/LayoutTestController.m: Removed.
8208         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
8209         (LayoutTestController::dumpAsText):
8210         (LayoutTestController::dumpBackForwardList):
8211         (LayoutTestController::dumpChildFramesAsText):
8212         (LayoutTestController::dumpChildFrameScrollPositions):
8213         (LayoutTestController::dumpDOMAsWebArchive):
8214         (LayoutTestController::dumpEditingCallbacks):
8215         (LayoutTestController::dumpFrameLoadCallbacks):
8216         (LayoutTestController::dumpResourceLoadCallbacks):
8217         (LayoutTestController::dumpSelectionRect):
8218         (LayoutTestController::dumpSourceAsWebArchive):
8219         (LayoutTestController::dumpTitleChanges):
8220         (LayoutTestController::repaintSweepHorizontally):
8221         (LayoutTestController::setCallCloseOnWebViews):
8222         (LayoutTestController::setCanOpenWindows):
8223         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
8224         (LayoutTestController::testRepaint):
8225         (LayoutTestController::addFileToPasteboardOnDrag):
8226         (LayoutTestController::addDisallowedURL):
8227         (LayoutTestController::clearBackForwardList):
8228         (LayoutTestController::decodeHostName):
8229         (LayoutTestController::encodeHostName):
8230         (LayoutTestController::display):
8231         (LayoutTestController::keepWebHistory):
8232         (LayoutTestController::notifyDone):
8233         (LayoutTestController::queueBackNavigation):
8234         (LayoutTestController::queueForwardNavigation):
8235         (LayoutTestController::queueLoad):
8236         (LayoutTestController::queueReload):
8237         (LayoutTestController::queueScript):
8238         (LayoutTestController::setAcceptsEditing):
8239         (LayoutTestController::setCustomPolicyDelegate):
8240         (LayoutTestController::setMainFrameIsFirstResponder):
8241         (LayoutTestController::setTabKeyCyclesThroughElements):
8242         (LayoutTestController::setUseDashboardCompatibilityMode):
8243         (LayoutTestController::setUserStyleSheetEnabled):
8244         (LayoutTestController::setUserStyleSheetLocation):
8245         (LayoutTestController::setWindowIsKey):
8246         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
8247         (LayoutTestController::waitUntilDone):
8248         (LayoutTestController::windowCount):
8249         Use the JSCore API to implement the LayoutTestController.
8251         * DumpRenderTree/ObjCController.h:
8252         * DumpRenderTree/ObjCController.m:
8253         (+[ObjCController isSelectorExcludedFromWebScript:]):
8254         (+[ObjCController webScriptNameForSelector:]):
8255         (-[ObjCController accessStoredWebScriptObject]):
8256         (-[ObjCController storeWebScriptObject:]):
8257         (-[ObjCController dealloc]):
8258         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
8259         Move WebScriptObject tests to ObjCController.
8261         * DumpRenderTree/UIDelegate.m: Removed.
8262         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
8264         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
8265         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
8266         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
8267         (WorkQueueItem::~WorkQueueItem):
8268         (LoadItem::LoadItem):
8269         (LoadItem::url):
8270         (LoadItem::target):
8271         (ScriptItem::ScriptItem):
8272         (ScriptItem::script):
8273         * DumpRenderTree/WorkQueueItemMac.mm: Added.
8274         (LoadItem::invoke):
8275         (ReloadItem::invoke):
8276         (ScriptItem::invoke):
8277         (BackForwardItem::invoke):
8278         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
8279         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
8280         sharing code.
8282 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
8284         Reviewed by Maciej.
8286         - Updated Win side to take advantage of the platform separating changes.
8288         * Drosera/DebuggerDocument.cpp:
8289         (DebuggerDocument::localScopeVariableNamesForCallFrame):
8290         * Drosera/DebuggerDocument.h:
8291         * Drosera/win/DebuggerClient.cpp:
8292         (DebuggerClient::pause):
8293         (DebuggerClient::resume):
8294         (DebuggerClient::stepInto):
8295         (DebuggerDocument::platformPause):
8296         (DebuggerDocument::platformResume):
8297         (DebuggerDocument::platformStepInto):
8298         (DebuggerDocument::platformEvaluateScript):
8299         (DebuggerDocument::getPlatformCurrentFunctionStack):
8300         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8301         (DebuggerDocument::platformValueForScopeVariableNamed):
8302         (DebuggerDocument::platformLog):
8303         * Drosera/win/DebuggerClient.h:
8304         * Drosera/win/Drosera.cpp:
8305         (Drosera::Drosera):
8306         (Drosera::windowScriptObjectAvailable):
8307         (Drosera::initWithServerName):
8308         (Drosera::switchToServerNamed):
8309         * Drosera/win/Drosera.h:
8310         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8312 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
8314         Reviewed by Adam.
8316         - Just doing the moves in a separate patch so the changes are easier to see.
8318         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
8319         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
8320         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
8321         * Drosera/win/DebuggerDocumentWin.h: Removed.
8322         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8324 2007-09-11  Sven Herzberg  <sven@imendio.com>
8326         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
8327         http://bugs.webkit.org/show_bug.cgi?id=15176
8329         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
8330         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
8331         other paths eg. from jhbuild)
8333 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
8335         Reviewed by Adam.
8337         - Made an order-of-deletion mistake.
8339         * Drosera/DebuggerDocument.h:
8340         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
8341         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
8342         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
8343         * Drosera/mac/DebuggerClient.mm:
8344         (DebuggerDocument::platformPause):
8345         (DebuggerDocument::platformResume):
8346         (DebuggerDocument::platformStepInto):
8347         (DebuggerDocument::platformEvaluateScript):
8348         (DebuggerDocument::getPlatformCurrentFunctionStack):
8349         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8350         (DebuggerDocument::platformValueForScopeVariableNamed):
8351         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
8353 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
8355         Reviewed by Darin.
8357         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
8359         * Drosera/DebuggerDocument.cpp:
8360         (DebuggerDocument::DebuggerDocument):
8361         * Drosera/DebuggerDocument.h:
8362         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
8363         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
8364         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
8365         * Drosera/mac/DebuggerApplication.mm:
8366         (-[DebuggerApplication attach:]):
8367         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
8368         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
8369         (DebuggerDocument::platformPause):
8370         (DebuggerDocument::platformResume):
8371         (DebuggerDocument::platformStepInto):
8372         (DebuggerDocument::platformEvaluateScript):
8373         (DebuggerDocument::getPlatformCurrentFunctionStack):
8374         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8375         (DebuggerDocument::platformValueForScopeVariableNamed):
8376         (DebuggerDocument::platformLog):
8377         * Drosera/mac/DebuggerDocumentMac.h: Removed.
8378         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
8379         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
8381 2007-09-09  Sam Weinig  <sam@webkit.org>
8383         Reviewed by Mark Rowe.
8385         Remove 'objC' prefix from methods now in the ObjCController. 
8387         * DumpRenderTree/ObjCController.m:
8388         (+[ObjCController isSelectorExcludedFromWebScript:]):
8389         (+[ObjCController webScriptNameForSelector:]):
8390         (-[ObjCController classNameOf:]):
8391         (-[ObjCController objectOfClass:]):
8392         (-[ObjCController identityIsEqual::]):
8393         (-[ObjCController longLongRoundTrip:]):
8394         (-[ObjCController unsignedLongLongRoundTrip:]):
8396 2007-09-09  Sam Weinig  <sam@webkit.org>
8398         Reviewed by Oliver.
8400         Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
8401         - Move LayoutTestController into its own file.
8402         - Move Objective-C only functions on LayoutTestController into a new controller called the
8403           ObjCController. 
8405         * DumpRenderTree/DumpRenderTree.h:
8406         * DumpRenderTree/DumpRenderTree.m:
8407         (displayWebView):
8408         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8409         * DumpRenderTree/FrameLoadDelegate.m:
8410         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
8411         * DumpRenderTree/LayoutTestController.h: Added.
8412         * DumpRenderTree/LayoutTestController.m: Added.
8413         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
8414         (+[LayoutTestController webScriptNameForSelector:]):
8415         (-[LayoutTestController clearBackForwardList]):
8416         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
8417         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
8418         (-[LayoutTestController setCustomPolicyDelegate:]):
8419         (-[LayoutTestController keepWebHistory]):
8420         (-[LayoutTestController setCallCloseOnWebViews:]):
8421         (-[LayoutTestController setCanOpenWindows]):
8422         (-[LayoutTestController waitUntilDone]):
8423         (-[LayoutTestController waitUntilDoneWatchdogFired]):
8424         (-[LayoutTestController notifyDone]):
8425         (-[LayoutTestController dumpAsText]):
8426         (-[LayoutTestController addFileToPasteboardOnDrag]):
8427         (-[LayoutTestController addDisallowedURL:]):
8428         (-[LayoutTestController setUserStyleSheetLocation:]):
8429         (-[LayoutTestController setUserStyleSheetEnabled:]):
8430         (-[LayoutTestController dumpDOMAsWebArchive]):
8431         (-[LayoutTestController dumpSourceAsWebArchive]):
8432         (-[LayoutTestController dumpSelectionRect]):
8433         (-[LayoutTestController dumpTitleChanges]):
8434         (-[LayoutTestController dumpBackForwardList]):
8435         (-[LayoutTestController windowCount]):
8436         (-[LayoutTestController dumpChildFrameScrollPositions]):
8437         (-[LayoutTestController dumpChildFramesAsText]):
8438         (-[LayoutTestController dumpEditingCallbacks]):
8439         (-[LayoutTestController dumpResourceLoadCallbacks]):
8440         (-[LayoutTestController dumpFrameLoadCallbacks]):
8441         (-[LayoutTestController setWindowIsKey:]):
8442         (-[LayoutTestController setMainFrameIsFirstResponder:]):
8443         (-[LayoutTestController display]):
8444         (-[LayoutTestController testRepaint]):
8445         (-[LayoutTestController repaintSweepHorizontally]):
8446         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
8447         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
8448         (-[LayoutTestController _doLoad:target:]):
8449         (-[LayoutTestController _doBackOrForwardNavigation:]):
8450         (-[LayoutTestController queueBackNavigation:]):
8451         (-[LayoutTestController queueForwardNavigation:]):
8452         (-[LayoutTestController queueReload]):
8453         (-[LayoutTestController queueScript:]):
8454         (-[LayoutTestController queueLoad:target:]):
8455         (-[LayoutTestController setAcceptsEditing:]):
8456         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
8457         (-[LayoutTestController storeWebScriptObject:]):
8458         (-[LayoutTestController accessStoredWebScriptObject]):
8459         (-[LayoutTestController dealloc]):
8460         (-[LayoutTestController decodeHostName:]):
8461         (-[LayoutTestController encodeHostName:]):
8462         * DumpRenderTree/ObjCController.h: Added.
8463         * DumpRenderTree/ObjCController.m: Added.
8464         (+[ObjCController isSelectorExcludedFromWebScript:]):
8465         (+[ObjCController webScriptNameForSelector:]):
8466         (-[ObjCController objCClassNameOf:]):
8467         (-[ObjCController objCObjectOfClass:]):
8468         (-[ObjCController objCIdentityIsEqual::]):
8469         (-[ObjCController objCLongLongRoundTrip:]):
8470         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
8471         (-[ObjCController testWrapperRoundTripping:]):
8473 2007-09-07  Sam Weinig  <sam@webkit.org>
8475         Reviewed by Alice.
8477         Strip trailing and leading space/newline characters from skiplist file names.
8479         * Scripts/run-webkit-tests:
8481 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
8483         Reviewed by Maciej.
8485         - Changed Drosera to take advantage of the JSRetainPtr changes.
8487         * Drosera/DebuggerDocument.cpp:
8488         (DebuggerDocument::breakpointEditorHTML):
8489         (DebuggerDocument::evaluateScript):
8490         (DebuggerDocument::valueForScopeVariableNamed):
8491         (DebuggerDocument::log):
8492         (DebuggerDocument::windowScriptObjectAvailable):
8493         (DebuggerDocument::toJSArray):
8494         (DebuggerDocument::callFunctionOnObject):
8495         (DebuggerDocument::logException):
8496         * Drosera/mac/DebuggerDocumentMac.mm:
8497         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
8498         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
8499         (DebuggerDocument::platformEvaluateScript):
8500         (DebuggerDocument::getPlatformCurrentFunctionStack):
8501         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8502         (DebuggerDocument::platformValueForScopeVariableNamed):
8504 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
8506         Reviewed by Adam, Sam, Darin.
8508         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
8510         * Drosera/Debugger.h: Added.
8511         * Drosera/DebuggerDocument.cpp:
8512         (DebuggerDocument::breakpointEditorHTMLCallback):
8513         (DebuggerDocument::isPausedCallback):
8514         (DebuggerDocument::pauseCallback):
8515         (DebuggerDocument::resumeCallback):
8516         (DebuggerDocument::stepIntoCallback):
8517         (DebuggerDocument::evaluateScriptCallback):
8518         (DebuggerDocument::currentFunctionStackCallback):
8519         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
8520         (DebuggerDocument::valueForScopeVariableNamedCallback):
8521         (DebuggerDocument::logCallback):
8522         (DebuggerDocument::breakpointEditorHTML):
8523         (DebuggerDocument::isPaused):
8524         (DebuggerDocument::pause):
8525         (DebuggerDocument::resume):
8526         (DebuggerDocument::stepInto):
8527         (DebuggerDocument::evaluateScript):
8528         (DebuggerDocument::currentFunctionStack):
8529         (DebuggerDocument::localScopeVariableNamesForCallFrame):
8530         (DebuggerDocument::valueForScopeVariableNamed):
8531         (DebuggerDocument::log):
8532         (DebuggerDocument::toolbarPause):
8533         (DebuggerDocument::toolbarResume):
8534         (DebuggerDocument::toolbarStepInto):
8535         (DebuggerDocument::toolbarStepOver):
8536         (DebuggerDocument::toolbarStepOut):
8537         (DebuggerDocument::toolbarShowConsole):
8538         (DebuggerDocument::toolbarCloseCurrentFile):
8539         (DebuggerDocument::updateFileSource):
8540         (DebuggerDocument::didParseScript):
8541         (DebuggerDocument::willExecuteStatement):
8542         (DebuggerDocument::didEnterCallFrame):
8543         (DebuggerDocument::willLeaveCallFrame):
8544         (DebuggerDocument::exceptionWasRaised):
8545         (DebuggerDocument::windowScriptObjectAvailable):
8546         (DebuggerDocument::toJSArray):
8547         (DebuggerDocument::callGlobalFunction):
8548         (DebuggerDocument::callFunctionOnObject):
8549         (DebuggerDocument::getDroseraJSClass):
8550         (DebuggerDocument::staticFunctions):
8551         (DebuggerDocument::logException):
8552         * Drosera/DebuggerDocument.h:
8553         (DebuggerDocument::DebuggerDocument):
8554         * Drosera/ForwardingHeaders: Added.
8555         * Drosera/ForwardingHeaders/wtf: Added.
8556         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
8557         * Drosera/config.h:
8558         * Drosera/console.html:
8559         * Drosera/console.js:
8560         * Drosera/debugger.js:
8561         * Drosera/mac/DebuggerApplication.mm:
8562         (-[DebuggerApplication attach:]):
8563         * Drosera/mac/DebuggerDocumentMac.h:
8564         * Drosera/mac/DebuggerDocumentMac.mm:
8565         (+[NSString stringOrNilFromWebScriptResult:]):
8566         (+[DebuggerClientMac log:]):
8567         (-[DebuggerClientMac initWithServerName:]):
8568         (-[DebuggerClientMac dealloc]):
8569         (-[DebuggerClientMac pause]):
8570         (-[DebuggerClientMac resume]):
8571         (-[DebuggerClientMac pause:]):
8572         (-[DebuggerClientMac resume:]):
8573         (-[DebuggerClientMac stepInto:]):
8574         (-[DebuggerClientMac stepOver:]):
8575         (-[DebuggerClientMac stepOut:]):
8576         (-[DebuggerClientMac showConsole:]):
8577         (-[DebuggerClientMac closeCurrentFile:]):
8578         (-[DebuggerClientMac validateUserInterfaceItem:]):
8579         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
8580         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
8581         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
8582         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
8583         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
8584         (DebuggerDocument::platformPause):
8585         (DebuggerDocument::platformResume):
8586         (DebuggerDocument::platformStepInto):
8587         (DebuggerDocument::platformEvaluateScript):
8588         (DebuggerDocument::platformCurrentFunctionStack):
8589         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
8590         (DebuggerDocument::platformValueForScopeVariableNamed):
8591         (DebuggerDocument::platformLog):
8592         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
8594 2007-09-06  Sam Weinig  <sam@webkit.org>
8596         Reviewed by Adam Roben.
8598         Register the WebKit DLL on initialization of the DumpRenderTree.
8600         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
8601         (initialize):
8603 2007-09-05  Sam Weinig  <sam@webkit.org>
8605         Reviewed by Oliver.
8607         Fix many layout test failures caused by r25364.
8608         Set text size to standand size at the begining of each test matching the mac.
8610         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
8611         (runTest):
8613 2007-09-04  Sam Weinig  <sam@webkit.org>
8615         Reviewed by Adam.
8617         Fix for <rdar://problem/5382277>
8618         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
8620         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
8621         (textZoomInCallback):
8622         (textZoomOutCallback):
8624 2007-08-29  David Kilzer  <ddkilzer@apple.com>
8626         Reviewed by Adam.
8628         Added case-insensitivity to checks for adding regression tests.
8630         * Scripts/prepare-ChangeLog:
8631         (generateFileList):
8633 2007-08-28  David Kilzer  <ddkilzer@apple.com>
8635         Reviewed by Maciej.
8637         Ignore files in /resources/ subdirectories when creating a list of added tests.
8639         * Scripts/prepare-ChangeLog:
8640         (generateFileList):
8642 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
8644         Reviewed by John.
8646         - Removed Leopard leaks list since all of those radars were fixed.
8648         * Scripts/run-webkit-tests:
8650 2007-08-27  Adam Roben  <aroben@apple.com>
8652         Rubberstamped by Mark.
8654         * Scripts/pdevenv: Pass arguments along to devenv.com.
8656 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
8658         Reviewed by Mark Rowe.
8660         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
8662         * Scripts/prepare-ChangeLog:
8663         (changeLogDate): Added.
8665 2007-08-24  Sam Weinig  <sam@webkit.org>
8667         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
8669 2007-08-24  Sam Weinig  <sam@webkit.org>
8671         Rubber-stamped by Adam Roben.
8673         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
8675         Rename COM DOM bindings to use Deprecated prefix.
8677         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
8678         (dumpFramesAsText):
8679         (dump):
8680         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
8681         (dumpPath):
8682         (dump):
8683         (EditingDelegate::shouldBeginEditingInDOMRange):
8684         (EditingDelegate::shouldEndEditingInDOMRange):
8685         (EditingDelegate::shouldInsertNode):
8686         (EditingDelegate::shouldInsertText):
8687         (EditingDelegate::shouldDeleteDOMRange):
8688         (EditingDelegate::shouldChangeSelectedDOMRange):
8689         (EditingDelegate::shouldApplyStyle):
8690         (EditingDelegate::shouldChangeTypingStyle):
8691         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
8693 2007-08-24  Oliver Hunt  <oliver@apple.com>
8695         Reviewed by John H.
8697         WebDataSource::response can legitimately have a null response, so we
8698         must check that case.
8700         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
8701         (queueLoadCallback):
8703 2007-08-23  Mitz Pettel  <mitz@webkit.org>
8705         Reviewed by Darin and Adam.
8707         - DumpRenderTree changes to allow testing for
8708           http://bugs.webkit.org/show_bug.cgi?id=11756
8709           REGRESSION: link targeting a frame in another window does not work
8710           <rdar://problem/5286420>
8712         Use a frame group name for all WebViews created by DumpRenderTree to
8713         allow testing of cross-page frame lookup.
8715         * DumpRenderTree/DumpRenderTree.m:
8716         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
8717         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
8718         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
8720 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
8722         Reviewed by Adam.
8724         Quote the $sslCertificate path in case it contains a space.
8726         * Scripts/run-webkit-httpd:
8727         * Scripts/run-webkit-tests:
8729 2007-08-22  Oliver Hunt  <oliver@apple.com>
8731         Reviewed by John and Adam.
8732         
8733         WebDataSource::response can legitimately have a null response, so we
8734         must check that case.
8736         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
8737         (dump):
8739 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
8741         Reviewed by Geof.
8743         - Changing the usage to be more clear.
8745         * Scripts/run-testkjs:
8747 2007-08-20  John Sullivan  <sullivan@apple.com>
8749         Reviewed by Adam Roben
8751         * DumpRenderTree/DumpRenderTree.m:
8752         (runTest):
8753         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
8754         in layout tests on Tiger and Leopard
8756 2007-08-20  Adam Roben  <aroben@apple.com>
8758         Put LayoutTests after all other ChangeLogs in commit logs
8760         We use "~" to sort LayoutTests after all the other ChangeLogs because
8761         "~" is the last ASCII character (other than "DEL").
8763         Reviewed by Sam.
8765         * Scripts/commit-log-editor:
8767 2007-08-20  Adam Roben  <aroben@apple.com>
8769         Detect that DRT crashed even if a crash dialog is running
8771         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
8772         process is still running at this point, so run-webkit-tests wouldn't
8773         detect that DRT had crashed. We now record the crash in our SIGPIPE
8774         handler so that we know if DRT crashed even if the crash dialog is up.
8776         Reviewed by Sam.
8778         * Scripts/run-webkit-tests:
8779         (sub catch_pipe): Set the crashed bit.
8780         (sub openDumpTool): Reset the crashed bit.
8781         (sub dumpToolDidCrash): Check the crashed bit.
8783 2007-08-20  Adam Roben  <aroben@apple.com>
8785         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
8787         http://bugs.webkit.org/show_bug.cgi?id=15026
8789         Reviewed by David Kilzer and Darin Adler.
8791         * Scripts/prepare-ChangeLog:
8792         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
8793         (sub isAddedStatus): Ditto.
8794         (sub testListForChangeLog): Added.
8796 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
8798         Reviewed by Mark.
8800         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
8802         * Scripts/webkitdirs.pm:
8803         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
8805 2007-08-17  Darin Adler  <darin@apple.com>
8807         Reviewed by Oliver Hunt.
8809         - don't look for Apple-style localizable strings in the GTK version of WebKit
8811         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
8812         name of subdirectories to skip.
8813         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
8814         to skip.
8816 2007-08-17  Anders Carlsson  <andersca@apple.com>
8818         Build fix.
8819         
8820         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
8821         (NPP_SetWindow):
8823 2007-08-17  Anders Carlsson  <andersca@apple.com>
8825         Reviewed by Dave Hyatt.
8827         <rdar://problem/5379040>
8828         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
8830         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
8831         
8832         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
8833         (pluginAllocate):
8834         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
8835         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
8836         (NPP_New):
8837         (NPP_SetWindow):
8839 2007-08-16  Alice Liu  <alice.liu@apple.com>
8841         Reviewed by Maciej.
8843         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
8845         * DumpRenderTree/DumpRenderTree.m:
8846         (createWebView):
8847         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
8848         (dumpRenderTree):
8849         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow. 
8851 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
8853         Reviewed by Adam.
8855         - Added tests for regressions in other components.  In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
8857         * Scripts/run-webkit-tests:
8859 2007-08-15  Timothy Hatcher  <timothy@apple.com>
8861         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
8862         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
8864         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
8865         this prevents making "build" directories in each project folder.
8867         * Scripts/webkitdirs.pm:
8869 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
8871         Reviewed by Kevin Mccullough.
8872         
8873         Removed special case that didn't belong. (It would allow a global 
8874         initializer to sneak into production builds, which would cause a 
8875         system-wide performance regression on Mac OS X.)
8877         * Scripts/check-for-global-initializers:
8879 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
8881         Reviewed by Tim.
8882         
8883         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
8885         * DumpRenderTree/EditingDelegate.m:
8886         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
8887         only for elements with the class needsDeletionUI.
8889 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
8891         Reviewed by Darin.
8893         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
8894           svn-create-patch uses deprecated tail switch
8896         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
8898 2007-08-13  Sam Weinig  <sam@webkit.org>
8900         Reviewed by Adam Roben.
8902         Use the cygwin specific Apache config file under cygwin.
8904         * Scripts/run-webkit-httpd:
8906 2007-08-12  Adam Roben  <aroben@apple.com>
8908         Generate results for new tests in a more logical location
8910         New platform-specific tests always have their results generated right
8911         next to the test. New cross-platform tests will have their results
8912         generated a) in the cross-platform directory, if they are text-only,
8913         or b) in the least-specific platform directory, if they are render
8914         tree dumps.
8916         Reviewed by Lars.
8918         * Scripts/run-webkit-tests:
8920 2007-08-12  Adam Roben  <aroben@apple.com>
8922         Print the actual directory where new results are generated.
8924         Before, we were printing an unpredictable, context-specific substring
8925         of the directory.
8927         Reviewed by Lars.
8929         * Scripts/run-webkit-tests:
8931 2007-08-12  Adam Roben  <aroben@apple.com>
8933         Factor some common code into a stripExtension() subroutine.
8935         Reviewed by Lars.
8937         * Scripts/run-webkit-tests: Also removed some debugging output.
8939 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
8941         Reviewed over and over and over by Adam Roben.
8943         Bug 14740: Hierarchical layout tests and platform organization
8944         http://bugs.webkit.org/show_bug.cgi?id=14740
8946         Add support for platform-specific layout tests and results.
8948         * Scripts/run-webkit-tests:
8950 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
8952         Reviewed by Adam.
8954         Refactored svn-create-path to use a hash-of-hashes data structure to keep
8955         track of changed files.  In the top level hash, keys are paths to files and
8956         values are 'fileData' hashes with the following keys and values:
8958         - isBinary: boolean value (set to true for non-text files like images, etc.)
8959         - isTestFile: boolean value (set to true if file exists within a known test
8960           directory)
8961         - modificationType: string equal to one of 'addition', 'additionWithHistory',
8962           'modification' or 'deletion'
8963         - path: string equal to the path to the file (this may seem redundant, but it
8964           is required to use the second-level 'fileData' hash independent of the
8965           top-level hash)
8966         - sourceFile: [optional] string equal to the path of the original file that was
8967           copied or moved
8968         - sourceRevision: [optional] string equal to the revision of the original file
8969           that was copied or moved
8971         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
8972         that saves the return value in $result, then checks it before printing help.
8973         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
8974         and eliminated two for() loops.
8975         (binarycmp): Added.  Used with sort() to order non-binary files before binary
8976         files.
8977         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
8978         (findMimeType): Added optional second argument that takes a revision number.
8979         (generateDiff): Updated to take one fileData argument instead of three ($file,
8980         $modificationType, $isBinary).
8981         (generateFileList): Updated to take one hash ref argument (%diffFiles)
8982         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
8983         %diffFiles using paths for keys and fileData hashes for values.
8984         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
8985         argument.
8986         (pathcmp): Updated to take two fileData arguments instead of two strings.
8987         (testfilecmp): Added.  Used with sort() to order non-test files before test
8988         files.
8990 2007-08-11  Darin Adler  <darin@apple.com>
8992         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
8994 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
8996         Reviewed by David Kilzer.
8998         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
8999         http://bugs.webkit.org/show_bug.cgi?id=14745
9001         * Scripts/run-launcher:
9002         Scrub the "--gdk" out of the command line args, if given, so that
9003         GdkLauncher doesn't try to interpret it as a URL.
9005 2007-08-03  Adam Roben  <aroben@apple.com>
9007         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
9009         Reviewed by Sam.
9011         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
9013 2007-08-03  Sam Weinig  <sam@webkit.org>
9015         Reviewed by Darin.
9017         Recursively dump all frames as text using new
9018         layoutTestController.dumpChildFramesAsText() function.
9020         * DumpRenderTree/DumpRenderTree.m:
9021         (dumpFramesAsText):
9022         (dump):
9023         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
9024         (-[LayoutTestController dumpChildFramesAsText]):
9025         (runTest):
9026         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
9027         (dumpFramesAsText):
9028         (dump):
9029         (runTest):
9030         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
9031         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
9032         (dumpChildFramesAsTextCallback):
9033         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9035 2007-08-02  Adam Roben  <aroben@apple.com>
9037         Fix fast/dom/Window/alert-undefined.html
9039         Reviewed by Sam.
9041         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
9042         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
9043         Windows translate a null BSTR into "(null)"
9045 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
9047         Reviewed by Tim. 
9049         - It would help if I actually called the right function.
9051         * Drosera/DebuggerDocument.cpp:
9052         (DebuggerDocument::showConsole):
9054 2007-08-02  Adam Roben  <aroben@apple.com>
9056         Don't delete the stderr file right after creating it
9058         * Scripts/run-webkit-tests:
9060 2007-08-01  Adam Roben  <aroben@apple.com>
9062         When DRT crashes, record stderr and restart DRT
9064         This prevents a DRT crash from causing the next few hundred tests to
9065         "fail" because DRT is no longer running. 
9067         I also changed the terminology that run-webkit-tests uses in its
9068         output a bit, so that crashing tests are referred to as "crashes"
9069         instead of "failures".
9071         Reviewed by Mark.
9073         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
9074         failure.
9075         (sub openDumpTool): Use open3 so that we can access stderr.
9076         (sub dumpToolCrashed): Added.
9077         (sub printFailureMessageForTest): Added.
9078         (sub htmlForExpectedAndActualResults): Added.
9079         (sub deleteExpectedAndActualResults): Added.
9080         (sub recordActualResultsAndDiff): Added.
9082 2007-07-30  Darin Adler  <darin@apple.com>
9084         Reviewed by Tim Hatcher.
9086         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
9087         characters. This turned out not to be needed for the test case that motivated me to
9088         do it, but it's nice to have this for the future.
9090 2007-07-30  Simon Hausmann  <hausmann@kde.org>
9092         Reviewed by Lars.
9094         Link QtLauncher into $$OUTPUT_DIR/bin
9096         * Scripts/run-launcher:
9098 2007-07-27  David Kilzer  <ddkilzer@apple.com>
9100         Reviewed by Geoff and Darin.
9102         Use a subroutine for validating the --skipped switch.
9104         * Scripts/run-webkit-tests:
9106 2007-07-27  Darin Adler  <darin@apple.com>
9108         Reviewed by Sam.
9110         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
9112 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
9114         Reviewed by Mark.
9116         Correct the path of GdkLauncher and make checkFrameworks work on OSX
9117         when building the Qt or Gtk+ port.
9119         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
9120         * Scripts/run-launcher:
9121         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
9123 2007-07-27  Simon Hausmann  <hausmann@kde.org>
9125         Done with and reviewed by Lars and Zack.
9127         Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
9129         * Scripts/webkitdirs.pm:
9131 2007-07-27  Simon Hausmann  <hausmann@kde.org>
9133         Done with and reviewed by Lars and Zack.
9135         For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
9137         * Scripts/webkitdirs.pm:
9139 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
9141         Reviewed by Darin, Geoff, Sam.
9143         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
9145         - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
9147         * DumpRenderTree/UIDelegate.h:
9148         * DumpRenderTree/UIDelegate.m:
9149         (-[UIDelegate webView:setFrame:]):
9150         (-[UIDelegate webViewFrame:]):
9152 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
9154         Reviewed by Adam.
9156         - Lars wanted this check for Qt but it breaks platform specific layout tests.
9158         * Scripts/run-webkit-tests:
9160 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
9162         Reviewed by Tim, Darin, Oliver.
9164         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
9165         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
9167         * ChangeLog:
9168         * DumpRenderTree/DumpRenderTree.m:
9169         (createWebView):
9170         (dumpRenderTree):
9171         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
9172         (+[LayoutTestController webScriptNameForSelector:]):
9173         (-[LayoutTestController setCustomPolicyDelegate:]):
9174         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9175         * DumpRenderTree/FrameLoadDelegate.h:
9176         * DumpRenderTree/PolicyDelegate.h: Added.
9177         * DumpRenderTree/PolicyDelegate.m: Added.
9178         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
9179         * DumpRenderTree/ResourceLoadDelegate.h:
9181 2007-07-25  Adam Treat  <treat@kde.org>
9183         Reviewed by Niko.
9185         Fix build for some reported systems.
9187         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
9189 2007-07-23  Adam Treat  <treat@kde.org>
9191         Reviewed by Nikolas.
9193         Fix qt DRT to suppress js popup alerts and log instead.
9195         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9196         (WebCore::WebPage::javaScriptAlert):
9198 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
9200         Reviewed by Adam.
9202         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
9203         honor --qmakearg for the Gdk/Gtk build as well.
9205         * GdkLauncher/main.cpp: Switch to the new API
9206         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
9208 2007-07-22  Darin Adler  <darin@apple.com>
9210         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
9211         Fix a leak by releasing the array used here.
9213 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
9215         Reviewed by Darin.
9217         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
9218           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
9220         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
9221         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
9223         * Scripts/update-iexploder-cssproperties: Added.
9224         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
9225         Added new CSS3 property section and Moved box-sizing property to it.
9227 2007-07-22  Oliver Hunt  <oliver@apple.com>
9229         Reviewed by Darin.
9231         http://bugs.webkit.org/show_bug.cgi?id=14710
9233         Add preliminary support for testing Input Method/WebKit behaviour and interaction 
9234         in DRT.  This provides the NSTextInput API which is most of what should be necessary
9235         to mimic the event sequences Input Methods trigger.
9237         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9238         * DumpRenderTree/TextInputController.h:
9239         * DumpRenderTree/TextInputController.m:
9240         (-[WebHTMLView interpretKeyEvents:]):
9241         (+[TextInputController isSelectorExcludedFromWebScript:]):
9242         (+[TextInputController webScriptNameForSelector:]):
9243         (-[TextInputController initWithWebView:]):
9244         (-[TextInputController dealloc]):
9245         (-[TextInputController textInput]):
9246         (-[TextInputController setInputMethodHandler:]):
9247         (-[TextInputController interpretKeyEvents:withSender:]):
9249 2007-07-20  Adam Roben  <aroben@apple.com>
9251         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
9252         message not count as an existing log.
9254 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
9256         Reviewed by Darin Adler.
9257         
9258         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 
9259         value behavior of stringByEvaluatingJavaScriptFromString
9261         * DumpRenderTree/DumpRenderTree.m:
9262         (testStringByEvaluatingJavaScriptFromString):
9263         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9265 2007-07-19  Adam Roben  <aroben@apple.com>
9267         Make commit-log-editor work with git
9269         Reviewed by Sam.
9271         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
9272         commit message template. Also removed the unused $breakPoint variable.
9274 2007-07-19  Adam Roben  <aroben@apple.com>
9276         Move generally-useful VCS code into a new VCSUtils.pm module
9278         This is in preparation for making commit-log-editor git-friendly.
9280         Reviewed by Sam.
9282         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
9283         * Scripts/prepare-ChangeLog: Use VCSUtils.
9285 2007-07-19  Lars Knoll <lars@trolltech.com>
9287         Fix a crash on exit when running DRT against a current
9288         Qt 4.4 snapshot.
9290         Reviewed by Zack
9292         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
9293         (main):
9295 2007-07-18  Adam Roben  <aroben@apple.com>
9297         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
9299         Reviewed by Mark.
9301         * Scripts/run-webkit-httpd:
9302         * Scripts/run-webkit-tests:
9304 2007-07-18  Adam Roben  <aroben@apple.com>
9306         More git friendliness for prepare-ChangeLog
9308         The overall change is to remove the use of git-status and replace it
9309         with git-diff --name-status (which we were already using in the
9310         --git-commit case).
9312         This lets us respect directories specified on the command line when
9313         using git, just as we do for Subversion. It also speeds things up a
9314         bit, especially in the subdirectory case, as git-status is pretty slow.
9316         I also fixed some issues where we wouldn't detect copied files and
9317         would reverse the new filename and the original filename for renamed files.
9319         Reviewed by Mark.
9321         * Scripts/prepare-ChangeLog:
9322         (sub diffFromToString): Added.
9323         (sub diffCommand): Don't append the paths in the --git-commit case, as
9324         we should be operating on the entire commit.
9325         (sub statusCommand): Always use git-diff --name-status, and added an
9326         extra -C option to git-diff to make it find a few more copied files.
9327         (sub createPatchCommand): Collapsed the two git cases a bit, and added
9328         the extra -C option as above.
9329         (sub generateFileList): Remove the git-status codepath, and recognize
9330         file copies in the --name-status output.
9331         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
9332         dictionary.
9333         (sub isConflictStatus): Updated the git dictionary.
9334         (sub statusDescription): Updated the git dictionary.
9336 2007-07-18  Timothy Hatcher  <timothy@apple.com>
9338         * Scripts/build-drosera: Update where we look for the Xcode project.
9340 2007-07-18  Adam Treat <treat@kde.org>
9342         Reviewed by bdash.
9344         Use the old wording for Safari.
9346         * Scripts/build-webkit:
9347         * Scripts/webkitdirs.pm:
9349 2007-07-18  Adam Treat <treat@kde.org>
9351         Reviewed by bdash.
9353         Add convenience script for launching test apps for Qt and Gdk ports.
9354         Change the build-webkit script accordingly.
9356         * Scripts/build-webkit:
9357         * Scripts/run-launcher: Added.
9358         * Scripts/webkitdirs.pm:
9360 2007-07-18  Timothy Hatcher  <timothy@apple.com>
9362         Reviewed by Adam.
9364         Make the Page with the now required InspectorClient.
9366         * GdkLauncher/main.cpp:
9367         (main):
9369 2007-07-18  Timothy Hatcher  <timothy@apple.com>
9371         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
9372         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
9374         * Drosera/Makefile: Added.
9375         * Drosera/mac/Makefile:
9376         * DumpRenderTree/Makefile:
9377         * Makefile:
9378         * Makefile.Drosera: Removed.
9379         * Makefile.shared: Removed.
9381 2007-07-18  Timothy Hatcher  <timothy@apple.com>
9383         The console log was 20px down from the top for no reason, move it up.
9385         * Drosera/console.css:
9387 2007-07-18  Timothy Hatcher  <timothy@apple.com>
9389         Use contentDocument to get the source view's iframe document.
9390         Also adds a null/undefined check for localVariableNames.
9392         * Drosera/debugger.js:
9394 2007-07-18  Lars Knoll <lars@trolltech.com>
9396         We really don't want to compare non text only tests to the 
9397         Mac results if we don't have a result for Qt, as this would
9398         give a failure and not a notification that the test is new.
9400         Reviewed by Zack
9402         * Scripts/run-webkit-tests:
9404 2007-07-18  Lars Knoll <lars@trolltech.com>
9406         Reviewed by Zack & Simon
9408         Adjust to changed API in QWebFrame
9410         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9411         (WebCore::DumpRenderTree::DumpRenderTree):
9413 2007-07-18  Mark Rowe  <mrowe@apple.com>
9415         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
9417         * BuildSlaveSupport/build-launcher-app:
9419 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
9421         Reviewed by Antti Koivisto.
9422         
9423         Added watchdog timer to waitUntilDone to prevent a run-away test from
9424         hanging the test harness.
9426         * DumpRenderTree/DumpRenderTree.m:
9427         (dump):
9428         (-[LayoutTestController waitUntilDone]):
9429         (-[LayoutTestController waitUntilDoneWatchdogFired]):
9430         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9432 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
9434         Reviewed by Adam.
9436         - Implemented cross-platform code for functions calling into the JavaScript.
9438         * Drosera/DebuggerDocument.cpp:
9439         (DebuggerDocument::callAsFunction):
9440         (DebuggerDocument::pauseJS):
9441         (DebuggerDocument::resumeJS):
9442         (DebuggerDocument::stepIntoJS):
9443         (DebuggerDocument::stepOverJS):
9444         (DebuggerDocument::stepOutJS):
9445         (DebuggerDocument::showConsoleJS):
9446         (DebuggerDocument::closeCurrentFileJS):
9447         (DebuggerDocument::updateFileSource):
9448         (DebuggerDocument::didParseScript):
9449         (DebuggerDocument::willExecuteStatement):
9450         (DebuggerDocument::didEnterCallFrame):
9451         (DebuggerDocument::willLeaveCallFrame):
9452         (DebuggerDocument::exceptionWasRaised):
9453         * Drosera/DebuggerDocument.h:
9454         * Drosera/mac/DebuggerDocumentMac.mm:
9455         (-[DebuggerDocumentMac pause:]):
9456         (-[DebuggerDocumentMac resume:]):
9457         (-[DebuggerDocumentMac stepInto:]):
9458         (-[DebuggerDocumentMac stepOver:]):
9459         (-[DebuggerDocumentMac stepOut:]):
9460         (-[DebuggerDocumentMac showConsole:]):
9461         (-[DebuggerDocumentMac closeCurrentFile:]):
9462         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
9463         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
9464         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
9465         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
9466         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
9467         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
9469 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
9471         Reviewed by Darin.
9473         - Continued x-platform modifications.
9475         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
9476         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
9477         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
9478         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
9479         * Drosera/win/Drosera.cpp:
9480         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9481         * Drosera/win/stdafx.cpp: Removed.
9482         * Drosera/win/stdafx.h: Removed.
9484 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
9486         Reviewed by Sam.
9488         - Modified files to use cross-platform code.
9490         * Drosera/DebuggerDocument.cpp: Added.
9491         (DebuggerDocument::breakpointEditorHTML):
9492         (DebuggerDocument::isPaused):
9493         (DebuggerDocument::pause):
9494         (DebuggerDocument::resume):
9495         (DebuggerDocument::stepInto):
9496         (DebuggerDocument::evaluateScript):
9497         (DebuggerDocument::currentFunctionStack):
9498         (DebuggerDocument::localScopeVariableNamesForCallFrame):
9499         (DebuggerDocument::valueForScopeVariableNamed):
9500         * Drosera/DebuggerDocument.h: Added.
9501         (DebuggerDocument::DebuggerDocument):
9502         * Drosera/config.h: Added.
9503         * Drosera/mac/DebuggerApplication.mm:
9504         (-[DebuggerApplication attach:]):
9505         * Drosera/mac/DebuggerDocument.h: Removed.
9506         * Drosera/mac/DebuggerDocument.mm: Removed.
9507         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
9508         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
9509         (-[DebuggerDocumentMac initWithServerName:]):
9510         (-[DebuggerDocumentMac dealloc]):
9511         (-[DebuggerDocumentMac breakpointEditorHTML]):
9512         (-[DebuggerDocumentMac isPaused]):
9513         (-[DebuggerDocumentMac pause]):
9514         (-[DebuggerDocumentMac resume]):
9515         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9516         * Drosera/win/DebuggerApplication.cpp:
9517         * Drosera/win/DebuggerObjectCallbacks.cpp:
9518         (breakpointEditorHTMLCallback):
9519         (currentFunctionStackCallback):
9520         (evaluateScript_inCallFrame_Callback):
9521         (isPausedCallback):
9522         (localScopeVariableNamesForCallFrame_Callback):
9523         (pauseCallback):
9524         (resumeCallback):
9525         (stepIntoCallback):
9526         (valueForScopeVariableNamed_inCallFrame_Callback):
9527         (staticFunctions):
9528         * Drosera/win/Drosera.cpp:
9529         * Drosera/win/DroseraPrefix.cpp: Added.
9530         * Drosera/win/DroseraPrefix.h: Added.
9532 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
9534         Reviewed by Adam, Sam and Tim.
9536         - Moving files to prepare for cross-platform architecture.
9538         * Drosera/DebuggerApplication.h: Removed.
9539         * Drosera/DebuggerApplication.m: Removed.
9540         * Drosera/DebuggerDocument.h: Removed.
9541         * Drosera/DebuggerDocument.m: Removed.
9542         * Drosera/Drosera.pch: Removed.
9543         * Drosera/Drosera.xcodeproj: Removed.
9544         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
9545         * Drosera/Info.plist: Removed.
9546         * Drosera/LauncherInfo.plist: Removed.
9547         * Drosera/Makefile: Removed.
9548         * Drosera/launcher.m: Removed.
9549         * Drosera/mac: Added.
9550         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
9551         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
9552         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
9553         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
9554         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
9555         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
9556         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9557         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
9558         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
9559         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
9560         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
9561         * Drosera/mac/main.m: Copied from Drosera/main.m.
9562         * Drosera/main.m: Removed.
9563         * Makefile:
9564         * Makefile.Drosera: Added.
9566 2007-07-15  Mark Rowe  <mrowe@apple.com>
9568         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
9570 2007-07-13  Sam Weinig  <sam@webkit.org>
9572         Reviewed by Geoff Garen.
9574         Add support for running SSL tests over HTTPS.
9576         * DumpRenderTree/DumpRenderTree.m:
9577         (runTest):
9578         * DumpRenderTree/FrameLoadDelegate.m:
9579         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
9580         * Scripts/run-webkit-httpd:
9581         * Scripts/run-webkit-tests:
9583 2007-07-13  David Kilzer  <ddkilzer@apple.com>
9585         Reviewed by Darin.
9587         Added support for -h|--help argument and verify that all command line arguments parse
9588         correctly.
9590         * Scripts/run-webkit-httpd:
9592 2007-07-12  Mark Rowe  <mrowe@apple.com>
9594         Reviewed by Ada.
9596         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
9598         * Scripts/run-webkit-tests:
9600 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
9602         Reviewed by Oliver Hunt.
9603         
9604         Made the leaks tests pass on Leopard.
9606         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
9607         * Scripts/run-leaks: Updated parser for slight change in text output.
9609 2007-07-11  David Kilzer  <ddkilzer@apple.com>
9611         Reviewed by Maciej.
9613         Update the iExploder list of CSS properties after box-sizing was renamed to
9614         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
9616         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
9617         -moz-box-sizing remain.
9619 2007-07-10  Darin Adler  <darin@apple.com>
9621         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
9622         Foundation's multipart/mixed-replace support -- I already verified that
9623         the bug has been fixed.
9625 2007-07-10  Alice Liu  <alice.liu@apple.com>
9627         rubber stamped by Maciej.
9629         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
9631         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
9632         (initializePreferences):
9633         set editable link behavior to match Mac DRT. 
9635 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
9637         Reviewed by Tim Hatcher.
9639         Ignore Page.o in debug builds because it now has a static PageCounter
9640         object.
9642         * Scripts/check-for-global-initializers:
9644 2007-07-09  Darin Adler  <darin@apple.com>
9646         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
9648 2007-07-09  Alice Liu  <alice.liu@apple.com>
9650         Reviewed by Adam Roben.
9652         setting DOM Paste Allowed Pref 
9654         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
9655         (initializePreferences):
9657 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
9659         Reviewed by Adam, Sam, and Ada.
9661         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
9663         * Drosera/Images/Drosera.ico: Added.
9664         * Drosera/Images/small.ico: Added.
9665         * Drosera/win: Added.
9666         * Drosera/win/BaseDelegate.h: Added.
9667         (BaseDelegate::QueryInterface):
9668         (BaseDelegate::didFinishLoadForFrame):
9669         (BaseDelegate::windowScriptObjectAvailable):
9670         (BaseDelegate::didStartProvisionalLoadForFrame):
9671         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
9672         (BaseDelegate::didFailProvisionalLoadWithError):
9673         (BaseDelegate::didCommitLoadForFrame):
9674         (BaseDelegate::didReceiveTitle):
9675         (BaseDelegate::didReceiveIcon):
9676         (BaseDelegate::didFailLoadWithError):
9677         (BaseDelegate::didChangeLocationWithinPageForFrame):
9678         (BaseDelegate::willPerformClientRedirectToURL):
9679         (BaseDelegate::didCancelClientRedirectForFrame):
9680         (BaseDelegate::willCloseFrame):
9681         (BaseDelegate::createWebViewWithRequest):
9682         (BaseDelegate::webViewShow):
9683         (BaseDelegate::webViewClose):
9684         (BaseDelegate::webViewFocus):
9685         (BaseDelegate::webViewUnfocus):
9686         (BaseDelegate::webViewFirstResponder):
9687         (BaseDelegate::makeFirstResponder):
9688         (BaseDelegate::setStatusText):
9689         (BaseDelegate::webViewStatusText):
9690         (BaseDelegate::webViewAreToolbarsVisible):
9691         (BaseDelegate::setToolbarsVisible):
9692         (BaseDelegate::webViewIsStatusBarVisible):
9693         (BaseDelegate::setStatusBarVisible):
9694         (BaseDelegate::webViewIsResizable):
9695         (BaseDelegate::setResizable):
9696         (BaseDelegate::setFrame):
9697         (BaseDelegate::webViewFrame):
9698         (BaseDelegate::setContentRect):
9699         (BaseDelegate::webViewContentRect):
9700         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
9701         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
9702         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
9703         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
9704         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
9705         (BaseDelegate::mouseDidMoveOverElement):
9706         (BaseDelegate::contextMenuItemsForElement):
9707         (BaseDelegate::validateUserInterfaceItem):
9708         (BaseDelegate::shouldPerformAction):
9709         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
9710         (BaseDelegate::willPerformDragDestinationAction):
9711         (BaseDelegate::dragSourceActionMaskForPoint):
9712         (BaseDelegate::willPerformDragSourceAction):
9713         (BaseDelegate::contextMenuItemSelected):
9714         (BaseDelegate::hasCustomMenuImplementation):
9715         (BaseDelegate::trackCustomPopupMenu):
9716         (BaseDelegate::measureCustomMenuItem):
9717         (BaseDelegate::drawCustomMenuItem):
9718         (BaseDelegate::addCustomMenuDrawingData):
9719         (BaseDelegate::cleanUpCustomMenuDrawingData):
9720         (BaseDelegate::canTakeFocus):
9721         (BaseDelegate::takeFocus):
9722         (BaseDelegate::registerUndoWithTarget):
9723         (BaseDelegate::removeAllActionsWithTarget):
9724         (BaseDelegate::setActionTitle):
9725         (BaseDelegate::undo):
9726         (BaseDelegate::redo):
9727         (BaseDelegate::canUndo):
9728         (BaseDelegate::canRedo):
9729         * Drosera/win/DebuggerApplication.cpp: Added.
9730         (DebuggerApplication::serverLoaded):
9731         (DebuggerApplication::serverUnloaded):
9732         (DebuggerApplication::attach):
9733         (DebuggerApplication::numberOfRowsInTableView):
9734         (DebuggerApplication::tableView):
9735         * Drosera/win/DebuggerApplication.h: Added.
9736         (DebuggerApplication::DebuggerApplication):
9737         (DebuggerApplication::knownServers):
9738         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
9739         (breakpointEditorHTMLCallback):
9740         (currentFunctionStackCallback):
9741         (doubleClickMillisecondsCallback):
9742         (evaluateScript_inCallFrame_Callback):
9743         (isPausedCallback):
9744         (localScopeVariableNamesForCallFrame_Callback):
9745         (pauseCallback):
9746         (resumeCallback):
9747         (stepIntoCallback):
9748         (valueForScopeVariableNamed_inCallFrame_Callback):
9749         (staticFunctions):
9750         * Drosera/win/DebuggerObjectCallbacks.h: Added.
9751         * Drosera/win/Drosera.cpp: Added.
9752         (_tWinMain):
9753         (RegisterDroseraClass):
9754         (DroseraWndProc):
9755         (About):
9756         (Attach):
9757         (Drosera::Drosera):
9758         (Drosera::initUI):
9759         (Drosera::QueryInterface):
9760         (Drosera::AddRef):
9761         (Drosera::Release):
9762         (Drosera::didFinishLoadForFrame):
9763         (getDroseraJSClass):
9764         (Drosera::windowScriptObjectAvailable):
9765         (Drosera::webViewClose):
9766         (Drosera::validateUserInterfaceItem):
9767         (Drosera::runJavaScriptAlertPanelWithMessage):
9768         (Drosera::onSize):
9769         * Drosera/win/Drosera.h: Added.
9770         (Drosera::webViewLoaded):
9771         * Drosera/win/Drosera.vcproj: Added.
9772         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
9773         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
9774         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
9775         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
9776         * Drosera/win/HelperFunctions.h: Added.
9777         (CFStringToBSTR):
9778         * Drosera/win/Info.plist: Added.
9779         * Drosera/win/resource.h: Added.
9780         * Drosera/win/stdafx.cpp: Added.
9781         * Drosera/win/stdafx.h: Added.
9783 2007-07-09  Adam Treat  <adam@staikos.net>
9785         Reviewed by George Staikos.
9787         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
9788         traces of widgets.
9790         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9791         (WebCore::DumpRenderTree::DumpRenderTree):
9793 2007-07-09  Anders Carlsson  <andersca@apple.com>
9795         Reviewed by Oliver.
9797         <rdar://problem/4954319> 
9798         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at 
9799         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
9800         
9801         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream", 
9802         return an error from NPP_NewStream.
9803         
9804         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
9805         (pluginAllocate):
9806         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
9807         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
9808         (NPP_New):
9809         (NPP_NewStream):
9811 2007-07-08  Mark Rowe  <mrowe@apple.com>
9813         Change name from WebKit/Qt to WebKit.
9815         * CodeCoverage/regenerate-coverage-display:
9817 2007-07-08  Rob Buis  <buis@kde.org>
9819         Reviewed by Mitz.
9821         http://bugs.webkit.org/show_bug.cgi?id=14209
9822         DRT should be able to deal with text zoom
9824         Allow increasing/decreasing text zoom using eventSender.
9826         * DumpRenderTree/DumpRenderTree.m:
9827         (runTest):
9828         * DumpRenderTree/EventSendingController.m:
9829         (+[EventSendingController initialize]):
9830         (+[EventSendingController isSelectorExcludedFromWebScript:]):
9831         (-[EventSendingController textZoomIn]):
9832         (-[EventSendingController textZoomOut]):
9834 2007-07-07  Mark Rowe  <mrowe@apple.com>
9836         Reviewed by Oliver.
9838         * DumpRenderTree/DumpRenderTree.m:
9839         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
9841 2007-07-06  Anders Carlsson  <andersca@apple.com>
9843         Reviewed by David Kilzer.
9845         <rdar://problem/5313502>
9846         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
9848         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
9849         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
9850         
9851         * DumpRenderTree/DumpRenderTree.m:
9852         (convertMIMEType):
9853         (convertWebResourceDataToString):
9854         (convertWebResourceResponseToDictionary):
9855         (serializeWebArchiveToXML):
9857 2007-07-06  Timothy Hatcher  <timothy@apple.com>
9859         Reviewed by Oliver.
9861         Initialize the NSMutableAttributedString directly instead of creating
9862         a NSAttributedString first.
9864         * DumpRenderTree/TextInputController.m:
9865         (-[TextInputController attributedStringWithString:]):
9867 2007-07-06  Anders Carlsson  <andersca@apple.com>
9869         Reviewed by David Kilzer.
9871         Replace "Apple Computer" with "Apple" in the DTD declaration.
9873         * DumpRenderTree/DumpRenderTree.m:
9874         (serializeWebArchiveToXML):
9876 2007-07-06  Adam Treat  <adam@staikos.net>
9878         Reviewed by George Staikos.
9880         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
9882         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
9883         (WebCore::DumpRenderTree::DumpRenderTree):
9885 2007-07-06  George Staikos  <staikos@kde.org>
9887         Reviewed by Anders.
9889         Allow passing of additional arguments to qmake with --qmakearg=
9891         * Scripts/webkitdirs.pm:
9893 2007-07-05  George Staikos  <staikos@kde.org>
9895         Reviewed by Maciej.
9897         Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
9898         give a path to a specific qmake binary.  Both are optional.
9900         * Scripts/webkitdirs.pm:
9902 2007-07-05  Adam Roben  <aroben@apple.com>
9904         Warn about tests in the Skipped file that succeeded
9906         * Scripts/run-webkit-tests:
9908 2007-07-05  Adam Roben  <aroben@apple.com>
9910         Removed unused install-win-extras script
9912         Rubberstamped by Mark.
9914         * Scripts/install-win-extras: Removed.
9916 2007-07-05  Adam Roben  <aroben@apple.com>
9918         Show the test's extension in the results page
9920         * Scripts/run-webkit-tests:
9922 2007-07-05  Adam Roben  <aroben@apple.com>
9924         Add more options for controlling the interpretation of the Skipped file
9926         Reviewed by Mark.
9928         * Scripts/run-webkit-tests:
9930 2007-07-04  Adam Roben  <aroben@apple.com>
9932         Add --skipped-only option to run-webkit-tests
9934         When this option is specified, only those tests listed in the Skipped
9935         file are run.
9937         Reviewed by Mark.
9939         * Scripts/run-webkit-tests:
9941 2007-07-04  Adam Roben  <aroben@apple.com>
9943         Clean up/alphabetize the run-webkit-tests help message
9945         * Scripts/run-webkit-tests:
9947 2007-07-04  Adam Roben  <aroben@apple.com>
9949         Enable a Leopard-specific Skipped list.
9951         Reviewed by Mark.
9953         * Scripts/run-webkit-tests: Check for Leopard.
9954         * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
9956 2007-07-03  Adam Roben  <aroben@apple.com>
9958         Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
9960         Got rid of extract-webkit-localizable-strings because it was trying to
9961         do update-webkit-localizable-strings' job.
9963         Rubberstamped by Darin.
9965         * Scripts/extract-webkit-localizable-strings: Removed.
9966         * Scripts/update-webkit-localizable-strings: Renamed from
9967         extract-localizable-strings.
9969 2007-07-03  Adam Roben  <aroben@apple.com>
9971         Modify scripts to keep Mac/Windows localized strings in sync
9973         extract-webkit-localizable-strings now handles extracting strings from
9974         both the Mac and Windows WebKit ports and updating their respective
9975         Localizable.strings files. extract-localizable-strings is now really a
9976         piece of plumbing rather than a top-level tool.
9978         Reviewed by Darin and Anders.
9980         * Scripts/extract-localizable-strings: Changed to handle multiple
9981         directories.
9982         * Scripts/extract-webkit-localizable-strings: Added.
9984 2007-07-03  Adele Peterson  <adele@apple.com>
9986         Reviewed by Darin.
9988         Extended DumpRenderTree to test encoding and decoding host names.
9990         * DumpRenderTree/DumpRenderTree.m:
9991         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
9992         (+[LayoutTestController webScriptNameForSelector:]): ditto.
9993         (-[LayoutTestController decodeHostName:]): Added.
9994         (-[LayoutTestController encodeHostName:]): Added.
9996 2007-07-03  Sam Weinig  <sam@webkit.org>
9998         Reviewed by Darin.
10000         Eleventh round of fixes for implicit 64-32 bit conversion errors.
10001         <rdar://problem/5292262>
10003         Add functions to test long long and unsigned long long.
10005         * DumpRenderTree/DumpRenderTree.m:
10006         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10007         (+[LayoutTestController webScriptNameForSelector:]):
10008         (-[LayoutTestController objCLongLongRoundTrip:]):
10009         (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
10011 2007-07-01  Adam Roben  <aroben@apple.com>
10013         Fix some paths to make http tests work again on Windows
10015         Rubberstamped by Sam.
10017         * Scripts/run-webkit-tests:
10019 2007-06-28  Stephanie  <slewis@apple.com>
10021         Reviewed by Adam,
10023         Allow tests to use pre-built roots instead of building the tests.
10025         * Scripts/run-javascriptcore-tests: added --root option
10026         * Scripts/run-webkit-tests: added --root option
10027         * Scripts/webkitdirs.pm: added support for using a root
10029 2007-06-25  Adam Roben  <aroben@apple.com>
10031         Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
10032         http://bugs.webkit.org/show_bug.cgi?id=14405
10034         Reviewed by Anders.
10036         * Scripts/run-webkit-tests:
10038 2007-06-25  Adam Roben  <aroben@apple.com>
10040         Enable running the regression tests on Windows.
10042         These changes were developed alongside the Windows WebKit port and
10043         have been well tested.
10045         Rubberstamped by Sam.
10047         * Scripts/run-webkit-tests:
10049 2007-06-25  Adam Roben  <aroben@apple.com>
10051         Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
10052         http://bugs.webkit.org/show_bug.cgi?id=14403
10054         Reviewed by Mark Rowe.
10056         * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
10057         (sub createPatchCommand): Generate a correct diff in the $gitCommit
10058         case.
10060 2007-06-25  Adam Roben  <aroben@apple.com>
10062         Land pdevenv and supporting scripts/programs
10064         pdevenv is a script that will open an instance of Visual Studio that
10065         can compile multiple files in parallel, similar to make -jN. It uses
10066         the following scripts/programs to accomplish this:
10068         CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
10070         parallelcl: Actually performs the parallel compilation by forking
10071         multiple instances of the Microsoft-supplied cl.exe.
10073         MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
10074         Microsoft-supplied midl.exe. This avoids having to invoke perl for
10075         every invocation of midl.exe, which would be quite slow.
10077         Rubberstamped by Sam.
10079         * CLWrapper/CLWrapper.cpp: Added.
10080         (wmain):
10081         * CLWrapper/CLWrapper.sln: Added.
10082         * CLWrapper/CLWrapper.vcproj: Added.
10083         * MIDLWrapper/MIDLWrapper.cpp: Added.
10084         (wmain):
10085         * MIDLWrapper/MIDLWrapper.sln: Added.
10086         * MIDLWrapper/MIDLWrapper.vcproj: Added.
10087         * Scripts/parallelcl: Added.
10088         * Scripts/pdevenv: Added.
10089         * vcbin/cl.exe: Added.
10090         * vcbin/midl.exe: Added.
10092 2007-06-23  Adam Roben  <aroben@apple.com>
10094         Land num-cpus for the Windows build.
10096         Reviewed by Mark Rowe.
10098         * Scripts/num-cpus: Added.
10100 2007-06-22  Simon Hausmann  <hausmann@kde.org>
10102         Reviewed by Adam Roben.
10104         Added support for populating ChangeLog entries from given git commits
10105         using --git-commit=<commitish> and --git-reviewer=<name>.
10107         * Scripts/prepare-ChangeLog:
10109 2007-06-22  Timothy Hatcher  <timothy@apple.com>
10111         Reviewed by Anders.
10113         <rdar://problem/5228168> Leopard regression test failures: fast/applescript
10115         There were some changes in Leopard that made our test output inconsistent with Tiger.
10117         NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
10118         on Leopard, so output our own readable string for typeType descriptors.
10120         NSArray's description also changed on Leopard to output more whitespace, so
10121         make our own string representation for typeAEList descriptors. This requires
10122         a special case typeUnicodeText too, so the output is a quoted string.
10124         * DumpRenderTree/AppleScriptController.m:
10125         (convertAEDescToObject):
10127 2007-06-21  Anders Carlsson  <andersca@apple.com>
10129         Reviewed by Geoff.
10131         Don't dump didFirstLayout callbacks, they happen intermittently.
10132         
10133         * DumpRenderTree/FrameLoadDelegate.m:
10135 2007-06-21  Lars Knoll  <lars@trolltech.com>
10137         Reviewed by Simon.
10139         look for the Qt library in the installed location
10141         * Scripts/webkitdirs.pm:
10143 2007-06-20  Geoffrey Garen  <ggaren@apple.com>
10145         Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
10147         Added tests for stringByEvaluatingJavaScriptFromString.
10149         * DumpRenderTree/DumpRenderTree.m:
10150         (testStringByEvaluatingJavaScriptFromString):
10151         (dumpRenderTree):
10153 2007-06-19  Andrew Wellington  <proton@wiretapped.net>
10155         Reviewed by Mark Rowe.
10156         
10157         Support applications with spaces or special characters in their names
10159         * Scripts/run-webkit-app:
10161 2007-06-18  Anders Carlsson  <andersca@apple.com>
10163         Reviewed by John Sullivan.
10165         Assert that the frame has a dataSource.
10166         
10167         * DumpRenderTree/FrameLoadDelegate.m:
10168         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
10170 2007-06-18  Adam Treat <adam@staikos.net>
10172         Reviewed by George.
10174         Reflect the library name change.
10176         * Scripts/webkitdirs.pm:
10178 2007-06-18  Jake Helfert  <jake@jakeonthenet.com>
10180         Reviewed by Adam.
10182         - fix http://bugs.webkit.org/show_bug.cgi?id=14154
10183           Spinneret doesn't build against the new Win32 port.
10185         * Spinneret/Spinneret/Spinneret.cpp:
10186         (_tWinMain): 
10187             -Changed IWebViewExt to IWebViewPrivate
10188             -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
10189              the WIN32 function RegisterDragDrop which requires the Ole* calls.
10190         * Spinneret/Spinneret/Spinneret.h:
10191         (SpinneretWebHost::didReceiveIcon): Updated method signature.
10192         (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
10193         (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
10195 2007-06-14  Sam Weinig  <sam@webkit.org>
10197         Reviewed by Brady.
10199         Update set of files to download for cygwin to include
10200         diffutils and regenerate the zip file.  This should fix
10201         an issue on vista where svn-create-patch doesn't work.
10203         * CygwinDownloader/cygwin-downloader.py:
10204         * CygwinDownloader/cygwin-downloader.zip:
10206 2007-06-14  Mark Rowe  <mrowe@apple.com>
10208         Update script to match new nightly.webkit.org infrastructure.
10210         * BuildSlaveSupport/build-launcher-dmg:  Upload to the live web server, not the caching proxy.  Let the server know it's a Mac build.
10212 2007-06-12  Adam Roben  <aroben@apple.com>
10214         Land CygwinDownloader.
10216         Rubberstamped by Hyatt.
10218         * CygwinDownloader/cygwin-downloader.py: Added.
10219         * CygwinDownloader/cygwin-downloader.zip: Added.
10220         * CygwinDownloader/make-zip.sh: Added.
10221         * CygwinDownloader/setup.py: Added.
10223 2007-06-06  Vladimir Olexa  <vladimir.olexa@gmail.com>
10225         Reviewed by Mark Rowe.
10227         Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
10228         [Drosera] Items in the file list don't get un-highlighted when 
10229         files are selected from the file drop-down
10231         * Drosera/debugger.js: currentFile was getting modified before file in the file
10232         browser got un-highlighted. Changed the order in which the functions execute. 
10234 2007-06-06  Mark Rowe  <mrowe@apple.com>
10236         Reviewed by Maciej.
10238         http://bugs.webkit.org/show_bug.cgi?id=13988
10239         Bug 13988: Colon in file path crashes WebKit Nightly
10241         The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
10242         the bundled WebKit framework.  Both of these variables are interpreted as containing a
10243         colon-delimited list of paths.  There is no escaping mechanism defined, so if we detect
10244         a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
10245         when we execute Safari.
10247         * WebKitLauncher/main.m:
10248         (main):
10250 2007-06-05  Mark Rowe  <mrowe@apple.com>
10252         Reviewed by Anders.
10254         * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
10256 2007-05-30  Alp Toker  <alp.toker@collabora.co.uk>
10258         Reviewed by Brady.
10260         Enable logging in the Gdk port.
10261         http://bugs.webkit.org/show_bug.cgi?id=13936
10263         * GdkLauncher/main.cpp:
10264         (main):
10266 2007-05-29  Holger Freyther  <zecke@selfish.org>
10268         Reviewed by Anders.
10270         Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
10271         to provide ScrollBars for the FrameView.
10273         * GdkLauncher/main.cpp:
10274         (registerRenderingAreaEvents):
10275         (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
10276         (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
10277         (main):
10279 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
10281         Reviewed by Darin.
10283         - fix http://bugs.webkit.org/show_bug.cgi?id=13901
10284           run-pageloadtest does not obey testName on command-line
10286         * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
10287         otherwise default to "svg".  Added dummy check to make sure $testName.pltsuite
10288         exists.
10290 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
10292         Reviewed by Darin.
10294         - fix http://bugs.webkit.org/show_bug.cgi?id=13900
10295           svnStatus($) subroutine in svn-[un]apply does not work properly with directories
10297         This patch also fixes an instance of the "broken pipe" warning that happened when
10298         a directory contained modified files that were not part of an applied or unapplied
10299         patch.
10301         * Scripts/svn-apply:
10302         (svnStatus($)): If we're trying to get status on a directory (instead of a file),
10303         make sure we actually get the directory's status (if it has one), not the first
10304         file's status reported within the directory.  Fix "broken pipe" warnings by
10305         reading all of the output from the SVN filehandle before closing it.
10306         * Scripts/svn-unapply:
10307         (svnStatus($)): Ditto.
10309 2007-05-28  David Kilzer  <ddkilzer@webkit.org>
10311         Reviewed by Darin.
10313         - fix http://bugs.webkit.org/show_bug.cgi?id=10342
10314           prepare-ChangeLog only shows removed files but not added files when files are moved
10315         - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
10316           prepare-ChangeLog and svn-create-patch don't show replaced files
10318         Switched method used to find list of changed files from "diff" to "status".  This
10319         makes added and replaced files with history appear in the changed file list for svn.
10320         Added check for "+" in output from the svn status command to detect file history, and
10321         handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
10323         * Scripts/prepare-ChangeLog:
10324         (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
10325         (statusCommand(@)): Switched argument from array ref to array.  Necessary to use
10326         the output of "keys $paths" without creating a temporary array variable.
10327         (findOriginalFileFromSvn($)): Added.  Based on findSourceFileAndRevision($)
10328         subroutine in svn-create-patch.
10329         (generateFileList(\@\@\%)): Added.  Extracted from main body of script.  Runs status
10330         command using command-line arguments instead of list of changed files from the diff
10331         command.  Changed svn regex to only accept file statuses that we know how to handle.
10332         Identify original file when an added/replaced status with history is present.
10333         (statusDescription($$)): Handled added/replaced statuses with history.  Added
10334         fall-through return statement.
10336 2007-05-28  Holger Freyther  <zecke@selfish.org>
10338         Reviewed by Mark Rowe.
10340         Add scripts and data to generate a coverage data for WebKit.
10342         * CodeCoverage/README: Added.
10343         * CodeCoverage/amber.png: Added.
10344         * CodeCoverage/cov.py: Added.
10345         * CodeCoverage/emerald.png: Added.
10346         * CodeCoverage/gcov.css: Added.
10347         * CodeCoverage/glass.png: Added.
10348         * CodeCoverage/regenerate-coverage-display: Added.
10349         * CodeCoverage/ruby.png: Added.
10350         * CodeCoverage/run-generate-coverage-data: Added.
10351         * CodeCoverage/snow.png: Added.
10352         * Scripts/build-webkit: Add --coverage by Niko
10353         * Scripts/check-for-global-initializers: Skip the check on coverage builds
10354         * Scripts/generate-coverage-data: Added.
10355         * Scripts/run-javascriptcore-tests: Add --coverage by Niko
10357 2007-05-29  Mark Rowe  <mrowe@apple.com>
10359         Build fix after r21745.
10361         * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
10363 2007-05-25  Anders Carlsson  <andersca@apple.com>
10365         Fix build.
10367         * DumpRenderTree/DumpRenderTree.m:
10368         * DumpRenderTree/FrameLoadDelegate.m:
10370 2007-05-25  Simon Hausmann  <hausmann@kde.org>
10372         Reviewed by Zack.
10374         For the keyDown binding use QStringList instead of QList<QString>. The former is a default
10375         registered metatype. Also print out critical messages in dumprendertree's qt message handler.
10377         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
10378         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
10379         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
10381 2007-05-20  David Kilzer  <ddkilzer@webkit.org>
10383         Reviewed by Adam Roben.
10385         - fix http://bugs.webkit.org/show_bug.cgi?id=13565
10386           Change svn-create-patch to put LayoutTests in the end
10388         In addition to reordering test files under the LayoutTests directory so that they
10389         appear after source code files, this patch fixes an issue with prepare-ChangeLog
10390         if the first argument passed to it is a file name instead of a directory name.
10392         * Scripts/prepare-ChangeLog:
10393         (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
10394         (isSVN()): Ditto.
10395         * Scripts/svn-create-patch:
10396         (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
10397         source code files.
10399 2007-05-18  Mark Rowe  <mrowe@apple.com>
10401         Reviewed by Oliver.
10403         Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
10405         * Scripts/svn-create-patch:
10406         * Scripts/webkitdirs.pm:
10408 2007-05-18  Holger Freyther  <zecke@selfish.org>
10410         Reviewed by Maciej.
10412         * GdkLauncher/main.cpp: Call setGtkWidget
10413         (main):
10415 2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>
10417         Reviewed by Mark Rowe.
10419         * GdkLauncher/main.cpp:
10420         (main): Call Frame::init to catch up with Maciej's changes.
10421         * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
10422         passed to the helper scripts.
10424 2007-05-16  Brady Eidson  <beidson@apple.com>
10426         Build fix for some dev configurations
10428         * DumpRenderTree/DumpRenderTree.m:
10430 2007-05-16  Maciej Stachowiak  <mjs@apple.com>
10432         Reviewed by Justin.
10433         
10434         - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
10435         
10436         The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
10437         that happen before the load commits.
10438         
10439         Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
10440         optional logging for every FrameLoadDelegate callback, including SPI callbacks.
10442         * DumpRenderTree/DumpRenderTree.h:
10443         * DumpRenderTree/DumpRenderTree.m:
10444         (createWebView):
10445         (dumpRenderTree):
10446         (dump):
10447         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10448         (-[LayoutTestController clearBackForwardList]):
10449         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
10450         (-[LayoutTestController dumpFrameLoadCallbacks]):
10451         (-[LayoutTestController setWindowIsKey:]):
10452         (-[LayoutTestController setMainFrameIsFirstResponder:]):
10453         (-[LayoutTestController _doLoad:target:]):
10454         (-[LayoutTestController _doBackOrForwardNavigation:]):
10455         (-[LayoutTestController queueReload]):
10456         (-[LayoutTestController queueScript:]):
10457         (-[LayoutTestController queueLoad:target:]):
10458         (-[LayoutTestController setAcceptsEditing:]):
10459         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
10460         (shouldLogFrameLoadDelegates):
10461         (runTest):
10462         (displayWebView):
10463         (+[DumpRenderTreeEvent mouseLocation]):
10464         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10465         * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
10466         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
10467         * DumpRenderTree/EventSendingController.m:
10468         (-[EventSendingController mouseDown]):
10469         (-[EventSendingController mouseUp]):
10470         (-[EventSendingController mouseMoveToX:Y:]):
10471         (-[EventSendingController contextClick]):
10472         * DumpRenderTree/FrameLoadDelegate.h: Added.
10473         * DumpRenderTree/FrameLoadDelegate.m: Added.
10474         (-[WebFrame _drt_descriptionSuitableForTestResult]):
10475         (-[FrameLoadDelegate processWork:]):
10476         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
10477         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
10478         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
10479         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
10480         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
10481         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
10482         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
10483         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10484         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
10485         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
10486         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
10487         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
10488         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
10489         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
10490         (-[FrameLoadDelegate webView:willCloseFrame:]):
10491         (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
10492         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
10493         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
10494         * DumpRenderTree/ResourceLoadDelegate.m:
10495         (-[NSURL _drt_descriptionSuitableForTestResult]):
10496         * DumpRenderTree/UIDelegate.m:
10497         (-[UIDelegate webViewFocus:]):
10499 2007-05-16  Kevin McCullough  <kmccullough@apple.com>
10501         Reviewed by Darin and Geoff.
10503         - rdar://problem/4981886
10504         - Now windows opened by the DOM can be closed by JS.
10506         * DumpRenderTree/DumpRenderTree.m:
10507         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10508         (-[LayoutTestController windowCount]):
10510 2007-05-15  Adam Roben  <aroben@apple.com>
10512         Reviewed by David Kilzer.
10514         http://bugs.webkit.org/show_bug.cgi?id=13732
10515         prepare-ChangeLog should work with git
10517         * Scripts/prepare-ChangeLog: Added support for Git.
10519 2007-05-15  Lars Knoll <lars@trolltech.com>
10521         Reviewed by Zack
10523         Add the EventSender object to DRT. Currently it implements
10524         mouseDown, mouseUp and mouseMoveTo.
10526         Make run-webkit-tests --strict work somewhat better for form elements.
10528         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
10529         (WebCore::DumpRenderTree::DumpRenderTree):
10530         (WebCore::DumpRenderTree::initJSObjects):
10531         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
10532         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
10533         (HackWebFrame::mousePressEvent):
10534         (HackWebFrame::mouseReleaseEvent):
10535         (EventSender::EventSender):
10536         (EventSender::mouseDown):
10537         (EventSender::mouseUp):
10538         (EventSender::mouseMoveTo):
10539         (EventSender::leapForward):
10540         (EventSender::keyDown):
10541         (EventSender::frameUnderMouse):
10542         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
10543         * Scripts/run-webkit-tests:
10545 2007-05-12  Oliver Hunt  <oliver@apple.com>
10547         Reviewed by Hyatt.
10548         
10549         Add new api to DRT to allow us to test a file being dragged 
10550         onto <input type="file">
10552         * DumpRenderTree/DumpRenderTree.h:
10553         * DumpRenderTree/DumpRenderTree.m:
10554         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10555         (-[LayoutTestController addFileToPasteboardOnDrag]):
10556         (runTest):
10557         * DumpRenderTree/UIDelegate.m:
10558         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
10560 2007-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
10562         Reviewed by Maciej.
10564         Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
10565         http://bugs.webkit.org/show_bug.cgi?id=13656
10567         * GdkLauncher/main.cpp: Handle resizing the drawing area
10568         (frameResizeCallback):
10569         (main):
10571 2007-05-11  Geoffrey Garen  <ggaren@apple.com>
10573         Reviewed by Darin Adler.
10575         Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:] 
10576         is gone.
10578         * DumpRenderTree/DumpRenderTree.m:
10579         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
10580         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10581         (+[LayoutTestController webScriptNameForSelector:]):
10582         (-[LayoutTestController testWrapperRoundTripping:]):
10584 2007-05-08  Maciej Stachowiak  <mjs@apple.com>
10586         Reviewed by Oliver.
10587         
10588         - don't clear events whenever an EventSendingController goes away, only do it at predictable times, 
10589         since destroying a subframe can make one go away
10590         
10591         (Discovered while fixing:
10592         
10593         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
10594         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
10596         * DumpRenderTree/DumpRenderTree.m:
10597         (runTest): explicitly clear saved events after every page load
10598         * DumpRenderTree/EventSendingController.h:
10599         * DumpRenderTree/EventSendingController.m:
10600         (-[EventSendingController dealloc]): don't clear saved events here...
10601         (+[EventSendingController clearSavedEvents]): do it here
10602         * Scripts/check-for-global-initializers:
10604 2007-05-10  Mark Rowe  <mrowe@apple.com>
10606         Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
10608         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10610 2007-05-09  Geoffrey Garen  <ggaren@apple.com>
10612         Reviewed by Maciej Stachowiak.
10613         
10614         Added support for testing ObjC/JS type bridging.
10615         
10616         Added ASSERT that -JSObject returns nil when the underlying JSObject
10617         is no longer GC protected.
10619         * DumpRenderTree/DumpRenderTree.m:
10620         (returnThisCallback):
10621         (returnThisClass):
10622         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
10623         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10624         (+[LayoutTestController webScriptNameForSelector:]):
10625         (-[LayoutTestController accessStoredWebScriptObject]):
10626         (-[LayoutTestController testWrapperRoundTripping]):
10627         (-[LayoutTestController objCClassNameOf:]):
10628         (-[LayoutTestController objCObjectOfClass:]):
10629         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10631 2007-05-10  Lars Knoll <lars@trolltech.com>
10633         Reviewed by Simon
10635         Move setting of the DPI value a few lines up. Should fix
10636         the last two remaining failures in the layout tests.
10638         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
10639         (main):
10641 2007-05-09  Holger Freyther <zecke@selfish.org>
10643         Reviewed by Mark Rowe.
10645         * GdkLauncher/main.cpp: Always include config.h.
10647 2007-05-08  Geoffrey Garen  <ggaren@apple.com>
10649         Reviewed by Darin Adler.
10650         
10651         Added support for testing ObjC object identity.
10652         
10653         Added ASSERT to verify that you can round-trip the object passed to you
10654         in -didClearWindowObject:forFrame:.
10656         * DumpRenderTree/DumpRenderTree.m:
10657         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
10658         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10659         (+[LayoutTestController webScriptNameForSelector:]):
10660         (-[LayoutTestController accessStoredWebScriptObject]):
10661         (-[LayoutTestController objCIdentityIsEqual::]):
10663 2007-05-07  Geoffrey Garen  <ggaren@apple.com>
10665         Reviewed by Maciej Stachowiak.
10666         
10667         Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext], 
10668         and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject 
10669         forFrame:(WebFrame *)frame, in the form of ASSERTs.
10670         
10671         * DumpRenderTree/DumpRenderTree.m:
10672         (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
10673         to complain about.
10675         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
10676         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
10677         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10679 2007-05-08  Lars Knoll <lars@trolltech.com>
10681         Reviewed by Zack.
10683         Dump JavaScript console messages as well. Also requires a slight
10684         change in run-webkit-tests, so we still correctly differentiate
10685         between text only and rendertree tests.
10687         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
10688         (WebCore::WebPage::WebPage):
10689         (WebCore::WebPage::javaScriptConsoleMessage):
10690         (WebCore::DumpRenderTree::DumpRenderTree):
10691         (WebCore::DumpRenderTree::dump):
10692         * Scripts/run-webkit-tests:
10694 2007-05-08  Lars Knoll <lars@trolltech.com>
10696         Reviewed by Zack
10698         Specify what the serif, sans-serif and monospace aliases
10699         should map to and explicitly select the Gui style of
10700         DRT to be plastique.
10702         Fixes most of the test failures still seen on the build bot.
10704         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
10705         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
10706         (main):
10708 2007-05-07  Lars Knoll <lars@trolltech.com>
10710         Reviewed by Zack
10712         Fix the default font to 9pt Sans Serif.
10714         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
10715         (main):
10717 2007-05-04  Lars Knoll <lars@trolltech.com>
10719         Reviewed by Zack
10721         Revert on line of the last commit. We still want to keep the RPATH
10722         support in the pro file.
10724         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
10726 2007-05-04  Lars Knoll <lars@trolltech.com>
10728         Reviewed by Zack
10730         Remove the old bitmap fonts I tried using to get reliable results from
10731         DumpRenderTree on X11. Instead we now use the URW Type1 fonts from 
10732         ghostscript. I've added a mirror to simply check them out at 
10733         svn://labs.trolltech.com/svn/webkit/testfonts.
10735         Fixed DumpRenderTree to make sure these fonts are the only ones we use
10736         on X11 and added a fonts.conf file to get a well defined fontconfig
10737         configuration.
10739         Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
10740         I use to find the fonts to DumpRenderTree.
10742         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
10743         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
10744         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
10745         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
10746         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
10747         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
10748         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
10749         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
10750         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
10751         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
10752         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
10753         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
10754         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
10755         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
10756         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
10757         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
10758         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
10759         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
10760         (main):
10761         * Scripts/run-webkit-tests:
10763 2007-05-03  Holger Freyther <freyther@kde.org>
10765         Reviewed by Zack, landed by Simon.
10766         This is bugzilla bug 13499.
10768         * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
10769         * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
10770         * Scripts/build-webkit: Add --gdk for the Gdk port
10771         * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
10773 2007-05-03  Geoffrey Garen  <ggaren@apple.com>
10775         Build fix: Add AllInOneFile.o to the ignore list, since it includes files
10776         in the ignore list.
10777         
10778         * Scripts/check-for-global-initializers:
10780 2007-05-02  Holger Freyther <freyther@kde.org>
10782         Reviewed by Mark Rowe.
10784         * Scripts/build-webkit: Remove the CMake call.
10785         * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
10786         buildsystem for the Qt port.
10788 2007-04-27  Kevin McCullough  <kmccullough@apple.com>
10790         - Removed debugging statements and took out the removal of the deletion
10791           of the symlink.  This is because multiple instances of run-webkit-tests
10792           can be running at the same time.
10793         * Scripts/run-webkit-tests:
10795 2007-04-27  Adam Roben <aroben@apple.com>
10797         Reviewed by Maciej.
10799         Cleaned up prepare-ChangeLog
10800         
10801         * Scripts/prepare-ChangeLog: No code changes, but style now matches
10802         the prevalent style of our perl scripts.
10804 2007-04-27  Nazar Kulyk  <schamane@myeburg.net>
10806         Reviewed by Mark Rowe.
10808         Basic auto-correction of user-entered URLs.
10810         * GdkLauncher/main.cpp:
10811         (autocorrectURL):
10812         (goToURLBarText):
10813         (main):
10815 2007-04-28  Mark Rowe  <mrowe@apple.com>
10817         Rubber-stamped by Anders.
10819         Rename some methods and variables to match the style guidelines.
10821         * GdkLauncher/main.cpp:
10822         (stringIsEmpty):
10823         (stringIsEqual):
10824         (goToURLBarText):
10825         (goButtonClickedCallback):
10826         (urlBarEnterCallback):
10827         (frameResizeCallback):
10828         (frameDestroyCallback):
10829         (menuMainBackCallback):
10830         (menuMainForwardCallback):
10831         (menuMainQuitCallback):
10832         (main):
10834 2007-04-27  Holger Freyther <freyther@kde.org>
10836         Reviewed by Maciej.
10838         Remove unmaintained CMake build system.
10840         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
10841         * Scripts/build-webkit: Remove references to CMake.
10842         * Scripts/webkitdirs.pm: Remove references to CMake.
10844 2007-04-26  Alp Toker  <alp@atoker.com>
10846         Reviewed by Mark Rowe.
10848         * GdkLauncher/main.cpp:
10849         (main): Avoid use of deprecated API.
10851 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
10853         - Changed debugging statements for more information.
10855         * Scripts/run-webkit-tests:
10857 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
10859         - Adding debugging statements to see why these tests fail.  These will be removed.
10861         * Scripts/run-webkit-tests:
10863 2007-04-25  Anders Carlsson  <andersca@apple.com>
10865         Reviewed by Mitz.
10867         Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
10868         the dashboard compatibility mode.
10869         
10870         * DumpRenderTree/DumpRenderTree.m:
10871         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10872         (+[LayoutTestController webScriptNameForSelector:]):
10873         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
10874         (runTest):
10875         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10877 2007-04-24  Timothy Hatcher  <timothy@apple.com>
10879         Setting the valid architectures to 32-bit only, so these projects
10880         will ignore requests to build them 64-bit. Once they can be built 64-bit,
10881         the valid architectures can be updated.
10883         * Drosera/Drosera.xcodeproj/project.pbxproj:
10884         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10886 2007-04-23  Adam Roben  <aroben@apple.com>
10888         Reviewed by Mark Rowe and David Kilzer.
10890         * Scripts/build-webkit: Print the path to the run-safari script when
10891         finished building so that users can copy-and-paste the command to
10892         execute it.
10894 2007-04-23  Darin Adler  <darin@apple.com>
10896         Reviewed by Hyatt.
10898         - rename box-sizing to -webkit-box-sizing
10900         * Drosera/console.css: Here.
10901         * Drosera/debugger.css: And here.
10902         * Drosera/viewer.css: And here.
10904 2007-04-21  Mitz Pettel  <mitz@webkit.org>
10906         Reviewed by Darin.
10908         - http://bugs.webkit.org/show_bug.cgi?id=13350
10909           Build Ahem into DumpRenderTree
10911         * DumpRenderTree/DumpRenderTree.m:
10912         (activateAhemFont): Added. Activates the copy of Ahem included in the
10913         DumpRenderTree binary.
10914         (dumpRenderTree): Replaced the check that Ahem is available with a call
10915         to activateAhemFont().
10916         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10917           Added linker options to include Ahem in the data section of the
10918           DumpRenderTree binary.
10920 2007-04-20  Adam Roben  <aroben@apple.com>
10922         Reviewed by Darin.
10924         http://bugs.webkit.org/show_bug.cgi?id=13421
10925         Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
10927         * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
10929 2007-04-18  Brady Eidson  <beidson@apple.com>
10931         Reviewed by Tim
10933         <rdar://problem/5008925>
10934         Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
10936         * DumpRenderTree/ResourceLoadDelegate.m:
10937         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 
10938           Add the willCacheResponse delegate call
10940 2007-04-18  Adam Roben  <aroben@apple.com>
10942         Reviewed by David Kilzer.
10944         * Scripts/webkitdirs.pm:
10945         (sub setConfiguration): Added an optional argument to set the
10946         configuration instead of parsing it from ARGV.
10948 2007-04-17  Adam Roben  <aroben@apple.com>
10950         * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
10951         files as well.
10953 2007-04-17  Adam Roben  <aroben@apple.com>
10955         Added a simple shell script to find all the headers from a specified
10956         framework or frameworks that are included by files beneath the working
10957         directory.
10959         * Scripts/find-included-framework-headers: Added.
10961 2007-04-16  Timothy Hatcher  <timothy@apple.com>
10963         * Drosera/debugger.css: hide the borders for iframes
10965 2007-04-13  Adam Roben  <aroben@apple.com>
10967         Rubberstamped by Anders.
10969         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
10970         stdio.h so that snprintf is defined.
10972 2007-04-13  Brady Eidson  <beidson@apple.com>
10974         Reviewed by Anders
10976         Add the ability to dump the back/forward history of all windows open at the end of a test
10978         * DumpRenderTree/DumpRenderTree.m:
10979         (dumpBackForwardListForWebView): Dump B/F list for the given WebView
10980         (dump): Call dumpBackForwardListForWebView for each WebView open after the test
10982 2007-04-13  Anders Carlsson  <andersca@apple.com>
10984         Reviewed by Brady.
10986         By default, close any windows that have been opened during a test. This can be overridden by
10987         calling setCloseRemainingWindowsWhenComplete(false).
10988         
10989         Change the windows set to an array so we can gurantee the enumeration order.
10990         
10991         * DumpRenderTree/DumpRenderTree.m:
10992         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10993         (+[LayoutTestController webScriptNameForSelector:]):
10994         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
10995         (runTest):
10996         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
10997         (-[DumpRenderTreeWindow dealloc]):
10999 2007-04-13  Geoffrey Garen  <ggaren@apple.com>
11001         Build fix.
11003         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11004         (handleCallback): Explicitly cast the void* returned by malloc.
11006 2007-04-12  Deneb Meketa  <dmeketa@adobe.com>
11008         Reviewed by Darin Adler.
11010         http://bugs.webkit.org/show_bug.cgi?id=13029
11011         rdar://problem/4994849
11012         Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
11013         Changes in WebKitTools are only for the NPAPI test plugin.
11015         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
11016         (pluginInvoke): support null window argument for NPStream creation.
11017         (pluginAllocate): initialization.
11018         (pluginDeallocate): cleanup.
11019         (handleCallback): add second JS callback arg: header dump.
11020         (notifyStream): added; hook from NPP_NewStream to record headers.
11021         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
11022         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
11023         (NPP_NewStream): call new header hook.
11025 2007-04-09  Geoffrey Garen  <ggaren@apple.com>
11027         Reviewed by Maciej Stachowiak.
11028         
11029         Fixed fast/forms/textarea-paste-newline.html.
11030         
11031         This failure was pretty funny. run-webkit-tests kills and respawns
11032         DumpRenderTree once every 1000 runs. Adding a few tests caused 
11033         textarea-paste-newline.html to run right at the beginning of DumpRenderTree's 
11034         lifetime, before any render tree dumps had occurred. However, WebCore 
11035         used a render tree dump as the hook that set a global flag to allow 
11036         pasting through the DOM API, so running before any render tree dumps had 
11037         occurred caused this test to fail.
11039         * DumpRenderTree/DumpRenderTree.m:
11040         (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
11041         API, instead of hoping it will read the tea leaves.
11043 2007-04-07  Mark Rowe  <mrowe@apple.com>
11045         Not reviewed.  Update to match some configuration changes that have been active on build.webkit.org.
11047         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
11049 2007-04-05  Anders Carlsson  <andersca@apple.com>
11051         Reviewed by Adam.
11053         Add support for opening new windows in DumpRenderTree.
11054         
11055         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11056         (+[LayoutTestController webScriptNameForSelector:]):
11057         (-[LayoutTestController setCallCloseOnWebViews:]):
11058         (-[LayoutTestController setCanOpenWindows]):
11059         Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
11060         can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on 
11061         web views that are about to be closed.
11062         
11063         (runTest):
11064         Make sure that only the main window is around when a test has finished running.
11065         
11066         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
11067         (-[DumpRenderTreeWindow dealloc]):
11068         Manage the set of windows.
11069         
11070         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11071         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11072         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11073         (NPP_Destroy):
11074         Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
11075         
11076         * DumpRenderTree/UIDelegate.m:
11077         (-[UIDelegate webView:createWebViewWithRequest:]):
11078         Create new windows.
11079         
11080         (-[UIDelegate webViewClose:]):
11081         Close windows.
11082         
11083 2007-04-05  Anders Carlsson  <andersca@apple.com>
11085         Reviewed by Maciej.
11087         Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
11088         windows in DRT.
11090         * DumpRenderTree/DumpRenderTree.m:
11091         (createWebView):
11092         (dumpRenderTree):
11094 2007-04-03  Anders Carlsson  <andersca@apple.com>
11096         Reviewed by Darin.
11098         Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
11099         
11100         * DumpRenderTree/DumpRenderTree.h:
11101         * DumpRenderTree/DumpRenderTree.m:
11102         (dumpRenderTree):
11103         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11104         (+[LayoutTestController webScriptNameForSelector:]):
11105         (-[LayoutTestController addDisallowedURL:]):
11106         (runTest):
11107         * DumpRenderTree/ResourceLoadDelegate.m:
11108         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
11110 2007-04-03  Mark Rowe  <mrowe@apple.com>
11112         Reviewed by Antti.
11114         * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
11116 2007-04-02  Anders Carlsson  <andersca@apple.com>
11118         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11119         Don't use #import in a header included by C files.
11121 2007-03-31  Mark Rowe  <mrowe@apple.com>
11123         Reviewed by Mitz.
11125         Fix http://bugs.webkit.org/show_bug.cgi?id=13239
11126         Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
11128         Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
11129         rather than -[WebScriptObject count].
11131         * Drosera/DebuggerDocument.m:
11132         (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
11134 2007-03-30  Anders Carlsson  <andersca@apple.com>
11136         Reviewed by Geoff.
11138         Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
11139         
11140         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11141         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11142         (NPP_New):
11143         Look for the onstreamload attribute.
11144         
11145         (NPP_Destroy):
11146         Free the onstreamload attribute.
11147         
11148         (NPP_NewStream):
11149         Call the onstreamload handler.
11151 2007-03-30  Geoffrey Garen  <ggaren@apple.com>
11153         Removing an assertion I just added because it's crashing the Leopard 
11154         buildbot. The related layout test will still report a failure, so we 
11155         don't really need this assertion.
11157         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11158         (pluginInvoke):
11160 2007-03-30  Anders Carlsson  <andersca@apple.com>
11162         Reviewed by Geoff.
11164         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
11165         (testAllocate):
11166         (testEnumerate):
11167         Add casts.
11168         
11169         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
11170         Don't use #import, use #include.
11172 2007-03-30  Anders Carlsson  <andersca@apple.com>
11174         Reviewed by Alexey.
11176         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11177         (pluginInvoke):
11178         Free the identifier string.
11180 2007-03-30  Anders Carlsson  <andersca@apple.com>
11182         Reviewed by Geoff.
11184         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11185         Add TestObject.c and TestObject.h
11186         
11187         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11188         (pluginGetProperty):
11189         Implement the testObject property.
11190         
11191         (pluginInvoke):
11192         Implement testEnumerate which takes an object and an array and enumerates
11193         the properties of the object and adds them to the array.
11194         
11195         (pluginAllocate):
11196         Allocate the test object.
11197         
11198         (pluginDeallocate):
11199         Free the test object.
11200         
11201         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
11202         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
11203         Add a test object with two enumerable properties.
11205 2007-03-29  Geoffrey Garen  <ggaren@apple.com>
11207         Reviewed by Beth Dakin.
11208         
11209         Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in 
11210         -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] 
11211         navigating away from page with DivX movie plug-in (13203)
11212         
11213         Added hasStream property and destroyStream function, used by layout test.
11215         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11216         (pluginGetProperty):
11217         (pluginInvoke):
11218         (pluginAllocate):
11219         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11220         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11221         (NPP_NewStream):
11223 2007-03-27  Anders Carlsson  <acarlsson@apple.com>
11225         Reviewed by Geoff.
11227         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11228         (pluginInvoke):
11229         Add new function which takes a function and calls it using NPN_InvokeDefault.
11231 2007-03-27  Adele Peterson  <adele@apple.com>
11233         Adding comment.
11235         * DumpRenderTree/DumpRenderTree.m:
11236         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
11238 2007-03-27  Adele Peterson  <adele@apple.com>
11240         Fix svg tests by calling displayIfNeeded.
11242         * DumpRenderTree/DumpRenderTree.m:
11243         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
11245 2007-03-26  Mark Rowe  <mrowe@apple.com>
11247         Reviewed by Sam Weinig.
11249         Upload crash logs from DumpRenderTree as part of the test results to ease debugging
11250         of hard-to-reproduce crashes.
11252         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
11254 2007-03-23  Adam Treat  <adam@staikos.net>
11256         Reviewed and committed by George.
11258         Patch by Adam Treat.  Removes hardcoded path to .pro file.
11260 2007-03-22  Adam Roben  <aroben@apple.com>
11262         Reviewed by Geoff.
11264         Removed eventSender.mouseClick because it was only useful for AppKit
11265         controls, which we don't use anymore.
11267         * DumpRenderTree/EventSendingController.m:
11268         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
11269         mouseClick.
11271 2007-03-22  Adam Roben  <aroben@apple.com>
11273         Reviewed by Ada.
11275         Make eventSender.mouseClick actually send a mouse up event.
11277         * DumpRenderTree/EventSendingController.m:
11278         (-[EventSendingController mouseClick]):
11280 2007-03-19  David Hyatt  <hyatt@apple.com>
11282         Update the minimum font size pref to match the actual default setting in Safari.  It should have been 1
11283         all this time and not 9.
11285         Reviewed by aroben
11287         * DumpRenderTree/DumpRenderTree.m:
11288         (dumpRenderTree):
11290 2007-03-18  Dan Waylonis  <waylonis@mac.com>
11292         Reviewed by Tim Hatcher.
11294         DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
11295         Bug 13005: WebScriptObject +throwException needs NULL check.
11297         Add tests to ensure that a plugin can safely throw an exception in dealloc.
11299         * DumpRenderTree/ObjCPlugin.h:
11300         * DumpRenderTree/ObjCPlugin.m:
11301         (+[ObjCPlugin webScriptNameForKey:]):
11302         (+[ObjCPlugin isKeyExcludedFromWebScript:]):
11303         (-[ObjCPlugin dealloc]):
11305 2007-03-13  Mark Rowe  <mrowe@apple.com>
11307         Reviewed by Maciej.
11309         Have the nightly launcher prefer Safari found in /Applications or ~/Applications
11310         if present, otherwise fall back on using LaunchServices to locate it elsewhere
11311         on the system.  The motivation for this is to make the behaviour of the nightly
11312         builds more predictable on machines with multiple copies of Safari present.
11314         * WebKitLauncher/main.m:
11315         (locateSafariBundle):
11316         (main):
11318 2007-03-12  Darin Adler  <darin@apple.com>
11320         Reviewed by Tim Hatcher.
11322         - add a DumpRenderTree feature where you can get the Objective-C
11323           class name of a JavaScript object
11325         * DumpRenderTree/DumpRenderTree.m:
11326         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
11327         objCClassNameOf: selector.
11328         (+[LayoutTestController webScriptNameForSelector:]): Add the
11329         objCClassNameOf: selector, with the name "objCClassName".
11330         (-[LayoutTestController objCClassNameOf:]): Added.
11332 2007-03-11  Geoffrey Garen  <ggaren@apple.com>
11334         Reviewed by Oliver Hunt.
11335         
11336         Beefed up --threaded mode in light of <rdar://problem/4681051> Installer 
11337         crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*) 
11338         trying to install iLife 06 using Rosetta on an Intel Machine
11339         
11340         --threaded mode now runs a bunch of different JavaScript threads, randomly
11341         killing and respawning them. This was sufficient for reproducing the
11342         bug on my MacBook Pro.
11344         * DumpRenderTree/DumpRenderTree.m:
11345         (javaScriptThreads):
11346         (runJavaScriptThread):
11347         (startJavaScriptThreads):
11348         (stopJavaScriptThreads):
11349         (dumpRenderTree):
11351 2007-03-11  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
11353         Reviewed by Brady Eidson.
11355         Add forward/backward/quit menus for easier testing.
11357         * GdkLauncher/main.cpp:
11358         (menuMainBackCb):
11359         (menuMainForwardCb):
11360         (menuMainQuitCb):
11361         (main):
11363 2007-03-09  Andrew Wellington  <proton@wiretapped.net>
11365         Reviewed by Darin.
11367         - fix http://bugs.webkit.org/show_bug.cgi?id=13007
11368           svn-create-patch doesn't handle UTF files with BOMs as text
11370         Force diff to treat files that svn-create-patch thinks are text as text.
11372         * Scripts/svn-create-patch: Added -a switch to diff command.
11374 2007-03-09  Mark Rowe  <mrowe@apple.com>
11376         Unreviewed.  Use the new SVN URL on the buildbot.
11378         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
11380 2007-03-08  Mark Rowe  <mrowe@apple.com>
11382         Reviewed by Antti.
11384         Fix compiler warnings when building Drosera as 64-bit.
11386         * Drosera/DebuggerDocument.m:
11387         (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
11388         (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
11389         (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
11391 2007-03-07  Mark Rowe  <mrowe@apple.com>
11393         Reviewed by Maciej.
11395         Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
11397         * Scripts/check-for-global-initializers:
11399 2007-03-07  Anders Carlsson  <acarlsson@apple.com>
11401         Reviewed by Adam.
11403         Add some assertions.
11405         * DumpRenderTree/DumpRenderTree.m:
11406         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
11407         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
11408         (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
11409         (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
11411 2007-03-07  David Kilzer  <ddkilzer@webkit.org>
11413         Reviewed by Darin.
11415         - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
11416           WebArchiver - attempt to insert nil exception when archive empty iframe
11418         The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
11419         a webarchive while the dumpSourceAsWebArchive() test method uses the original
11420         dataSource (page source) to create a webarchive.  Most tests currently use
11421         dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
11422         webarchive.
11424         * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
11425         Added dumpSourceAsWebArchive.
11426         (dump):
11427         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11428         (-[LayoutTestController dumpDOMAsWebArchive]):
11429         (-[LayoutTestController dumpSourceAsWebArchive]):
11430         (runTest):
11432 2007-03-05  Kevin McCullough  <kmccullough@apple.com>
11434         Reviewed by Mark and Dave H.
11436         - rdar://problem/4922454
11437         - This fixes a security issue by making remote referrers not able to access local
11438         resources, unless they register their schemes to be treated as local. The result is
11439         that those schemes can access local resources and cannot be accessed by remote
11440         referrers.
11441         Because this behavior is new a link-on-or-after check is made to determine if the
11442         app should use the older, less safe, behavior.
11444         * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
11445         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11446         (+[LayoutTestController webScriptNameForSelector:]):
11447         (-[LayoutTestController setUserStyleSheetLocation:]):
11448         (-[LayoutTestController setUserStyleSheetEnabled:]):
11450 2007-03-05  Anders Carlsson  <acarlsson@apple.com>
11452         Reviewed by Adam, Darin.
11454         <rdar://problem/5025212>
11455         In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
11456         
11457         Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
11458         to be run when the URL has finished (or failed) loading.
11459         
11460         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11461         (pluginInvoke):
11462         (handleCallback):
11463         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11464         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11465         (NPP_URLNotify):
11467 2007-03-04  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
11469         Reviewed by Nikolas Zimmermann.
11471         Load a url given on a command line in a way that also
11472         works for local (file://) urls.
11474         * GdkLauncher/main.cpp:
11475         (main):
11477 2007-03-02  Geoffrey Garen  <ggaren@apple.com>
11479         Tweaked parse-malloc-history to work with new malloc_history output format.
11481         * Scripts/parse-malloc-history:
11483 2007-02-28  Vladimir Olexa  <vladimir.olexa@gmail.com>
11485         Reviewed by Tim H.
11487         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
11488         Bug#12887: [Drosera] Add ability to close loaded files
11490         * Drosera/DebuggerDocument.h:
11491         * Drosera/DebuggerDocument.m:
11492         (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
11493         * Drosera/Drosera.xcodeproj/project.pbxproj:
11494         * Drosera/English.lproj/MainMenu.nib/classes.nib: 
11495         * Drosera/English.lproj/MainMenu.nib/info.nib:
11496         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
11497         * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
11498         * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
11500 2007-02-28  Nikolas Zimmermann  <zimmermann@kde.org>
11502         Reviewed by Maciej.
11504         Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
11506         * Scripts/build-webkit:
11508 2007-02-27  Geoffrey Garen  <ggaren@apple.com>
11510         Small tweak to run-webkit-tests.
11512         * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
11513         1000 MallocStackLogging tests at a time.
11515 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
11517         Reviewed by Lars.
11518         
11519         - set ENABLE_XSLT even when compiling without SVG support, since that is no
11520         longer hardcoded into config.h.
11522         * Scripts/build-webkit:
11524 2007-02-26  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
11526         Reviewed by Adam Roben.
11528         Rename *_SUPPORT defines to ENABLE_*.
11530         * GdkLauncher/gdklauncher.bkl:
11532 2007-02-24  Geoffrey Garen  <ggaren@apple.com>
11534         Reviewed by Darin Adler.
11535         
11536         * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
11537         fixed.
11539 2007-02-24  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
11541         Reviewed by Adam Roben.
11543         Improve gdklauncher: add text field for entering url.
11545         * GdkLauncher/gdklauncher.bkl:
11546         * GdkLauncher/main.cpp:
11547         (strEmpty):
11548         (strEq):
11549         (handleGdkEvent):
11550         (goToUrlBarText):
11551         (goButtonClickedCb):
11552         (urlBarEnterCb):
11553         (registerRenderingAreaEvents):
11554         (frameResizeCb):
11555         (frameDestroyCb):
11556         (main):
11558 2007-02-22  Vladimir Olexa  <vladimir.olexa@gmail.com>
11560         Reviewed by Tim H.
11562         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
11563         Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
11564         * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
11566 2007-02-22  Adele Peterson  <adele@apple.com>
11568         Reviewed by Darin.
11570         Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
11571         can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
11573         * DumpRenderTree/DumpRenderTree.m:
11574         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11575         (+[LayoutTestController webScriptNameForSelector:]):
11576         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
11578 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
11580         Used svn merge -r19786:19785 to roll out previous hack to work around
11581         SVG painting issue in DRT.
11582         
11583         Implemented new work-around, which makes --paint paint *after* dumping
11584         the render tree instead of before, so that painting doesn't influence
11585         the SVG render tree.
11587         This should fix the ~400 new pixel failures introduced in r19786.
11589         * DumpRenderTree/DumpRenderTree.m:
11590         (dump):
11591         * Scripts/run-webkit-tests:
11593 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
11595         Resetting --leaks mode default to run 1000 tests at a time because setting it
11596         to 750 didn't stop the stack logging related crashes, and running more tests
11597         at a time is faster. The crashes seem to be a real bug in stack logging, 
11598         not an out of memory condition.
11600         * Scripts/run-webkit-tests:
11602 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
11604         Reviewed by Adam Roben.
11605         
11606         Added hack to force painting when running an SVG test. This is a work-around
11607         for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at 
11608         paint time instead of style resolution time.
11610         We need this so that --leaks mode, which always paints, doesn't appear to 
11611         fail SVG tests. We also need this if we ever want to test style application 
11612         in SVG, since many SVGs don't apply style to their renderers until they paint.
11614         * Scripts/run-webkit-tests:
11616 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
11617         
11618         Reduced --leaks mode to running only 750 tests at a time, in the hopes
11619         of fixing intermittent crasher that may be caused by out of memory
11620         conditions.
11622         * Scripts/run-webkit-tests:
11624 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
11626         Reviewed by Darin Adler.
11628         Made DRT paint when running run-webkit-tests in --leaks mode, to check
11629         for painting leaks.
11631         * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
11632         that's the default for statics.
11633         (dumpRenderTree): Added --paint command line option, which specifies that
11634         DRT should paint at the end of every test.
11635         (displayWebView): New function, called by dump() and -[LayoutTestController display].
11636         * Scripts/run-webkit-tests: Use the --paint command line option when checking
11637         for leaks.
11639         * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list. 
11640         Removed stale comment about THRD leaks -- we now ignore them reliably.
11642 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
11644         Tools tweak. No review necessary.
11645         
11646         * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
11647         arguments. Changed command line argument variables from special implicit 
11648         no-op values to specific empty values that we test explicitly.
11650 2007-02-21  Vladimir Olexa  <vladimir.olexa@gmail.com>
11652         Reviewed by Tim H.
11654         Bug 12834: Drosera should remember scroll position of open files like Xcode
11655         http://bugs.webkit.org/show_bug.cgi?id=12834
11657         * Drosera/debugger.js: Implemented scrolling memory 
11659 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
11661         Tools tweak. No review necessary.
11662         
11663         Made parse-malloc-history executable. (Oops!)
11664         
11665         Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history" 
11666         output.
11667         
11668         Added the ability to merge callstacks by regexp, not just depth, so you 
11669         can ask questions like, "How many of these allocations were due to that one 
11670         call to ...?"
11671         
11672         * Scripts/parse-malloc-history:
11674 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
11676         * Scripts/parse-malloc-history: Added copyright info.
11678 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
11680         Reviewed by Darin Adler.
11681         
11682         New script to parse the output from malloc_history, so we can determine
11683         what's using memory in WebKit.
11685         * Scripts/parse-malloc-history: Added.
11687 2007-02-20  Graham Dennis  <graham.dennis@gmail.com>
11689         Reviewed by Darin Adler.
11690         
11691         Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
11692         WebKit.framework is built with SVG_SUPPORT for No-SVG build
11694         * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
11696 2007-02-19  Geoffrey Garen  <ggaren@apple.com>
11698         Build fix.
11699         
11700         * Scripts/check-for-global-initializers: Ignore the global counter I added
11701         for SubresourceLoaders.
11703 2007-02-19  Darin Adler  <darin@apple.com>
11705         Reviewed by Tim Hatcher.
11707         * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
11708         Without this, you only see the global initializer error once, which makes it very easy
11709         to miss them.
11711 2007-02-16  Mark Rowe  <mrowe@apple.com>
11713         Not reviewed.
11715         <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
11717         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
11719 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
11721         Reviewed by Beth Dakin.
11722         
11723         * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
11724         leaks anymore, either, since r19486 fixed them, too.
11725         (shouldIgnoreWebCoreNodeLeaks):
11727 2007-02-15  Darin Adler  <darin@apple.com>
11729         * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
11730         fixed by change 19486.
11732 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
11734         Reviewed by Beth Dakin.
11735         
11736         Ignore another leak, seen recently on the buildbot.
11738         * Scripts/run-webkit-tests:
11740 2007-02-14  Geoffrey Garen  <ggaren@apple.com>
11742         Reviewed by Beth Dakin.
11743         
11744         Ignore another leak, seen recently on the buildbot.
11746         * Scripts/run-webkit-tests:
11748 2007-02-13  Darin Adler  <darin@apple.com>
11750         * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
11751         giant line.
11753 2007-02-11  Maciej Stachowiak  <mjs@apple.com>
11755         Reviewed by Mitz.
11756         
11757         - add contextClick() operation to eventSender to be able to test this
11759         * DumpRenderTree/EventSendingController.m:
11760         (+[EventSendingController isSelectorExcludedFromWebScript:]):
11761         (-[EventSendingController contextClick]):
11763 2007-02-11  Darin Adler  <darin@apple.com>
11765         * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
11766         so it doesn't give a perl exception (happens in clean builds, for example).
11768 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
11770         Reviewed by Adam.
11772         * Scripts/svn-create-patch:
11773         (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
11774         a relative path to the copied file.
11776 2007-02-10  Timothy Hatcher  <timothy@apple.com>
11778         Reviewed by Sam Weinig.
11780         * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
11782 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
11784         Reviewed by Timothy.
11786         * Scripts/svn-apply:
11787         (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
11788         encoded text.
11790 2007-02-10  Brady Eidson <beidson@apple.com>
11792         Reviewed by Maciej
11794         <rdar://problem/4965133> WebKit sends file:// url referrers
11796         * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
11797           on local files, but have an httpd for remote resources
11799 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
11801         Reviewed by Beth Dakin.
11802         
11803         Ignore another false leak report.
11805         * Scripts/run-webkit-tests:
11807 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
11809         Reviewed by Kevin McCullough.
11811         * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
11812         already exists, to avoid confusing error message.
11813         
11814         Also, remove /tmp/LayoutTests after running so unsupecting fools don't 
11815         try to rm -rf it, only later to discover that they have completely hosed 
11816         their machines.
11818 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
11820         Reviewed by Adam Roben.
11822         Linux/gdk build fixes.
11824         * GdkLauncher/main.cpp: Add -exit-after-loading and
11825         -dump-render-tree as debugging aid.
11826         (strEq):
11827         (main):
11829 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
11831         Minor fixup based on Maciej's review last night.
11832         
11833         * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
11834         and do a little math to make it work.
11836 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
11838         Reviewed by Adam Roben.
11840         Linux/gdk build fixes.
11842         * GdkLauncher/gdklauncher.bkl:
11844 2007-02-08  Kevin McCullough  <KMcCullough@apple.com>
11846         - Fix layout test failures.
11848         * Scripts/run-webkit-tests:
11850 2007-02-08  Darin Adler  <darin@apple.com>
11852         Reviewed by Anders.
11854         * Scripts/check-for-global-initializers: For speed, only check files that
11855         have been modified since the last time we linked. For tidiness, capture
11856         stderr from nm, and prevent "nm: no name list" messages from going out.
11858 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
11860         Reviewed by Maciej Stachowiak, Adam Roben.
11861         
11862         Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
11863         arbitrary number n.
11864         
11865         Plus some renames:
11866             - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
11867             - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
11868             - tool => dumpTool (to match abstraction elsewhere)
11869             - httpdOpen => isHttpdOpen (to match style guidelines)
11870         
11871         Plus a few logic fixups:
11872             - Don't check isDumpToolOpen when we know we've called openDumpTool().
11873             - Use a single code path to decide when to shut down dumpTool and
11874               when to check for leaks, since the operations are coincidental. 
11875             - Use a single code path for running the leaks tool, since the only 
11876               thing that varies between configurations is the output file name.
11877             - Increment $count after each test finishes, instead of at the end
11878               of the loop, to help with comparing to the length of the array
11879               and %-ing by n.
11880             - Use a more robust test inside the loop to determine if we need to
11881               close dumpTool, instead of copying the closing code outside the loop.
11882         
11883         Layout tests pass.
11885         * Scripts/run-webkit-tests:
11887 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
11889         Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
11890         
11891         Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
11892         catch all reports of them, not just those inside pthread_create.
11893         
11894         Also, use "\\" instead of "\" because we need the actual \ to get into the
11895         regexp string if it's going to do any escaping. (Oops!)
11897         * Scripts/run-webkit-tests:
11899 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
11901         Reviewed by Bethany P. Dakin.
11902         
11903         The 's' is optional when the leaks tool reports 'leaks'.
11904         
11905         * Scripts/run-leaks:
11907 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
11909         Reviewed by Bethany P. Dakin.
11910         
11911         Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
11913         * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
11915 2007-02-06  David Smith  <catfish.man@gmail.com>
11917         Reviewed by Darin.
11919         Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
11920         [Drosera] Console history fixups
11922         * Drosera/console.js: assorted cleanups and fixes
11924 2007-02-05  Geoffrey Garen  <ggaren@apple.com>
11926         Reviewed by Darin Adler.
11927         
11928         New script that allows you to ignore leaks by regular expression.
11930         * Scripts/run-leaks: Added.
11932 2007-02-03  Sam Weinig  <sam@webkit.org>
11934         Reviewed by Mark.
11936         Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
11937         Drosera doesn't handle CR ( carriage returns ) well
11939         - Normalize all the line endings.
11941         * Drosera/debugger.js:
11943 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
11945         Reviewed by Darin Adler.
11947         Added some more known leaks to the leaks ignore list.
11949         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
11950         hate itself so much?
11951         * Scripts/run-webkit-tests:
11953 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
11955         Even better build fix than the last.
11957         * ChangeLog:
11958         * DumpRenderTree/DumpRenderTree.m:
11959         (shouldIgnoreWebCoreNodeLeaks):
11961 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
11963         Fixed build. Added work-around for GCC bug.
11965         * DumpRenderTree/DumpRenderTree.m:
11966         (shouldIgnoreWebCoreNodeLeaks):
11968 2007-02-01  Geoffrey Garen  <ggaren@apple.com>
11970         Reviewed by Maciej Stachowiak.
11971         
11972         Added support for selectively ignoring WebCore::Node leaks during layout
11973         tests, so that we can ignore known leaks in other components.
11975         * DumpRenderTree/DumpRenderTree.m:
11976         (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
11977         WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
11978         confuse anyone else? 
11979         (runTest):
11981 2007-02-01  Anders Carlsson  <acarlsson@apple.com>
11983         Reviewed by Darin.
11985         * DumpRenderTree/UIDelegate.m:
11986         (-[UIDelegate webView:addMessageToConsole:]):
11987         Dump console messages.
11989 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
11991         * DumpRenderTree/ResourceLoadDelegate.m:
11992         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
11993         Use an NSString here so we can guarantee that -description always returns the same value.
11995 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
11997         Reviewed by Darin Adler.
11999         Added Selection::toRange to the leaks -exclude list, since it comes up
12000         as a false positive (Radar 4967949).
12001         
12002         Also added RangeCounter to the global initializer exclude list. I added
12003         a RangeCounter since leaks won't detect all Range leaks anymore.
12005         * Scripts/check-for-global-initializers:
12006         * Scripts/run-webkit-tests:
12008 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
12010         * DumpRenderTree/ResourceLoadDelegate.m:
12011         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
12012         Don't try to create an identifier if resource loads shouldn't be dumped.
12014 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
12016         Reviewed by Geoff.
12018         Add dumping of resource loads. This isn't completely tweaked yet since the test results would
12019         rely on resources being delivered in the same order which might not always be true. However, it works good
12020         enough for the simple webarchive tests I want to do right now.
12021         
12022         * DumpRenderTree/DumpRenderTree.h:
12023         * DumpRenderTree/DumpRenderTree.m:
12024         (dumpRenderTree):
12025         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12026         (-[LayoutTestController dumpResourceLoadCallbacks]):
12027         (runTest):
12028         
12029         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12030         * DumpRenderTree/ResourceLoadDelegate.h: Added.
12031         * DumpRenderTree/ResourceLoadDelegate.m: Added.
12032         Add new resource load delegate.
12033         
12034 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
12036         Backing out the CFRunLoopRunSpecific exclude command because it was overly
12037         broad. We'll either need to work around this leak in DRT, or do some
12038         custom grep-based leak ignoring.
12040         * Scripts/run-webkit-tests:
12042 2007-01-30  Geoffrey Garen  <ggaren@apple.com>
12044         Reviewed by Beth Dakin.
12046         Filed some more Radars in other components, added some more leaks to the
12047         exclusion list.
12049         * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
12050         CFRunLoopRunSpecific, and NSSpellChecker.
12052 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
12054         Reviewed by Darin.
12056         http://bugs.webkit.org/show_bug.cgi?id=11882
12057         Need a way to regression test .webarchive output files
12059         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
12060         Alters WebResourceResponse and WebResourceURL properties within WebArchive format
12061         to normalize URLs to remove path where WebKit was checked out.  Also converts
12062         WebDataResource properties from data to string if the corresponding
12063         WebResourceMIMEType property starts with "text/" or equals
12064         "application/x-javascript".
12066         * DumpRenderTree/DumpRenderTree.m:
12067         (convertWebResourceDataToString): Added.
12068         (normalizeWebResourceURL): Added.
12069         (normalizeWebResourceResponse): Added.
12070         (serializeWebArchiveToXML): Added.
12071         (dump):
12072         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12073         (-[LayoutTestController dumpAsWebArchive]): Added.
12074         (runTest):
12076 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
12078         Reviewed by Mark Rowe.
12080         http://bugs.webkit.org/show_bug.cgi?id=12470
12081         svn-create-patch creates duplicate patches for files within an added/modified directory
12083         * Scripts/svn-create-patch:
12084         (sub generateFileList($\%\%)): Ignore directories when generating the file list.
12086 2007-01-29  Geoffrey Garen  <ggaren@apple.com>
12088         Reviewed by Maciej Stachowiak.
12090         Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
12091         
12092         No more mollycoddling for you, FastMalloc.o!
12093         
12094         * Scripts/check-for-global-initializers:
12096 2007-01-29  Graham Dennis  <graham.dennis@gmail.com>
12098         Reviewed by Maciej.
12099         
12100         Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
12101         Image data in from RTFD clipboard data thrown away
12102         
12103         - This method is needed because NSArrays are bridged to JS Arrays,
12104           which in turn are bridged back to WebScriptObjects when passed from
12105           JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
12107         * DumpRenderTree/DumpRenderTree.m:
12108         (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
12110 2007-01-25  Geoffrey Garen  <ggaren@apple.com>
12112         Reviewed by Maciej Stachowiak.
12113         
12114         Added support for test for <rdar://problem/4608404> WebScriptObject's 
12115         _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
12116         
12117         * DumpRenderTree/DumpRenderTree.m:
12118         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12119         (+[LayoutTestController webScriptNameForSelector:]):
12120         (-[LayoutTestController storeWebScriptObject:]):
12121         (-[LayoutTestController accessStoredWebScriptObject]):
12122         (-[LayoutTestController dealloc]):
12124 2007-01-26  Lars Knoll <lars@trolltech.com>
12126         Reviewed by Zack
12128         Small hack to ensure that our top level frame actually has the
12129         correct size. Unfortunately this means I'll have to regenerate 
12130         all test cases :/
12132         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12133         (WebCore::DumpRenderTree::DumpRenderTree):
12135 2007-01-25  Lars Knoll <lars@trolltech.com>
12137         Reviewed by Darin and Zack
12138         
12139         Move the test results for Qt into a directory of it's own
12140         (WebKit/LayoutTestResults/qt). Leave the Mac results where
12141         they are for now and share the text only results between 
12142         Mac and Qt.
12144         Add support for a LayoutTestResults/platform/Skipped file
12145         to run-webkit-tests to be able to ignore certain tests
12147         Remove the old tests-skipped.txt from Qts DumpRenderTree
12148         implementation. 
12150         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12151         (WebCore::DumpRenderTree::DumpRenderTree):
12152         (WebCore::DumpRenderTree::open):
12153         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12154         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
12155         * Scripts/run-webkit-tests:
12157 2007-01-24  Darin Adler  <darin@apple.com>
12159         Reviewed by Oliver.
12161         - fix crash seen in layout tests
12163         * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
12164         Add back the line of code that sets savedMouseEvents to nil. I thought it was
12165         a field of the EventSendingController, but it's actually a global.
12167 2007-01-24  Darin Adler  <darin@apple.com>
12169         Reviewed by Maciej.
12171         - changed dragMode to be a property instead of a function
12173         * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
12174         * DumpRenderTree/EventSendingController.m:
12175         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
12176         (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
12177         (-[EventSendingController init]): Updated for name change.
12178         (-[EventSendingController leapForward:]): Ditto.
12179         (-[EventSendingController mouseUp]): Ditto.
12180         (-[EventSendingController mouseMoveToX:Y:]): Ditto.
12182 2007-01-24  Darin Adler  <darin@apple.com>
12184         Reviewed by Maciej.
12186         - made the deferral of mouse events until drag completes conditional
12187           it's needed for drag testing, and harmful for selection testing
12189         * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
12190         * DumpRenderTree/EventSendingController.m:
12191         (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
12192         (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
12193         and remove unneeded clearKillRing name.
12194         (-[EventSendingController init]): Initialize inDragMode to true.
12195         (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
12196         not be asserting things that are dependent on the test content!
12197         (-[EventSendingController leapForward:]): Only queue events in drag mode.
12198         (-[EventSendingController setDragMode:]): Added.
12199         (-[EventSendingController mouseDown]): Removed overzealous assertion.
12200         (-[EventSendingController mouseUp]): Removed overzealous assertions.
12201         Only queue events in drag mode.
12202         (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
12204 2007-01-24  Lars Knoll <lars@trolltech.com>
12206         Reviewed by Zack
12208         Add a signal handler, always dump immediately if we get an
12209         error during a page load and raise the timeout to 5 seconds
12210         (as we get a lot less such failures now)
12212         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12213         (WebCore::DumpRenderTree::DumpRenderTree):
12214         (WebCore::DumpRenderTree::maybeDump):
12215         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12216         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12217         (LayoutTestController::waitUntilDone):
12218         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12219         (crashHandler):
12220         (main):
12221         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
12223 2007-01-22  Darin Adler  <darin@apple.com>
12225         Reviewed by Mitz.
12227         - a couple tiny tweaks to make --reset-results work better
12229         * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
12230         Don't make a separate "new" entry while generating results when --reset-results
12231         is specified since new results are the norm in that case.
12233 2007-01-21  Sanjay Madhav  <sanjay12@gmail.com>
12235         Reviewed by Darin.
12237         Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
12239         This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
12241         * DumpRenderTree/GCController.h:
12242         * DumpRenderTree/GCController.mm:
12243         (+[GCController isSelectorExcludedFromWebScript:]):
12244         (-[GCController getJSObjectCount]):
12246 2007-01-20  Mark Rowe  <mrowe@apple.com>
12248         Reviewed by Maciej.
12250         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
12251         catch single regressions, and don't generate tests results for new tests.
12253 2007-01-20  Adam Roben  <aroben@apple.com>
12255         Rubberstamped by Maciej.
12257         * Scripts/run-webkit-tests: Change the default behavior back to
12258         generating results for new tests (this can be disabled with
12259         --no-new-test-results)
12261 2007-01-19  Lars Knoll <lars@trolltech.com>
12263         Reviewed by Adam Roben.
12265         run-webkit-tests does now not generate new results by default anymore. 
12266         You'll have to pass the --new-tests flag to it to force it to do so.
12268         This is required to make it possible to have tests running on multiple 
12269         platforms peacefully together.
12271         * Scripts/run-webkit-tests:
12273 2007-01-18  Darin Adler  <darin@apple.com>
12275         Reviewed by John Sullivan.
12277         * Scripts/run-webkit-tests: Fix handling of configuration so it
12278         does the right thing when no explicit configuration is passed in.
12279         The old code assumed that the result of setConfiguration() was the
12280         configuration, but it's undefined when no configuration is
12281         explicitly passed in. The correct function to use is
12282         configuration(), and I also streamlined the code.
12284 2007-01-17  Lars Knoll <lars@trolltech.com>
12286         Fix my last commit to actually work in all cases.
12288         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12289         (WebCore::DumpRenderTree::readStdin):
12291 2007-01-17  Lars Knoll <lars@trolltech.com>
12293         Reviewed by Maciej
12295         Make sure DumpRenderTree exits when run-webkit-tests
12296         is done.
12298         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12299         (WebCore::DumpRenderTree::readStdin):
12301 2007-01-17  Lars Knoll <lars@trolltech.com>
12303         Reviewed by Zack
12305         Small fixes in DumpRenderTree, so we don't by
12306         accident dump twice for the same test.
12308         Exclude one more test as it currently causes DumpRenderTree to
12309         hang forever.
12311         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12312         (WebCore::DumpRenderTree::readStdin):
12313         (WebCore::DumpRenderTree::dump):
12314         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12315         (LayoutTestController::notifyDone):
12316         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
12318 2007-01-17  Lars Knoll <lars@trolltech.com>
12320         Reviewed by Zack
12322         Add a message handler to DumpRenderTree that will
12323         suppress all debug output coming from qDebug() statements.
12324         Like this we can get rid of all the noise coming
12325         from the notImplemented() macro when running the
12326         layout tests. You can get it back by adding -v to
12327         DumpRenderTree's command line.
12329         Changed run-webkit-tests slightly, so we by default
12330         don't fail anymore when our output differs from what
12331         is generated on the Mac. Added a --strict option, so
12332         that we can still see this cases and fix them one by one.
12334         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12335         (messageHandler):
12336         (main):
12337         * Scripts/run-webkit-tests:
12339 2007-01-16  Lars Knoll <lars@trolltech.com>
12341         Reviewed by Zack
12343         Use the new public API for the Qt build, and don't rely on
12344         WebKit internals anymore.
12346         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12347         (WebCore::DumpRenderTree::DumpRenderTree):
12348         (WebCore::DumpRenderTree::~DumpRenderTree):
12349         (WebCore::DumpRenderTree::open):
12350         (WebCore::DumpRenderTree::readStdin):
12351         (WebCore::DumpRenderTree::initJSObjects):
12352         (WebCore::DumpRenderTree::dump):
12353         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12354         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12355         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
12356         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
12357         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12358         (LayoutTestController::notifyDone):
12359         (LayoutTestController::timerEvent):
12360         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12361         (main):
12362         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
12364 2007-01-15  Justin Garcia  <justin.garcia@apple.com>
12366         Reviewed by mjs
12368         <rdar://problem/4810960>
12369         Gmail Editor: window.focus() called on keyDown (9640)
12371         * DumpRenderTree/EventSendingController.m: Send the keyDown event
12372         to the firstResponder, not the event's locationInWindow.  A
12373         key press's locationInWindow is meaningless and just a dummy 
12374         coordinate.
12376 2007-01-15  Eric Seidel  <eric@webkit.org>
12378         Reviewed by bdash.
12379         
12380         Add a script to keep our header guards squeaky clean.
12382         * Scripts/clean-header-guards: Added.
12384 2007-01-15  Lars Knoll <lars@trolltech.com>
12386         Reviewed by Zack
12388         Fix a few smaller issues in here, and update
12389         our list of skipped tests.
12391         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12392         (WebCore::DumpRenderTree::DumpRenderTree):
12393         (WebCore::DumpRenderTree::readStdin):
12394         (WebCore::DumpRenderTree::dump):
12395         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12396         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12397         (LayoutTestController::LayoutTestController):
12398         (LayoutTestController::reset):
12399         (LayoutTestController::waitUntilDone):
12400         (LayoutTestController::notifyDone):
12401         (LayoutTestController::dumpEditingCallbacks):
12402         (LayoutTestController::timerEvent):
12403         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
12404         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
12406 2007-01-14  Mark Rowe  <mrowe@apple.com>
12408         Reviewed by Adam.
12410         <rdar://problem/4908909> Need to create Leopard nightly build
12412         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK.  The disk images don't mount pre-10.4 so we aren't losing anything here.
12413         * WebKitLauncher/WebKitNightlyEnabler.m:
12414         (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables.  The smaller timeframe where the
12415         CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
12416         (enableWebKitNightlyBehaviour):
12417         * WebKitLauncher/main.m:
12418         (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
12419         * Drosera/launcher.m:
12420         (main): Ditto
12422 2007-01-12  Lars Knoll <lars@trolltech.com>
12424         Reviewed by Zack
12426         Get DumpRenderTree to work again for the Qt build.
12428         Make run-webkit-tests a little less verbose when testing
12429         Qt, and add an option to run DumpRenderTree inside valgrind
12430         (useful for debugging)
12432         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12433         (WebCore::DumpRenderTree::DumpRenderTree):
12434         (WebCore::DumpRenderTree::~DumpRenderTree):
12435         (WebCore::DumpRenderTree::open):
12436         (WebCore::DumpRenderTree::dump):
12437         (WebCore::DumpRenderTree::maybeDump):
12438         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12439         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
12440         (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
12441         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
12442         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
12443         * Scripts/run-webkit-tests:
12445 2007-01-12  Zack Rusin  <zack@kde.org>
12447         Add WEBKIT_FULLBUILD env variable to get the
12448         build do a make clean before make to cleanout the
12449         stale depenendencies (for buildbot mainly).
12451         * Scripts/webkitdirs.pm:
12453 2007-01-11  Mitz Pettel  <mitz@webkit.org>
12455         Reviewed by Hyatt.
12457         - http://bugs.webkit.org/show_bug.cgi?id=10249
12458           Temporarily disable tests that are causing kernel panics
12460         Changed the ImageDiff tool not to use CoreImage filters.
12462         * DumpRenderTree/ImageDiff.m:
12463         (main):
12464         (createImageFromStdin):
12465         (compareImages):
12466         (getDifferenceBitmap):
12468 2007-01-11  Lars Knoll <lars@trolltech.com>
12470         Fix compilation
12472         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12474 2007-01-11  Lars Knoll <lars@trolltech.com>
12476         Reviewed by Darin.
12478         Adjust to loader changes.
12480         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12481         (WebCore::DumpRenderTree::DumpRenderTree):
12483 2007-01-06  George Staikos  <staikos@kde.org>
12485         This doesn't build on all unix platforms!
12487         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12489 2007-01-05  Zack Rusin  <zack@kde.org>
12491         Reviewed by Simon.
12493         Fix the undefined warnings and try to detect
12494         the DISPLAY properly.
12496         * Scripts/run-webkit-tests:
12498 2007-01-05  David Kilzer  <ddkilzer@webkit.org>
12500         Reviewed by Mark Rowe.
12502         Speed up svn-create-patch for copied and moved files.
12504         * Scripts/svn-create-patch:
12505         (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
12506         so svn pulls original from local disk.
12508 2007-01-04  Lars Knoll <lars@trolltech.com>
12510         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12511               Link with RPATH to (hopefully) get the automatic tests working.
12513 2007-01-03  Mark Rowe  <bdash@webkit.org>
12515         Reviewed by Anders.
12517         * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
12519 2007-01-02  Zack Rusin  <zack@kde.org>
12521         Make it work after javascriptcore/bindings changes.
12523         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12524         (WebCore::DumpRenderTree::initJSObjects):
12525         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12527 2007-01-01  David Kilzer  <ddkilzer@webkit.org>
12529         Reviewed by Darin.
12531         http://bugs.webkit.org/show_bug.cgi?id=12023
12532         svn-create-patch and friends should handle moved/copied files
12534         * Scripts/svn-apply: Identify copied files and handle those before all other patches.
12535         * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
12536         (findMimeType($)): Added.
12537         (findModificationTime($)): Added.
12538         (findSourceFileAndRevision($)): Added.
12539         (generateDiff($$$)): Changed to use svn stat instead of svn diff.
12540         (isBinaryMimeType($)): Added.
12541         (manufacturePatchForAdditionWithHistory($$)): Added.
12542         * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
12544 2006-12-29  Eric Seidel  <eric@webkit.org>
12546         Reviewed by olliej.
12548         Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
12550         * DumpRenderTree/DumpRenderTree.m:
12551         (dumpRenderTree): clear WebCore cache before exiting
12553 2006-12-29  David Kilzer  <ddkilzer@webkit.org>
12555         Reverted last commit until WebResourceData issue is fixed.
12557         http://bugs.webkit.org/show_bug.cgi?id=11882
12558         Need a way to regression test .webarchive output files
12560         * DumpRenderTree/DumpRenderTree.m:
12561         (serializeWebArchiveToXML): Removed.
12562         (dump):
12563         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12564         (-[LayoutTestController dumpAsWebArchive]): Removed.
12565         (runTest):
12567 2006-12-28  David Kilzer  <ddkilzer@webkit.org>
12569         Reviewed by Darin.
12571         http://bugs.webkit.org/show_bug.cgi?id=11882
12572         Need a way to regression test .webarchive output files
12574         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
12575         Saves WebArchive plist in xml format, then alters file:// URLs to remove path
12576         where WebKit was checked out.
12578         * DumpRenderTree/DumpRenderTree.m:
12579         (serializeWebArchiveToXML): Added.
12580         (dump):
12581         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12582         (-[LayoutTestController dumpAsWebArchive]): Added.
12583         (runTest):
12585 2006-12-28  George Staikos  <staikos@kde.org>
12587         Reviewed by Olliej.
12589         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
12591 2006-12-27  Geoffrey Garen  <ggaren@apple.com>
12593         Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
12595         Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
12596         
12597         No behavior change. Layout tests pass.
12599         * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
12600         doneLoading() accessor function. This matches the rest of DRT's exports and 
12601         makes it easier to search for clients who check (!done).
12603         * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
12604         it would cover both code paths for calling runTest().
12606         (dumpRenderTree): "doneLoading()" => "done"
12607         (dump): ditto
12608         * DumpRenderTree/EditingDelegate.m: ditto
12609         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
12610         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
12611         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
12612         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
12613         (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
12614         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
12615         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
12616         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
12617         (-[EditingDelegate webViewDidBeginEditing:]): ditto
12618         (-[EditingDelegate webViewDidChange:]): ditto
12619         (-[EditingDelegate webViewDidEndEditing:]): ditto
12620         (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
12621         (-[EditingDelegate webViewDidChangeSelection:]): ditto
12622         * DumpRenderTree/UIDelegate.m: ditto
12623         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
12625 2006-12-26  Eric Seidel  <eric@webkit.org>
12627         Reviewed by bradee-oh.
12628         
12629         Add very simple run-pageloadtest script for running SVG page load test.
12631         * Scripts/run-pageloadtest: Added.
12633 2006-12-26  Geoffrey Garen  <ggaren@apple.com>
12635         Reviewed by Eric Seidel.
12637         Some cleanup in preparation for fixing <rdar://problem/4740328> Safari 
12638         crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
12639         
12640         (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
12642 2006-12-23  Geoffrey Garen  <ggaren@apple.com>
12644         Reviewed by Maciej Stachowiak.
12645         
12646         Added --threaded support to run-webkit-tests and DumpRenderTree.
12647         
12648         In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
12649         stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore 
12650         interface. This is useful for tracking down bugs you might see on a system
12651         configured to use a PAC file.
12652         
12653         Ironically, I can proudly state that very few layout tests pass.
12655         * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
12656         for starting and stopping it.
12657         (runJavaScriptThread): helper function
12658         (startJavaScriptThread): helper function
12659         (stopJavaScriptThread): helper function
12661         (dumpRenderTree): Added --threaded command line argument.
12662         * Scripts/run-webkit-tests: ditto
12664 2006-12-22  Mark Rowe  <bdash@webkit.org>
12666         Reviewed by Brady.
12668         Fix for <rdar://problem/4265976>
12669         prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
12671         * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
12673 2006-12-21  Mark Rowe  <bdash@webkit.org>
12675         Reviewed by Tim Hatcher.
12677         http://bugs.webkit.org/show_bug.cgi?id=11922
12678         Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
12680         * Drosera/DebuggerDocument.m:
12681         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
12682         ensure that the properties are being retrieved from the correct scope object.
12684 2006-12-21  Lars Knoll <lars@trolltech.com>
12686         Reviewed by Zack
12688         Add support for the layoutTestController JavaScript object
12689         to be able to get textOnly dumps.
12690         Added a Qt specific hack to always get the same fonts (the ones
12691         added in this submit) and the same dpi when running the layout tests.
12692         Modified the run-webkit-tests script to also do a comparison to the 
12693         Mac generated outputs (by stripping out positioning information).
12695         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12696         (WebCore::DumpRenderTree::DumpRenderTree):
12697         (WebCore::DumpRenderTree::open):
12698         (WebCore::DumpRenderTree::resetJSObjects):
12699         (WebCore::DumpRenderTree::initJSObjects):
12700         (WebCore::DumpRenderTree::dump):
12701         (WebCore::DumpRenderTree::checkLoaded):
12702         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12703         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12704         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
12705         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
12706         (WebCore::DumpRenderTreeClient::partClearedInBegin):
12707         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
12708         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
12709         (QX11Info::appDpiY):
12710         (QX11Info::appDpiX):
12711         (qt_x11ft_convert_pattern):
12712         (LayoutTestController::LayoutTestController):
12713         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
12714         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
12715         (LayoutTestController::shouldDumpAsText):
12716         (LayoutTestController::shouldWaitUntilDone):
12717         (LayoutTestController::reset):
12718         (LayoutTestController::dumpAsText):
12719         (LayoutTestController::waitUntilDone):
12720         (LayoutTestController::notifyDone):
12721         * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
12722         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
12723         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
12724         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
12725         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
12726         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
12727         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
12728         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
12729         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
12730         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
12731         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
12732         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
12733         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
12734         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
12735         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
12736         * Scripts/run-webkit-tests:
12738 2006-12-21  Mark Rowe  <bdash@webkit.org>
12740         Reviewed by Geoff.
12742         http://bugs.webkit.org/show_bug.cgi?id=11888
12743         Bug 11888: REGRESSION (r18320): Web Inspector panes broken
12745         * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
12747 2006-12-18  Geoffrey Garen  <ggaren@apple.com>
12749         Reviewed by Beth Dakin.
12751         Updated EventSender to be able to send mouse up events outside the WebView.
12752         This is a minor tweak to a hackish implementation. The real solution
12753         should be to use NSApplication's event sending model instead of rolling
12754         our own, but I don't have time for that right now.
12755         
12756         * DumpRenderTree/EventSendingController.m:
12757         (-[EventSendingController mouseUp]): 
12759 2006-12-15  Marvin Decker  <marv.decker@gmail.com>
12761         Reviewed by Darin and Alexey.
12763         Fix the Windows build, move various Client implementations out of
12764         WebCore and into WebKit.
12766         * Spinneret/Spinneret.sln:
12768 2006-12-14  Timothy Hatcher  <timothy@apple.com>
12770         Reviewed by Brady.
12772         * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
12774 2006-12-13  Zack Rusin  <zack@kde.org>
12776         Reviewed by rwlbuis
12778         Use the qmake build by default with Qt - it's the one that works
12779         currently.
12781         * Scripts/build-webkit:
12782         * Scripts/webkitdirs.pm:
12784 2006-12-10  Lars Knoll <lars@trolltech.com>
12786         Reviewed by Zack
12788         Some more fixes to the dumprendertree application.
12789         Fix the run-webkit-tests script for Qt.
12791         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12792         (WebCore::DumpRenderTree::open):
12793         (WebCore::DumpRenderTree::readStdin):
12794         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12795         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
12796         * Scripts/run-webkit-tests:
12797         * Scripts/webkitdirs.pm:
12799 2006-12-10  Rob Buis  <buis@kde.org>
12801         Reviewed by Darin.
12803         * DumpRenderTree/DumpRenderTree.m:
12804         (dump):
12806 2006-12-10  Lars Knoll <lars@trolltech.com>
12808         Reviewed by Zack
12810         Get the DumpRenderTree app to compile again
12812         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12813         (WebCore::DumpRenderTree::DumpRenderTree):
12814         (WebCore::DumpRenderTree::open):
12815         (WebCore::DumpRenderTree::readStdin):
12816         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
12817         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
12818         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
12819         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
12820         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12821         (main):
12823 2006-12-09  George Staikos  <staikos@kde.org>
12825         Reviewed by Zack.
12827         Repair QMake build on OS X.
12829         * Scripts/build-webkit:
12831 2006-12-09  Zack Rusin  <zack@kde.org>
12833         Fixing small mistakes in the build scripts for
12834         the qmake builds.
12836         * Scripts/build-webkit:
12837         * Scripts/webkitdirs.pm:
12839 2006-12-09  Simon Hausmann  <hausmann@kde.org>
12841         Reviewed by hyatt.
12843         Add support for a QMake build using build-webkit --qmake
12845         * Scripts/build-webkit:
12846         * Scripts/webkitdirs.pm:
12848 2006-12-09  George Staikos  <staikos@kde.org>
12850         Reviewed by Zack.
12852         Remove reference to Unity.
12854         * Scripts/webkitdirs.pm:
12856 2006-12-08  Zack Rusin  <zack@kde.org>
12858         Reviewed by Maciej.
12860         Fix the compile after recent API changes.
12862         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12863         (WebCore::DumpRenderTree::DumpRenderTree):
12864         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12865         (main):
12867 2006-12-08  George Staikos  <staikos@kde.org>
12869         Reviewed by Maciej.
12871         Build Qt webkit on non-linux, and prefer it if $QTDIR is set
12873         * Scripts/build-webkit:
12874         * Scripts/webkitdirs.pm:
12876 2006-12-06  Steve Falkenburg  <sfalken@apple.com>
12878         Support C strings for localization
12880         * Scripts/extract-localizable-strings:
12882 2006-12-04  Steve Falkenburg  <sfalken@apple.com>
12884         Reviewed by Darin.
12885         
12886         Make extract-localizable-strings compatible with cpp file extensions.
12888         * Scripts/extract-localizable-strings:
12890 2006-11-21  Darin Adler  <darin@apple.com>
12892         Reviewed by Maciej.
12894         - a couple changes to reduce the chance of false positives on the leakbot
12896         * DumpRenderTree/DumpRenderTree.m:
12897         (dumpRenderTree): Move the main function into a separate function so we can run
12898         a final garbage collect afterward without any stray values on the stack. Replaced
12899         the old way of closing down a WebView (setting the delegates to nil) with the new
12900         way (calling the close method), which does a more complete job of shutting
12901         everything down without waiting for the WebView object to be deallocated.
12902         (main): Put auto-release pool here and added an explicit call to garbage collect.
12903         With a separate function, we greatly reduce the chance that a stray address on the
12904         stack will keep an object alive.
12906         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
12907         because I don't have what it takes to fight the power.
12909 2006-11-17  Zack Rusin  <zack@kde.org>
12911         Reviewed by Mitz. Landed by Niko.
12913         Fixing compilation.
12915         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12916         (WebCore::DumpRenderTree::DumpRenderTree): Adding
12917         ContextMenuClient to the constructor
12919 2006-11-12  Mark Rowe  <bdash@webkit.org>
12921         Reviewed by Mitz.
12923         Clean up of GdkLauncher bakefile.
12925         * GdkLauncher/gdklauncher.bkl:
12927 2006-11-11  Nikolas Zimmermann  <zimmermann@kde.org>
12929         Reviewed and landed by Anders.
12931         Make DRT work again on Qt/Linux.
12933         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12934         (WebCore::DumpRenderTree::DumpRenderTree):
12936 2006-11-10  Zack Rusin  <zack@kde.org>
12938         Reviewed and landed by Anders.
12940         Adjusting to the recent loader changes, making it compile
12941         and work.
12943         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12944         (WebCore::DumpRenderTree::DumpRenderTree):
12945         (WebCore::DumpRenderTree::checkLoaded):
12946         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12948 2006-11-10  Zack Rusin  <zack@kde.org>
12950         Reviewed by Anders.
12952         Making the Qt code work after refactorings in WebCore.
12954         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12955         (WebCore::DumpRenderTree::DumpRenderTree):
12956         (WebCore::DumpRenderTree::checkLoaded):
12957         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12959 2006-11-08  Darin Adler  <darin@apple.com>
12961         Reviewed by Anders.
12963         - same change as below, only tested this time
12965         * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
12966         mode off. I think we need to do this because WebPreferences saves things
12967         for us automatically. It would be good to turn that off for DumpRenderTree,
12968         but for now lets handle this like the other preferences (set it explicitly
12969         each time).
12971 2006-11-08  Darin Adler  <darin@apple.com>
12973         Reviewed by Anders.
12975         * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
12976         "tab to links" mode. No current tests depend on this, and there's a new
12977         test I want to land that depends on the default setting.
12979 2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
12981         Reviewed by Maciej.
12983         Linux\gdk build fixes.
12985         * GdkLauncher/main.cpp:
12986         (LauncherFrameGdk::LauncherFrameGdk):
12987         (main):
12989 2006-11-06  Alexey Proskuryakov  <ap@nypop.com>
12991         Build fix, approved in principle by Tim H.
12993         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12994         Disable deprecated warnings for main.c (TestNetscapePlugin),
12995         as it now uses QuickDraw to convert mouse event coordinates.
12997 2006-11-05  Timothy Hatcher  <timothy@apple.com>
12999         Reviewed by Maciej.
13001         Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
13002         http://bugs.webkit.org/show_bug.cgi?id=11525
13004         * Drosera/debugger.js: imporved the function name code
13006 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
13008         Reviewed by Maciej.
13010         Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
13011         being attributed to the next test.
13013         * DumpRenderTree/EditingDelegate.m:
13014         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
13015         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
13016         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
13017         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
13018         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
13019         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
13020         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
13021         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
13022         (-[EditingDelegate webViewDidBeginEditing:]):
13023         (-[EditingDelegate webViewDidChange:]):
13024         (-[EditingDelegate webViewDidEndEditing:]):
13025         (-[EditingDelegate webViewDidChangeTypingStyle:]):
13026         (-[EditingDelegate webViewDidChangeSelection:]):
13027         * DumpRenderTree/UIDelegate.m:
13028         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
13030 2006-11-06  Mark Rowe  <bdash@webkit.org>
13032         Reviewed by Alexey.
13034         Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
13036         * Scripts/run-webkit-tests: import the POSIX module.
13038 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
13040         Reviewed by Maciej.
13042         Test for http://bugs.webkit.org/show_bug.cgi?id=11517
13043         REGRESSION: Flash clicks/interactivity not working properly
13045         Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
13047         <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
13048         <script>
13049             plg.eventLoggingEnabled = true;
13050             // use eventSender to simulate events...
13051         </script>
13053         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13054         (pluginGetProperty):
13055         (pluginSetProperty):
13056         (pluginAllocate):
13057         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13058         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13059         (NPP_HandleEvent):
13061 2006-11-04  David Smith  <catfish.man@gmail.com>
13063         Reviewed by Tim H.
13065         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
13066         Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
13068         * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
13070 2006-11-04  David Smith  <catfish.man@gmail.com>
13072         Reviewed by Tim H.
13074         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
13075         Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
13077         * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
13079 2006-11-04  David Smith  <catfish.man@gmail.com>
13081         Reviewed by Tim H.
13083         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
13084         Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
13086         * Drosera/debugger.js: blur() the function popup when we're done with it.
13088 2006-11-04  Mark Rowe  <bdash@webkit.org>
13090         Reviewed by Darin.
13092         Fix use of uninitialized value in pattern match.
13094         * Scripts/webkitdirs.pm:
13096 2006-11-04  Darin Adler  <darin@apple.com>
13098         Reviewed by Tim Hatcher.
13100         * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
13102 2006-11-03  David Smith  <catfish.man@gmail.com>
13104         Reviewed by Tim H.
13106         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
13107         Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
13109         * Drosera/DebuggerApplication.m:
13110         (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
13112 2006-11-03  Vladimir Olexa  <vladimir.olexa@gmail.com>
13114         Reviewed by Tim H.
13116         Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
13117         Bug 9596: [Drosera] add a function popup to the source pane
13119         * Drosera/debugger.css: Added styles for function popup
13120         * Drosera/debugger.html: Added function popup button and select
13121         * Drosera/debugger.js: Added function popup functionality
13123 2006-11-03  Michael Emmel  <mike.emmel@gmail.com>
13125         Reviewed by Maciej.
13126         
13127         http://bugs.webkit.org/show_bug.cgi?id=9671
13129         * Scripts/wkstyle:
13130         Adds astyle sed script formats according to most of the style guidelines. 
13132 2006-11-03  Alexey Proskuryakov  <ap@nypop.com>
13134         Reviewed by Adele.
13136         http://bugs.webkit.org/show_bug.cgi?id=7323
13137         REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
13139         When dragging, do not send EventSendingController's events immediately. Dragging 
13140         is supposed to be modal, so we need to perform it from within the delegate, without
13141         returning to JS to make the next mouse movement.
13143         When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
13145         * DumpRenderTree/EventSendingController.h:
13146         * DumpRenderTree/EventSendingController.m:
13147         (-[EventSendingController dealloc]):
13148         (-[EventSendingController leapForward:]):
13149         (-[EventSendingController mouseDown]):
13150         (-[EventSendingController mouseUp]):
13151         (-[EventSendingController mouseMoveToX:Y:]):
13152         (+[EventSendingController saveEvent:]):
13153         (+[EventSendingController replaySavedEvents]):
13154         * DumpRenderTree/UIDelegate.m:
13155         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
13157 2006-11-02  Geoffrey Garen  <ggaren@apple.com>
13159         Reviewed by Justin Garcia.
13160         
13161         Made dumping of editing callbacks opt-in, so that editing spew doesn't 
13162         cloud non-editing tests.
13164         * DumpRenderTree/DumpRenderTree.m:
13165         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13166         (-[LayoutTestController shouldDumpEditingCallbacks]):
13167         (runTest):
13168         * DumpRenderTree/EditingDelegate.m:
13169         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
13170         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
13171         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
13172         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
13173         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
13174         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
13175         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
13176         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
13177         (-[EditingDelegate webViewDidBeginEditing:]):
13178         (-[EditingDelegate webViewDidChange:]):
13179         (-[EditingDelegate webViewDidEndEditing:]):
13180         (-[EditingDelegate webViewDidChangeTypingStyle:]):
13181         (-[EditingDelegate webViewDidChangeSelection:]):
13183 2006-11-02  Alexey Proskuryakov  <ap@nypop.com>
13185         Reviewed by Maciej, landed by Anders.
13187         - http://bugs.webkit.org/show_bug.cgi?id=7802
13188           devenv.com not available in VC++ Express installations
13190         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
13191         * Scripts/install-win-extras: Make setx.exe actually run.
13193 2006-11-01  Stephanie Lewis  <slewis@apple.com>
13195         Reviewed by Kevin.
13196         
13197         Fixed bug where additional arguments got fed to xcode and jsdriver.pl
13198         Since testkjs is being built before the tests are run, we don't need 
13199         to build it with webkit.
13200         
13201         Fixes bugs
13202         http://bugs.webkit.org/show_bug.cgi?id=11462
13203         http://bugs.webkit.org/show_bug.cgi?id=6168
13205         * Scripts/build-webkit:
13206         * Scripts/run-javascriptcore-tests:
13208 2006-11-01  Brady Eidson  <beidson@apple.com>
13210         Reviewed by Tim Hatcher
13212         Added accessor to get the source directory for use in client scripts
13214         * Scripts/webkitdirs.pm:
13216 2006-11-01  Mark Rowe  <bdash@webkit.org>
13218         Reviewed by Mitz.
13220         Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
13222         * Spinneret/Spinneret/Spinneret.cpp:
13223         (_tWinMain):
13224         * WebKitLauncher/WebKitNightlyEnabler.m:
13225         (cleanUpAfterOurselves):
13227 2006-10-31  Mark Rowe  <bdash@webkit.org>
13229         Reviewed by Stephanie.
13231         Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
13233         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
13234         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
13236 2006-10-31  Darin Adler  <darin@apple.com>
13238         * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
13239         pasteboard, allocate any number of local pasteboards.
13240         (main): Allocate the dictionary of pasteboards.
13241         (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
13242         given a name.
13243         (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
13244         explicitly elsewhere.
13245         (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
13246         to the selector rather than calling unconditionally.
13248 2006-10-30  Darin Adler  <darin@apple.com>
13250         - fixed build
13252         * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
13253         Don't use CFPasteboard.
13255 2006-10-30  Vladimir Olexa  <vladimir.olexa@gmail.com>
13257         Reviewed by Tim H.
13259         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
13261         * Drosera/debugger.js: ParsedURL() object now recognizes local files
13263 2006-10-30  Darin Adler  <darin@apple.com>
13265         Reviewed by Tim Hatcher.
13267         * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
13268         This should make our buildbot tests no longer need a pasteboard server.
13270 2006-10-30  Geoffrey Garen  <ggaren@apple.com>
13272         Reviewed by Beth.
13273         
13274         Reorganized project file into Delegates and Controllers groups, and split 
13275         UIDelegate stuff into a UIDelegate class.
13276         
13277         A little birdy told me that I might end up adding some UIDelegate methods
13278         to DRT soon.
13280         * DumpRenderTree/DumpRenderTree.m:
13281         (main):
13282         (runTest):
13283         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13285 2006-10-31  Nikolas Zimmermann  <zimmermann@kde.org>
13287         Reviewed by Oliver.
13289         Add new platform/graphics include directory.
13291         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
13293 2006-10-30  Timothy Hatcher  <timothy@apple.com>
13295         Reviewed by Stephanie.
13297         Add a special case for the Internal makefiles, so it can find the OepnSource.
13299         * Scripts/webkitdirs.pm:
13301 2006-10-30  Stephanie Lewis  <slewis@apple.com>
13303         Reviewed by Darin.
13304         
13305         Change Makefiles to return non-zero when module make fails.
13306         Fix bug where if xcode options are not set, modules can build in the
13307         wrong directory.
13309         * Makefile:
13310         * Scripts/webkitdirs.pm:
13312 2006-10-30  Matt Lilek  <pewtermoose@gmail.com>
13314         Reviewed by Tim H.
13316         Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
13317         [Drosera] The Console toolbar button should bring the console window to the front.
13319         The console now gets focus when its activated but already open.  Command + L also
13320         now activates/focuses the console.
13322         * Drosera/English.lproj/MainMenu.nib/classes.nib:
13323         * Drosera/English.lproj/MainMenu.nib/info.nib:
13324         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
13325         * Drosera/debugger.js:
13327 2006-10-29  Darin Adler  <darin@apple.com>
13329         * Scripts/do-file-rename: Renames done, ready for the next round.
13330         * Scripts/do-webcore-rename: Ditto.
13332 2006-10-29  Darin Adler  <darin@apple.com>
13334         * Scripts/do-file-rename: And again.
13336 2006-10-29  Darin Adler  <darin@apple.com>
13338         * Scripts/do-webcore-rename: Tweaked plans for renaming again.
13340 2006-10-29  Darin Adler  <darin@apple.com>
13342         Reviewed by Mitz.
13344         * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
13345         Added. Does nothing, which prevents a beep.
13347         * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
13349 2006-10-27  Brady Eidson  <beidson@apple.com>
13351         Rubber stamped by Tim Hatcher
13353         Added "make universal" to build universal binaries
13355         * Makefile:
13356         * Makefile.shared:
13358 2006-10-26  Sam Weinig  <sam.weinig@gmail.com>
13360         Reviewed by Geoff.
13362         Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
13363         REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
13364         ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
13366         * DumpRenderTree/EventSendingController.m:
13367         (-[EventSendingController mouseMoveToX:Y:]):
13369 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
13371         Reviewed by Darin.
13373         Fix Qt/Linux build.
13375         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13376         (WebCore::DumpRenderTree::open):
13378 2006-10-24  Stephanie Lewis  <slewis@apple.com>
13380         Reviewed by Maciej.
13382         - Changed run-javascriptcore tests to build testkjs before running.
13384         * Scripts/run-javascriptcore-tests:
13386 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
13388         Reviewed by Maciej.
13390         Fix Qt/Linux build.
13392         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
13393         - Fix CMakeLists.txt to include platform/network.
13395         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
13397 2006-10-24  David Smith  <catfish.man@gmail.com>
13399         Reviewed by Tim H.
13401         Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
13402         http://bugs.webkit.org/show_bug.cgi?id=11382
13404         * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
13406 2006-10-21  Darin Adler  <darin@apple.com>
13408         * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
13409         This was still using "symroots" so it almost never worked!
13411 2006-10-21  Darin Adler  <darin@apple.com>
13413         * Makefile: Build DumpRenderTree too.
13414         * Scripts/do-webcore-rename: Removed bogus comment.
13416 2006-10-20  David Smith  <catfish.man@gmail.com>
13418         Reviewed by Tim H.
13420         Bug 11367: Inline Breakpoint Editor Improvements: Act III
13421         http://bugs.webkit.org/show_bug.cgi?id=11367
13423         Major breakpoint editor changes:
13424         * Breakpoints can now either pause or log to console
13425         * Code cleanup through use of XPath and converting breakpoints to objects
13426         * Breakpoints now track how many times they've been reached
13427         * UI tweaks
13428         * The breakpoint editor now saves changes as they're entered
13429         * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
13430         * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
13432         * Drosera/DebuggerDocument.m:
13433         (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
13434         * Drosera/Drosera.xcodeproj/project.pbxproj:
13435         * Drosera/Images/close.tif: Added.
13436         * Drosera/Images/close_active.tif: Added.
13437         * Drosera/Images/close_hover.tif: Added.
13438         * Drosera/breakpointEditor.html: Added.
13439         * Drosera/console.js: Added a way to append messages from outside the console window.
13440         * Drosera/debugger.js:
13441         * Drosera/viewer.css:
13442         * Drosera/viewer.html:
13444 2006-10-18  David Smith  <catfish.man@gmail.com>
13446         Reviewed by Tim H.
13448         Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
13450         * Drosera/DebuggerDocument.m:
13451         (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
13452         * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
13453         * Drosera/debugger.js:
13455 2006-10-18  Timothy Hatcher  <timothy@apple.com>
13457         Reviewed by Anders.
13459         Bug 10851: Crash with Drosera
13460         http://bugs.webkit.org/show_bug.cgi?id=10851
13462         This crash results in an assert in debug builds.
13464         assert(implementsCall());
13466         The __drosera_introspection propery was not callable. Now we just assign
13467         this.__drosera_introspection in the evaluateWebScript call.
13468         This change also removes one DO message.
13470         * Drosera/DebuggerDocument.m:
13471         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
13473 2006-10-18  Mark Rowe  <bdash@webkit.org>
13475         Reviewed by Tim H.
13477         http://bugs.webkit.org/show_bug.cgi?id=11304
13478         Bug 11304: Drosera fails to link as universal binary on PowerPC machine
13480         * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
13481         when they are not part of the WebKit umbrella framework.
13483 2006-10-18  Adam Roben  <aroben@apple.com>
13485         fixo el buildo II: Release's Pride.
13487         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13489 2006-10-18  Geoffrey Garen  <ggaren@apple.com>
13491         fixo el buildo.
13492         
13493         Work around #import of <PDFKit/PDFView.h>.
13495         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13497 2006-10-18  David Smith  <catfish.man@gmail.com>
13499         Reviewed by Tim H.
13501         Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
13503         * Drosera/Drosera.xcodeproj/project.pbxproj:
13504         * Drosera/Images/breakpointeditor.png: Added.
13505         * Drosera/breakpointEditor.css: Removed.
13506         * Drosera/breakpointEditor.html: Removed.
13507         * Drosera/breakpointEditor.js: Removed.
13508         * Drosera/debugger.js:
13509         * Drosera/viewer.css:
13511 2006-10-18  David Harrison  <harrison@apple.com>
13513         Reviewed by Tim H.
13515         Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
13516         http://bugs.webkit.org/show_bug.cgi?id=11341
13518         Link editing behavior became a preference. DumpRenderTree needs to specify the
13519         non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
13521         * DumpRenderTree/DumpRenderTree.m:
13522         (main):
13524 2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
13526         Reviewed by Anders.
13528         Make compiler not complain about unused gk. SpinneretWebHost was not setting
13529         initial refcount upon creation, so it is completely bogus.
13531         * GdkLauncher/main.cpp:
13532         (main):
13533         * Spinneret/Spinneret/Spinneret.h:
13534         (SpinneretWebHost::SpinneretWebHost):
13536 2006-10-15  Nikolas Zimmermann  <zimmermann@kde.org>
13538         Reviewed by Oliver.
13540         Add another hanging test, to the "to be skipped" list.
13542         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
13544 2006-10-14  Nikolas Zimmermann  <zimmermann@kde.org>
13546         Reviewed by Anders.
13548         Some fixes to get the Qt BuildSlave to run the LayoutTests.
13550         * Scripts/build-dumprendertree: No need to call cmake again.
13551         * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
13553 2006-10-13  Nikolas Zimmermann  <zimmermann@kde.org>
13555         Reviewed by Eric.
13557         Force --no-http on Qt/Linux.
13559         * Scripts/run-webkit-tests:
13561 2006-10-13  Kevin McCullough  <KMcCullough@apple.com>
13563         Reviewed by Adam.
13565         Gets JavaScripCore tests running on windows.
13567         * Scripts/run-javascriptcore-tests:
13568         * Scripts/webkitdirs.pm:
13570 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
13572         Reviewed by Maciej.
13574         Exclude some tests which crash or hang from Qt/Linux DRT.
13575         These are known to fail, and will be fixed at some point :-)
13577         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13578         (WebCore::DumpRenderTree::DumpRenderTree):
13579         (WebCore::DumpRenderTree::open):
13580         (WebCore::DumpRenderTree::readStdin):
13581         (WebCore::DumpRenderTree::readSkipFile):
13582         (WebCore::DumpRenderTree::checkLoaded):
13583         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13584         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
13586 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
13588         Reviewed by Maciej.
13590         Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
13592         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
13593         (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
13594         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
13596 2006-10-12  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
13598         Reviewed by Maciej.
13600         Also regenerate GdkLauncher makefiles, since not doing that might
13601         lead to mismatch between WebCore and GdkLauncher compiler settings.
13603         * Scripts/regenerate-makefiles:
13605 2006-10-10  David Smith  <catfish.man@gmail.com>
13607         Reviewed by Tim H.
13609         Bug 11246: Minor Drosera code cleanup
13610         http://bugs.webkit.org/show_bug.cgi?id=11246
13612         * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
13614 2006-10-10  Vladimir Olexa  <vladimir.olexa@gmail.com>
13616         Reviewed by Tim H.
13618         Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778 
13620         * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
13621         * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
13622         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
13623         * Drosera/Images/SourceArrowOpen.png: Added.
13624         * Drosera/Images/fileIcon.jpg: Added.
13625         * Drosera/Images/siteCollapsed.tif: Added.
13626         * Drosera/Images/siteExpanded.tif: Added.
13627         * Drosera/Images/siteIcon.tif: Added.
13628         * Drosera/debugger.css: Added File Browser styles
13629         * Drosera/debugger.html: Added File Browser UI
13630         * Drosera/debugger.js: Added File Browser functionality
13632 2006-10-10  Darin Adler  <darin@apple.com>
13634         * Scripts/do-file-rename: Added.
13636 2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
13638         Reviewed by Geoff.
13640         Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
13641         a page. This allows automatic testing via e.g. valgrind.
13643         * GdkLauncher/gdklauncher.bkl:
13644         * GdkLauncher/main.cpp:
13645         (LauncherFrameGdk::LauncherFrameGdk):
13646         (LauncherFrameGdk::setExitAfterLoading):
13647         (LauncherFrameGdk::handledOnloadEvents):
13648         (handle_event):
13649         (main):
13651 2006-10-06  David Smith  <catfish.man@gmail.com>
13653         Reviewed by Timothy.
13655         Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
13657         * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
13658         * Drosera/breakpointEditor.css: Added.
13659         * Drosera/breakpointEditor.html: Added.
13660         * Drosera/breakpointEditor.js: Added.
13661         * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
13663 2006-10-06  Nikolas Zimmermann  <zimmermann@kde.org>
13665         Reviewed by Tim H.
13667         Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
13669         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13670         (WebCore::DumpRenderTree::DumpRenderTree):
13672 2006-10-05  Oliver Hunt  <ohunt@apple.com>
13674         Reviewed by Anders.
13676         * Scripts/run-webkit-tests:
13677         Fix pixel tests.
13679 2006-10-04  Anders Carlsson  <acarlsson@apple.com>
13681         Reviewed by Darin.
13683         * Scripts/run-webkit-tests:
13684         Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test 
13685         results should be.
13687 2006-10-05  Nikolas Zimmermann  <zimmermann@kde.org>
13689         Reviewed and landed by ap.
13691         Cmake: make it possible to install the libraries after having built using 'build-webkit'.
13692         Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
13694         * Scripts/webkitdirs.pm:
13696 2006-10-04  Mark Rowe  <bdash@webkit.org>
13698         Reviewed by Stephanie.
13700         Switch the Qt buildbot to the standard set of build steps.
13701         Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
13702         see if any regressions were spotted, and fail the test if so.
13704         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: 
13705         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
13706         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
13708 2006-10-04  Timothy Hatcher  <timothy@apple.com>
13710         Reviewed by Mitz Pettel!
13712         Bug 10708: [Drosera] Make the console input plaintext-only
13713         http://bugs.webkit.org/show_bug.cgi?id=10708
13715         Change the console input -webkit-user-modify property to
13716         read-write-plaintext-only.
13718         * Drosera/console.css:
13720 2006-10-04  David Smith  <catfish.man@gmail.com>
13722         Reviewed by Tim H.
13724         Bug 10473: [Drosera] Overlapping text in JavaScript Console
13725         http://bugs.webkit.org/show_bug.cgi?id=10473
13727         Using min-height instead of height to avoid overlapping text.
13729         * Drosera/console.css:
13731 2006-10-04  David Smith  <catfish.man@gmail.com>
13733         Reviewed by Tim H.
13735         Added a bash-style command history.
13737         * Drosera/console.js:
13739 2006-10-03  Anders Carlsson  <acarlsson@apple.com>
13741         Reviewed by Adam and Brady.
13743         * DumpRenderTree/DumpRenderTree.m:
13744         (main):
13745         Update URL to Ahem.ttf
13747 2006-10-03  Darin Adler  <darin@apple.com>
13749         * Scripts/commit-log-editor: Added missing "close" call. Oops!
13751 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
13753         Reviewed by eseidel.  Landed by eseidel.
13755         Offer a way for BuildBot to not colorize the cmake output, when building
13756         with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
13758         Default is colorize output, though only Qt platform handles this for now.
13760         * Scripts/build-dumprendertree:
13761         * Scripts/build-webkit:
13762         * Scripts/webkitdirs.pm:
13764 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
13766         Reviewed by eseidel.  Landed by eseidel.
13768         Make all important scripts work with Qt/Linux.
13770         You can safely use this now:
13771         set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
13773         * Scripts/build-dumprendertree:
13774         * Scripts/run-javascriptcore-tests:
13775         * Scripts/run-webkit-tests:
13776         * Scripts/webkitdirs.pm:
13778 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
13780         Reviewed by Eric.
13782         build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
13784         * Scripts/webkitdirs.pm:
13786 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
13788         Reviewed/landed by Adam.
13790         Proper build-webkit support for Qt/Linux.
13792         Compilation process is similar to OSX now, aka.
13793         the build directory is RootCheckoutDir/WebKitBuild now.
13795         * Scripts/build-webkit: Recognize Qt.
13796         * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
13798 2006-10-01  Mark Rowe  <opendarwin.org@bdash.net.nz>
13800         Reviewed by Maciej.
13802         Add QT build slave to Buildbot.
13804         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
13805         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
13806         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming.  Use the IRC bot in #webkit-build instead.
13807         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
13809 2006-09-28  David Harrison  <harrison@apple.com>
13811         Suggested by Darin.
13812         
13813         Moved an extern declaration from inside a method to the top of the file.
13815         * DumpRenderTree/EventSendingController.m:
13816         (-[EventSendingController clearKillRing]):
13818 2006-09-28  David Harrison  <harrison@apple.com>
13820         Reviewed by Justin.
13821         
13822         Add clearKillRing so we can test emacs support with empty kill ring.
13824         * DumpRenderTree/EventSendingController.m:
13825         (+[EventSendingController isSelectorExcludedFromWebScript:]):
13826         (+[EventSendingController webScriptNameForSelector:]):
13827         (-[EventSendingController clearKillRing]):
13829 2006-09-27  MorganL  <morganl.webkit@yahoo.com>
13831         Reviewed by Maciej, landed by Brady
13833         Fix URL bar updating.
13835         * Spinneret/Spinneret/Spinneret.h:
13836         (SpinneretWebHost::didStartProvisionalLoadForFrame):
13837         (SpinneretWebHost::didCommitLoadForFrame):
13838         (SpinneretWebHost::didFinishLoadForFrame):
13840 2006-09-23  Sam Weinig  <sam.weinig@gmail.com>
13842         Reviewed by Eric.
13844         Build Fix.
13846         * DumpRenderTree/EventSendingController.m:
13847         (-[EventSendingController enableDOMUIEventLogging:]):
13849 2006-09-22  Justin Garcia  <justin.garcia@apple.com>
13851         Reviewed by darin
13853         * Scripts/do-webcore-rename:
13855 2006-09-21  Timothy Hatcher  <timothy@apple.com>
13857         Reviewed by Adam.
13859         Bug 10923: Frame scroll layout test failures on the buildbot
13860         http://bugs.webkit.org/show_bug.cgi?id=10923
13861         
13862         Added a new method that will toggle on the recursive dump of
13863         child frame scroll positions.
13865         * DumpRenderTree/DumpRenderTree.m:
13866         (dumpFrameScrollPosition):
13867         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13868         (-[LayoutTestController dumpChildFrameScrollPositions]):
13870 2006-09-19  Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13872         Reviewed by eseidel.  Landed by eseidel.
13873         
13874         Detect that close button was pressed and exit cleanly.
13876         * GdkLauncher/main.cpp:
13877         (handle_event):
13878         (main):
13880 2006-09-17  Adam Roben  <aroben@apple.com>
13882         Reviewed by hyatt, sfalken.
13884         Get DumpRenderTree compiling and limping along on Windows.
13886         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13887         (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
13888         (main): Add NULL argument to Page constructor.
13889         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
13890         * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
13892 2006-09-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
13894         Reviewed by Brady.
13896         http://bugs.webkit.org/show_bug.cgi?id=10635
13897         Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
13899         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
13900         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
13901         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot.  Always do clean SVG builds.
13903 2006-09-09  Sam Weinig  <sam.weinig@gmail.com>
13905         Reviewed by Eric.
13907         Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
13908         Even More Objective-C DOM auto-generation cleanup
13910         - Change to use new, more Objectice-C'ish version of
13911           DOMKeyboardEvent's initKeyboardEvent.  Fixes an error with
13912           regression test for fast/events/dblclick-addEventListener.html.
13914         * DumpRenderTree/EventSendingController.m:
13915         (-[EventSendingController fireKeyboardEventsToElement:]):
13917 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
13919         Reviewed by Tim H.
13921         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
13922         Move QtLauncher down to WebKitQt.
13924         * QtLauncher/CMakeLists.txt: Removed.
13925         * QtLauncher/main.cpp: Removed.
13927 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
13929         Reviewed by Darin.
13931         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
13932         Adjust DumpRenderTree to the FrameQtClient changes.
13934         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
13935         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13936         (WebCore::DumpRenderTree::DumpRenderTree):
13937         (WebCore::DumpRenderTree::~DumpRenderTree):
13938         (WebCore::DumpRenderTree::frame):
13939         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13940         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
13941         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
13942         (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
13943         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
13945 2006-09-03  Darin Adler  <darin@apple.com>
13947         * Scripts/do-webcore-rename: More renaming plans.
13949 2006-09-03  Alexey Proskuryakov  <ap@nypop.com>
13951         Reviewed by Tim H.
13953         http://bugs.webkit.org/show_bug.cgi?id=10693
13954         Convert JavaScript arrays to AppleScript lists
13956         * DumpRenderTree/AppleScriptController.m:
13957         (convertAEDescToObject):
13958         (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
13960 2006-08-31  Darin Adler  <darin@apple.com>
13962         * Scripts/do-webcore-rename: Prepare for another round of renaming.
13964 2006-08-29  Dan Waylonis  <waylonis@google.com>
13966         Reviewed by ggaren.
13968         - Verification of exceptions thrown in a plugin.  Test for bug 10114.
13969         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13970         * DumpRenderTree/ObjCPlugin.m:
13971         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
13972         (+[ObjCPlugin webScriptNameForSelector:]):
13973         (-[ObjCPlugin throwIfArgumentIsNotHello:]):
13975 2006-08-30  Nikolas Zimmermann  <zimmermann@kde.org>
13977         Reviewed by Tim H.
13979         Commit KDE related tweaks, to be able to
13980         differentiate between a Qt-only or a KDE build.
13982         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
13983         * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
13985 2006-08-29  Darin Adler  <darin@apple.com>
13987         Reviewed by Tim Hatcher.
13989         * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
13990         to work around what seems to be a bug in some versions of gdb.
13992 2006-08-16  Tim Omernick  <timo@apple.com>
13994         Reviewed by John Sullivan.
13996         Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
13997         <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
13998         in Firefox
14000         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
14001         (NPP_GetValue):
14002         WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox.  NPObject return values
14003         are expected to be retained by the plug-in, and released by the caller.
14005 2006-08-28  Nikolas Zimmermann  <zimmermann@kde.org>
14007         Reviewed by Tim Hatcher.
14008         
14009         Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
14011         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14012         (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
14013         Qt's DumpRenderTree.
14015       * Scripts/run-webkit-tests:
14016         Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
14018 2006-08-28  Darin Adler  <darin@apple.com>
14020         Reviewed by Tim Hatcher.
14022         * Scripts/build-drosera: Fix behavior when there are multiple options.
14024 2006-08-27  Timothy Hatcher  <timothy@apple.com>
14026         Reviewed by Anders.
14028         Drosera will be built when you type make.
14030         * Drosera/Makefile: Added.
14031         * Makefile: Added.
14032         * Makefile.shared: Added.
14034 2006-08-27  Anders Carlsson  <acarlsson@apple.com>
14036         Forgot to add these.
14037         
14038         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
14039         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
14040         (WebCore::DumpRenderTree::DumpRenderTree):
14041         (WebCore::DumpRenderTree::~DumpRenderTree):
14042         (WebCore::DumpRenderTree::open):
14043         (WebCore::DumpRenderTree::readStdin):
14044         (WebCore::DumpRenderTree::checkLoaded):
14045         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
14046         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
14047         (main):
14049 2006-08-27  Nikolas Zimmermann  <zimmermann@kde.org>
14051         Reviewed by Eric, landed by Anders.
14053         Add DumpRenderTree support for Qt/Linux.
14055         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
14056         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
14057         (WebCore::DumpRenderTree::DumpRenderTree):
14058         (WebCore::DumpRenderTree::~DumpRenderTree):
14059         (WebCore::DumpRenderTree::open):
14060         (WebCore::DumpRenderTree::readStdin):
14061         (WebCore::DumpRenderTree::checkLoaded):
14062         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
14063         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
14064         (main):
14065         * Scripts/build-dumprendertree:
14066         * Scripts/run-webkit-tests:
14067         * Scripts/webkitdirs.pm:
14069 2006-08-24  Nikolas Zimmermann  <zimmermann@kde.org>
14071         Reviewed by Eric. Landed by rwlbuis.
14073         Add QtLauncher (was testunity before), which provides a
14074         standalone "browser" to test the Qt platform stuff.
14076         * QtLauncher/CMakeLists.txt: Added.
14077         * QtLauncher/main.cpp: Added.
14078         (main):
14080 2006-08-22  Trey Matteson  <trey@usa.net>
14082         Reviewed by ggaren.
14084         Added support for a new set of browser navigation tests.  The main feature
14085         is the ability for a test to queue up a set of future actions that will
14086         happen after that first page is loaded.  This is used to simulate a sequence
14087         of user actions such as filling out forms, loading additional pages or
14088         going back.  In addition we can now dump out the state of the back/forward
14089         list, and the scroll position is dumped if not at 0,0.
14091         * DumpRenderTree/DumpRenderTree.m:
14092         (main):  Init new state
14093         (compareHistoryItems):  New utility to support sorting.
14094         (dumpHistoryItem):  Write out a WebHistoryItem and kids.
14095         (dumpFrameScrollPosition):  Write out the scroll position.
14096         (dump):  Optionally write b/f list or scroll position.
14097         (-[WaitUntilDoneDelegate processWork:]):  Perform queued work.
14098         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
14099         Kick off any queued actions.  Fixed for the case of loads started in
14100         a subframe instead of the root frame.
14101         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
14102         Grab the topmost frame that is being loaded.  Do this as early as possible,
14103         instead of in didCommitLoadForFrame.
14104         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
14105         Noting a load has started now happens in previous method.
14106         (+[LayoutTestController isSelectorExcludedFromWebScript:]):  Boilerplate
14107         (+[LayoutTestController webScriptNameForSelector:]):  Boilerplate
14108         (-[LayoutTestController notifyDone]):  readyToDump var is subsumed by
14109         topFrameLoading
14110         (-[LayoutTestController dumpBackForwardList]):  New impl, just set a bit.
14111         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
14112         Add new work to the queue.
14113         (-[LayoutTestController _doLoad:target:]):  Do a queued load.
14114         (-[LayoutTestController _doBackOrForwardNav:]):  Do a queued back/forward.
14115         (-[LayoutTestController scheduleBackNav:]):  Ways for scripts to queue actions
14116         (-[LayoutTestController scheduleForwardNav:]):
14117         (-[LayoutTestController scheduleReload]):
14118         (-[LayoutTestController scheduleScript:]):
14119         (-[LayoutTestController scheduleLoad:target:]):
14120         (runTest):  Clear new state for each test.  Renamed from "dumpRenderTree"
14121         since it's not one of the functions that does any dumping.
14123 2006-08-15  Jonas Witt <jonas.witt@gmail.com>
14125         Reviewed by Darin.
14127         - added a function to create a few DOMKeyboardEvents and dispatch
14128           them to a specified HTML element
14129           http://bugs.webkit.org/show_bug.cgi?id=9736
14131         * DumpRenderTree/EventSendingController.m:
14132         (+[EventSendingController isSelectorExcludedFromWebScript:]):
14133         (+[EventSendingController webScriptNameForSelector:]):
14134         (-[EventSendingController fireKeyboardEventsToElement:]):
14136 2006-08-15  Duncan Wilcox  <duncan@mclink.it>
14138         Reviewed and tweaked by Darin.
14140         - added DumpRenderTree support so editing delegate can be made to refuse edits
14141           to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
14143         * DumpRenderTree/DumpRenderTree.m:
14144         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
14145         to the list of methods.
14146         (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
14147         without the colon, for the JavaScript name.
14148         (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
14149         delegate.
14150         (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
14152         * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
14153         setter methods to the class.
14154         * DumpRenderTree/EditingDelegate.m:
14155         (-[EditingDelegate init]): Initialize acceptsEditing to YES.
14156         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
14157         return the value of acceptsEditing.
14158         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
14159         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
14160         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
14161         (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
14162         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
14163         Ditto.
14164         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
14165         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
14166         (-[EditingDelegate setAcceptsEditing:]): Added.
14168 2006-08-03  Mark Rowe  <opendarwin.org@bdash.net.nz>
14170         Reviewed by Darin.
14172         Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
14173         http://bugs.webkit.org/show_bug.cgi?id=10224
14175         * Drosera/Drosera.xcodeproj/project.pbxproj:
14176         * Drosera/LauncherInfo.plist:
14178 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
14180         - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
14181           when a test performs an unsuccessful drag and drop operation.
14183         * DumpRenderTree/EventSendingController.m:
14184         (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
14185         drag operation for the mouse release is NSDragOperationNone.
14187 2006-08-02  Timothy Hatcher  <timothy@apple.com>
14189         Reviewed by Darin.
14191         Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
14192         http://bugs.webkit.org/show_bug.cgi?id=9632
14194         Do not change the file source when normalizing the line endings.
14195         We use this file source to compare against new versions of the source
14196         as it comes in, so we can skip re-syntax highlighting if they are the same.
14197         The problem is apparent on yahoo.com since they have mixed line endings and
14198         once we normalize them the source will always be different. This was
14199         compounded by the fact that yahoo has around 40 inline scripts. Each
14200         inline script causes us to check if the main document has more loaded,
14201         that is when we compare the source strings. Since they are always different
14202         we would syntax highlight yahoo.com 40 times! We do check source length before
14203         doing a more expensive string comparison, but the lengths were the same.
14205         * Drosera/debugger.js:
14207 2006-08-02  Niels Leenheer  <niels.leenheer@gmail.com>
14209         Reviewed by Timothy.
14211         Bug 9931: [Drosera] Needs a cool icon
14212         http://bugs.webkit.org/show_bug.cgi?id=9931
14214         * Drosera/Drosera.icns: Added.
14215         * Drosera/Drosera.xcodeproj/project.pbxproj:
14216         * Drosera/Info.plist:
14218 2006-08-01  Darin Adler  <darin@apple.com>
14220         - fix a bug in my recent change where the mouse position at the end of
14221           the last test would affect the results of the next test
14223         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
14225 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
14227         Reviewed by Maciej.
14229         http://bugs.webkit.org/show_bug.cgi?id=10182
14230         Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
14232         * Drosera/console.js: String.indexOf returns -1 when the string is not found.
14233         Correct the logic to not reload local variable list unless an '=' character is in the expression.
14235 2006-07-31  Darin Adler  <darin@apple.com>
14237         Reviewed by Maciej.
14239         - fix http://bugs.webkit.org/show_bug.cgi?id=10171
14240           REGRESSION: failing layout test: fast/events/objc-event-api.html
14242         * DumpRenderTree/DumpRenderTree.m:
14243         (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
14244         location in flipped coordinates, since those are the coordinates that we use.
14245         (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
14246         inside WebHTMLView.
14248         * DumpRenderTree/EventSendingController.m:
14249         (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
14250         (-[EventSendingController init]): Removed, since the whole thing was a no-op.
14251         (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
14252         probably worked OK, but this is needed to be correct.
14253         (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
14254         code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
14255         position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
14256         dump the screenY as-is.
14258 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
14260         Reviewed by Darin.
14262         http://bugs.webkit.org/show_bug.cgi?id=10178
14263         Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
14265         * Drosera/debugger.js:  Keep a stack that contains the source file and line number references for outer
14266         frames.  Use this stack to determine which file and line to highlight when a stack frame is selected.
14268 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
14270         Reviewed by Darin.
14272         http://bugs.webkit.org/show_bug.cgi?id=10175
14273         Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
14275         * Drosera/DebuggerDocument.m:
14276         (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
14278 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
14280         Reviewed by Darin.
14282         http://bugs.webkit.org/show_bug.cgi?id=10167
14283         Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
14285         * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
14286         in keyDown handler.
14288 2006-07-30  Mark Rowe  <opendarwin.org@bdash.net.nz>
14290         Reviewed by Maciej.
14292         Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
14293         http://bugs.webkit.org/show_bug.cgi?id=9686
14295         * Drosera/DebuggerDocument.m:
14296         (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
14297         ensure that the server does not try and notify us of events related to the resumption.
14298         (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
14299         call through to JavaScript.
14300         * Drosera/debugger.js: Pause debugger when exception is raised.
14302 2006-07-29  Mike Emmel  <mike.emmel@gmail.com>
14304         Reviewed by Darin.
14306         - fixes for Linux build
14308         * GdkLauncher/mk: Added call to bakefile_gen before calling make.
14309         * GdkLauncher/gdklauncher.bkl: Tweak comment.
14311 2006-07-24  Dan Waylonis  <waylonis@google.com>
14313         Reviewed and tweaked a bit by Darin.
14315         * DumpRenderTree/ObjCPlugin.m:
14316         (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
14317         (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
14318         "echo:" so it's nice to call from JavaScript.
14319         (-[ObjCPlugin echo:]): Just returns the same object -- can be used
14320         to test a round trip through Objective-C types.
14322 2006-07-24  Alexey Proskuryakov  <ap@nypop.com>
14324         Reviewed by Darin.
14326         Fix http://bugs.webkit.org/show_bug.cgi?id=10060
14327         Improve iExploder results parsing
14329         * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results 
14330         in random mode, too.
14332 2006-07-18  David Kilzer  <ddkilzer@kilzer.net>
14334         Reviewed by Timothy.
14336         - fix http://bugs.webkit.org/show_bug.cgi?id=9964
14337           Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
14339         * Scripts/prepare-ChangeLog: Added --[no-]update switch.
14341 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
14343         Reviewed by Darin.
14345         * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
14346         Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
14347         * GdkLauncher/mk:
14348         Removed "Property changes" that snuck in as part of the "apply patch" process.
14350 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
14352         Reviewed by Darin.
14354         - fix http://bugs.webkit.org/show_bug.cgi?id=9875
14355           Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
14357         * Scripts/svn-apply:
14358         (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
14359         (checksum): Added.
14360         (patch): Use patch(1) for non-binary additions and deletions.
14361         * Scripts/svn-unapply:
14362         (checksum): Added.
14363         (patch): Use patch(1) for reverting non-binary additions and deletions.
14364         (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
14366 2006-07-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
14368         Reviewed by Timothy.
14370         Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
14371         http://bugs.webkit.org/show_bug.cgi?id=9889
14373         * Drosera/debugger.js:  Track whether we paused during the execution of willLeaveFrame.  If
14374         so, have stepOut pause on the next call to willExecuteStatement rather than second.
14376 2006-07-12  David Kilzer  <ddkilzer@kilzer.net>
14378         Reviewed by Darin.
14380         - fix http://bugs.webkit.org/show_bug.cgi?id=9848
14381           Teach svn-create-patch and friends to fix ChangeLog patches
14383         * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
14384         * Scripts/svn-create-patch: Ditto.
14385         * Scripts/svn-unapply: Ditto.
14387 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
14389         Reviewed by ggaren.
14391         Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
14392         http://bugs.webkit.org/show_bug.cgi?id=9869
14394         * Drosera/DebuggerDocument.m:
14395         (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
14397 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
14399         Reviewed by ggaren.
14401         Bug 9863: Drosera needs to show something at launch
14402         http://bugs.webkit.org/show_bug.cgi?id=9863
14404         * Drosera/DebuggerApplication.m:
14405         (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
14407 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
14409         Reviewed by Timothy.
14410         
14411         Lets Drosera build universal for the nightlies. Right now it is not
14412         possible to build a universal binary on a PPC machine because of a
14413         conflict with the universal SDK.
14415         * BuildSlaveSupport/build-launcher-app:
14416         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
14418 2006-07-11  Alexey Proskuryakov  <ap@nypop.com>
14420         Reviewed by Tim O.
14422         - test for http://bugs.webkit.org/show_bug.cgi?id=7808
14423         Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
14425         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
14426         (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
14427         should open a new stream and deliver the data to the current instance.
14429 2006-07-11  Timothy Hatcher  <timothy@apple.com>
14431         Reviewed by Darin.
14433         Bug 9598: [Drosera] add a JavaScript evaluator console
14434         http://bugs.webkit.org/show_bug.cgi?id=9598
14436         * Drosera/DebuggerApplication.h:
14437         * Drosera/DebuggerApplication.m:
14438         (-[DebuggerApplication knownServers]):
14439         * Drosera/DebuggerDocument.h:
14440         * Drosera/DebuggerDocument.m:
14441         (-[WebScriptObject evaluateScript:inCallFrame:]):
14442         (-[WebScriptObject showConsole:]):
14443         (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
14444         (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
14445         (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
14446         (-[WebScriptObject webView:createWebViewWithRequest:]):
14447         (-[WebScriptObject webViewShow:]):
14448         (-[WebScriptObject webViewAreToolbarsVisible:]):
14449         (-[WebScriptObject webView:setToolbarsVisible:]):
14450         (-[WebScriptObject webView:setResizable:]):
14451         (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
14452         (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
14453         (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
14454         (-[WebScriptObject webView:windowScriptObjectAvailable:]):
14455         (-[WebScriptObject webView:didFinishLoadForFrame:]):
14456         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
14457         * Drosera/Drosera.xcodeproj/project.pbxproj:
14458         * Drosera/Images/console.png: Added.
14459         * Drosera/console.css: Added.
14460         * Drosera/console.html: Added.
14461         * Drosera/console.js: Added.
14463 2006-07-11  Timothy Hatcher  <timothy@apple.com>
14465         Reviewed by a tired Geoff.
14467         Bug 9597: [Drosera] hook up the variables table to show stack variables
14468         http://bugs.webkit.org/show_bug.cgi?id=9597
14470         * Drosera/DebuggerDocument.m:
14471         (-[WebScriptObject isSelectorExcludedFromWebScript:]):
14472         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
14473         (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
14474         (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
14475         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
14476         (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
14477         (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
14478         (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
14479         (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
14480         (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
14481         * Drosera/debugger.css:
14482         * Drosera/debugger.html:
14483         * Drosera/debugger.js:
14485 2006-07-10  Tim Omernick  <timo@apple.com>
14487         Reviewed by Beth Dakin.
14489         <http://bugs.webkit.org/show_bug.cgi?id=9844>:
14490         Add DOM access test to DumpRenderTree's Netscape plug-in
14492         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
14493         (testDOMAccess):
14494         (pluginInvoke):
14496 2006-07-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
14498         Reviewed by Darin.
14500         - http://bugs.webkit.org/show_bug.cgi?id=9839
14501           Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
14503         Now track three states: initializing, running, and closed.  If we are launched and the previous
14504         state was initializing then we likely just experienced a crash on launch.
14506         * WebKitLauncher/WebKitNightlyEnabler.m:
14507         (myApplicationWillFinishLaunching): Improve wording of dialog.  Update to set new running state.
14508         (myApplicationWillTerminate): Update to use new states.
14509         (cleanUpAfterOurselves): Display alert if previous state was initializing.  Set state as
14510         initializing as early as practical.
14511         (symbol_lookup): Bring code up to speed with formatting guidelines.
14512         (GDSymbolLookup): Ditto.
14514 2006-07-10  Darin Adler  <darin@apple.com>
14516         - try to fix Windows build
14518         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
14519         Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
14521 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
14523         Build fix.
14525         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
14526           devenv.com not available in VC++ Express installations
14528         * Scripts/webkitdirs.pm: Backed out previous change.
14530 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
14532         Reviewed by Darin.
14534         - http://bugs.webkit.org/show_bug.cgi?id=9693
14535           svn-apply should set ChangeLog date correctly when applying patches
14537         * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
14538         before applying the patch.
14539         * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
14541 2006-07-09  Darin Adler  <darin@apple.com>
14543         * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
14545 2006-07-09  Darin Adler  <darin@apple.com>
14547         * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
14549 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
14551         - http://bugs.webkit.org/show_bug.cgi?id=7802
14552           devenv.com not available in VC++ Express installations
14554         * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
14555         work again.  Add VC++ Express check as the fallback.
14557 2006-07-09  Bjoern Graf  <bjoern.graf@gmail.com>
14559         Reviewed by Timothy Hatcher.
14561         - http://bugs.webkit.org/show_bug.cgi?id=7802
14562           devenv.com not available in VC++ Express installations
14564         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
14566 2006-07-09  Joost de Valk  <jdevalk@opendarwin.org>
14568         Reviewed by Eric.
14570         Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
14571         Patch by coldwinter@katamail.com.
14573         In the congratulations message, "capatibilies" should be "capabilities".
14575         * Scripts/build-webkit: 
14577 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
14579         Reviewed by Timothy Hatcher.
14581         - http://bugs.webkit.org/show_bug.cgi?id=9794
14582           Teach run-webkit-tests how to ignore tests with performance improvements
14584         * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
14585         feature, and minor clean up.
14587 2006-07-08  Darin Adler  <darin@apple.com>
14589         Reviewed by Geoff (well, half of it at least).
14591         - http://bugs.webkit.org/show_bug.cgi?id=9788
14592           storage leaks in Objective-C tests
14594         * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
14595         * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
14596         Add a release to fix a storage leak.
14598 2006-07-08  Darin Adler  <darin@apple.com>
14600         * Scripts/do-webcore-rename: A few more.
14602 2006-07-08  Darin Adler  <darin@apple.com>
14604         * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
14606 2006-07-04  Maciej Stachowiak  <mjs@apple.com>
14608         Reviewed by Darin.
14609         
14610         http://bugs.webkit.org/show_bug.cgi?id=9734
14611         - add support for dumping non-HTML as text - in this case use textContent
14612         instead of innerText
14614         * DumpRenderTree/DumpRenderTree.m:
14615         (dump):
14617 2006-07-02  Timothy Hatcher  <timothy@apple.com>
14619         Reviewed by Eric.
14621         Bug 9631: [Drosera] Add "Step Over" and "Step Out"
14622         http://bugs.webkit.org/show_bug.cgi?id=9631
14623         
14624         Adds step over and step out. Along with a little code cleanup
14625         that was minor enough to piggyback on this fix.
14627         * Drosera/DebuggerDocument.h:
14628         * Drosera/DebuggerDocument.m:
14629         (-[DebuggerDocument stepOver:]):
14630         (-[DebuggerDocument stepOut:]):
14631         (-[DebuggerDocument windowDidLoad]):
14632         (-[DebuggerDocument windowWillClose:]):
14633         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
14634         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
14635         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
14636         (-[DebuggerDocument validateUserInterfaceItem:]):
14637         * Drosera/Drosera.xcodeproj/project.pbxproj:
14638         * Drosera/debugger.html:
14639         * Drosera/debugger.js:
14640         * Drosera/viewer.css:
14642 2006-07-02  Timothy Hatcher  <timothy@apple.com>
14644         Reviewed by Eric.
14646         Bug 9628: [Drosera] Split Views acting oddly
14647         http://bugs.webkit.org/show_bug.cgi?id=9628
14648         
14649         Only update the last X or Y coordinate if the new
14650         size was not constrained. Also adds the resize cursor to
14651         the body during the drag incase there is a constrained 
14652         over drag off of the resizer element.
14654         * Drosera/debugger.js:
14656 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
14658         Reviewed by Alexey Proskuryakov.
14660         Bug 9692: Warning about Safari extensions on every launch is obnoxious
14661         http://bugs.webkit.org/show_bug.cgi?id=9692
14663         * WebKitLauncher/WebKitNightlyEnabler.m:
14664         (myApplicationWillTerminate): Note that we are exiting cleanly.
14665         (cleanUpAfterOurselves): Install bundle load tracking only if we failed
14666          to exit cleanly on our last invocation.  This doesn't play nicely with
14667          multiple concurrent instances of WebKit.app so it can be disabled via
14668          defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
14670 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
14672         Reviewed by Alexey Proskuryakov.
14674         Bug 9654: Refresh Loop when accessing feed URLs
14675         http://bugs.webkit.org/show_bug.cgi?id=9654
14677         * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
14679 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
14681         Reviewed by Timothy Hatcher.
14683         Bug 9689: Nightly builds should warn a user about potential problems when using
14684         "Safari extensions"
14685         http://bugs.webkit.org/show_bug.cgi?id=9689
14687         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
14688         * WebKitLauncher/WebKitNightlyEnabler.m:
14689         (myBundleDidLoad): Keep track of if any bundles that are loaded.
14690         (myApplicationWillFinishLaunching):  Notify user if any bundles are loaded.
14691         (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
14692         NSApplicationWillFinishLaunchingNotification notifications so that we can
14693         track bundle loads and notify the user at launch completion.
14695 2006-06-30  Mike Emmel  <mike.emmel@gmail.com>
14697         Reviewed by Darin.
14699         - first check-in of a Gdk shell for testing WebKit
14701         * GdkLauncher: Added.
14703 2006-06-29  Timothy Hatcher  <timothy@apple.com>
14705         Reviewed by Darin.
14707         Need to call window close so WebView tears-down completly.
14709         * DumpRenderTree/DumpRenderTree.m:
14710         (main): call [window close]
14712 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
14714         Reviewed by Darin.
14716         Bug 9615: Buildbot configuration should be in SVN repository
14717         http://bugs.webkit.org/show_bug.cgi?id=9615
14719         Import BuildBot configuration files as used by build.webkit.org.
14720         auth.py has been stubbed out so that slave passwords are not disclosed.
14722         * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
14723         * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
14724         * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
14725         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
14726         * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
14727         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
14728         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
14729         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
14730         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
14731         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
14732         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
14733         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
14735 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
14737         Reviewed by Darin.
14739         Bug 9614: Nightly builds should notify user if a newer build is available
14740         http://bugs.webkit.org/show_bug.cgi?id=9614
14742         * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
14743         * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
14744         script so it can keep track of the latest revision.
14745         * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
14746         * WebKitLauncher/VERSION: Added.  Placeholder for SVN revision number
14747         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
14748         * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
14749         the nightly start page.
14751 2006-06-26  Jonas Witt  <jonas.witt@gmail.com>
14753         Reviewed by Darin.
14755         Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
14756         http://bugs.webkit.org/show_bug.cgi?id=9579
14758         Report screenY values as (height of zero screen - screenY)
14760         * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
14762 2006-06-25  Timothy Hatcher  <timothy@apple.com>
14764         Reviewed by Geoff.
14766         Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
14767         http://bugs.webkit.org/show_bug.cgi?id=9591
14768         
14769         Makes breakpoints dragable. If dragged off the gutter they are deleted.
14771         * Drosera/debugger.js:
14772         * Drosera/viewer.css:
14774 2006-06-25  Timothy Hatcher  <timothy@apple.com>
14776         Reviewed by Darin.
14777         
14778         Bug 9568: assertion failure in Safari after quitting Drosera
14779         http://bugs.webkit.org/show_bug.cgi?id=9568
14781         Call switchToServerNamed:nil and not removeLister to make sure
14782         the server object is set to nil to prevent further removeListener calls.
14784         * Drosera/DebuggerDocument.m:
14785         (-[DebuggerDocument applicationTerminating:]):
14787 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
14789         Reviewed by Darin.
14791         * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
14792         that the directory is not empty instead of reading in every single file and directory first,
14793         then checking the count.  Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
14794         defined.
14796 2006-06-25  Darin Adler  <darin@apple.com>
14798         * Scripts/svn-apply: Tweak comments.
14799         * Scripts/svn-create-patch: Ditto.
14800         * Scripts/svn-unapply: Ditto.
14802 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
14804         Formatting fix per Bug 9571 Comment #2.
14806         http://bugs.webkit.org/show_bug.cgi?id=9571#c2
14808         * Scripts/svn-apply: Formatting fix.
14810 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
14812         Reviewed by Darin.
14814         http://bugs.webkit.org/show_bug.cgi?id=9571
14815         Teach svn-apply and svn-unapply to handle directory adds and removes better
14817         * Scripts/svn-apply: Handle directory adds more intelligently.  Handle directory removes.
14818         * Scripts/svn-unapply: Handle undoing both directory adds and removes.
14820 2006-06-25  Timothy Hatcher  <timothy@apple.com>
14822         Reviewed by Darin.
14824         Bug 9574: Drosera should show inline scripts within the original HTML
14825         http://bugs.webkit.org/show_bug.cgi?id=9574
14827         Refactor the JavaScript code to have a distinction between files
14828         and scripts. Show the script in the context of the HTML file if
14829         it's URL is the same as the frame's main resource. At the time of
14830         the disParseScript callback the main resource might not be completely
14831         loaded, but Drosera needs to show whatever we have at the time. Once
14832         the main resource is finished, update the file source and reload the file.
14834         * Drosera/DebuggerDocument.m:
14835         (-[DebuggerDocument pause]):
14836         (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
14837         (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
14838         (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
14839         * Drosera/debugger.css:
14840         * Drosera/debugger.js:
14842 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
14844         Reviewed by Darin.
14846         http://bugs.webkit.org/show_bug.cgi?id=9570
14847         Teach prepare-ChangeLog to operate on a list of files or directories
14849         * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
14850         * Scripts/svn-create-patch: Code refactoring.
14852 2006-06-24  James G. Speth  <speth@end.com>
14854         Reviewed by Darin.
14856         - http://bugs.webkit.org/show_bug.cgi?id=8843
14857           add a way to build Objective-C test cases in HTML
14859         Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
14860         allowing more extensive testing of the Obj-C API.  (and by more extensive, I mean this lets scripts do 
14861         pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
14862         objects, etc... )
14864         * DumpRenderTree/ObjCPlugin.h:
14865         * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
14866         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
14867         (+[ObjCPlugin webScriptNameForSelector:]):
14868         (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
14869         (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
14870         (+[NSObject allowsScriptsFullAccess]):
14871         (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
14872         (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
14873         (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
14874         (+[JSObjC webScriptNameForSelector:]):
14875         (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
14876         (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
14877         (-[JSObjC log:]): access to NSLog function
14878         (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
14879         (-[JSObjC classOfObject:]):
14880         (-[JSObjC classNameOfObject:]):
14882 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
14884         Reviewed by Timothy.
14886         * DrawTest/Info.plist: Added copyright statement.
14887         * Drosera/Info.plist: Ditto.
14888         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
14889         * WebKitLauncher/Info.plist: Ditto.
14891 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
14893         Build fix.
14895         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
14896           devenv.com not available in VC++ Express installations
14898         * Scripts/webkitdirs.pm: Backed out previous change.
14900 2006-06-24  Bjoern Graf  <bjoern.graf@gmail.com>
14902         Reviewed by Maciej.
14904         - http://bugs.webkit.org/show_bug.cgi?id=7802
14905           devenv.com not available in VC++ Express installations
14907         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
14909 2006-06-24  Alexey Proskuryakov  <ap@nypop.com>
14911         Reviewed by Darin.
14913         - http://bugs.webkit.org/show_bug.cgi?id=9564
14914           A bunch of fixes to run-webkit-httpd
14916         - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
14917           127.0.0.1. Useful for testing with WinIE running on another machine;
14918         - don't call checkFrameworks() - we do not need a built WebKit here;
14919         - changed tabs to spaces;
14920         - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
14921           interactive mode, they were a hassle when testing with several browsers, as one
14922           had to wait for connection to expire);
14923         - remove httpd.pid when done, so that Apache doesn't complain next time.
14925         * Scripts/run-webkit-httpd:
14927 2006-06-24  Jonas Witt <jonas.witt@gmail.com>
14929         Reviewed by ggaren, landed by ap.
14931         - http://bugs.webkit.org/show_bug.cgi?id=9181
14932           Complete DOMUIEvent Obj-C API to reflect UIEvent
14934         Add function to enable logging of all events of one DOM node to stdout.
14936         * DumpRenderTree/EventSendingController.h:
14937         * DumpRenderTree/EventSendingController.m:
14938         (+[EventSendingController initialize]):
14939         (+[EventSendingController isSelectorExcludedFromWebScript:]):
14940         (+[EventSendingController webScriptNameForSelector:]):
14941         (-[EventSendingController enableDOMUIEventLogging:]):
14942         (-[EventSendingController handleEvent:]):
14944 2006-06-23  Kevin Decker         <kdecker@apple.com>
14946         Reviewed by Tim Hatcher.
14948         - Made column headers in Drosera resizable.
14950 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
14952         Reviewed by ggaren.
14954         - see http://bugs.webkit.org/show_bug.cgi?id=9539
14955         Another case error preventing build
14957         * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
14959 2006-06-22  Timothy Hatcher  <timothy@apple.com>
14961         Reviewed by Eric.
14963         Adds a native toolbar to Drosera to be a good citizen.
14964         Adds a Debug menu with key-commands for Continue, Pause and Step Into.
14965         Fixes a dragging bug from an earlier fix to the divider code.
14966         Fixes some poor indenting in debugger.js.
14968         * Drosera/DebuggerDocument.h:
14969         * Drosera/DebuggerDocument.m:
14970         (-[DebuggerDocument stepInto]):
14971         (-[DebuggerDocument pause:]):
14972         (-[DebuggerDocument resume:]):
14973         (-[DebuggerDocument stepInto:]):
14974         (-[DebuggerDocument windowDidLoad]):
14975         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
14976         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
14977         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
14978         (-[DebuggerDocument validateUserInterfaceItem:]):
14979         * Drosera/English.lproj/MainMenu.nib/classes.nib:
14980         * Drosera/English.lproj/MainMenu.nib/info.nib:
14981         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
14982         * Drosera/debugger.css:
14983         * Drosera/debugger.html:
14984         * Drosera/debugger.js:
14985         * Drosera/viewer.html:
14987 2006-06-22  Kevin Decker         <kdecker@apple.com>
14989         Reviewed by Anders.
14991         - Added pressed column header image.
14992         - Made column headers behave more like Xcode.
14994 2006-06-22  Timothy Hatcher  <timothy@apple.com>
14996         Reviewed by Kevin Decker.
14998         Code clean up. Adds the stackframe and makes only the body
14999         of the tables scrollable keeping the header visible.
15000         Shows the current function stack when paused or stepping.
15002         * Drosera/DebuggerApplication.m:
15003         (-[DebuggerApplication awakeFromNib]):
15004         (-[DebuggerApplication numberOfRowsInTableView:]):
15005         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
15006         * Drosera/DebuggerDocument.h:
15007         * Drosera/DebuggerDocument.m:
15008         (-[DebuggerDocument dealloc]):
15009         (-[DebuggerDocument currentFrame]):
15010         (-[DebuggerDocument currentFrameFunctionName]):
15011         (-[DebuggerDocument currentFunctionStack]):
15012         (-[DebuggerDocument log:]):
15013         (-[DebuggerDocument windowWillClose:]):
15014         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
15015         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
15016         * Drosera/Drosera.xcodeproj/project.pbxproj:
15017         * Drosera/debugger.css:
15018         * Drosera/debugger.html:
15019         * Drosera/debugger.js:
15021 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
15023         Reviewed by Anders.
15025         Teach run-webkit-httpd to properly look for webkitdirs.pm.
15027         * Scripts/run-webkit-httpd:
15029 2006-06-22  Kevin Decker         <kdecker@apple.com>
15031         Reviewed by Tim Hatcher.
15033         - More progress toward Javascript Debugger. 
15034         - Added some new images to the project. 
15036 2006-06-21  Alexey Proskuryakov  <ap@nypop.com>
15038         Reviewed by Anders.
15040         - http://bugs.webkit.org/show_bug.cgi?id=9516
15041           Would like a script to run a httpd server with the same configuration as run-webkit-tests http
15043         * Scripts/run-webkit-httpd: Added.
15045 2006-06-20  Timothy Hatcher  <timothy@apple.com>
15047         Reviewed by Eric.
15049         Builds Drosera and a launcher to include with the nightly.
15051         * BuildSlaveSupport/build-launcher-app:
15052         * BuildSlaveSupport/build-launcher-dmg:
15053         * Drosera/Drosera.xcodeproj/project.pbxproj:
15054         * Drosera/Info.plist:
15055         * Drosera/LauncherInfo.plist: Added.
15056         * Drosera/launcher.m: Added.
15057         (displayErrorAndQuit):
15058         (checkMacOSXVersion):
15059         (myExecve):
15060         (main):
15061         * Scripts/build-drosera
15062         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
15063         * WebKitLauncher/main.m:
15064         (main):
15066 2006-06-20  Timothy Hatcher  <timothy@apple.com>
15068         Reviewed by Darin.
15069         
15070         Adds a JavaScript debugger, called Drosera. Named after
15071         a genus of bug eating plants.
15073         * Drosera/DebuggerApplication.h: Added.
15074         * Drosera/DebuggerApplication.m: Added.
15075         (-[DebuggerApplication applicationDidFinishLaunching:]):
15076         (-[DebuggerApplication serverLoaded:]):
15077         (-[DebuggerApplication serverUnloaded:]):
15078         (-[DebuggerApplication awakeFromNib]):
15079         (-[DebuggerApplication showAttachPanel:]):
15080         (-[DebuggerApplication attach:]):
15081         (-[DebuggerApplication numberOfRowsInTableView:]):
15082         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
15083         (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
15084         (-[DebuggerApplication tableViewSelectionDidChange:]):
15085         * Drosera/DebuggerDocument.h: Added.
15086         * Drosera/DebuggerDocument.m: Added.
15087         (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
15088         (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
15089         (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
15090         (+[DebuggerDocument isKeyExcludedFromWebScript:]):
15091         (-[DebuggerDocument initWithServerName:]):
15092         (-[DebuggerDocument windowWillClose:]):
15093         (-[DebuggerDocument dealloc]):
15094         (-[DebuggerDocument isPaused]):
15095         (-[DebuggerDocument pause]):
15096         (-[DebuggerDocument resume]):
15097         (-[DebuggerDocument step]):
15098         (-[DebuggerDocument windowNibName]):
15099         (-[DebuggerDocument windowDidLoad]):
15100         (-[DebuggerDocument switchToServerNamed:]):
15101         (-[DebuggerDocument applicationTerminating:]):
15102         (-[DebuggerDocument serverConnectionDidDie:]):
15103         (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
15104         (-[DebuggerDocument webView:didFinishLoadForFrame:]):
15105         (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
15106         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
15107         (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
15108         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
15109         * Drosera/Drosera.pch: Added.
15110         * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
15111         * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
15112         * Drosera/English.lproj/Debugger.nib/info.nib: Added.
15113         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
15114         * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
15115         * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
15116         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
15117         * Drosera/Images/breakPoint.tif: Added.
15118         * Drosera/Images/breakPointDisabled.tif: Added.
15119         * Drosera/Images/continue.tif: Added.
15120         * Drosera/Images/finishFunction.tif: Added.
15121         * Drosera/Images/glossyFooterFill.tif: Added.
15122         * Drosera/Images/glossyHeader.png: Added.
15123         * Drosera/Images/gradientBackground.png: Added.
15124         * Drosera/Images/gutter.png: Added.
15125         * Drosera/Images/navLeftDisabled.png: Added.
15126         * Drosera/Images/navLeftNormal.png: Added.
15127         * Drosera/Images/navLeftPressed.png: Added.
15128         * Drosera/Images/navRightDisabled.png: Added.
15129         * Drosera/Images/navRightNormal.png: Added.
15130         * Drosera/Images/navRightPressed.png: Added.
15131         * Drosera/Images/pause.tif: Added.
15132         * Drosera/Images/popUpArrows.png: Added.
15133         * Drosera/Images/programCounter.tif: Added.
15134         * Drosera/Images/programCounterBreakPoint.tif: Added.
15135         * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
15136         * Drosera/Images/run.tif: Added.
15137         * Drosera/Images/splitterBar.tif: Added.
15138         * Drosera/Images/splitterDimple.tif: Added.
15139         * Drosera/Images/step.tif: Added.
15140         * Drosera/Images/stepOver.tif: Added.
15141         * Drosera/Images/stop.tif: Added.
15142         * Drosera/Images/toolbarBackground.png: Added.
15143         * Drosera/Info.plist: Added.
15144         * Drosera/debugger.css: Added.
15145         * Drosera/debugger.html: Added.
15146         * Drosera/debugger.js: Added.
15147         * Drosera/main.m: Added.
15148         (main):
15149         * Drosera/viewer.css: Added.
15150         * Drosera/viewer.html: Added.
15152 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
15154         Reviewed by darin.
15156         http://bugs.webkit.org/show_bug.cgi?id=9485
15157         Teach svn-apply and svn-unapply to use full path names
15159         * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
15160         * Scripts/svn-unapply: Ditto.
15162 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
15164         Reviewed by ggaren.
15166         - http://bugs.webkit.org/show_bug.cgi?id=9150
15167           DumpRenderTree should be able to keep URL history during runs
15169         Test: LayoutTests/fast/history/clicked-link-is-visited.html
15171         * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
15172         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
15173         (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
15174         it is currently nil since keepWebHistory() might be called more than once incidentally
15175         for the same test.
15176         (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
15177         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
15179 2006-06-11  David Kilzer  <ddkilzer@kilzer.net>
15181         Reviewed by darin.
15183         http://bugs.webkit.org/show_bug.cgi?id=9395
15184         Make prepare-ChangeLog faster
15186         * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
15187         then save the diff output for reuse.  Keep a status variable if changes are made to
15188         LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
15189         WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
15190         for no changed files closer to the beginning of the program.
15192 2006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
15194         Reviewed and landed by ap.
15196         - make DumpRenderTree build
15198         * DumpRenderTree/DumpRenderTree.m:
15199         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
15200         (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
15201         (-[LayoutTestController setWindowIsKey:]): Ditto.
15202         (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
15204 2006-06-09  David Kilzer  <ddkilzer@kilzer.net>
15206         Reviewed by Darin, landed by Geoff.
15208         http://bugs.webkit.org/show_bug.cgi?id=9350
15209         Use pathcmp() when sorting paths in svn-create-patch
15211         * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
15212         * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
15213         Changed sort() functions to use pathcmp().  Added subroutine prototypes.  Added -h command-line
15214         switch and printUsage() subroutine.
15216 2006-06-06  David Kilzer  <ddkilzer@kilzer.net>
15218         Reviewed by darin.
15220         http://bugs.webkit.org/show_bug.cgi?id=9322
15221         Teach svn-create-patch to sort its output
15223         * Scripts/svn-create-patch: Clean up perl code.  Sort patch output alphabetically
15224         by text files first, then by binary files.
15226 2006-06-04  David Kilzer  <ddkilzer@kilzer.net>
15228         Reviewed by darin.
15230         http://bugs.webkit.org/show_bug.cgi?id=9299
15231         Teach svn-create-patch and friends to work with binary files
15233         * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
15234         * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
15235         * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
15237 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
15239         Reviewed by Maciej.
15241         http://bugs.webkit.org/show_bug.cgi?id=9296
15242         Performance improvement for svn-create-patch
15244         * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
15246 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
15248         Reviewed by darin.
15250         http://bugs.webkit.org/show_bug.cgi?id=9290
15251         Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
15253         * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
15254         * Scripts/svn-unapply: Ditto.  Also simplified reversing a deletion.
15256 2006-06-03  Steve Falkenburg  <sfalken@apple.com>
15258         Reviewed by hyatt.
15259         
15260         Switch Spinneret to new hosting mechanism
15262         * Spinneret/Spinneret.sln:
15263         * Spinneret/Spinneret/Spinneret.cpp:
15264         (SpinneretWebHost::updateAddressBar):
15265         (SpinneretWebHost::QueryInterface):
15266         (SpinneretWebHost::AddRef):
15267         (SpinneretWebHost::Release):
15268         (resizeSubViews):
15269         (_tWinMain):
15270         (WndProc):
15271         (MyEditProc):
15272         (About):
15273         (loadURL):
15274         * Spinneret/Spinneret/Spinneret.h:
15275         (SpinneretWebHost::didStartProvisionalLoadForFrame):
15276         (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
15277         (SpinneretWebHost::didFailProvisionalLoadWithError):
15278         (SpinneretWebHost::didCommitLoadForFrame):
15279         (SpinneretWebHost::didReceiveTitle):
15280         (SpinneretWebHost::didReceiveIcon):
15281         (SpinneretWebHost::didFinishLoadForFrame):
15282         (SpinneretWebHost::didFailLoadWithError):
15283         (SpinneretWebHost::didChangeLocationWithinPageForFrame):
15284         (SpinneretWebHost::willPerformClientRedirectToURL):
15285         (SpinneretWebHost::didCancelClientRedirectForFrame):
15286         (SpinneretWebHost::willCloseFrame):
15287         (SpinneretWebHost::windowScriptObjectAvailable):
15288         * Spinneret/Spinneret/Spinneret.vcproj:
15290 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
15292         Reviewed by darin.
15293         
15294         Updated build script
15296         * Scripts/build-webkit:
15298 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
15300         Reviewed by Darin.
15302         * DumpRenderTree/DumpRenderTree.m:
15303         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15304         (-[LayoutTestController clearBackForwardList]):
15305         Add clearBackForwardList function to layoutTestController
15306         
15307 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
15309         Reviewed by Darin.
15311         http://bugs.webkit.org/show_bug.cgi?id=8996
15312         slow-utf8-text layout test case failing (no longer deterministic?)
15313         
15314         * DumpRenderTree/DumpRenderTree.m:
15315         (dump):
15316         Dump as text when the response MIME type is text/plain
15318 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
15320         Build fixes/tweaks
15322         * Spinneret/Spinneret.sln:
15323         * Spinneret/Spinneret/Spinneret.vcproj:
15325 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
15327         Reviewed by mjs.
15328         
15329         Added 'GCController' to DRT to support garbage collection layout tests.
15330         
15331         GCController.collect() and GCController.collectOnAlternateThread() do
15332         what you would expect. The latter takes a boolean argument sepcifying
15333         whether to wait for garbage collection to finish before continuing to
15334         execute script.
15336         * DumpRenderTree/DumpRenderTree.m:
15337         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
15338         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15339         * DumpRenderTree/GCController.h: Added.
15340         * DumpRenderTree/GCController.mm: Added.
15341         (+[GCController isSelectorExcludedFromWebScript:]):
15342         (+[GCController webScriptNameForSelector:]):
15343         (-[GCController collect]):
15344         (-[GCController collectOnAlternateThread:]):
15346 2006-05-23  John Sullivan  <sullivan@apple.com>
15348         Reviewed by Maciej.
15350         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15351         Newer Xcode removed some obsolete cruft
15352         
15353         * DumpRenderTree/TextInputController.m:
15354         (-[TextInputController textInput]):
15355         added (id) cast to make newer compiler happy
15357 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
15359         Reviewed by adele.
15360         
15361         Fix build.
15363         * Spinneret/Spinneret.sln:
15365 2006-05-18  Darin Adler  <darin@apple.com>
15367         - try to fix no-SVG, no-XPATH build, again
15369         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
15371 2006-05-18  Darin Adler  <darin@apple.com>
15373         - try to fix no-SVG, no-XPATH build
15375         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
15376         since the former is what's used in the WebCore project now.
15378 2006-05-17  Darin Adler  <darin@apple.com>
15380         * Scripts/do-webcore-rename: Some more future renames.
15382 2006-05-16  Adele Peterson  <adele@apple.com>
15384         Reviewed by Hyatt.
15386         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and 
15387         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
15389 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>
15391         * Scripts/install-unix-extras: Changed to be executable and removed
15392         text in the file generated by "svn diff".
15393         * Scripts/regenerate-makefiles: Ditto.
15395 2006-05-13  Kevin M. Ollivier  <kevino@theolliviers.com>
15397         Reviewed by Darin, landed by ap.
15399         - http://bugs.webkit.org/show_bug.cgi?id=8528
15400           Bakefiles (and generated Makefiles) for wx and gdk ports
15402         * Scripts/install-unix-extras: Added.
15403         * Scripts/regenerate-makefiles: Added.
15405 2006-05-10  Steve Falkenburg  <sfalken@apple.com>
15407         Reviewed by Maciej.
15409         Fix registry usage from perl script.  Turns out libwin32's
15410         SetRegValueEx, even for REG_DWORD, always takes its value as a string!
15411         
15412         * Scripts/install-win-extras:
15414 2006-05-09  Steve Falkenburg  <sfalken@apple.com>
15416         Fix Windows build.
15417         Add load ended callback.
15418         
15419         Reviewed by kevin.
15421         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
15422         * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
15423         * Spinneret/Spinneret/Spinneret.cpp: 
15424         (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
15425         (_tWinMain): Load built-in test content here instead of in lower-level code.
15426         * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
15428 2006-05-08  Maciej Stachowiak  <mjs@apple.com>
15430         Reviewed by Anders.
15432         * Scripts/extract-localizable-strings: Update for correct names of log macros.
15434 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
15436         Reviewed by Maciej.
15437         
15438         * Scripts/check-dom-results:
15439         Add XPath to the list of results.
15441 2006-05-08  Darin Adler  <darin@apple.com>
15443         * Scripts/do-webcore-rename: Add another rename.
15445 2006-05-01  Steve Falkenburg  <sfalken@apple.com>
15447         Reviewed by eric.
15449         Spinneret now links against the new separate lib.
15450         
15451         * Spinneret/Spinneret.sln:
15452         * Spinneret/Spinneret/Spinneret.cpp:
15453         (SpinneretWebHost::updateLocationBar):
15454         (_tWinMain):
15455         * Spinneret/Spinneret/Spinneret.h:
15456         * Spinneret/Spinneret/Spinneret.vcproj:
15457         * Spinneret/Spinneret/WebFrame.cpp: Removed.
15458         * Spinneret/Spinneret/WebFrame.h: Removed.
15459         * Spinneret/Spinneret/WebView.cpp: Removed.
15460         * Spinneret/Spinneret/WebView.h: Removed.
15462 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
15464         Reviewed by kdecker
15466         Modify error reporting registry keys to disable Dr. Watson.
15467         This allows Javascript test cases to complete without blocking UI.
15468         
15469         * Scripts/install-win-extras:
15470          - Use Perl Win32 registry functions to disable blocking UI
15471         
15473 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
15475         Reviewed by eric.
15476         
15477         Turned off C++ exceptions, fixed memory leaks
15479         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
15480         * Spinneret/Spinneret.sln:
15481         * Spinneret/Spinneret/Spinneret.cpp:
15482         (_tWinMain):
15483         * Spinneret/Spinneret/Spinneret.vcproj:
15484         * Spinneret/Spinneret/WebFrame.cpp:
15485         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
15486         (WebKit::WebFrame::WebFrame):
15487         (WebKit::WebFrame::~WebFrame):
15488         (WebKit::WebFrame::impl):
15489         * Spinneret/Spinneret/WebFrame.h:
15490         * Spinneret/Spinneret/WebView.cpp:
15491         * Spinneret/Spinneret/stdafx.h:
15493 2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
15495         Reviewed by Darin.
15497         - http://bugs.webkit.org/show_bug.cgi?id=8633
15498           DumpRenderTree should reset the URL cache
15500         * DumpRenderTree/DumpRenderTree.m:
15501         (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
15503 2006-04-28  Eric Seidel  <eseidel@apple.com>
15505         Reviewed by andersca.
15507         * Scripts/do-webcore-rename: rename KCanvasContainer too
15508         * Scripts/run-webkit-tests: output total time
15510 2006-04-26  Mitz Pettel  <opendarwin.org@mitzpettel.com>
15512         Reviewed by hyatt.  Landed by eseidel.
15514         - http://bugs.webkit.org/show_bug.cgi?id=8549
15515           Enable detection of excessive repainting with DumpRenderTree
15517         * DumpRenderTree/DumpRenderTree.m:
15518         (-[LayoutTestController display]):
15520 2006-04-23  Mitz Pettel  <opendarwin.org@mitzpettel.com>
15522         Reviewed by Darin.
15524         - http://bugs.webkit.org/show_bug.cgi?id=6905
15525           DumpRenderTree needs a way to force painting (to allow invalidation tests)
15527         * DumpRenderTree/DumpRenderTree.m:
15528         (dump): If display() has been called during the test, grab the pixels from
15529         the view, after letting it repaint invalidated rects.
15530         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15531         (-[LayoutTestController display]): Added. Calls -display on the view
15532         and changes the subsequent behavior of dump().
15533         (dumpRenderTree):
15535 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
15537         Reviewed by Maciej.
15539         - http://bugs.webkit.org/show_bug.cgi?id=8532
15540           Update iExploder to 1.3.2
15542         Test case numbers are not compatible with iExploder 1.2.
15544         * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
15546         * iExploder/CHANGELOG.txt: Added.
15547         * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
15548         * iExploder/README.txt: Added some performance hints.
15550         * iExploder/htdocs/config.rb: Added.
15551         * iExploder/htdocs/cssproperties.in:
15552         * iExploder/htdocs/cssvalues.in:
15553         * iExploder/htdocs/htmlattrs.in:
15554         * iExploder/htdocs/htmltags.in:
15555         * iExploder/htdocs/iexploder.cgi:
15556          - Updated to support the latest HTML & CSS tags, properties, and values from both
15557            the WebKit and Mozilla CVS tree
15558          - cssproperties.in cleanup
15559          - Modularized the code a little bit.
15560          - Fix subtest bug that was causing last 5 tags to be missed
15561          - new subtest algorithm to deal better with larger tag counts
15562          - default HTML_MAX_TAGS increased from 32 to 96
15564         * iExploder/htdocs/index.html: Updated version to 1.3.2.
15565         * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
15566         alternative to our run-iexploder-tests.
15567         * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
15568         * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
15569         * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
15571 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
15573         - commit Scripts/run-mangleme-tests (missed it the previous time).
15575 2006-04-18  Darin Adler  <darin@apple.com>
15577         - attempt to fix Windows buildbot
15579         * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
15580         We need a better long-term solution for this.
15582 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
15584         Reviewed by Darin.
15586         - http://bugs.webkit.org/show_bug.cgi?id=8444
15587           Integrate mangleme test script.
15589         Works in a similar way to run-iexploder-tests.
15591         * Scripts/run-mangleme-tests: Added.
15592         * mangleme: Added.
15593         * mangleme/Makefile: Added.
15594         * mangleme/README: Added.
15595         * mangleme/mangle.cgi.c: Added.
15596         * mangleme/remangle.cgi.c: Added.
15597         * mangleme/tags.h: Added.
15599 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
15601         Reviewed by Darin.
15603         - http://bugs.webkit.org/show_bug.cgi?id=8443
15604           An easier way to save iExploder tests.
15606         * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
15608 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
15610         Reviewed by Darin.
15612         - http://bugs.webkit.org/show_bug.cgi?id=8421
15613           Integrate iExploder test script.
15615         This script generates artificially mangled HTML documents, to test that the browser
15616         doesn't crash when handling ill-formed code.
15617         
15618         How to use:
15619          run-iexploder-tests             Open an interactive test page in Safari+ToT.
15620          run-iexploder-tests nnnnn       Open test #nnnnn.
15622         Command line options:
15623          --guard-malloc (-g)              Use Guard Malloc.
15624          --port=nnnn                      Run Apache on port nnnn (default is 8000).
15626         To save a crashing test, you can use curl while the crash reporter dialog is on the screen
15627         (thus, Apache is still running), e.g.:
15628          curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
15630         Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
15632         * Scripts/run-iexploder-tests: Added.
15633         * iExploder: Added.
15634         * iExploder/LICENSE.txt: Added.
15635         * iExploder/README.txt: Added.
15636         * iExploder/htdocs: Added.
15637         * iExploder/htdocs/cssproperties.in: Added.
15638         * iExploder/htdocs/cssvalues.in: Added.
15639         * iExploder/htdocs/htmlattrs.in: Added.
15640         * iExploder/htdocs/htmltags.in: Added.
15641         * iExploder/htdocs/htmlvalues.in: Added.
15642         * iExploder/htdocs/iexploder.cgi: Added.
15643         * iExploder/htdocs/index.html: Added.
15644         * iExploder/tools: Added.
15645         * iExploder/tools/lasthit.rb: Added.
15646         * iExploder/tools/osx_last_crash.rb: Added.
15648 2006-04-16  Alexey Proskuryakov  <ap@nypop.com>
15650         Reviewed by Darin.
15652         - fix http://bugs.webkit.org/show_bug.cgi?id=8412
15653           Restore color profile after a crash
15655         * DumpRenderTree/DumpRenderTree.m:
15656         (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
15657         from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
15658         I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
15659         and this code may change significantly.
15661         (main): Install crashHandler.
15663         (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
15664         (CFStringGetCStringPtr should NEVER EVER be used!).
15666 2006-04-15  Darin Adler  <darin@apple.com>
15668         Reviewed by Eric.
15670         * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
15671         Seems xmlsoft.org's HTTP no longer has what we need.
15673 2006-04-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
15675         Rubber-stamped by Darin.
15677         - fix http://bugs.webkit.org/show_bug.cgi?id=8348
15678           upload-disk-image stage on buildslaves fail with "No space left on device"
15680         * BuildSlaveSupport/build-launcher-dmg:  Use the -srcfolder option to
15681           'hdiutil create'.   This creates the initial disk image based on the size of
15682           the source folder, and copies the contents to the new disk image.  The file
15683           extension on the temporary uncompressed disk image has also been altered from
15684           ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
15685           the extension is not ".dmg".
15687 2006-04-12  Eric Seidel  <eseidel@apple.com>
15689         Reviewed by Tim H.
15691         * Scripts/update-webkit: Make this return non-zero when svn fails.
15693 2006-04-10  Alexey Proskuryakov  <ap@nypop.com>
15695         Reviewed by Darin.
15697         - fix http://bugs.webkit.org/show_bug.cgi?id=8157
15698           Make HTTP tests using Perl use .pl extension
15700         * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
15701           removed support for .text. Reduced the number of places that explicitly list supported
15702           extensions. Some of the changes come from bug 8121, the patch for which got landed only
15703           partially.
15705 2006-04-06  Darin Adler  <darin@apple.com>
15707         Changes requested by Mark Rowe.
15709         * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
15710         trash at the end of the file.
15711         * BuildSlaveSupport/build-launcher-dmg: Ditto.
15713         * WebKitLauncher/main.m: Removed trash at end of file.
15715         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
15716         to make name match.
15718 2006-04-06  Mark Rowe  <opendarwin.org@bdash.net.nz>
15720         Reviewed by Darin, landed by Maciej.
15722         * BuildSlaveSupport/build-launcher-app: Added.  Builds WebKit.app from WebKitLauncher
15723           and bundles the WebKit frameworks inside it.
15724         * BuildSlaveSupport/build-launcher-dmg: Added.  Builds, and optionally uploads, a disk image
15725           containing WebKit.app.
15726         * BuildSlaveSupport/run-performance-tests:  Use currentSVNRevision.
15727         * Scripts/webkitdirs.pm:  Add currentSVNRevision to retrieve the revision
15728           number of the SVN working copy.
15729         * WebKitLauncher: Added.
15730         * WebKitLauncher/Info.plist: Added.
15731         * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
15732         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
15733         * WebKitLauncher/WebKitNightlyEnabler.m: Added.  This makes
15734           up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
15735           to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
15736           the nightly launcher.
15737         * WebKitLauncher/main.m: Added.  The WebKit.app launcher.
15738           It sets up the environment to have Safari use the bundled frameworks
15739           and load the WebKitNightlyEnabler dylib before exec'ing Safari
15740         * WebKitLauncher/start.html: Added.
15741         * WebKitLauncher/webkit.icns: Added.
15743 2006-04-05  Darin Adler  <darin@apple.com>
15745         Reviewed by Maciej.
15747         * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
15748         are allowed to have global initializers.
15750 2006-04-05  Geoffrey Garen  <ggaren@apple.com>
15752         Reviewed by OMG BETH
15754         * Scripts/run-testkjs:
15755         - pipe STDERR to /dev/null by default; new --verbose option overrides
15756         this behavior
15757         - set DYLD_FRAMEWORK_PATH to the webkit-configured path
15758         - output run command in a format that can be copied and pasted into the
15759         terminal to run manually
15761 2006-04-03  Justin Garcia  <justin.garcia@apple.com>
15763         Reviewed by harrison
15764         
15765         <http://bugs.webkit.org/show_bug.cgi?id=7567>
15766         A drag and drop in DumpRenderTree copies the source, instead of cutting it
15767         
15768         Tell the source that the drag is over after the drag is performed, not before.
15770         * DumpRenderTree/EventSendingController.m:
15771         (-[EventSendingController mouseUp]):
15773 2006-04-01  Darin Adler  <darin@apple.com>
15775         Reviewed by Justin.
15777         * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
15778         Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
15779         elements in that array are not strings.
15781 2006-03-31  Darin Adler  <darin@apple.com>
15783         Reviewed by John Sullivan.
15785         - added a "--reset-results" option to run-webkit-tests so you can reset
15786           the results without first deleting expected results
15787         - <rdar://problem/4185878> add scroll position to dumpRenderTree
15789         * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
15790         more logical. Moved all the subroutines to the end of the file. Added a
15791         "--force" option.
15793         * DumpRenderTree/DumpRenderTree.m:
15794         (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
15795         to generate new output for all tests it runs.
15796         (dump): Dump the scroll position if it's non-zero. Always dump the image when
15797         the --dump-all-pixels option is passed. Also tightened up the image dumping
15798         code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
15799         with code to save and restore the context.
15801         * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
15802         * DumpRenderTree/EventSendingController.m: Added now-needed include.
15804 2006-03-30  Tim Omernick  <timo@apple.com>
15806         * DumpRenderTree/ObjCPlugin.h:
15807         Fixed copyright.
15808         * DumpRenderTree/ObjCPlugin.m: ditto
15809         * DumpRenderTree/ObjCPluginFunction.h: ditto
15810         * DumpRenderTree/ObjCPluginFunction.m: ditto
15812 2006-03-30  Tim Omernick  <timo@apple.com>
15814         Reviewed by Geoff.
15816         * DumpRenderTree/DumpRenderTree.m:
15817         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
15818         Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
15819         an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
15820         exposed to JS as a callable object.
15822         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15823         Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
15825         * DumpRenderTree/ObjCPlugin.h: Added.
15826         * DumpRenderTree/ObjCPlugin.m: Added.
15827         * DumpRenderTree/ObjCPluginFunction.h: Added.
15828         * DumpRenderTree/ObjCPluginFunction.m: Added.
15830         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15831         Added a new method, "removeDefaultMethod", which removes the default method from the
15832         plugin object's class.  The effect is that the plugin object is mutated from a callable
15833         function to a simple object.
15834         (pluginInvoke):
15835         Handle "removeDefaultMethod".
15836         (pluginInvokeDefault):
15837         Made the default method actually do something (return 1).
15839 2006-03-30  Eric Seidel  <eseidel@apple.com>
15841         Reviewed by ggaren.
15843         Remove WebFrame::viewImpl(), setMainFrame on page.
15845         * Spinneret/Spinneret/WebFrame.cpp:
15846         (WebKit::WebFrame::WebFrame):
15847         * Spinneret/Spinneret/WebFrame.h:
15848         * Spinneret/Spinneret/WebView.cpp:
15849         (WebKit::WebView::mouseMoved):
15850         (WebKit::WebView::mouseDown):
15851         (WebKit::WebView::mouseUp):
15852         (WebKit::WebView::mouseDoubleClick):
15853         (WebKit::WebViewWndProc):
15855 2006-03-30  Eric Seidel  <eseidel@apple.com>
15857         Reviewed by hyatt.
15859         Fix html editing input & basic form submission.
15861         * Spinneret/Spinneret/WebFrame.cpp:
15862         (WebKit::WebFrame::submitForm):
15863         (WebKit::WebFrame::loadURL):
15864         * Spinneret/Spinneret/WebFrame.h:
15865         * Spinneret/Spinneret/WebView.cpp:
15866         (WebKit::WebView::keyPress):
15867         (WebKit::WebViewWndProc):
15869 2006-03-28  Justin Garcia  <justin.garcia@apple.com>
15871         Reviewed by darin
15873         <rdar://problem/4402375>
15874         REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
15876         Added an option to draw the selectionRect.
15878         * DumpRenderTree/DumpRenderTree.m:
15879         (dump):
15880         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15881         (-[LayoutTestController dumpSelectionRect]):
15882         (dumpRenderTree):
15883         
15884 2006-03-29  Darin Adler  <darin@apple.com>
15886         Reviewed by Tim Hatcher.
15888         - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
15890         * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
15892 2006-03-28  Eric Seidel  <eseidel@apple.com>
15894         Reviewed by darin.
15896         * Scripts/check-for-global-initializers: remove svg exceptions.
15898 2006-03-28  Timothy Hatcher  <timothy@apple.com>
15900         Reviewed by Darin.
15902         Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
15904         * Scripts/check-for-global-initializers:
15906 2006-03-28  Timothy Hatcher  <timothy@apple.com>
15908         Build fix. Turn off uninitialized warnings for the first block of code.
15910         * Scripts/check-for-global-initializers:
15912 2006-03-28  Darin Adler  <darin@apple.com>
15914         Reviewed by Geoff.
15916         * Scripts/check-for-global-initializers: Added.
15918 2006-03-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
15920         Reviewed by darin.  Landed by eseidel.
15922         - http://bugs.webkit.org/show_bug.cgi?id=7947
15923           Add repaint testing support to run-webkit-tests
15925         * DumpRenderTree/DumpRenderTree.m:
15926         (main): Added --repaint and --horizontal-sweep options.
15927         (dump): Repaint line-by-line or column-by-column when the appropriate option
15928         is selected.
15929         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
15930         and repaintSweepHorizontally() methods to layoutTestController.
15931         (-[LayoutTestController testRepaint]):
15932         (-[LayoutTestController repaintSweepHorizontally]):
15933         (dumpRenderTree):
15934         * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
15935         to force these settings on tests that do not ask for them.
15937 2006-03-24  Eric Seidel  <eseidel@apple.com>
15939         Reviewed by mjs.
15941         Build fix.
15943         * Spinneret/Spinneret/WebFrame.cpp:
15944         (WebKit::WebFrame::openURL): replace QString with DeprecatedString
15946 2006-03-21  Beth Dakin  <bdakin@apple.com>
15948         Reviewed by Maciej
15950         Add support for keyDown() to DumpRenderTree.
15952         * DumpRenderTree/DumpRenderTree.m:
15953         (main): Set the preference for tabbing to links.
15954         * DumpRenderTree/EventSendingController.m:
15955         (+[EventSendingController isSelectorExcludedFromWebScript:]):
15956         (+[EventSendingController webScriptNameForSelector:]):
15957         (-[EventSendingController keyDown:withModifiers:]):
15959 2006-03-20  Eric Seidel  <eseidel@apple.com>
15961         Reviewed by hyatt.
15963         Fix win32 build.
15965         * Spinneret/Spinneret/Spinneret.vcproj:
15966         * Spinneret/Spinneret/WebFrame.h:
15967         * Spinneret/Spinneret/WebView.cpp:
15968         (WebKit::WebView::mouseMoved):
15969         (WebKit::WebView::mouseDown):
15970         (WebKit::WebView::mouseUp):
15971         (WebKit::WebView::mouseDoubleClick):
15972         (WebKit::WebView::keyPress):
15973         (WebKit::WebViewWndProc):
15975 2006-03-19  Darin Adler  <darin@apple.com>
15977         Reviewed by Anders.
15979         * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
15980         we can test it in layout tests. We don't really need tests that run with
15981         pop-up blocking off at the moment. If we do some day, we can add some
15982         API for turning it off in the layout test controller.
15984         * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
15985         don't ignore the leak; it should no longer show up.
15987 2006-03-17  Anders Carlsson  <andersca@mac.com>
15989         Reviewed by Eric.
15990         
15991         * Scripts/install-win-extras:
15992         Fetch "Program Files" location from the environment.
15993         
15994 2006-03-17  Eric Seidel  <eseidel@apple.com>
15996         Reviewed by ggaren.
15998         Fix Spinneret to pass Events as const & not as pointers.
16000         * Spinneret/Spinneret/WebView.cpp:
16001         (WebKit::WebView::mouseMoved):
16002         (WebKit::WebView::mouseDown):
16003         (WebKit::WebView::mouseUp):
16004         (WebKit::WebView::mouseDoubleClick):
16005         (WebKit::WebView::keyPress):
16007 2006-03-17  Eric Seidel  <eseidel@apple.com>
16009         Reviewed by justing.
16011         Add support for basic HTML editing.
16013         * Spinneret/Spinneret/WebView.cpp:
16014         (WebKit::WebView::WebView):
16015         (WebKit::WebView::keyPress):
16017 2006-03-17  Eric Seidel  <eseidel@apple.com>
16019         Rubber-stamped by ggaren.
16021         Break DumpRenderTree.m up into several files to make the code more readable.
16023         * DumpRenderTree/DumpRenderTree.h: Added.
16024         * DumpRenderTree/DumpRenderTree.m:
16025         (doneLoading): new accessor function for "done" global.
16026         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16027         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
16028         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
16029         * DumpRenderTree/EditingDelegate.h: Added.
16030         * DumpRenderTree/EditingDelegate.m: Added.
16031         (-[EditingDelegate webViewDidChangeSelection:]):
16032         * DumpRenderTree/EventSendingController.h: Added.
16033         * DumpRenderTree/EventSendingController.m: Added.
16035 2006-03-16  Eric Seidel  <eseidel@apple.com>
16037         Reviewed by darin.
16039         Add resize, scroll event support.
16041         * Spinneret/Spinneret/WebView.cpp:
16042         (WebKit::WebView::mouseMoved):
16043         (WebKit::WebView::mouseDown):
16044         (WebKit::WebView::mouseUp):
16045         (WebKit::WebView::mouseDoubleClick):
16046         (WebKit::WebView::keyPress):
16047         (WebKit::WebViewWndProc):
16048         * Spinneret/Spinneret/WebView.h:
16050 2006-03-16  Eric Seidel  <eseidel@apple.com>
16052         Reviewed by darin.
16054         Make build-webkit print correctly to stdout on windows.
16056         * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
16058 2006-03-15  Eric Seidel  <eseidel@apple.com>
16060         Reviewed by mjs.
16062         Fix eventSender.mouseClick() to update lastClick timestamp.
16064         * DumpRenderTree/DumpRenderTree.m:
16065         (-[EventSendingController mouseClick]):
16067 2006-03-15  Darin Adler  <darin@apple.com>
16069         Reviewed by Maciej.
16071         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
16072         that had a lowercase "i" in it so this builds on case-sensitive
16073         file systems.
16075 2006-03-15  Geoffrey Garen  <ggaren@apple.com>
16077         Reviewed by Eric.
16079         Added run-testkjs and compare-timing-files scripts, to support super
16080         accurate JS iBench.
16082         * Scripts/compare-timing-files: Added.
16083         * Scripts/run-testkjs: Added.
16085 2006-03-14  Eric Seidel  <eseidel@apple.com>
16087         Reviewed by mjs.
16089         Make the URL bar relinquish focus on page load.
16091         * Spinneret/Spinneret/Spinneret.cpp:
16092         (MyEditProc):
16094 2006-03-14  Eric Seidel  <eseidel@apple.com>
16096         Reviewed by mjs.
16098         Fix WebView to allow KeyFocus.
16099         Add handling of space and shift-space for scrolling.
16101         * Spinneret/Spinneret/WebView.cpp:
16102         (WebKit::scrollMessageForKey):
16103         (WebKit::WebViewWndProc):
16105 2006-03-10  Eric Seidel  <eseidel@apple.com>
16107         Reviewed by hyatt.
16109         Add scrolling support into Spinneret.
16111         * Spinneret/Spinneret/WebFrame.cpp:
16112         (WebKit::WebFrame::paint):
16113         * Spinneret/Spinneret/WebView.cpp:
16114         (WebKit::WebView::createWebView):
16115         (WebKit::calculateScrollDelta):
16116         (WebKit::scrollMessageForKey):
16117         (WebKit::WebViewWndProc):
16119 2006-03-13  Eric Seidel  <eseidel@apple.com>
16121         Reviewed by mjs.
16123         Fix checksum generation on Intel machines.
16124         Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
16125         give a small speed boost now that it uses a shared buffer.
16127         * DumpRenderTree/DumpRenderTree.m:
16128         (main):
16129         (dump):
16130         (md5HashStringForBitmap):
16131         * DumpRenderTree/ImageDiff.m:
16132         (computePercentageDifferent):
16134 2006-03-13  Darin Adler  <darin@apple.com>
16136         Reviewed by Tim Hatcher.
16138         * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
16139         have it named httpd-1.3 instead.
16141 2006-03-13  Alexey Proskuryakov  <ap@nypop.com>
16143         Fix proposed by Mitz Pettel, reviewed by Darin.
16145         - fix http://bugs.webkit.org/show_bug.cgi?id=7718
16146           run-webkit-tests fast/dom/HTMLObjectElement/ hangs
16148         * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
16149         (sequences of slashes are equivalent to a single slash in POSIX paths, but not 
16150         in URLs).
16152 2006-03-09  Darin Adler  <darin@apple.com>
16154         Reviewed by John Sullivan.
16156         - fix http://bugs.webkit.org/show_bug.cgi?id=7681
16157           memory leak in the plug-in tests
16159         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
16160         (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
16161         (NPP_SetWindow): Remove unneeded code to store the window pointer.
16163         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16164         Moved the browser global in here since it's declared in this file's header.
16165         Changed the code to set up the pluginClass structure to not use function
16166         pointer casts. Those are dangerous because they can hide many types of mismatch.
16167         And indeed when I did this I discovered that many functions were missing their
16168         boolean return values or had parameter declarations with the wrong types.
16169         (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
16170         clarity. Added boolean return value: return true when successful and false when not.
16171         (pluginSetProperty): Added boolean return value, return false since we have no
16172         properties we can set.
16173         (pluginInvoke): Added boolean return value. Return true when successful and false
16174         when not. Use NPVARIANT macros where appropriate. Added a missing release for the
16175         return value from calling the browser. Changed code to put the strings in malloc
16176         buffers instead of relying on GCC's extension that allows variable-sized arrays
16177         on the stack.
16178         (pluginInvokeDefault): Added boolean return value, return false since we have no
16179         default function to call.
16180         (pluginInvalidate): Added missing parameter. Removed comment.
16181         (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
16182         to cast the result of malloc.
16183         (pluginDeallocate): Removed uneeded cast.
16185         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
16186         includes. Changed our PluginObject to use NPObject instead of re-declaring fields
16187         that match NPObject's fields. Removed unused NPWindow pointer.
16189 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
16191         Test: fast/events/event-sender-mouse-click.html
16193         Reviewed by Darin.
16195         - fix http://bugs.webkit.org/show_bug.cgi?id=7583
16196           DRT hangs when doing eventSender.mouseDown on native widgets
16198         * DumpRenderTree/DumpRenderTree.m:
16199         (+[EventSendingController isSelectorExcludedFromWebScript:]):
16200         (-[EventSendingController mouseClick]): Simulates a click in a native
16201         widget by queueing a mouseUp before sending the mouseDown, so that
16202         the widget's mouse tracking event loop doesn't hang indefinitely.
16204 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
16206         Reviewed by Eric.
16208         - make link clicks work by handling link click requests
16209         from WebCore
16211         * Spinneret/Spinneret/Spinneret.cpp:
16212         (updateLocationBar):
16213         * Spinneret/Spinneret/Spinneret.h:
16214         * Spinneret/Spinneret/WebFrame.cpp:
16215         (WebKit::WebFrame::WebFrame):
16216         (WebKit::WebFrame::openURL):
16217         (WebKit::WebFrame::loadURL):
16218         * Spinneret/Spinneret/WebFrame.h:
16220 2006-03-08  Eric Seidel  <eseidel@apple.com>
16222         Reviewed by mjs.
16224         Focus URL bar on Spinneret launch, remove border from WebView.
16225         Stop WebFrame from deleting the job (prevent crash).
16227         * Spinneret/Spinneret/Spinneret.cpp:
16228         (_tWinMain):
16229         * Spinneret/Spinneret/WebFrame.cpp:
16230         (WebKit::WebFrame::receivedAllData):
16231         (WebKit::WebFrame::paint):
16232         * Spinneret/Spinneret/WebView.cpp:
16233         (WebKit::WebView::createWebView):
16235 2006-03-09  Alexey Proskuryakov  <ap@nypop.com>
16237         Reviewed by Darin.
16239         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16240         (pluginInvoke): Added a method to test getURL.
16242 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
16244         Reviewed by Eric.
16246         - load URLs, not file paths, in Spinneret
16248         * Spinneret/Spinneret/Spinneret.cpp:
16249         (MyEditProc):
16250         * Spinneret/Spinneret/Spinneret.vcproj:
16251         * Spinneret/Spinneret/WebFrame.cpp:
16252         (WebKit::WebFrame::loadURL):
16253         (WebKit::WebFrame::receivedData):
16254         (WebKit::WebFrame::receivedAllData):
16255         * Spinneret/Spinneret/WebFrame.h:
16256         * Spinneret/Spinneret/WebView.cpp:
16257         (WebKit::WebView::WebView):
16259 2006-03-08  Darin Adler  <darin@apple.com>
16261         Reviewed by Eric.
16263         - fixed AppleScript layout test results to not be endian-dependent
16264           (Hyatt complained to me about this one)
16266         * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
16267         Added specific code for dumping LongDateTime, instead of dumping the raw bytes
16268         (which are endian-dependent).
16270 2006-03-07  Darin Adler  <darin@apple.com>
16272         Reviewed by Anders.
16274         - fix http://bugs.webkit.org/show_bug.cgi?id=7655
16275           unwanted output while running layout tests
16277         * DumpRenderTree/DumpRenderTree.m:
16278         (checkedMalloc): Added.
16279         (checkedRealloc): Added.
16280         (makeLargeMallocFailSilently): Added.
16281         (main): Call makeLargeMallocFailSilently.
16283 2006-03-06  Darin Adler  <darin@apple.com>
16285         * Scripts/do-webcore-rename: Add some more planned renaming.
16287 2006-03-06  Eric Seidel  <eseidel@apple.com>
16289         Reviewed by hyatt.
16291         * Spinneret/Spinneret/WebFrame.cpp:
16292         (WebKit::WebFrame::paint): force layout before painting
16294 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
16296         Reviewed by darin
16297         
16298         Sent the windowNumber when sending events.
16299         Added leapForward so that we don't have to spend time waiting
16300         in layout tests that do mouse operations that require delays.
16302         * DumpRenderTree/DumpRenderTree.m:
16303         (+[EventSendingController isSelectorExcludedFromWebScript:]):
16304         (+[EventSendingController webScriptNameForSelector:]):
16305         (-[EventSendingController currentEventTime]):
16306         (-[EventSendingController leapForward:]):
16307         (-[EventSendingController mouseDown]):
16308         (-[EventSendingController mouseUp]):
16309         (-[EventSendingController mouseMoveToX:Y:]):
16311 2006-03-05  Darin Adler  <darin@apple.com>
16313         * Scripts/do-webcore-rename: Fix a couple of things found while testing.
16314         Script now works (after landing my two pending patches).
16316 2006-03-05  Darin Adler  <darin@apple.com>
16318         - check in a script to do a "big" rename in WebCore
16319           (can be run whenever we're ready to do it)
16321         * Scripts/do-webcore-rename: Added.
16323 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
16325         Reviewed by Eric.
16327         * Spinneret/Spinneret/WebFrame.cpp:
16328         (WebKit::WebFrame::loadFilePath): Close file when done.
16330 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
16332         Reviewed by Darin, landed by ap.
16334         - fix http://bugs.webkit.org/show_bug.cgi?id=7589
16335           Mouse moved events do not work in DumpRenderTree
16337         Test: fast/events/event-sender-mouse-moved.html
16339         * DumpRenderTree/DumpRenderTree.m:
16340         (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
16342 2006-03-04  Eric Seidel  <eseidel@apple.com>
16344         Reviewed by hyatt.
16346         Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
16347         Disable background erase to avoid tearing.
16348         Fix potential memory smasher from extra long urls. 
16350         * Spinneret/Spinneret/Spinneret.cpp:
16351         (MyRegisterClass):
16352         * Spinneret/Spinneret/Spinneret.vcproj:
16353         * Spinneret/Spinneret/WebFrame.cpp:
16354         (WebKit::WebFrame::loadFilePath):
16355         (WebKit::WebFrame::paint):
16356         * Spinneret/Spinneret/WebView.cpp:
16357         (WebKit::registerWebViewWithInstance):
16359 2006-03-04  Eric Seidel  <eseidel@apple.com>
16361         Reviewed by ggaren.
16363         Hang WebView pointer off of HWND (gets rid of global hack).
16364         Remove MessageBox displayed on url change.
16366         * Spinneret/Spinneret/Spinneret.cpp:
16367         (WndProc):
16368         (MyEditProc):
16369         * Spinneret/Spinneret/WebView.cpp:
16370         (WebKit::registerWebViewWithInstance):
16371         (WebKit::WebView::createWebView):
16372         (WebKit::WebViewWndProc):
16374 2006-03-04  Alexey Proskuryakov  <ap@nypop.com>
16376         Reviewed by Eric.
16378         Automatically kill httpd if it appears to be already running.
16380         * Scripts/run-webkit-tests: 
16382 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
16384         Reviewed by Eric.
16386         * Spinneret/Spinneret/WebFrame.cpp:
16387         (WebKit::WebFrame::loadFilePath): Improved local file loading.
16389 2006-03-03  Eric Seidel  <eseidel@apple.com>
16391         Reviewed by hyatt.
16393         A few more fixes to make run-webkit-tests really work on win32.
16395         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16396         (localFileTest):
16397         * Scripts/run-webkit-tests:
16399 2006-03-03  Eric Seidel  <eseidel@apple.com>
16401         Reviewed by darin.
16403         Make run-webkit-tests work on win32.
16405         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16406         (localFileTest):
16407         (dumpRenderTreeMain):
16408         (dumpRenderTreeToStdOut):
16409         (serializeToStdOut):
16410         (main):
16411         * Scripts/run-webkit-tests:
16412         * Scripts/webkitdirs.pm:
16413         * Spinneret/Spinneret/WebView.cpp:
16414         (WebKit::WebView::WebView):
16416 2006-03-03  Eric Seidel  <eseidel@apple.com>
16418         Reviewed by mjs.
16420         Add WebFrame class (to hold Frame and FrameView).
16421         Add Location bar support to Spinneret.
16423         * Spinneret/Spinneret/Spinneret.cpp:
16424         (resizeSubViews):
16425         (_tWinMain):
16426         (WndProc):
16427         (MyEditProc):
16428         * Spinneret/Spinneret/Spinneret.vcproj:
16429         * Spinneret/Spinneret/WebFrame.cpp: Added.
16430         (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
16431         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
16432         (WebKit::WebFrame::WebFrame):
16433         (WebKit::WebFrame::loadFilePath):
16434         (WebKit::WebFrame::loadHTMLString):
16435         (WebKit::WebFrame::paint):
16436         (WebKit::WebFrame::impl):
16437         (WebKit::WebFrame::viewImpl):
16438         * Spinneret/Spinneret/WebFrame.h: Added.
16439         * Spinneret/Spinneret/WebView.cpp:
16440         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
16441         (WebKit::WebView::WebView):
16442         (WebKit::WebView::windowHandle):
16443         (WebKit::WebView::mainFrame):
16444         (WebKit::WebView::mouseMoved):
16445         (WebKit::WebView::mouseDown):
16446         (WebKit::WebView::mouseUp):
16447         (WebKit::WebView::mouseDoubleClick):
16448         (WebKit::WebViewWndProc):
16449         * Spinneret/Spinneret/WebView.h:
16451 2006-03-02  Eric Seidel  <eseidel@apple.com>
16453         Reviewed by ggaren.
16455         * Spinneret/Spinneret/WebView.cpp:
16456         (WebKit::registerWebViewWithInstance):
16457         (WebKit::WebView::WebView):
16458         (WebKit::WebView::mouseMoved):
16459         (WebKit::WebView::mouseDown):
16460         (WebKit::WebView::mouseUp):
16461         (WebKit::WebView::mouseDoubleClick):
16462         (WebKit::WebViewWndProc):
16463         * Spinneret/Spinneret/WebView.h:
16465 2006-03-01  Eric Seidel  <eseidel@apple.com>
16467         Reviewed by andersca.
16469         Make spinneret take advantage of the new GraphicsContextCairo.
16471         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16472         (main): updated to match style guidelines.
16473         * Spinneret/Spinneret/Spinneret.cpp:
16474         (_tWinMain):
16475         * Spinneret/Spinneret/WebView.cpp:
16476         (WebKit::registerWebViewWithInstance):
16477         (WebKit::WebView::WebView):
16478         (WebKit::WebView::~WebView):
16479         (WebKit::WebView::drawRect):
16480         (WebKit::WndProc):
16481         * Spinneret/Spinneret/WebView.h:
16483 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
16485         Reviewed by darin
16486         
16487         Give the events that eventSender sends a unique eventNumber
16489         * DumpRenderTree/DumpRenderTree.m:
16490         (-[EventSendingController mouseDown]):
16491         (-[EventSendingController mouseUp]):
16492         (-[EventSendingController mouseMoveToX:Y:]):
16494 2006-03-01  Eric Seidel  <eseidel@apple.com>
16496         Reviewed by hyatt.
16498         Add a stub win32 application to test WebCore drawing on windows.
16500         * Spinneret: Added.
16501         * Spinneret/Spinneret: Added.
16502         * Spinneret/Spinneret.sln: Added.
16503         * Spinneret/Spinneret/Resource.h: Added.
16504         * Spinneret/Spinneret/Spinneret.cpp: Added.
16505         (_tWinMain):
16506         (MyRegisterClass):
16507         (InitInstance):
16508         (WndProc):
16509         (About):
16510         * Spinneret/Spinneret/Spinneret.h: Added.
16511         * Spinneret/Spinneret/Spinneret.ico: Added.
16512         * Spinneret/Spinneret/Spinneret.rc: Added.
16513         * Spinneret/Spinneret/Spinneret.vcproj: Added.
16514         * Spinneret/Spinneret/WebView.cpp: Added.
16515         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
16516         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
16517         (WebKit::registerWebViewWithInstance):
16518         (WebKit::WebView::createWebView):
16519         (WebKit::WebView::WebView):
16520         (WebKit::WebView::~WebView):
16521         (WebKit::WebView::drawRect):
16522         (WebKit::WebView::windowHandle):
16523         (WebKit::WndProc):
16524         * Spinneret/Spinneret/WebView.h: Added.
16525         * Spinneret/Spinneret/small.ico: Added.
16526         * Spinneret/Spinneret/stdafx.cpp: Added.
16527         * Spinneret/Spinneret/stdafx.h: Added.
16529 2006-02-28  Eric Seidel  <eseidel@apple.com>
16531         Reviewed by mjs.
16533         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16534         (main): add ability to dump render tree and read from a local file.
16536 2006-02-27  Eric Seidel  <eseidel@apple.com>
16538         Reviewed by darin.
16540         * Scripts/install-win-extras: fix dll permissions & download zlib too.
16542 2006-02-27  Eric Seidel  <eseidel@apple.com>
16544         Reviewed by ggaren.
16546         Test new KConfig -> PlugInInfoStore change.
16547         http://bugs.webkit.org/show_bug.cgi?id=7498
16549         * DumpRenderTree/DumpRenderTree.m:
16550         (main): load test netscape plugin
16551         * Scripts/run-webkit-tests: style update
16553 2006-02-24  Eric Seidel  <eseidel@apple.com>
16555         Reviewed by mjs.
16557         Make DumpRenderTree link against icu.
16559         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
16561 2006-02-24  Eric Seidel  <eseidel@apple.com>
16563         Reviewed by mjs.
16565         Make DumpRenderTree link against libxml, etc.
16567         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
16569 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
16571         Reviewed and landed by Anders.
16572         
16573         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
16574         getting called from the run loop, making the view render each test and thus slowing
16575         down the tests.
16577         * DumpRenderTree/DumpRenderTree.m:
16578         (main): Set the offscreen window to not autodisplay.
16580 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
16582         Reviewed by Darin.
16584         - Turn http tests back on by default.
16585         - Wait for Apache to actually start serving requests.
16586         - Get user id from a built-in variable rather than an external command; 
16587         don't pass the group. 
16589         * Scripts/run-webkit-tests: 
16591 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
16593         Suggested by Mitz Pettel, reviewed by Darin.
16595         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
16596         can run CGIs even if the permissions are 700 or 600.
16598 2006-02-23  Darin Adler  <darin@apple.com>
16600         Collaborating with Alexey.
16602         - turn off http tests by default until we figure out how to get them
16603           to run even when permissions on CGI files are 700 instead of 755
16605         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
16607 2006-02-23  Eric Seidel  <eseidel@apple.com>
16609         Add *.user to ignore list.
16611 2006-02-23  Eric Seidel  <eseidel@apple.com>
16613         Remove binary file which shouldn't have been commited (and add to ignore list).
16615         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
16616         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
16618 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
16620         Reviewed by Eric.
16622         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
16624 2006-02-22  Eric Seidel  <eseidel@apple.com>
16626         Reviewed by Tim Hatcher.
16628         Fix install-win-extras to not try to re-install setx if installed.
16630         * Scripts/install-win-extras:
16632 2006-02-22  Eric Seidel  <eseidel@apple.com>
16634         One more file possibly missing from previous commit?
16636         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
16637         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
16639 2006-02-22  Eric Seidel  <eseidel@apple.com>
16641         Reviewed by justing.
16643         Files missing from previous commit.
16645         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
16646         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
16648 2006-02-22  Eric Seidel  <eseidel@apple.com>
16650         Rubber-stamped by justing.
16652         Corrected path for DumpRenderTree.intermediate files
16654         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
16656 2006-02-22  Eric Seidel  <eseidel@apple.com>
16658         Reviewed by justing.
16660         Fixed build-dumprendertree to exit with correct error codes.
16662         * Scripts/build-dumprendertree:
16664 2006-02-22  Eric Seidel  <eseidel@apple.com>
16666         Reviewed by justing.
16668         Update build scripts to generalize building on Win32, and allow
16669         building of DumpRenderTree on Win32 from build-dumprendertree.
16671         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16672         (main):
16673         * Scripts/build-dumprendertree:
16674         * Scripts/build-webkit:
16675         * Scripts/webkitdirs.pm:
16677 2006-02-22  Eric Seidel  <eseidel@apple.com>
16679         Reviewed by hyatt.
16681         * DumpRenderTree/DumpRenderTree.vcproj: Added.
16682         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
16683         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
16684         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
16685         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
16686         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
16687         (_tmain):
16688         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
16689         * Scripts/build-webkit: make build-webkit cleanup after itself
16691 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
16693         Reviewed by Darin.
16695         - http://bugs.webkit.org/show_bug.cgi?id=7409
16696           Some minor fixes to http tests.
16698         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
16700 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
16702         Reviewed by Darin.
16704         - http://bugs.webkit.org/show_bug.cgi?id=6197
16705           Would like to use locally installed Apache for testing.
16707         Added two run-webkit-tests options:
16708           --http (--nohttp)  - whether to launch Apache (defaults to yes);
16709           --port - which port to listen on (defaults to 8000).
16711         Tests in LayoutTests/http are not run directly, and Apache is used instead.
16712         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
16713         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
16715         Also added support for .shtml and .text files. Text files give an empty 
16716         *-expected.txt, but a correct image.
16718         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
16720         * Scripts/run-webkit-tests:
16722 2006-02-21  Darin Adler  <darin@apple.com>
16724         Suggested by Mark Rowe.
16726         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
16727         reporting leak counts.
16729 2006-02-18  Maciej Stachowiak <mjs@apple.com>
16731         Reviewed by Darin.
16733         - Added install-win-extras script which installs some extra 
16734         programs and libraries, and does Windows first-time setup.
16736         * Scripts/build-webkit: Add a newline between build results.
16737         * Scripts/install-win-extras: Added.
16739 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
16741         Reviewed by Darin.
16743         - http://bugs.webkit.org/show_bug.cgi?id=7308
16744           DumpRenderTree should be able to load files via HTTP
16746         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
16747         Handle tests starting with "http://" as real URLs, not file system paths.
16749 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
16751         Reviewed by Maciej.
16753         - fix http://bugs.webkit.org/show_bug.cgi?id=7357
16754           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
16756         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
16758 2006-02-18  Darin Adler  <darin@apple.com>
16760         * Scripts/commit-log-editor: Added.
16762 2006-02-17  Eric Seidel  <eseidel@apple.com>
16764         Reviewed by hyatt.
16766         Make Win32 have the same default "WebKitBuild" directory behavior.
16768         * Scripts/build-webkit:
16769         * Scripts/webkitdirs.pm:
16771 2006-02-17  Eric Seidel  <eseidel@apple.com>
16773         Reviewed by Beth.
16775         * Scripts/build-webkit: make win32 actually report errors
16777 2006-02-17  Eric Seidel  <eseidel@apple.com>
16779         Reviewed by adele.
16781         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
16783 2006-02-17  Eric Seidel  <eseidel@apple.com>
16785         Reviewed by adele.
16787         * Scripts/run-webkit-tests: Ignore flash leaks
16789 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
16791         Reviewed by darin
16792         
16793         <http://bugs.webkit.org/show_bug.cgi?id=7148>
16794         Add drag and drop support to DumpRenderTree
16795         
16796         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
16797         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
16799         * DumpRenderTree/DumpRenderTree.m:
16800         (main):
16801         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
16802         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
16803         (-[WaitUntilDoneDelegate webViewFocus:]):
16804         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16805         (+[LayoutTestController webScriptNameForSelector:]):
16806         (-[LayoutTestController setWindowIsKey:]):
16807         (-[LayoutTestController setMainFrameIsFirstResponder:]):
16808         (-[EventSendingController init]):
16809         (-[EventSendingController mouseDown]):
16810         (-[EventSendingController mouseUp]):
16811         (-[EventSendingController mouseMoveToX:Y:]):
16812         (dumpRenderTree):
16813         (-[DumpRenderTreeWindow isKeyWindow]):
16814         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
16815         (-[DumpRenderTreeDraggingInfo dealloc]):
16816         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
16817         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
16818         (-[DumpRenderTreeDraggingInfo draggingLocation]):
16819         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
16820         (-[DumpRenderTreeDraggingInfo draggedImage]):
16821         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
16822         (-[DumpRenderTreeDraggingInfo draggingSource]):
16823         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
16824         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
16825         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
16826         * DumpRenderTree/TextInputController.m:
16827         (-[TextInputController firstRectForCharactersFrom:length:]):
16828         (-[TextInputController characterIndexForPointX:Y:]):
16829         
16830 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
16832         Reviewed by Eric.
16834         * DumpRenderTree/DumpRenderTree.m:
16835         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 
16836         Added a dummy method for the sake of LayoutTests/plugins/
16837         undefined-property-crash.html. (It tests a crash due to fallback 
16838         object use. WebCore won't create a fallback object if the method is 
16839         not defined.)
16841 2006-02-14  Eric Seidel  <eseidel@apple.com>
16843         Reviewed by adele.
16845         * Scripts/run-webkit-tests: added --results-directory (-o) option
16847 2006-02-09  Eric Seidel  <eseidel@apple.com>
16849         Rubber-stamped by mjs.
16851         Renamed split-class to split-file-by-class.
16853         * Scripts/build-webkit: Updated copyright.
16854         * Scripts/split-class: Removed.
16855         * Scripts/split-file-by-class: Added.
16857 2006-02-08  Eric Seidel  <eseidel@apple.com>
16859         Rubber-stamped by mjs.
16861         Adding new script for splitting multi-class files.
16862         Also adding supporting perl module with space removing heuristics.
16864         * Scripts/SpacingHeuristics.pm: Added.
16865         * Scripts/build-drawtest: updated copyright header
16866         * Scripts/split-class: Added.
16868 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
16870         Reviewed by thatcher
16871         
16872         Changes to test fix for:
16873         <http://bugs.webkit.org/show_bug.cgi?id=3982>
16874         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
16876         * DumpRenderTree/DumpRenderTree.m:
16877         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
16878         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16879         (+[LayoutTestController webScriptNameForSelector:]):
16880         (-[LayoutTestController setWindowHasFocus:]):
16881         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
16883 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
16885         Reviewed by Timothy.
16887         Support automated testing of AppleScript "do JavaScript" command
16888         http://bugs.webkit.org/show_bug.cgi?id=7012
16890         * DumpRenderTree/AppleScriptController.h: Added.
16891         * DumpRenderTree/AppleScriptController.m: Added.
16892         * DumpRenderTree/DumpRenderTree.m:
16893         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
16894         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16896 2006-02-06  Eric Seidel  <eseidel@apple.com>
16898         Reviewed by hyatt.
16900         Fix build-webkit for use on win32 (unblocks buildbot usage).
16901         http://bugs.webkit.org/show_bug.cgi?id=7122
16903         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
16904         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
16906 2006-02-06  Eric Seidel  <eseidel@apple.com>
16908         Rubber-stamped by darin & mjs.
16910         Added new support directory for build slave scripts.
16911         Committing the first script, for use by the PLT's build slave.
16912         This script is used to kick of the PLT (Page Load Test) slave.
16914         * BuildSlaveSupport: Added.
16915         * BuildSlaveSupport/run-performance-tests: Added.
16917 2006-02-06  Eric Seidel  <eseidel@apple.com>
16919         Rubber-stamped by darin.
16921         Adding setSourceDir for scripts stored in non-standard locations.
16923         * Scripts/webkitdirs.pm:
16925 2006-02-04  Darin Adler  <darin@apple.com>
16927         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
16928         Configuration files that say Development or Deployment in them.
16930 2006-02-04  Darin Adler  <darin@apple.com>
16932         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
16933         wrapper already in the directory.
16934         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
16935         these haven't been working at all.
16936         * Scripts/svn-unapply: Ditto.
16938 2006-02-03  Timothy Hatcher  <timothy@apple.com>
16940         Reviewed by Justin.
16942         Renamed configuration names to Debug, Release and Production.
16944         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
16945         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16946         * Scripts/set-webkit-configuration:
16947         * Scripts/webkitdirs.pm:
16949 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
16951         Reviewed by thatcher
16952         
16953         Enabled spell checking for layout tests.
16954         
16955         * DumpRenderTree/DumpRenderTree.m:
16956         (main):
16958 2006-01-29  Darin Adler  <darin@apple.com>
16960         * Scripts/svn-apply: Added comments about things we should do to improve.
16961         * Scripts/svn-create-patch: Ditto.
16962         * Scripts/svn-unapply: Ditto.
16964 2006-01-28  Darin Adler  <darin@apple.com>
16966         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
16967         already there, even if the checksum is correct.
16969 2006-01-27  Eric Seidel  <eseidel@apple.com>
16971         Reviewed by adele.
16973         * Scripts/run-webkit-tests: make new tests use absolute urls
16975 2006-01-27  Eric Seidel  <eseidel@apple.com>
16977         Reviewed by mjs.
16979         make run-webkit-tests output total leaks count
16981         * Scripts/run-webkit-tests:
16983 2006-01-27  Eric Seidel  <eseidel@apple.com>
16985         Reviewed by mjs.
16987         run-webkit-test --leaks crashes (malloc logging runs out of memory)
16988         http://bugs.webkit.org/show_bug.cgi?id=6869
16990         * Scripts/run-webkit-tests: fix --leaks to not crash
16992 2006-01-26  Eric Seidel  <eseidel@apple.com>
16994         Reviewed by darin.
16996         run-webkit-tests should produce a self-contained results directory
16997         http://bugs.webkit.org/show_bug.cgi?id=6864
16999         * Scripts/run-webkit-tests: copy failing items to results dir.
17001 2006-01-23  Darin Adler  <darin@apple.com>
17003          - fix http://bugs.webkit.org/show_bug.cgi?id=3608
17004            need script to update localizable strings file in WebKit
17006         * Scripts/update-webkit-localizable-strings: Added.
17008 2006-01-23  Darin Adler  <darin@apple.com>
17010         - added a couple of scripts -- more about these two soon
17012         * Scripts/extract-localizable-strings: Added.
17013         * Scripts/merge-changelog: Added.
17015 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
17017         Reviewed by Anders.
17018         
17019         Build fix.  build-webkit dies with "invalid build action: (empty string)"
17021         * Scripts/build-webkit:
17022         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
17024 2006-01-22  Eric Seidel  <eseidel@apple.com>
17026         Reviewed by anders.
17028         Fix --no-svg option to use XCode flags instead of gcc flags.
17030         * Scripts/build-webkit:
17032 2006-01-22  Eric Seidel  <eseidel@apple.com>
17034         Reviewed by anders.
17036         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
17038         * Scripts/build-webkit:
17040 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
17042         Reviewed by eseidel.
17044         - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
17045         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
17047         * Scripts/build-drawtest: Changed bareword 'true' to 1.
17048         * Scripts/run-drawtest: Changed bareword 'true' to 1.
17050 2006-01-19  Darin Adler  <darin@apple.com>
17052         * Scripts/report-include-statistics: Added a new script.
17054 2006-01-19  Timothy Hatcher  <timothy@apple.com>
17056         * Scripts/build-webkit: include JavaScriptGlue in the build
17058 2006-01-19  Darin Adler  <darin@apple.com>
17060         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
17061         spaces in it by using the form of open that treats each argument as a string
17062         rather than backtick syntax for reading the output of the nm tool.
17064 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
17066         Reviewed by Darin.
17067         
17068         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
17069         detect if there are any new tests
17071         * Scripts/prepare-ChangeLog:
17073 2006-01-12  Darin Adler  <darin@apple.com>
17075         - removed some of the cvs-specific scripts -- not needed for this project any more
17077         * Scripts/cvs-abandon: Removed.
17078         * Scripts/cvs-apply: Removed.
17079         * Scripts/cvs-create-patch: Removed.
17080         * Scripts/cvs-unapply: Removed.
17082 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
17084         Reviewed by eseidel.  Committed by eseidel.
17086         - run-webkit-tests always launches Safari when tests fail
17087         http://bugs.webkit.org/show_bug.cgi?id=6456
17089         * Scripts/run-webkit-tests:
17090         Add a command-line flag to prevent Safari being launched to display failed
17091         tests.  Always exit with non-zero status when tests have failed.
17093 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
17095         Reviewed by eseidel.  Committed by eseidel.
17097         - build-webkit should exit with non-zero status when build fails
17098         http://bugs.webkit.org/show_bug.cgi?id=6459
17100         * Scripts/build-webkit:
17101         Use correct bits of subprocess exit code when passing back through
17102         as build-webkit's exit code.
17104 2006-01-10  Eric Seidel  <eseidel@apple.com>
17106         Restored corrupted nibs from TOT CVS.
17108         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
17109         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
17110         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
17111         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
17112         * DrawTest/English.lproj/Inspector.nib: Replaced.
17113         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
17114         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
17115         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
17116         * DrawTest/English.lproj/MainMenu.nib: Replaced.
17117         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
17118         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
17119         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
17120         * DrawTest/English.lproj/TestViewer.nib: Replaced.
17121         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
17122         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
17123         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
17125 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
17127         Reviewed by eseidel.  Committed by eseidel.
17129         DrawTestView now subclasses WebView instead of DrawView.
17131         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
17132         * DrawTest/DrawTestDocument.h:
17133         * DrawTest/DrawTestDocument.m:
17134         (-[DrawTestDocument dealloc]):
17135         (-[DrawTestDocument readFromFile:ofType:]):
17136         (-[DrawTestDocument windowControllerDidLoadNib:]):
17137         (-[DrawTestDocument dumpSVGToConsole:]):
17138         (-[DrawTestDocument openSourceForSelection:]):
17139         (-[DrawTestDocument dataRepresentationOfType:]):
17140         * DrawTest/DrawTestToolbarController.h:
17141         * DrawTest/DrawTestToolbarController.m:
17142         (-[DrawTestToolbarController initWithDrawView:]):
17143         (-[DrawTestToolbarController clickedToolbarItem:]):
17144         (-[DrawTestToolbarController validateToolbarItem:]):
17145         * DrawTest/DrawTestView.h:
17146         * DrawTest/DrawTestView.m:
17147         (-[DrawTestView initWithFrame:]):
17148         (-[DrawTestView setDocument:]):
17149         * DrawTest/SVGTest.h:
17150         * DrawTest/SVGTest.m:
17151         (+[SVGTest sharedDrawView]):
17152         (-[SVGTest generateCompositeIfNecessary]):
17153         * DrawTest/TestController.h:
17154         * DrawTest/TestController.m:
17155         (-[TestController awakeFromNib]):
17156         (-[TestController setSelectedTest:]):
17157         (-[TestController openTestViewerForSelection:]):
17158         (-[TestController toggleViewersScaleRule:]):
17159         * DrawTest/TestViewerSplitView.m:
17160         (-[TestViewerSplitView drawRect:]):
17162 2006-01-10  Anders Carlsson  <andersca@mac.com>
17164         Reviewed by Timothy.
17166         * DumpRenderTree/DumpRenderTree.m:
17167         (main): Set the default language to "en", so language tests will work.
17169 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
17171         Reviewed by Eric.
17172         
17173         - script to generate HTML wrappers for JS tests
17174         http://bugs.webkit.org/show_bug.cgi?id=6441
17176         * Scripts/make-js-test-wrappers: Added.
17178 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
17180         Reviewed by Eric.
17182         * Scripts/svn-create-patch: Fix to work when passed directory names.
17184 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
17186         Reviewed by Eric.
17188         - Added back/forward navigation support to DumpRenderTree. Hopefully we
17189         can start writing automated loader tests now. I have one in the works.
17191         * DumpRenderTree/DumpRenderTree.m:
17192         (main): Construct global navigationController on entry, destroy on exit.
17193         Set frame to nil on exit too, to match all the other global objects. 
17194         (Probably academic, since the process is exiting, anyway.)
17195         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
17196         navigationController, in case it wants to kick off a load.
17197         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
17198         the navigationController to scripting.
17200         New class, should be straightforward:
17202         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17203         * DumpRenderTree/NavigationController.h: Added.
17204         * DumpRenderTree/NavigationController.m: Added.
17206         (+[NavigationController isSelectorExcludedFromWebScript:]):
17207         (+[NavigationController webScriptNameForSelector:]):
17208         (-[NavigationController setPendingScript:]):
17209         (-[NavigationController setPendingRequest:]):
17210         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
17211         (-[NavigationController webView:didFinishLoadForFrame:]):
17212         (-[NavigationController dealloc]):
17214 2006-01-08  Timothy Hatcher  <timothy@apple.com>
17216         Removed this script, no longer needs with the Subversion switch.
17218         * checkout: Removed.
17220 2006-01-08  Timothy Hatcher  <timothy@apple.com>
17222         Removes some stray tabs.
17224         * Scripts/update-webkit:
17226 2005-01-07  Eric Seidel  <eseidel@apple.com>
17228         Reviewed by darin.
17230         build-webkit should pass on build arguments from command line
17231         http://bugs.webkit.org/show_bug.cgi?id=5854
17233         * Scripts/build-webkit:
17235 2006-01-07  Eric Seidel  <eseidel@apple.com>
17237         Reviewed by mjs & xenon.
17239         * Scripts/update-webkit: support Internal updates as well
17241 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
17243         Temporarily rolling out plugin support from DumpRenderTree because it
17244         caused lots of layout test regressions.
17246         * DumpRenderTree/DumpRenderTree.m:
17247         (main): Remove invisible window added to support plugins.
17249 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
17251         Reviewed by darin.
17253         - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
17254         Add plugin support to DumpRenderTree
17256         Also wrote first test plugin.
17258         * DumpRenderTree/DumpRenderTree.m:
17259         (main):
17260         (1) Put the WebView in an invisible window, because PlugIns are
17261         optimized not to load if there's no parent window.
17262         (2) Tell WebKit to load any PlugIns in the directory from which we 
17263         loaded. This means we can build nasty PlugIns alongside DumpRenderTree 
17264         and they'll load automagically during layout testing, but they won't be
17265         added to the user's system, hosing apps like Safari.
17267         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
17268         test PlugIn to project.
17270         PlugIn added to project:
17272         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
17273         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
17274         (getPluginClass):
17275         (initializeIdentifiers):
17276         (pluginHasProperty):
17277         (pluginHasMethod):
17278         (pluginGetProperty):
17279         (pluginSetProperty):
17280         (pluginInvoke):
17281         (pluginInvokeDefault):
17282         (pluginInvalidate):
17283         (pluginAllocate):
17284         (pluginDeallocate):
17285         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
17286         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
17287         (NP_Initialize):
17288         (NP_GetEntryPoints):
17289         (NP_Shutdown):
17290         (NPP_New):
17291         (NPP_Destroy):
17292         (NPP_SetWindow):
17293         (NPP_NewStream):
17294         (NPP_DestroyStream):
17295         (NPP_WriteReady):
17296         (NPP_Write):
17297         (NPP_StreamAsFile):
17298         (NPP_Print):
17299         (NPP_HandleEvent):
17300         (NPP_URLNotify):
17301         (NPP_GetValue):
17302         (NPP_SetValue):
17304 2006-01-04  Timothy Hatcher  <timothy@apple.com>
17306         Reviewed by Darin.
17307         Created by Eric.
17308         Tweaked and tested by me.
17310         New scripts to work with Subversion when the switch happens.
17311         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
17313         * Scripts/svn-apply: Added.
17314         * Scripts/svn-create-patch: Added.
17315         * Scripts/svn-unapply: Added.
17317 2005-12-30  Eric Seidel  <eseidel@apple.com>
17319         Reviewed by mjs.
17321         Move WebView width/height logic into DumpRenderTree to support
17322         running the W3C SVG 1.1 tests along side other tests.  The W3C
17323         SVG 1.1 tests require a 480x360 view.
17325         * DumpRenderTree/DumpRenderTree.m:
17326         (main): don't accept width/height
17327         (dump): override width/height for SVG/W3C
17328         * Scripts/run-webkit-tests: don't pass width/height
17330 2005-12-30  Eric Seidel  <eseidel@apple.com>
17332         No review, only removing dead code.
17334         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
17335         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
17337 2005-12-30  Eric Seidel  <eseidel@apple.com>
17339         Reviewed by darin.
17341         DumpRenderTree should set a consistent color profile while running
17342         http://bugs.webkit.org/show_bug.cgi?id=6155
17344         Creates consistent colormatched renderings on every test machine
17345         using the only way possible with Tiger APIs: by setting the
17346         system color profile on the test machine for the duration of the
17347         tests.  This will (unfortunately) cause colors to change while
17348         running DumpRenderTree.  This can also cause "permanent" color
17349         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
17350         This is far from ideal, but it's be best way we've found to deal
17351         with the issue for now.
17353         * DumpRenderTree/DumpRenderTree.m:
17354         (restoreColorSpace):
17355         (setDefaultColorProfileToRGB):
17356         (main):
17358 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
17360         Reviewed by Darin Adler.
17362         - fix http://bugs.webkit.org/show_bug.cgi?id=5846
17363           cvs-create-patch --include produces incorrect paths
17365         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
17367 2005-12-19  Eric Seidel  <eseidel@apple.com>
17369         Reviewed by darin.
17371         * Scripts/run-webkit-tests: stop /etc/catalog warnings
17373 2005-12-19  Darin Adler  <darin@apple.com>
17375         Reviewed by Eric Seidel.
17377         - fix http://bugs.webkit.org/show_bug.cgi?id=4990
17378           WebKit needs to use a local pasteboard during testing
17380         * DumpRenderTree/DumpRenderTree.m:
17381         (main): Call poseAs to substitute our NSPasteboard class for the default one.
17382         Create a local pasteboard (really a global one with a unique name) and release
17383         it when exiting from the function so we don't leave it in the pasteboard server.
17384         (dumpRenderTree): Added an autorelease pool around one small bit of code that
17385         ddn't have one. Fixed a leak in an unlikely error case.
17386         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
17387         of this method to return our local pasteboard.
17389 2005-12-15  Eric Seidel  <eseidel@apple.com>
17391         Reviewed by Tim Hatcher.
17393         * Scripts/build-webkit: --svg is now default!
17395 2005-12-15  Eric Seidel  <eseidel@apple.com>
17397         Reviewed by mjs.
17399         Don't run svg test automatically if +SVG is built (yet).
17401         * Scripts/run-webkit-tests:
17403 2005-12-15  Darin Adler  <darin@apple.com>
17405         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
17406         support is not compiled in. Report the 10 slowest tests if "--slowest" is
17407         passed on the command line.
17409 2005-12-06  John Sullivan  <sullivan@apple.com>
17411         Reviewed by Darin Adler.
17413         * Scripts/prepare-ChangeLog:
17414         Remove special-case handling for nib files. This avoided trouble with cvs diff
17415         when we were using wrappers for nib files. Now that we aren't using wrappers,
17416         there's no reason to avoid adding the modified nib files to the file list that
17417         gets diffed.
17419 2005-12-05  Eric Seidel  <eseidel@apple.com>
17421         Reviewed by mjs.
17423         Script updates for SVG files move (remove references to SVGSupport)
17425         * Scripts/build-webkit: remove SVGSupport
17426         * Scripts/run-webkit-tests: Resources -> resources for --svg
17427         * Scripts/update-webkit: remove SVGSupport
17429 2005-12-05  Eric Seidel  <eseidel@apple.com>
17431         Reviewed mjs.
17433         * checkout: remove --svg support, SVG is now checked out by default
17435 2005-11-29  Eric Seidel  <eseidel@apple.com>
17437         Reviewed by darin.
17439         Update scripts to run SVG tests automatically (w/o --svg) if
17440         WebCore is built with SVG support.
17442         * Scripts/build-drawtest: SVG support required
17443         * Scripts/build-dumpkcanvastree: Removed.
17444         * Scripts/run-drawtest: SVG support required to run
17445         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
17446         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
17448 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
17450         Reviewed by Darin. Committed by Maciej.
17452         - fixed "DumpRenderTree should test for Ahem before doing anything else"
17453         (http://bugs.webkit.org/show_bug.cgi?id=5838)
17455         * DumpRenderTree/DumpRenderTree.m:
17456         (main):
17458 2005-11-28  Eric Seidel  <eseidel@apple.com>
17460         Reviewed by sullivan and GGAREN.
17462         Minor additions to make error messages more clear from cvs-apply.
17464         * Scripts/cvs-apply: make errors more clear
17466 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
17468         Reviewed and committed by Maciej.
17470         - fixed cvs-create-patch --include produces incorrect paths
17471         (http://bugs.webkit.org/show_bug.cgi?id=5846)
17473         * Scripts/cvs-create-patch: produce proper paths for new files.
17475 2005-11-21  Eric Seidel  <eseidel@apple.com>
17477         Reviewed by hyatt.
17479         Some simple fixes to the build/test scripts now that SVG uses the
17480         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
17481         or symlinks for KDOM.
17483         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
17484         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
17485         * Scripts/run-webkit-tests: now runs SVG tests using DRT
17486         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI 
17487         * checkout: no longer symlink kdom
17489 2005-11-10  Eric Seidel  <eseidel@apple.com>
17491         Reviewed by ggaren.
17493         * Scripts/build-webkit: Pass through options to xcodebuild
17495 2005-11-07  Darin Adler  <darin@apple.com>
17497         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
17499 2005-11-03  John Sullivan  <sullivan@apple.com>
17501         Reviewed by Darin.
17503         * Scripts/run-safari:
17504         changed message to say "Starting Safari" instead of odd "Start Safari"
17505         * Scripts/run-webkit-tests:
17506         changed the way we pass the file parameter to use -NSOpen rather than relying on
17507         unlabeled arguments being treated as files. This was failing on some machines that 
17508         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
17510 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
17512         Patch by Alexey Proskuryakov.
17514         Reviewed by Maciej.
17515         
17516         Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
17517         TextInputController should support attributed strings
17519         * DumpRenderTree/TextInputController.m:
17520         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
17521         (+[NSMutableAttributedString webScriptNameForSelector:]):
17522         (-[NSMutableAttributedString getLength]):
17523         (-[NSMutableAttributedString attributeNamesAtIndex:]):
17524         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
17525         (-[NSMutableAttributedString addAttribute:value:]):
17526         (-[NSMutableAttributedString addAttribute:value:from:length:]):
17527         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
17528         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
17529         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
17530         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
17531         (+[TextInputController isSelectorExcludedFromWebScript:]):
17532         (+[TextInputController webScriptNameForSelector:]):
17533         (-[TextInputController insertText:]):
17534         (-[TextInputController attributedSubstringFrom:length:]):
17535         (-[TextInputController attributedStringWithString:]):
17537 2005-10-11  Eric Seidel  <eseidel@apple.com>
17539         Reviewed by hyatt.
17541         Checks for leaks in ImageDiff too.
17543         * Scripts/run-webkit-tests:
17545 2005-10-09  Darin Adler  <darin@apple.com>
17547         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
17548         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
17549         * Scripts/cvs-unapply: Ditto.
17550         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
17552 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
17554         Reviewed, rearranged and landed by Darin.
17556         - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
17557           Need a way to automatically test for regressions in NSTextInput implementation
17559         * DumpRenderTree/DumpRenderTree.m:
17560         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
17561         Create a text input controller and put it in a property of the window object.
17563         * DumpRenderTree/TextInputController.h: Added.
17564         * DumpRenderTree/TextInputController.m: Added.
17565         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
17567 2005-10-06  Darin Adler  <darin@apple.com>
17569         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
17570         are controlled by cvs, or when changes cross multiple repositories.
17571         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
17573 2005-10-03  Eric Seidel  <eseidel@apple.com>
17575         Reviewed by mjs.
17577         Make mouseDown and mouseUp force layout before acting.
17578         This is used by a new test case for 4233558.
17580         * DumpRenderTree/DumpRenderTree.m:
17581         (-[EventSendingController mouseDown]): force layout
17582         (-[EventSendingController mouseUp]): force layout
17584 2005-09-30  Eric Seidel  <eseidel@apple.com>
17586         Reviewed by xenon.
17588         Updated all the scripts for the move:
17589         WebCore/layout-tests -> LayoutTests
17591         * Scripts/check-dom-results:
17592         * Scripts/prepare-ChangeLog: 
17593         * Scripts/run-webkit-tests:
17594         * Scripts/update-webkit: added --no-tests
17595         * checkout: added --no-tests
17597 2005-09-28  Darin Adler  <darin@apple.com>
17599         - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
17600           pixel test should run even if render trees differ
17602         * Scripts/run-webkit-tests: Don't check if the text dump matches.
17604 2005-09-27  Eric Seidel  <eseidel@apple.com>
17606         No review needed, SVG build fix only.
17608         * DumpKCanvasTree/DumpKCanvasTree.m:
17609         Missed one in my previous checkin.
17610         http://bugs.webkit.org/show_bug.cgi?id=5141
17612 2005-09-26  Eric Seidel  <eseidel@apple.com>
17614         No review needed, SVG build fix only.
17616         * DrawTest/DrawTestDocument.m:
17617         * DrawTest/DrawTestToolbarController.m:
17618         * DrawTest/DrawTestView.h:
17619         * DrawTest/DrawTestView.m:
17620         * DrawTest/SVGTest.m:
17621         * DrawTest/TestController.m:
17622         Updated for WebCore+SVG -> WebCore rename.
17623         http://bugs.webkit.org/show_bug.cgi?id=5141
17625 2005-09-26  Eric Seidel  <eseidel@apple.com>
17627         Reviewed by hyatt.
17629         * DumpRenderTree/DumpRenderTree.m:
17630         (dump): updated error message
17631         * Scripts/check-dom-results: now includes xhtml
17632         Tool updates for xhtml.
17633         http://bugs.webkit.org/show_bug.cgi?id=4907
17635 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
17637         Reviewed by Maciej.
17638         Landed by Darin.
17640         - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
17641         "Would like to simulate human interaction with webview"
17643         * DumpRenderTree/DumpRenderTree.m:
17644         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
17645         (+[EventSendingController isSelectorExcludedFromWebScript:]):
17646         (+[EventSendingController webScriptNameForSelector:]):
17647         (-[EventSendingController init]):
17648         (-[EventSendingController mouseDown]):
17649         (-[EventSendingController mouseUp]):
17650         (-[EventSendingController mouseMoveToX:Y:]):
17651         Add eventSender javascript object, that sends fake mouse events to the webview.
17653         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17654         link with Carbon.framework
17656 2005-09-22  Eric Seidel  <eseidel@apple.com>
17658         Reviewed by mjs.
17660         Update tools for WebCore+SVG -> WebCore rename.
17661         Also fold several SVG specific tools into their original
17662         WebCore counterparts.
17663         http://bugs.webkit.org/show_bug.cgi?id=5003
17665         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
17666         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
17667         * Scripts/build-drawtest:
17668         * Scripts/build-dumpkcanvastree:
17669         * Scripts/build-webcore-svg: Removed.
17670         * Scripts/build-webkit: added --svg option
17671         * Scripts/run-drawtest:
17672         * Scripts/run-webkit-tests:
17673         * Scripts/webkitdirs.pm: various additions.
17674         * checkout: added --svg option
17675         * checkout-svg: Removed.
17677 2005-09-19  Eric Seidel  <eseidel@apple.com>
17679         Reviewed by darin.
17681         * Scripts/run-webkit-tests: added --guard-malloc option
17682         http://bugs.webkit.org/show_bug.cgi?id=4613
17684 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
17686         Reviewed by geoff
17687         
17688         Removed a script that is only used by apple internal developers
17690         * Scripts/update-webkitsysteminterface: Removed.
17692 2005-09-16  Adele Peterson  <adele@apple.com>
17694         Reviewed by Maciej.
17696         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
17698 2005-09-14  Darin Adler  <darin@apple.com>
17700         - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
17701           dumpAsText doesn't work with XHTML documents
17703         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
17704         rather than of the body element. This works with typical XHTML documents. We can probably
17705         do something even better in the long run, but this fixes the immediate issue.
17707         - separate tweak
17709         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
17710         run-safari instead of just using "open", which often runs another copy of Safari instead.
17712 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
17714         Reviewed, tweaked, and landed by Darin.
17716         - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
17717           .Mac prefpane crashes when Safari using CVS WebKit is running
17719         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
17720         * Scripts/run-webkit-app: Ditto.
17722 2005-09-11  Darin Adler  <darin@apple.com>
17724         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
17726 2005-09-11  Darin Adler  <darin@apple.com>
17728         Reviewed by Eric.
17730         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
17731         two ways: 1) puts all files in a directory before any files in a subdirectory, and
17732         2) sort file names with numeric digits in them in a logical way, so test-33 will come
17733         before test-3.
17735 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
17737         Reviewed by darin
17739         * Scripts/update-webkitsysteminterface: Added.
17740         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
17742 2005-09-01  John Sullivan  <sullivan@apple.com>
17744         * Scripts/run-webkit-tests:
17745         Excluded a known system leak to reduce noise; added comments about which leaks
17746         are being excluded.
17748 2005-09-01  Tim Omernick  <tomernick@apple.com>
17750         Change made by Darin, reviewed by John and myself.
17752         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
17754         * Scripts/prepare-ChangeLog:
17756 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
17758         Reviewed by Darin.
17760         - set color variant and font settings to a consistent value.
17761         (http://bugs.webkit.org/show_bug.cgi?id=4769)
17763         * DumpRenderTree/DumpRenderTree.m:
17764         (main):
17766 2005-08-30  Eric Seidel  <eseidel@apple.com>
17768         Reviewed by mjs.
17770         * Scripts/build-svg2png: Removed.
17771         * svg2png/ImageDiff.h: Removed.
17772         * svg2png/ImageDiff.m: Removed.
17773         * svg2png/svg2png.m: Removed.
17774         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
17775         * svg2png/svg2png_Prefix.pch: Removed.
17776         svg2png is no longer needed.
17778 2005-08-30  Darin Adler  <darin@apple.com>
17780         * Scripts/check-dom-results: Special case 100% to say something nice.
17781         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
17782         applying the patch (need a better name).
17783         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
17785 2005-08-30  Darin Adler  <darin@apple.com>
17787         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
17789 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
17791         Reviewed by Darin.
17793         - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
17794         (some pixel tests fail when AA settings are changed)
17796         * DumpRenderTree/DumpRenderTree.m:
17797         (main): set AA settings to the default values
17799 2005-08-29  Darin Adler  <darin@apple.com>
17801         Reviewed by John Sullivan.
17803         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
17804         executable -- much slower but can help pinpoint leaks. Changed formatting of some
17805         messages too.
17807 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
17809         Reviewed by Eric.
17811         - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
17812         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
17814         * DumpRenderTree/DumpRenderTree.m:
17815         (main): set scrollbar arrow setting to a consistent value
17817 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
17819         Reviewed and landed by Darin.
17821         - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
17822           output of update-webkit is too verbose
17824         * Scripts/update-webkit:
17825         Added option --quiet (-q) to decrease the amount of output.
17827 2005-08-27  Darin Adler  <darin@apple.com>
17829         - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
17830           cvs-create-patch --include-unknowns should ignore hidden files
17832         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
17834 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
17836         Reviewed, tweaked, and landed by Darin.
17838         - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
17839           update-webkit doesn't notice when you have SVGSupport and update properly
17841         * Scripts/update-webkit: Build SVGSupport directory if it's present.
17843 2005-08-25  Anders Carlsson  <andersca@mac.com>
17845         Reviewed and landed by Darin.
17847         - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
17848           layout test machinery can't handle tests with applets that have code attributes
17850         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
17852 2005-08-24  Darin Adler  <darin@apple.com>
17854         Reviewed by Maciej.
17856         - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
17857           DumpRenderTree --pixel-tests crash
17858         - landed some other small changes I had sitting in my tree
17860         * DumpRenderTree/DumpRenderTree.m:
17861         (main): Don't bother saving and restoring the preferences. Not sure
17862         why this was ever done since the preferences are specific to DumpRenderTree.
17863         Clear delegates before releasing the WebView, because you can't count on the
17864         order of object deallocation.
17865         (dumpRenderTree): Fix code that releases a string before storing it in a
17866         global variable.
17868         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
17869         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
17871 2005-08-23  Eric Seidel  <eseidel@apple.com>
17873         Reviewed by mjs.
17875         * Scripts/run-webkit-tests:
17876         Made --leaks option more readable by printing to a file.
17877         http://bugs.webkit.org/show_bug.cgi?id=4590
17879 2005-08-22  Eric Seidel  <eseidel@apple.com>
17880         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
17882         Reviewed by darin.
17884         * Scripts/run-webkit-tests: hides "expected actual diffs" links
17885         when they are not needed (for pixel-only failures)
17886         http://bugs.webkit.org/show_bug.cgi?id=4584
17888 2005-08-22  Eric Seidel  <eseidel@apple.com>
17890         Reviewed by darin.
17892         * Scripts/run-webkit-tests: Added the ability to display more than
17893         just two images as part of the image-diff "slideshow".
17894         Added display of "-w3c.png" baseline images for SVG.
17895         http://bugs.webkit.org/show_bug.cgi?id=4581
17897 2005-08-20  Eric Seidel  <eseidel@apple.com>
17899         * Scripts/run-webkit-tests:
17900         "build" fix after committing incorrect version.
17902 2005-08-20  Eric Seidel  <eseidel@apple.com>
17904         Reviewed by darin.
17906         * DumpRenderTree/DumpRenderTree.m:
17907         (main): cleans up delegates
17908         (dumpRenderTree): closes CFString/CFURL leak
17909         * Scripts/run-webkit-tests:
17910         Adds --leaks option to run-webkit-tests
17911         http://bugs.webkit.org/show_bug.cgi?id=4542
17913 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
17915         Reviewed by Darin.
17917         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
17918         new files to be included in the patch even without "cvs add".
17920 2005-08-19  Darin Adler  <darin@apple.com>
17922         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
17923         non-cvs-generated patches. Anders has been creating these, so it's bad that
17924         the script can't handle them.
17925         * Scripts/cvs-unapply: Ditto.
17927 2005-08-18  Darin Adler  <darin@apple.com>
17929         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
17930         "." in them -- based on complaint by someone here at Apple.
17932 2005-08-18  Eric Seidel  <eseidel@apple.com>
17934         Reviewed by mjs.
17936         * Scripts/run-webkit-tests:
17937         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
17939 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
17941         - add file that I forgot in the last checkin 
17943         * DumpRenderTree/ImageDiff.m: Added.
17944         (main):
17945         (getImageFromStdin):
17946         (compareImages):
17947         (getDifferenceBitmap):
17948         (computePercentageDifferent):
17950 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
17952         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
17953         somewhat by me, and also tweaked by me a little bit.
17955         - better support for pixel-dumping
17956         - use checksums of the images so the tests are fast
17957         - change output format to make the tests run faster
17958         - don't dump pixel results for tests that dump as text
17960         * DumpKCanvasTree/DumpKCanvasTree.m:
17961         (main):
17962         (dumpRenderTree):
17963         (md5HashStringForBitmap):
17964         (dumpPixelTests):
17965         (constrainSizeToMaximum):
17966         (getBitmapImageRepForSVGDocument):
17967         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
17968         * DumpRenderTree/DumpRenderTree.m:
17969         (main):
17970         (dump):
17971         (dumpRenderTree):
17972         (md5HashStringForBitmap):
17973         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17974         * Scripts/run-webkit-tests:
17976 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
17978         Reviewed by Darin.
17980         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
17982         * DumpRenderTree/DumpRenderTree.m:
17983         (main):
17985 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
17987         Reviewed and landed by Darin.
17989         - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
17990           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
17992         * Scripts/run-safari: Pass arguments through to Safari on command line.
17993         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
17995 2005-08-11  Eric Seidel  <eseidel@apple.com>
17996         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
17998         Reviewed by eseidel.
18000         * DrawTest/TestController.m:
18001         (-[TestController imagePathForSVGPath:]):
18002         Fixed support for using TextViewer with the layout-tests.
18003         http://bugs.webkit.org/show_bug.cgi?id=4385
18005 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
18007         At Least Roughly Glanced At by Anders.
18009         - fix change with totally breaks the layout tests.
18011         * DumpRenderTree/DumpRenderTree.m:
18012         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
18013         load, to avoid dumping twice accidentally.
18015 2005-08-10  Eric Seidel  <eseidel@apple.com>
18016         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
18018         Reviewed by darin.
18020         * DumpRenderTree/DumpRenderTree.m:
18021         Added support for rendering to a PNG file.
18022         http://bugs.webkit.org/show_bug.cgi?id=3840
18024 2005-08-07  Eric Seidel  <eseidel@apple.com>
18026         Reviewed by darin.
18028         * Scripts/run-webkit-tests: added --svg option
18029         * Scripts/run-webkit-tests-svg: Removed.
18030         http://bugs.webkit.org/show_bug.cgi?id=4300
18032 2005-08-07  Eric Seidel  <eseidel@apple.com>
18033         Changes by Ben La Monica <ben.lamonica@gmail.com>
18035         Reviewed by darin.
18037         * svg2png/ImageDiff.h: Added.
18038         * svg2png/ImageDiff.m: Added.
18039         (getDifferenceBitmap):
18040         (computePercentageDifferent):
18041         (saveAnimatedGIFToFile):
18042         * svg2png/svg2png.m:
18043         (usage): added several new options
18044         (getBitmapForSVG): added NSBitmapImageRep generation
18045         (main): various argument changes.
18046         * svg2png/svg2png.xcodeproj/project.pbxproj:
18047         Several additions to provide image differencing functionality.
18048         http://bugs.webkit.org/show_bug.cgi?id=4193
18050 2005-08-07  Eric Seidel  <eseidel@apple.com>
18052         Reviewed by darin.
18054         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
18055         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
18056         Adding the first SVG layout tests:
18057         http://bugs.webkit.org/show_bug.cgi?id=4303
18059 2005-08-07  Darin Adler  <darin@apple.com>
18061         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
18063 2005-08-06  Eric Seidel  <eseidel@apple.com>
18065         Reviewed by darin.
18067         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
18068         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
18069         * Scripts/build-dumpkcanvastree: Added.
18070         * Scripts/run-webkit-tests-svg: Added.
18071         Adds a DumpRenderTree-like tool for SVG which allows us to do
18072         text-based layout regression testing.  This (like most of the
18073         SVG specific stuff) is temporary and will be replaced by
18074         DumpRenderTree once the DOMs and RenderTrees merge.
18075         http://bugs.webkit.org/show_bug.cgi?id=3917
18077 2005-08-06  Eric Seidel  <eseidel@apple.com>
18079         Reviewed by darin.
18081         * DrawTest/DrawTestView.m:
18082         (-[DrawTestView toggleFilterSupport:]): missing negation.
18083         One half of fix for toggling filter support.
18084         http://bugs.webkit.org/show_bug.cgi?id=4252
18086 2005-08-04  Eric Seidel  <eseidel@apple.com>
18088         Reviewed by darin.
18090         * Scripts/build-drawtest:
18091         * Scripts/build-dumprendertree:
18092         * Scripts/build-svg2png:
18093         * Scripts/build-webcore-svg:
18094         * Scripts/build-webkit:
18095         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
18096         Added checkRequiredSystemConfig and made all the build-* scripts
18097         use it to print a pretty warning when trying to compile on an
18098         unsupported system (less than 10.4, Xcode 2.1).
18099         http://bugs.webkit.org/show_bug.cgi?id=4280
18101 2005-08-04  Darin Adler  <darin@apple.com>
18103         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
18104         the dead. It was removed by accident when someone was trying to work on the branch.
18106 2005-07-31  Darin Adler  <darin@apple.com>
18108         - a little tools cleanup
18110         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
18111         project as a whole. Removed unused Default configuration.
18113         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
18115 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
18117         Reviewed and landed by Darin Adler.
18119         Add logging of editing delegate calls for regression checking.
18121         * DumpRenderTree/DumpRenderTree.m:
18122         (main):
18123           setup editing delegate
18125         (-[DOMNode dumpPath]):
18126         (-[DOMRange dump]):
18127           utility for editing delegate logging
18129         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
18130         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
18131         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
18132         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
18133         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
18134         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
18135         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
18136         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
18137         (-[EditingDelegate webViewDidBeginEditing:]):
18138         (-[EditingDelegate webViewDidChange:]):
18139         (-[EditingDelegate webViewDidEndEditing:]):
18140         (-[EditingDelegate webViewDidChangeTypingStyle:]):
18141           log corresponding editing delegate methods
18143         (-[EditingDelegate webViewDidChangeSelection:]):
18144           log selection except when clearing selection after end of test (uses existing "done" flag)
18146         (dumpRenderTree):
18147           added clearing of selection after test
18149 2005-07-31  Eric Seidel  <eseidel@apple.com>
18151         Reviewed by hyatt.
18153         * Scripts/build-drawtest: Added.
18154         * Scripts/build-svg2png: Added.
18155         * Scripts/build-webcore-svg: Added.
18156         * Scripts/run-drawtest: Added.
18157         * Scripts/webkitdirs.pm: added checkSVGFrameworks
18158         Made it much easier to build WebCore+SVG.
18159         http://bugs.webkit.org/show_bug.cgi?id=4208
18161 2005-07-29  Eric Seidel  <eseidel@apple.com>
18163         Reviewed by vicki.
18165         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
18166         Build fix.  Removed bad path.
18168 2005-07-29  Eric Seidel  <eseidel@apple.com>
18170         Reviewed by sullivan.
18172         * DrawTest/AppDelegate.h: Added.
18173         * DrawTest/AppDelegate.m: Added.
18174         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
18175         * DrawTest/DrawTestDocument.h: Added.
18176         * DrawTest/DrawTestDocument.m: Added.
18177         * DrawTest/DrawTestInspectorController.h: Added.
18178         * DrawTest/DrawTestInspectorController.m: Added.
18179         * DrawTest/DrawTestToolbarController.h: Added.
18180         * DrawTest/DrawTestToolbarController.m: Added.
18181         * DrawTest/DrawTestView.h: Added.
18182         * DrawTest/DrawTestView.m: Added.
18183         * DrawTest/DrawTest_Prefix.pch: Added.
18184         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
18185         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
18186         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
18187         * DrawTest/English.lproj/InfoPlist.strings: Added.
18188         * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
18189         * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
18190         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
18191         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
18192         * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
18193         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
18194         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
18195         * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
18196         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
18197         * DrawTest/Info.plist: Added.
18198         * DrawTest/SVGTest.h: Added.
18199         * DrawTest/SVGTest.m: Added.
18200         * DrawTest/ScalingImageView.h: Added.
18201         * DrawTest/ScalingImageView.m: Added.
18202         * DrawTest/TestController.h: Added.
18203         * DrawTest/TestController.m: Added.
18204         * DrawTest/TestViewerSplitView.h: Added.
18205         * DrawTest/TestViewerSplitView.m: Added.
18206         * DrawTest/main.m: Added.
18207         Adding simple cocoa app for testing SVG rendering, interaction.
18208         http://bugs.webkit.org/show_bug.cgi?id=4157
18210 2005-07-28  Eric Seidel  <eseidel@apple.com>
18212         Reviewed by ggaren.
18214         * svg2png/svg2png.m: Added.
18215         * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
18216         * svg2png/svg2png_Prefix.pch: Added.
18217         Added a simple test tool which dumps a PNG from an SVG using
18218         WebCore+SVG's SVG rendering support.
18219         http://bugs.webkit.org/show_bug.cgi?id=4156
18221 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
18223         Reviewed by Darin.
18225         - new script to review the DOM layout test results and see where we stand
18226         on actual success and failure
18228         * Scripts/check-dom-results: Added.
18230 2005-07-25  Darin Adler  <darin@apple.com>
18232         * Scripts/webkitdirs.pm: Check in missing line of code.
18234 2005-07-25  Darin Adler  <darin@apple.com>
18236         - fixed problem that was causing JavaScriptCore test to fail
18237           (except for people who had set DYLD_FRAMEWORK_PATH)
18239         * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
18240         Add code to parse configuration parameter so you can pass --deployment if you like.
18241         * Scripts/run-webkit-tests: Add code to parse configuration parameter.
18243         * Scripts/update-javascriptcore-test-results: Add license header.
18245         * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
18246         from @ARGV. This lets us use this option in commands that take other options and
18247         pass them along to a subsequent tool.
18249 2005-07-25  Darin Adler  <darin@apple.com>
18251         Reviewed by Geoff Garen.
18253         - Fixed run-safari and gdb-safari to use the Safari application in the build results
18254           directory, if any, falling back to the one in the Applications directory otherwise.
18255           Does no harm for open source contributors who don't build Safari, and helps out the
18256           Safari team, since we do build Safari.
18258         * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
18259         variable, and if that's not present, looks in either the build results directory or
18260         /Applications; factors code that was in both scripts before into a shared function.
18261         Also removed some Xcode 2.0 support which is no longer relevant since our projects are
18262         now in Xcode 2.1 format and incompatible with older versions of Xcode.
18264         * Scripts/gdb-safari: Use safariPath.
18265         * Scripts/run-safari: Use safariPath.
18267 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
18269         Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
18270         run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
18271         
18272         Moved Tools/Scripts/update-mozilla-js-test-results to 
18273         WebKitTools/Scripts/update-javascriptcore-test-results.
18274         
18275         Reviewed by darin.
18277         * Scripts/run-javascriptcore-tests: Added.
18279 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
18281         Reviewed by Darin.
18283         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
18285 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
18287         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
18289 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
18291         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
18293 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
18295         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
18297 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
18299         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
18301 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
18303         * Scripts/build-webkit:
18305 2005-07-12  Eric Seidel  <eseidel@apple.com>
18307         Reviewed by mjs.
18309         * checkout-svg: Fixed error with symlink creation.
18311 2005-07-12  Eric Seidel  <eseidel@apple.com>
18313         Reviewed by mjs.
18315         * checkout-svg: Added.
18316         Script to check out WebCore+SVG
18318 2005-06-30  Darin Adler  <darin@apple.com>
18320         Changes based on input from Michael Kahl.
18322         * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
18323         specify different style of "diff".
18324         * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
18325         determineConfigurationProductDir works in all cases.
18327 2005-06-29  Darin Adler  <darin@apple.com>
18329         - fixed bug which would result in multiple unwanted dumps in a single layout test
18331         * DumpRenderTree/DumpRenderTree.m:
18332         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
18333         "readyToDump" flag.
18334         (-[LayoutTestController waitUntilDone]): Update for name change.
18335         (-[LayoutTestController notifyDone]): Dump only if ready.
18336         (dumpRenderTree): Set up new boolean and update for name change.
18338 2005-06-29  Darin Adler  <darin@apple.com>
18340         Changes by Timothy Hatcher.
18341         Reviewed by me.
18343         * Scripts/run-webkit-app: Added script to open an arbritrary application with
18344         a CVS built WebKit. Example: ./run-webkit-app Colloquy
18346         * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
18347         a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
18348         * Scripts/run-safari: Ditto.
18350 2005-06-26  Darin Adler  <darin@apple.com>
18352         * Scripts/build-dumprendertree: Pass -project option so that having a second
18353         copy of the project (like the one Xcode 2.1 offers to make for you) that's
18354         out of date won't screw you up.
18355         * Scripts/build-webkit: Ditto.
18357 2005-06-23  Darin Adler  <darin@apple.com>
18359         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
18361 2005-06-23  Darin Adler  <darin@apple.com>
18363         Changes based on input from Michael Kahl.
18365         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
18366         directory passed in.
18368         * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
18369         getcwd() in the code to find the base product dir. Added code to handle unusual
18370         base product directory values that use SRCROOT.
18372 2005-06-22  Darin Adler  <darin@apple.com>
18374         Change by Anders Carlsson.
18376         - added support for dumping title changes
18378         * DumpRenderTree/DumpRenderTree.m:
18379         (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
18380         if requested by JavaScript.
18381         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
18382         (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
18383         (dumpRenderTree): Start flag as NO.
18385 2005-06-20  Darin Adler  <darin@apple.com>
18387         Reviewed by Justin Garcia.
18389         * Scripts/run-webkit-tests: Report number of tests when they succeed.
18391 2005-06-18  Darin Adler  <darin@apple.com>
18393         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
18394         in the hope of making the tool use less memory and run faster.
18396 2005-06-18  Darin Adler  <darin@apple.com>
18398         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
18399         * Scripts/cvs-unapply: Ditto.
18401 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
18403         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
18404         benefit of all WebKit hackerdom
18406         * Scripts/prepare-ChangeLog: Added.
18408 2005-06-16  Darin Adler  <darin@apple.com>
18410         - recent changes to XcodeOptions made it depend on the current directory
18411           The intent was to have the WebKitBuild directory be next to WebKitTools,
18412           not inside the various build directories. Workaround for now is to call
18413           XcodeOptions when the directory is set to the WebKit directory.
18415         * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
18416         at the start of the script.
18417         * Scripts/build-webkit: Ditto.
18419 2005-06-15  Darin Adler  <darin@apple.com>
18421         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
18423 2005-06-14  Darin Adler  <darin@apple.com>
18425         Changes by Anders Carlsson.
18426         Reviewed by me.
18428         - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
18429           Add gdb-safari script to launch Safari under gdb
18431         * Scripts/gdb-safari: Added.
18433 2005-06-12  Darin Adler  <darin@apple.com>
18435         Changes by Stuart Morgan.
18436         Reviewed by me.
18438         * Scripts/cvs-abandon: Use cwd instead of `pwd`.
18439         * Scripts/cvs-apply: Ditto.
18440         * Scripts/cvs-create-patch: Ditto.
18441         * Scripts/cvs-unapply: Ditto.
18442         * Scripts/run-webkit-tests: Ditto.
18443         * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
18445 2005-06-12  Darin Adler  <darin@apple.com>
18447         * Scripts/cvs-apply: Handle case of an empty patch better.
18448         * Scripts/cvs-unapply: Ditto.
18450 2005-06-12  Darin Adler  <darin@apple.com>
18452         Changes by Michael Gaiman.
18453         Reviewed by me.
18455         - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
18456           WebKit no longer builds after configuration supporting build changes
18458         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
18460 2005-06-12  Darin Adler  <darin@apple.com>
18462         * Scripts/update-webkit: Make this script work when called from any directory.
18464 2005-06-12  Darin Adler  <darin@apple.com>
18466         Reviewed by Maciej.
18467         Includes changes by Stuart Morgan as well as my own.
18469         * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
18470         symrootXcodeOptions to set the -buildstyle option.
18471         * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
18472         The new --development option does the same thing.
18473         * Scripts/run-safari: Ditto.
18474         * Scripts/run-webkit-tests: Ditto.
18475         * Scripts/update-webkit: Ditto.
18476         * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
18478         * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
18479         directory is when invoking a script. Add code to determine the Xcode version so we can do the right
18480         thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
18481         product directory. Read the default configuration from a file, overridable by a passed-in command-line
18482         option.
18484 2005-06-11  Darin Adler  <darin@apple.com>
18486         * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
18487         to execute the cvs diff commands.
18489 2005-06-11  Darin Adler  <darin@apple.com>
18491         - added first cuts at some cvs scripts
18493             cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
18494             cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
18495             cvs-apply is for applying patches; runs patch and cvs add and cvs rm
18496             cvs-unapply is for unapplying patches; does the opposite of cvs-apply
18498           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
18500         * Scripts/cvs-abandon: Added.
18501         * Scripts/cvs-apply: Added.
18502         * Scripts/cvs-create-patch: Added.
18503         * Scripts/cvs-unapply: Added.
18505 2005-06-09  Darin Adler  <darin@apple.com>
18507         Reviewed by Maciej.
18509         - fixed http://bugs.webkit.org/show_bug.cgi?id=3397
18510           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
18512         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
18513         for Foundation.framework. How was it ever wrong?
18515         - finally, I tested making the default build directory work; it works now
18517         * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
18518         that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
18519         * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
18520         * Scripts/build-dumprendertree: Ditto.
18522 2005-06-09  Darin Adler  <darin@apple.com>
18524         * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
18525         work. Someone should try building without setting the Xcode build product directory now,
18526         and let me know if it works.
18528 2005-06-08  Darin Adler  <darin@apple.com>
18530         - quick fix to try to get build scripts working again
18532         * Scripts/build-dumprendertree: Add FindBin.
18533         * Scripts/build-webkit: Ditto.
18534         * Scripts/run-safari: Ditto.
18535         * Scripts/run-webkit-tests: Ditto.
18536         * Scripts/update-webkit: Ditto.
18538 2005-06-08  Darin Adler  <darin@apple.com>
18540         Reviewed by Maciej.
18542         - some build script enhancements
18544         * Scripts/build-dumprendertree: Changed to use webkitdirs.
18545         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
18546         they are newer.
18547         * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
18548         before Deplyment in that case.
18549         * Scripts/run-webkit-tests: Changed to use webkitdirs.
18550         * Scripts/update-webkit: Changed to use webkitdirs.
18552         * Scripts/webkitdirs.pm: Added.
18554 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
18556         Code change by Toby Peterson <toby@opendarwin.org>
18557         Reviewed by me.
18559         * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
18560         get confused because build-webkit now makes even 2.0 build directories look
18561         like 2.1.
18563 2005-06-07  Darin Adler  <darin@apple.com>
18565         Reviewed by Adele Peterson.
18567         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
18568         * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
18569         so we can run tests with Xcode 2.1.
18571 2005-06-07  Darin Adler  <darin@apple.com>
18573         Reviewed by Adele Peterson.
18575         * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
18576         layout-tests directory to include additional sets of tests.
18578 2005-06-07  Darin Adler  <darin@apple.com>
18580         * checkout: Added license.
18581         * Scripts/build-dumprendertree: Ditto.
18582         * Scripts/run-webkit-tests: Ditto.
18583         * Scripts/update-webkit: Ditto.
18585 2005-06-07  Darin Adler  <darin@apple.com>
18587         Change by Toby Peterson <toby@opendarwin.org>.
18588         Reviewed by me.
18590         * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
18591         * Scripts/run-safari: Ditto.
18593 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
18595         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
18597 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
18599         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
18601 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
18603         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
18605 2005-06-05  Darin Adler  <darin@apple.com>
18607         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
18608         * Scripts/build-dumprendertree: Added.
18609         * Scripts/build-webkit: Build All in the JavaScriptCore directory.
18610         * Scripts/run-webkit-tests: Build DumpRenderTree before running.
18612 2005-06-05  Darin Adler  <darin@apple.com>
18614         * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
18616 2005-06-05  Darin Adler  <darin@apple.com>
18618         - add run-webkit-tests script; not working yet but the pieces are there
18620         * Scripts/run-webkit-tests: Added.
18622         * DumpRenderTree/DumpRenderTree.m: Added.
18623         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
18624         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
18625         * DumpRenderTree/DumpRenderTreePrefix.h: Added.
18627 2005-06-05  Darin Adler  <darin@apple.com>
18629         - created module, first cut at Web Kit Open Source Project scripts
18631         * ChangeLog: Added.
18632         * Scripts/build-webkit: Added.
18633         * Scripts/run-safari: Added.
18634         * Scripts/update-webkit: Added.
18635         * checkout: Added.
18637 === creation of WebKitTools module ===