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?)
8 Call -[WebView display] in the "plug-in" failed delegate method, simulating
9 the sheet that Safari puts up.
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.
42 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
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
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:
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
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>
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>
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
123 * Scripts/run-safari:
125 2008-05-21 Stephanie Lewis <slewis@apple.com>
127 Reviewed by Maciej, Mark.
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.
158 === End merge of squirrelfish ===
160 2008-04-14 Maciej Stachowiak <mjs@apple.com>
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>
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>
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.
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>
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>
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
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>
389 Add support for testing application caches.
391 * DumpRenderTree/mac/DumpRenderTree.mm:
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:
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:
422 * DumpRenderTree/win/DumpRenderTree.cpp:
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:
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:
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
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
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>
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
532 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
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
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>
570 Replace COMPtr::operator& with COMPtr::adoptionPointer.
572 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
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>
592 Reset dumping resource load callbacks to false for the next test
595 * DumpRenderTree/qt/jsobjects.cpp:
596 (LayoutTestController::reset):
598 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
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.
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.
615 https://bugs.webkit.org/show_bug.cgi?id=18756
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.
642 Allow the user to set the path to SWIG using an environment variable.
644 https://bugs.webkit.org/show_bug.cgi?id=18660
648 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
650 wx build fix. Download the latest libpng version for building the
653 * wx/install-unix-extras:
655 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
659 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
661 Similar to Editing and Frameloading we do the dumping within WebCore
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>
681 Don't call fprintf from the signal handler.
683 * DumpRenderTree/mac/DumpRenderTree.mm:
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:
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>
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>
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.
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
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
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>
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
818 2008-04-17 Adam Roben <aroben@apple.com>
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
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
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
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
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
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
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>
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:
968 2008-04-15 Anders Carlsson <andersca@apple.com>
972 * Scripts/build-webkit:
974 2008-04-15 Anders Carlsson <andersca@apple.com>
978 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
980 * Scripts/build-webkit:
982 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
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
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
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>
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>
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.
1051 * DumpRenderTree/qt/DumpRenderTree.cpp:
1053 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
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.
1062 * DumpRenderTree/qt/DumpRenderTree.cpp:
1063 (WebCore::DumpRenderTree::readStdin):
1064 * DumpRenderTree/qt/main.cpp:
1067 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1071 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
1072 located in a directory with the name "loading". And this will autoamtically
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.
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>
1091 Fix Qt DRT run by also printing EOF on stderr, as expected by
1094 * DumpRenderTree/qt/DumpRenderTree.cpp:
1095 (WebCore::DumpRenderTree::dump):
1097 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
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>
1122 Enable SVG animation support by default.
1124 * Scripts/build-webkit:
1126 2008-03-25 Adam Roben <aroben@apple.com>
1130 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1131 Add $(WebKitLibrariesDir)\include to the include path so we can find
1134 2008-03-24 Eric Seidel <eric@webkit.org>
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
1171 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
1175 http://bugs.webkit.org/show_bug.cgi?id=17981
1177 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
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
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>
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):
1219 (stringVariantToIdentifier):
1220 (int32VariantToIdentifier):
1221 (doubleVariantToIdentifier):
1222 (variantToIdentifier):
1223 (testIdentifierToString):
1224 (testIdentifierToInt):
1227 (removeDefaultMethod):
1229 (testInvokeDefault):
1232 (testGetIntIdentifier):
1235 (testGetPropertyReturnValue):
1237 (pluginInvokeDefault):
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
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>
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>
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
1312 2008-03-07 Simon Hausmann <hausmann@webkit.org>
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>
1359 Add Windows part of <rdar://problem/5693690>
1361 * DumpRenderTree/win/DumpRenderTree.cpp:
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>
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.
1390 2008-03-06 Adele Peterson <adele@apple.com>
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>
1428 * DumpRenderTree/mac/WatchdogMac.mm:
1430 2008-03-06 Brady Eidson <beidson@apple.com>
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):
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
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.
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.
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.
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>
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
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.
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>
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>
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
1668 Copy the Java plug-in over to the new location.
1670 * FindSafari/FindSafari.cpp:
1673 2008-02-22 Anders Carlsson <andersca@apple.com>
1677 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
1679 * DumpRenderTree/win/DumpRenderTree.cpp:
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.
1704 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
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):
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>
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>
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
1793 * Scripts/build-webkit:
1795 2008-02-14 Adam Roben <aroben@apple.com>
1797 Turn on cross-document messaging support by default
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.
1815 * Scripts/build-webkit:
1817 2008-02-14 Darin Adler <darin@apple.com>
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>
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
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.
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
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>
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.
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>
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>
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.
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:
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.
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):
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>
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
2078 2008-02-04 Adam Roben <aroben@apple.com>
2080 Windows Apple-only build fix
2082 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
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
2092 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2093 * DumpRenderTree/gtk/GCControllerGtk.cpp:
2094 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2097 2008-02-01 Eric Seidel <eric@webkit.org>
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:
2118 * GtkLauncher/main.c:
2120 2008-01-30 Stephanie <slewis@apple.com>
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.
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
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>
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.
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
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
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
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:
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):
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
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
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.
2318 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
2320 Reviewed by Lars Knoll <lars@trolltech.com>.
2322 Reworked the JavaScriptCore Qt bindings:
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.
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
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.
2348 Add new method for testing the return vale of NPN_GetProperty.
2350 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
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>
2381 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
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
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
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,
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
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>
2435 * Scripts/build-webkit:
2437 2008-01-18 Beth Dakin <bdakin@apple.com>
2441 Update build-webkit to account for foreign-object being disabled by
2444 * Scripts/build-webkit:
2446 2008-01-18 Adam Roben <aroben@apple.com>
2448 Updated for method renames
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>
2476 Fix fast/dom/Window/window-resize.html
2478 In DRT connect the page's geometryChangeRequest signal to a slot that
2479 sets the geometry of the view widget.
2482 * DumpRenderTree/qt/DumpRenderTree.cpp:
2483 (WebCore::WebPage::setViewGeometry):
2484 (WebCore::WebPage::WebPage):
2486 2008-01-17 Steve Falkenburg <sfalken@apple.com>
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.
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:
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.
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.
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>
2563 revert accidental character.
2565 * Scripts/run-webkit-tests:
2567 2008-01-14 Stephanie <slewis@apple.com>
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>
2583 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
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>
2593 * Randomize tests array to spot test cases where the results depends on the order
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
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.
2622 Debug: common.vsprops, debug.vsprops
2623 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
2624 Release: common.vsprops, release.vsprops
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>
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):
2674 (dumpBackForwardList):
2675 (dumpBackForwardListForAllWindows):
2677 (resetWebViewToConsistentStateBeforeTesting): Factored out of
2680 (allWindows): Added. Returns a vector of all open windows.
2681 (windowToWebViewMap): Added. Returns a map from open windows to their
2683 (createWebViewAndOffscreenWindow): Factored out of main() to be
2684 reusable for creating extra windows.
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.
2702 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2706 * Make launching of the WebKit httpd work on GNU/Debian/Linux
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
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
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):
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.
2787 * DumpRenderTree/win/EventSender.cpp:
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>
2814 rename QWebPageHistory to QWebHistory.
2817 * DumpRenderTree/qt/jsobjects.cpp:
2819 2008-01-09 Maciej Stachowiak <mjs@apple.com>
2823 - add some more renames, adjust some
2825 * Scripts/do-webcore-rename:
2827 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
2831 Enable SVG Fonts support by default.
2833 * Scripts/build-webkit:
2835 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
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>
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:
2859 2008-01-07 Simon Hausmann <hausmann@webkit.org>
2863 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
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:
2897 2008-01-04 Lars Knoll <lars@trolltech.com>
2901 fix DRT after the changes to QWebPage.
2903 The great thing is that we actually don't have
2904 any regressions from the QWebPage change :)
2907 * DumpRenderTree/qt/DumpRenderTree.cpp:
2908 (WebCore::DumpRenderTree::DumpRenderTree):
2910 2008-01-04 Lars Knoll <lars@trolltech.com>
2914 make QWebPage a QObject and get things to compile.
2916 Nothing works currently though.
2919 * DumpRenderTree/qt/DumpRenderTree.cpp:
2920 (WebCore::DumpRenderTree::DumpRenderTree):
2922 2008-01-04 Lars Knoll <lars@trolltech.com>
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>
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:
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>
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.
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
3007 (sub lastModifiedToUnixTime): Added.
3009 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
3013 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
3015 2008-01-03 Simon Hausmann <hausmann@webkit.org>
3019 Moved QWebPage::open to QWebFrame::load and added setHtml.
3022 * DumpRenderTree/qt/DumpRenderTree.cpp:
3023 (WebCore::DumpRenderTree::open):
3025 2008-01-03 Simon Hausmann <hausmann@webkit.org>
3029 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
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:
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>
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:
3070 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
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>
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>
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>
3098 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
3100 2007-12-29 Darin Adler <darin@apple.com>
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>
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>
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
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.
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>
3184 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
3186 2007-12-20 Kevin McCullough <kmccullough@apple.com>
3190 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
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
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.
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:
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
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.
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:
3274 * GtkLauncher/main.c:
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
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:
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:
3308 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
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
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):
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.
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>
3379 Assert that a web frame that's loading a resource always has either a data source or
3380 a provisional data source.
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>
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)
3418 Add property getting methods to the plug-in.
3420 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3423 2007-12-14 Kevin McCullough <kmccullough@apple.com>
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>
3438 - Layout tests fix. We need a way to remove machine-dependent
3439 information from paths in layout test results. The UIDelegate now does
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>
3479 <rdar://problem/5132003>
3480 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
3482 * DumpRenderTree/win/DumpRenderTree.cpp:
3484 Set the resource load delegate.
3486 * DumpRenderTree/win/DumpRenderTree.vcproj:
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:
3510 2007-12-11 Brady Eidson <beidson@apple.com>
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>
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>
3543 - <rdar://5599845> Drosera: Does not show loal files in the file list
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>
3564 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
3566 Fixes <rdar://problem/5620249> Must disable SVG animation
3567 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
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
3572 ENABLE_SVG_ANIMATION
3578 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
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.
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.
3614 * DumpRenderTree/win/DumpRenderTree.cpp:
3617 2007-12-06 Anders Carlsson <andersca@apple.com>
3619 Rename main.c to main.cpp here too.
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).
3638 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3641 2007-12-05 Anders Carlsson <andersca@apple.com>
3643 Make the entry points extern "C".
3644 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3646 2007-12-05 Anders Carlsson <andersca@apple.com>
3650 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
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>
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