1 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
3 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
5 * wx/browser/browser.cpp:
8 2008-05-24 Andreia Gaita <shana@isninja.com>
10 Reviewed by Alp Toker.
12 cygwin-downloader.py fixes.
14 Remove two non-working mirrors. Add a check for missing dependency
15 packages to avoid bailing out on an inconsistent Cygwin package list.
17 * CygwinDownloader/cygwin-downloader.py:
19 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
21 Reviewed by Darin Adler.
23 Remove useQmake usage. QMake build doesn't support Gtk port
26 Also fix 2 occurences of "Web Kit". Should be WebKit.
28 * Scripts/build-webkit:
29 * Scripts/run-javascriptcore-tests:
30 * Scripts/run-launcher:
31 * Scripts/run-webkit-tests:
32 * Scripts/webkitdirs.pm:
34 2008-05-22 Stephanie Lewis <slewis@apple.com>
38 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
40 * DumpRenderTree/mac/UIDelegate.mm:
41 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
42 * DumpRenderTree/win/UIDelegate.cpp:
43 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
45 2008-05-21 Adele Peterson <adele@apple.com>
49 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
51 * DumpRenderTree/win/UIDelegate.cpp:
52 (UIDelegate::webViewFocus): Added.
53 (UIDelegate::webViewUnfocus): Added.
54 * DumpRenderTree/win/UIDelegate.h:
56 2008-05-21 Mark Rowe <mrowe@apple.com>
58 Rubber-stamped by Stephanie Lewis.
60 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
61 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
66 2008-05-21 Stephanie Lewis <slewis@apple.com>
68 Reviewed by Maciej, Mark.
70 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
72 * Scripts/run-webkit-tests:
73 * Scripts/webkitdirs.pm:
75 2008-05-20 Mark Rowe <mrowe@apple.com>
77 Reviewed by Stephanie Lewis.
79 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
81 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
82 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
83 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
84 pass an argument to run-webkit-tests after having built with "make x86_64".
88 * Scripts/run-webkit-tests:
89 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
90 preferred architecture, and exporting of the environment variables for 'arch' out into
93 2008-05-20 Mark Rowe <mrowe@apple.com>
95 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
99 === End merge of squirrelfish ===
101 2008-04-14 Maciej Stachowiak <mjs@apple.com>
105 - added support for --ubench mode
107 * Scripts/run-sunspider:
109 2008-03-26 Geoffrey Garen <ggaren@apple.com>
111 Reviewed by Oliver Hunt.
113 --squirrelfish mode: pared down tests for squirrelfish to chew on.
115 * Scripts/run-sunspider:
117 === Start merge of squirrelfish ===
119 2008-05-21 Darin Adler <darin@apple.com>
121 * Scripts/make-js-test-wrappers: Added another exception.
123 2008-05-19 Stephanie Lewis <slewis@apple.com>
127 Explicitly set run mode to 32bit unless overridden to avoid
128 confusion when running tests
130 * Scripts/build-dumprendertree:
131 * Scripts/gdb-safari:
132 * Scripts/run-webkit-tests:
133 * Scripts/webkitdirs.pm:
135 2008-05-16 Stephanie Lewis <slewis@apple.com>
139 Print out pending unload event count. Also print out main frame name to match Mac.
141 * DumpRenderTree/win/FrameLoadDelegate.cpp:
142 (descriptionSuitableForTestResult):
143 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
145 2008-05-16 Timothy Hatcher <timothy@apple.com>
147 Remove the Drosera project, code and resources since it has been
148 replaced with the Web Inspector's debugger. Removes references to
149 Drosera in various scripts and makefiles.
151 Rubber-stamped by Mark Rowe.
153 * BuildSlaveSupport/build-launcher-app:
154 * Drosera/DebuggerDocument.cpp: Removed.
155 * Drosera/DebuggerDocument.h: Removed.
156 * Drosera/Drosera.icns: Removed.
157 * Drosera/DroseraWin.make: Removed.
158 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
159 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
160 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
161 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
162 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
163 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
164 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
165 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
166 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
167 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
168 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
169 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
170 * Drosera/Images/Drosera.ico: Removed.
171 * Drosera/Images/SourceArrow.png: Removed.
172 * Drosera/Images/SourceArrowBlank.png: Removed.
173 * Drosera/Images/SourceArrowOpen.png: Removed.
174 * Drosera/Images/background_stripe.png: Removed.
175 * Drosera/Images/breakPoint.tif: Removed.
176 * Drosera/Images/breakPointDisabled.tif: Removed.
177 * Drosera/Images/breakpointeditor.png: Removed.
178 * Drosera/Images/close.tif: Removed.
179 * Drosera/Images/close_active.tif: Removed.
180 * Drosera/Images/close_hover.tif: Removed.
181 * Drosera/Images/console.png: Removed.
182 * Drosera/Images/continue.tif: Removed.
183 * Drosera/Images/fileIcon.jpg: Removed.
184 * Drosera/Images/finishFunction.tif: Removed.
185 * Drosera/Images/glossyFooterFill.tif: Removed.
186 * Drosera/Images/glossyHeader.png: Removed.
187 * Drosera/Images/glossyHeaderPressed.png: Removed.
188 * Drosera/Images/gradientBackground.png: Removed.
189 * Drosera/Images/gutter.png: Removed.
190 * Drosera/Images/navLeftDisabled.png: Removed.
191 * Drosera/Images/navLeftNormal.png: Removed.
192 * Drosera/Images/navLeftPressed.png: Removed.
193 * Drosera/Images/navRightDisabled.png: Removed.
194 * Drosera/Images/navRightNormal.png: Removed.
195 * Drosera/Images/navRightPressed.png: Removed.
196 * Drosera/Images/pause.tif: Removed.
197 * Drosera/Images/popUpArrows.png: Removed.
198 * Drosera/Images/programCounter.tif: Removed.
199 * Drosera/Images/programCounterBreakPoint.tif: Removed.
200 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
201 * Drosera/Images/run.tif: Removed.
202 * Drosera/Images/siteCollapsed.tif: Removed.
203 * Drosera/Images/siteExpanded.tif: Removed.
204 * Drosera/Images/siteIcon.tif: Removed.
205 * Drosera/Images/small.ico: Removed.
206 * Drosera/Images/splitterBar.tif: Removed.
207 * Drosera/Images/splitterDimple.tif: Removed.
208 * Drosera/Images/step.tif: Removed.
209 * Drosera/Images/stepOut.tif: Removed.
210 * Drosera/Images/stepOver.tif: Removed.
211 * Drosera/Images/stop.tif: Removed.
212 * Drosera/Images/toolbarBackground.png: Removed.
213 * Drosera/Images/verticalSplitterBar.tiff: Removed.
214 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
215 * Drosera/Makefile: Removed.
216 * Drosera/breakpointEditor.html: Removed.
217 * Drosera/config.h: Removed.
218 * Drosera/console.css: Removed.
219 * Drosera/console.html: Removed.
220 * Drosera/console.js: Removed.
221 * Drosera/debugger.css: Removed.
222 * Drosera/debugger.html: Removed.
223 * Drosera/debugger.js: Removed.
224 * Drosera/mac/DebuggerApplication.h: Removed.
225 * Drosera/mac/DebuggerApplication.mm: Removed.
226 * Drosera/mac/DebuggerClient.h: Removed.
227 * Drosera/mac/DebuggerClient.mm: Removed.
228 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
229 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
230 * Drosera/mac/Info.plist: Removed.
231 * Drosera/mac/LauncherInfo.plist: Removed.
232 * Drosera/mac/Makefile: Removed.
233 * Drosera/mac/ServerConnection.h: Removed.
234 * Drosera/mac/ServerConnection.mm: Removed.
235 * Drosera/mac/launcher.m: Removed.
236 * Drosera/mac/main.m: Removed.
237 * Drosera/viewer.css: Removed.
238 * Drosera/viewer.html: Removed.
239 * Drosera/win/BaseDelegate.h: Removed.
240 * Drosera/win/DebuggerClient.cpp: Removed.
241 * Drosera/win/DebuggerClient.h: Removed.
242 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
243 * Drosera/win/Drosera.cpp: Removed.
244 * Drosera/win/Drosera.h: Removed.
245 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
246 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
247 * Drosera/win/DroseraPrefix.cpp: Removed.
248 * Drosera/win/DroseraPrefix.h: Removed.
249 * Drosera/win/Info.plist: Removed.
250 * Drosera/win/ServerConnection.cpp: Removed.
251 * Drosera/win/ServerConnection.h: Removed.
252 * Drosera/win/resource.h: Removed.
254 * Scripts/build-drosera: Removed.
255 * Scripts/gdb-drosera: Removed.
256 * Scripts/run-drosera: Removed.
257 * Scripts/run-drosera-nightly.cmd: Removed.
258 * Scripts/run-drosera.cmd: Removed.
259 * Scripts/webkitdirs.pm:
261 2008-05-15 Stephanie Lewis <slewis@apple.com>
265 Dump the unload count for a frame after parsing is finished.
267 * DumpRenderTree/mac/FrameLoadDelegate.mm:
268 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
270 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
272 Reviewed by Dan Bernstein.
274 https://bugs.webkit.org/show_bug.cgi?id=10707
275 DumpRenderTree should not be able to access non-local resources
277 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
278 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
279 Block them, and complain.
281 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
283 wx build fix. Update the version of libpng to download and instsall.
285 * wx/install-unix-extras:
287 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
291 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
292 We now force the return value to be numeric.
294 - Removed platform checks as it was a work around the previous issue.
296 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
298 * Scripts/build-webkit:
299 * Scripts/webkitdirs.pm:
301 2008-05-12 Adam Roben <aroben@apple.com>
303 Support for testing NPN_PostURL
305 Reviewed by Anders Carlsson.
307 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
308 (toCString): Added this helper function.
309 (testPostURLFile): Added. Writes the passed-in content to the
310 passed-in file and calls NPN_PostURL with the passed-in URL and
312 (pluginInvoke): Added a case for testPostURLFile.
313 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
314 (followShortcuts): Changed to allow paths that don't yet exist.
316 2008-05-12 Mark Rowe <mrowe@apple.com>
318 Reviewed by Sam Weinig.
320 Minor cleanup of the DRT Xcode project.
322 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
323 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
324 not need to be there.
326 2008-05-12 Anders Carlsson <andersca@apple.com>
330 Add support for testing application caches.
332 * DumpRenderTree/mac/DumpRenderTree.mm:
336 (resetWebViewToConsistentStateBeforeTesting):
337 Turn on support for the application cache.
339 2008-05-09 Mark Rowe <mrowe@apple.com>
341 Reviewed by Anders Carlsson.
343 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
345 It currently does not attempt to print events which means that plugins/mouse-events.html
346 will fail when run 64-bit. All other tests that use this plugin pass.
348 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
349 (testGetIntIdentifier):
350 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
354 2008-05-09 Brady Eidson <beidson@apple.com>
356 Reviewed by Adam Roben
358 Explicitly call shutDownWebKit() before quitting.
360 * Drosera/win/Drosera.cpp:
363 * DumpRenderTree/win/DumpRenderTree.cpp:
366 2008-05-09 Mark Rowe <mrowe@apple.com>
368 Fix the Tiger build of Drosera.
370 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
372 2008-05-09 Sam Weinig <sam@webkit.org>
374 Rubber-stamped by Mark Rowe.
376 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
378 * Scripts/build-webkit:
380 2008-05-08 Mark Rowe <mrowe@apple.com>
382 Another attempt at a Tiger build fix.
384 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
386 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
388 2008-05-08 Mark Rowe <mrowe@apple.com>
390 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
392 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
394 2008-05-08 Mark Rowe <mrowe@apple.com>
396 Reviewed by Oliver Hunt and Dan Bernstein.
398 Update DumpRenderTree to build 64-bit.
400 The three major changes here are:
401 1) Use NSInteger in the appropriate places.
402 2) Use ColorSync API that is available in 64-bit to switch display profiles.
403 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
405 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
406 needs updated to successfully build.
408 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
409 * DumpRenderTree/mac/DumpRenderTree.mm:
412 (prepareConsistentTestingEnvironment):
413 * DumpRenderTree/mac/DumpRenderTreeMac.h:
414 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
415 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
416 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
417 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
419 (failedGettingCurrentProfile):
420 (setDefaultColorProfileToRGB):
422 2008-05-08 Mark Rowe <mrowe@apple.com>
424 Reviewed by Darin Adler.
426 Clean up Drosera so that it will build 64-bit.
428 * Drosera/mac/DebuggerApplication.mm:
429 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
430 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
431 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
433 2008-05-07 David Kilzer <ddkilzer@apple.com>
435 Use File::Find and Getopt::Long in make-js-test-wrappers
439 * Scripts/make-js-test-wrappers:
440 - Updated Apple copyright statement.
441 - Added command-line switch parsing and -h|--help switch.
442 - Allowed user to pass list of files/directories on which to do
443 a restricted search for TEMPLATE.html files. The default
444 behavior is still to search the entire LayoutTests directory.
445 - Removed duplicate 'use strict' statement.
446 - Replaced use of `find` statements with File::Find::find().
447 - Remove unneeded chomp() calls now that we use File::Find.
448 (directoryFilter): Added. Filters .svn directories when used
449 with File::Find::find().
450 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
453 2008-05-05 Steve Falkenburg <sfalken@apple.com>
455 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
457 * DumpRenderTree/win/DumpRenderTree.vcproj:
458 * DumpRenderTree/win/ImageDiff.vcproj:
460 2008-05-05 Adele Peterson <adele@apple.com>
464 Look for the right ImageDiff executable for debug builds.
466 * Scripts/run-webkit-tests:
468 2008-05-05 Darin Adler <darin@apple.com>
470 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
473 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
477 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
478 tests expect to be 480x360)
480 * DumpRenderTree/qt/DumpRenderTree.cpp:
481 (WebCore::DumpRenderTree::open):
483 2008-05-02 Dan Bernstein <mitz@apple.com>
485 Reviewed by Adam Roben.
487 - add an option to svn-apply to set the reviewer name in change logs
489 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
491 2008-05-01 David Kilzer <ddkilzer@apple.com>
493 Clean up configuration usage in run-webkit-tests
497 * Scripts/run-webkit-tests: Parse configuration switches using
498 passedConfiguration() from webkitdirs.pm like every other script.
499 Note that we must still call setConfiguration() afterwards in
500 case the --configuration switch was used. Use $configurationOption
501 when running build-dumprendertree instead of recreating the switch.
503 2008-04-29 Adam Roben <aroben@apple.com>
505 Restore the beloved COMPtr::operator&
507 2008-04-29 Adam Roben <aroben@apple.com>
511 Replace COMPtr::operator& with COMPtr::adoptionPointer.
513 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
517 Fix run-webkit-tests --threading
518 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
519 Proxy server issue in Sunday's Nightly
521 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
522 (runJavaScriptThread):
523 (startJavaScriptThreads):
524 (stopJavaScriptThreads):
525 Spawned threads were immediately detached, unlike the original ones, so joining them
526 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
527 waits for them all to exit.
529 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
533 Reset dumping resource load callbacks to false for the next test
536 * DumpRenderTree/qt/jsobjects.cpp:
537 (LayoutTestController::reset):
539 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
543 Adapt to the latest API changes in WebKit/qt/Api.
545 * DumpRenderTree/qt/DumpRenderTree.cpp:
546 (WebCore::DumpRenderTree::DumpRenderTree):
547 * DumpRenderTree/qt/jsobjects.cpp:
549 2008-04-26 Robin Dunn <robin@alldunn.com>
551 Reviewed by Kevin Ollivier.
553 Delete the DerivedSources after make clean has been done so that the DerivedSources
554 don't get re-created. Also, use the proper extension for the Win wxPython extension.
556 https://bugs.webkit.org/show_bug.cgi?id=18756
560 2008-04-26 Adam Barth <hk9565@gmail.com>
562 Reviewed by Adam Roben and Sam Weinig.
564 Updates LayoutTestController to use host instead of domain.
566 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
568 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
569 (LayoutTestController::setDatabaseQuota):
570 * DumpRenderTree/mac/UIDelegate.mm:
571 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
573 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
575 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
577 * wx/install-unix-extras:
579 2008-04-26 Robin Dunn <robin@alldunn.com>
581 Reviewed by Kevin Ollivier.
583 Allow the user to set the path to SWIG using an environment variable.
585 https://bugs.webkit.org/show_bug.cgi?id=18660
589 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
591 wx build fix. Download the latest libpng version for building the
594 * wx/install-unix-extras:
596 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
600 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
602 Similar to Editing and Frameloading we do the dumping within WebCore
605 * DumpRenderTree/qt/jsobjects.cpp:
606 (LayoutTestController::dumpResourceLoadCallbacks):
607 * DumpRenderTree/qt/jsobjects.h:
609 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
611 Reviewed by Maciej Stachowiak.
613 http://bugs.webkit.org/show_bug.cgi?id=18485
614 Typo and documentation fix for build-webkit
616 * Scripts/build-webkit:
618 2008-04-24 Anders Carlsson <andersca@apple.com>
622 Don't call fprintf from the signal handler.
624 * DumpRenderTree/mac/DumpRenderTree.mm:
627 2008-04-23 Adam Roben <aroben@apple.com>
629 Make crashes be reported as crashes, not hangs
631 Reviewed by David Kilzer.
633 * Scripts/run-webkit-tests:
634 (top level): Use the new status field of the output from
635 readFromDumpToolWithTimer to determine if the test crashed or hung.
636 (sub readFromDumpToolWithTimer):
637 - If we fail to read a line and $! is not EAGAIN, then we've crashed
638 and should not try to read any more.
639 - Changed the timedout field to a more general status field.
641 2008-04-22 David Kilzer <ddkilzer@apple.com>
643 Bug 18683: update-webkit returns 0 even if it fails
645 <https://bugs.webkit.org/show_bug.cgi?id=18683>
647 Reviewed by Mitz Pettel.
649 * Scripts/update-webkit:
650 (runSvnUpdate): Die if close() fails.
652 2008-04-21 Adam Roben <aroben@apple.com>
654 Flush stdout/stderr after printing every #EOF separator
656 This fixes a hang when running the pixel tests on Windows
658 Reviewed by Mitz Pettel.
660 * DumpRenderTree/win/DumpRenderTree.cpp:
662 (main): We don't have to flush stdout/stderr in the arguments loop
663 anymore, as runTest flushes for us.
665 2008-04-21 Adam Roben <aroben@apple.com>
669 * Scripts/run-webkit-tests:
670 (sub readFromDumpToolWithTimer): Use readline instead of read to
671 ensure that we don't read past the #EOF marker.
673 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
679 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
680 always defined. Do this by adding defines to the compiler line
682 * DumpRenderTree/qt/DumpRenderTree.pro:
684 2008-04-19 Mike Hommey <glandium@debian.org>
686 Reviewed by Alp Toker.
688 Don't build GtkLauncher and DumpRenderTree with rpath.
692 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
694 Reviewed by Alp Toker.
696 http://bugs.webkit.org/show_bug.cgi?id=16620
697 [GTK] Autotools make dist and make check support
703 2008-04-18 Adam Roben <aroben@apple.com>
705 Drop the hang timer to 30 seconds
707 This matches what DRT/mac was using.
709 Reviewed by Mitz Pettel.
711 * Scripts/run-webkit-tests:
713 2008-04-18 Adam Roben <aroben@apple.com>
715 Get rid of DRT's Watchdog
717 run-webkit-tests now detects hangs and samples DRT as needed.
719 Reviewed by Mitz Pettel.
721 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
722 Watchdog* files from the project.
723 * DumpRenderTree/Watchdog.cpp: Removed.
724 * DumpRenderTree/Watchdog.h: Removed.
725 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
728 * DumpRenderTree/mac/WatchdogMac.h: Removed.
729 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
730 * Scripts/run-webkit-tests:
731 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
732 (sub sampleDumpTool): Added. Writes a sample report to
733 ~/Library/Logs/DumpRenderTree/HangReport.txt.
735 2008-04-18 Simon Hausmann <hausmann@webkit.org>
739 Adapt to the API changes in WebKit/qt
741 * DumpRenderTree/qt/DumpRenderTree.cpp:
742 (WebCore::WebPage::WebPage):
743 (WebCore::DumpRenderTree::DumpRenderTree):
744 (WebCore::DumpRenderTree::initJSObjects):
745 (WebCore::DumpRenderTree::dumpFramesAsText):
746 (WebCore::DumpRenderTree::dump):
748 2008-04-17 Adam Roben <aroben@apple.com>
750 Fix many tests on Windows
752 * Scripts/run-webkit-tests:
753 (readFromDumpToolWithTimer):
754 - Use read instead of sysread to ensure that we don't interfere with
755 other uses of buffered IO in this script.
756 (setFileHandleNonBlocking): Actually set the filehandle to blocking
759 2008-04-17 Adam Roben <aroben@apple.com>
763 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
764 whatever newline happens to be at the end of what we've read.
766 2008-04-17 Adam Roben <aroben@apple.com>
768 Remove DRT/win's hang timer
770 run-webkit-tests takes care of this for us now
772 Reviewed by Anders Carlsson.
774 * DumpRenderTree/win/DumpRenderTree.cpp:
776 2008-04-17 Adam Roben <aroben@apple.com>
778 Don't wait for the hang timer twice in the case of a hang
780 Previously we'd wait for a hang while reading both stdout and stderr
781 from DRT. Now we'll only wait for one or the other.
783 Reviewed by Anders Carlsson.
785 * Scripts/run-webkit-tests:
786 (top level): Don't wait for stderr to time out if stdout already timed
788 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
789 after the first read that returns no data.
791 2008-04-17 Adam Roben <aroben@apple.com>
793 Don't throw away the output from timed out tests
795 Reviewed by Anders Carlsson.
797 * Scripts/run-webkit-tests:
798 (top level): Updated for changes to readFromDumpToolWithTimer.
799 (readFromDumpToolWithTimer): Return a hash that contains both the
800 output and whether or not the test timed out.
802 2008-04-17 Adam Roben <aroben@apple.com>
804 Make the hang timer 60 seconds
806 * Scripts/run-webkit-tests:
808 2008-04-17 Adam Roben <aroben@apple.com>
810 Get rid of carriage returns in DRT/win's stderr
812 Reviewed by Eric Seidel.
814 * DumpRenderTree/win/DumpRenderTree.cpp:
815 (main): Mark stderr as binary like we already do for stdout.
817 2008-04-17 Adam Roben <aroben@apple.com>
819 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
822 <https://bugs.webkit.org/show_bug.cgi?id=17678>
824 We now abort tests that take longer than 60 seconds to produce output.
825 This matches the watchdog timer in DRT/mac and DRT/win (which we can
828 Reviewed by Eric Seidel.
830 * Scripts/run-webkit-tests:
831 (top level): Read DRT's output using the new readFromDumpToolWithTimer
832 subroutine. If readFromDumpToolWithTimer returns undefined it means
833 the test timed out, so we register the test as a hang and move on.
834 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
835 both crashed and timed out tests. If the test timed out, we kill DRT
837 (sub linksForTimedOutTest): Added. We don't have any output to link to for
838 tests that timed out.
839 (sub recordActualResultsAndDiff): Don't call length on undefined.
840 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
841 from a filehandle until an #EOF is reached or
842 $maximumSecondsWithoutOutput have elapsed.
843 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
846 2008-04-17 Adam Roben <aroben@apple.com>
848 Refactor test results page generation
850 Reviewed by Eric Seidel.
852 * Scripts/run-webkit-tests:
853 (sub htmlForResultsSection): Added. Takes a set of tests, a
854 description, and a subroutine to generate the links for each test, and
855 creates a HTML string containing a table of the tests and their
857 (sub linksForExpectedAndActualResults): Added. Replaces the
858 htmlForExpectedAndActualResults subroutine.
859 (sub linksForMismatchTest): Added.
860 (sub linksForCrashOrErrorTest): Added.
861 (sub linksForNewTest): Added.
863 2008-04-17 Adam Roben <aroben@apple.com>
865 Print the extension for all tests in the test results page
867 Reviewed by Eric Seidel.
869 * Scripts/run-webkit-tests:
871 2008-04-17 Adam Roben <aroben@apple.com>
873 Move code that counts finished tests into a subroutine
875 Reviewed by Eric Seidel.
877 * Scripts/run-webkit-tests:
878 (sub countFinishedTest): Added.
880 2008-04-17 Adam Roben <aroben@apple.com>
882 Move code that handles a crash into a subroutine
884 Reviewed by Eric Seidel.
886 * Scripts/run-webkit-tests:
887 (sub testCrashed): Added.
889 2008-04-17 Eric Seidel <eric@webkit.org>
893 Rename RenderView to RenderViewport in the next rename patch.
895 * Scripts/do-webcore-rename:
897 2008-04-17 Mario Bensi <mbensi@pleyo.com>
899 Reviewed by Alp Toker.
901 http://bugs.webkit.org/show_bug.cgi?id=18543
902 DumpRenderTree gtk freeze
904 fix DumpRenderTree gtk freeze
906 * DumpRenderTree/gtk/DumpRenderTree.cpp:
909 2008-04-15 Anders Carlsson <andersca@apple.com>
913 * Scripts/build-webkit:
915 2008-04-15 Anders Carlsson <andersca@apple.com>
919 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
921 * Scripts/build-webkit:
923 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
927 Fix compilation with Qt namespaces
929 Qt can be configured to have all of its classes inside a specified namespaces.
930 This is for example used in plugin/component environments like Eclipse.
932 This change makes it possible to let the Qt port compile against a namespaced
933 Qt by the use of macros Qt provides to properly forward declare Qt classes in
936 * DumpRenderTree/qt/DumpRenderTree.h:
938 2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
940 Reviewed by Darin Adler.
942 Add a script that propagates any file changes made to the Bakefiles
943 over to GTK and Qt build systems. Still needs to be wired into
946 * Scripts/update-sources-list.py: Added.
948 2008-04-08 Mark Rowe <mrowe@apple.com>
950 Clean up after Brady.
952 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
954 2008-04-08 Brady Eidson <beidson@apple.com>
956 Reviewed by Mitzpettel
958 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
959 -WebArchive subresources dump in random order, intermittent failures
961 * DumpRenderTree/mac/DumpRenderTree.mm:
962 (compareResourceURLs): Sorting function based on the resource URLs
963 (serializeWebArchiveToXML): Sort the subresource array
965 2008-04-07 Brady Eidson <beidson@apple.com>
969 * Scripts/build-webkit:
971 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
975 * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
976 * Running these tests on windows and other platforms might need some work.
978 * Scripts/run-webkit-tests:
980 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
984 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
985 is not exporting enough to create the output in DRT itself. Settle with the approach
986 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
987 * run-webkit-tests http/tests(/loading) can now be executed.
988 * For tests in loading/ directories we are going to throw away the dirty
989 QWebPage to start with something clean.
992 * DumpRenderTree/qt/DumpRenderTree.cpp:
994 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
998 * Treat http and https as special URLs as well. Change the main.cpp and
999 DumpRenderTree.cpp to handle http and https URIs as input.
1000 * I'm not doing the clean up and merging of these two checks now.
1003 * DumpRenderTree/qt/DumpRenderTree.cpp:
1004 (WebCore::DumpRenderTree::readStdin):
1005 * DumpRenderTree/qt/main.cpp:
1008 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1012 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
1013 located in a directory with the name "loading". And this will autoamtically
1015 * Remove this method from the LayoutTestController as it is unused now and this
1016 avoids adding it to the DRT of the Qt port.
1019 * DumpRenderTree/LayoutTestController.cpp:
1020 (setPrivateBrowsingEnabledCallback):
1022 2008-04-01 Christian Dywan <christian@imendio.com>
1024 Build fix for GCC 4.3.
1026 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
1028 2008-04-01 Simon Hausmann <hausmann@webkit.org>
1032 Fix Qt DRT run by also printing EOF on stderr, as expected by
1035 * DumpRenderTree/qt/DumpRenderTree.cpp:
1036 (WebCore::DumpRenderTree::dump):
1038 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
1042 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
1044 Remove trailing '/' in $sourceDir in determineSourceDir().
1046 Fix suggested by Dmitriy Kazachkov.
1048 * Scripts/webkitdirs.pm:
1050 2008-03-29 Adam Roben <aroben@apple.com>
1052 Update for rename of an IWebViewPrivate method
1054 Reviewed by Mitz Pettel.
1056 * DumpRenderTree/win/DumpRenderTree.cpp:
1057 (createWebViewAndOffscreenWindow):
1059 2008-03-26 Antti Koivisto <antti@apple.com>
1063 Enable SVG animation support by default.
1065 * Scripts/build-webkit:
1067 2008-03-25 Adam Roben <aroben@apple.com>
1071 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1072 Add $(WebKitLibrariesDir)\include to the include path so we can find
1075 2008-03-24 Eric Seidel <eric@webkit.org>
1079 Clean up SVG features message to be less confusing.
1081 * Scripts/build-webkit:
1083 2008-03-24 Sam Weinig <sam@webkit.org>
1085 Reviewed by Dave Hyatt.
1087 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
1089 * DumpRenderTree/mac/DumpRenderTree.mm:
1090 (resetWebViewToConsistentStateBeforeTesting):
1091 * DumpRenderTree/mac/EventSendingController.mm:
1092 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1093 (-[EventSendingController zoomPageIn]):
1094 (-[EventSendingController zoomPageOut]):
1095 * DumpRenderTree/win/DumpRenderTree.cpp:
1096 (resetWebViewToConsistentStateBeforeTesting):
1097 * DumpRenderTree/win/EventSender.cpp:
1098 (textZoomInCallback):
1099 (textZoomOutCallback):
1100 (zoomPageInCallback):
1101 (zoomPageOutCallback):
1103 2008-03-24 Dan Bernstein <mitz@apple.com>
1105 Reviewed by Mark Rowe.
1107 - update bisect-builds for Safari 3.1
1109 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
1112 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
1116 http://bugs.webkit.org/show_bug.cgi?id=17981
1118 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
1122 2008-03-21 Adam Roben <aroben@apple.com>
1124 Remove a non-working mirror from cygwin-downloader and add the ruby package
1126 * CygwinDownloader/cygwin-downloader.py:
1127 * CygwinDownloader/cygwin-downloader.zip: Updated.
1129 2008-03-20 Mark Rowe <mrowe@apple.com>
1131 Reviewed by Sam Weinig.
1133 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
1134 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
1137 * Scripts/build-webkit:
1139 2008-03-17 Eric Seidel <eric@webkit.org>
1141 Reviewed by Dan Bernstein.
1143 Fix bogus argCount check breaking plugin test.
1145 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1147 2008-03-17 Eric Seidel <eric@webkit.org>
1151 Cleanup PluginObject.cpp and add support for testing
1152 converting from int -> identifier -> string
1153 and from string -> identifier -> int
1154 as well as round-tripping ints and stings through identifiers
1156 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1157 (pluginGetProperty):
1158 (pluginSetProperty):
1160 (stringVariantToIdentifier):
1161 (int32VariantToIdentifier):
1162 (doubleVariantToIdentifier):
1163 (variantToIdentifier):
1164 (testIdentifierToString):
1165 (testIdentifierToInt):
1168 (removeDefaultMethod):
1170 (testInvokeDefault):
1173 (testGetIntIdentifier):
1176 (testGetPropertyReturnValue):
1178 (pluginInvokeDefault):
1184 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
1186 Rubber stamped by Darin.
1188 Add set-webkit-configuration support for wx port, and centralize
1189 build dir location setting.
1191 http://bugs.webkit.org/show_bug.cgi?id=17790
1193 * wx/browser/browser.bkl:
1194 * wx/build-wxwebkit:
1196 2008-03-15 Darin Adler <darin@apple.com>
1198 * Scripts/commit-log-editor: Include the name line of the change log entry.
1199 A long time ago I designed this script to not include the name because I
1200 thought it was redundant (same as the name of the person checking in), but
1201 nowadays it's more common for someone to check something in done by someone
1204 * Scripts/do-webcore-rename: Added some more planned renames and removed
1205 some that were already done "by hand".
1207 2008-03-13 Brent Fulgham <bfulgham@gmail.com>
1211 Correct paths to vsprops files so they use the environment
1212 variable, rather than hard-coded path.
1213 http://bugs.webkit.org/show_bug.cgi?id=17797.
1215 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
1217 2008-03-12 Steve Falkenburg <sfalken@apple.com>
1221 * WinLauncher/WinLauncher.vcproj:
1223 2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
1225 Reviewed by Alp Toker.
1227 Run testkjs in the correct productsDir in the GTK+ port.
1229 * Scripts/run-javascriptcore-tests:
1231 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
1233 Reviewed by Adam Roben.
1235 Enabled WinLauncher as part of normal Windows build.
1236 http://bugs.webkit.org/show_bug.cgi?id=17715.
1238 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
1239 it can find the proper libraries to link against.
1241 2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
1243 Reviewed and landed by Darin.
1245 http://bugs.webkit.org/show_bug.cgi?id=17581
1246 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
1248 Remove the previous warning which occurs when the --random option is used.
1250 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
1253 2008-03-07 Simon Hausmann <hausmann@webkit.org>
1259 Ported the netscape test plugin to QWebPluginFactory.
1261 * DumpRenderTree/qt/DumpRenderTree.cpp:
1262 (WebCore::WebPage::WebPage):
1263 * DumpRenderTree/qt/main.cpp:
1264 * DumpRenderTree/qt/testplugin.cpp:
1265 (TestPlugin::plugins):
1266 (TestPlugin::create):
1267 * DumpRenderTree/qt/testplugin.h:
1269 2008-03-09 Steve Falkenburg <sfalken@apple.com>
1271 Stop Windows build if an error occurs in a prior project.
1273 Rubber stamped by Darin.
1275 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1276 * DumpRenderTree/win/DumpRenderTree.vcproj:
1277 * DumpRenderTree/win/ImageDiff.vcproj:
1278 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1280 2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
1282 Reviewed by Mark Rowe.
1284 DRT build fix for Tiger.
1286 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
1288 2008-03-07 Mark Rowe <mrowe@apple.com>
1290 Reviewed by Oliver Hunt.
1292 Fix WebKit build with GCC 4.2.
1294 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
1296 2008-03-07 Stephanie Lewis <slewis@apple.com>
1300 Add Windows part of <rdar://problem/5693690>
1302 * DumpRenderTree/win/DumpRenderTree.cpp:
1306 2008-03-07 Alp Toker <alp@atoker.com>
1308 Back out the r30818, r30819 build fix attempts now the GTK+ build
1309 server has been upgraded.
1311 * Scripts/webkitdirs.pm:
1313 2008-03-07 Stephanie Lewis <slewis@apple.com>
1317 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
1319 * DumpRenderTree/mac/DumpRenderTree.mm:
1320 (dump): push EOF to stderr after every test
1321 * Scripts/run-webkit-tests: collect stderr output and print it
1323 2008-03-07 Steve Falkenburg <sfalken@apple.com>
1325 Get pdevenv working with Visual Studio Express.
1331 2008-03-06 Adele Peterson <adele@apple.com>
1335 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
1337 * DumpRenderTree/mac/UIDelegate.mm:
1338 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
1339 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
1340 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
1342 2008-03-06 Matt Lilek <webkit@mattlilek.com>
1344 Reviewed by Adam Roben.
1346 Bug 17691: REGRESSION: FindSafari doesn't work
1347 http://bugs.webkit.org/show_bug.cgi?id=17691
1349 Swap my change from r30394 to use the Release libraries instead of Debug
1350 since some machines don't have the Debug version.
1352 * FindSafari/FindSafari.vcproj:
1354 2008-03-06 Kevin McCullough <kmccullough@apple.com>
1356 Reviewed by Sam and Tim.
1358 <rdar://5631450> Drosera: breakpoint indicators disappear after the
1359 script is finished running.
1360 - If there is a pre-existing breakpoint on a line when the file is
1361 updated we need to redraw it.
1363 * Drosera/debugger.js:
1365 2008-03-06 Brady Eidson <beidson@apple.com>
1369 * DumpRenderTree/mac/WatchdogMac.mm:
1371 2008-03-06 Brady Eidson <beidson@apple.com>
1375 Added a cross-platform Watchdog thread to DRT.
1377 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
1378 main thread hangs still affect DRT.
1380 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
1381 and true deadlocks can be caught.
1383 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
1384 `sample` available, the Mac implementation of this hook samples the process before it is killed.
1386 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
1388 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1389 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
1391 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
1392 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
1394 * DumpRenderTree/Watchdog.cpp: Added.
1395 (Watchdog::Watchdog):
1396 (Watchdog::~Watchdog):
1399 (Watchdog::checkIn):
1400 (Watchdog::setWatchdogInterval):
1401 (Watchdog::handleHang):
1402 (Watchdog::watchdogThreadStart):
1403 (Watchdog::watchdogThread):
1404 * DumpRenderTree/Watchdog.h: Added.
1406 * DumpRenderTree/mac/WatchdogMac.h: Added.
1407 * DumpRenderTree/mac/WatchdogMac.mm: Added.
1408 (WatchdogMac::handleHang): Sample the process and write it out to a file
1410 * DumpRenderTree/mac/DumpRenderTree.mm:
1411 (dumpRenderTree): Setup and start the watchdog before running any tests
1412 (runTest): Checkin with the watchdog after each test
1414 2008-03-05 Alp Toker <alp@atoker.com>
1416 Attempt to get the autotools build working again on the bot with
1419 Force the use of /bin/bash since we seem to have bash-isms in the
1420 configure script right now.
1422 * Scripts/webkitdirs.pm:
1424 2008-03-05 Alp Toker <alp@atoker.com>
1426 Re-attempt to switch to the autotools build system for GTK+.
1428 Change scripts to continue when distclean fails.
1430 * Scripts/webkitdirs.pm:
1432 2008-03-05 Alp Toker <alp@atoker.com>
1434 Force qmake for the GTK+ build until we get the build bot to succeed
1435 with autotools (currently dies at make distclean)
1437 * Scripts/webkitdirs.pm:
1439 2008-03-04 Alp Toker <alp@atoker.com>
1441 Reviewed by Mark Rowe.
1443 Switch the default GTK+ build system from qmake to autotools.
1445 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
1447 * Scripts/build-webkit:
1448 * Scripts/run-launcher:
1449 * Scripts/run-webkit-tests:
1450 * Scripts/webkitdirs.pm:
1452 2008-03-04 Sam Weinig <sam@webkit.org>
1454 Reviewed by Darin Adler.
1456 * Scripts/do-webcore-rename: Update renaming plan.
1458 2008-03-02 Brent Fulgham <bfulgham@gmail.com>
1460 Reviewed by Alp Toker.
1462 Remove some needless LIBS.
1466 2008-03-02 Alp Toker <alp@atoker.com>
1468 Reviewed by Mark Rowe.
1470 Split the WebKit GTK+ build out of the WebCore build and change the
1471 shared object name to match the package name.
1475 2008-03-01 Mark Rowe <mrowe@apple.com>
1477 Reviewed by Tim Hatcher.
1479 Update Xcode configuration to support building debug and release from the mysterious future.
1481 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1483 2008-02-29 David Kilzer <ddkilzer@apple.com>
1485 Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
1489 Originally broken in r26838.
1491 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
1492 not local, unused @args variable.
1494 2008-02-29 David Kilzer <ddkilzer@apple.com>
1496 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
1498 <http://bugs.webkit.org/show_bug.cgi?id=15754>
1500 Reviewed by Geoff and Darin.
1502 We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
1503 then removing that path from all file:/// URLs in the WebArchive output so these tests
1504 would pass no matter where they were run.
1506 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
1507 current working directory, but the WebArchive does not. This left the current working
1508 directory in all file:/// URLs in the test output, and thus all tests failed, for any
1509 developer that used symlinks to get to their WebKit source directory.
1511 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
1512 remove the current working directory path (no matter what it is) after "file://" but
1513 before "/LayoutTests/".
1515 * DumpRenderTree/mac/DumpRenderTree.mm:
1516 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
1517 current working directory as described above.
1518 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
1519 calls to normalizeWebResourceURL().
1520 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
1521 normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
1523 2008-02-26 Robin Dunn <robin@alldunn.com>
1525 Reviewed by Kevin Ollivier.
1527 Improvements to the wx build script.
1529 http://bugs.webkit.org/show_bug.cgi?id=17492
1531 * wx/build-wxwebkit:
1532 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
1533 - Allow the build script to properly find wxPython includes under different setups
1534 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
1536 2008-02-26 Timothy Hatcher <timothy@apple.com>
1538 Reviewed by Darin Adler.
1540 * Scripts/build-webkit: Add --universal and --64-bit flags to make building
1541 64-bit architectures easy. Combine the two flags to build 4-way universal.
1542 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
1543 non-zero when the build failes.
1545 2008-02-26 Jessica Kahn <jess@apple.com>
1549 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
1550 so that Safari inherits it when launched. Preexisting code in WebKit checks this
1551 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
1552 launched by Safari continue to use the standard system WebKit.
1554 2008-02-25 Adam Roben <aroben@apple.com>
1556 Fix run-webkit-tests after r30394
1558 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
1561 2008-02-24 Darin Adler <darin@apple.com>
1563 * Scripts/do-webcore-rename: Make some updates based on a trial run of
1564 the renaming script.
1566 2008-02-24 Darin Adler <darin@apple.com>
1568 * Scripts/do-webcore-rename: More renaming plans.
1570 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1572 Rubber stamped by Darin.
1574 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
1575 whitespaces introduced in the previous commit.
1579 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1581 Rubber-stamped by Darin.
1583 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
1585 2008-02-23 David Kilzer <ddkilzer@apple.com>
1587 Please clarify licensing for some files
1588 <http://bugs.webkit.org/show_bug.cgi?id=14970>
1592 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
1593 copyright statement. Replaced license with newer Apple BSD-style license.
1594 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
1595 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
1596 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
1597 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
1598 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
1599 * mangleme/LICENSE: Added (LGPL).
1601 2008-02-22 Anders Carlsson <andersca@apple.com>
1605 <rdar://problem/5748781>
1606 https://bugs.webkit.org/show_bug.cgi?id=17413
1607 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
1609 Copy the Java plug-in over to the new location.
1611 * FindSafari/FindSafari.cpp:
1614 2008-02-22 Anders Carlsson <andersca@apple.com>
1618 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
1620 * DumpRenderTree/win/DumpRenderTree.cpp:
1622 Init the URL request with the correct timeout.
1624 2008-02-21 Mike Auty <mike.auty@gmail.com>
1626 Reviewed by Alp Toker.
1628 http://bugs.webkit.org/show_bug.cgi?id=17445
1629 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
1631 GTK+/autotools build system improvements
1633 The GNUmakefile.am files make use of the LDFLAGS variable to include library
1634 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
1635 in LIBADD/LDADD variables, then they are mis-ordered during the linking.
1637 The as-needed flag discards libraries whose functions have not been needed by
1638 earlier libraries, which therefore makes the ordering important.
1640 This moves all -l library inclusion statements from LDFLAGS variables to
1641 LIBADD/LDADD variables.
1645 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
1649 - http://bugs.webkit.org/show_bug.cgi?id=17428
1650 Reenable a Windows-based launcher
1652 This patch reenables the venerable Spinneret application,
1653 changing its name to match the other lanch applications.
1655 * WinLauncher: Added.
1656 * WinLauncher/WinLauncher.cpp: Added.
1657 (WinLauncherWebHost::updateAddressBar):
1658 (WinLauncherWebHost::QueryInterface):
1659 (WinLauncherWebHost::AddRef):
1660 (WinLauncherWebHost::Release):
1669 * WinLauncher/WinLauncher.h: Added.
1670 (WinLauncherWebHost::WinLauncherWebHost):
1671 (WinLauncherWebHost::didStartProvisionalLoadForFrame):
1672 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1673 (WinLauncherWebHost::didFailProvisionalLoadWithError):
1674 (WinLauncherWebHost::didCommitLoadForFrame):
1675 (WinLauncherWebHost::didReceiveTitle):
1676 (WinLauncherWebHost::didReceiveIcon):
1677 (WinLauncherWebHost::didFinishLoadForFrame):
1678 (WinLauncherWebHost::didFailLoadWithError):
1679 (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
1680 (WinLauncherWebHost::willPerformClientRedirectToURL):
1681 (WinLauncherWebHost::didCancelClientRedirectForFrame):
1682 (WinLauncherWebHost::willCloseFrame):
1683 (WinLauncherWebHost::windowScriptObjectAvailable):
1684 * WinLauncher/WinLauncher.ico: Added.
1685 * WinLauncher/WinLauncher.rc: Added.
1686 * WinLauncher/WinLauncher.vcproj: Added.
1687 * WinLauncher/resource.h: Added.
1688 * WinLauncher/small.ico: Added.
1689 * WinLauncher/stdafx.cpp: Added.
1690 * WinLauncher/stdafx.h: Added.
1692 2008-02-19 Brady Eidson <beidson@apple.com>
1696 Fixed a bug in DRT --threaded mode
1698 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1699 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
1700 to pthread_join() each thread that had been created, but you can't join a detached thread!
1702 2008-02-18 Brady Eidson <beidson@apple.com>
1704 Changes by Geoff Garen, Reviewed by Darin
1706 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
1708 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
1710 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
1711 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
1712 this series of method calls will deadlock. If things are good, it will complete successfully.
1714 * DumpRenderTree/mac/ObjCController.m:
1715 (runJavaScriptThread):
1716 (+[ObjCController isSelectorExcludedFromWebScript:]):
1717 (+[ObjCController webScriptNameForSelector:]):
1718 (-[ObjCController testValueForKey]):
1720 2008-02-18 Matt Lilek <webkit@mattlilek.com>
1724 Remove FindSafari's Release configuration.
1726 * FindSafari/FindSafari.vcproj:
1728 2008-02-15 Adam Roben <aroben@apple.com>
1730 Fix a typo that broke the Mac build
1734 * Scripts/build-webkit:
1736 2008-02-14 Adam Roben <aroben@apple.com>
1738 Turn on cross-document messaging support by default
1742 * Scripts/build-webkit:
1744 2008-02-14 Adam Roben <aroben@apple.com>
1746 Conditionalize cross-document messaging support
1748 The cross-document messaging parts of HTML 5 are in flux and we want
1749 ports to be able to turn off the support as needed.
1751 Note that the support is turned off by default right now. A subsequent
1752 commit will turn it on by default.
1756 * Scripts/build-webkit:
1758 2008-02-14 Darin Adler <darin@apple.com>
1762 * DumpRenderTree/win/UIDelegate.cpp:
1763 (UIDelegate::setStatusText): Update parameter types to match declaration.
1765 2008-02-14 Oliver Hunt <oliver@apple.com>
1767 Reviewed by Geoff G and Weinig.
1769 Add ability for DRT to report tests setting the status text.
1771 * DumpRenderTree/LayoutTestController.cpp:
1772 (LayoutTestController::LayoutTestController):
1773 (dumpStatusCallbacksCallback):
1774 (LayoutTestController::staticFunctions):
1775 * DumpRenderTree/LayoutTestController.h:
1776 * DumpRenderTree/mac/UIDelegate.mm:
1777 (-[UIDelegate webView:setStatusText:]):
1778 * DumpRenderTree/win/UIDelegate.cpp:
1779 * DumpRenderTree/win/UIDelegate.h:
1781 2008-02-13 Adam Roben <aroben@apple.com>
1785 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
1787 2008-02-13 Adam Roben <aroben@apple.com>
1789 Windows/GTK+ build fix
1791 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
1794 2008-02-13 Brady Eidson <beidson@apple.com>
1796 Reviewed by Darin Adler
1798 Add some much needed Database support to DRT
1800 * DumpRenderTree/LayoutTestController.cpp:
1801 (LayoutTestController::LayoutTestController):
1802 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
1803 databases are called
1804 (clearAllDatabasesCallback): Allow a test to delete all databases
1805 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
1806 (LayoutTestController::staticFunctions):
1808 * DumpRenderTree/LayoutTestController.h:
1809 (LayoutTestController::dumpDatabaseCallbacks):
1810 (LayoutTestController::setDumpDatabaseCallbacks):
1812 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1813 (LayoutTestController::clearAllDatabases):
1814 (LayoutTestController::setDatabaseQuota):
1816 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1817 (LayoutTestController::clearAllDatabases): Stubbed out
1818 (LayoutTestController::setDatabaseQuota): Ditto
1819 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1820 (LayoutTestController::clearAllDatabases): Stubbed out with error message
1821 (LayoutTestController::setDatabaseQuota): Ditto
1823 * DumpRenderTree/mac/UIDelegate.mm:
1824 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
1825 message with details about the event then return a 5mb quota like before
1828 2008-02-12 Steve Falkenburg <sfalken@apple.com>
1830 Changes to support merged MIDL output.
1832 All COM interfaces are now generated to WebKit.h.
1834 Reviewed by Sam, Ada.
1836 * Drosera/win/BaseDelegate.h:
1837 * Drosera/win/DebuggerClient.cpp:
1838 * Drosera/win/DebuggerDocumentPlatform.cpp:
1839 * Drosera/win/Drosera.cpp:
1840 * Drosera/win/ServerConnection.cpp:
1841 * Drosera/win/ServerConnection.h:
1842 * DumpRenderTree/win/DumpRenderTree.cpp:
1843 * DumpRenderTree/win/EditingDelegate.h:
1844 * DumpRenderTree/win/EventSender.cpp:
1845 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1846 * DumpRenderTree/win/FrameLoadDelegate.h:
1847 * DumpRenderTree/win/GCControllerWin.cpp:
1848 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1849 * DumpRenderTree/win/PolicyDelegate.h:
1850 * DumpRenderTree/win/ResourceLoadDelegate.h:
1851 * DumpRenderTree/win/UIDelegate.cpp:
1852 * DumpRenderTree/win/UIDelegate.h:
1853 * DumpRenderTree/win/WorkQueueItemWin.cpp:
1855 2008-02-10 Dan Bernstein <mitz@apple.com>
1857 Reviewed by Oliver Hunt.
1861 * DumpRenderTree/cg/ImageDiffCG.cpp:
1862 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
1863 and leaking the buffer each time.
1865 2008-02-07 Adam Roben <aroben@apple.com>
1867 Fix error in bisect-builds when responding "broken" for the first
1870 Reviewed by Dave Kilzer.
1872 * Scripts/bisect-builds: Only try to test the build if the nightly
1873 info for the current index has not been deleted.
1875 2008-02-07 Geoffrey Garen <ggaren@apple.com>
1877 Reviewed by Alexey Proskuryakov.
1879 Fixed two minor typos in the --root option, to get it working.
1881 * Scripts/run-sunspider:
1882 1. Actually assign the function argument to our local variable.
1883 2. Actually set the $root variable, so we don't try to build later.
1885 2008-02-05 Oliver Hunt <oliver@apple.com>
1889 Re-enable foreignObject by default as it is needed for a number of non-fO
1890 related SVG tests and none of the old known crashes occur anymore.
1892 * Scripts/build-webkit:
1894 2008-02-05 Steve Falkenburg <sfalken@apple.com>
1896 Build fix. Don't override intermediate directory.
1898 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1900 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
1902 Build fix for Windows. willCloseFrame is a pure virtual and we are
1903 forced to have an implementation.
1905 This partially reverts r30014.
1907 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1908 (FrameLoadDelegate::willCloseFrame):
1909 * DumpRenderTree/win/FrameLoadDelegate.h:
1911 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
1915 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
1917 * Scripts/make-js-test-wrappers:
1919 2008-02-05 Holger Freyther <zecke@selfish.org>
1923 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
1924 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
1925 depends on the order the tests are executed.
1927 Propose to remove willCloseFrame and didlCearWindowObject output from the
1928 FrameLoadDelegate and update the test results. The output of didClearWindowObject
1929 is not interesting for any of the current tests and we have other ways to find
1930 out if a frame was closed or not.
1932 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1933 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1934 (FrameLoadDelegate::didClearWindowObject):
1935 * DumpRenderTree/win/FrameLoadDelegate.h:
1937 2008-02-04 Mark Rowe <mrowe@apple.com>
1939 Reviewed by Oliver Hunt.
1941 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
1942 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
1944 Don't install the signal handler unless we are running the pixel tests.
1945 It is currently only used to restore the color profile, but by catching
1946 signals we can trigger a deadlock in DRT while running leak tests.
1947 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
1948 and a more complete fix will need to be developed to address this for
1949 pixel tests as well.
1951 * DumpRenderTree/mac/DumpRenderTree.mm:
1954 2008-02-04 Mark Rowe <mrowe@apple.com>
1956 Gtk qmake build fix.
1958 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
1960 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1962 Reviewed by Alp Toker and Mark Rowe.
1964 http://bugs.webkit.org/show_bug.cgi?id=16618
1965 [GTK] build-webkit and run-webkit-tests autootools support
1967 * Scripts/build-webkit: added --database and --icon-database options
1968 * Scripts/run-launcher:
1969 * Scripts/run-webkit-tests:
1970 * Scripts/webkitdirs.pm:
1972 2008-02-04 Oliver Hunt <oliver@apple.com>
1974 Reviewed by Steve F.
1976 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
1978 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
1980 * Uses Sleep() to implement leapForward reliably.
1981 * 3 DND tests still fail for reasons that i have not yet determined
1982 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
1984 * DumpRenderTree/win/EventSender.cpp:
1985 (leapForwardCallback):
1986 (mouseDownCallback):
1990 (mouseMoveToCallback):
1991 Minor updates to these functions to handle the different message queue structure.
1993 (replaySavedEvents):
1994 More complicated now. Where possible we just use the old while-loop model of execution,
1995 but when leapForward has been used we have to jump through some hoops and set up an
1996 inner event loop so that we can ensure messages get the correct time stamp.
1998 * DumpRenderTree/win/UIDelegate.cpp:
1999 (UIDelegate::doDragDrop):
2000 Call replaySavedEvents directly to force synchronous handling of drag and drop.
2002 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
2004 Reviewed by Alp Toker and Mark Rowe.
2006 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
2007 Bug 17175: Use of C++ compiler flags in CFLAGS
2009 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
2011 2008-02-04 Darin Adler <darin@apple.com>
2015 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
2016 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
2019 2008-02-04 Adam Roben <aroben@apple.com>
2021 Windows Apple-only build fix
2023 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
2026 2008-02-04 Alp Toker <alp@atoker.com>
2028 Rubber-stamped by Mark Rowe.
2030 Remove all trailing whitespace in the GTK+ port and related
2033 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2034 * DumpRenderTree/gtk/GCControllerGtk.cpp:
2035 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2038 2008-02-01 Eric Seidel <eric@webkit.org>
2042 Also search LayoutTests/svg for js-based tests.
2044 * Scripts/make-js-test-wrappers:
2046 2008-01-31 Alp Toker <alp@atoker.com>
2048 Rubber-stamped by Adam Roben.
2050 http://bugs.webkit.org/show_bug.cgi?id=17006
2051 [GTK] Header path should be webkit/webkit.h
2053 Move the GTK+ API sources as needed and update the build systems.
2055 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2056 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2057 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2059 * GtkLauncher/main.c:
2061 2008-01-30 Stephanie <slewis@apple.com>
2065 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.
2067 * Scripts/run-webkit-tests:
2069 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
2071 Reviewed by Adam Roben.
2073 One more debug (external) fix.
2075 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
2076 and Debug configurations.
2078 2008-01-29 Geoffrey Garen <ggaren@apple.com>
2080 Reviewed by Sam Weinig. Sam Weinig.
2082 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
2083 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
2085 Modified our policy delegates not to output window.name. Since a
2086 previous test may have explicitly set window.name, we can't rely on its
2087 implicit value in test results.
2089 * DumpRenderTree/mac/PolicyDelegate.mm:
2090 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2092 * DumpRenderTree/win/PolicyDelegate.cpp:
2093 (PolicyDelegate::decidePolicyForNavigationAction):
2095 2008-01-29 Mark Rowe <mrowe@apple.com>
2097 Reviewed by Tim Hatcher.
2099 <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).
2101 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
2103 2008-01-29 David Kilzer <ddkilzer@apple.com>
2105 Refactor ChangeLog path code
2109 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
2110 duplicate code in another foreach() loop.
2112 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
2116 <rdar://problem/5710692> All storage tests fail/crash
2118 * DumpRenderTree/mac/UIDelegate.mm:
2119 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
2120 arbitrary quota of 5 megabytes.
2122 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2123 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2124 Removed unused (I think) code.
2126 * DumpRenderTree/win/UIDelegate.cpp:
2127 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
2128 (UIDelegate::webViewPainted): A stub implementation.
2129 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
2130 * DumpRenderTree/win/UIDelegate.h:
2132 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2134 GTK+ DRT build fix for breakage introduced in r29822.
2136 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2137 (LayoutTestController::setPersistentUserStyleSheetLocation):
2138 (LayoutTestController::clearPersistentUserStyleSheet):
2140 2008-01-27 Dan Bernstein <mitz@apple.com>
2142 Reviewed by Darin Adler.
2144 - add support for directory prologues and epilogues to run-webkit-tests
2145 - allow setting a persistent user style sheet in DumpRenderTree
2146 - activate the WebKit Layout Tests font in Windows DumpRenderTree
2148 * DumpRenderTree/LayoutTestController.cpp:
2149 (clearPersistentUserStyleSheetCallback): Added.
2150 (setPersistentUserStyleSheetLocationCallback): Added.
2151 (LayoutTestController::staticFunctions): Added.
2152 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
2153 * DumpRenderTree/LayoutTestController.h:
2154 * DumpRenderTree/mac/DumpRenderTree.mm:
2155 (setPersistentUserStyleSheetLocation): Added.
2156 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
2157 to the set of things this function resets. Now it either disables the
2158 user style sheet or sets it to the persistent user style sheet and
2160 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2161 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2162 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2163 (LayoutTestController::clearPersistentUserStyleSheet): Added.
2164 * DumpRenderTree/win/DumpRenderTree.cpp:
2165 (setPersistentUserStyleSheetLocation): Added.
2166 (initialize): Added the WebKit Layout Tests font to the set of fonts to
2168 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
2169 * DumpRenderTree/win/DumpRenderTreeWin.h:
2170 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2171 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2172 (LayoutTestController::clearPersistentUserStyleSheet): Added.
2173 * Scripts/run-webkit-tests: Changed to look for, and if found process in
2174 DumpRenderTree, files named run-webkit-tests-prologue.html and
2175 run-webkit-tests-epilogue.html in the resources subdirectory of any
2176 test directory and platform test results directory. The prologues are
2177 processed before the first test from the directory (and its
2178 subdirectories) is run, and the epilogues are processed after the last
2179 test from the directory is run. Platform-specific prologues and
2180 epilogues are processed in order of specificity.
2182 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
2184 Reviewed by Mark Rowe.
2186 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
2188 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
2190 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
2192 2008-01-24 Sam Weinig <sam@webkit.org>
2194 Reviewed by Ada Chan.
2196 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
2198 - Adds simplified UndoManager to windows DRT to allow testing the
2199 undo/redo code paths in WebCore and WebKit. This is a temporary
2200 solution to an issue that should eventually be solved by having a
2201 shared UndoManager in WebKit.
2203 * DumpRenderTree/win/DumpRenderTree.cpp:
2205 * DumpRenderTree/win/UIDelegate.cpp:
2206 (DRTUndoObject::DRTUndoObject):
2207 (DRTUndoObject::invoke):
2208 (DRTUndoStack::~DRTUndoStack):
2209 (DRTUndoStack::isEmpty):
2210 (DRTUndoStack::clear):
2211 (DRTUndoStack::push):
2212 (DRTUndoStack::pop):
2213 (DRTUndoManager::canRedo):
2214 (DRTUndoManager::canUndo):
2215 (DRTUndoManager::DRTUndoManager):
2216 (DRTUndoManager::removeAllActions):
2217 (DRTUndoManager::registerUndoWithTarget):
2218 (DRTUndoManager::redo):
2219 (DRTUndoManager::undo):
2220 (UIDelegate::UIDelegate):
2221 (UIDelegate::resetUndoManager):
2222 (UIDelegate::registerUndoWithTarget):
2223 (UIDelegate::removeAllActionsWithTarget):
2224 (UIDelegate::setActionTitle):
2227 (UIDelegate::canUndo):
2228 (UIDelegate::canRedo):
2229 * DumpRenderTree/win/UIDelegate.h:
2231 2008-01-23 Adam Roben <aroben@apple.com>
2233 Allow directories containing ChangeLogs to be passed to
2236 Reviewed by David Kilzer.
2238 * Scripts/resolve-ChangeLogs:
2239 (sub findChangeLog): Return a ChangeLog contained within the specified
2240 directory if one exists.
2242 2008-01-23 Steve Falkenburg <sfalken@apple.com>
2244 <rdar://problem/5698732> Copyright strings should include 2008
2248 * Drosera/win/Drosera.vcproj/Drosera.rc:
2249 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
2251 2008-01-23 Alp Toker <alp@atoker.com>
2253 Rubber-stamped by Mark Rowe.
2255 Remove whitespace after -I in automake include lists.
2259 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
2261 Reviewed by Lars Knoll <lars@trolltech.com>.
2263 Reworked the JavaScriptCore Qt bindings:
2265 * Update JS DRT controller for Qt JS binding changes.
2266 There were two functions that needed some changes
2267 so that the layout tests would work, so this makes
2268 a few tests pass again.
2270 * Bump the timeout for layout tests up to 11s.
2271 At least some tests have an internal timeout of
2272 10 seconds, so make the waitUntilDone approach
2273 wait at least 11s. fast/dom/open-and-close-by-DOM.html
2274 is one of these - now the failure message is more
2278 * DumpRenderTree/qt/jsobjects.cpp:
2279 (LayoutTestController::waitUntilDone):
2280 * DumpRenderTree/qt/jsobjects.h:
2282 2008-01-22 Anders Carlsson <andersca@apple.com>
2284 Reviewed by Darin and Adam.
2286 <rdar://problem/5688975>
2287 div element on microsoft site has wrong left offset.
2289 Add new method for testing the return vale of NPN_GetProperty.
2291 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2294 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
2296 Reviewed by Adam Roben.
2298 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
2300 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
2302 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2304 Reviewed by Alp Toker.
2306 http://bugs.webkit.org/show_bug.cgi?id=16955
2307 Get errors when cross-compile webkit-gtk
2309 * GNUmakefile.am: Removed ICU_CFLAGS
2311 2008-01-21 Darin Adler <darin@apple.com>
2313 Reviewed by Mitz and Adam.
2315 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
2316 sorting speed by doing all sort criteria in a single pass instead of three sorts.
2318 2008-01-21 Simon Hausmann <hausmann@webkit.org>
2322 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
2324 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
2325 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
2326 and make the return value depend on whether we successfully determined a focusable
2328 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
2329 if we could not handle the focus chain ourselves.
2330 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
2331 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
2332 used to control the situation of stepping out of the focus chain inside the page.
2333 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
2334 The layout tests expect this to be disabled but for the user it seems sensible to have it
2335 on by default, hence the default in qwebsettings.cpp
2338 * DumpRenderTree/qt/DumpRenderTree.cpp:
2339 (WebCore::WebPage::WebPage):
2341 2008-01-19 Mark Rowe <mrowe@apple.com>
2343 Reviewed by Alp Toker.
2345 Allow the --http flag to run-webkit-tests to override
2346 the default behaviour of disabling HTTP tests for Qt,
2349 * Scripts/run-webkit-tests:
2351 2008-01-19 David Kilzer <ddkilzer@apple.com>
2353 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
2357 We now touch a check-for-global-initializers.timestamp file in
2358 the TARGET_TEMP_DIR directory to determine when new object files
2359 have been compiled and thus need to be checked. If the timestamp
2360 file doesn't exist, all object files will be checked.
2362 Previously the modification time of the "executable" (the
2363 framework binary, e.g., WebKit.framework/WebKit) was used, but
2364 since this was the last file modified at the end of the compile
2365 phase, no object files would ever get checked!
2367 Also added JSCustomSQLTransactionCallback.o to the list of files
2368 since it has static initializers in Debug builds of WebCore.
2370 * Scripts/check-for-global-initializers:
2372 2008-01-18 Adam Roben <aroben@apple.com>
2376 * Scripts/build-webkit:
2378 2008-01-18 Beth Dakin <bdakin@apple.com>
2382 Update build-webkit to account for foreign-object being disabled by
2385 * Scripts/build-webkit:
2387 2008-01-18 Adam Roben <aroben@apple.com>
2389 Updated for method renames
2393 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2394 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2395 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2396 (LayoutTestController::setMainFrameIsFirstResponder):
2397 (LayoutTestController::setWindowIsKey):
2398 * DumpRenderTree/mac/UIDelegate.mm:
2399 (-[UIDelegate webViewFocus:]):
2400 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2401 (FrameLoadDelegate::didCommitLoadForFrame):
2403 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
2405 Reviewed by Adam Roben.
2407 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
2408 between DRT and TestNetscapePlugin.
2410 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
2411 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
2413 2008-01-18 Simon Hausmann <hausmann@webkit.org>
2417 Fix fast/dom/Window/window-resize.html
2419 In DRT connect the page's geometryChangeRequest signal to a slot that
2420 sets the geometry of the view widget.
2423 * DumpRenderTree/qt/DumpRenderTree.cpp:
2424 (WebCore::WebPage::setViewGeometry):
2425 (WebCore::WebPage::WebPage):
2427 2008-01-17 Steve Falkenburg <sfalken@apple.com>
2431 * Drosera/DroseraWin.make:
2433 2008-01-17 Darin Adler <darin@apple.com>
2435 * Scripts/run-webkit-tests: Fixed a bug number.
2437 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
2439 Reviewed by Adam Roben.
2441 http://bugs.webkit.org/show_bug.cgi?id=16908
2442 run-webkit-tests complains about missing FindSafari.exe
2444 * Scripts/webkitdirs.pm: Append _debug as appropriate.
2446 2008-01-17 Steve Falkenburg <sfalken@apple.com>
2448 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
2450 Rubber-stamped by Jon Honeycutt.
2452 * DumpRenderTree/win/DumpRenderTree.vcproj:
2454 2008-01-16 Alp Toker <alp@atoker.com>
2456 Reviewed by Mark Rowe.
2458 http://bugs.webkit.org/show_bug.cgi?id=16218
2459 [GTK] API: Should this entry point be called go_back rather than go_backward?
2461 Track back/forward API changes in the tools.
2463 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2464 (BackForwardItem::invoke):
2465 * GtkLauncher/main.c:
2468 2008-01-16 Adam Roben <aroben@apple.com>
2470 Windows build fix after r29488
2472 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2473 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
2474 expects to find the plugin.
2476 2008-01-11 Geoffrey Garen <ggaren@apple.com>
2478 Reviewed by Sam Weinig.
2480 Fixed the waitUntilDone watchdog timer -- the old code never added the
2481 timer to the run loop, so it didn't do anything.
2483 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2484 (LayoutTestController::setWaitToDump):
2485 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2486 (LayoutTestController::setWaitToDump):
2488 2008-01-14 Steve Falkenburg <sfalken@apple.com>
2490 Use shared vsprops for most vcproj properties.
2494 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2495 * DumpRenderTree/win/DumpRenderTree.vcproj:
2496 * DumpRenderTree/win/ImageDiff.vcproj:
2497 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2498 * FindSafari/FindSafari.vcproj:
2500 2008-01-14 Stephanie <slewis@apple.com>
2504 revert accidental character.
2506 * Scripts/run-webkit-tests:
2508 2008-01-14 Stephanie <slewis@apple.com>
2512 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
2514 * Scripts/run-webkit-tests:
2516 2008-01-14 Darin Adler <darin@apple.com>
2518 * Scripts/do-webcore-rename: Queue up another rename.
2520 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2524 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
2526 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2528 * Scripts/run-webkit-tests:
2530 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2534 * Randomize tests array to spot test cases where the results depends on the order
2536 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2538 * Scripts/run-webkit-tests:
2540 2008-01-14 Darin Adler <darin@apple.com>
2542 * Scripts/run-webkit-tests: More ignore list tweaking.
2544 2008-01-14 Darin Adler <darin@apple.com>
2546 * Scripts/run-webkit-tests: Add another leak to the ignore list.
2548 2008-01-14 Dan Bernstein <mitz@apple.com>
2550 Reviewed by Adam Roben.
2552 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
2555 * DumpRenderTree/win/DumpRenderTree.cpp:
2556 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
2558 2008-01-13 Steve Falkenburg <sfalken@apple.com>
2560 Share common files across projects.
2563 Debug: common.vsprops, debug.vsprops
2564 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
2565 Release: common.vsprops, release.vsprops
2567 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
2568 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
2570 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
2572 Reviewed by Adam Roben.
2574 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2575 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
2576 * Drosera/win/Drosera.vcproj/VERSION: Removed.
2577 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
2578 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
2579 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
2580 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
2581 * DumpRenderTree/win/DumpRenderTree.vcproj:
2582 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2583 * DumpRenderTree/win/debug.vsprops: Removed.
2584 * DumpRenderTree/win/debug_internal.vsprops: Removed.
2585 * DumpRenderTree/win/release.vsprops: Removed.
2587 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
2591 - http://bugs.webkit.org/show_bug.cgi?id=16314
2592 Script to launch Drosera
2594 * Scripts/gdb-drosera: Added.
2595 * Scripts/run-drosera: Added.
2596 * Scripts/run-drosera-nightly.cmd: Added.
2597 * Scripts/webkitdirs.pm: Added runDrosera function.
2599 2008-01-13 Dan Bernstein <mitz@apple.com>
2601 - fix breakage due to last-minute change
2603 * DumpRenderTree/win/DumpRenderTree.cpp:
2604 (runTest): Declare the loop variable.
2606 2008-01-13 Dan Bernstein <mitz@apple.com>
2608 Reviewed by Adam Roben.
2610 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
2612 * DumpRenderTree/win/DumpRenderTree.cpp:
2613 (DumpRenderTreeWndProc):
2615 (dumpBackForwardList):
2616 (dumpBackForwardListForAllWindows):
2618 (resetWebViewToConsistentStateBeforeTesting): Factored out of
2621 (allWindows): Added. Returns a vector of all open windows.
2622 (windowToWebViewMap): Added. Returns a map from open windows to their
2624 (createWebViewAndOffscreenWindow): Factored out of main() to be
2625 reusable for creating extra windows.
2627 * DumpRenderTree/win/DumpRenderTreeWin.h:
2628 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2629 (LayoutTestController::windowCount): Implemented.
2630 * DumpRenderTree/win/UIDelegate.cpp:
2631 (UIDelegate::createWebViewWithRequest): Implemented.
2632 (UIDelegate::webViewClose): Implemented.
2633 * DumpRenderTree/win/UIDelegate.h:
2635 2008-01-12 Alp Toker <alp@atoker.com>
2637 Reviewed by Mark Rowe.
2639 Hide non-public symbols in GTK+/autotools release builds.
2643 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2647 * Make launching of the WebKit httpd work on GNU/Debian/Linux
2649 The configuration of Apache2 and installation does not depend on
2650 the kernel but on the distribution policy. Make launching of httpd
2651 work for Debian derived distributions.
2653 * Scripts/run-webkit-httpd:
2654 * Scripts/run-webkit-tests:
2655 * Scripts/webkitdirs.pm:
2657 2008-01-12 Mark Rowe <mrowe@apple.com>
2659 Reviewed by Maciej Stachowiak.
2661 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
2663 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
2664 match the callers expectations that it can take ownership of the string.
2666 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
2668 Reviewed by Adam Roben.
2670 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
2672 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
2673 as these are only posted because the test window is not a normal visible one, and
2674 they confuse drag&drop machinery.
2676 2008-01-11 Adam Roben <aroben@apple.com>
2678 Fix a crash when pathToLocalResource fails and a leak
2682 * DumpRenderTree/LayoutTestController.cpp:
2683 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
2684 sure not to pass null to JSValueMakeString.
2685 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2686 (LayoutTestController::pathToLocalResource): Print an error message if
2687 the conversion fails so it's clear what happened.
2689 2008-01-11 Geoffrey Garen <ggaren@apple.com>
2691 Reviewed by John Sullivan.
2693 * DumpRenderTree/mac/GCControllerMac.mm:
2694 (GCController::collectOnAlternateThread): Updated for name change.
2696 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
2698 wx build fix. Don't build dftables any longer since it's now a Perl
2701 * wx/build-wxwebkit:
2703 2008-01-10 Sam Weinig <sam@webkit.org>
2705 Reviewed by Anders Carlsson.
2707 Make DRT track open windows instead of allocated windows so that
2708 we can avoid ASSERTION due to late deallocs out of our control.
2710 * DumpRenderTree/mac/DumpRenderTree.mm:
2711 (dumpBackForwardListForAllWindows):
2713 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2714 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2715 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2716 (+[DumpRenderTreeWindow openWindows]):
2717 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2718 (-[DumpRenderTreeWindow close]):
2719 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2720 (LayoutTestController::windowCount):
2722 2008-01-10 Ada Chan <adachan@apple.com>
2724 Meta key is not the same as Alt key on windows.
2728 * DumpRenderTree/win/EventSender.cpp:
2731 2008-01-09 Kevin McCullough <kmccullough@apple.com>
2733 Reviewed by Darin, Sam and Adam.
2735 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
2736 link in gmail message displays JavaScript alert falsely complaining
2737 about pop-up blocking.
2738 - Added the ability to enable the pop-up blocker via the
2739 LayoutTestController.
2741 * DumpRenderTree/LayoutTestController.cpp:
2742 (setPopupBlockingEnabledCallback):
2743 (LayoutTestController::staticFunctions):
2744 * DumpRenderTree/LayoutTestController.h:
2745 * DumpRenderTree/mac/DumpRenderTree.mm:
2746 (setDefaultsToConsistentValuesForTesting):
2747 (resetWebViewToConsistentStateBeforeTesting):
2748 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2749 (LayoutTestController::setPopupBlockingEnabled):
2751 2008-01-10 Lars Knoll <lars@trolltech.com>
2755 rename QWebPageHistory to QWebHistory.
2758 * DumpRenderTree/qt/jsobjects.cpp:
2760 2008-01-09 Maciej Stachowiak <mjs@apple.com>
2764 - add some more renames, adjust some
2766 * Scripts/do-webcore-rename:
2768 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
2772 Enable SVG Fonts support by default.
2774 * Scripts/build-webkit:
2776 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
2780 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
2781 DRT doesn't handle platform specific pixel test results correctly.
2783 <test>-expected.txt files and <test>-expected.png files may now live
2784 in different directories (ie. a cross-platform <test>-expected.txt file
2785 and a platform-specific <test>-expected.png file).
2787 * Scripts/run-webkit-tests:
2789 2008-01-04 Kevin McCullough <kmccullough@apple.com>
2793 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
2794 DRT did not correctly handle printing the '\0' char. Now it does.
2796 * DumpRenderTree/win/DumpRenderTree.cpp:
2800 2008-01-07 Simon Hausmann <hausmann@webkit.org>
2804 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
2807 * DumpRenderTree/qt/main.cpp:
2808 * DumpRenderTree/qt/testplugin.cpp:
2809 * DumpRenderTree/qt/testplugin.h:
2811 2008-01-05 Mark Rowe <mrowe@apple.com>
2813 Reviewed by Alp Toker.
2815 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
2817 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2818 (processWork): Process pending work.
2819 (webViewLoadFinished): Schedule processing of pending work.
2820 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
2822 2008-01-05 Darin Adler <darin@apple.com>
2824 * Scripts/do-webcore-rename: Some more renaming plans.
2826 2008-01-04 Alice Liu <alice.liu@apple.com>
2828 Reviewed by Alexey and Darin.
2830 Adding "home" and "end" to DRT's keydown since
2831 DOM key events can't handle keyIdentifiers at this point.
2833 * DumpRenderTree/mac/EventSendingController.mm:
2834 (-[EventSendingController keyDown:withModifiers:]):
2835 * DumpRenderTree/win/EventSender.cpp:
2838 2008-01-04 Lars Knoll <lars@trolltech.com>
2842 fix DRT after the changes to QWebPage.
2844 The great thing is that we actually don't have
2845 any regressions from the QWebPage change :)
2848 * DumpRenderTree/qt/DumpRenderTree.cpp:
2849 (WebCore::DumpRenderTree::DumpRenderTree):
2851 2008-01-04 Lars Knoll <lars@trolltech.com>
2855 make QWebPage a QObject and get things to compile.
2857 Nothing works currently though.
2860 * DumpRenderTree/qt/DumpRenderTree.cpp:
2861 (WebCore::DumpRenderTree::DumpRenderTree):
2863 2008-01-04 Lars Knoll <lars@trolltech.com>
2867 take a QString as identifier in QWebFrame::addToJSWindowObject.
2869 * DumpRenderTree/qt/DumpRenderTree.cpp:
2870 (WebCore::DumpRenderTree::initJSObjects):
2872 2008-01-04 Alp Toker <alp@atoker.com>
2874 GTK+ DRT build fix for breakage introduced in r29149.
2876 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2877 (LayoutTestController::execCommand):
2879 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
2883 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
2885 Added layoutTestController.execCommand to access editor commands that are not available
2886 via document.execCommand.
2888 * DumpRenderTree/LayoutTestController.cpp:
2889 (execCommandCallback):
2890 (LayoutTestController::staticFunctions):
2891 * DumpRenderTree/LayoutTestController.h:
2892 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2893 (LayoutTestController::execCommand):
2894 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2895 (LayoutTestController::queueLoad):
2896 (LayoutTestController::execCommand):
2898 2008-01-03 Alice Liu <alice.liu@apple.com>
2900 Reviewed by Darin, Mitz.
2902 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
2904 the clickcount should not increase if the last click was at a different location. it's a new click.
2906 * DumpRenderTree/mac/DumpRenderTree.mm:
2908 * DumpRenderTree/mac/EventSendingController.h:
2909 * DumpRenderTree/mac/EventSendingController.mm:
2910 (-[EventSendingController mouseDown]):
2911 (-[EventSendingController mouseUp]):
2913 2008-01-03 Darin Adler <darin@apple.com>
2917 * Scripts/update-webkit: Make this work a little better for the people at Apple
2918 who have a directory named Internal.
2920 2008-01-03 Adam Roben <aroben@apple.com>
2922 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
2924 Rubberstamped by Mark.
2926 * Scripts/update-webkit-auxiliary-libs:
2928 2008-01-03 Adam Roben <aroben@apple.com>
2930 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
2932 http://bugs.webkit.org/show_bug.cgi?id=15663
2934 Added a fuzz factor into the Last-Modified comparison for downloading
2935 WebKitAuxiliaryLibrary.zip.
2937 The zip file is served from a set of mirrors who give Last-Modified
2938 times that are off by 1-3 seconds from each other. This was causing
2939 the build bots to redownload WebKitAuxiliaryLibrary for every build,
2940 which would then cause all of WebCore to rebuild each time.
2944 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
2945 at least 30 seconds newer than the old one -- otherwise we assume that
2946 the difference in time is due to the mirrors being slightly offset
2948 (sub lastModifiedToUnixTime): Added.
2950 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
2954 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
2956 2008-01-03 Simon Hausmann <hausmann@webkit.org>
2960 Moved QWebPage::open to QWebFrame::load and added setHtml.
2963 * DumpRenderTree/qt/DumpRenderTree.cpp:
2964 (WebCore::DumpRenderTree::open):
2966 2008-01-03 Simon Hausmann <hausmann@webkit.org>
2970 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
2973 * DumpRenderTree/qt/DumpRenderTree.cpp:
2974 (WebCore::DumpRenderTree::DumpRenderTree):
2976 2008-01-02 Sam Weinig <sam@webkit.org>
2978 * Scripts/do-webcore-rename: Yet more renaming ideas.
2980 2008-01-02 Darin Adler <darin@apple.com>
2982 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
2984 2008-01-02 Alice Liu <alice.liu@apple.com>
2986 Reviewed by Sam Weinig.
2988 fixing assertion hit with editing/selection/move-begin-end.html
2990 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
2991 * DumpRenderTree/win/DumpRenderTree.vcproj:
2992 * DumpRenderTree/win/EventSender.cpp:
2994 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
2996 2008-01-02 Darin Adler <darin@apple.com>
2998 * Scripts/do-webcore-rename: Some more name change plans.
3000 2008-01-02 Alice Liu <alice.liu@apple.com>
3004 Added handling for page up and page down in EventSender
3006 * DumpRenderTree/mac/EventSendingController.mm:
3007 (-[EventSendingController keyDown:withModifiers:]):
3008 * DumpRenderTree/win/EventSender.cpp:
3011 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
3015 Fix fast/events/arrow-keys-on-body.html for real.
3017 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
3019 2008-01-02 Luca Bruno <lethalman88@gmail.com>
3023 http://bugs.webkit.org/show_bug.cgi?id=16674
3024 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
3026 * Scripts/run-launcher:
3028 2007-12-31 Darin Adler <darin@apple.com>
3032 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
3033 we get it installed on the build bots.
3035 2007-12-30 Eric Seidel <eric@webkit.org>
3039 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
3041 2007-12-29 Darin Adler <darin@apple.com>
3045 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
3046 leak bot shows createCStringFromNPVariant result leaking
3048 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3049 (pluginInvoke): Added a missing free.
3051 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3053 Reviewed by Alp Toker.
3055 http://bugs.webkit.org/show_bug.cgi?id=16390
3056 Use autotools or GNU make as the build system for the GTK port
3058 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
3059 * GNUmakefile.am: Added.
3061 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
3065 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
3067 * DumpRenderTree/win/EventSender.cpp:
3068 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
3069 of 1, even though WebKit currently ignores it.
3071 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
3073 wx buildbot fix. Update libpng dl script to the latest version.
3075 * wx/install-unix-extras:
3077 2007-12-22 Antti Koivisto <antti@apple.com>
3081 * Scripts/webkitdirs.pm:
3083 2007-12-21 Sam Weinig <sam@webkit.org>
3085 Reviewed by Mark Rowe.
3087 - Disable the back/forward cache using the new WebPreferences API
3088 instead of through the BackForwardList. This makes us match what
3091 * DumpRenderTree/mac/DumpRenderTree.mm:
3092 (createWebViewAndOffscreenWindow):
3093 (setDefaultsToConsistentValuesForTesting):
3095 2007-12-21 Dan Bernstein <mitz@apple.com>
3097 Reviewed by Mark Rowe.
3099 - disable the back/forward cache in Windows DumpRenderTree. It is
3100 already disabled in Mac DumpRenderTree.
3102 * DumpRenderTree/win/DumpRenderTree.cpp:
3103 (initializePreferences):
3105 2007-12-13 Antti Koivisto <antti@apple.com>
3107 Reviewed by Darin and Steve.
3109 - check for QuickTime SDK on Windows.
3110 - build media support on Windows by default
3112 * Scripts/build-webkit:
3113 * Scripts/webkitdirs.pm:
3115 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
3117 Build script fix for buildbot.
3119 * wx/build-wxwebkit:
3121 2007-12-20 Eric Seidel <eric@webkit.org>
3125 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
3127 2007-12-20 Kevin McCullough <kmccullough@apple.com>
3131 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
3134 - Drosera and Safari need to use the same ProgIDs in order for
3135 CoCreateInstance to work properly. The most robust way to do this is
3136 for WebKit to dynamically publish those ProgIDs.
3138 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
3139 (DebuggerClient::createWebViewWithRequest):
3140 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
3144 (Drosera::attemptToCreateServerConnection):
3145 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
3146 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
3147 make use of the published ProgIDs.
3148 (ServerConnection::attemptToCreateServerConnection):
3150 2007-12-20 Kevin McCullough <kmccullough@apple.com>
3152 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
3153 - Build bot and leak fix.
3155 * DumpRenderTree/LayoutTestController.cpp:
3156 (pathToLocalResourceCallback):
3158 2007-12-19 David Kilzer <ddkilzer@apple.com>
3160 Make svn-apply/svn-unapply work with patches from git-format-patch.
3164 * Scripts/svn-apply:
3165 (patch): If 'Index:' can't be found in the text passed in, print it
3166 out with a warning and return early.
3167 * Scripts/svn-unapply:
3170 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
3172 Reviewed by Alp Toker.
3174 Build related fixes.
3176 * wx/build-wxwebkit:
3177 - Check to make sure the user is running a supported wx port
3178 - More robust checks for Cygwin
3179 - Only run install-unix-extras on Mac, it's not the right solution
3181 - Remove outdated Linux instructions after successful build
3182 - Clean Bakefile-generated files during a clean operation
3184 2007-12-18 Darin Adler <darin@apple.com>
3186 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
3188 2007-12-18 Steve Falkenburg <sfalken@apple.com>
3190 Add script to run Drosera as part of the nightly.
3192 Reviewed by Kevin M.
3194 * Scripts/run-drosera.cmd: Added.
3196 2007-12-18 Darin Adler <darin@apple.com>
3198 * Scripts/do-webcore-rename: Remove a stray K.
3200 2007-12-18 Darin Adler <darin@apple.com>
3202 * Scripts/do-webcore-rename: Plan more renaming.
3204 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
3206 Reviewed by Alp Toker.
3208 http://bugs.webkit.org/show_bug.cgi?id=16042
3209 [GTK] Eliminate webkit_init()
3211 Moving webkit initialization to WebView class init.
3213 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3215 * GtkLauncher/main.c:
3218 2007-12-17 Luca Bruno <lethalman88@gmail.com>
3220 Reviewed by Alp Toker.
3222 http://bugs.webkit.org/show_bug.cgi?id=13542
3223 gdklauncher doesnt change URL in adress GTKEntry.
3225 * GtkLauncher/main.c:
3226 (load_commit_cb): added
3230 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
3232 Reviewed by Adam Roben.
3234 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
3236 * FindSafari/FindSafari.cpp:
3239 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
3241 Reviewed by Adam Roben.
3243 http://bugs.webkit.org/show_bug.cgi?id=16315
3244 FindSafari needs a path-only option.
3246 * FindSafari/FindSafari.cpp:
3249 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
3253 http://bugs.webkit.org/show_bug.cgi?id=16462
3254 REGRESSION: access keys broken on Windows
3256 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
3259 2007-12-15 Sam Weinig <sam@webkit.org>
3261 Reviewed by Mark Rowe.
3263 Fix urlSuitableForTestResult to correctly identify wstring::npos as
3264 the case when wstring.find doesn't find anything.
3266 * DumpRenderTree/win/DumpRenderTree.cpp:
3267 (urlSuitableForTestResult):
3269 2007-12-15 Alp Toker <alp@atoker.com>
3271 GTK+ DRT build fix for GLib < 2.14.
3273 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3274 (LayoutTestController::setWaitToDump):
3276 2007-12-05 Mark Rowe <mrowe@apple.com>
3278 Reviewed by Alp Toker.
3280 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
3281 many layout tests from hanging while waiting on user responses to dialogs.
3283 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3284 (invalidateAnyPreviousWaitToDumpWatchdog):
3285 (webViewScriptAlert):
3286 (webViewScriptPrompt):
3287 (webViewScriptConfirm):
3289 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3290 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3291 (waitToDumpWatchdogFired):
3292 (LayoutTestController::setWaitToDump):
3294 2007-12-05 Mark Rowe <mrowe@apple.com>
3296 Reviewed by Alp Toker.
3298 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
3300 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3301 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
3304 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
3305 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
3306 work queue is empty.
3307 (webViewWindowObjectCleared): Set up window.layoutTestController.
3308 (webViewConsoleMessage): Match the console message format expected by the layout test results.
3309 (main): Hook up the new signals.
3310 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3311 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
3312 dumping multiple times.
3313 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
3314 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
3316 2007-12-14 Anders Carlsson <andersca@apple.com>
3320 Assert that a web frame that's loading a resource always has either a data source or
3321 a provisional data source.
3323 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3324 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3326 2007-12-14 Darin Adler <darin@apple.com>
3328 - fix mistake causing nearly all tests to fail on Windows
3330 * DumpRenderTree/win/UIDelegate.cpp:
3331 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
3332 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
3334 * DumpRenderTree/mac/UIDelegate.mm:
3335 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
3336 than passing the entire message.
3338 2007-12-14 Darin Adler <darin@apple.com>
3342 * DumpRenderTree/mac/UIDelegate.mm:
3343 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
3344 new-to-Leopard methods.
3346 2007-12-14 Darin Adler <darin@apple.com>
3348 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
3349 since it now triggers unwanted icon loading. We only had it because we implemented "all"
3350 delegate methods here.
3352 2007-12-14 Anders Carlsson <andersca@apple.com>
3354 Reviewed by Darin and Geoff.
3356 <rdar://problem/5619295>
3357 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
3359 Add property getting methods to the plug-in.
3361 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3364 2007-12-14 Kevin McCullough <kmccullough@apple.com>
3368 - Layout test fix for mac. When dumped to the console local file paths
3369 now only show the name of the resource not the whole path. This is to
3370 make the results machine and OS independent.
3372 * DumpRenderTree/mac/UIDelegate.mm:
3373 (-[UIDelegate webView:addMessageToConsole:]):
3375 2007-12-13 Kevin McCullough <kmccullough@apple.com>
3379 - Layout tests fix. We need a way to remove machine-dependent
3380 information from paths in layout test results. The UIDelegate now does
3383 * DumpRenderTree/DumpRenderTree.h:
3384 * DumpRenderTree/win/DumpRenderTree.cpp:
3385 (urlSuitableForTestResult):
3386 * DumpRenderTree/win/DumpRenderTreeWin.h:
3387 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3388 * DumpRenderTree/win/UIDelegate.cpp:
3389 (UIDelegate::webViewAddMessageToConsole):
3391 2007-12-13 Alp Toker <alp@atoker.com>
3393 Build fix for DRT breakage introduced in r28690.
3395 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3396 (LayoutTestController::pathToLocalResource):
3398 2007-12-12 Kevin McCullough <kmccullough@apple.com>
3400 Reviewed by Alice and Sam.
3402 - <rdar://5621435> Need a way to specify local resources (being loaded
3403 from HTTP tests) on Windows.
3404 - Implemented pathToLocalResource which exposes the functionality of
3405 converting a given unix path to the correct location on Windows.
3407 * DumpRenderTree/LayoutTestController.cpp:
3408 (pathToLocalResourceCallback):
3409 (LayoutTestController::staticFunctions):
3410 * DumpRenderTree/LayoutTestController.h:
3411 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3412 (LayoutTestController::pathToLocalResource):
3413 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3414 (LayoutTestController::pathToLocalResource):
3416 2007-12-12 Anders Carlsson <andersca@apple.com>
3420 <rdar://problem/5132003>
3421 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
3423 * DumpRenderTree/win/DumpRenderTree.cpp:
3425 Set the resource load delegate.
3427 * DumpRenderTree/win/DumpRenderTree.vcproj:
3429 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
3430 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
3432 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
3434 Reviewed by Adam Roben.
3436 Fix conversion from double to LPARAM in dispatchMessage().
3438 * DumpRenderTree/win/EventSender.cpp:
3439 (dispatchMessageCallback):
3441 2007-12-11 Dan Bernstein <mitz@apple.com>
3443 Reviewed by Mark Rowe and Sam Weinig too!
3445 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
3446 fonts DumpRenderTree registers.
3448 * DumpRenderTree/win/DumpRenderTree.cpp:
3451 2007-12-11 Brady Eidson <beidson@apple.com>
3455 Make DumpRenderTree on mac use its own path for Databases testing
3457 * DumpRenderTree/mac/DumpRenderTree.mm:
3458 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
3459 for future DRT-only use, then use it to construct the Databases path and set that default
3461 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
3465 <rdar://problem/5535636>
3466 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
3468 http://bugs.webkit.org/show_bug.cgi?id=13916
3469 JavaScript detects Tab as a character input on a textfield validation
3471 * DumpRenderTree/mac/EventSendingController.mm:
3472 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
3473 Dispatch a keyup to better match what happens when a key is physically pressed.
3475 * DumpRenderTree/win/EventSender.cpp:
3476 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
3477 returning from keyDown().
3478 (getConstantCallback): Fixed a couple copy/paste mistakes.
3480 2007-12-07 Kevin McCullough <kmccullough@apple.com>
3484 - <rdar://5599845> Drosera: Does not show loal files in the file list
3487 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
3488 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
3489 so the open source community can build.
3491 2007-12-10 Brady Eidson <beidson@apple.com>
3493 Rubberstamped by Sam Weinig
3495 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
3497 * DumpRenderTree/mac/UIDelegate.mm:
3498 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
3499 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
3501 2007-12-08 Oliver Hunt <oliver@apple.com>
3505 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
3507 Fixes <rdar://problem/5620249> Must disable SVG animation
3508 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
3510 In order to allow finer grained control over the set of SVG features
3511 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
3513 ENABLE_SVG_ANIMATION
3519 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
3521 Script handles all the new build flags, and allows --svg-experimental
3522 to automatically enable all features.
3524 * Scripts/build-webkit:
3526 2007-12-07 Steve Falkenburg <sfalken@apple.com>
3528 Fix version parsing.
3530 Rubber-stamped by Oliver.
3532 * Drosera/win/Drosera.vcproj/auto-version.sh:
3534 2007-12-07 Steve Falkenburg <sfalken@apple.com>
3536 Build modifications for Drosera.
3540 * Drosera/DroseraWin.make: Added.
3541 * Drosera/win/Drosera.vcproj/Drosera.rc:
3542 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3543 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
3544 * Drosera/win/Drosera.vcproj/VERSION: Added.
3545 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
3547 2007-12-06 Adam Roben <aroben@apple.com>
3549 Explicitly turn on the Mac font ascent hack on Windows
3551 This keeps our font metrics matching those from Mac.
3555 * DumpRenderTree/win/DumpRenderTree.cpp:
3558 2007-12-06 Anders Carlsson <andersca@apple.com>
3560 Rename main.c to main.cpp here too.
3562 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
3564 2007-12-06 Sam Weinig <sam@webkit.org>
3566 Rubber stamped by Geoff.
3568 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
3570 2007-12-06 Darin Adler <darin@apple.com>
3572 * Scripts/do-webcore-rename: Some more renaming plans.
3574 2007-12-06 Anders Carlsson <andersca@apple.com>
3576 Restore implementation of testGetIntIdentifier that was accidentally
3577 removed somehow (possibly when I made PluginObject be a cpp file).
3579 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3582 2007-12-05 Anders Carlsson <andersca@apple.com>
3584 Make the entry points extern "C".
3585 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3587 2007-12-05 Anders Carlsson <andersca@apple.com>
3591 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3600 2007-12-05 Anders Carlsson <andersca@apple.com>
3602 Add the .cpp files to the TestNetscapePlugIn target.
3604 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3606 2007-12-05 Anders Carlsson <andersca@apple.com>
3610 Rename the TestNetscapePlugIn .c files to be .cpp.
3612 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3613 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
3614 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
3615 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
3616 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
3617 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
3618 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
3619 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3621 2007-12-05 Adam Roben <aroben@apple.com>
3623 Fix case of keypresses from the Windows implementation of eventSender.keyDown
3625 This fixes several regression tests.
3629 * DumpRenderTree/win/EventSender.cpp:
3630 (keyDownCallback): Virtual keycodes for ASCII characters are always
3631 uppercase, so we need to check the case of the original character
3632 passed in to eventSender.keyDown.
3634 2007-12-05 Adam Roben <aroben@apple.com>
3636 Learn from Tim's mistakes
3638 * DumpRenderTree/win/DumpRenderTree.cpp:
3639 (runTest): Reset the authorAndUserStylesEnabled preference for each
3642 2007-12-05 Alp Toker <alp@atoker.com>
3644 Reviewed by Mark Rowe.
3646 Initialize GTK+ and WebKit so the tests can run.
3648 Reorganize the headers a little.
3650 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3653 2007-12-04 Anders Carlsson <andersca@apple.com>
3655 Remove IWebScriptScope include.
3657 * Drosera/win/DebuggerDocumentPlatform.cpp:
3659 2007-12-04 Sam Weinig <sam@webkit.org>
3661 Rubber stamped by Mark Rowe.
3663 Define CF as platform for mac and revert r28409
3665 * DumpRenderTree/DumpRenderTree.h:
3666 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3668 2007-12-04 Sam Weinig <sam@webkit.org>
3670 Define CF as platform for windows.
3672 Reviewed by Adam Roben.
3674 * DumpRenderTree/win/DumpRenderTreeWin.h:
3676 2007-12-04 Kevin McCullough <kmccullough@apple.com>
3678 Reviewed by Adam and Darin.
3680 - Removed a needless BSTR cleanup.
3682 * Drosera/win/DebuggerDocumentPlatform.cpp:
3683 (DebuggerDocument::getPlatformCurrentFunctionStack):