1 2008-07-09 Eric Seidel <eric@webkit.org>
5 * DumpRenderTree/LayoutTestController.cpp:
6 (LayoutTestController::LayoutTestController):
8 (LayoutTestController::staticFunctions):
9 * DumpRenderTree/LayoutTestController.h:
10 (LayoutTestController::dumpAsPDF):
11 (LayoutTestController::setDumpAsPDF):
12 * DumpRenderTree/mac/DumpRenderTree.mm:
16 2008-07-09 Eric Seidel <eric@webkit.org>
20 Add Content-Type support to DumpRenderTree and run-webkit-tests
21 and move expected.txt files to expected.webarchive
23 https://bugs.webkit.org/show_bug.cgi?id=15565
25 * DumpRenderTree/cg/ImageDiffCG.cpp:
28 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
30 * DumpRenderTree/mac/DumpRenderTree.mm:
32 * Scripts/run-webkit-tests:
34 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
38 Port r34988 to Mac: allow tests to define JavaScript to execute when
39 NPP_DestroyStream or NPP_URLNotify is called.
41 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
42 (NPP_New): Remove initialization that happens in pluginAllocate. Look
43 for new arguments onStreamDestroy and onURLNotify.
44 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
45 (executeScript): Code moved from onStreamLoad.
46 (NPP_NewStream): Call executeScript.
47 (NPP_DestroyStream): Same.
48 (NPP_URLNotify): Same.
50 2008-07-07 Beth Dakin <bdakin@apple.com>
54 This patch extends DRT accessibility tests to add the ability to
55 query the intValue, minValue, and maxValue of the focused element.
57 * DumpRenderTree/AccessibilityController.cpp:
58 (intValueOfFocusedElementCallback):
59 (minValueOfFocusedElementCallback):
60 (maxValueOfFocusedElementCallback):
61 (AccessibilityController::staticFunctions):
62 * DumpRenderTree/AccessibilityController.h:
63 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
64 (AccessibilityController::intValueOfFocusedElement):
65 (AccessibilityController::minValueOfFocusedElement):
66 (AccessibilityController::maxValueOfFocusedElement):
68 2008-07-07 Steve Falkenburg <sfalken@apple.com>
72 * DumpRenderTree/win/ImageDiff.vcproj:
74 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
76 Allow tests to define JavaScript to execute when NPP_DestroyStream or
77 NPP_URLNotify is called.
81 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
82 property, "returnErrorFromNewStream." This is to support the test for
83 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
84 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
85 error from NPP_NewStream.
89 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
90 members, onStreamDestroy and onURLNotify.
91 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
92 (NPP_New): Remove initialization of onStreamLoad; this was moved to
93 pluginAllocate. Look for new arguments onStreamDestroy and
94 onURLNotify, and store their values.
95 (NPP_Destroy): Free new members.
96 (executeScript): Code moved from onStreamLoad
97 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
98 return a generic error code. If onStreamLoad is set, execute it as
100 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
101 (NPP_URLNotify): Same, for onURLNotify.
103 2008-07-02 Brady Eidson <beidson@apple.com>
105 Reviewed by Mitz Pettel and John Sullivan
107 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
110 Required to add a layout test for the fix for <rdar://problem/5549871>
112 * DumpRenderTree/mac/FrameLoadDelegate.mm:
113 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
114 [WebFrame stopLoading] to test for the crash reflected in 5549871
116 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
117 * DumpRenderTree/LayoutTestController.cpp:
118 (LayoutTestController::LayoutTestController):
119 (setStopProvisionalFrameLoadsCallback):
120 (LayoutTestController::staticFunctions):
121 * DumpRenderTree/LayoutTestController.h:
122 (LayoutTestController::stopProvisionalFrameLoads):
123 (LayoutTestController::setStopProvisionalFrameLoads):
125 2008-07-01 chris fleizach <cfleizach@apple.com>
127 Reviewed by Beth Dakin
129 Support ability to get width and height of an element through accessibility
131 * DumpRenderTree/AccessibilityController.cpp:
132 (widthOfFocusedElementCallback):
133 (heightOfFocusedElementCallback):
134 (AccessibilityController::staticFunctions):
135 * DumpRenderTree/AccessibilityController.h:
136 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
137 (AccessibilityController::widthOfFocusedElement):
138 (AccessibilityController::heightOfFocusedElement):
140 2008-06-30 chris fleizach <cfleizach@apple.com>
142 Reviewed by Beth Dakin
144 Support the ability to get the linked ui elements of an object
146 * DumpRenderTree/AccessibilityController.cpp:
147 (attributesOfLinkedUIElementsForFocusedElementCallback):
148 (AccessibilityController::staticFunctions):
149 * DumpRenderTree/AccessibilityController.h:
150 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
151 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
152 (AccessibilityController::allAttributesOfFocusedElement):
153 (attributesOfElement):
154 (nsStringToJSStringRef):
156 2008-06-29 Sam Weinig <sam@webkit.org>
160 * DumpRenderTree/mac/EventSendingController.mm:
161 (eventTypeForMouseButtonAndAction):
163 2008-06-27 Eric Seidel <eric@webkit.org>
167 Add multi-button mouseevent support to DRT
168 https://bugs.webkit.org/show_bug.cgi?id=15173
170 It's now possible to specify the mouse button with:
171 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
173 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
174 * DumpRenderTree/mac/EventSendingController.h:
175 * DumpRenderTree/mac/EventSendingController.mm:
176 (+[EventSendingController isSelectorExcludedFromWebScript:]):
177 (+[EventSendingController webScriptNameForSelector:]):
178 (eventTypeForMouseButtonAndAction):
179 (-[EventSendingController updateClickCountForButton:]):
180 (-[EventSendingController mouseDown:]):
181 (-[EventSendingController mouseUp:]):
182 (-[EventSendingController mouseMoveToX:Y:]):
183 (-[EventSendingController contextClick]):
185 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
189 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
190 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
192 * Scripts/run-webkit-tests:
194 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
196 Reviewed by Christian Dywan.
198 [Gtk] Initialize webview settings before running DRT tests
199 http://bugs.webkit.org/show_bug.cgi?id=19778
201 * DumpRenderTree/gtk/DumpRenderTree.cpp:
202 (setDefaultsToConsistentStateValuesForTesting):
205 2008-06-26 Darin Adler <darin@apple.com>
207 * Scripts/check-for-weak-vtables: Fixed comment.
209 2008-06-26 Darin Adler <darin@apple.com>
211 * Scripts/check-for-weak-vtables: Added.
213 2008-06-26 Beth Dakin <bdakin@apple.com>
217 Do not include AXPosition in the dump of all of the accessibility
218 attributes since it is screen-specific.
220 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
221 (AccessibilityController::allAttributesOfFocusedElement):
223 2008-06-26 Beth Dakin <bdakin@apple.com>
227 This is a speculative fix for the failing layout test on the build
228 bot. It seems that the problem that the Build Bot is having is
229 Tiger-specific. On Tiger, [NSValue description] was not very smart.
230 So I replaced our call to description with a hand-rolled equivalent
231 that will match on both platforms.
233 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
234 (descriptionOfValue):
236 2008-06-25 Beth Dakin <bdakin@apple.com>
238 Reviewed by Sam Weinig.
240 This patch adds support to the AccessibilityController to query the
241 following attributes specifically, without a full attribute dump:
242 AXRole, AXTitle, and AXDescription.
244 * DumpRenderTree/AccessibilityController.cpp:
245 (allAttributesForFocusedElementCallback):
246 (roleOfFocusedElementCallback):
247 (titleOfFocusedElementCallback):
248 (descriptionOfFocusedElementCallback):
249 (AccessibilityController::staticFunctions):
250 * DumpRenderTree/AccessibilityController.h:
251 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
252 (AccessibilityController::allAttributesForFocusedElement):
253 (concatenateAttributeAndValue):
254 (AccessibilityController::roleOfFocusedElement):
255 (AccessibilityController::titleOfFocusedElement):
256 (AccessibilityController::descriptionOfFocusedElement):
258 2008-06-24 Dan Bernstein <mitz@apple.com>
260 Reviewed by Stephanie Lewis.
262 - move the linker flags from the debug configuration in the project
263 to the shared configuration
265 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
266 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
268 2008-06-24 Dan Bernstein <mitz@apple.com>
270 - try to fix the Tiger build
272 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
274 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
278 Fix for <rdar://problem/5884881> Make DumpRenderTree support
281 This patch adds some basic support for accessibility layout tests
284 * DumpRenderTree/AccessibilityController.cpp: Added.
285 (AccessibilityController::AccessibilityController):
286 (AccessibilityController::~AccessibilityController):
287 (dumpCurrentAttributesCallback):
288 (AccessibilityController::makeWindowObject):
289 (AccessibilityController::getJSClass):
290 (AccessibilityController::staticFunctions):
291 * DumpRenderTree/AccessibilityController.h: Added.
292 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
293 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
294 (descriptionOfValue):
295 (AccessibilityController::dumpCurrentAttributes):
296 * DumpRenderTree/mac/DumpRenderTree.mm:
297 * DumpRenderTree/mac/FrameLoadDelegate.h:
298 * DumpRenderTree/mac/FrameLoadDelegate.mm:
299 (-[FrameLoadDelegate init]):
300 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
302 2008-06-24 John Sullivan <sullivan@apple.com>
304 Reviewed by Dan Bernstein
306 * Scripts/extract-localizable-strings:
307 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
308 list of debugging macros, to avoid noise when keeping the list of localized string
309 exceptions up to date
311 2008-06-24 Dan Bernstein <mitz@apple.com>
313 Rubber-stamped by Darin Adler.
315 - add a font family for testing font-weight
317 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
318 flags to create data sections for the WeightWatcher fonts.
319 * DumpRenderTree/fonts: Added.
320 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
321 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
322 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
323 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
324 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
325 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
326 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
327 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
328 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
329 * DumpRenderTree/mac/DumpRenderTree.mm:
330 (activateFonts): Renamed activateAhemFont to this and made it activate
331 the WeightWatcher fonts in addition to Ahem.
332 (prepareConsistentTestingEnvironment): Adjusted for the name change.
333 * DumpRenderTree/win/DumpRenderTree.cpp:
334 (initialize): Added the WeightWatcher fonts.
336 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
340 Extend the build-webkit (and set-webkit-configuration) script to
341 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
343 * Scripts/build-webkit: Add --cairo-win32 to the help message
344 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
345 subroutine to recognize the --cairo-win32 flag. When present,
346 the build configuration is changed from Debug/Release to
347 Debug_Cairo/Release_Cairo. This flag is only active when the
348 isCygwin() test is true.
350 2008-06-17 Dan Bernstein <mitz@apple.com>
352 Reviewed by Justin Garcia.
354 - prefer Leopard results when running on Snow Leopard.
356 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
358 * Scripts/webkitdirs.pm: Added isSnowLeopard().
360 2008-06-15 Darin Adler <darin@apple.com>
362 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
364 2008-06-15 Darin Adler <darin@apple.com>
366 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
368 2008-06-15 Darin Adler <darin@apple.com>
370 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
372 2008-06-15 Darin Adler <darin@apple.com>
374 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
376 2008-06-15 Darin Adler <darin@apple.com>
378 * Scripts/do-file-rename: Updated.
379 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
381 2008-06-15 Darin Adler <darin@apple.com>
383 * Scripts/do-file-rename: Updated for the latest round of renaming.
384 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
386 2008-06-15 Darin Adler <darin@apple.com>
388 * Scripts/create-exports: Added.
389 * Scripts/do-file-rename: Added some planned renames.
390 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
392 2008-06-15 Darin Adler <darin@apple.com>
394 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
396 2008-06-15 Maciej Stachowiak <mjs@apple.com>
400 - rename testkjs to jsc
402 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
403 * Scripts/build-testkjs: Removed.
404 * Scripts/run-javascriptcore-tests:
405 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
406 * Scripts/run-sunspider:
407 * Scripts/run-testkjs: Removed.
408 * Scripts/sunspider-compare-results:
410 2008-06-14 Darin Adler <darin@apple.com>
412 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
413 from the actual renames. Removed many renames that are either done or
416 2008-06-14 Darin Adler <darin@apple.com>
418 * Scripts/do-webcore-rename: Fixed obvious typo.
420 2008-06-13 Darin Adler <darin@apple.com>
422 * Scripts/make-js-test-wrappers: Added three more exceptions.
424 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
428 For the qmake based build make it possible to build against makespecs where
429 QMAKE_CC is defined in a configuration file included from qmake.conf.
431 * Scripts/webkitdirs.pm: Added support for include() statements in
434 2008-06-09 Alp Toker <alp@nuanti.com>
436 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
437 each of the tools since these are no longer set globally.
441 2008-06-08 Darin Adler <darin@apple.com>
443 * Scripts/make-js-test-wrappers: Added another exception.
445 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
449 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
451 * Scripts/run-sunspider:
453 2008-06-05 Alp Toker <alp@nuanti.com>
455 Build fix for r34387.
459 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
463 Add an exception for Opcode.o to the global initializers check so that
464 we can dump instruction statistics in the JavaScript virtual machine.
466 * Scripts/check-for-global-initializers:
468 2008-05-30 Steve Falkenburg <sfalken@apple.com>
470 Generate an isolated COM manifest for registry free COM.
472 * DumpRenderTree/win/DumpRenderTree.vcproj:
474 2008-06-02 Anders Carlsson <andersca@apple.com>
476 Reviewed by David Hyatt and Mitz.
478 <rdar://problem/5704119>
479 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
481 Call -[WebView display] in the "plug-in" failed delegate method, simulating
482 the sheet that Safari puts up.
484 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
485 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
487 2008-05-30 Timothy Hatcher <timothy@apple.com>
489 Made the starting line number of scripts be 1-based throughout the engine.
490 This cleans up script line numbers so they are all consistent now.
492 Reviewed by Oliver Hunt.
494 * DumpRenderTree/mac/ObjCController.m:
495 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
496 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
497 (runJavaScriptThread): Ditto.
498 * DumpRenderTree/win/DumpRenderTree.cpp:
499 (runJavaScriptThread): Ditto.
501 2008-05-29 Geoffrey Garen <ggaren@apple.com>
503 Reviewed by Adam Roben.
505 Fixed VCSUtils.pm to work with git repositories inside symlinks.
507 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
508 root, instead of the root of the filesystem, to work around a bug in
509 abs2rel when traversing symlinked home directories.
511 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
513 Reviewed by Darin Adler.
515 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
517 https://bugs.webkit.org/show_bug.cgi?id=19311
519 * Scripts/webkitdirs.pm:
521 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
523 Reviewed by Adam Roben.
525 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
528 * Scripts/run-iexploder-tests:
529 * Scripts/run-mangleme-tests:
530 Renamed runSafari to not conflict with the one in webkitdirs.
531 Added SSLCertificateFile option for httpd, as now needed.
533 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
535 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
537 * wx/browser/browser.cpp:
540 2008-05-24 Andreia Gaita <shana@isninja.com>
542 Reviewed by Alp Toker.
544 cygwin-downloader.py fixes.
546 Remove two non-working mirrors. Add a check for missing dependency
547 packages to avoid bailing out on an inconsistent Cygwin package list.
549 * CygwinDownloader/cygwin-downloader.py:
551 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
553 Reviewed by Darin Adler.
555 Remove useQmake usage. QMake build doesn't support Gtk port
558 Also fix 2 occurences of "Web Kit". Should be WebKit.
560 * Scripts/build-webkit:
561 * Scripts/run-javascriptcore-tests:
562 * Scripts/run-launcher:
563 * Scripts/run-webkit-tests:
564 * Scripts/webkitdirs.pm:
566 2008-05-22 Stephanie Lewis <slewis@apple.com>
570 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
572 * DumpRenderTree/mac/UIDelegate.mm:
573 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
574 * DumpRenderTree/win/UIDelegate.cpp:
575 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
577 2008-05-21 Adele Peterson <adele@apple.com>
581 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
583 * DumpRenderTree/win/UIDelegate.cpp:
584 (UIDelegate::webViewFocus): Added.
585 (UIDelegate::webViewUnfocus): Added.
586 * DumpRenderTree/win/UIDelegate.h:
588 2008-05-21 Mark Rowe <mrowe@apple.com>
590 Rubber-stamped by Stephanie Lewis.
592 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
593 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
596 * Scripts/run-safari:
598 2008-05-21 Stephanie Lewis <slewis@apple.com>
600 Reviewed by Maciej, Mark.
602 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
604 * Scripts/run-webkit-tests:
605 * Scripts/webkitdirs.pm:
607 2008-05-20 Mark Rowe <mrowe@apple.com>
609 Reviewed by Stephanie Lewis.
611 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
613 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
614 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
615 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
616 pass an argument to run-webkit-tests after having built with "make x86_64".
618 * Scripts/gdb-safari:
619 * Scripts/run-safari:
620 * Scripts/run-webkit-tests:
621 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
622 preferred architecture, and exporting of the environment variables for 'arch' out into
623 separate subroutines.
625 2008-05-20 Mark Rowe <mrowe@apple.com>
627 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
631 === End merge of squirrelfish ===
633 2008-04-14 Maciej Stachowiak <mjs@apple.com>
637 - added support for --ubench mode
639 * Scripts/run-sunspider:
641 2008-03-26 Geoffrey Garen <ggaren@apple.com>
643 Reviewed by Oliver Hunt.
645 --squirrelfish mode: pared down tests for squirrelfish to chew on.
647 * Scripts/run-sunspider:
649 === Start merge of squirrelfish ===
651 2008-05-21 Darin Adler <darin@apple.com>
653 * Scripts/make-js-test-wrappers: Added another exception.
655 2008-05-19 Stephanie Lewis <slewis@apple.com>
659 Explicitly set run mode to 32bit unless overridden to avoid
660 confusion when running tests
662 * Scripts/build-dumprendertree:
663 * Scripts/gdb-safari:
664 * Scripts/run-webkit-tests:
665 * Scripts/webkitdirs.pm:
667 2008-05-16 Stephanie Lewis <slewis@apple.com>
671 Print out pending unload event count. Also print out main frame name to match Mac.
673 * DumpRenderTree/win/FrameLoadDelegate.cpp:
674 (descriptionSuitableForTestResult):
675 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
677 2008-05-16 Timothy Hatcher <timothy@apple.com>
679 Remove the Drosera project, code and resources since it has been
680 replaced with the Web Inspector's debugger. Removes references to
681 Drosera in various scripts and makefiles.
683 Rubber-stamped by Mark Rowe.
685 * BuildSlaveSupport/build-launcher-app:
686 * Drosera/DebuggerDocument.cpp: Removed.
687 * Drosera/DebuggerDocument.h: Removed.
688 * Drosera/Drosera.icns: Removed.
689 * Drosera/DroseraWin.make: Removed.
690 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
691 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
692 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
693 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
694 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
695 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
696 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
697 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
698 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
699 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
700 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
701 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
702 * Drosera/Images/Drosera.ico: Removed.
703 * Drosera/Images/SourceArrow.png: Removed.
704 * Drosera/Images/SourceArrowBlank.png: Removed.
705 * Drosera/Images/SourceArrowOpen.png: Removed.
706 * Drosera/Images/background_stripe.png: Removed.
707 * Drosera/Images/breakPoint.tif: Removed.
708 * Drosera/Images/breakPointDisabled.tif: Removed.
709 * Drosera/Images/breakpointeditor.png: Removed.
710 * Drosera/Images/close.tif: Removed.
711 * Drosera/Images/close_active.tif: Removed.
712 * Drosera/Images/close_hover.tif: Removed.
713 * Drosera/Images/console.png: Removed.
714 * Drosera/Images/continue.tif: Removed.
715 * Drosera/Images/fileIcon.jpg: Removed.
716 * Drosera/Images/finishFunction.tif: Removed.
717 * Drosera/Images/glossyFooterFill.tif: Removed.
718 * Drosera/Images/glossyHeader.png: Removed.
719 * Drosera/Images/glossyHeaderPressed.png: Removed.
720 * Drosera/Images/gradientBackground.png: Removed.
721 * Drosera/Images/gutter.png: Removed.
722 * Drosera/Images/navLeftDisabled.png: Removed.
723 * Drosera/Images/navLeftNormal.png: Removed.
724 * Drosera/Images/navLeftPressed.png: Removed.
725 * Drosera/Images/navRightDisabled.png: Removed.
726 * Drosera/Images/navRightNormal.png: Removed.
727 * Drosera/Images/navRightPressed.png: Removed.
728 * Drosera/Images/pause.tif: Removed.
729 * Drosera/Images/popUpArrows.png: Removed.
730 * Drosera/Images/programCounter.tif: Removed.
731 * Drosera/Images/programCounterBreakPoint.tif: Removed.
732 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
733 * Drosera/Images/run.tif: Removed.
734 * Drosera/Images/siteCollapsed.tif: Removed.
735 * Drosera/Images/siteExpanded.tif: Removed.
736 * Drosera/Images/siteIcon.tif: Removed.
737 * Drosera/Images/small.ico: Removed.
738 * Drosera/Images/splitterBar.tif: Removed.
739 * Drosera/Images/splitterDimple.tif: Removed.
740 * Drosera/Images/step.tif: Removed.
741 * Drosera/Images/stepOut.tif: Removed.
742 * Drosera/Images/stepOver.tif: Removed.
743 * Drosera/Images/stop.tif: Removed.
744 * Drosera/Images/toolbarBackground.png: Removed.
745 * Drosera/Images/verticalSplitterBar.tiff: Removed.
746 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
747 * Drosera/Makefile: Removed.
748 * Drosera/breakpointEditor.html: Removed.
749 * Drosera/config.h: Removed.
750 * Drosera/console.css: Removed.
751 * Drosera/console.html: Removed.
752 * Drosera/console.js: Removed.
753 * Drosera/debugger.css: Removed.
754 * Drosera/debugger.html: Removed.
755 * Drosera/debugger.js: Removed.
756 * Drosera/mac/DebuggerApplication.h: Removed.
757 * Drosera/mac/DebuggerApplication.mm: Removed.
758 * Drosera/mac/DebuggerClient.h: Removed.
759 * Drosera/mac/DebuggerClient.mm: Removed.
760 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
761 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
762 * Drosera/mac/Info.plist: Removed.
763 * Drosera/mac/LauncherInfo.plist: Removed.
764 * Drosera/mac/Makefile: Removed.
765 * Drosera/mac/ServerConnection.h: Removed.
766 * Drosera/mac/ServerConnection.mm: Removed.
767 * Drosera/mac/launcher.m: Removed.
768 * Drosera/mac/main.m: Removed.
769 * Drosera/viewer.css: Removed.
770 * Drosera/viewer.html: Removed.
771 * Drosera/win/BaseDelegate.h: Removed.
772 * Drosera/win/DebuggerClient.cpp: Removed.
773 * Drosera/win/DebuggerClient.h: Removed.
774 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
775 * Drosera/win/Drosera.cpp: Removed.
776 * Drosera/win/Drosera.h: Removed.
777 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
778 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
779 * Drosera/win/DroseraPrefix.cpp: Removed.
780 * Drosera/win/DroseraPrefix.h: Removed.
781 * Drosera/win/Info.plist: Removed.
782 * Drosera/win/ServerConnection.cpp: Removed.
783 * Drosera/win/ServerConnection.h: Removed.
784 * Drosera/win/resource.h: Removed.
786 * Scripts/build-drosera: Removed.
787 * Scripts/gdb-drosera: Removed.
788 * Scripts/run-drosera: Removed.
789 * Scripts/run-drosera-nightly.cmd: Removed.
790 * Scripts/run-drosera.cmd: Removed.
791 * Scripts/webkitdirs.pm:
793 2008-05-15 Stephanie Lewis <slewis@apple.com>
797 Dump the unload count for a frame after parsing is finished.
799 * DumpRenderTree/mac/FrameLoadDelegate.mm:
800 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
802 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
804 Reviewed by Dan Bernstein.
806 https://bugs.webkit.org/show_bug.cgi?id=10707
807 DumpRenderTree should not be able to access non-local resources
809 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
810 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
811 Block them, and complain.
813 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
815 wx build fix. Update the version of libpng to download and instsall.
817 * wx/install-unix-extras:
819 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
823 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
824 We now force the return value to be numeric.
826 - Removed platform checks as it was a work around the previous issue.
828 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
830 * Scripts/build-webkit:
831 * Scripts/webkitdirs.pm:
833 2008-05-12 Adam Roben <aroben@apple.com>
835 Support for testing NPN_PostURL
837 Reviewed by Anders Carlsson.
839 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
840 (toCString): Added this helper function.
841 (testPostURLFile): Added. Writes the passed-in content to the
842 passed-in file and calls NPN_PostURL with the passed-in URL and
844 (pluginInvoke): Added a case for testPostURLFile.
845 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
846 (followShortcuts): Changed to allow paths that don't yet exist.
848 2008-05-12 Mark Rowe <mrowe@apple.com>
850 Reviewed by Sam Weinig.
852 Minor cleanup of the DRT Xcode project.
854 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
855 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
856 not need to be there.
858 2008-05-12 Anders Carlsson <andersca@apple.com>
862 Add support for testing application caches.
864 * DumpRenderTree/mac/DumpRenderTree.mm:
868 (resetWebViewToConsistentStateBeforeTesting):
869 Turn on support for the application cache.
871 2008-05-09 Mark Rowe <mrowe@apple.com>
873 Reviewed by Anders Carlsson.
875 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
877 It currently does not attempt to print events which means that plugins/mouse-events.html
878 will fail when run 64-bit. All other tests that use this plugin pass.
880 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
881 (testGetIntIdentifier):
882 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
886 2008-05-09 Brady Eidson <beidson@apple.com>
888 Reviewed by Adam Roben
890 Explicitly call shutDownWebKit() before quitting.
892 * Drosera/win/Drosera.cpp:
895 * DumpRenderTree/win/DumpRenderTree.cpp:
898 2008-05-09 Mark Rowe <mrowe@apple.com>
900 Fix the Tiger build of Drosera.
902 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
904 2008-05-09 Sam Weinig <sam@webkit.org>
906 Rubber-stamped by Mark Rowe.
908 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
910 * Scripts/build-webkit:
912 2008-05-08 Mark Rowe <mrowe@apple.com>
914 Another attempt at a Tiger build fix.
916 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
918 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
920 2008-05-08 Mark Rowe <mrowe@apple.com>
922 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
924 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
926 2008-05-08 Mark Rowe <mrowe@apple.com>
928 Reviewed by Oliver Hunt and Dan Bernstein.
930 Update DumpRenderTree to build 64-bit.
932 The three major changes here are:
933 1) Use NSInteger in the appropriate places.
934 2) Use ColorSync API that is available in 64-bit to switch display profiles.
935 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
937 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
938 needs updated to successfully build.
940 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
941 * DumpRenderTree/mac/DumpRenderTree.mm:
944 (prepareConsistentTestingEnvironment):
945 * DumpRenderTree/mac/DumpRenderTreeMac.h:
946 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
947 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
948 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
949 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
951 (failedGettingCurrentProfile):
952 (setDefaultColorProfileToRGB):
954 2008-05-08 Mark Rowe <mrowe@apple.com>
956 Reviewed by Darin Adler.
958 Clean up Drosera so that it will build 64-bit.
960 * Drosera/mac/DebuggerApplication.mm:
961 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
962 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
963 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
965 2008-05-07 David Kilzer <ddkilzer@apple.com>
967 Use File::Find and Getopt::Long in make-js-test-wrappers
971 * Scripts/make-js-test-wrappers:
972 - Updated Apple copyright statement.
973 - Added command-line switch parsing and -h|--help switch.
974 - Allowed user to pass list of files/directories on which to do
975 a restricted search for TEMPLATE.html files. The default
976 behavior is still to search the entire LayoutTests directory.
977 - Removed duplicate 'use strict' statement.
978 - Replaced use of `find` statements with File::Find::find().
979 - Remove unneeded chomp() calls now that we use File::Find.
980 (directoryFilter): Added. Filters .svn directories when used
981 with File::Find::find().
982 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
985 2008-05-05 Steve Falkenburg <sfalken@apple.com>
987 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
989 * DumpRenderTree/win/DumpRenderTree.vcproj:
990 * DumpRenderTree/win/ImageDiff.vcproj:
992 2008-05-05 Adele Peterson <adele@apple.com>
996 Look for the right ImageDiff executable for debug builds.
998 * Scripts/run-webkit-tests:
1000 2008-05-05 Darin Adler <darin@apple.com>
1002 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
1005 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
1009 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
1010 tests expect to be 480x360)
1012 * DumpRenderTree/qt/DumpRenderTree.cpp:
1013 (WebCore::DumpRenderTree::open):
1015 2008-05-02 Dan Bernstein <mitz@apple.com>
1017 Reviewed by Adam Roben.
1019 - add an option to svn-apply to set the reviewer name in change logs
1021 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
1023 2008-05-01 David Kilzer <ddkilzer@apple.com>
1025 Clean up configuration usage in run-webkit-tests
1029 * Scripts/run-webkit-tests: Parse configuration switches using
1030 passedConfiguration() from webkitdirs.pm like every other script.
1031 Note that we must still call setConfiguration() afterwards in
1032 case the --configuration switch was used. Use $configurationOption
1033 when running build-dumprendertree instead of recreating the switch.
1035 2008-04-29 Adam Roben <aroben@apple.com>
1037 Restore the beloved COMPtr::operator&
1039 2008-04-29 Adam Roben <aroben@apple.com>
1043 Replace COMPtr::operator& with COMPtr::adoptionPointer.
1045 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
1049 Fix run-webkit-tests --threading
1050 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
1051 Proxy server issue in Sunday's Nightly
1053 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1054 (runJavaScriptThread):
1055 (startJavaScriptThreads):
1056 (stopJavaScriptThreads):
1057 Spawned threads were immediately detached, unlike the original ones, so joining them
1058 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
1059 waits for them all to exit.
1061 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
1065 Reset dumping resource load callbacks to false for the next test
1068 * DumpRenderTree/qt/jsobjects.cpp:
1069 (LayoutTestController::reset):
1071 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
1075 Adapt to the latest API changes in WebKit/qt/Api.
1077 * DumpRenderTree/qt/DumpRenderTree.cpp:
1078 (WebCore::DumpRenderTree::DumpRenderTree):
1079 * DumpRenderTree/qt/jsobjects.cpp:
1081 2008-04-26 Robin Dunn <robin@alldunn.com>
1083 Reviewed by Kevin Ollivier.
1085 Delete the DerivedSources after make clean has been done so that the DerivedSources
1086 don't get re-created. Also, use the proper extension for the Win wxPython extension.
1088 https://bugs.webkit.org/show_bug.cgi?id=18756
1090 * wx/build-wxwebkit:
1092 2008-04-26 Adam Barth <hk9565@gmail.com>
1094 Reviewed by Adam Roben and Sam Weinig.
1096 Updates LayoutTestController to use host instead of domain.
1098 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
1100 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1101 (LayoutTestController::setDatabaseQuota):
1102 * DumpRenderTree/mac/UIDelegate.mm:
1103 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
1105 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
1107 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
1109 * wx/install-unix-extras:
1111 2008-04-26 Robin Dunn <robin@alldunn.com>
1113 Reviewed by Kevin Ollivier.
1115 Allow the user to set the path to SWIG using an environment variable.
1117 https://bugs.webkit.org/show_bug.cgi?id=18660
1119 * wx/build-wxwebkit:
1121 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
1123 wx build fix. Download the latest libpng version for building the
1126 * wx/install-unix-extras:
1128 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
1132 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
1134 Similar to Editing and Frameloading we do the dumping within WebCore
1137 * DumpRenderTree/qt/jsobjects.cpp:
1138 (LayoutTestController::dumpResourceLoadCallbacks):
1139 * DumpRenderTree/qt/jsobjects.h:
1141 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1143 Reviewed by Maciej Stachowiak.
1145 http://bugs.webkit.org/show_bug.cgi?id=18485
1146 Typo and documentation fix for build-webkit
1148 * Scripts/build-webkit:
1150 2008-04-24 Anders Carlsson <andersca@apple.com>
1154 Don't call fprintf from the signal handler.
1156 * DumpRenderTree/mac/DumpRenderTree.mm:
1159 2008-04-23 Adam Roben <aroben@apple.com>
1161 Make crashes be reported as crashes, not hangs
1163 Reviewed by David Kilzer.
1165 * Scripts/run-webkit-tests:
1166 (top level): Use the new status field of the output from
1167 readFromDumpToolWithTimer to determine if the test crashed or hung.
1168 (sub readFromDumpToolWithTimer):
1169 - If we fail to read a line and $! is not EAGAIN, then we've crashed
1170 and should not try to read any more.
1171 - Changed the timedout field to a more general status field.
1173 2008-04-22 David Kilzer <ddkilzer@apple.com>
1175 Bug 18683: update-webkit returns 0 even if it fails
1177 <https://bugs.webkit.org/show_bug.cgi?id=18683>
1179 Reviewed by Mitz Pettel.
1181 * Scripts/update-webkit:
1182 (runSvnUpdate): Die if close() fails.
1184 2008-04-21 Adam Roben <aroben@apple.com>
1186 Flush stdout/stderr after printing every #EOF separator
1188 This fixes a hang when running the pixel tests on Windows
1190 Reviewed by Mitz Pettel.
1192 * DumpRenderTree/win/DumpRenderTree.cpp:
1194 (main): We don't have to flush stdout/stderr in the arguments loop
1195 anymore, as runTest flushes for us.
1197 2008-04-21 Adam Roben <aroben@apple.com>
1201 * Scripts/run-webkit-tests:
1202 (sub readFromDumpToolWithTimer): Use readline instead of read to
1203 ensure that we don't read past the #EOF marker.
1205 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1209 Build fix for Qt 4.3
1211 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
1212 always defined. Do this by adding defines to the compiler line
1214 * DumpRenderTree/qt/DumpRenderTree.pro:
1216 2008-04-19 Mike Hommey <glandium@debian.org>
1218 Reviewed by Alp Toker.
1220 Don't build GtkLauncher and DumpRenderTree with rpath.
1224 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1226 Reviewed by Alp Toker.
1228 http://bugs.webkit.org/show_bug.cgi?id=16620
1229 [GTK] Autotools make dist and make check support
1235 2008-04-18 Adam Roben <aroben@apple.com>
1237 Drop the hang timer to 30 seconds
1239 This matches what DRT/mac was using.
1241 Reviewed by Mitz Pettel.
1243 * Scripts/run-webkit-tests:
1245 2008-04-18 Adam Roben <aroben@apple.com>
1247 Get rid of DRT's Watchdog
1249 run-webkit-tests now detects hangs and samples DRT as needed.
1251 Reviewed by Mitz Pettel.
1253 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
1254 Watchdog* files from the project.
1255 * DumpRenderTree/Watchdog.cpp: Removed.
1256 * DumpRenderTree/Watchdog.h: Removed.
1257 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
1260 * DumpRenderTree/mac/WatchdogMac.h: Removed.
1261 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
1262 * Scripts/run-webkit-tests:
1263 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
1264 (sub sampleDumpTool): Added. Writes a sample report to
1265 ~/Library/Logs/DumpRenderTree/HangReport.txt.
1267 2008-04-18 Simon Hausmann <hausmann@webkit.org>
1271 Adapt to the API changes in WebKit/qt
1273 * DumpRenderTree/qt/DumpRenderTree.cpp:
1274 (WebCore::WebPage::WebPage):
1275 (WebCore::DumpRenderTree::DumpRenderTree):
1276 (WebCore::DumpRenderTree::initJSObjects):
1277 (WebCore::DumpRenderTree::dumpFramesAsText):
1278 (WebCore::DumpRenderTree::dump):
1280 2008-04-17 Adam Roben <aroben@apple.com>
1282 Fix many tests on Windows
1284 * Scripts/run-webkit-tests:
1285 (readFromDumpToolWithTimer):
1286 - Use read instead of sysread to ensure that we don't interfere with
1287 other uses of buffered IO in this script.
1288 (setFileHandleNonBlocking): Actually set the filehandle to blocking
1291 2008-04-17 Adam Roben <aroben@apple.com>
1295 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
1296 whatever newline happens to be at the end of what we've read.
1298 2008-04-17 Adam Roben <aroben@apple.com>
1300 Remove DRT/win's hang timer
1302 run-webkit-tests takes care of this for us now
1304 Reviewed by Anders Carlsson.
1306 * DumpRenderTree/win/DumpRenderTree.cpp:
1308 2008-04-17 Adam Roben <aroben@apple.com>
1310 Don't wait for the hang timer twice in the case of a hang
1312 Previously we'd wait for a hang while reading both stdout and stderr
1313 from DRT. Now we'll only wait for one or the other.
1315 Reviewed by Anders Carlsson.
1317 * Scripts/run-webkit-tests:
1318 (top level): Don't wait for stderr to time out if stdout already timed
1320 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
1321 after the first read that returns no data.
1323 2008-04-17 Adam Roben <aroben@apple.com>
1325 Don't throw away the output from timed out tests
1327 Reviewed by Anders Carlsson.
1329 * Scripts/run-webkit-tests:
1330 (top level): Updated for changes to readFromDumpToolWithTimer.
1331 (readFromDumpToolWithTimer): Return a hash that contains both the
1332 output and whether or not the test timed out.
1334 2008-04-17 Adam Roben <aroben@apple.com>
1336 Make the hang timer 60 seconds
1338 * Scripts/run-webkit-tests:
1340 2008-04-17 Adam Roben <aroben@apple.com>
1342 Get rid of carriage returns in DRT/win's stderr
1344 Reviewed by Eric Seidel.
1346 * DumpRenderTree/win/DumpRenderTree.cpp:
1347 (main): Mark stderr as binary like we already do for stdout.
1349 2008-04-17 Adam Roben <aroben@apple.com>
1351 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
1354 <https://bugs.webkit.org/show_bug.cgi?id=17678>
1356 We now abort tests that take longer than 60 seconds to produce output.
1357 This matches the watchdog timer in DRT/mac and DRT/win (which we can
1360 Reviewed by Eric Seidel.
1362 * Scripts/run-webkit-tests:
1363 (top level): Read DRT's output using the new readFromDumpToolWithTimer
1364 subroutine. If readFromDumpToolWithTimer returns undefined it means
1365 the test timed out, so we register the test as a hang and move on.
1366 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
1367 both crashed and timed out tests. If the test timed out, we kill DRT
1369 (sub linksForTimedOutTest): Added. We don't have any output to link to for
1370 tests that timed out.
1371 (sub recordActualResultsAndDiff): Don't call length on undefined.
1372 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
1373 from a filehandle until an #EOF is reached or
1374 $maximumSecondsWithoutOutput have elapsed.
1375 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
1378 2008-04-17 Adam Roben <aroben@apple.com>
1380 Refactor test results page generation
1382 Reviewed by Eric Seidel.
1384 * Scripts/run-webkit-tests:
1385 (sub htmlForResultsSection): Added. Takes a set of tests, a
1386 description, and a subroutine to generate the links for each test, and
1387 creates a HTML string containing a table of the tests and their
1389 (sub linksForExpectedAndActualResults): Added. Replaces the
1390 htmlForExpectedAndActualResults subroutine.
1391 (sub linksForMismatchTest): Added.
1392 (sub linksForCrashOrErrorTest): Added.
1393 (sub linksForNewTest): Added.
1395 2008-04-17 Adam Roben <aroben@apple.com>
1397 Print the extension for all tests in the test results page
1399 Reviewed by Eric Seidel.
1401 * Scripts/run-webkit-tests:
1403 2008-04-17 Adam Roben <aroben@apple.com>
1405 Move code that counts finished tests into a subroutine
1407 Reviewed by Eric Seidel.
1409 * Scripts/run-webkit-tests:
1410 (sub countFinishedTest): Added.
1412 2008-04-17 Adam Roben <aroben@apple.com>
1414 Move code that handles a crash into a subroutine
1416 Reviewed by Eric Seidel.
1418 * Scripts/run-webkit-tests:
1419 (sub testCrashed): Added.
1421 2008-04-17 Eric Seidel <eric@webkit.org>
1425 Rename RenderView to RenderViewport in the next rename patch.
1427 * Scripts/do-webcore-rename:
1429 2008-04-17 Mario Bensi <mbensi@pleyo.com>
1431 Reviewed by Alp Toker.
1433 http://bugs.webkit.org/show_bug.cgi?id=18543
1434 DumpRenderTree gtk freeze
1436 fix DumpRenderTree gtk freeze
1438 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1441 2008-04-15 Anders Carlsson <andersca@apple.com>
1445 * Scripts/build-webkit:
1447 2008-04-15 Anders Carlsson <andersca@apple.com>
1451 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
1453 * Scripts/build-webkit:
1455 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
1459 Fix compilation with Qt namespaces
1461 Qt can be configured to have all of its classes inside a specified namespaces.
1462 This is for example used in plugin/component environments like Eclipse.
1464 This change makes it possible to let the Qt port compile against a namespaced
1465 Qt by the use of macros Qt provides to properly forward declare Qt classes in
1468 * DumpRenderTree/qt/DumpRenderTree.h:
1470 2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
1472 Reviewed by Darin Adler.
1474 Add a script that propagates any file changes made to the Bakefiles
1475 over to GTK and Qt build systems. Still needs to be wired into
1478 * Scripts/update-sources-list.py: Added.
1480 2008-04-08 Mark Rowe <mrowe@apple.com>
1482 Clean up after Brady.
1484 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
1486 2008-04-08 Brady Eidson <beidson@apple.com>
1488 Reviewed by Mitzpettel
1490 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
1491 -WebArchive subresources dump in random order, intermittent failures
1493 * DumpRenderTree/mac/DumpRenderTree.mm:
1494 (compareResourceURLs): Sorting function based on the resource URLs
1495 (serializeWebArchiveToXML): Sort the subresource array
1497 2008-04-07 Brady Eidson <beidson@apple.com>
1499 OMG, BUILD - please!
1501 * Scripts/build-webkit:
1503 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1507 * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
1508 * Running these tests on windows and other platforms might need some work.
1510 * Scripts/run-webkit-tests:
1512 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1516 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
1517 is not exporting enough to create the output in DRT itself. Settle with the approach
1518 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
1519 * run-webkit-tests http/tests(/loading) can now be executed.
1520 * For tests in loading/ directories we are going to throw away the dirty
1521 QWebPage to start with something clean.
1524 * DumpRenderTree/qt/DumpRenderTree.cpp:
1526 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1530 * Treat http and https as special URLs as well. Change the main.cpp and
1531 DumpRenderTree.cpp to handle http and https URIs as input.
1532 * I'm not doing the clean up and merging of these two checks now.
1535 * DumpRenderTree/qt/DumpRenderTree.cpp:
1536 (WebCore::DumpRenderTree::readStdin):
1537 * DumpRenderTree/qt/main.cpp:
1540 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1544 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
1545 located in a directory with the name "loading". And this will autoamtically
1547 * Remove this method from the LayoutTestController as it is unused now and this
1548 avoids adding it to the DRT of the Qt port.
1551 * DumpRenderTree/LayoutTestController.cpp:
1552 (setPrivateBrowsingEnabledCallback):
1554 2008-04-01 Christian Dywan <christian@imendio.com>
1556 Build fix for GCC 4.3.
1558 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
1560 2008-04-01 Simon Hausmann <hausmann@webkit.org>
1564 Fix Qt DRT run by also printing EOF on stderr, as expected by
1567 * DumpRenderTree/qt/DumpRenderTree.cpp:
1568 (WebCore::DumpRenderTree::dump):
1570 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
1574 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
1576 Remove trailing '/' in $sourceDir in determineSourceDir().
1578 Fix suggested by Dmitriy Kazachkov.
1580 * Scripts/webkitdirs.pm:
1582 2008-03-29 Adam Roben <aroben@apple.com>
1584 Update for rename of an IWebViewPrivate method
1586 Reviewed by Mitz Pettel.
1588 * DumpRenderTree/win/DumpRenderTree.cpp:
1589 (createWebViewAndOffscreenWindow):
1591 2008-03-26 Antti Koivisto <antti@apple.com>
1595 Enable SVG animation support by default.
1597 * Scripts/build-webkit:
1599 2008-03-25 Adam Roben <aroben@apple.com>
1603 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1604 Add $(WebKitLibrariesDir)\include to the include path so we can find
1607 2008-03-24 Eric Seidel <eric@webkit.org>
1611 Clean up SVG features message to be less confusing.
1613 * Scripts/build-webkit:
1615 2008-03-24 Sam Weinig <sam@webkit.org>
1617 Reviewed by Dave Hyatt.
1619 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
1621 * DumpRenderTree/mac/DumpRenderTree.mm:
1622 (resetWebViewToConsistentStateBeforeTesting):
1623 * DumpRenderTree/mac/EventSendingController.mm:
1624 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1625 (-[EventSendingController zoomPageIn]):
1626 (-[EventSendingController zoomPageOut]):
1627 * DumpRenderTree/win/DumpRenderTree.cpp:
1628 (resetWebViewToConsistentStateBeforeTesting):
1629 * DumpRenderTree/win/EventSender.cpp:
1630 (textZoomInCallback):
1631 (textZoomOutCallback):
1632 (zoomPageInCallback):
1633 (zoomPageOutCallback):
1635 2008-03-24 Dan Bernstein <mitz@apple.com>
1637 Reviewed by Mark Rowe.
1639 - update bisect-builds for Safari 3.1
1641 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
1644 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
1648 http://bugs.webkit.org/show_bug.cgi?id=17981
1650 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
1654 2008-03-21 Adam Roben <aroben@apple.com>
1656 Remove a non-working mirror from cygwin-downloader and add the ruby package
1658 * CygwinDownloader/cygwin-downloader.py:
1659 * CygwinDownloader/cygwin-downloader.zip: Updated.
1661 2008-03-20 Mark Rowe <mrowe@apple.com>
1663 Reviewed by Sam Weinig.
1665 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
1666 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
1669 * Scripts/build-webkit:
1671 2008-03-17 Eric Seidel <eric@webkit.org>
1673 Reviewed by Dan Bernstein.
1675 Fix bogus argCount check breaking plugin test.
1677 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1679 2008-03-17 Eric Seidel <eric@webkit.org>
1683 Cleanup PluginObject.cpp and add support for testing
1684 converting from int -> identifier -> string
1685 and from string -> identifier -> int
1686 as well as round-tripping ints and stings through identifiers
1688 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1689 (pluginGetProperty):
1690 (pluginSetProperty):
1692 (stringVariantToIdentifier):
1693 (int32VariantToIdentifier):
1694 (doubleVariantToIdentifier):
1695 (variantToIdentifier):
1696 (testIdentifierToString):
1697 (testIdentifierToInt):
1700 (removeDefaultMethod):
1702 (testInvokeDefault):
1705 (testGetIntIdentifier):
1708 (testGetPropertyReturnValue):
1710 (pluginInvokeDefault):
1716 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
1718 Rubber stamped by Darin.
1720 Add set-webkit-configuration support for wx port, and centralize
1721 build dir location setting.
1723 http://bugs.webkit.org/show_bug.cgi?id=17790
1725 * wx/browser/browser.bkl:
1726 * wx/build-wxwebkit:
1728 2008-03-15 Darin Adler <darin@apple.com>
1730 * Scripts/commit-log-editor: Include the name line of the change log entry.
1731 A long time ago I designed this script to not include the name because I
1732 thought it was redundant (same as the name of the person checking in), but
1733 nowadays it's more common for someone to check something in done by someone
1736 * Scripts/do-webcore-rename: Added some more planned renames and removed
1737 some that were already done "by hand".
1739 2008-03-13 Brent Fulgham <bfulgham@gmail.com>
1743 Correct paths to vsprops files so they use the environment
1744 variable, rather than hard-coded path.
1745 http://bugs.webkit.org/show_bug.cgi?id=17797.
1747 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
1749 2008-03-12 Steve Falkenburg <sfalken@apple.com>
1753 * WinLauncher/WinLauncher.vcproj:
1755 2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
1757 Reviewed by Alp Toker.
1759 Run testkjs in the correct productsDir in the GTK+ port.
1761 * Scripts/run-javascriptcore-tests:
1763 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
1765 Reviewed by Adam Roben.
1767 Enabled WinLauncher as part of normal Windows build.
1768 http://bugs.webkit.org/show_bug.cgi?id=17715.
1770 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
1771 it can find the proper libraries to link against.
1773 2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
1775 Reviewed and landed by Darin.
1777 http://bugs.webkit.org/show_bug.cgi?id=17581
1778 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
1780 Remove the previous warning which occurs when the --random option is used.
1782 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
1785 2008-03-07 Simon Hausmann <hausmann@webkit.org>
1791 Ported the netscape test plugin to QWebPluginFactory.
1793 * DumpRenderTree/qt/DumpRenderTree.cpp:
1794 (WebCore::WebPage::WebPage):
1795 * DumpRenderTree/qt/main.cpp:
1796 * DumpRenderTree/qt/testplugin.cpp:
1797 (TestPlugin::plugins):
1798 (TestPlugin::create):
1799 * DumpRenderTree/qt/testplugin.h:
1801 2008-03-09 Steve Falkenburg <sfalken@apple.com>
1803 Stop Windows build if an error occurs in a prior project.
1805 Rubber stamped by Darin.
1807 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1808 * DumpRenderTree/win/DumpRenderTree.vcproj:
1809 * DumpRenderTree/win/ImageDiff.vcproj:
1810 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1812 2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
1814 Reviewed by Mark Rowe.
1816 DRT build fix for Tiger.
1818 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
1820 2008-03-07 Mark Rowe <mrowe@apple.com>
1822 Reviewed by Oliver Hunt.
1824 Fix WebKit build with GCC 4.2.
1826 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
1828 2008-03-07 Stephanie Lewis <slewis@apple.com>
1832 Add Windows part of <rdar://problem/5693690>
1834 * DumpRenderTree/win/DumpRenderTree.cpp:
1838 2008-03-07 Alp Toker <alp@atoker.com>
1840 Back out the r30818, r30819 build fix attempts now the GTK+ build
1841 server has been upgraded.
1843 * Scripts/webkitdirs.pm:
1845 2008-03-07 Stephanie Lewis <slewis@apple.com>
1849 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
1851 * DumpRenderTree/mac/DumpRenderTree.mm:
1852 (dump): push EOF to stderr after every test
1853 * Scripts/run-webkit-tests: collect stderr output and print it
1855 2008-03-07 Steve Falkenburg <sfalken@apple.com>
1857 Get pdevenv working with Visual Studio Express.
1863 2008-03-06 Adele Peterson <adele@apple.com>
1867 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
1869 * DumpRenderTree/mac/UIDelegate.mm:
1870 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
1871 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
1872 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
1874 2008-03-06 Matt Lilek <webkit@mattlilek.com>
1876 Reviewed by Adam Roben.
1878 Bug 17691: REGRESSION: FindSafari doesn't work
1879 http://bugs.webkit.org/show_bug.cgi?id=17691
1881 Swap my change from r30394 to use the Release libraries instead of Debug
1882 since some machines don't have the Debug version.
1884 * FindSafari/FindSafari.vcproj:
1886 2008-03-06 Kevin McCullough <kmccullough@apple.com>
1888 Reviewed by Sam and Tim.
1890 <rdar://5631450> Drosera: breakpoint indicators disappear after the
1891 script is finished running.
1892 - If there is a pre-existing breakpoint on a line when the file is
1893 updated we need to redraw it.
1895 * Drosera/debugger.js:
1897 2008-03-06 Brady Eidson <beidson@apple.com>
1901 * DumpRenderTree/mac/WatchdogMac.mm:
1903 2008-03-06 Brady Eidson <beidson@apple.com>
1907 Added a cross-platform Watchdog thread to DRT.
1909 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
1910 main thread hangs still affect DRT.
1912 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
1913 and true deadlocks can be caught.
1915 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
1916 `sample` available, the Mac implementation of this hook samples the process before it is killed.
1918 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
1920 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1921 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
1923 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
1924 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
1926 * DumpRenderTree/Watchdog.cpp: Added.
1927 (Watchdog::Watchdog):
1928 (Watchdog::~Watchdog):
1931 (Watchdog::checkIn):
1932 (Watchdog::setWatchdogInterval):
1933 (Watchdog::handleHang):
1934 (Watchdog::watchdogThreadStart):
1935 (Watchdog::watchdogThread):
1936 * DumpRenderTree/Watchdog.h: Added.
1938 * DumpRenderTree/mac/WatchdogMac.h: Added.
1939 * DumpRenderTree/mac/WatchdogMac.mm: Added.
1940 (WatchdogMac::handleHang): Sample the process and write it out to a file
1942 * DumpRenderTree/mac/DumpRenderTree.mm:
1943 (dumpRenderTree): Setup and start the watchdog before running any tests
1944 (runTest): Checkin with the watchdog after each test
1946 2008-03-05 Alp Toker <alp@atoker.com>
1948 Attempt to get the autotools build working again on the bot with
1951 Force the use of /bin/bash since we seem to have bash-isms in the
1952 configure script right now.
1954 * Scripts/webkitdirs.pm:
1956 2008-03-05 Alp Toker <alp@atoker.com>
1958 Re-attempt to switch to the autotools build system for GTK+.
1960 Change scripts to continue when distclean fails.
1962 * Scripts/webkitdirs.pm:
1964 2008-03-05 Alp Toker <alp@atoker.com>
1966 Force qmake for the GTK+ build until we get the build bot to succeed
1967 with autotools (currently dies at make distclean)
1969 * Scripts/webkitdirs.pm:
1971 2008-03-04 Alp Toker <alp@atoker.com>
1973 Reviewed by Mark Rowe.
1975 Switch the default GTK+ build system from qmake to autotools.
1977 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
1979 * Scripts/build-webkit:
1980 * Scripts/run-launcher:
1981 * Scripts/run-webkit-tests:
1982 * Scripts/webkitdirs.pm:
1984 2008-03-04 Sam Weinig <sam@webkit.org>
1986 Reviewed by Darin Adler.
1988 * Scripts/do-webcore-rename: Update renaming plan.
1990 2008-03-02 Brent Fulgham <bfulgham@gmail.com>
1992 Reviewed by Alp Toker.
1994 Remove some needless LIBS.
1998 2008-03-02 Alp Toker <alp@atoker.com>
2000 Reviewed by Mark Rowe.
2002 Split the WebKit GTK+ build out of the WebCore build and change the
2003 shared object name to match the package name.
2007 2008-03-01 Mark Rowe <mrowe@apple.com>
2009 Reviewed by Tim Hatcher.
2011 Update Xcode configuration to support building debug and release from the mysterious future.
2013 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2015 2008-02-29 David Kilzer <ddkilzer@apple.com>
2017 Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
2021 Originally broken in r26838.
2023 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
2024 not local, unused @args variable.
2026 2008-02-29 David Kilzer <ddkilzer@apple.com>
2028 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
2030 <http://bugs.webkit.org/show_bug.cgi?id=15754>
2032 Reviewed by Geoff and Darin.
2034 We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
2035 then removing that path from all file:/// URLs in the WebArchive output so these tests
2036 would pass no matter where they were run.
2038 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
2039 current working directory, but the WebArchive does not. This left the current working
2040 directory in all file:/// URLs in the test output, and thus all tests failed, for any
2041 developer that used symlinks to get to their WebKit source directory.
2043 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
2044 remove the current working directory path (no matter what it is) after "file://" but
2045 before "/LayoutTests/".
2047 * DumpRenderTree/mac/DumpRenderTree.mm:
2048 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
2049 current working directory as described above.
2050 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
2051 calls to normalizeWebResourceURL().
2052 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
2053 normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
2055 2008-02-26 Robin Dunn <robin@alldunn.com>
2057 Reviewed by Kevin Ollivier.
2059 Improvements to the wx build script.
2061 http://bugs.webkit.org/show_bug.cgi?id=17492
2063 * wx/build-wxwebkit:
2064 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
2065 - Allow the build script to properly find wxPython includes under different setups
2066 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
2068 2008-02-26 Timothy Hatcher <timothy@apple.com>
2070 Reviewed by Darin Adler.
2072 * Scripts/build-webkit: Add --universal and --64-bit flags to make building
2073 64-bit architectures easy. Combine the two flags to build 4-way universal.
2074 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
2075 non-zero when the build failes.
2077 2008-02-26 Jessica Kahn <jess@apple.com>
2081 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
2082 so that Safari inherits it when launched. Preexisting code in WebKit checks this
2083 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
2084 launched by Safari continue to use the standard system WebKit.
2086 2008-02-25 Adam Roben <aroben@apple.com>
2088 Fix run-webkit-tests after r30394
2090 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
2093 2008-02-24 Darin Adler <darin@apple.com>
2095 * Scripts/do-webcore-rename: Make some updates based on a trial run of
2096 the renaming script.
2098 2008-02-24 Darin Adler <darin@apple.com>
2100 * Scripts/do-webcore-rename: More renaming plans.
2102 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2104 Rubber stamped by Darin.
2106 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
2107 whitespaces introduced in the previous commit.
2111 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2113 Rubber-stamped by Darin.
2115 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
2117 2008-02-23 David Kilzer <ddkilzer@apple.com>
2119 Please clarify licensing for some files
2120 <http://bugs.webkit.org/show_bug.cgi?id=14970>
2124 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
2125 copyright statement. Replaced license with newer Apple BSD-style license.
2126 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
2127 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
2128 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
2129 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
2130 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
2131 * mangleme/LICENSE: Added (LGPL).
2133 2008-02-22 Anders Carlsson <andersca@apple.com>
2137 <rdar://problem/5748781>
2138 https://bugs.webkit.org/show_bug.cgi?id=17413
2139 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
2141 Copy the Java plug-in over to the new location.
2143 * FindSafari/FindSafari.cpp:
2146 2008-02-22 Anders Carlsson <andersca@apple.com>
2150 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
2152 * DumpRenderTree/win/DumpRenderTree.cpp:
2154 Init the URL request with the correct timeout.
2156 2008-02-21 Mike Auty <mike.auty@gmail.com>
2158 Reviewed by Alp Toker.
2160 http://bugs.webkit.org/show_bug.cgi?id=17445
2161 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
2163 GTK+/autotools build system improvements
2165 The GNUmakefile.am files make use of the LDFLAGS variable to include library
2166 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
2167 in LIBADD/LDADD variables, then they are mis-ordered during the linking.
2169 The as-needed flag discards libraries whose functions have not been needed by
2170 earlier libraries, which therefore makes the ordering important.
2172 This moves all -l library inclusion statements from LDFLAGS variables to
2173 LIBADD/LDADD variables.
2177 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
2181 - http://bugs.webkit.org/show_bug.cgi?id=17428
2182 Reenable a Windows-based launcher
2184 This patch reenables the venerable Spinneret application,
2185 changing its name to match the other lanch applications.
2187 * WinLauncher: Added.
2188 * WinLauncher/WinLauncher.cpp: Added.
2189 (WinLauncherWebHost::updateAddressBar):
2190 (WinLauncherWebHost::QueryInterface):
2191 (WinLauncherWebHost::AddRef):
2192 (WinLauncherWebHost::Release):
2201 * WinLauncher/WinLauncher.h: Added.
2202 (WinLauncherWebHost::WinLauncherWebHost):
2203 (WinLauncherWebHost::didStartProvisionalLoadForFrame):
2204 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
2205 (WinLauncherWebHost::didFailProvisionalLoadWithError):
2206 (WinLauncherWebHost::didCommitLoadForFrame):
2207 (WinLauncherWebHost::didReceiveTitle):
2208 (WinLauncherWebHost::didReceiveIcon):
2209 (WinLauncherWebHost::didFinishLoadForFrame):
2210 (WinLauncherWebHost::didFailLoadWithError):
2211 (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
2212 (WinLauncherWebHost::willPerformClientRedirectToURL):
2213 (WinLauncherWebHost::didCancelClientRedirectForFrame):
2214 (WinLauncherWebHost::willCloseFrame):
2215 (WinLauncherWebHost::windowScriptObjectAvailable):
2216 * WinLauncher/WinLauncher.ico: Added.
2217 * WinLauncher/WinLauncher.rc: Added.
2218 * WinLauncher/WinLauncher.vcproj: Added.
2219 * WinLauncher/resource.h: Added.
2220 * WinLauncher/small.ico: Added.
2221 * WinLauncher/stdafx.cpp: Added.
2222 * WinLauncher/stdafx.h: Added.
2224 2008-02-19 Brady Eidson <beidson@apple.com>
2228 Fixed a bug in DRT --threaded mode
2230 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2231 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
2232 to pthread_join() each thread that had been created, but you can't join a detached thread!
2234 2008-02-18 Brady Eidson <beidson@apple.com>
2236 Changes by Geoff Garen, Reviewed by Darin
2238 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
2240 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
2242 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
2243 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
2244 this series of method calls will deadlock. If things are good, it will complete successfully.
2246 * DumpRenderTree/mac/ObjCController.m:
2247 (runJavaScriptThread):
2248 (+[ObjCController isSelectorExcludedFromWebScript:]):
2249 (+[ObjCController webScriptNameForSelector:]):
2250 (-[ObjCController testValueForKey]):
2252 2008-02-18 Matt Lilek <webkit@mattlilek.com>
2256 Remove FindSafari's Release configuration.
2258 * FindSafari/FindSafari.vcproj:
2260 2008-02-15 Adam Roben <aroben@apple.com>
2262 Fix a typo that broke the Mac build
2266 * Scripts/build-webkit:
2268 2008-02-14 Adam Roben <aroben@apple.com>
2270 Turn on cross-document messaging support by default
2274 * Scripts/build-webkit:
2276 2008-02-14 Adam Roben <aroben@apple.com>
2278 Conditionalize cross-document messaging support
2280 The cross-document messaging parts of HTML 5 are in flux and we want
2281 ports to be able to turn off the support as needed.
2283 Note that the support is turned off by default right now. A subsequent
2284 commit will turn it on by default.
2288 * Scripts/build-webkit:
2290 2008-02-14 Darin Adler <darin@apple.com>
2294 * DumpRenderTree/win/UIDelegate.cpp:
2295 (UIDelegate::setStatusText): Update parameter types to match declaration.
2297 2008-02-14 Oliver Hunt <oliver@apple.com>
2299 Reviewed by Geoff G and Weinig.
2301 Add ability for DRT to report tests setting the status text.
2303 * DumpRenderTree/LayoutTestController.cpp:
2304 (LayoutTestController::LayoutTestController):
2305 (dumpStatusCallbacksCallback):
2306 (LayoutTestController::staticFunctions):
2307 * DumpRenderTree/LayoutTestController.h:
2308 * DumpRenderTree/mac/UIDelegate.mm:
2309 (-[UIDelegate webView:setStatusText:]):
2310 * DumpRenderTree/win/UIDelegate.cpp:
2311 * DumpRenderTree/win/UIDelegate.h:
2313 2008-02-13 Adam Roben <aroben@apple.com>
2317 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
2319 2008-02-13 Adam Roben <aroben@apple.com>
2321 Windows/GTK+ build fix
2323 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
2326 2008-02-13 Brady Eidson <beidson@apple.com>
2328 Reviewed by Darin Adler
2330 Add some much needed Database support to DRT
2332 * DumpRenderTree/LayoutTestController.cpp:
2333 (LayoutTestController::LayoutTestController):
2334 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
2335 databases are called
2336 (clearAllDatabasesCallback): Allow a test to delete all databases
2337 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
2338 (LayoutTestController::staticFunctions):
2340 * DumpRenderTree/LayoutTestController.h:
2341 (LayoutTestController::dumpDatabaseCallbacks):
2342 (LayoutTestController::setDumpDatabaseCallbacks):
2344 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2345 (LayoutTestController::clearAllDatabases):
2346 (LayoutTestController::setDatabaseQuota):
2348 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2349 (LayoutTestController::clearAllDatabases): Stubbed out
2350 (LayoutTestController::setDatabaseQuota): Ditto
2351 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2352 (LayoutTestController::clearAllDatabases): Stubbed out with error message
2353 (LayoutTestController::setDatabaseQuota): Ditto
2355 * DumpRenderTree/mac/UIDelegate.mm:
2356 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
2357 message with details about the event then return a 5mb quota like before
2360 2008-02-12 Steve Falkenburg <sfalken@apple.com>
2362 Changes to support merged MIDL output.
2364 All COM interfaces are now generated to WebKit.h.
2366 Reviewed by Sam, Ada.
2368 * Drosera/win/BaseDelegate.h:
2369 * Drosera/win/DebuggerClient.cpp:
2370 * Drosera/win/DebuggerDocumentPlatform.cpp:
2371 * Drosera/win/Drosera.cpp:
2372 * Drosera/win/ServerConnection.cpp:
2373 * Drosera/win/ServerConnection.h:
2374 * DumpRenderTree/win/DumpRenderTree.cpp:
2375 * DumpRenderTree/win/EditingDelegate.h:
2376 * DumpRenderTree/win/EventSender.cpp:
2377 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2378 * DumpRenderTree/win/FrameLoadDelegate.h:
2379 * DumpRenderTree/win/GCControllerWin.cpp:
2380 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2381 * DumpRenderTree/win/PolicyDelegate.h:
2382 * DumpRenderTree/win/ResourceLoadDelegate.h:
2383 * DumpRenderTree/win/UIDelegate.cpp:
2384 * DumpRenderTree/win/UIDelegate.h:
2385 * DumpRenderTree/win/WorkQueueItemWin.cpp:
2387 2008-02-10 Dan Bernstein <mitz@apple.com>
2389 Reviewed by Oliver Hunt.
2393 * DumpRenderTree/cg/ImageDiffCG.cpp:
2394 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
2395 and leaking the buffer each time.
2397 2008-02-07 Adam Roben <aroben@apple.com>
2399 Fix error in bisect-builds when responding "broken" for the first
2402 Reviewed by Dave Kilzer.
2404 * Scripts/bisect-builds: Only try to test the build if the nightly
2405 info for the current index has not been deleted.
2407 2008-02-07 Geoffrey Garen <ggaren@apple.com>
2409 Reviewed by Alexey Proskuryakov.
2411 Fixed two minor typos in the --root option, to get it working.
2413 * Scripts/run-sunspider:
2414 1. Actually assign the function argument to our local variable.
2415 2. Actually set the $root variable, so we don't try to build later.
2417 2008-02-05 Oliver Hunt <oliver@apple.com>
2421 Re-enable foreignObject by default as it is needed for a number of non-fO
2422 related SVG tests and none of the old known crashes occur anymore.
2424 * Scripts/build-webkit:
2426 2008-02-05 Steve Falkenburg <sfalken@apple.com>
2428 Build fix. Don't override intermediate directory.
2430 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2432 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
2434 Build fix for Windows. willCloseFrame is a pure virtual and we are
2435 forced to have an implementation.
2437 This partially reverts r30014.
2439 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2440 (FrameLoadDelegate::willCloseFrame):
2441 * DumpRenderTree/win/FrameLoadDelegate.h:
2443 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
2447 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
2449 * Scripts/make-js-test-wrappers:
2451 2008-02-05 Holger Freyther <zecke@selfish.org>
2455 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
2456 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
2457 depends on the order the tests are executed.
2459 Propose to remove willCloseFrame and didlCearWindowObject output from the
2460 FrameLoadDelegate and update the test results. The output of didClearWindowObject
2461 is not interesting for any of the current tests and we have other ways to find
2462 out if a frame was closed or not.
2464 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2465 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2466 (FrameLoadDelegate::didClearWindowObject):
2467 * DumpRenderTree/win/FrameLoadDelegate.h:
2469 2008-02-04 Mark Rowe <mrowe@apple.com>
2471 Reviewed by Oliver Hunt.
2473 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
2474 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
2476 Don't install the signal handler unless we are running the pixel tests.
2477 It is currently only used to restore the color profile, but by catching
2478 signals we can trigger a deadlock in DRT while running leak tests.
2479 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
2480 and a more complete fix will need to be developed to address this for
2481 pixel tests as well.
2483 * DumpRenderTree/mac/DumpRenderTree.mm:
2486 2008-02-04 Mark Rowe <mrowe@apple.com>
2488 Gtk qmake build fix.
2490 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
2492 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2494 Reviewed by Alp Toker and Mark Rowe.
2496 http://bugs.webkit.org/show_bug.cgi?id=16618
2497 [GTK] build-webkit and run-webkit-tests autootools support
2499 * Scripts/build-webkit: added --database and --icon-database options
2500 * Scripts/run-launcher:
2501 * Scripts/run-webkit-tests:
2502 * Scripts/webkitdirs.pm:
2504 2008-02-04 Oliver Hunt <oliver@apple.com>
2506 Reviewed by Steve F.
2508 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
2510 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
2512 * Uses Sleep() to implement leapForward reliably.
2513 * 3 DND tests still fail for reasons that i have not yet determined
2514 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
2516 * DumpRenderTree/win/EventSender.cpp:
2517 (leapForwardCallback):
2518 (mouseDownCallback):
2522 (mouseMoveToCallback):
2523 Minor updates to these functions to handle the different message queue structure.
2525 (replaySavedEvents):
2526 More complicated now. Where possible we just use the old while-loop model of execution,
2527 but when leapForward has been used we have to jump through some hoops and set up an
2528 inner event loop so that we can ensure messages get the correct time stamp.
2530 * DumpRenderTree/win/UIDelegate.cpp:
2531 (UIDelegate::doDragDrop):
2532 Call replaySavedEvents directly to force synchronous handling of drag and drop.
2534 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
2536 Reviewed by Alp Toker and Mark Rowe.
2538 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
2539 Bug 17175: Use of C++ compiler flags in CFLAGS
2541 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
2543 2008-02-04 Darin Adler <darin@apple.com>
2547 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
2548 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
2551 2008-02-04 Adam Roben <aroben@apple.com>
2553 Windows Apple-only build fix
2555 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
2558 2008-02-04 Alp Toker <alp@atoker.com>
2560 Rubber-stamped by Mark Rowe.
2562 Remove all trailing whitespace in the GTK+ port and related
2565 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2566 * DumpRenderTree/gtk/GCControllerGtk.cpp:
2567 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2570 2008-02-01 Eric Seidel <eric@webkit.org>
2574 Also search LayoutTests/svg for js-based tests.
2576 * Scripts/make-js-test-wrappers:
2578 2008-01-31 Alp Toker <alp@atoker.com>
2580 Rubber-stamped by Adam Roben.
2582 http://bugs.webkit.org/show_bug.cgi?id=17006
2583 [GTK] Header path should be webkit/webkit.h
2585 Move the GTK+ API sources as needed and update the build systems.
2587 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2588 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2589 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2591 * GtkLauncher/main.c:
2593 2008-01-30 Stephanie <slewis@apple.com>
2597 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.
2599 * Scripts/run-webkit-tests:
2601 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
2603 Reviewed by Adam Roben.
2605 One more debug (external) fix.
2607 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
2608 and Debug configurations.
2610 2008-01-29 Geoffrey Garen <ggaren@apple.com>
2612 Reviewed by Sam Weinig. Sam Weinig.
2614 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
2615 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
2617 Modified our policy delegates not to output window.name. Since a
2618 previous test may have explicitly set window.name, we can't rely on its
2619 implicit value in test results.
2621 * DumpRenderTree/mac/PolicyDelegate.mm:
2622 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2624 * DumpRenderTree/win/PolicyDelegate.cpp:
2625 (PolicyDelegate::decidePolicyForNavigationAction):
2627 2008-01-29 Mark Rowe <mrowe@apple.com>
2629 Reviewed by Tim Hatcher.
2631 <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).
2633 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
2635 2008-01-29 David Kilzer <ddkilzer@apple.com>
2637 Refactor ChangeLog path code
2641 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
2642 duplicate code in another foreach() loop.
2644 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
2648 <rdar://problem/5710692> All storage tests fail/crash
2650 * DumpRenderTree/mac/UIDelegate.mm:
2651 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
2652 arbitrary quota of 5 megabytes.
2654 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2655 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2656 Removed unused (I think) code.
2658 * DumpRenderTree/win/UIDelegate.cpp:
2659 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
2660 (UIDelegate::webViewPainted): A stub implementation.
2661 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
2662 * DumpRenderTree/win/UIDelegate.h:
2664 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2666 GTK+ DRT build fix for breakage introduced in r29822.
2668 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2669 (LayoutTestController::setPersistentUserStyleSheetLocation):
2670 (LayoutTestController::clearPersistentUserStyleSheet):
2672 2008-01-27 Dan Bernstein <mitz@apple.com>
2674 Reviewed by Darin Adler.
2676 - add support for directory prologues and epilogues to run-webkit-tests
2677 - allow setting a persistent user style sheet in DumpRenderTree
2678 - activate the WebKit Layout Tests font in Windows DumpRenderTree
2680 * DumpRenderTree/LayoutTestController.cpp:
2681 (clearPersistentUserStyleSheetCallback): Added.
2682 (setPersistentUserStyleSheetLocationCallback): Added.
2683 (LayoutTestController::staticFunctions): Added.
2684 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
2685 * DumpRenderTree/LayoutTestController.h:
2686 * DumpRenderTree/mac/DumpRenderTree.mm:
2687 (setPersistentUserStyleSheetLocation): Added.
2688 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
2689 to the set of things this function resets. Now it either disables the
2690 user style sheet or sets it to the persistent user style sheet and
2692 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2693 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2694 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2695 (LayoutTestController::clearPersistentUserStyleSheet): Added.
2696 * DumpRenderTree/win/DumpRenderTree.cpp:
2697 (setPersistentUserStyleSheetLocation): Added.
2698 (initialize): Added the WebKit Layout Tests font to the set of fonts to
2700 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
2701 * DumpRenderTree/win/DumpRenderTreeWin.h:
2702 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2703 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2704 (LayoutTestController::clearPersistentUserStyleSheet): Added.
2705 * Scripts/run-webkit-tests: Changed to look for, and if found process in
2706 DumpRenderTree, files named run-webkit-tests-prologue.html and
2707 run-webkit-tests-epilogue.html in the resources subdirectory of any
2708 test directory and platform test results directory. The prologues are
2709 processed before the first test from the directory (and its
2710 subdirectories) is run, and the epilogues are processed after the last
2711 test from the directory is run. Platform-specific prologues and
2712 epilogues are processed in order of specificity.
2714 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
2716 Reviewed by Mark Rowe.
2718 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
2720 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
2722 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
2724 2008-01-24 Sam Weinig <sam@webkit.org>
2726 Reviewed by Ada Chan.
2728 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
2730 - Adds simplified UndoManager to windows DRT to allow testing the
2731 undo/redo code paths in WebCore and WebKit. This is a temporary
2732 solution to an issue that should eventually be solved by having a
2733 shared UndoManager in WebKit.
2735 * DumpRenderTree/win/DumpRenderTree.cpp:
2737 * DumpRenderTree/win/UIDelegate.cpp:
2738 (DRTUndoObject::DRTUndoObject):
2739 (DRTUndoObject::invoke):
2740 (DRTUndoStack::~DRTUndoStack):
2741 (DRTUndoStack::isEmpty):
2742 (DRTUndoStack::clear):
2743 (DRTUndoStack::push):
2744 (DRTUndoStack::pop):
2745 (DRTUndoManager::canRedo):
2746 (DRTUndoManager::canUndo):
2747 (DRTUndoManager::DRTUndoManager):
2748 (DRTUndoManager::removeAllActions):
2749 (DRTUndoManager::registerUndoWithTarget):
2750 (DRTUndoManager::redo):
2751 (DRTUndoManager::undo):
2752 (UIDelegate::UIDelegate):
2753 (UIDelegate::resetUndoManager):
2754 (UIDelegate::registerUndoWithTarget):
2755 (UIDelegate::removeAllActionsWithTarget):
2756 (UIDelegate::setActionTitle):
2759 (UIDelegate::canUndo):
2760 (UIDelegate::canRedo):
2761 * DumpRenderTree/win/UIDelegate.h:
2763 2008-01-23 Adam Roben <aroben@apple.com>
2765 Allow directories containing ChangeLogs to be passed to
2768 Reviewed by David Kilzer.
2770 * Scripts/resolve-ChangeLogs:
2771 (sub findChangeLog): Return a ChangeLog contained within the specified
2772 directory if one exists.
2774 2008-01-23 Steve Falkenburg <sfalken@apple.com>
2776 <rdar://problem/5698732> Copyright strings should include 2008
2780 * Drosera/win/Drosera.vcproj/Drosera.rc:
2781 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
2783 2008-01-23 Alp Toker <alp@atoker.com>
2785 Rubber-stamped by Mark Rowe.
2787 Remove whitespace after -I in automake include lists.
2791 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
2793 Reviewed by Lars Knoll <lars@trolltech.com>.
2795 Reworked the JavaScriptCore Qt bindings:
2797 * Update JS DRT controller for Qt JS binding changes.
2798 There were two functions that needed some changes
2799 so that the layout tests would work, so this makes
2800 a few tests pass again.
2802 * Bump the timeout for layout tests up to 11s.
2803 At least some tests have an internal timeout of
2804 10 seconds, so make the waitUntilDone approach
2805 wait at least 11s. fast/dom/open-and-close-by-DOM.html
2806 is one of these - now the failure message is more
2810 * DumpRenderTree/qt/jsobjects.cpp:
2811 (LayoutTestController::waitUntilDone):
2812 * DumpRenderTree/qt/jsobjects.h:
2814 2008-01-22 Anders Carlsson <andersca@apple.com>
2816 Reviewed by Darin and Adam.
2818 <rdar://problem/5688975>
2819 div element on microsoft site has wrong left offset.
2821 Add new method for testing the return vale of NPN_GetProperty.
2823 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2826 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
2828 Reviewed by Adam Roben.
2830 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
2832 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
2834 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2836 Reviewed by Alp Toker.
2838 http://bugs.webkit.org/show_bug.cgi?id=16955
2839 Get errors when cross-compile webkit-gtk
2841 * GNUmakefile.am: Removed ICU_CFLAGS
2843 2008-01-21 Darin Adler <darin@apple.com>
2845 Reviewed by Mitz and Adam.
2847 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
2848 sorting speed by doing all sort criteria in a single pass instead of three sorts.
2850 2008-01-21 Simon Hausmann <hausmann@webkit.org>
2854 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
2856 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
2857 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
2858 and make the return value depend on whether we successfully determined a focusable
2860 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
2861 if we could not handle the focus chain ourselves.
2862 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
2863 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
2864 used to control the situation of stepping out of the focus chain inside the page.
2865 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
2866 The layout tests expect this to be disabled but for the user it seems sensible to have it
2867 on by default, hence the default in qwebsettings.cpp
2870 * DumpRenderTree/qt/DumpRenderTree.cpp:
2871 (WebCore::WebPage::WebPage):
2873 2008-01-19 Mark Rowe <mrowe@apple.com>
2875 Reviewed by Alp Toker.
2877 Allow the --http flag to run-webkit-tests to override
2878 the default behaviour of disabling HTTP tests for Qt,
2881 * Scripts/run-webkit-tests:
2883 2008-01-19 David Kilzer <ddkilzer@apple.com>
2885 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
2889 We now touch a check-for-global-initializers.timestamp file in
2890 the TARGET_TEMP_DIR directory to determine when new object files
2891 have been compiled and thus need to be checked. If the timestamp
2892 file doesn't exist, all object files will be checked.
2894 Previously the modification time of the "executable" (the
2895 framework binary, e.g., WebKit.framework/WebKit) was used, but
2896 since this was the last file modified at the end of the compile
2897 phase, no object files would ever get checked!
2899 Also added JSCustomSQLTransactionCallback.o to the list of files
2900 since it has static initializers in Debug builds of WebCore.
2902 * Scripts/check-for-global-initializers:
2904 2008-01-18 Adam Roben <aroben@apple.com>
2908 * Scripts/build-webkit:
2910 2008-01-18 Beth Dakin <bdakin@apple.com>
2914 Update build-webkit to account for foreign-object being disabled by
2917 * Scripts/build-webkit:
2919 2008-01-18 Adam Roben <aroben@apple.com>
2921 Updated for method renames
2925 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2926 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2927 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2928 (LayoutTestController::setMainFrameIsFirstResponder):
2929 (LayoutTestController::setWindowIsKey):
2930 * DumpRenderTree/mac/UIDelegate.mm:
2931 (-[UIDelegate webViewFocus:]):
2932 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2933 (FrameLoadDelegate::didCommitLoadForFrame):
2935 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
2937 Reviewed by Adam Roben.
2939 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
2940 between DRT and TestNetscapePlugin.
2942 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
2943 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
2945 2008-01-18 Simon Hausmann <hausmann@webkit.org>
2949 Fix fast/dom/Window/window-resize.html
2951 In DRT connect the page's geometryChangeRequest signal to a slot that
2952 sets the geometry of the view widget.
2955 * DumpRenderTree/qt/DumpRenderTree.cpp:
2956 (WebCore::WebPage::setViewGeometry):
2957 (WebCore::WebPage::WebPage):
2959 2008-01-17 Steve Falkenburg <sfalken@apple.com>
2963 * Drosera/DroseraWin.make:
2965 2008-01-17 Darin Adler <darin@apple.com>
2967 * Scripts/run-webkit-tests: Fixed a bug number.
2969 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
2971 Reviewed by Adam Roben.
2973 http://bugs.webkit.org/show_bug.cgi?id=16908
2974 run-webkit-tests complains about missing FindSafari.exe
2976 * Scripts/webkitdirs.pm: Append _debug as appropriate.
2978 2008-01-17 Steve Falkenburg <sfalken@apple.com>
2980 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
2982 Rubber-stamped by Jon Honeycutt.
2984 * DumpRenderTree/win/DumpRenderTree.vcproj:
2986 2008-01-16 Alp Toker <alp@atoker.com>
2988 Reviewed by Mark Rowe.
2990 http://bugs.webkit.org/show_bug.cgi?id=16218
2991 [GTK] API: Should this entry point be called go_back rather than go_backward?
2993 Track back/forward API changes in the tools.
2995 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2996 (BackForwardItem::invoke):
2997 * GtkLauncher/main.c:
3000 2008-01-16 Adam Roben <aroben@apple.com>
3002 Windows build fix after r29488
3004 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3005 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
3006 expects to find the plugin.
3008 2008-01-11 Geoffrey Garen <ggaren@apple.com>
3010 Reviewed by Sam Weinig.
3012 Fixed the waitUntilDone watchdog timer -- the old code never added the
3013 timer to the run loop, so it didn't do anything.
3015 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3016 (LayoutTestController::setWaitToDump):
3017 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3018 (LayoutTestController::setWaitToDump):
3020 2008-01-14 Steve Falkenburg <sfalken@apple.com>
3022 Use shared vsprops for most vcproj properties.
3026 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3027 * DumpRenderTree/win/DumpRenderTree.vcproj:
3028 * DumpRenderTree/win/ImageDiff.vcproj:
3029 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3030 * FindSafari/FindSafari.vcproj:
3032 2008-01-14 Stephanie <slewis@apple.com>
3036 revert accidental character.
3038 * Scripts/run-webkit-tests:
3040 2008-01-14 Stephanie <slewis@apple.com>
3044 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
3046 * Scripts/run-webkit-tests:
3048 2008-01-14 Darin Adler <darin@apple.com>
3050 * Scripts/do-webcore-rename: Queue up another rename.
3052 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3056 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
3058 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
3060 * Scripts/run-webkit-tests:
3062 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3066 * Randomize tests array to spot test cases where the results depends on the order
3068 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
3070 * Scripts/run-webkit-tests:
3072 2008-01-14 Darin Adler <darin@apple.com>
3074 * Scripts/run-webkit-tests: More ignore list tweaking.
3076 2008-01-14 Darin Adler <darin@apple.com>
3078 * Scripts/run-webkit-tests: Add another leak to the ignore list.
3080 2008-01-14 Dan Bernstein <mitz@apple.com>
3082 Reviewed by Adam Roben.
3084 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
3087 * DumpRenderTree/win/DumpRenderTree.cpp:
3088 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
3090 2008-01-13 Steve Falkenburg <sfalken@apple.com>
3092 Share common files across projects.
3095 Debug: common.vsprops, debug.vsprops
3096 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
3097 Release: common.vsprops, release.vsprops
3099 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
3100 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
3102 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
3104 Reviewed by Adam Roben.
3106 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3107 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
3108 * Drosera/win/Drosera.vcproj/VERSION: Removed.
3109 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
3110 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
3111 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
3112 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
3113 * DumpRenderTree/win/DumpRenderTree.vcproj:
3114 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3115 * DumpRenderTree/win/debug.vsprops: Removed.
3116 * DumpRenderTree/win/debug_internal.vsprops: Removed.
3117 * DumpRenderTree/win/release.vsprops: Removed.
3119 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
3123 - http://bugs.webkit.org/show_bug.cgi?id=16314
3124 Script to launch Drosera
3126 * Scripts/gdb-drosera: Added.
3127 * Scripts/run-drosera: Added.
3128 * Scripts/run-drosera-nightly.cmd: Added.
3129 * Scripts/webkitdirs.pm: Added runDrosera function.
3131 2008-01-13 Dan Bernstein <mitz@apple.com>
3133 - fix breakage due to last-minute change
3135 * DumpRenderTree/win/DumpRenderTree.cpp:
3136 (runTest): Declare the loop variable.
3138 2008-01-13 Dan Bernstein <mitz@apple.com>
3140 Reviewed by Adam Roben.
3142 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
3144 * DumpRenderTree/win/DumpRenderTree.cpp:
3145 (DumpRenderTreeWndProc):
3147 (dumpBackForwardList):
3148 (dumpBackForwardListForAllWindows):
3150 (resetWebViewToConsistentStateBeforeTesting): Factored out of
3153 (allWindows): Added. Returns a vector of all open windows.
3154 (windowToWebViewMap): Added. Returns a map from open windows to their
3156 (createWebViewAndOffscreenWindow): Factored out of main() to be
3157 reusable for creating extra windows.
3159 * DumpRenderTree/win/DumpRenderTreeWin.h:
3160 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3161 (LayoutTestController::windowCount): Implemented.
3162 * DumpRenderTree/win/UIDelegate.cpp:
3163 (UIDelegate::createWebViewWithRequest): Implemented.
3164 (UIDelegate::webViewClose): Implemented.
3165 * DumpRenderTree/win/UIDelegate.h:
3167 2008-01-12 Alp Toker <alp@atoker.com>
3169 Reviewed by Mark Rowe.
3171 Hide non-public symbols in GTK+/autotools release builds.
3175 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3179 * Make launching of the WebKit httpd work on GNU/Debian/Linux
3181 The configuration of Apache2 and installation does not depend on
3182 the kernel but on the distribution policy. Make launching of httpd
3183 work for Debian derived distributions.
3185 * Scripts/run-webkit-httpd:
3186 * Scripts/run-webkit-tests:
3187 * Scripts/webkitdirs.pm:
3189 2008-01-12 Mark Rowe <mrowe@apple.com>
3191 Reviewed by Maciej Stachowiak.
3193 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
3195 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
3196 match the callers expectations that it can take ownership of the string.
3198 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
3200 Reviewed by Adam Roben.
3202 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
3204 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
3205 as these are only posted because the test window is not a normal visible one, and
3206 they confuse drag&drop machinery.
3208 2008-01-11 Adam Roben <aroben@apple.com>
3210 Fix a crash when pathToLocalResource fails and a leak
3214 * DumpRenderTree/LayoutTestController.cpp:
3215 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
3216 sure not to pass null to JSValueMakeString.
3217 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3218 (LayoutTestController::pathToLocalResource): Print an error message if
3219 the conversion fails so it's clear what happened.
3221 2008-01-11 Geoffrey Garen <ggaren@apple.com>
3223 Reviewed by John Sullivan.
3225 * DumpRenderTree/mac/GCControllerMac.mm:
3226 (GCController::collectOnAlternateThread): Updated for name change.
3228 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
3230 wx build fix. Don't build dftables any longer since it's now a Perl
3233 * wx/build-wxwebkit:
3235 2008-01-10 Sam Weinig <sam@webkit.org>
3237 Reviewed by Anders Carlsson.
3239 Make DRT track open windows instead of allocated windows so that
3240 we can avoid ASSERTION due to late deallocs out of our control.
3242 * DumpRenderTree/mac/DumpRenderTree.mm:
3243 (dumpBackForwardListForAllWindows):
3245 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3246 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
3247 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3248 (+[DumpRenderTreeWindow openWindows]):
3249 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
3250 (-[DumpRenderTreeWindow close]):
3251 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3252 (LayoutTestController::windowCount):
3254 2008-01-10 Ada Chan <adachan@apple.com>
3256 Meta key is not the same as Alt key on windows.
3260 * DumpRenderTree/win/EventSender.cpp:
3263 2008-01-09 Kevin McCullough <kmccullough@apple.com>
3265 Reviewed by Darin, Sam and Adam.
3267 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
3268 link in gmail message displays JavaScript alert falsely complaining
3269 about pop-up blocking.
3270 - Added the ability to enable the pop-up blocker via the
3271 LayoutTestController.
3273 * DumpRenderTree/LayoutTestController.cpp:
3274 (setPopupBlockingEnabledCallback):
3275 (LayoutTestController::staticFunctions):
3276 * DumpRenderTree/LayoutTestController.h:
3277 * DumpRenderTree/mac/DumpRenderTree.mm:
3278 (setDefaultsToConsistentValuesForTesting):
3279 (resetWebViewToConsistentStateBeforeTesting):
3280 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3281 (LayoutTestController::setPopupBlockingEnabled):
3283 2008-01-10 Lars Knoll <lars@trolltech.com>
3287 rename QWebPageHistory to QWebHistory.
3290 * DumpRenderTree/qt/jsobjects.cpp:
3292 2008-01-09 Maciej Stachowiak <mjs@apple.com>
3296 - add some more renames, adjust some
3298 * Scripts/do-webcore-rename:
3300 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
3304 Enable SVG Fonts support by default.
3306 * Scripts/build-webkit:
3308 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
3312 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
3313 DRT doesn't handle platform specific pixel test results correctly.
3315 <test>-expected.txt files and <test>-expected.png files may now live
3316 in different directories (ie. a cross-platform <test>-expected.txt file
3317 and a platform-specific <test>-expected.png file).
3319 * Scripts/run-webkit-tests:
3321 2008-01-04 Kevin McCullough <kmccullough@apple.com>
3325 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
3326 DRT did not correctly handle printing the '\0' char. Now it does.
3328 * DumpRenderTree/win/DumpRenderTree.cpp:
3332 2008-01-07 Simon Hausmann <hausmann@webkit.org>
3336 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
3339 * DumpRenderTree/qt/main.cpp:
3340 * DumpRenderTree/qt/testplugin.cpp:
3341 * DumpRenderTree/qt/testplugin.h:
3343 2008-01-05 Mark Rowe <mrowe@apple.com>
3345 Reviewed by Alp Toker.
3347 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
3349 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3350 (processWork): Process pending work.
3351 (webViewLoadFinished): Schedule processing of pending work.
3352 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
3354 2008-01-05 Darin Adler <darin@apple.com>
3356 * Scripts/do-webcore-rename: Some more renaming plans.
3358 2008-01-04 Alice Liu <alice.liu@apple.com>
3360 Reviewed by Alexey and Darin.
3362 Adding "home" and "end" to DRT's keydown since
3363 DOM key events can't handle keyIdentifiers at this point.
3365 * DumpRenderTree/mac/EventSendingController.mm:
3366 (-[EventSendingController keyDown:withModifiers:]):
3367 * DumpRenderTree/win/EventSender.cpp:
3370 2008-01-04 Lars Knoll <lars@trolltech.com>
3374 fix DRT after the changes to QWebPage.
3376 The great thing is that we actually don't have
3377 any regressions from the QWebPage change :)
3380 * DumpRenderTree/qt/DumpRenderTree.cpp:
3381 (WebCore::DumpRenderTree::DumpRenderTree):
3383 2008-01-04 Lars Knoll <lars@trolltech.com>
3387 make QWebPage a QObject and get things to compile.
3389 Nothing works currently though.
3392 * DumpRenderTree/qt/DumpRenderTree.cpp:
3393 (WebCore::DumpRenderTree::DumpRenderTree):
3395 2008-01-04 Lars Knoll <lars@trolltech.com>
3399 take a QString as identifier in QWebFrame::addToJSWindowObject.
3401 * DumpRenderTree/qt/DumpRenderTree.cpp:
3402 (WebCore::DumpRenderTree::initJSObjects):
3404 2008-01-04 Alp Toker <alp@atoker.com>
3406 GTK+ DRT build fix for breakage introduced in r29149.
3408 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3409 (LayoutTestController::execCommand):
3411 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
3415 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
3417 Added layoutTestController.execCommand to access editor commands that are not available
3418 via document.execCommand.
3420 * DumpRenderTree/LayoutTestController.cpp:
3421 (execCommandCallback):
3422 (LayoutTestController::staticFunctions):
3423 * DumpRenderTree/LayoutTestController.h:
3424 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3425 (LayoutTestController::execCommand):
3426 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3427 (LayoutTestController::queueLoad):
3428 (LayoutTestController::execCommand):
3430 2008-01-03 Alice Liu <alice.liu@apple.com>
3432 Reviewed by Darin, Mitz.
3434 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
3436 the clickcount should not increase if the last click was at a different location. it's a new click.
3438 * DumpRenderTree/mac/DumpRenderTree.mm:
3440 * DumpRenderTree/mac/EventSendingController.h:
3441 * DumpRenderTree/mac/EventSendingController.mm:
3442 (-[EventSendingController mouseDown]):
3443 (-[EventSendingController mouseUp]):
3445 2008-01-03 Darin Adler <darin@apple.com>
3449 * Scripts/update-webkit: Make this work a little better for the people at Apple
3450 who have a directory named Internal.
3452 2008-01-03 Adam Roben <aroben@apple.com>
3454 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
3456 Rubberstamped by Mark.
3458 * Scripts/update-webkit-auxiliary-libs:
3460 2008-01-03 Adam Roben <aroben@apple.com>
3462 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
3464 http://bugs.webkit.org/show_bug.cgi?id=15663
3466 Added a fuzz factor into the Last-Modified comparison for downloading
3467 WebKitAuxiliaryLibrary.zip.
3469 The zip file is served from a set of mirrors who give Last-Modified
3470 times that are off by 1-3 seconds from each other. This was causing
3471 the build bots to redownload WebKitAuxiliaryLibrary for every build,
3472 which would then cause all of WebCore to rebuild each time.
3476 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
3477 at least 30 seconds newer than the old one -- otherwise we assume that
3478 the difference in time is due to the mirrors being slightly offset
3480 (sub lastModifiedToUnixTime): Added.
3482 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
3486 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
3488 2008-01-03 Simon Hausmann <hausmann@webkit.org>
3492 Moved QWebPage::open to QWebFrame::load and added setHtml.
3495 * DumpRenderTree/qt/DumpRenderTree.cpp:
3496 (WebCore::DumpRenderTree::open):
3498 2008-01-03 Simon Hausmann <hausmann@webkit.org>
3502 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
3505 * DumpRenderTree/qt/DumpRenderTree.cpp:
3506 (WebCore::DumpRenderTree::DumpRenderTree):
3508 2008-01-02 Sam Weinig <sam@webkit.org>
3510 * Scripts/do-webcore-rename: Yet more renaming ideas.
3512 2008-01-02 Darin Adler <darin@apple.com>
3514 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
3516 2008-01-02 Alice Liu <alice.liu@apple.com>
3518 Reviewed by Sam Weinig.
3520 fixing assertion hit with editing/selection/move-begin-end.html
3522 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
3523 * DumpRenderTree/win/DumpRenderTree.vcproj:
3524 * DumpRenderTree/win/EventSender.cpp:
3526 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
3528 2008-01-02 Darin Adler <darin@apple.com>
3530 * Scripts/do-webcore-rename: Some more name change plans.
3532 2008-01-02 Alice Liu <alice.liu@apple.com>
3536 Added handling for page up and page down in EventSender
3538 * DumpRenderTree/mac/EventSendingController.mm:
3539 (-[EventSendingController keyDown:withModifiers:]):
3540 * DumpRenderTree/win/EventSender.cpp:
3543 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
3547 Fix fast/events/arrow-keys-on-body.html for real.
3549 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
3551 2008-01-02 Luca Bruno <lethalman88@gmail.com>
3555 http://bugs.webkit.org/show_bug.cgi?id=16674
3556 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
3558 * Scripts/run-launcher:
3560 2007-12-31 Darin Adler <darin@apple.com>
3564 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
3565 we get it installed on the build bots.
3567 2007-12-30 Eric Seidel <eric@webkit.org>
3571 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
3573 2007-12-29 Darin Adler <darin@apple.com>
3577 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
3578 leak bot shows createCStringFromNPVariant result leaking
3580 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3581 (pluginInvoke): Added a missing free.
3583 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3585 Reviewed by Alp Toker.
3587 http://bugs.webkit.org/show_bug.cgi?id=16390
3588 Use autotools or GNU make as the build system for the GTK port
3590 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
3591 * GNUmakefile.am: Added.
3593 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
3597 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
3599 * DumpRenderTree/win/EventSender.cpp:
3600 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
3601 of 1, even though WebKit currently ignores it.
3603 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
3605 wx buildbot fix. Update libpng dl script to the latest version.
3607 * wx/install-unix-extras:
3609 2007-12-22 Antti Koivisto <antti@apple.com>
3613 * Scripts/webkitdirs.pm:
3615 2007-12-21 Sam Weinig <sam@webkit.org>
3617 Reviewed by Mark Rowe.
3619 - Disable the back/forward cache using the new WebPreferences API
3620 instead of through the BackForwardList. This makes us match what
3623 * DumpRenderTree/mac/DumpRenderTree.mm:
3624 (createWebViewAndOffscreenWindow):
3625 (setDefaultsToConsistentValuesForTesting):
3627 2007-12-21 Dan Bernstein <mitz@apple.com>
3629 Reviewed by Mark Rowe.
3631 - disable the back/forward cache in Windows DumpRenderTree. It is
3632 already disabled in Mac DumpRenderTree.
3634 * DumpRenderTree/win/DumpRenderTree.cpp:
3635 (initializePreferences):
3637 2007-12-13 Antti Koivisto <antti@apple.com>
3639 Reviewed by Darin and Steve.
3641 - check for QuickTime SDK on Windows.
3642 - build media support on Windows by default
3644 * Scripts/build-webkit:
3645 * Scripts/webkitdirs.pm:
3647 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
3649 Build script fix for buildbot.
3651 * wx/build-wxwebkit:
3653 2007-12-20 Eric Seidel <eric@webkit.org>
3657 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
3659 2007-12-20 Kevin McCullough <kmccullough@apple.com>
3663 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
3666 - Drosera and Safari need to use the same ProgIDs in order for
3667 CoCreateInstance to work properly. The most robust way to do this is
3668 for WebKit to dynamically publish those ProgIDs.
3670 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
3671 (DebuggerClient::createWebViewWithRequest):
3672 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
3676 (Drosera::attemptToCreateServerConnection):
3677 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
3678 * Drosera/win/ServerConnection.cpp: Reformat the connection function and