1 2009-03-02 Sam Weinig <sam@webkit.org>
5 Enable Geolocation (except on Tiger and Leopard).
7 * Scripts/build-webkit:
9 2009-03-02 Kevin Ollivier <kevino@theolliviers.com>
11 Build fixes for wxWidgets Mac trunk build.
15 2009-03-02 Timothy Hatcher <timothy@apple.com>
17 Allow for multiline quoted text in JavaScript files when looking for function names.
19 https://bugs.webkit.org/show_bug.cgi?id=24296
21 Reviewed by David Kilzer.
23 * Scripts/prepare-ChangeLog:
25 2009-03-02 Adam Treat <adam.treat@torchmobile.com>
27 Reviewed by Eric Seidel.
29 Add three new drt helper functions that enable all of the tests in
30 LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
32 * DumpRenderTree/qt/jsobjects.cpp:
33 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
34 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
35 (LayoutTestController::numberOfActiveAnimations):
36 * DumpRenderTree/qt/jsobjects.h:
38 2009-03-02 Adam Roben <aroben@apple.com>
40 Windows build fix after r41349
42 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
43 (AccessibilityUIElement::getChildrenWithRange):
45 2009-03-01 Chris Fleizach <cfleizach@apple.com>
47 Reviewed by Oliver Hunt.
49 Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
51 Change getChildAtIndex() to get a range of children instead of all the children.
52 This exercises code in WebCore that returns elements when asked for from a range.
54 * DumpRenderTree/AccessibilityUIElement.h:
55 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
56 (AccessibilityUIElement::getChildrenWithRange):
57 (AccessibilityUIElement::getChildAtIndex):
58 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
59 (AccessibilityUIElement::getChildrenWithRange):
61 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
63 Reviewed by Holger Freyther.
65 [Gtk] get the HTTP layout tests going
66 https://bugs.webkit.org/show_bug.cgi?id=24259
68 Determine the frame's response and decide whether to dump as text
71 * DumpRenderTree/gtk/DumpRenderTree.cpp:
74 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
76 Reviewed by Holger Freyther.
78 [Gtk] get the HTTP layout tests going
79 https://bugs.webkit.org/show_bug.cgi?id=24259
81 Implement dumping of WebKitWebBackForwardList and its history
84 * DumpRenderTree/gtk/DumpRenderTree.cpp:
85 (compareHistoryItems):
87 (dumpBackForwardListForWebView):
90 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
91 (LayoutTestController::clearBackForwardList):
92 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
93 (BackForwardItem::invoke):
95 2009-02-28 Zan Dobersek <zandobersek@gmail.com>
97 Reviewed by Holger Freyther.
99 Set the resolution for the default screen to 72.0.
100 This way, setting font sizes results in expected values.
102 * DumpRenderTree/gtk/DumpRenderTree.cpp:
103 (setDefaultsToConsistentStateValuesForTesting):
105 2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
107 Reviewed by Holger Freyther.
109 Adds a WebKitMakeArguments environment variable to enable passing
110 of arguments such as '-j2' to make for the autotools build.
112 * Scripts/webkitdirs.pm:
114 2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
116 Reviewed by Holger Freyther.
118 Add a GTK+-only option to enable GNOME Keyring when building.
120 * Scripts/build-webkit:
122 2009-02-28 Jan Michael Alonzo <jmalonzo@webkit.org>
124 Reviewed by Holger Freyther.
126 [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
127 https://bugs.webkit.org/show_bug.cgi?id=24076
129 Refactor gtk lib detection and put it in builtDylibPathForName
131 * Scripts/webkitdirs.pm:
133 2009-02-28 Christian Dywan <christian@twotoasts.de>
135 Rubber-stamped by Holger Freyther.
137 * GtkLauncher/main.c:
138 (activate_uri_entry_cb):
139 (main): Use the new webkit_web_view_load_uri to open URIs.
141 2009-02-27 Xan Lopez <xan@gnome.org>
143 Rubber-stamped by Alexey Proskuryakov.
145 https://bugs.webkit.org/show_bug.cgi?id=24222
146 [GTK] Remove checks for old glib versions
148 libsoup, which is a hard dependency, needs at least glib 2.15.3,
149 so remove all glib checks for versions older than that.
151 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
152 (LayoutTestController::setWaitToDump):
154 2009-02-25 Simon Fraser <simon.fraser@apple.com>
156 Reviewed by Eric Seidel
158 Fix spew about a WebView being deallocated while key value observers are
159 still registered with it by making sure that we always stop observing
160 _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
162 * DumpRenderTree/mac/DumpRenderTree.mm:
164 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
165 (-[DumpRenderTreeWindow close]):
167 2009-02-25 Adam Treat <adam.treat@torchmobile.com>
169 Reviewed by Alexey Proskuryakov.
171 Do not queue the calls to 'DumpRenderTree::dump()' as this can result
172 in more than one call as a test that calls 'notifyDone()' can then be
173 subsequently fully loaded and initiate a second dump. Also make sure
174 to stop any existing page load that is happening before running the next
175 test. Combined this serves to produce 217 more passing tests for the
176 Qt port or roughly 5% at this point.
178 * DumpRenderTree/qt/DumpRenderTree.cpp:
179 (WebCore::DumpRenderTree::DumpRenderTree):
180 (WebCore::DumpRenderTree::open):
182 2009-02-25 Simon Fraser <simon.fraser@apple.com>
184 Reviewed by Dan Bernstein
186 https://bugs.webkit.org/show_bug.cgi?id=23854
188 Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
189 property of the WebView, and use that to turn -autodisplay on and off.
190 This is necessary so that accelerated animations start correctly.
191 We can thus remove the -display hack in createBitmapContextFromWebView().
193 * DumpRenderTree/mac/DumpRenderTree.mm:
194 (createWebViewAndOffscreenWindow):
196 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
197 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
198 (-[DumpRenderTreeWindow close]):
199 (-[DumpRenderTreeWindow webView]):
200 (-[DumpRenderTreeWindow startObservingWebView]):
201 (-[DumpRenderTreeWindow stopObservingWebView]):
202 (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
203 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
204 (createBitmapContextFromWebView):
206 2009-02-25 Adam Treat <adam.treat@torchmobile.com>
208 Reviewed by Zack Rusin.
210 https://bugs.webkit.org/show_bug.cgi?id=24158
211 Implement the queue*() methods of the layoutTestController and begin
212 implementing the dump of the back/forward list. This results in 2% more
213 tests passing as well as 23 currently skipped tests now passing.
215 * DumpRenderTree/qt/DumpRenderTree.cpp:
216 (WebCore::DumpRenderTree::dumpBackForwardList):
217 (WebCore::DumpRenderTree::dump):
218 * DumpRenderTree/qt/DumpRenderTree.h:
219 * DumpRenderTree/qt/DumpRenderTree.pro:
220 * DumpRenderTree/qt/jsobjects.cpp:
223 (ReloadItem::invoke):
224 (ScriptItem::invoke):
225 (BackForwardItem::invoke):
226 (LayoutTestController::reset):
227 (LayoutTestController::processWork):
228 (LayoutTestController::maybeDump):
229 (LayoutTestController::queueBackNavigation):
230 (LayoutTestController::queueForwardNavigation):
231 (LayoutTestController::queueLoad):
232 (LayoutTestController::queueReload):
233 (LayoutTestController::queueScript):
234 * DumpRenderTree/qt/jsobjects.h:
235 (LayoutTestController::shouldDumpBackForwardList):
236 (LayoutTestController::dumpBackForwardList):
238 2009-02-24 Adam Treat <adam.treat@torchmobile.com>
240 Reviewed by Alexey Proskuryakov.
242 Don't print out that you are generating new results if you are not in fact
243 generating new results and disable generating new results by default for
244 the all ports other than the canonical Apple Mac port since this can litter
245 the source directory with hundreds of new results since other ports
246 are not as up to date.
248 * Scripts/run-webkit-tests:
250 2009-02-24 Adam Treat <adam.treat@torchmobile.com>
252 Reviewed by Cameron Zwarich.
254 The Qt port does not support these yet nor does the nm check work with
257 * Scripts/webkitdirs.pm:
259 2009-02-24 Jan Michael Alonzo <jmalonzo@webkit.org>
261 Reviewed by Alexey Proskuryakov.
263 [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
264 https://bugs.webkit.org/show_bug.cgi?id=24072
266 Allow toggling of 3D transforms and HTML5 channel messaging
267 support for the Autotools (Gtk) build.
269 Also add '--gtk' in the build-webkit help doc and fix autotools
270 option for web-workers support.
272 * Scripts/build-webkit:
274 2009-02-23 Xan Lopez <xan@gnome.org>
276 Reviewed by Alexey Proskuryakov.
278 https://bugs.webkit.org/show_bug.cgi?id=22624
279 [SOUP][GTK] Need API to get SoupSession from WebKit.
281 Add soup flags now that dependency is explicit.
285 2009-02-22 Mark Rowe <mrowe@apple.com>
287 Reviewed by Oliver Hunt.
289 Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
291 * DumpRenderTree/mac/DumpRenderTree.mm:
292 (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
293 than of an arbitrary existing method on the class.
295 2009-02-13 Eric Seidel <eric@webkit.org>
297 Rubber-stamped by Alexey Proskuryakov.
299 Add a few ignores to make-js-test-wrappers.
301 * Scripts/make-js-test-wrappers:
303 2009-02-17 Holger Hans Peter Freyther <zecke@selfish.org>
305 Reviewed by Alexey Proskuryakov.
307 Prepend file:// to the test result filename to make
308 GtkLauncher display the result page.
310 * Scripts/run-webkit-tests:
312 2009-02-16 Gustavo Noronha Silva <gns@gnome.org>
314 Reviewed by Adam Roben
316 Actually use the installation prefix defined in WebKitInstallationPrefix,
319 * Scripts/webkitdirs.pm:
321 2009-02-12 Simon Fraser <simon.fraser@apple.com>
325 Remove debugging code which was committed by mistake.
327 * Scripts/run-webkit-tests:
329 2009-02-12 Simon Fraser <simon.fraser@apple.com>
331 Reviewed by Adam Roben
333 https://bugs.webkit.org/show_bug.cgi?id=23928
335 Add detection of accelerated compositing and 3d transforms,
336 and add various directories to $ignoredDirectories when these
339 * Scripts/run-webkit-tests:
340 * Scripts/webkitdirs.pm:
342 2009-02-12 Adam Roben <aroben@apple.com>
344 Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
345 contains non-existent tests is confusing and is given for disabled
348 <https://bugs.webkit.org/show_bug.cgi?id=23922>
350 We now no longer warn about disabled tests. The warning now reads:
352 Skipped list contained '$item', but no file of that name could be
355 Reviewed by John Sullivan.
357 * Scripts/run-webkit-tests:
358 (top level): Pass the list name to processIgnoreTests so it can print
359 out a reasonable warning message.
360 (processIgnoreTests): Take a list name as a second parameter and use
361 it to display a better warning message. Also check for a "-disabled"
362 version of the test before warning about it not existing.
364 2009-02-11 Adam Roben <aroben@apple.com>
366 Windows fix for Bug 22239: Implement missing animation & transition
367 APIs on LayoutTestController for non-mac platforms
369 <https://bugs.webkit.org/show_bug.cgi?id=22239>
371 Reviewed by Simon Fraser.
373 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
374 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
375 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
376 (LayoutTestController::numberOfActiveAnimations):
377 Implemented these by calling through to IWebFramePrivate.
379 2009-02-10 Chris Marrin <cmarrin@apple.com>
381 Reviewed by Simon Fraser.
383 * Scripts/build-webkit:
385 https://bugs.webkit.org/show_bug.cgi?id=23883
387 Added support --3d-transforms. Defaults to off
389 2009-02-11 Adam Roben <aroben@apple.com>
391 Fix crashes in http/tests/history/redirect-301.pl and friends on
394 Reviewed by Alexey Proskuryakov.
396 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
397 (LayoutTestController::webHistoryItemCount): Null-check the shared
398 WebHistory instance before dereferencing it.
400 2009-02-10 Adam Roben <aroben@apple.com>
402 Fix Bug 23869: Pixel tests can't be run on Windows
404 <https://bugs.webkit.org/show_bug.cgi?id=23869>
406 This patch gets the pixel tests limping along on Windows again.
408 Reviewed by Dan Bernstein.
410 * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
411 Debug_Internal configuration of ImageDiff in the Debug_Internal
412 configuration of this solution.
414 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
415 (printPNG): Changed to call fwrite in a loop, since this call was
416 failing due to the buffer being too large on Windows.
417 (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
418 #if PLATFORM(MAC)/#endif.
420 * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
421 configuration that matches the Debug configuration but also references
422 debug_internal.vsprops.
424 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
425 (createBitmapContextFromWebView): Renamed from
426 getBitmapContextFromWebView to match the name used in the
429 2009-02-10 Adam Roben <aroben@apple.com>
431 Robustify DumpRenderTree/win a little
433 DumpRenderTree was previously not holding a ref to the WebViews it
434 created via window.open. It was getting away with this because
435 WebViews get reffed by being preference notification observers and by
436 registering for drag-n-drop messages. Now DRT does hold a ref, in case
437 this situation changes in the future.
439 Reviewed by Alexey Proskuryakov.
441 * DumpRenderTree/win/DumpRenderTree.cpp:
442 (dumpBackForwardListForAllWindows): Added a .get().
443 (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
444 * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
445 windowToWebViewMap() to hold a ref to the WebViews it contains.
447 2009-02-05 Simon Fraser <simon.fraser@apple.com>
449 Fix the #include file order, per review comments.
451 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
453 2009-02-05 Simon Fraser <simon.fraser@apple.com>
455 Reviewed by Dan Bernstein
457 https://bugs.webkit.org/show_bug.cgi?id=23362
459 If the WebHTMLView uses accelerated compositing, we need for force
460 the on-screen capture path and also force animations to start with -display
461 since the DRT window has autodisplay disabled.
463 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
464 (createBitmapContextFromWebView):
466 2009-02-03 miggilin <mr.diggilin@gmail.com>
468 Reviewed by Darin Adler.
470 Change the way wxWidgets build gets arguments.
471 Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
472 argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
473 removed when --wx is checked for).
475 https://bugs.webkit.org/show_bug.cgi?id=23701
477 * Scripts/build-webkit:
478 * Scripts/webkitdirs.pm:
480 2009-01-30 Chris Fleizach <cfleizach@apple.com>
482 Reviewed by Oliver Hunt.
484 Catch exceptions thrown by AppKit when accessing an attribute than an element
487 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
488 (attributesOfElement):
490 2009-01-29 David Kilzer <ddkilzer@apple.com>
492 Remove semi-colons from the end of ObjC method implementations
494 Rubber-stamped by Adam Roben.
496 $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
498 * DumpRenderTree/mac/FrameLoadDelegate.mm:
499 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
500 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
501 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
502 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
503 * DumpRenderTree/mac/UIDelegate.mm:
504 (-[UIDelegate webViewFrame:]):
506 2009-01-28 Geoffrey Garen <ggaren@apple.com>
510 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
511 (LayoutTestController::webHistoryItemCount):
513 2009-01-28 Geoffrey Garen <ggaren@apple.com>
515 Reviewed by Sam Weinig.
517 Added support for querying how many history items were created during a
520 * DumpRenderTree/LayoutTestController.cpp:
521 (getWebHistoryItemCountCallback):
522 (LayoutTestController::staticValues):
523 * DumpRenderTree/LayoutTestController.h:
524 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
525 (LayoutTestController::webHistoryItemCount):
526 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
527 (LayoutTestController::webHistoryItemCount):
529 2009-01-26 Pierre-Olivier Latour <pol@apple.com>
531 Tweaked again earlier fix, this time just to print a warning and not abort if
532 attempting to generate pixel results and Perian is installed.
534 https://bugs.webkit.org/show_bug.cgi?id=22615
536 * Scripts/run-webkit-tests:
538 2009-01-26 Christian Dywan <christian@twotoasts.de>
540 Rubber stamped by Holger Freyther.
542 * GtkLauncher/main.c:
543 (main): Initialize threads, which is required for libSoup.
545 2009-01-23 David Kilzer <ddkilzer@apple.com>
547 * Scripts/do-webcore-rename: Removed 10 header guard renames that
548 had already been fixed, and updated 4 renames whose original values
551 2009-01-22 Anders Carlsson <andersca@apple.com>
555 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
557 2009-01-22 Anders Carlsson <andersca@apple.com>
559 Reviewed by Sam Weinig.
561 Clean up the test plug-in code. We now always use the CG drawing model and the
562 Cocoa event model. It is however possible to revert to the old Carbon event model by
563 specifying forcecarbon=true in the embed/object tag.
565 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
566 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
572 2009-01-21 Pierre-Olivier Latour <pol@apple.com>
574 Tweaked earlier fix to only print a warning when Perian is installed,
575 and fail completely only if attempting to generate new pixel test results.
577 https://bugs.webkit.org/show_bug.cgi?id=23392
579 * Scripts/run-webkit-tests:
581 2009-01-20 Darin Adler <darin@apple.com>
583 Reviewed by Alexey Proskuryakov.
585 Bug 23450: string leaks seen in DumpRenderTree accessibility test code
586 https://bugs.webkit.org/show_bug.cgi?id=23450
588 * DumpRenderTree/AccessibilityUIElement.cpp:
589 (isAttributeSettableCallback): Add the missing JSStringRelease call.
590 (attributeValueCallback): Ditto.
592 2009-01-20 Pierre-Olivier Latour <pol@apple.com>
594 Reviewed by Darin Adler.
596 Print warning regarding display color profile change in run-webkit-tests instead of DRT.
598 https://bugs.webkit.org/show_bug.cgi?id=23392
600 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
601 (setupMainDisplayColorProfile):
602 * Scripts/run-webkit-tests:
604 2009-01-20 Pierre-Olivier Latour <pol@apple.com>
606 Reviewed by Darin Adler.
608 Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
609 in order to avoid result differences in some media tests.
611 https://bugs.webkit.org/show_bug.cgi?id=22615
613 * Scripts/run-webkit-tests:
614 * Scripts/webkitdirs.pm:
616 2009-01-19 Sam Weinig <sam@webkit.org>
618 * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
620 2009-01-16 Gabor Loki <loki@inf.u-szeged.hu>
622 Reviewed by Darin Adler.
624 * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
625 parameters to make command in QMake projects.
627 2009-01-16 Chris Fleizach <cfleizach@apple.com>
629 Reviewed by Beth Dakin.
631 Add AX methods to retrieve the parent of an element.
633 * DumpRenderTree/AccessibilityUIElement.cpp:
634 (parentElementCallback):
635 (AccessibilityUIElement::getJSClass):
636 * DumpRenderTree/AccessibilityUIElement.h:
637 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
638 (AccessibilityUIElement::parentElement):
639 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
640 (AccessibilityUIElement::parentElement):
642 2009-01-16 Anders Carlsson <andersca@apple.com>
644 Reviewed by Adam Roben.
646 Set the count to the right number of elements.
648 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
651 2009-01-14 David Kilzer <ddkilzer@apple.com>
653 BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
655 Rubber-stamped by Alice Liu.
657 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
658 (LayoutTestController::setIconDatabaseEnabled): Use COM API
659 to get the shared WebIconDatabase.
661 2009-01-14 Jeremy Moskovich <jeremy@chromium.org>
663 Reviewed by Eric Seidel.
665 <https://bugs.webkit.org/show_bug.cgi?id=16829>
666 Implement NPN_SetException()
668 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
670 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
671 (initializeIdentifiers):
675 2009-01-13 Dmitry Titov <dimich@chromium.org>
677 Reviewed by David Kilzer.
679 https://bugs.webkit.org/show_bug.cgi?id=23304
680 Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
682 * Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
684 2009-01-14 David Kilzer <ddkilzer@apple.com>
686 BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
688 * DumpRenderTree/gtk/DumpRenderTree.cpp:
689 (runTest): Added call to reset the icon database to match Mac
691 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
692 (LayoutTestController::setIconDatabaseEnabled): Implemented
695 2009-01-14 David Kilzer <ddkilzer@apple.com>
697 Bug 22795: favicons should be saved to webarchives
699 <https://bugs.webkit.org/show_bug.cgi?id=22795>
701 Reviewed by Darin Adler.
703 * DumpRenderTree/LayoutTestController.cpp:
704 (setIconDatabaseEnabledCallback): Added.
705 (setJavaScriptProfilingEnabledCallback): Realphabetized.
706 (LayoutTestController::staticFunctions): Added entry for calling
707 LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
708 * DumpRenderTree/LayoutTestController.h:
709 (setIconDatabaseEnabledCallback): Added declaration.
710 (setJavaScriptProfilingEnabledCallback): Realphabetized.
712 * DumpRenderTree/mac/DumpRenderTree.mm:
713 (runTest): Disable the icon database before each test.
714 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
715 (LayoutTestController::setIconDatabaseEnabled): Added.
716 (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
718 * DumpRenderTree/win/DumpRenderTree.cpp:
719 (runTest): Disable the icon database before each test.
720 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
721 (LayoutTestController::setIconDatabaseEnabled): Added.
723 2009-01-14 Steve Falkenburg <sfalken@apple.com>
725 Update copyright year in version resources.
727 Reviewed by Adam Roben.
729 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
731 2009-01-14 Dan Bernstein <mitz@apple.com>
733 Reviewed by John Sullivan.
737 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
738 * WebKitLauncher/Info.plist:
740 2009-01-13 Anders Carlsson <andersca@apple.com>
742 Reviewed by Sam Weinig.
746 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
748 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
749 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
753 2009-01-12 Mark Rowe <mrowe@apple.com>
755 Use the modern spelling of WebKit.
757 * Scripts/find-extra-includes:
758 * Scripts/report-include-statistics:
759 * Scripts/run-webkit-app:
760 * Scripts/svn-unapply:
761 * Scripts/update-webkit:
763 2009-01-11 Darin Adler <darin@apple.com>
765 * Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom
766 directory that aren't using standard wrappers.
768 2009-01-11 Robert Blaut <webkit@blaut.biz>
770 Reviewed by Eric Seidel.
772 <https://bugs.webkit.org/show_bug.cgi?id=23134>
773 Update bisect-builds for Safari 3.2 to prevent crashes
775 * Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348.
777 2009-01-08 Adam Treat <adam.treat@torchmobile.com>
779 Reviewed by Simon Hausmann.
781 Explicitly set these so that the layout tests do not break.
783 * DumpRenderTree/qt/DumpRenderTree.cpp:
784 (WebCore::WebPage::WebPage):
786 2009-01-07 Glenn Wilson <gwilson@chromium.org>
788 Reviewed by Eric Seidel.
790 Changed DumpRenderTree to re-enable Javascript in web preferences on every test.
791 This fixes the case when a user mistakenly disables Javascript, and all layout tests crash.
793 * DumpRenderTree/mac/DumpRenderTree.mm:
794 (testStringByEvaluatingJavaScriptFromString):
795 (setDefaultsToConsistentValuesForTesting):
797 2009-01-07 Holger Hans Peter Freyther <zecke@selfish.org>
799 Reviewed by Maciej Stachowiak.
801 Implement numberOfActiveAnimations to fix the build
803 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
804 (LayoutTestController::numberOfActiveAnimations):
806 2009-01-07 Adam Treat <adam.treat@torchmobile.com>
808 Reviewed by George Staikos.
810 Fix unused variable warnings
812 * DumpRenderTree/qt/DumpRenderTree.cpp:
813 (WebCore::WebPage::javaScriptAlert):
814 (WebCore::WebPage::javaScriptConfirm):
815 (WebCore::WebPage::javaScriptPrompt):
816 * DumpRenderTree/qt/jsobjects.cpp:
817 (LayoutTestController::maybeDump):
818 * DumpRenderTree/qt/main.cpp:
820 * DumpRenderTree/qt/testplugin.cpp:
821 (TestPlugin::create):
823 2009-01-06 Pierre-Olivier Latour <pol@apple.com>
825 Reviewed by Darin Adler.
827 Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations.
828 This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore.
830 https://bugs.webkit.org/show_bug.cgi?id=23126
832 * DumpRenderTree/LayoutTestController.cpp:
833 (numberOfActiveAnimationsCallback):
834 (LayoutTestController::staticFunctions):
835 * DumpRenderTree/LayoutTestController.h:
836 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
837 (LayoutTestController::numberOfActiveAnimations):
838 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
839 (LayoutTestController::numberOfActiveAnimations):
841 2009-01-04 David Kilzer <ddkilzer@apple.com>
843 Don't install internal headers in WebKit framework
845 Reviewed by Darin Adler.
847 Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are
848 no longer installed in WebKit.framework/PrivateHeaders, use the
849 special relationship of DumpRenderTree within the WebKit source
850 tree to include the internal headers through relative paths.
851 Created the concept of mac/InternalHeaders to hide the ugly
854 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added
855 mac/InternalHeaders to HEADER_SEARCH_PATHS.
856 * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added.
857 * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added.
859 2009-01-02 Adam Treat <treat@kde.org>
861 Reviewed by George Staikos.
863 Add support for fixedLayoutSize to the qt DRT
865 * DumpRenderTree/qt/jsobjects.cpp:
866 (LayoutTestController::setFixedLayoutSize):
867 (LayoutTestController::setUseFixedLayout):
868 * DumpRenderTree/qt/jsobjects.h:
870 2009-01-03 David D. Kilzer <ddkilzer@webkit.org>
872 Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences
874 <https://bugs.webkit.org/show_bug.cgi?id=23091>
876 Reviewed by Darin Adler.
878 * DumpRenderTree/mac/DumpRenderTree.mm:
879 (normalizeHTTPResponseHeaderFields): Remove Keep-Alive and
880 Connection headers from webarchive results.
882 2008-12-31 Zan Dobersek <zandobersek@gmail.com>
884 Reviewed by Holger Freyther.
886 https://bugs.webkit.org/show_bug.cgi?id=22812
888 Prevent TestNetscapePlugin from installing system-wide.
892 2008-12-31 Zan Dobersek <zandobersek@gmail.com>
894 Reviewed by Holger Freyther.
896 https://bugs.webkit.org/show_bug.cgi?id=22842
898 Move WebKitWebView's size allocation into a proper place.
900 * DumpRenderTree/gtk/DumpRenderTree.cpp:
904 2008-12-24 Mark Rowe <mrowe@apple.com>
906 Reviewed by Timothy Hatcher.
908 Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory,
909 and make it work for git too.
911 * Scripts/VCSUtils.pm:
912 * Scripts/webkitdirs.pm:
914 2008-12-22 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
916 Reviewed by George Staikos.
918 Ignore http/tests/wml, if no WML support is present.
919 Add http/tests/wml to list of HTTP tests, allowed to access local resources.
921 * Scripts/run-webkit-tests:
923 2008-12-19 David Levin <levin@chromium.org>
925 Reviewed by Mark Rowe.
927 https://bugs.webkit.org/show_bug.cgi?id=22930
929 Make the git diff command used for preparing the change log avoid using any external diff tools.
931 * Scripts/prepare-ChangeLog:
933 2008-12-19 Gustavo Noronha Silva <gns@gnome.org>
935 Reviewed by Holger Freyther.
937 https://bugs.webkit.org/show_bug.cgi?id=22686
939 Added files which were missing from the TestNetscapePlugin
940 directory to the SOURCES variable, so that they will be
941 distributed in a make dist.
945 2008-12-18 Cameron Zwarich <zwarich@apple.com>
947 Reviewed by Geoff Garen.
949 Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link
950 <https://bugs.webkit.org/show_bug.cgi?id=21855>
951 <rdar://problem/6278244>
953 Add support for scheduling asynchronous clicks to DumpRenderTree, but
956 * DumpRenderTree/mac/EventSendingController.h:
957 * DumpRenderTree/mac/EventSendingController.mm:
958 (+[EventSendingController isSelectorExcludedFromWebScript:]): Expose
959 scheduleAsynchronousClick to JavaScript.
960 (-[EventSendingController scheduleAsynchronousClick]): Add.
962 2008-12-15 Darin Adler <darin@apple.com>
964 * Scripts/make-js-test-wrappers: Added another exception to avoid overwriting
965 a custom-written test.
967 2008-12-15 Simon Hausmann <hausmann@webkit.org>
969 Reviewed by Holger Freyther.
971 Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
973 * DumpRenderTree/qt/jsobjects.cpp:
974 (LayoutTestController::setJavaScriptProfilingEnabled):
975 * DumpRenderTree/qt/jsobjects.h:
977 2008-12-13 Zan Dobersek <zandobersek@gmail.com>
979 Reviewed by Darin Adler.
981 https://bugs.webkit.org/show_bug.cgi?id=22039
983 Implement animation and transition pausing.
985 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
986 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
987 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
989 2008-12-12 Brent Fulgham <bfulgham@gmail.com>
991 Reviewed by Adam Roben.
993 https://bugs.webkit.org/show_bug.cgi?id=22809
995 Increase timeout in call to initWithURL so that people actually see
996 new web pages when they type URLs rather than a blank screen.
998 * WinLauncher/WinLauncher.cpp:
999 (loadURL): Increase timeout in initWithURL from 0 to 60 seconds.
1001 2008-12-12 Darin Adler <darin@apple.com>
1003 * Scripts/do-webcore-rename: Add a renaming idea.
1005 2008-12-12 Holger Hans Peter Freyther <zecke@selfish.org>
1007 Reviewed by Simon Hausmann.
1009 Update the WebKit.qrc and add a script to automatically generate the file.
1011 With the way rcc and qmake work this can not be done at build time
1012 as the WebKit.qrc must sit inside the directory that contains the files
1013 and at build time we may not change the content of the source directory.
1015 * Scripts/generate-qt-inspector-resource: Added.
1017 2008-12-11 Cameron Zwarich <zwarich@apple.com>
1019 Rubber-stamped by Mark Rowe.
1021 Roll out r39212 due to assertion failures during layout tests, multiple
1022 layout test failures, memory leaks, and obvious incorrectness.
1024 * DumpRenderTree/LayoutTestController.cpp:
1025 (LayoutTestController::staticFunctions):
1026 * DumpRenderTree/LayoutTestController.h:
1027 * DumpRenderTree/mac/DumpRenderTree.mm:
1028 (resetWebViewToConsistentStateBeforeTesting):
1029 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1030 * DumpRenderTree/win/DumpRenderTree.cpp:
1031 (resetWebViewToConsistentStateBeforeTesting):
1032 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1033 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1035 2008-12-10 Glenn Wilson <gwilson@google.com>
1037 Reviewed by Adam Roben.
1039 Changed LayoutTestController and DumpRenderTree to allow for manual
1040 overriding of default preferences at test time. Also added support for
1041 resetting the preferences after each test.
1042 https://bugs.webkit.org/show_bug.cgi?id=20534
1044 * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
1045 * DumpRenderTree/LayoutTestController.h: Added signature for callback
1046 * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
1047 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
1048 * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
1049 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
1051 2008-12-10 Brady Eidson <beidson@apple.com>
1053 Reviewed by Darin Adler.
1055 Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
1057 * DumpRenderTree/win/DumpRenderTree.cpp:
1058 * DumpRenderTree/win/DumpRenderTreeWin.h:
1060 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1061 (LayoutTestController::setCustomPolicyDelegate):
1063 * DumpRenderTree/win/PolicyDelegate.cpp:
1064 (PolicyDelegate::PolicyDelegate):
1065 (PolicyDelegate::decidePolicyForNavigationAction):
1066 * DumpRenderTree/win/PolicyDelegate.h:
1067 (PolicyDelegate::setPermissive):
1069 2008-12-10 Brady Eidson <beidson@apple.com>
1073 Change the custom policy delegate to actually allow navigation for tests that need it.
1074 The new behavior is opt-in and doesn't require any changes in old tests.
1076 * DumpRenderTree/LayoutTestController.cpp:
1077 (setCustomPolicyDelegateCallback): Allow for a second boolean argument to set the permissive flag on the custom
1078 policy delegate, which will be false by default to maintain original behavior.
1079 * DumpRenderTree/LayoutTestController.h:
1080 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1081 (LayoutTestController::setCustomPolicyDelegate):
1083 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1084 (LayoutTestController::setCustomPolicyDelegate): Partially stubbed out for now.
1085 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1086 (LayoutTestController::setCustomPolicyDelegate): Still stubbed out, but with new param.
1088 * DumpRenderTree/mac/PolicyDelegate.h:
1089 * DumpRenderTree/mac/PolicyDelegate.mm:
1090 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): If the permissive flag
1091 is set, allow the navigation.
1092 (-[PolicyDelegate setPermissive:]): Change the behavior between "use" and "ignore" - allowing navigation or not.
1094 2008-12-09 Mark Rowe <mrowe@apple.com>
1096 Rubber-stamped by Ada Chan.
1098 Fix gdb-safari on Tiger.
1100 gdb on Tiger does not take the -arch flag, so do not pass it.
1102 * Scripts/gdb-safari:
1104 2008-12-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
1106 Reviewed by Alexey Proskuryakov.
1108 Ignore WML tests, if no WML support available.
1110 * Scripts/run-webkit-tests:
1112 2008-12-08 Geoffrey Garen <ggaren@apple.com>
1114 Reviewed by Oliver Hunt.
1116 Added a shortcut for --jsDriver-args, which I use a lot.
1118 * Scripts/run-javascriptcore-tests:
1120 2008-12-08 Stephanie Lewis <slewis@apple.com>
1124 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1126 2008-12-08 Darin Adler <darin@apple.com>
1128 Reviewed by John Sullivan.
1130 - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
1131 REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
1133 * DumpRenderTree/LayoutTestController.cpp:
1134 (isCommandEnabledCallback): Added.
1135 (LayoutTestController::staticFunctions): Added "isCommandEnabled".
1136 * DumpRenderTree/LayoutTestController.h: Ditto.
1137 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1138 (LayoutTestController::isCommandEnabled): Ditto.
1139 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1140 (-[CommandValidationTarget initWithAction:]): Added. Used to get the
1141 command validation system to tell us if a comment is enabled.
1142 (-[CommandValidationTarget action]): Ditto.
1143 (-[CommandValidationTarget tag]): Ditto.
1144 (LayoutTestController::isCommandEnabled): Ditto.
1145 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1146 (LayoutTestController::isCommandEnabled): Ditto.
1148 2008-12-08 David Kilzer <ddkilzer@apple.com>
1150 Bug 22555: Sort "children" sections in Xcode project files
1152 <https://bugs.webkit.org/show_bug.cgi?id=22555>
1154 Reviewed by Eric Seidel.
1156 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
1157 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
1158 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
1160 2008-12-08 David Kilzer <ddkilzer@apple.com>
1162 Bug 22555: Sort "children" sections in Xcode project files
1164 <https://bugs.webkit.org/show_bug.cgi?id=22555>
1166 Reviewed by Timothy Hatcher.
1168 * Scripts/sort-Xcode-project-file: By popular request, don't sort
1169 the mainGroup in the project (the list of items below the top-level
1172 2008-12-05 David Kilzer <ddkilzer@apple.com>
1174 Bug 22555: Sort "children" sections in Xcode project files
1176 <https://bugs.webkit.org/show_bug.cgi?id=22555>
1178 Reviewed by Darin Adler.
1180 Sort "children" sections alphabetically, moving groups (folders) to
1181 the top of each of the lists. Files are assumed to have extensions,
1182 so %isFile is used to override this behavior.
1184 * Scripts/sort-Xcode-project-file:
1185 (sortChildrenByFileName): Added.
1186 (sortFilesByFileName): Renamed from sortByFileName().
1188 2008-12-05 Eric Seidel <eric@webkit.org>
1190 Reviewed by Geoff Garen.
1192 https://bugs.webkit.org/show_bug.cgi?id=22683
1193 Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
1194 Add a new argumentsForConfiguration() function and clean up some old code to use it.
1195 Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
1197 * Scripts/run-javascriptcore-tests:
1198 * Scripts/run-launcher:
1199 * Scripts/run-webkit-tests:
1200 * Scripts/webkitdirs.pm:
1202 2008-12-03 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
1204 Reviewed by Cameron Zwarich.
1206 Further preparations for WML layout tests.
1207 Ignore WMLTestCase.js, that's going to be in trunk soon.
1209 * Scripts/make-js-test-wrappers:
1211 2008-12-03 Eric Seidel <eric@webkit.org>
1213 Build fix for --gtk and --chromium, no review.
1215 Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
1216 through to build-jsc.
1218 * Scripts/build-jsc:
1219 * Scripts/webkitdirs.pm:
1221 2008-12-03 Eric Seidel <eric@webkit.org>
1223 Build fix only, no review.
1225 Remove support for build-webkit --svg-experimental.
1226 All of the "experimental" svg features have their own toggles anyway.
1227 I broke --svg-experimental in my last commit (which then broke clean builds)
1228 I can't find any use of --svg-experimental in our source tree, so removing it.
1230 * Scripts/build-webkit:
1232 2008-12-02 Eric Seidel <eric@webkit.org>
1234 Reviewed by David Hyatt (and Mark Rowe).
1236 Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
1237 Move --coverage support out of run-javascriptcore-tests and into build-jsc
1239 Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
1240 there from build-webkit (to allow future sharing with other build-* scripts)
1242 Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
1243 picking through ARGV with a blacklist of what arguments weren't jsDriver args
1244 this makes run-javascriptcore-tests transparently support all arguments which
1245 webkitdirs.pm gives it support for.
1247 Make run-javascriptcore-tests actually print what commands it's running before running them.
1249 Add --help support to build-jsc and run-javascriptcore-tests!
1251 Make code to support --svg-experimental defaults take up half as many lines.
1253 * Scripts/build-jsc:
1254 * Scripts/build-webkit:
1255 * Scripts/run-javascriptcore-tests:
1256 * Scripts/webkitdirs.pm:
1258 2008-12-03 Adam Roben <aroben@apple.com>
1260 Fix a leak in WinLauncher shutdown
1262 Reviewed by Sam Weinig.
1264 * WinLauncher/WinLauncher.cpp:
1265 (_tWinMain): Replaced a delete with a Release. We can't delete the
1266 WebView properly since we only have a pointer to one of its
1267 interfaces. We also shouldn't be deleting COM objects directly anyway,
1268 for a number of reasons.
1270 2008-12-03 Adam Roben <aroben@apple.com>
1272 Fix a crash on exit in WinLauncher
1274 Reviewed by Sam Weinig.
1276 * WinLauncher/WinLauncher.cpp:
1277 (_tWinMain): Call shutDownWebKit before exiting.
1279 2008-12-03 Adam Roben <aroben@apple.com>
1281 Add a Debug_Internal configuration to WinLauncher
1283 This matches our other projects.
1285 Reviewed by Sam Weinig.
1287 * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
1288 configuration, which is identical to Debug except that it also
1289 references debug_internal.vsprops. Also removed some settings that we
1290 should be picking up from the .vsprops files.
1292 2008-12-02 Eric Seidel <eric@webkit.org>
1294 Reviewed by David Kilzer.
1296 Hack build-webkit --chromium to use Win32 python instead
1297 of using the default cygwin python. Scons + CYGWIN tries
1298 to build with GCC by default, we force MSVC in our file
1299 but that just results in errors from Scons. Until we can fix
1300 this latest round of errors, at least make build-webkit --chromium
1301 actually "work" under CYGWIN instead of forcing users to use
1302 a cmd shell directly.
1304 This is working around a Scons bug:
1305 http://scons.tigris.org/issues/show_bug.cgi?id=2266
1307 * Scripts/webkitdirs.pm:
1309 2008-12-01 David Kilzer <ddkilzer@apple.com>
1311 Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
1313 <https://bugs.webkit.org/show_bug.cgi?id=22466>
1314 <rdar://problem/6403593>
1316 Reviewed by Brady Eidson.
1318 * DumpRenderTree/mac/DumpRenderTree.mm:
1319 (normalizeHTTPResponseHeaderFields): Added. Normalizes Date, Etag,
1320 Keep-Alive, Last-Modified and Server header fields to prevent false
1321 positive test failures.
1322 (convertWebResourceResponseToDictionary): Call
1323 normalizeHTTPResponseHeaderFields() to noramlize HTTP response
1326 2008-12-01 David D. Kilzer <ddkilzer@webkit.org>
1328 Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
1330 <https://bugs.webkit.org/show_bug.cgi?id=22559>
1332 Reviewed by Adam Roben.
1334 * Scripts/bisect-builds: Updated status message to report the
1335 maximum number of builds left to test after the current one.
1338 2008-11-27 Alp Toker <alp@nuanti.com>
1340 Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
1341 API header breakage at build time.
1345 2008-11-26 Eric Seidel <eric@webkit.org>
1347 Reviewed by Nikolas Zimmermann and Mark Rowe.
1349 Add support for build-webkit --chromium
1350 https://bugs.webkit.org/show_bug.cgi?id=22515
1351 More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
1353 * Scripts/build-dumprendertree:
1354 * Scripts/build-jsc:
1355 * Scripts/build-webkit:
1356 * Scripts/gdb-safari:
1357 * Scripts/run-webkit-tests:
1358 * Scripts/webkitdirs.pm:
1360 2008-11-26 Eric Seidel <eric@webkit.org>
1362 Reviewed by Nikolas Zimmermann.
1364 Add support for build-webkit --chromium (tested on mac)
1365 https://bugs.webkit.org/show_bug.cgi?id=22515
1366 Also simplified some code using checkArgv
1368 * Scripts/build-webkit:
1369 * Scripts/webkitdirs.pm:
1371 2008-11-26 Eric Seidel <eric@webkit.org>
1373 Reviewed by Nikolas Zimmermann.
1375 More pre-work for adding a build-webkit --chromium which works on Mac and Windows
1376 https://bugs.webkit.org/show_bug.cgi?id=22515
1377 Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
1378 in preparation for having a chromium cygwin and chromium mac build
1380 * Scripts/build-webkit:
1381 * Scripts/webkitdirs.pm:
1383 2008-11-26 Eric Seidel <eric@webkit.org>
1385 Reviewed by Nikolas Zimmermann.
1387 Pre-work for getting build-webkit --chromium to work
1388 https://bugs.webkit.org/show_bug.cgi?id=22515
1389 Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
1391 * Scripts/build-dumprendertree:
1392 * Scripts/build-jsc:
1393 * Scripts/build-webkit:
1394 * Scripts/gdb-safari:
1395 * Scripts/run-javascriptcore-tests:
1396 * Scripts/run-webkit-tests:
1397 * Scripts/webkitdirs.pm:
1399 2008-11-26 David Kilzer <ddkilzer@apple.com>
1401 Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
1403 <https://bugs.webkit.org/show_bug.cgi?id=22488>
1405 Reviewed by Brady Eidson.
1407 * DumpRenderTree/mac/DumpRenderTree.mm:
1408 (convertWebResourceDataToString): If an IANA charset encoding string
1409 is provided, convert it to a CFStringEncoding value and then to an
1410 NSStringEncoding value, else fall back to NSUTF8StringEncoding. We
1411 also nil-check dataAsString, so the worst-case scenario is that the
1412 data won't be decoded to a string (versus crashing DumpRenderTree).
1414 2008-11-26 Jan Michael Alonzo <jmalonzo@webkit.org>
1416 Reviewed by Holger Freyther.
1418 [Gtk] add/remove tests from Skipped and fix netscape plugin test
1419 https://bugs.webkit.org/show_bug.cgi?id=22484
1421 Remove print'ing to stderr
1423 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
1427 2008-11-25 Steve Falkenburg <sfalken@apple.com>
1431 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1433 2008-11-25 Steve Falkenburg <sfalken@apple.com>
1437 * DumpRenderTree/cg/ImageDiffCG.cpp:
1439 2008-11-24 Darin Fisher <darin@chromium.org>
1443 https://bugs.webkit.org/show_bug.cgi?id=15643
1445 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1446 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1448 2008-11-24 Glenn Wilson <gwilson@chromium.org>
1450 Reviewed by Alexey Proskuryakov.
1452 http://bugs.webkit.org/show_bug.cgi?id=15643
1454 Added support for changing the "trailing whitespace" work-around
1455 in LayoutTestController (so layout tests can verify this functionality)
1457 * DumpRenderTree/LayoutTestController.cpp:
1458 (setSelectTrailingWhitespaceEnabledCallback):
1459 (LayoutTestController::staticFunctions):
1460 * DumpRenderTree/LayoutTestController.h:
1461 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1462 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1463 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1464 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1466 2008-11-24 Simon Fraser <simon.fraser@apple.com>
1468 Reviewed by Darin Adler
1470 https://bugs.webkit.org/show_bug.cgi?id=22433
1472 Add script that attempts to detect virtual methods
1473 whose signatures differ only by constness (which can
1474 indicate a programming error).
1476 * Scripts/detect-mismatched-virtual-const: Added.
1478 2008-11-24 Zan Dobersek <zandobersek@gmail.com>
1480 Reviewed by Holger Freyther.
1482 https://bugs.webkit.org/show_bug.cgi?id=22039
1484 [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
1487 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1488 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1489 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1490 (setDefaultsToConsistentStateValuesForTesting):
1491 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
1492 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
1493 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
1496 2008-11-24 Holger Hans Peter Freyther <zecke@selfish.org>
1498 Reviewed by Mark Rowe.
1500 [Gtk+] Add configure option to enable Web Workers and enable it by default
1502 Add --enable-workers to the buildsystem (used by build-webkit) add
1503 the to be build files to the GNUmakefile.am and change build-webkit
1504 to enable Web Workers by default.
1506 * Scripts/build-webkit:
1508 2008-11-24 Mark Rowe <mrowe@apple.com>
1510 Reviewed by Alexey Proskuryakov.
1512 Let gdb-safari accept the --debug and --release options once more.
1514 * Scripts/gdb-safari:
1516 2008-11-23 Zan Dobersek <zandobersek@gmail.com>
1518 Reviewed by Holger Freyther. Landed by Jan Alonzo.
1520 Get SVG tests tested on GTK port.
1522 * Scripts/webkitdirs.pm:
1524 2008-11-19 Greg Bolsinga <bolsinga@apple.com>
1526 Reviewed by Darin Adler.
1528 https://bugs.webkit.org/show_bug.cgi?id=21810
1529 Remove use of static C++ objects that are destroyed at exit time (destructors)
1531 All static C++ objects that create atexit calls are gone. Update script
1532 to indicate how to fix the problem should a new one appear.
1534 * Scripts/check-for-exit-time-destructors:
1536 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
1538 Reviewed by Darin Adler.
1540 https://bugs.webkit.org/show_bug.cgi?id=22337
1541 Enable workers by default
1543 * Scripts/build-webkit: Changed the default to enabled.
1545 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
1547 Rubber-stamped by Darin Adler.
1549 https://bugs.webkit.org/show_bug.cgi?id=22306
1550 Disable channel messaging support
1552 * Scripts/build-webkit: Add an option to enable channel messaging.
1554 2008-11-17 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
1556 Reviewed by George Staikos.
1558 Add --(no-)wml build flags.
1560 * Scripts/build-webkit:
1561 * Scripts/run-webkit-tests:
1562 * Scripts/webkitdirs.pm:
1564 2008-11-17 Geoffrey Garen <ggaren@apple.com>
1568 Try to fix gtk build.
1570 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1571 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1572 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1574 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
1578 Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
1581 https://bugs.webkit.org/show_bug.cgi?id=22271
1583 * Scripts/run-webkit-tests:
1585 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
1587 Reviewed by Sam Weinig.
1589 Added new JavaScript API on LayoutController to pause a running
1590 CSS transition or animation at a given time.
1592 https://bugs.webkit.org/show_bug.cgi?id=21261
1594 * DumpRenderTree/LayoutTestController.cpp:
1595 (pauseAnimationAtTimeOnElementWithIdCallback):
1596 (pauseTransitionAtTimeOnElementWithIdCallback):
1597 (LayoutTestController::staticFunctions):
1598 * DumpRenderTree/LayoutTestController.h:
1599 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1600 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1601 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1602 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1603 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1604 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1606 2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
1608 Reviewed by Darin Adler.
1610 <https://bugs.webkit.org/show_bug.cgi?id=22309>
1611 Pass the remaining options to build system on Qt-port
1613 * Scripts/build-webkit:
1614 * Scripts/webkitdirs.pm:
1616 2008-11-16 Greg Bolsinga <bolsinga@apple.com>
1618 Reviewed by Darin Adler.
1620 https://bugs.webkit.org/show_bug.cgi?id=21810
1621 Remove use of static C++ objects that are destroyed at exit time (destructors)
1623 Remove .o files from the exclude list that have had their exit-time destructors removed.
1624 Handle case when there is no current symbol.
1626 * Scripts/check-for-exit-time-destructors:
1628 2008-11-16 Sam Weinig <sam@webkit.org>
1630 * Scripts/do-webcore-rename: Remove now fixed renames.
1632 2008-11-16 Darin Adler <darin@apple.com>
1634 * Scripts/do-webcore-rename: Plan some future renames.
1636 2008-11-15 Darin Adler <darin@apple.com>
1638 Rubber stamped by Geoff Garen.
1640 - do the long-planned StructureID -> Structure rename
1642 * Scripts/check-for-global-initializers: Update name of StructureID.o.
1643 * Scripts/do-webcore-rename: Renaming script that I used.
1645 2008-11-15 Greg Bolsinga <bolsinga@apple.com>
1647 Reviewed by Darin Adler.
1649 https://bugs.webkit.org/show_bug.cgi?id=21810
1650 Remove use of static C++ objects that are destroyed at exit time (destructors)
1652 Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
1653 exit-time destructor. Update code that was changed to fix this issue that ran
1654 into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
1655 in gcc build 5465). Also typdefs for template types needed to be added in some
1656 cases so the type could make it through the macro successfully.
1658 Basically code of the form:
1661 DEFINE_STATIC_LOCAL(T, m, ());
1663 Also any code of the form:
1664 static T& m = *new T;
1666 DEFINE_STATIC_LOCAL(T, m, ());
1668 Remove .o files from the exclude list that have had their exit-time destructors removed.
1670 * Scripts/check-for-exit-time-destructors:
1672 2008-11-14 Kevin Ollivier <kevino@theolliviers.com>
1674 wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
1676 * wx/install-unix-extras:
1678 2008-11-14 Alp Toker <alp@nuanti.com>
1680 GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
1682 Fixes Debian bug #505723
1683 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
1685 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1687 2008-11-14 Krishna <krishnamurty.podipireddy@nokia.com>
1689 Reviewed by Simon Hausmann.
1691 Fix hanging DRT with Qt.
1693 https://bugs.webkit.org/show_bug.cgi?id=22209
1695 * DumpRenderTree/qt/DumpRenderTree.cpp:
1696 (WebCore::DumpRenderTree::dump):
1697 Send empty pixel test data 'block', which is now
1698 expected by run-layout-tests.
1700 2008-11-12 Dmitry Titov <dimich@chromium.org>
1702 Reviewed by Alexey Proskuryakov.
1704 https://bugs.webkit.org/show_bug.cgi?id=22216
1706 * Scripts/build-webkit:
1707 Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
1709 2008-11-06 David Kilzer <ddkilzer@apple.com>
1711 BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
1713 Apparently older versions of gcc have issues with this patch.
1714 Backing out a second time until the issues are resolved.
1716 2008-11-06 David Kilzer <ddkilzer@apple.com>
1718 BUILD WAS NOT BROKEN: Rolling r38189 back in.
1720 Please perform a clean build if you see crashes.
1722 2008-11-06 David Kilzer <ddkilzer@apple.com>
1724 BUILD FIX: Backed out r38189 since it apparently broke the world.
1726 2008-11-06 Chris Fleizach <cfleizach@apple.com>
1728 Reviewed by Beth Dakin.
1730 Add ability to query an attribute's settable status and the
1731 ability to retrieve a single attribute from an AXObject
1733 * DumpRenderTree/AccessibilityUIElement.cpp:
1734 (isAttributeSettableCallback):
1735 (attributeValueCallback):
1736 (AccessibilityUIElement::getJSClass):
1737 * DumpRenderTree/AccessibilityUIElement.h:
1738 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1739 (+[NSString stringWithJSStringRef:]):
1740 (AccessibilityUIElement::attributeValue):
1741 (AccessibilityUIElement::isAttributeSettable):
1742 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1743 (AccessibilityUIElement::attributeValue):
1744 (AccessibilityUIElement::isAttributeSettable):
1746 2008-11-06 Greg Bolsinga <bolsinga@apple.com>
1748 Reviewed by Darin Adler.
1750 Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
1751 https://bugs.webkit.org/show_bug.cgi?id=21810
1753 Remove .o files from the exclude list that have had their exit-time destructors removed.
1755 * Scripts/check-for-exit-time-destructors:
1757 2008-11-05 Alp Toker <alp@nuanti.com>
1759 GTK build script tweak.
1761 Make the path relative since it will appear in all -I compiler flags.
1762 Long argument lists cause bizarre slowdowns in libtool and result
1765 * Scripts/webkitdirs.pm:
1767 2008-11-05 Anders Carlsson <andersca@apple.com>
1771 * DumpRenderTree/mac/DumpRenderTree.mm:
1772 (setDefaultsToConsistentValuesForTesting):
1774 2008-11-04 Simon Fraser <simon.fraser@apple.com>
1776 Add AccessibilityObject.o to the exclude list for the
1777 check for global destructors.
1779 * Scripts/check-for-exit-time-destructors:
1781 2008-11-04 Darin Adler <darin@apple.com>
1783 * Scripts/check-for-exit-time-destructors: Fix failures seen on the
1784 bot, but for some reason not on my computer.
1786 2008-11-03 Darin Adler <darin@apple.com>
1788 Reviewed by Tim Hatcher.
1790 - https://bugs.webkit.org/show_bug.cgi?id=22061
1791 create script to check for exit-time destructors
1793 * Scripts/check-for-exit-time-destructors: Added.
1794 Started as a copy of check-for-global-initializers.
1796 * Scripts/check-for-global-initializers: Added code to make
1797 this script rerun any time it's modified, and also to properly
1798 run again after the first time it reports an error.
1800 2008-11-03 Pierre-Olivier Latour <pol@apple.com>
1802 Reviewed by Dan Bernstein.
1804 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
1806 https://bugs.webkit.org/show_bug.cgi?id=22054
1808 * DumpRenderTree/mac/DumpRenderTree.mm:
1809 (setDefaultsToConsistentValuesForTesting):
1811 2008-10-31 Cameron Zwarich <zwarich@apple.com>
1815 * Scripts/do-webcore-rename:
1817 Add some renames to contemplate for the future.
1819 2008-10-31 Darin Adler <darin@apple.com>
1821 Requested by Mark Rowe.
1823 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
1825 2008-10-31 David Kilzer <ddkilzer@apple.com>
1827 Bug 21997: prepare-ChangeLog should filter out ChangeLog files
1829 <https://bugs.webkit.org/show_bug.cgi?id=21997>
1831 Reviewed by Darin Adler.
1833 * Scripts/prepare-ChangeLog:
1834 (generateFileList): Don't add ChangeLog files to %{$functionLists}.
1835 This prevents them from showing up in the new ChangeLog entry. They
1836 were already excluded from @{$changedFiles}.
1838 2008-10-30 Mark Rowe <mrowe@apple.com>
1840 Reviewed by Jon Homeycutt.
1842 Explicitly default to building for only the native architecture in debug and release builds.
1844 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1846 2008-10-30 Pierre-Olivier Latour <pol@apple.com>
1848 Reviewed by Dan Bernstein.
1850 Fixed 64 bit build failure.
1852 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1853 (setupMainDisplayColorProfile):
1854 (createBitmapContextFromWebView):
1856 2008-10-28 Alp Toker <alp@nuanti.com>
1858 Fix GTK DRT following build breakage in r37928.
1860 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1865 2008-10-28 Alp Toker <alp@nuanti.com>
1867 Reviewed by Mark Rowe.
1869 Fix recently introduced double-free crashes in GTK DRT.
1871 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
1872 were updated to call ->deref() but GTK DRT was still deleting
1873 gLayoutTestController manually. This patch updates GTK to match the
1874 other ports and resolves the memory allocation issues.
1876 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1879 2008-10-28 Alp Toker <alp@nuanti.com>
1881 Reviewed by Mark Rowe.
1883 Fix GTK DRT hang when running the tests.
1885 Update output from the DRT tool to print an additional '#EOF' to match
1886 breaking changes that were made in r37434.
1888 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1891 2008-10-28 Adele Peterson <adele@apple.com>
1893 Reviewed by Sam Weinig.
1895 Specify which Localizable.strings to update since we don't always want to update the file in the same
1896 directory where we're searching for the strings to localize.
1898 * Scripts/extract-localizable-strings:
1899 * Scripts/update-webkit-localizable-strings:
1901 2008-10-28 Timothy Hatcher <timothy@apple.com>
1903 Add support for enabling the profiler, so the profiling tests can continue
1904 work now that the profiler is not always enabled.
1906 https://bugs.webkit.org/show_bug.cgi?id=21927
1908 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
1909 not slow down JavaScript all the time
1911 Reviewed by Darin Adler and Kevin McCullough.
1913 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
1914 * DumpRenderTree/LayoutTestController.cpp:
1915 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
1916 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
1917 * DumpRenderTree/LayoutTestController.h:
1918 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1919 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
1920 * DumpRenderTree/mac/DumpRenderTree.mm:
1921 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
1922 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1923 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
1924 * DumpRenderTree/win/DumpRenderTree.cpp:
1925 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
1926 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1927 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
1929 2008-10-28 Pierre-Olivier Latour <pol@apple.com>
1931 Reviewed by Dan Bernstein
1933 Primary changes in DumpRenderTree:
1934 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
1935 is different from regular font CG anti-aliasing) as font-smoothing settings
1936 depends on the display and can also be changed by the user
1937 - Use a new cleared buffer for each test instead of the reusing same one to
1938 avoid potential result corruption across tests
1939 - Can now receive the expected pixel hash as a suffix to the test path or
1941 - Make sure hash is computed in a endian-independent way
1942 - Improve the code that sets/restores the screen color profile
1943 - Make the code more cross-platformy with std::string goodness
1944 - Added an "on-screen" mode where the snapshot will take into account surfaces
1945 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
1946 reading from the display framebuffer on 10.4. This mode is not active by
1947 default for performance reason, but must be explicitly activated from the test
1948 file using the new "testOnscreen()" JS API.
1950 Primary changes in ImageDiff:
1951 - Provide a new comparison algorithm that is more tolerant to "acceptable"
1952 failures (i.e. very small differences in font rendering, which --threshold is
1953 not really good at handling)
1954 - Generate normalized intensity-only diff images
1956 Primary changes in run-webkit-tests:
1957 - Take advantage of hashes for pixel tests which makes them much faster by
1958 minimizing image comparisons
1959 - Removed repaint options as these should be set from within test files using
1961 - Replaced "threshold" option in by "tolerance" expressed in percents
1962 - Added more logging when in "verbose" mode
1964 https://bugs.webkit.org/show_bug.cgi?id=21322
1965 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1966 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
1967 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
1968 * DumpRenderTree/LayoutTestController.cpp:
1969 (LayoutTestController::LayoutTestController):
1970 (testOnscreenCallback):
1971 (LayoutTestController::staticFunctions):
1972 * DumpRenderTree/LayoutTestController.h:
1973 (LayoutTestController::testOnscreen):
1974 (LayoutTestController::setTestOnscreen):
1975 (LayoutTestController::testPathOrURL):
1976 (LayoutTestController::expectedPixelHash):
1977 * DumpRenderTree/PixelDumpSupport.h:
1978 * DumpRenderTree/cg/ImageDiffCG.cpp:
1980 (releaseMallocBuffer):
1981 (createDifferenceImage):
1984 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1985 (computeMD5HashStringForBitmapContext):
1986 (dumpWebViewAsPixelsAndCompareWithExpected):
1987 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1988 (BitmapContext::createByAdoptingBitmapAndContext):
1989 (BitmapContext::~BitmapContext):
1990 (BitmapContext::cgContext):
1991 (BitmapContext::BitmapContext):
1992 * DumpRenderTree/mac/DumpRenderTree.mm:
1993 (shouldIgnoreWebCoreNodeLeaks):
1994 (setDefaultsToConsistentValuesForTesting):
1996 (initializeGlobalsFromCommandLineOptions):
1997 (prepareConsistentTestingEnvironment):
1999 (sizeWebViewForCurrentTest):
2002 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2003 (restoreMainDisplayColorProfile):
2004 (setupMainDisplayColorProfile):
2005 (createBitmapContextFromWebView):
2006 * DumpRenderTree/win/DumpRenderTree.cpp:
2009 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2010 (getBitmapContextFromWebView):
2011 * Scripts/run-webkit-tests:
2013 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
2015 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
2017 * wx/build-wxwebkit:
2019 2008-10-24 Anders Carlsson <andersca@apple.com>
2021 Try fixing the 64-bit build.
2023 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2026 2008-10-24 Anders Carlsson <andersca@apple.com>
2028 Reviewed by Sam Weinig.
2030 <rdar://problem/5440917> Support NPN_Construct
2032 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2037 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
2040 Handle testConstruct.
2042 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2044 Add objectPointer property.
2047 Only enumerate the two first properties.
2050 Add a simple construct implementation that just returns the test object.
2052 2008-10-24 David Kilzer <ddkilzer@apple.com>
2054 Bug 21850: svn-apply and svn-unapply should preserve patch line endings
2056 <https://bugs.webkit.org/show_bug.cgi?id=21850>
2058 Reviewed by Adam Roben.
2060 * Scripts/svn-apply: Save end-of-line characters when stripping them
2061 off each line of a patch so that they may be restored after
2062 processing the line.
2063 * Scripts/svn-unapply: Ditto.
2065 2008-10-23 David Kilzer <ddkilzer@apple.com>
2067 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
2069 <https://bugs.webkit.org/show_bug.cgi?id=21832>
2071 Reviewed by Sam Weinig.
2073 * Scripts/bisect-builds: Use imported tempfile() from File::Temp
2074 instead of 'new File::Temp' to make the script work with Perl 5.10.
2075 * Scripts/sort-Xcode-project-file: Ditto.
2077 2008-10-22 Brady Eidson <beidson@apple.com>
2079 Reviewed by Adam Roben
2081 <rdar://6261773> - autocomplete="off" doesn't work on Windows
2083 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
2085 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2087 2008-10-22 Darin Adler <darin@apple.com>
2089 * Scripts/do-webcore-rename: More renaming plans.
2091 2008-10-21 Steve Falkenburg <sfalken@apple.com>
2093 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
2095 * Scripts/extract-localizable-strings:
2097 2008-10-17 Maciej Stachowiak <mjs@apple.com>
2099 Reviewed by Mark Rowe.
2101 - default to 1000 tests per dump tool instance again, now that CTI no longer causes
2102 excess different stack logs.
2104 (Also fix a small bug in my last change.)
2106 * Scripts/run-webkit-tests:
2108 2008-10-17 Stephanie Lewis <slewis@apple.com>
2110 Reviewed by Mark Rowe.
2112 Fix layout tests that use prologues and epilogues.
2114 * Scripts/run-webkit-tests:
2116 2008-10-17 Maciej Stachowiak <mjs@apple.com>
2118 Reviewed by Mark Rowe.
2120 - make sure MallocStackLogging is only on for tools we want to
2121 leak check, not other random stuff as well.
2123 * Scripts/run-webkit-tests:
2125 2008-10-17 Maciej Stachowiak <mjs@apple.com>
2127 Reviewed by Stephanie Lewis.
2129 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
2131 This should reduce or eliminate crashes on the buildbot due to
2132 running out of memory while stack logging.
2134 * Scripts/run-webkit-tests:
2136 2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
2138 Gtk build fix. Not reviewed.
2140 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2141 (LayoutTestController::setSmartInsertDeleteEnabled):
2143 2008-10-15 Glenn Wilson <gwilson@google.com>
2145 Added new method to allow tests to disable smart editing in the course of a test.
2146 This is a possible solution to bug .20655
2148 Reviewed by Tim Hatcher.
2150 * DumpRenderTree/LayoutTestController.cpp:
2151 (setSmartInsertDeleteEnabledCallback): new method
2152 (LayoutTestController::staticFunctions): added new method to static list of callbacks
2153 * DumpRenderTree/LayoutTestController.h: added signature of new method
2154 * DumpRenderTree/mac/DumpRenderTree.mm:
2155 (resetWebViewToConsistentStateBeforeTesting): added state resetting
2156 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2157 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2158 * DumpRenderTree/win/DumpRenderTree.cpp:
2159 (resetWebViewToConsistentStateBeforeTesting): added state resetting
2160 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2161 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2163 2008-10-14 Ada Chan <adachan@apple.com>
2167 Reviewed by Sam Weinig.
2169 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2170 * DumpRenderTree/config.h:
2171 * DumpRenderTree/win/DumpRenderTreeWin.h:
2172 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2173 * DumpRenderTree/win/UIDelegate.cpp:
2175 2008-10-13 Timothy Hatcher <timothy@apple.com>
2177 Make prepare-ChangeLog populate the changed functions for JavaScript files.
2179 https://bugs.webkit.org/show_bug.cgi?id=21567
2181 Reviewed by David Kilzer.
2183 * Scripts/prepare-ChangeLog:
2184 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
2185 files that end with ".js".
2186 (get_function_line_ranges_for_javascript): Find functions, anonymous functions
2187 and getters/setters.
2189 2008-10-14 Alp Toker <alp@nuanti.com>
2191 Reviewed by Sam Weinig.
2193 https://bugs.webkit.org/show_bug.cgi?id=16299
2194 Add a config.h file to DRT
2196 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
2197 an ad-hoc config header.
2199 * DumpRenderTree/AccessibilityController.cpp:
2200 * DumpRenderTree/AccessibilityUIElement.cpp:
2201 * DumpRenderTree/AccessibilityUIElement.h:
2202 * DumpRenderTree/DumpRenderTree.h:
2203 * DumpRenderTree/GCController.cpp:
2204 * DumpRenderTree/LayoutTestController.cpp:
2205 * DumpRenderTree/WorkQueue.cpp:
2206 * DumpRenderTree/config.h: Added.
2207 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2208 * DumpRenderTree/gtk/GCControllerGtk.cpp:
2209 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2210 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2211 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
2212 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2213 * DumpRenderTree/win/DumpRenderTree.cpp:
2214 * DumpRenderTree/win/DumpRenderTreeWin.h:
2215 * DumpRenderTree/win/EditingDelegate.cpp:
2216 * DumpRenderTree/win/EventSender.cpp:
2217 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2218 * DumpRenderTree/win/GCControllerWin.cpp:
2219 * DumpRenderTree/win/MD5.cpp:
2220 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2221 * DumpRenderTree/win/PolicyDelegate.cpp:
2222 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2223 * DumpRenderTree/win/WorkQueueItemWin.cpp:
2226 2008-10-13 Chris Fleizach <cfleizach@apple.com>
2228 Reviewed by Beth Dakin.
2230 Added a method to get the links in a webpage
2232 * DumpRenderTree/AccessibilityUIElement.cpp:
2233 (attributesOfDocumentLinksCallback):
2234 (AccessibilityUIElement::getJSClass):
2235 * DumpRenderTree/AccessibilityUIElement.h:
2236 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2237 (AccessibilityUIElement::getDocumentLinks):
2238 (AccessibilityUIElement::attributesOfDocumentLinks):
2239 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2240 (AccessibilityUIElement::getDocumentLinks):
2241 (AccessibilityUIElement::attributesOfDocumentLinks):
2243 2008-10-13 David Kilzer <ddkilzer@apple.com>
2245 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
2247 <https://bugs.webkit.org/show_bug.cgi?id=21457>
2251 * Scripts/resolve-ChangeLogs: Added optional parameter to
2252 -f|--fix-merged switch to run the script on a revision range.
2253 Updated command-line validation checks.
2254 (findChangeLog): Fixed long-standing bug that should have used
2255 $_[0] instead of $_.
2256 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
2257 to work when called from git filter-branch. It always restores a
2258 copy of the previous revision before reapplying the patch.
2259 (fixMergedChangeLogs): Added. Calls itself through git filter-branch
2260 to re-merge ChangeLog files across a revision range. Removes
2261 .git/refs/original directory on success.
2262 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged
2264 (removeChangeLogArguments): Added. Removes items from @ARGV when
2265 they are ChangeLog paths, and return a list of paths. This makes it
2266 easier to validate the command-line.
2267 (resolveChangeLog): Added. Extracted from main code block. Runs
2268 the traditional single-file merge algorithm.
2269 (usageAndExit): Added. Extracted from main code block. Prints
2270 usage statement and exits with error status.
2272 2008-10-12 Darin Adler <darin@apple.com>
2274 * Scripts/make-js-test-wrappers: Update exceptions list so the script
2275 won't overwrite files and mangle tests.
2277 2008-10-11 Dan Bernstein <mitz@apple.com>
2279 Reviewed by Sam Weinig and Anders Carlsson.
2281 - update Mac DumpRenderTree to use the new WebView SPI for forcing the
2282 complex text code path
2283 - add --complex-text support to Windows DumpRenderTree
2285 * DumpRenderTree/mac/DumpRenderTree.mm:
2287 * DumpRenderTree/win/DumpRenderTree.cpp:
2288 (createWebViewAndOffscreenWindow):
2290 * Scripts/run-webkit-tests:
2292 2008-10-09 Eric Seidel <eric@webkit.org>
2294 Reviewed by Oliver Hunt.
2296 https://bugs.webkit.org/show_bug.cgi?id=21498
2298 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
2300 2008-10-09 Cameron Zwarich <zwarich@apple.com>
2304 Add StructureID.o to the exclusion list in the global initializers
2305 script to fix the Debug build.
2307 * Scripts/check-for-global-initializers:
2309 2008-10-08 Mark Rowe <mrowe@apple.com>
2311 Fix the Windows build after r37434.
2313 * DumpRenderTree/win/DumpRenderTree.cpp:
2314 (dump): Update code to approximate valid C++ syntax.
2316 2008-10-08 Timothy Hatcher <timothy@apple.com>
2318 Add SVGElementInstance to the list of exceptions that have
2319 global initializers in debug builds.
2321 Rubber-stamped by Mark Rowe.
2323 * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
2325 2008-10-08 Simon Fraser <simon.fraser@apple.com>
2327 Reviewed by Dan Bernstein
2329 Avoid disconnect between DRT and run-webkit-tests
2330 about whether to expect PNG dumps by having DRT always
2331 print two blocks terminated by #EOF, the second of which
2334 https://bugs.webkit.org/show_bug.cgi?id=21483
2336 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2338 (dumpWebViewAsPixelsAndCompareWithExpected):
2339 * DumpRenderTree/mac/DumpRenderTree.mm:
2341 * DumpRenderTree/win/DumpRenderTree.cpp:
2343 * Scripts/run-webkit-tests:
2345 2008-10-07 Adam Roben <aroben@apple.com>
2347 Make sure short functions get included in ChangeLog output for git
2350 Reviewed by Dave Kilzer.
2352 * Scripts/prepare-ChangeLog:
2353 (sub diffCommand): Pass -U0 to git diff so that each contiguous change
2354 will get its own chunk without any surrounding context.
2355 (sub extractLineRange): Use the line numbers from the chunk header
2356 without modifying them now that they're accurate.
2358 2008-10-04 Mark Rowe <mrowe@apple.com>
2360 Reviewed by Tim Hatcher.
2362 Update check-for-weak-vtables to check only the final linked image for weak vtables.
2363 This gives more useful results than checking each object file independently.
2365 * Scripts/check-for-weak-vtables:
2367 2008-10-03 Pierre-Olivier Latour <pol@apple.com>
2369 Reviewed by Darin Adler
2371 Render images to RGBA8 bitmaps independently of platform endianness.
2373 Create image difference bitmap in reference image colorspace instead of device colorspace
2374 (which depends on the main display profile), so that no color matching happens.
2376 https://bugs.webkit.org/show_bug.cgi?id=21336
2378 * DumpRenderTree/cg/ImageDiffCG.cpp:
2379 (createDifferenceBitmap):
2380 (computePercentageDifferent):
2383 2008-10-02 Simon Fraser <simon.fraser@apple.com>
2385 Reviewed by Darin Adler
2387 Fix hang when running with --pixel --reset, which occurs
2388 because DRT spews PNG data when the script does not expect it.
2390 https://bugs.webkit.org/show_bug.cgi?id=21323
2392 * Scripts/run-webkit-tests:
2394 2008-09-30 Mark Rowe <mrowe@apple.com>
2396 Reviewed by Dan Bernstein.
2398 Add a leak counter for CachedResources since we've had two recent leaks involving them.
2400 * Scripts/check-for-global-initializers:
2402 2008-09-30 Mark Rowe <mrowe@apple.com>
2404 Rubber-stamped by Dan Bernstein.
2406 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
2408 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
2409 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
2410 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
2411 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
2412 torn down before we exit.
2414 * DumpRenderTree/mac/DumpRenderTree.mm:
2418 2008-09-30 Simon Fraser <simon.fraser@apple.com>
2420 Reviewed by Dan Bernstein
2422 Don't run pixel comparison for text-only tests.
2423 https://bugs.webkit.org/show_bug.cgi?id=21124
2425 * DumpRenderTree/mac/DumpRenderTree.mm:
2427 * Scripts/run-webkit-tests:
2429 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
2433 Changed copyright from Trolltech ASA to Nokia.
2435 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
2438 * DumpRenderTree/qt/DumpRenderTree.cpp:
2439 * DumpRenderTree/qt/jsobjects.cpp:
2440 * DumpRenderTree/qt/jsobjects.h:
2441 * DumpRenderTree/qt/main.cpp:
2442 * DumpRenderTree/qt/testplugin.cpp:
2443 * DumpRenderTree/qt/testplugin.h:
2445 2008-09-28 David Kilzer <ddkilzer@apple.com>
2447 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
2449 <https://bugs.webkit.org/show_bug.cgi?id=21185>
2453 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
2454 will attempt to reapply the last commit to a ChangeLog file such
2455 that the ChangeLog entry appears at the top of the file.
2456 (findChangeLog): Added prototype and moved method below the exit
2458 (fixMergedChangeLog): Added. Method to fix incorrectly merged
2461 2008-09-27 Anders Carlsson <andersca@apple.com>
2463 Reviewed by Sam Weinig.
2465 https://bugs.webkit.org/show_bug.cgi?id=21178
2466 <rdar://problem/6248651>
2468 Return the result value from getURL.
2470 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2473 2008-09-26 Matt Lilek <webkit@mattlilek.com>
2475 Reviewed by Tim Hatcher.
2477 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
2479 * Scripts/build-webkit:
2481 2008-09-26 Alice Liu <alice.liu@apple.com>
2483 Remove usage of atlstr.h and CString for VCExpress compatibility
2485 Reviewed by Stephanie Lewis.
2487 * record-memory-win/main.cpp:
2490 (QueryContinuously):
2494 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
2496 wx build fix. Update the version of libpng.
2498 * wx/install-unix-extras:
2500 2008-09-24 Sam Weinig <sam@webkit.org>
2502 Reviewed by Darin Adler.
2504 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
2505 <rdar://problem/6243534>
2506 Crash below Function.apply when using a runtime array as the argument list
2508 Add method to ObjCController to return a runtime array.
2510 * DumpRenderTree/mac/ObjCController.m:
2511 (+[ObjCController isSelectorExcludedFromWebScript:]):
2512 (+[ObjCController webScriptNameForSelector:]):
2513 (-[ObjCController testArray]):
2515 2008-09-24 Beth Dakin <bdakin@apple.com>
2517 Reviewed by Sam Weinig.
2519 Speculative build fix.
2521 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2522 (AccessibilityUIElement::supportsPressAction):
2524 2008-09-23 Beth Dakin <bdakin@apple.com>
2526 Reviewed by Sam Weinig.
2528 This patch extends DumpRenderTree's AccessibilityController to ask
2529 if the focused element supports the press action.
2531 * DumpRenderTree/AccessibilityUIElement.cpp:
2532 (getSupportsPressActionCallback):
2533 (AccessibilityUIElement::getJSClass):
2534 * DumpRenderTree/AccessibilityUIElement.h:
2535 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2536 (AccessibilityUIElement::supportsPressAction):
2538 2008-09-22 Alice Liu <alice.liu@apple.com>
2540 Adding a stand-alone Windows console application to record a process's memory usage
2542 Reviewed by Steve Falkenburg.
2544 * record-memory-win: Added.
2545 * record-memory-win/main.cpp: Added.
2546 * record-memory-win/record-memory-win.vcproj: Added.
2548 2008-09-22 Chris Fleizach <cfleizach@apple.com>
2550 Reviewed by Darin Adler.
2552 Support ability to get/set selected text ranges for text controls through AX.
2554 * DumpRenderTree/AccessibilityUIElement.cpp:
2555 (setSelectedTextRangeCallback):
2556 (getSelectedTextRangeCallback):
2557 (AccessibilityUIElement::getJSClass):
2558 * DumpRenderTree/AccessibilityUIElement.h:
2559 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2560 (AccessibilityUIElement::attributesOfRowHeaders):
2561 (AccessibilityUIElement::attributesOfVisibleCells):
2562 (AccessibilityUIElement::rowIndexRange):
2563 (AccessibilityUIElement::columnIndexRange):
2564 (AccessibilityUIElement::cellForColumnAndRow):
2565 (AccessibilityUIElement::selectedTextRange):
2566 (AccessibilityUIElement::setSelectedTextRange):
2567 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2568 (AccessibilityUIElement::selectedTextRange):
2569 (AccessibilityUIElement::setSelectedTextRange):
2571 2008-09-20 Darin Adler <darin@apple.com>
2573 * DumpRenderTree/mac/DumpRenderTree.mm:
2574 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
2576 2008-09-19 Alp Toker <alp@nuanti.com>
2578 Build fix for the 'gold' linker and recent binutils. New behaviour
2579 requires that we link to used libraries explicitly.
2583 2008-09-19 Stephanie Lewis <slewis@apple.com>
2585 Reviewed by Oliver Hunt.
2587 Implement a workaround for an incorrect mime-type on machines with
2588 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
2589 See radar <rdar://problem/6234318>.
2591 * DumpRenderTree/mac/DumpRenderTree.mm:
2594 2008-09-19 Chris Fleizach <cfleizach@apple.com>
2596 Fixed Windows bustage
2598 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2599 (AccessibilityUIElement::titleUIElement):
2601 2008-09-18 Chris Fleizach <cfleizach@apple.com>
2603 Reviewed by Darin Adler.
2605 Expose titleUIElement call for DumpRenderTree
2608 * DumpRenderTree/AccessibilityUIElement.cpp:
2609 (titleUIElementCallback):
2610 (AccessibilityUIElement::getJSClass):
2611 * DumpRenderTree/AccessibilityUIElement.h:
2612 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2613 (AccessibilityUIElement::titleUIElement):
2615 2008-09-18 Darin Adler <darin@apple.com>
2617 * Scripts/do-webcore-rename: More renaming plans.
2619 2008-09-18 Mark Rowe <mrowe@apple.com>
2621 Reviewed by Dan Bernstein.
2623 Clear the main frame's name between tests to get more consistent test results
2624 when running the WebKit tests with --nthly.
2626 * DumpRenderTree/mac/DumpRenderTree.mm:
2627 (resetWebViewToConsistentStateBeforeTesting):
2628 * DumpRenderTree/win/DumpRenderTree.cpp:
2629 (resetWebViewToConsistentStateBeforeTesting):
2631 2008-09-18 Stephanie Lewis <slewis@apple.com>
2633 Really fix tiger jsc tests.
2635 * Scripts/run-javascriptcore-tests:
2637 2008-09-18 Stephanie Lewis <slewis@apple.com>
2639 Reviewed by Maciej Stachowiak.
2641 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
2643 * Scripts/run-javascriptcore-tests:
2644 * Scripts/webkitdirs.pm:
2646 2008-09-18 Mark Rowe <mrowe@apple.com>
2648 Rubber-stamped by Sam Weinig.
2650 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
2651 This should make it more obvious when a test does this, as stderr output tends to be obscured
2652 by noise in the test results.
2654 Also fixes some coding style issues in ResourceLoadDelegate.mm.
2656 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2657 (-[NSError _drt_descriptionSuitableForTestResult]):
2658 (-[NSURL _drt_descriptionSuitableForTestResult]):
2659 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2660 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2661 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2662 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2663 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2664 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2666 2008-09-18 Stephanie Lewis <slewis@apple.com>
2668 Reviewed by Mark Rowe and Maciej Stachowiak..
2670 add a --64-bit option and specify which architecture to run on Mac.
2672 * Scripts/run-javascriptcore-tests:
2674 2008-09-17 Mark Rowe <mrowe@apple.com>
2676 Reviewed by Sam Weinig.
2678 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
2680 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
2681 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
2682 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
2684 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
2685 * DumpRenderTree/LayoutTestController.cpp:
2686 (LayoutTestController::LayoutTestController):
2687 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
2688 (layoutTestControllerObjectFinalize): Deref the wrapped object.
2689 (LayoutTestController::makeWindowObject): Ref the wrapped object.
2690 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
2691 * DumpRenderTree/mac/DumpRenderTree.mm:
2692 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
2693 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
2694 * DumpRenderTree/win/DumpRenderTree.cpp:
2695 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
2697 2008-09-16 Sam Weinig <sam@webkit.org>
2699 Reviewed by Mark Rowe.
2701 Add flag to disable running sample on tests that timeout.
2703 * Scripts/run-webkit-tests:
2705 2008-09-16 Adam Roben <aroben@apple.com>
2707 Windows build fix after r36511
2709 Update for rename of layoutTestController to gLayoutTestController.
2711 * DumpRenderTree/LayoutTestController.cpp:
2712 * DumpRenderTree/win/EditingDelegate.cpp:
2713 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2714 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2715 * DumpRenderTree/win/UIDelegate.cpp:
2717 2008-09-16 Adam Roben <aroben@apple.com>
2719 Add a script to print out the dependency tree of a Visual Studio
2722 * Scripts/print-msvc-project-dependencies: Added.
2724 2008-09-16 Mark Rowe <mrowe@apple.com>
2728 * DumpRenderTree/LayoutTestController.cpp:
2729 (notifyDoneCallback): Call fprintf in a safer manner.
2731 2008-09-16 Simon Fraser <simon.fraser@apple.com>
2733 Reviewed by Eric Seidel
2735 Protect against tests that call layoutTestController.notifyDone()
2736 more than once, which would lead to memory corruption, by nulling
2737 out the LayoutTestController on the JSObjectRef on destruction. Also
2738 add a finalize callback on the class so that if the LTC outlives
2739 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
2742 https://bugs.webkit.org/show_bug.cgi?id=20875
2744 * DumpRenderTree/LayoutTestController.cpp:
2745 (LayoutTestController::LayoutTestController):
2746 (notifyDoneCallback):
2747 (layoutTestControllerObjectFinalize):
2748 (LayoutTestController::makeWindowObject):
2749 (LayoutTestController::getJSClass):
2750 * DumpRenderTree/LayoutTestController.h:
2751 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2752 (LayoutTestController::~LayoutTestController):
2754 2008-09-16 Simon Fraser <simon.fraser@apple.com>
2756 Reviewed by Eric Seidel
2758 Step 1 patch: rename global variable for clarity.
2759 https://bugs.webkit.org/show_bug.cgi?id=20875
2761 * DumpRenderTree/DumpRenderTree.h:
2762 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2763 (dumpWebViewAsPixelsAndCompareWithExpected):
2764 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2769 (webViewLoadFinished):
2770 (webViewWindowObjectCleared):
2771 * DumpRenderTree/mac/DumpRenderTree.mm:
2772 (allocateGlobalControllers):
2773 (dumpFrameScrollPosition):
2775 (methodNameStringForFailedTest):
2778 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2779 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2780 * DumpRenderTree/mac/EditingDelegate.mm:
2781 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2782 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2783 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2784 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2785 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2786 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2787 (-[EditingDelegate webViewDidBeginEditing:]):
2788 (-[EditingDelegate webViewDidChange:]):
2789 (-[EditingDelegate webViewDidEndEditing:]):
2790 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2791 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2792 (-[FrameLoadDelegate processWork:]):
2793 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2794 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2795 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2796 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2797 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2798 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2799 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2800 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2801 * DumpRenderTree/mac/UIDelegate.mm:
2802 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2803 (-[UIDelegate webViewFocus:]):
2804 (-[UIDelegate webViewUnfocus:]):
2805 (-[UIDelegate webView:createWebViewWithRequest:]):
2806 (-[UIDelegate webViewClose:]):
2807 * DumpRenderTree/win/DumpRenderTree.cpp:
2808 (dumpFrameScrollPosition):
2813 2008-09-15 Alice Liu <alice.liu@apple.com>
2815 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
2817 Reviewed by Stephanie Lewis.
2819 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2820 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
2821 but not Intel. Add a check for nil before calling.
2822 (AccessibilityUIElement::rowIndexRange):
2823 (AccessibilityUIElement::columnIndexRange):
2825 2008-09-14 Mark Rowe <mrowe@apple.com>
2829 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2830 (waitUntilDoneWatchdogFired):
2831 * DumpRenderTree/mac/ObjCPlugin.m:
2833 2008-09-08 Dan Bernstein <mitz@apple.com>
2835 Reviewed by Mark Rowe.
2837 - add an option to run-webkit-tests to always use the complex text code path
2839 * DumpRenderTree/mac/DumpRenderTree.mm:
2840 (initializeGlobalsFromCommandLineOptions):
2842 * Scripts/run-webkit-tests:
2844 2008-09-08 Steve Falkenburg <sfalken@apple.com>
2846 Another Windows nightly build fix.
2848 Reviewed by Sam Weinig.
2850 * FindSafari/FindSafari.cpp:
2851 (_tmain): Delete existing WebKitNightly directory in temp.
2852 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
2854 2008-09-07 Stephanie Lewis <slewis@apple.com>
2856 Reviewed by Mark Rowe.
2860 * DumpRenderTree/DumpRenderTreePrefix.h:
2861 * DumpRenderTree/win/DumpRenderTree.vcproj:
2863 2008-09-06 Steve Falkenburg <sfalken@apple.com>
2865 Fix Windows nightlies.
2867 Copy WebKit.dll alongside application so registry-free COM can find it.
2868 Update embedded manifest to force use registry-free COM.
2870 Reviewed by Dave Hyatt.
2872 * FindSafari/FindSafari.cpp:
2876 * FindSafari/FindSafari.rc: Added.
2877 * FindSafari/FindSafari.vcproj:
2878 * FindSafari/Safari.exe.manifest: Added.
2879 * FindSafari/resource.h: Added.
2881 === End merge of squirrelfish-extreme ===
2883 2008-08-31 Mark Rowe <mrowe@apple.com>
2885 Reviewed by Maciej Stachowiak.
2887 Add a --profile flag to run-sunspider.
2889 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
2890 to build scripts as indicating that we should use the "Profiling" configuration. At present
2891 this is only supported by JavaScriptCore, so using this argument to build any other project
2892 will likely result in unexpected behaviour.
2894 2008-08-27 Mark Rowe <mrowe@apple.com>
2896 Reviewed by Oliver Hunt.
2898 Fix run-webkit-tests to handle DRT exiting early.
2900 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
2902 === Start merge of squirrelfish-extreme ===
2904 2008-09-04 Mark Rowe <mrowe@apple.com>
2906 Reviewed by Eric Seidel.
2908 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
2909 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
2911 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
2913 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
2915 Reviewed by Oliver Hunt.
2917 Bug 20616: Incorporate V8 benchmarks in testing
2918 <https://bugs.webkit.org/show_bug.cgi?id=20616>
2920 Add support for the --v8 option to run-sunspider.
2922 * Scripts/run-sunspider:
2924 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
2926 wx buildbot fix. More robust handling of clean when makefiles are not built or
2927 are not completely made.
2929 * wx/build-wxwebkit:
2931 2008-09-03 Mark Rowe <mrowe@apple.com>
2933 More Mac build fixes.
2935 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
2936 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
2937 default configuration specified in the .xcconfig files.
2939 * Scripts/build-webkit:
2941 2008-09-03 Mark Rowe <mrowe@apple.com>
2943 Mac build fix. Ensure that dashboard support is enabled.
2945 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2947 2008-08-25 Steve Falkenburg <sfalken@apple.com>
2949 Build fix. Copy correct version of ICU.
2951 * DumpRenderTree/win/DumpRenderTree.vcproj:
2953 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
2957 [run-webkit-tests] Use QtLauncher to show the results of the tests
2958 konqueror might not be installed, xdg-open might not be installed but the
2959 QtLauncher should be present.
2961 * Scripts/run-webkit-tests:
2963 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
2965 Initial support for accessibility layout tests on Windows.
2966 https://bugs.webkit.org/show_bug.cgi?id=20497
2968 Reviewed by Sam Weinig.
2970 * DumpRenderTree/AccessibilityController.h: Fix typos.
2971 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
2972 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
2973 prevent oleacc.h, which includes windows.h, from including winsock.h.
2975 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
2976 (AccessibilityController::AccessibilityController):
2977 (AccessibilityController::~AccessibilityController):
2978 (AccessibilityController::focusedElement): Get the root element, and
2979 request its focused object.
2980 (AccessibilityController::rootElement): Query Windows for the
2981 accessible client object for the WebView's window.
2982 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
2983 (AccessibilityUIElement::AccessibilityUIElement):
2984 (AccessibilityUIElement::~AccessibilityUIElement):
2985 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
2986 (AccessibilityUIElement::getChildren): Get the child count, and append
2988 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
2989 index offset by 1. In MSAA, child 0 is the object itself.
2990 (AccessibilityUIElement::allAttributes): Not implemented.
2991 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
2992 (AccessibilityUIElement::attributesOfChildren): Same.
2993 (AccessibilityUIElement::parameterizedAttributeNames): Same.
2994 (self): Return a VARIANT representing the "self" object. This is used
2995 when calling methods that require a child variant.
2996 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
2997 convert it into a string with GetRoleText().
2998 (AccessibilityUIElement::title): Get the element's title, and convert
3000 (AccessibilityUIElement::description): Same, for description.
3001 (AccessibilityUIElement::width):
3002 (AccessibilityUIElement::height):
3003 (AccessibilityUIElement::intValue): Get the object's value as a string,
3004 and convert the string to a double.
3005 (AccessibilityUIElement::minValue): Not implemented.
3006 (AccessibilityUIElement::maxValue): Same.
3007 (AccessibilityUIElement::insertionPointLineNumber): Same.
3008 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
3009 (AccessibilityUIElement::attributesOfRowHeaders): Same.
3010 (AccessibilityUIElement::attributesOfColumns): Same.
3011 (AccessibilityUIElement::attributesOfRows): Same.
3012 (AccessibilityUIElement::attributesOfVisibleCells): Same.
3013 (AccessibilityUIElement::attributesOfHeader): Same.
3014 (AccessibilityUIElement::indexInTable): Same.
3015 (AccessibilityUIElement::rowIndexRange): Same.
3016 (AccessibilityUIElement::columnIndexRange): Same.
3017 (AccessibilityUIElement::lineForIndex): Same.
3018 (AccessibilityUIElement::boundsForRange): Same.
3019 (AccessibilityUIElement::cellForColumnAndRow): Same.
3020 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
3021 project. Link to oleacc.lib, the MSAA library.
3022 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3023 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
3025 (FrameLoadDelegate::didClearWindowObject): Create a new window object
3026 for the accessibility controller.
3027 * DumpRenderTree/win/FrameLoadDelegate.h:
3029 2008-08-21 Simon Fraser <simon.fraser@apple.com>
3031 Reviewed by Mark Rowe
3033 Make build-launcher-app work when run from a git repository.
3034 https://bugs.webkit.org/show_bug.cgi?id=20478
3036 * BuildSlaveSupport/build-launcher-app:
3038 2008-08-20 Maxime Britto <britto@apple.com>
3040 Reviewed by Ada Chan.
3043 Mouse events are sent to page while resizing window (affects Gmail)
3045 * DumpRenderTree/win/UIDelegate.h:
3046 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
3048 2008-08-19 Chris Fleizach <cfleizach@apple.com>
3050 Reviewed by Beth Dakin.
3052 Add snowleopard platform in layout tests
3054 Added support for accessing the attributes of
3055 accessibility tables through the accessibility controller
3058 * DumpRenderTree/AccessibilityUIElement.cpp:
3059 (attributesOfColumnHeadersCallback):
3060 (attributesOfRowHeadersCallback):
3061 (attributesOfColumnsCallback):
3062 (attributesOfRowsCallback):
3063 (attributesOfVisibleCellsCallback):
3064 (attributesOfHeaderCallback):
3065 (indexInTableCallback):
3066 (rowIndexRangeCallback):
3067 (columnIndexRangeCallback):
3068 (childAtIndexCallback):
3069 (cellForColumnAndRowCallback):
3070 (AccessibilityUIElement::getJSClass):
3071 * DumpRenderTree/AccessibilityUIElement.h:
3072 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3073 (convertNSArrayToVector):
3074 (descriptionOfElements):
3075 (AccessibilityUIElement::getLinkedUIElements):
3076 (AccessibilityUIElement::getChildren):
3077 (AccessibilityUIElement::attributesOfLinkedUIElements):
3078 (AccessibilityUIElement::attributesOfChildren):
3079 (AccessibilityUIElement::attributesOfColumnHeaders):
3080 (AccessibilityUIElement::attributesOfRowHeaders):
3081 (AccessibilityUIElement::attributesOfColumns):
3082 (AccessibilityUIElement::attributesOfRows):
3083 (AccessibilityUIElement::attributesOfVisibleCells):
3084 (AccessibilityUIElement::attributesOfHeader):
3085 (AccessibilityUIElement::indexInTable):
3086 (AccessibilityUIElement::rowIndexRange):
3087 (AccessibilityUIElement::columnIndexRange):
3088 (AccessibilityUIElement::cellForColumnAndRow):
3089 * Scripts/run-webkit-tests:
3091 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
3093 Reviewed by Darin Adler.
3095 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
3096 is waiting for crash reporter to let it exit.
3098 The fix does not work on Tiger, because the state of the process is indistinguishable from
3099 other waiting processes, at least not with this technique.
3101 * Scripts/run-webkit-tests:
3103 2008-08-18 Alp Toker <alp@nuanti.com>
3105 Reviewed by Holger Freyther.
3107 https://bugs.webkit.org/show_bug.cgi?id=20350
3108 [GTK] Get DumpRenderTree working
3110 Fixes and enhancements to DumpRenderTree. With these changes, the test
3111 suite can now complete a run producing text and render tree dumps.
3113 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3117 (webViewLoadFinished):
3118 (webViewWindowObjectCleared):
3119 (webViewConsoleMessage):
3120 (webViewScriptAlert):
3121 (webViewScriptPrompt):
3122 (webViewScriptConfirm):
3123 (webViewTitleChanged):
3125 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3126 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3127 (LayoutTestController::clearBackForwardList):
3128 (LayoutTestController::pathToLocalResource):
3129 (LayoutTestController::setAcceptsEditing):
3130 (LayoutTestController::setUserStyleSheetEnabled):
3131 (LayoutTestController::setUserStyleSheetLocation):
3132 (waitToDumpWatchdogFired):
3133 (LayoutTestController::windowCount):
3134 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3135 (JSStringCopyUTF8CString):
3136 (ScriptItem::invoke):
3138 2008-08-17 Geoffrey Garen <ggaren@apple.com>
3140 Reviewed by Cameron Zwarich.
3142 Updated project files to XCode 3.1.
3144 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3145 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3147 2008-08-15 Mark Rowe <mrowe@apple.com>
3149 Rubber-stamped by Geoff Garen.
3151 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
3153 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
3155 2008-08-13 Simon Hausmann <hausmann@webkit.org>
3157 Rubber-stamped by Holger.
3159 Revert r31585 and disable http tests for the Qt build again unless
3162 Running the http tests unfortunately currently still triggers
3163 failures in non-http tests due to side-effects. Disable them by default for
3164 now, for more reliable results.
3166 * Scripts/run-webkit-tests:
3168 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
3170 Reviewed (and updated) by Alp Toker.
3172 https://bugs.webkit.org/show_bug.cgi?id=16620
3173 [GTK] Autotools make dist and make check support
3175 Get make dist working.
3177 Note that not all possible configurations have been tested yet.
3181 2008-08-10 Alp Toker <alp@nuanti.com>
3183 Remove leftover qmake/GTK+ build files.
3185 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
3186 * GtkLauncher/GtkLauncher.pro: Removed.
3188 2008-08-06 Chris Fleizach <cfleizach@apple.com>
3190 Reviewed by Beth Dakin
3192 AX functions shouldn't return position information because it changes
3193 based on the platform
3195 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3196 (AccessibilityUIElement::boundsForRange):
3198 2008-08-06 Eric Seidel <eric@webkit.org>
3202 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
3203 <https://bugs.webkit.org/show_bug.cgi?id=20297>
3204 <rdar://problem/6093153>
3206 I've made AccessibilityUIElement a stack object for now. It could be
3207 made RefCounted, but I figured that might be overkill for the moment.
3208 Essentially it's just a RefPtr itself. :)
3210 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
3211 which was causing additional leaks. :)
3213 I added toAXElement to remove a bunch of copy/paste code.
3215 * DumpRenderTree/AccessibilityController.h:
3216 * DumpRenderTree/AccessibilityUIElement.cpp:
3218 (allAttributesCallback):
3219 (attributesOfLinkedUIElementsCallback):
3220 (attributesOfChildrenCallback):
3221 (lineForIndexCallback):
3222 (boundsForRangeCallback):
3223 (childAtIndexCallback):
3226 (getDescriptionCallback):
3228 (getHeightCallback):
3229 (getIntValueCallback):
3230 (getMinValueCallback):
3231 (getMaxValueCallback):
3232 (getInsertionPointLineNumberCallback):
3234 * DumpRenderTree/AccessibilityUIElement.h:
3235 (AccessibilityUIElement::platformUIElement):
3236 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3237 (AccessibilityController::focusedElement):
3238 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3239 (AccessibilityUIElement::AccessibilityUIElement):
3240 (AccessibilityUIElement::getLinkedUIElements):
3241 (AccessibilityUIElement::getChildren):
3242 (AccessibilityUIElement::getChildAtIndex):
3243 (AccessibilityUIElement::attributesOfLinkedUIElements):
3244 (AccessibilityUIElement::attributesOfChildren):
3246 2008-08-06 Eric Seidel <eric@webkit.org>
3248 Reviewed by Cameron Zwarich.
3250 Speculative fix for an error I keep seeing in my Cygwin build
3252 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
3254 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
3256 Forgot to commit licensing correction in last commit.
3258 * wx/packaging/wxWebKitInstaller.iss.in:
3260 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
3262 Reviewed by Eric Seidel.
3264 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
3265 be used for nightlies.
3267 https://bugs.webkit.org/show_bug.cgi?id=20036
3269 * wx/packaging: Added.
3270 * wx/packaging/build-win-installer.py: Added.
3271 * wx/packaging/wxWebKitInstaller.iss.in: Added.
3273 2008-07-31 Adam Roben <aroben@apple.com>
3277 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
3278 Release configuration, too.
3280 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
3282 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
3285 <https://bugs.webkit.org/show_bug.cgi?id=20245>
3287 Reviewed by Adam Roben.
3289 * WinLauncher/WinLauncher.vcproj: adding the following properties to
3290 WinLauncher > Properties > Manifest Tool > Isolated COM
3291 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
3292 Component File Name: WebKit$(WebKitDLLConfigSuffix)
3293 Doing the change on "All Configurations"
3295 2008-07-31 Adam Roben <aroben@apple.com>
3297 Windows build bot fix
3299 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
3300 exist for people at Apple can't be found. Also updated the ICU version
3303 2008-07-31 David Kilzer <ddkilzer@apple.com>
3305 Fix layout test results for webarchive/test-xml-stylesheet.xml
3307 Reviewed by Darin Adler.
3309 * DumpRenderTree/mac/DumpRenderTree.mm:
3310 (convertMIMEType): Work around the "text/xml" local file type
3311 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
3312 stop mangling "application/x-javascript" into "text/javascript".
3313 (convertWebResourceDataToString): When checking whether to dump a
3314 resource as text, also check to see if the MIME type is in the
3315 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
3316 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
3319 2008-07-31 Chris Fleizach <cfleizach@apple.com>
3321 Reviewed by Alice Liu
3323 Add AX support to get the bounds for a range of text
3324 Add AX support to get the child of an element
3325 Add AX support to get all the parameterized attribute names of an element
3327 * DumpRenderTree/AccessibilityUIElement.cpp:
3328 (parameterizedAttributeNamesCallback):
3329 (boundsForRangeCallback):
3330 (childAtIndexCallback):
3331 (AccessibilityUIElement::getJSClass):
3332 * DumpRenderTree/AccessibilityUIElement.h:
3333 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3334 (AccessibilityUIElement::getChildAtIndex):
3335 (AccessibilityUIElement::parameterizedAttributeNames):
3336 (AccessibilityUIElement::boundsForRange):
3338 2008-07-31 Erik Bunce <elbunce@thehive.com>
3342 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
3344 * Scripts/run-launcher:
3346 2008-07-30 Jessica Kahn <jess@apple.com>
3348 Reviewed by Adam Roben.
3350 Slightly stricter checking for previous change, suggested by Adam.
3352 * Scripts/extract-localizable-strings:
3354 2008-07-30 Jessica Kahn <jess@apple.com>
3356 Reviewed by Darin Adler.
3358 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
3360 * Scripts/extract-localizable-strings:
3362 2008-07-30 Anders Carlsson <andersca@apple.com>
3366 Copy icu38* files instead of icu36* files.
3368 * DumpRenderTree/win/DumpRenderTree.vcproj:
3370 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
3372 DRT/Gtk build fix for r35362
3374 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3375 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3377 2008-07-25 Brady Eidson <beidson@apple.com>
3381 Add the ability to dump whether-or-not an element should have autocomplete enabled,
3382 from the perspective of the WebKit API
3384 * DumpRenderTree/LayoutTestController.cpp:
3385 (elementDoesAutoCompleteForElementWithIdCallback):
3386 (LayoutTestController::staticFunctions):
3388 * DumpRenderTree/LayoutTestController.h:
3389 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3390 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3391 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3392 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
3394 2008-07-25 Chris Fleizach <cfleizach@apple.com>
3396 Reviewed by Beth Dakin
3398 Add support for AXLineForIndex and AXInsertionPointIndex through the
3399 accessibility controller
3401 * DumpRenderTree/AccessibilityUIElement.cpp:
3402 (lineForIndexCallback):
3403 (getInsertionPointLineNumberCallback):
3404 (AccessibilityUIElement::getJSClass):
3405 * DumpRenderTree/AccessibilityUIElement.h:
3406 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3407 (AccessibilityUIElement::insertionPointLineNumber):
3408 (AccessibilityUIElement::lineForIndex):
3410 2008-07-25 Adam Roben <aroben@apple.com>
3412 Try to fix the Windows build bot
3414 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
3415 that don't exist for people outside of Apple.
3417 2008-07-18 Landry Breuil <landry@openbsd.org>
3419 Bug 19975: [OpenBSD] Patches to enable build of WebKit
3421 <https://bugs.webkit.org/show_bug.cgi?id=19975>
3423 Reviewed by David Kilzer.
3425 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
3427 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
3429 CygwinDownloader fails to install necessary packages
3430 https://bugs.webkit.org/show_bug.cgi?id=20075
3432 Reviewed by Mark Rowe.
3434 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
3435 mirrors removed in r34116. Set MIME type to application/octet-stream.
3437 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
3439 CygwinDownloader's make-zip.sh script fails
3440 https://bugs.webkit.org/show_bug.cgi?id=20074
3442 Reviewed by Mark Rowe.
3444 * CygwinDownloader/cygwin-downloader.py:
3446 2008-07-15 Sam Weinig <sam@webkit.org>
3448 Reviewed by Anders Carlsson.
3450 Refactor accessibility testing code.
3453 - AccessibilityController
3454 Controller which has access to the WebView and can provide the focused element, root element
3455 and in the future, elementAtPoint.
3457 - AccessibilityUIElement
3458 Object which provides access to the data provided by the Accessibility APIs.
3460 * DumpRenderTree/AccessibilityController.cpp:
3461 (getFocusedElementCallback):
3462 (getRootElementCallback):
3463 (AccessibilityController::getJSClass):
3464 * DumpRenderTree/AccessibilityController.h:
3465 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
3466 (allAttributesCallback):
3467 (attributesOfLinkedUIElementsCallback):
3468 (attributesOfChildrenCallback):
3471 (getDescriptionCallback):
3473 (getHeightCallback):
3474 (getIntValueCallback):
3475 (getMinValueCallback):
3476 (getMaxValueCallback):
3478 (AccessibilityUIElement::makeJSAccessibilityUIElement):
3479 (AccessibilityUIElement::getJSClass):
3480 * DumpRenderTree/AccessibilityUIElement.h: Added.
3481 (AccessibilityUIElement::platformUIElement):
3482 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3483 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3484 (AccessibilityController::AccessibilityController):
3485 (AccessibilityController::~AccessibilityController):
3486 (AccessibilityController::focusedElement):
3487 (AccessibilityController::rootElement):
3488 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
3489 (AccessibilityUIElement::AccessibilityUIElement):
3490 (descriptionOfValue):
3491 (attributesOfElement):
3492 (nsStringToJSStringRef):
3493 (concatenateAttributeAndValue):
3494 (AccessibilityUIElement::getLinkedUIElements):
3495 (AccessibilityUIElement::getChildren):
3496 (AccessibilityUIElement::attributesOfLinkedUIElements):
3497 (AccessibilityUIElement::attributesOfChildren):
3498 (AccessibilityUIElement::allAttributes):
3499 (AccessibilityUIElement::role):
3500 (AccessibilityUIElement::title):
3501 (AccessibilityUIElement::description):
3502 (AccessibilityUIElement::width):
3503 (AccessibilityUIElement::height):
3504 (AccessibilityUIElement::intValue):
3505 (AccessibilityUIElement::minValue):
3506 (AccessibilityUIElement::maxValue):
3508 2008-07-14 Chris Fleizach <cfleizach@apple.com>
3510 Reviewed by Beth Dakin
3512 Add support to get attributes of the AXChildren of an objecty
3514 * DumpRenderTree/AccessibilityController.cpp:
3515 (attributesOfChildrenForFocusedElementCallback):
3516 (AccessibilityController::staticFunctions):
3517 * DumpRenderTree/AccessibilityController.h:
3518 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3519 (descriptionOfValue):
3520 (AccessibilityController::attributesOfChildrenForFocusedElement):
3522 2008-07-14 Steve Falkenburg <sfalken@apple.com>
3526 * DumpRenderTree/win/DumpRenderTree.vcproj:
3528 2008-07-14 Adam Roben <aroben@apple.com>
3530 Attempted Windows build fix
3532 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
3533 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
3536 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
3538 Reviewed by Geoff Garen.
3540 Eliminate per-thread JavaScript global data instance support and make arbitrary
3541 global data/global object combinations possible.
3543 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
3544 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
3545 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
3546 chance for a different thread to cause GC after the context was released.
3548 2008-07-11 Stephanie Lewis <slewis@apple.com>
3550 Reviewed by Darin Adler.
3552 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
3554 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
3556 * DumpRenderTree/mac/DumpRenderTree.mm:
3557 (setDefaultsToConsistentValuesForTesting):
3558 (resetWebViewToConsistentStateBeforeTesting):
3559 * Scripts/run-webkit-tests:
3561 2008-07-10 Steve Falkenburg <sfalken@apple.com>
3565 * DumpRenderTree/win/DumpRenderTree.vcproj:
3567 2008-07-09 Eric Seidel <eric@webkit.org>
3569 Reviewed by Mark Rowe.
3571 Print <div> backgrounds when printing from DRT.
3573 * DumpRenderTree/mac/DumpRenderTree.mm:
3574 (setDefaultsToConsistentValuesForTesting):
3576 2008-07-09 Eric Seidel <eric@webkit.org>
3578 Reviewed by Mark Rowe.
3580 Fix copying of expected results to correct location
3582 * Scripts/run-webkit-tests:
3584 2008-07-09 Eric Seidel <eric@webkit.org>
3588 * DumpRenderTree/LayoutTestController.cpp:
3589 (LayoutTestController::LayoutTestController):
3590 (dumpAsPDFCallback):
3591 (LayoutTestController::staticFunctions):
3592 * DumpRenderTree/LayoutTestController.h:
3593 (LayoutTestController::dumpAsPDF):
3594 (LayoutTestController::setDumpAsPDF):
3595 * DumpRenderTree/mac/DumpRenderTree.mm:
3599 2008-07-09 Eric Seidel <eric@webkit.org>
3603 Add Content-Type support to DumpRenderTree and run-webkit-tests
3604 and move expected.txt files to expected.webarchive
3606 https://bugs.webkit.org/show_bug.cgi?id=15565
3608 * DumpRenderTree/cg/ImageDiffCG.cpp:
3611 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3613 * DumpRenderTree/mac/DumpRenderTree.mm:
3615 * Scripts/run-webkit-tests:
3617 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
3621 Port r34988 to Mac: allow tests to define JavaScript to execute when
3622 NPP_DestroyStream or NPP_URLNotify is called.
3624 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3625 (NPP_New): Remove initialization that happens in pluginAllocate. Look
3626 for new arguments onStreamDestroy and onURLNotify.
3627 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
3628 (executeScript): Code moved from onStreamLoad.
3629 (NPP_NewStream): Call executeScript.
3630 (NPP_DestroyStream): Same.
3631 (NPP_URLNotify): Same.
3633 2008-07-07 Beth Dakin <bdakin@apple.com>
3637 This patch extends DRT accessibility tests to add the ability to
3638 query the intValue, minValue, and maxValue of the focused element.
3640 * DumpRenderTree/AccessibilityController.cpp:
3641 (intValueOfFocusedElementCallback):
3642 (minValueOfFocusedElementCallback):
3643 (maxValueOfFocusedElementCallback):
3644 (AccessibilityController::staticFunctions):
3645 * DumpRenderTree/AccessibilityController.h:
3646 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3647 (AccessibilityController::intValueOfFocusedElement):
3648 (AccessibilityController::minValueOfFocusedElement):
3649 (AccessibilityController::maxValueOfFocusedElement):
3651 2008-07-07 Steve Falkenburg <sfalken@apple.com>
3655 * DumpRenderTree/win/ImageDiff.vcproj:
3657 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
3659 Allow tests to define JavaScript to execute when NPP_DestroyStream or
3660 NPP_URLNotify is called.
3664 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
3665 property, "returnErrorFromNewStream." This is to support the test for
3666 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
3667 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
3668 error from NPP_NewStream.
3669 (pluginGetProperty):
3670 (pluginSetProperty):