1 2009-06-15 Mark Rowe <mrowe@apple.com>
3 Reviewed by Oliver Hunt.
5 Add a script to automate the rolling over of ChangeLog files when they grow too large.
7 * Scripts/roll-over-ChangeLogs: Added.
9 2009-06-15 Simon Fraser <simon.fraser@apple.com>
11 Reviewed by Mark Rowe.
13 <rdar://problem/6974857>
15 Build with ENABLE_3D_RENDERING turned on by default on SnowLeopard.
17 * Scripts/build-webkit:
19 2009-06-12 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
21 Reviewed by Mark Rowe.
22 Reviewed by Simon Hausmann.
24 Refactor handling of options in the build-webkit script
26 Options are now defined in one place, and then reused when creating
27 the usage help text, the arguments to GetOptions(), and when passing
28 the options on to the underlying port-dependent build systems.
30 This allows the Qt port to read the defaults for the options from the
31 pro file (dynamically), and to pass the options on to qmake at build.
33 * Scripts/build-webkit:
34 * Scripts/webkitdirs.pm:
36 2009-06-15 Mark Rowe <mrowe@apple.com>
38 Reviewed by Cameron Zwarich.
40 Fix <https://bugs.webkit.org/show_bug.cgi?id=26312>.
41 Bug 26312: Multiple copies of Safari opened with WebKit nightly and Safari 3.2.3
43 Skip the trampoline detection for versions of Safari < 4.0 as they don't play these
44 tricks, and having WebKitNightlyEnabler assume that we were in the trampoline was
45 preventing our LaunchServices trickery from being run. This led to fresh copies of
46 WebKit.app being launched when a URL or file was opened from an external application
47 rather than the existing instance being reused.
49 * WebKitLauncher/WebKitNightlyEnabler.m:
50 (insideSafari4OnTigerTrampoline):
51 (enableWebKitNightlyBehaviour):
53 2009-06-13 Sam Weinig <sam@webkit.org>
55 Rubber-stamped by Mark "Snowy" Rowe.
57 Update iExploder/htdocs/cssproperties.in by running update-iexploder-cssproperties.
59 * iExploder/htdocs/cssproperties.in:
61 2009-06-13 John Abd-El-Malek <jam@chromium.org>
63 Reviewed by Eric Seidel. Landed by Adam Barth.
66 https://bugs.webkit.org/show_bug.cgi?id=26308
68 * DumpRenderTree/win/TestNetscapePlugin/main.c: Removed.
70 2009-06-12 Jan Michael Alonzo <jmalonzo@webkit.org>
72 Reviewed by Gustavo Noronha.
74 [Gtk] use strlen instead of g_utf8_strlen so we can enable more tests.
76 * DumpRenderTree/gtk/DumpRenderTree.cpp:
79 2009-06-12 Gustavo Noronha Silva <gns@gnome.org>
81 Reviewed by Jan Alonzo.
83 https://bugs.webkit.org/show_bug.cgi?id=25599
84 [GTK] Enable more tests
86 Implement dumping of status callback.
88 * DumpRenderTree/gtk/DumpRenderTree.cpp:
89 (webViewStatusBarTextChanged):
92 2009-06-11 John Abd-El-Malek <jam@chromium.org>
94 Reviewed by Steve Falkenburg.
96 https://bugs.webkit.org/show_bug.cgi?id=26306
98 Revert 42565 as it leads to DumpRenderTree crashing on startup because
99 Windows can't find CFURLCacheCopySharedURLCache in CoreNetwork.dll.
101 * DumpRenderTree/win/DumpRenderTree.cpp:
103 2009-06-10 Holger Hans Peter Freyther <zecke@selfish.org>
105 Reviewed by Jan Alonzo.
107 [gtk] Change DumpRenderTree to use a GtkScrolledWindow instead of GtkFixed
109 Change the code to use GtkScrolledWindow and resize the GtkScrolledWindow
110 to pass more tests. Make sure the content is bigger than a thumbnail.
112 * DumpRenderTree/gtk/DumpRenderTree.cpp:
116 2009-06-10 Jan Michael Alonzo <jmalonzo@webkit.org>
118 Reviewed by Gustavo Noronha.
120 Clear the frame name before we run each tests so we don't get
121 "someFloaString" or "3" in the target frame name.
123 * DumpRenderTree/gtk/DumpRenderTree.cpp:
124 (resetWebViewToConsistentStateBeforeTesting):
126 2009-06-10 Dan Bernstein <mitz@apple.com>
128 Reviewed by Adele Peterson.
130 - add a LayoutTestController method for temporarily changing the WebKit
133 * DumpRenderTree/LayoutTestController.cpp:
134 (setCacheModelCallback): Added. Calls
135 LayoutTestController::setCacheModel() with the first argument as an
137 (LayoutTestController::staticFunctions): Added setCacheModel.
138 * DumpRenderTree/LayoutTestController.h:
139 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
140 (LayoutTestController::setCacheModel):
141 * DumpRenderTree/mac/DumpRenderTree.mm:
142 (setDefaultsToConsistentValuesForTesting): Reset the cache model to
143 WebCacheModelDocumentBrowser.
144 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
145 (LayoutTestController::setCacheModel): Added. Calls -[WebPreferences
147 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
148 (LayoutTestController::setCacheModel):
149 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
150 (LayoutTestController::setCacheModel):
152 2009-06-09 Mark Rowe <mrowe@apple.com>
154 Reviewed by Sam Weinig.
156 Have sunspider-compare-results use the system version of the jsc
157 command line binary as there's no good reason to rebuild from source
158 to simply compare results.
160 * Scripts/sunspider-compare-results:
162 2009-06-09 Simon Hausmann <simon.hausmann@nokia.com>
164 Reviewed by Ariya Hidayat.
166 Removed setUseFixedLayout and renamed setFixedLayoutSize to
167 setFixedContentsSize.
169 * DumpRenderTree/qt/jsobjects.cpp:
170 (LayoutTestController::setFixedContentsSize):
171 * DumpRenderTree/qt/jsobjects.h:
173 2009-06-09 Simon Hausmann <simon.hausmann@nokia.com>
175 Fix the Qt build, add missing function declaration.
177 * DumpRenderTree/qt/jsobjects.h:
179 2009-06-09 Mark Rowe <mrowe@apple.com>
181 Reviewed by Dan Bernstein.
183 Fix <https://bugs.webkit.org/show_bug.cgi?id=24642>.
184 Bug 24642: REGRESSION: Nightly builds sometimes erroneously display a message about failing to launch successfully
186 Safari 4 on Tiger plays some shenanigans during launch that can confuse the nightly launcher application
187 in to running its initialization code too soon.
189 * WebKitLauncher/WebKitNightlyEnabler.m:
190 (insideSafariOnTigerTrampoline): Detect these shenanigans.
191 (enableWebKitNightlyBehaviour): Delay initialization when needed.
193 2009-06-08 Brady Eidson <beidson@apple.com>
195 Reviewed by Antti Koivisto
197 Add dispatchPendingLoadRequests() to test fix for <rdar://problem/6727495>
199 * DumpRenderTree/LayoutTestController.cpp:
200 (dispatchPendingLoadRequestsCallback):
201 (LayoutTestController::staticFunctions):
202 * DumpRenderTree/LayoutTestController.h:
204 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
205 (LayoutTestController::dispatchPendingLoadRequests): Implement using [WebView _dispatchPendingLoadRequests] SPI
207 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
208 (LayoutTestController::dispatchPendingLoadRequests): Need implementations.
209 * DumpRenderTree/qt/jsobjects.cpp:
210 (LayoutTestController::dispatchPendingLoadRequests): Ditto.
211 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
212 (LayoutTestController::dispatchPendingLoadRequests): Ditto.
213 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
214 (LayoutTestController::dispatchPendingLoadRequests): Ditto.
216 2009-06-07 Mark Rowe <mrowe@apple.com>
218 Rubber-stamped by Cameron Zwarich.
220 Delete the AccessibilityController that we allocated in -init.
222 * DumpRenderTree/mac/FrameLoadDelegate.mm:
223 (-[FrameLoadDelegate dealloc]):
225 2009-06-06 Mark Rowe <mrowe@apple.com>
227 Reviewed by Dan Bernstein.
229 Factor out the code to check whether a library contains a given symbol in to a helper function.
231 * Scripts/webkitdirs.pm:
233 2009-06-06 Mark Rowe <mrowe@apple.com>
235 Reviewed by Sam Weinig.
237 Detect when XHTML MP and WCSS are disabled and skip their associated regression tests.
239 * Scripts/run-webkit-tests:
240 * Scripts/webkitdirs.pm:
242 2009-06-06 Mark Rowe <mrowe@apple.com>
244 Reviewed by Brady Eidson.
246 <rdar://problem/6778101> Four SSL-related test failures
248 With newer versions of CFNetwork we receive a NSURLErrorServerCertificateUntrusted error
249 code rather than the more specific NSURLErrorServerCertificateHasUnknownRoot that DumpRenderTree
250 was looking for. Update DumpRenderTree to accommodate the different error code.
252 * DumpRenderTree/mac/FrameLoadDelegate.mm:
253 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
255 2009-06-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
257 Rubber-stamped by Simon Hausmann.
259 [Qt] Fix Perl warning when calling chdir with an empty/undefined path
261 This happened when the included makespec was in the same directory as
262 the parent makespec, so the relative path between the two was empty.
264 * Scripts/webkitdirs.pm:
266 2009-06-04 Darin Adler <darin@apple.com>
268 Reviewed by Tim Hatcher.
270 Fix crashes due to unbalanced start/stop observer calls.
272 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added observingWebView.
273 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
274 (-[DumpRenderTreeWindow startObservingWebView]): Call stopObservingWebView
275 in case we're already observing some other WebView. Set observingWebView.
276 (-[DumpRenderTreeWindow stopObservingWebView]): Do nothing if
277 observingWebView is already NO. Clear observingWebView.
279 2009-06-03 David Hyatt <hyatt@apple.com>
281 Reviewed by Sam Weinig.
283 * DumpRenderTree/mac/FrameLoadDelegate.mm:
284 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
285 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
286 (LayoutTestController::setMainFrameIsFirstResponder):
287 Remove explicit calls to _updateFocusedActiveState when the view is made first responder.
288 Focused state already properly updates when views become first responders, so these calls
291 (LayoutTestController::setWindowIsKey):
292 Explicitly call _updateActiveState when our window becomes key, since we're just faking it
293 and the notification won't be sent.
295 2009-06-02 Jessie Berlin <jberlin@apple.com>
297 Reviewed by Mark Rowe.
299 Add "replace" behavior so that it shows the addition part of the
300 replacement of the file first, and then shows the changes.
302 Future: Add in showing the removal part of the replacement.
304 * Scripts/svn-create-patch:
306 2009-06-02 Brent Fulgham <bfulgham@webkit.org>
308 Reviewed by Adam Roben.
310 Update WinLauncher for WebKitCreateInstance.
311 https://bugs.webkit.org/show_bug.cgi?id=26136
313 * WinLauncher/WinLauncher.cpp: Revise implementation to
314 use WebKitCreateInstance (rather than CoCreateInstance).
315 * WinLauncher/WinLauncher.h: Modify include path for
316 WebKit.h to match DumpRenderTree style.
317 * WinLauncher/WinLauncher.vcproj: Remove unnecessary
318 WebKit.tlb and EmbeddedIDL flags from build.
320 2009-06-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
322 Rubber-stamped by Adam Roben.
324 [Qt] Fix Perl warning about uninitialized value (passedConfiguration())
326 * Scripts/webkitdirs.pm:
328 2009-06-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
330 Rubber-stamped by Simon Hausmann.
332 Use File::Spec->tmpdir instead of hardcoded paths for tempfile() dir
334 This fixes the Windows-build if the user does not have a /tmp directory.
336 * Scripts/bisect-builds:
338 2009-06-01 Yongjun Zhang <yongjun.zhang@nokia.com>>
340 Reviewed by Holger Freyther. Landed by Adam Barth.
342 <https://bugs.webkit.org/show_bug.cgi?id=26070>
344 [Qt] EventSender.keyDown doesn't support Arrow Up and Down keys.
345 Add Down and Up key support.
347 * DumpRenderTree/qt/jsobjects.cpp:
348 (EventSender::keyDown):
350 2009-06-01 Mark Rowe <mrowe@apple.com>
352 Reviewed by Sam Weinig.
354 svn-create-patch displays confusing "Broken pipe" errors from Subversion
355 when files have been renamed in local working copy. This was happening
356 because we invoke 'svn info' to determine the URL that the file was copied
357 from, but we were closing the pipe to the subprocess before SVN had finished
360 * Scripts/prepare-ChangeLog: Consume all 'svn info' output before closing the file handle.
361 * Scripts/svn-create-patch: Ditto.
363 2009-05-31 Sam Weinig <sam@webkit.org>
365 Reviewed by Dan Bernstein.
367 - implement LayoutTestController::clearAllDatabases() on
370 Needed for storage/transaction-error-callback.html.
372 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
373 (LayoutTestController::clearAllDatabases):
375 2009-05-28 Dirk Schulze <krit@webkit.org>
377 Reviewed by Nikolas Zimmermann.
379 Added new build flag --filters. More details in WebCore/ChangeLog.
381 * Scripts/build-webkit:
383 2009-05-28 Olivier DOLE <odole@pleyo.com>
387 Add options to sunspider-compare-results to know which test suite to
388 compare (see bug #15941).
390 * Scripts/sunspider-compare-results:
392 2009-05-27 Mark Rowe <mrowe@apple.com>
394 Rubber-stamped by Dan Bernstein.
396 Update build-webkit to handle a new version of WebKitSystemInterface.
398 * Scripts/build-webkit:
400 2009-05-27 Fridrich Strba <fridrich.strba@bluewin.ch>
402 Reviewed by Maciej Stachowiak.
404 When building with MinGW, don't use the __declspec(dl{import,export})
405 decorations and rely on the linker to use its nifty auto-import feature.
406 It is extremely hard to get the decorations right with MinGW in general
407 and impossible in WebKit, where the resulting shared library is linking
408 together some static libraries.
410 * DumpRenderTree/config.h:
412 2009-05-23 Mark Rowe <mrowe@apple.com>
414 Reviewed by Oliver Hunt.
416 Land the updated version of WebKitLauncher that the nightly builds have been using.
419 1) Support for self-updating via Sparkle.
420 2) Now respects the "Open using Rosetta" preference.
421 3) Passes environment variables through to the spawned Safari process.
422 4) Logs a list of extensions that are detected to the system console.
423 5) Disables extensions that are known to cause crashes too early in the
424 launch process to be detected by the extension-detection code.
426 * WebKitLauncher/Configurations/Base.xcconfig: Added.
427 * WebKitLauncher/Configurations/WebKitLauncher.xcconfig: Added.
428 * WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig: Added.
429 * WebKitLauncher/Info.plist:
430 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
431 * WebKitLauncher/WebKitNightlyEnabler.h: Added.
432 * WebKitLauncher/WebKitNightlyEnabler.m:
434 (myApplicationWillFinishLaunching):
436 (webKitLauncherBundle):
437 (enableWebKitNightlyBehaviour):
438 * WebKitLauncher/WebKitNightlyEnablerSparkle.h: Added.
439 * WebKitLauncher/WebKitNightlyEnablerSparkle.m: Added.
441 (updatePermissionPromptDescription):
442 (skipSignatureVerificationInDownloadDidFinish):
444 (updateAlertInitForAlertPanel):
445 (-[NSAlert webKitHandleButtonPress:]):
446 (setMethodImplementation):
447 * WebKitLauncher/main.m:
448 (displayErrorAndQuit):
449 (getLastVersionShown):
450 (saveLastVersionShown):
451 (getPathForStartPage):
453 (getShowStartPageVersion):
455 (addStartPageToArgumentsIfNeeded):
456 (preferredArchitecture):
458 (locateSafariBundle):
459 (currentMacOSXVersion):
460 (checkFrameworkPath):
463 2009-05-23 Jan Michael Alonzo <jmalonzo@webkit.org>
465 Reviewed by Gustavo Noronha and Xan Lopez.
467 [Gtk] Enable database and localStorage support
468 https://bugs.webkit.org/show_bug.cgi?id=25629
470 Enable database and localStorage for running the storage/ tests.
472 * DumpRenderTree/gtk/DumpRenderTree.cpp:
473 (resetWebViewToConsistentStateBeforeTesting):
475 2009-05-23 David Kilzer <ddkilzer@apple.com>
477 Part 1 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
479 <https://bugs.webkit.org/show_bug.cgi?id=25495>
481 Reviewed by Oliver Hunt.
483 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
484 * DumpRenderTree/ForwardingHeaders/wtf/PassOwnPtr.h: Added.
486 2009-05-23 David Kilzer <ddkilzer@apple.com>
488 resolve-ChangeLogs: Add missing newline to status message
490 * Scripts/resolve-ChangeLogs: Added newline to status message
491 that is printed when the -c|--continue switch is used but there
492 are unmerged files remaining in the git working directory.
494 2009-05-23 Eric Seidel <eric@webkit.org>
496 Reviewed by Mark Rowe.
498 Add an error message to a die statement in run-webkit-tests
499 I hit this die when two users tried to run-webkit-tests at the same time. :(
501 * Scripts/run-webkit-tests:
503 2009-05-22 Andre Pedralho <andre.pedralho@openbossa.org>
505 Reviewed by Simon Hausmann.
507 Fixed --makeargs usage in Qt build.
509 * Scripts/build-webkit:
511 2009-05-22 Zoltan Horvath <horvath.zoltan.6@stud.u-szeged.hu>
513 Reviewed by Simon Hausmann.
515 Correcting error message on missing WEBKIT_TESTFONTS
516 environment varible in Qt-port.
518 * DumpRenderTree/qt/main.cpp:
521 2009-05-21 Eric Seidel <eric@webkit.org>
523 Rubber-stamped by Antti Koivisto.
525 Make it possible to write js-only http tests by exposing a /js-test-resources alias.
526 https://bugs.webkit.org/show_bug.cgi?id=25915
528 Second attempt at landing, now using -c instead of -C to make sure
529 that mod_alias is loaded on Apache 1.x instances before using Alias.
531 * Scripts/run-webkit-httpd:
532 * Scripts/run-webkit-tests:
534 2009-05-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
536 Reviewed by Xan Lopez.
538 Default to running HTTP tests for GTK+.
540 * Scripts/run-webkit-tests:
542 2009-05-21 Darin Adler <darin@apple.com>
544 Rolled the httpd changes out, since many machines (including the bots)
545 have an older version of Apache that does not support the Alias command.
546 Or maybe it's something else, but the bots are failing.
548 * Scripts/run-webkit-httpd: Rolled back.
549 * Scripts/run-webkit-tests: Ditto.
551 2009-05-21 Eric Seidel <eric@webkit.org>
553 Reviewed by Geoffrey Garen.
555 Make it possible to write js-only http tests by exposing a /js-test-resources alias.
556 https://bugs.webkit.org/show_bug.cgi?id=25915
558 * Scripts/run-webkit-httpd:
559 * Scripts/run-webkit-tests:
561 2009-05-21 Andre Pedralho <andre.pedralho@openbossa.org>
563 Reviewed by Gustavo Noronha.
565 Added --makeargs flag to the build script.
567 * Scripts/build-webkit:
568 * Scripts/webkitdirs.pm:
570 2009-05-14 Holger Hans Peter Freyther <zecke@selfish.org>
572 Reviewed by Anders Carlsson.
574 https://bugs.webkit.org/show_bug.cgi?id=24510 where
576 Add testHasProperty and testHasMethod to the existing functions
577 of the PluginObject to be able to test the browser hasproperty
578 and hasmethod implementation. Invoke them from pluginInvoke.
580 Change the defines to an enum to avoid manually updating
581 NUM_METHOD_IDENTIFIERS and assigning numbers.
583 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
584 (testHasProperty): test hasproperty
585 (testHasMethod): test hasmethod
586 (pluginInvoke): invoke the two
588 2009-05-20 Laszlo Gombos <laszlo.1.gombos@nokia.com>
590 Reviewed by George Staikos.
592 BUG 25843: [Qt] Remove qt-port build flag
593 <https://bugs.webkit.org/show_bug.cgi?id=25843>
595 * DumpRenderTree/qt/DumpRenderTree.pro:
596 * Scripts/webkitdirs.pm:
598 2009-05-18 Eric Seidel <eric@webkit.org>
600 Reviewed by Oliver Hunt.
602 Remove layoutTestController.addFileToPasteboardOnDrag and add eventSender.beginDragWithFiles
603 https://bugs.webkit.org/show_bug.cgi?id=25852
605 This allows us to now test multi-file file drags in DumpRenderTree per:
606 https://bugs.webkit.org/show_bug.cgi?id=25862
608 I removed the existing tests using addFileToPasteboardOnDrag()
609 and replaced them with a new test (editing/pasteboard/file-input-files-access)
610 which covers several more drag-drop cases.
612 I added a DumpRenderTreeFileDraggingSource class to avoid
613 the hack of if (!draggingSource) in [DumpRenderTreeDraggingInfo draggingSourceOperationMask]
615 New Test: editing/pasteboard/file-input-files-access.html
617 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
618 * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: Added.
619 * DumpRenderTree/DumpRenderTreeFileDraggingSource.m: Added.
620 (-[DumpRenderTreeFileDraggingSource draggingSourceOperationMaskForLocal:]):
621 * DumpRenderTree/LayoutTestController.cpp:
622 (LayoutTestController::LayoutTestController):
623 (LayoutTestController::staticValues): removed addFileToPasteboardOnDrag support
624 (LayoutTestController::staticFunctions): removed addFileToPasteboardOnDrag support
625 * DumpRenderTree/LayoutTestController.h:
626 * DumpRenderTree/mac/DumpRenderTree.mm:
627 (runTest): ASSERT that draggingInfo has been cleared
628 * DumpRenderTree/mac/EventSendingController.mm:
629 (+[EventSendingController isSelectorExcludedFromWebScript:]): Sorted selectors.
630 (+[EventSendingController webScriptNameForSelector:]): Sorted selectors.
631 (-[EventSendingController beginDragWithFiles:]):
632 (-[EventSendingController mouseMoveToX:Y:]):
633 (-[EventSendingController keyDown:withModifiers:]):
634 (-[EventSendingController fireKeyboardEventsToElement:]): removed spurious { }
635 * DumpRenderTree/mac/UIDelegate.mm:
636 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): removed addFileToPasteboardOnDrag support
638 2009-05-19 Kevin Ollivier <kevino@theolliviers.com>
640 wxMSW build fixes for DRT.
642 * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
644 * DumpRenderTree/wx/WorkQueueItemWx.cpp:
646 (ReloadItem::invoke):
647 (ScriptItem::invoke):
648 (BackForwardItem::invoke):
650 2009-05-18 Julien Chaffraix <jchaffraix@webkit.org>
652 Bug 24569: Add some cookies tests
654 <https://bugs.webkit.org/show_bug.cgi?id=24569>
656 Patch by David Kilzer.
658 * Scripts/make-js-test-wrappers: Added regex to skip
659 cookies-test-(post|pre).js files.
661 2009-05-18 Kevin Ollivier <kevino@theolliviers.com>
663 wx build fix. Use python-config to get Python linking info on Unix OSes.
667 2009-05-18 Kevin Ollivier <kevino@theolliviers.com>
669 wx build fix, initialize variable that doesn't get set on Windows.
671 * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
674 2009-05-18 Jan Michael Alonzo <jmalonzo@webkit.org>
676 Reviewed by Xan Lopez.
678 [Gtk] Various autotools build refactoring and fixes
679 https://bugs.webkit.org/show_bug.cgi?id=25286
681 Add -no-install and -no-fast-install to programs and tests that we
682 don't install. Also remove -O2 since this is already handled at
687 2009-05-18 Julie Parent <jparent@google.com>
689 Reviewed by Oliver Hunt.
691 https://bugs.webkit.org/show_bug.cgi?id=25846
692 Make eventSender dispatch a drag over event.
694 * DumpRenderTree/mac/UIDelegate.mm:
695 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
697 2009-05-18 Julie Parent <jparent@google.com>
699 Reviewed by Eric Seidel.
701 https://bugs.webkit.org/show_bug.cgi?id=25716
703 * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
705 2009-05-18 Julie Parent <jparent@google.com>
707 Reviewed by Eric Seidel.
709 https://bugs.webkit.org/show_bug.cgi?id=25716
711 * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
713 2009-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
715 Reviewed by Jan Michael Alonzo.
717 https://bugs.webkit.org/show_bug.cgi?id=25787
719 Merge r41819 into Gtk. Do not use printf but send messages
720 through the log command.
722 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
724 (webkit_test_plugin_new_instance):
725 (webkit_test_plugin_destroy_instance):
726 (webkit_test_plugin_set_window):
727 (webkit_test_plugin_handle_event):
729 2009-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
731 Reviewed by Jan Michael Alonzo.
733 https://bugs.webkit.org/show_bug.cgi?id=25787
735 Forward port r39877 from main.c of OSX to TestNetscapePlugin
738 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
739 (webkit_test_plugin_new_instance):
741 2009-05-15 Kevin Ollivier <kevino@theolliviers.com>
743 wx build fix. Don't parse args using getopt since it isn't available on Windows.
745 * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
748 2009-05-15 Jan Michael Alonzo <jmalonzo@webkit.org>
750 Reviewed by Holger Freyther.
752 [GTK] Implement layoutTestController.waitForPolicyDelegate
753 https://bugs.webkit.org/show_bug.cgi?id=25036
755 Connect to 'navigation-policy-decision-requested' and handle
756 waitForPolicy in the callback.
758 * DumpRenderTree/gtk/DumpRenderTree.cpp:
759 (invalidateAnyPreviousWaitToDumpWatchdog):
760 (webViewNavigationPolicyDecisionRequested):
762 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
763 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
764 (LayoutTestController::notifyDone):
765 (LayoutTestController::waitForPolicyDelegate):
767 2009-05-14 David Levin <levin@chromium.org>
769 Reviewed by Eric Seidel.
771 https://bugs.webkit.org/show_bug.cgi?id=24704
773 Make paths where data is saved be scoped to the ~ directory,
774 so that one can run independent instances by setting CFFIXED_USER_HOME.
776 * DumpRenderTree/mac/DumpRenderTree.mm:
778 (setDefaultsToConsistentValuesForTesting):
781 2009-05-13 David Kilzer <ddkilzer@apple.com>
783 Fix resolve-ChangeLogs when used with Subversion
785 Reviewed by Darin Adler.
787 Fixes the following issue when run on a Subversion repository:
789 $ ./WebKitTools/Scripts/resolve-ChangeLogs
790 ERROR: --continue may only be used with a git repository
792 * Scripts/resolve-ChangeLogs: Check for the boolean value of
793 $gitRebaseContinue, not whether it's defined, when validating
794 command-line switches.
796 2009-05-12 David Kilzer <ddkilzer@apple.com>
798 Bug 21418: resolve-ChangeLogs should have a --continue option which does git rebase --continue
800 <https://bugs.webkit.org/show_bug.cgi?id=21418>
802 Reviewed by Darin Adler.
804 * Scripts/resolve-ChangeLogs: Added -c|--continue switch that
805 runs "git rebase --continue" before exiting the script.
806 (hasGitUnmergedFiles): Added. Returns true if there are
807 unmerged files in the git repository.
809 2009-05-11 Laszlo Gombos <laszlo.1.gombos@nokia.com>
811 Reviewed by Holger Freyther.
813 [Qt] Make sure that public APIs are properly exported on all Qt platforms
814 https://bugs.webkit.org/show_bug.cgi?id=25601
816 * Scripts/webkitdirs.pm: Remove QT_SHARED define from Qt builds, define QT_MAKEDLL in WebCore.pro instead
818 2009-05-07 Kevin Ollivier <kevino@theolliviers.com>
820 wx build fixes for Python extension and DRT.
822 * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
826 2009-05-07 Steve Falkenburg <sfalken@apple.com>
828 Remove manifest fixup from r42729 to fix clean builds.
830 * DumpRenderTree/win/DumpRenderTree.vcproj:
832 2009-05-06 Kevin Ollivier <kevino@theolliviers.com>
834 wx build fix, fixes for wx trunk builds.
836 * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
840 2009-05-06 Steve Falkenburg <sfalken@apple.com>
842 Explicitly set WebKitPaintNativeControls to false to allow Windows results to match Mac.
844 Reviewed by Adam Roben.
846 * DumpRenderTree/win/DumpRenderTree.cpp:
847 (resetWebViewToConsistentStateBeforeTesting):
849 2009-05-06 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
851 Reviewed by Simon Hausmann.
853 Build QtWebKit as a framework on Mac
855 This implies both debug and release build by default, unless
856 one of the --debug or --release config options are passed to
857 the build-webkit script.
859 Frameworks can be disabled by passing CONFIG+=webkit_no_framework
860 to the build-webkit script.
862 To be able to build both debug and release targets in parallel
863 we have to use separate output directories for the generated
864 sources, which is not optimal, but required to avoid race conditions.
866 An optimization would be to only require this spit-up on Mac.
868 * Scripts/webkitdirs.pm:
870 2009-05-05 Darin Adler <darin@apple.com>
872 Try to fix Mac build.
874 * DumpRenderTree/AccessibilityUIElement.cpp: (elementAtPointCallback): Initialize x and y.
876 2009-05-05 Maclolm MacLeod <mmacleod@webmail.co.za>
878 Reviewed by Kevin Ollivier.
880 Have wxWebkit make use of gcc(4 and greater) hidden visibility feature
882 https://bugs.webkit.org/show_bug.cgi?id=24345
886 2009-05-05 Chris Fleizach <cfleizach@apple.com>
888 Reviewed by Beth Dakin.
890 Bug 25574: AXImageMap children links don't respond properly to accessibilityHitTest:
891 https://bugs.webkit.org/show_bug.cgi?id=25574
893 * DumpRenderTree/AccessibilityUIElement.cpp:
894 (elementAtPointCallback):
897 (AccessibilityUIElement::getJSClass):
898 * DumpRenderTree/AccessibilityUIElement.h:
899 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
900 (descriptionOfValue):
901 (AccessibilityUIElement::elementAtPoint):
902 (AccessibilityUIElement::role):
903 (AccessibilityUIElement::title):
904 (AccessibilityUIElement::description):
905 (AccessibilityUIElement::x):
906 (AccessibilityUIElement::y):
907 (AccessibilityUIElement::width):
908 (AccessibilityUIElement::height):
909 (AccessibilityUIElement::intValue):
910 (AccessibilityUIElement::minValue):
911 (AccessibilityUIElement::maxValue):
912 (AccessibilityUIElement::insertionPointLineNumber):
913 (AccessibilityUIElement::supportsPressAction):
914 (AccessibilityUIElement::lineForIndex):
915 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
916 (AccessibilityUIElement::elementAtPoint):
917 (AccessibilityUIElement::x):
918 (AccessibilityUIElement::y):
920 2009-05-06 Christian Dywan <christian@twotoasts.de>
922 Reviewed by Gustavo Noronha.
924 http://bugs.webkit.org/show_bug.cgi?id=17066
925 [GTK] Improve frameloader signals
927 Update GtkLauncher to use the new load-status and progress properties
928 instead of the previous loading signals.
930 * GtkLauncher/main.c:
932 (notify_load_status_cb):
933 (notify_progress_cb):
937 2009-05-05 Adam Roben <aroben@apple.com>
939 Don't use pdevenv when building with VC++ Express
941 Fixes Bug 25308: REGRESSION (r42182): Build fails after following
942 build instructions on webkit.org fail when using VC++ Express
943 <https://bugs.webkit.org/show_bug.cgi?id=25308>
945 Reviewed by Eric Seidel.
947 * Scripts/webkitdirs.pm:
948 (setupCygwinEnv): When Visual Studio is installed, set $vcBuildPath to
949 point to pdevenv. When VC++ Express is installed, set $vcBuildPath to
950 point to VC++ Express, as before.
951 (buildVisualStudioProject): Use $vcBuildPath to build instead of
954 2009-05-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
956 Rubber-stamped by Simon Hausmann.
958 Mention --qt as an option in the build-webkit help
960 * Scripts/build-webkit:
962 2009-05-04 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
964 Reviewed by Alexey Proskuryakov.
966 Enable spell-checking in DumpRenderTree.
968 * DumpRenderTree/gtk/DumpRenderTree.cpp:
969 (resetWebViewToConsistentStateBeforeTesting):
971 2009-05-04 Kevin Ollivier <kevino@theolliviers.com>
973 Reviewed by Eric Seidel.
975 Initial DRT implementation for wx.
977 * DumpRenderTree/DumpRenderTree.h:
978 * DumpRenderTree/wx: Added.
979 * DumpRenderTree/wx/DumpRenderTree.bkl: Added.
980 * DumpRenderTree/wx/DumpRenderTreeWx.cpp: Added.
981 (LayoutWebViewEventHandler::LayoutWebViewEventHandler):
982 (LayoutWebViewEventHandler::bindEvents):
983 (LayoutWebViewEventHandler::OnLoadEvent):
984 (LayoutWebViewEventHandler::OnAlertEvent):
985 (LayoutWebViewEventHandler::OnConfirmEvent):
986 (LayoutWebViewEventHandler::OnPromptEvent):
987 (LayoutWebViewEventHandler::OnConsoleMessageEvent):
988 (LayoutWebViewEventHandler::OnReceivedTitleEvent):
989 (LayoutWebViewEventHandler::OnWindowObjectClearedEvent):
995 * DumpRenderTree/wx/DumpRenderTreeWx.h: Added.
996 * DumpRenderTree/wx/GCControllerWx.cpp: Added.
997 (GCController::collect):
998 (GCController::collectOnAlternateThread):
999 (GCController::getJSObjectCount):
1000 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added.
1001 (LayoutTestController::~LayoutTestController):
1002 (LayoutTestController::addDisallowedURL):
1003 (LayoutTestController::clearBackForwardList):
1004 (LayoutTestController::copyDecodedHostName):
1005 (LayoutTestController::copyEncodedHostName):
1006 (LayoutTestController::display):
1007 (LayoutTestController::keepWebHistory):
1008 (LayoutTestController::notifyDone):
1009 (LayoutTestController::pathToLocalResource):
1010 (LayoutTestController::queueLoad):
1011 (LayoutTestController::setAcceptsEditing):
1012 (LayoutTestController::setCustomPolicyDelegate):
1013 (LayoutTestController::setMainFrameIsFirstResponder):
1014 (LayoutTestController::setTabKeyCyclesThroughElements):
1015 (LayoutTestController::setUseDashboardCompatibilityMode):
1016 (LayoutTestController::setUserStyleSheetEnabled):
1017 (LayoutTestController::setUserStyleSheetLocation):
1018 (LayoutTestController::setWindowIsKey):
1019 (LayoutTestController::setSmartInsertDeleteEnabled):
1020 (LayoutTestController::setJavaScriptProfilingEnabled):
1021 (LayoutTestController::setWaitToDump):
1022 (LayoutTestController::windowCount):
1023 (LayoutTestController::setPrivateBrowsingEnabled):
1024 (LayoutTestController::setAuthorAndUserStylesEnabled):
1025 (LayoutTestController::setPopupBlockingEnabled):
1026 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
1027 (LayoutTestController::execCommand):
1028 (LayoutTestController::setPersistentUserStyleSheetLocation):
1029 (LayoutTestController::clearPersistentUserStyleSheet):
1030 (LayoutTestController::clearAllDatabases):
1031 (LayoutTestController::setDatabaseQuota):
1032 (LayoutTestController::numberOfActiveAnimations):
1033 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1034 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1035 (LayoutTestController::setIconDatabaseEnabled):
1036 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1037 (LayoutTestController::isCommandEnabled):
1038 (LayoutTestController::webHistoryItemCount):
1039 (LayoutTestController::waitForPolicyDelegate):
1040 * DumpRenderTree/wx/WorkQueueItemWx.cpp: Added.
1042 (ReloadItem::invoke):
1043 (ScriptItem::invoke):
1044 (BackForwardItem::invoke):
1045 * Scripts/build-dumprendertree:
1046 * Scripts/run-webkit-tests:
1047 * Scripts/webkitdirs.pm:
1048 * wx/build-wxwebkit:
1050 2009-05-03 Sam Weinig <sam@webkit.org>
1052 Reviewed by Geoffrey Garen.
1054 Don't pass an exception parameter if we don't care about the value.
1056 * DumpRenderTree/win/EventSender.cpp:
1059 2009-05-02 Darin Adler <darin@apple.com>
1061 Reviewed by Sam Weinig.
1063 Another cut at getting tests passing on Windows again.
1065 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1066 (FrameLoadDelegate::didStartProvisionalLoadForFrame): Tweak formatting.
1067 (FrameLoadDelegate::didFailProvisionalLoadWithError): Ditto.
1068 (FrameLoadDelegate::didCommitLoadForFrame): Ditto.
1069 (FrameLoadDelegate::didFinishLoadForFrame): Ditto.
1070 (FrameLoadDelegate::didFailLoadWithError): Added missing logging.
1072 2009-05-02 Darin Adler <darin@apple.com>
1074 Reviewed by Sam Weinig.
1076 Try to get tests passing on Windows again.
1078 * DumpRenderTree/win/DumpRenderTree.cpp:
1079 (shouldLogFrameLoadDelegates): Allow either "/" or "\" as a path
1080 separator. Also require separator before as well as after path name.
1082 2009-04-30 Kevin Ollivier <kevino@theolliviers.com>
1084 wx build fix, define ENABLE_JAVASCRIPT_DEBUGGER.
1086 * wx/build-wxwebkit:
1088 2009-04-30 Dimitri Glazkov <dglazkov@chromium.org>
1090 Reviewed by Timothy Hatcher.
1092 https://bugs.webkit.org/show_bug.cgi?id=25470
1093 Extend the cover of ENABLE_JAVASCRIPT_DEBUGGER to profiler.
1095 * Scripts/build-webkit: Added ENABLE_JAVASCRIPT_DEBUGGER define.
1097 2009-04-29 Mark Rowe <mrowe@apple.com>
1099 Update build.webkit.org configuration for the addition of the new GTK buildbot.
1101 * BuildSlaveSupport/build.webkit.org-config/config.json:
1103 2009-04-29 Mark Rowe <mrowe@apple.com>
1105 Ignore the --use-remote-links-to-tests option for GTK as it leads to
1106 perl errors being spewed at the end of run-webkit-tests.
1108 * Scripts/run-webkit-tests:
1110 2009-04-29 Mark Rowe <mrowe@apple.com>
1112 Implement test-result-archive for GTK.
1114 * BuildSlaveSupport/test-result-archive:
1116 2009-04-28 Pierre d'Herbemont <pdherbemont@apple.com>
1118 Reviewed by David Kilzer.
1120 https://bugs.webkit.org/show_bug.cgi?id=25462
1122 Make sure "--pixel --add-platform-exceptions" produces platform
1123 specific pixel test results.
1125 * Scripts/run-webkit-tests: Support "--pixel
1126 --add-platform-exceptions"
1128 2009-04-28 Steve Falkenburg <sfalken@apple.com>
1130 Fix link warnings building TestNetscapePlugin on Windows due to mismatched
1131 DLL name vs. LIBRARY directive name.
1133 Reviewed by Jon Honeycutt.
1135 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def:
1136 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1137 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added.
1139 2009-04-28 Steve Falkenburg <sfalken@apple.com>
1141 Fix warnings about PRODUCTION and ARCHIVE_BUILD on Windows builds
1142 of ImageDiff and DumpRenderTree.
1144 Rubber stamped by Adam Roben.
1146 * DumpRenderTree/win/DumpRenderTree.vcproj:
1147 * DumpRenderTree/win/ImageDiff.vcproj:
1149 2009-04-28 Chris Fleizach <cfleizach@apple.com>
1151 Reviewed by Darin Adler.
1153 Add ability to get the children count of an AX element.
1155 * DumpRenderTree/AccessibilityUIElement.cpp:
1156 (getChildrenCountCallback):
1157 (AccessibilityUIElement::getJSClass):
1158 * DumpRenderTree/AccessibilityUIElement.h:
1159 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1160 (AccessibilityUIElement::childrenCount):
1161 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1162 (AccessibilityUIElement::childrenCount):
1164 2009-04-27 Jan Michael Alonzo <jmalonzo@webkit.org>
1166 Reviewed by Gustavo Noronha.
1168 [GTK] Make layout tests / jsc tests usable without build-webkit
1169 https://bugs.webkit.org/show_bug.cgi?id=21784
1171 This requires WEBKITOUTPUTDIR to be set to the build directory.
1172 Set the location of the product dir to the location pointed to by
1175 * Scripts/webkitdirs.pm:
1177 2009-04-27 Gustavo Noronha Silva <gns@gnome.org>
1179 Reviewed by Adam Roben.
1181 Use libsoup's facilities to resolve relative URLs, instead, since
1182 it is a more robust method.
1184 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1185 (LayoutTestController::queueLoad):
1187 2009-04-26 Gustavo Noronha Silva <gns@gnome.org>
1189 Reviewed by Xan Lopez.
1191 Resolve relative URLs when queueing loads. This fixes
1192 post-goback-same-url.html timing out.
1194 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1195 (LayoutTestController::queueLoad):
1197 2009-04-24 Kevin Ollivier <kevino@theolliviers.com>
1199 wx build fix. Switching JSCore from a static lib to a dynamic lib
1200 to match the Apple build and fix symbol exports.
1202 * wx/build-wxwebkit:
1204 2009-04-24 Eric Seidel <eric@webkit.org>
1206 Reviewed by Adam Roben.
1208 Add PrettyPatch support to run-webkit-tests
1210 * Scripts/run-webkit-tests:
1212 2009-04-24 Steve Falkenburg <sfalken@apple.com>
1214 Fix nightly for Windows x64 users.
1215 Installed browser location is written to a slightly different registry key in that case.
1217 * FindSafari/FindSafari.cpp:
1218 (getInstalledWebKitDirectory):
1220 2009-04-23 Mark Rowe <mrowe@apple.com>
1222 Fix the Windows DRT build.
1224 * DumpRenderTree/win/PolicyDelegate.h:
1226 2009-04-23 Brady Eidson <beidson@apple.com>
1228 Fix Windows DRT build.
1230 * DumpRenderTree/win/PolicyDelegate.cpp:
1231 (PolicyDelegate::unableToImplementPolicyWithError):
1233 2009-04-22 Brady Eidson <beidson@apple.com>
1235 Reviewed by Maciej Stachowiak
1237 Add additional support for test:
1238 <rdar://problem/5689748> - Cannot redirect to protocols handled by external applications.
1240 * DumpRenderTree/mac/PolicyDelegate.mm:
1241 (-[PolicyDelegate webView:unableToImplementPolicyWithError:frame:]): Dump formatted information when
1242 a policy cannot be implemented.
1244 * DumpRenderTree/win/PolicyDelegate.cpp:
1245 (PolicyDelegate::unableToImplementPolicyWithError): Ditto.
1246 * DumpRenderTree/win/PolicyDelegate.h:
1248 2009-04-22 Sam Weinig <sam@webkit.org>
1250 Rubber-stamped by Darin Adler.
1252 Fix for <rdar://problem/6816957>
1253 Turn off Geolocation by default
1255 * Scripts/build-webkit:
1257 2009-04-21 Dan Bernstein <mitz@apple.com>
1259 Reviewed by Jon Honeycutt.
1261 - dump the node in the element dictionary in the action information
1262 passed to the policy delegate
1264 * DumpRenderTree/mac/PolicyDelegate.mm:
1265 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1266 * DumpRenderTree/win/PolicyDelegate.cpp:
1268 (PolicyDelegate::decidePolicyForNavigationAction):
1270 2009-04-21 Adam Roben <aroben@apple.com>
1272 Windows build fix after r42726
1274 * DumpRenderTree/win/DumpRenderTree.cpp: Touched to force a rebuild.
1275 * DumpRenderTree/win/DumpRenderTree.vcproj: Delete any pre-r42726
1276 manifest files during the pre-build event.
1278 2009-04-21 Steve Falkenburg <sfalken@apple.com>
1280 Use new WebKitCreateInstance API instead of CoCreateInstance
1281 or COMPtr's createInstance to instantiate WebKit COM objects.
1283 Reviewed by Adam Roben.
1285 * DumpRenderTree/win/DumpRenderTree.cpp:
1288 (createWebViewAndOffscreenWindow):
1290 * DumpRenderTree/win/DumpRenderTree.vcproj:
1291 * DumpRenderTree/win/GCControllerWin.cpp:
1292 (GCController::collect):
1293 (GCController::collectOnAlternateThread):
1294 (GCController::getJSObjectCount):
1295 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1296 (LayoutTestController::keepWebHistory):
1297 (LayoutTestController::webHistoryItemCount):
1298 (LayoutTestController::setIconDatabaseEnabled):
1299 * DumpRenderTree/win/WorkQueueItemWin.cpp:
1302 2009-04-20 Timothy Hatcher <timothy@apple.com>
1304 Stop using the fullDocumentTeardownEnabled WebPreference methods.
1305 Just set the WebKitEnableFullDocumentTeardownPreferenceKey default.
1307 Reviewed by Darin Adler.
1309 * DumpRenderTree/mac/DumpRenderTree.mm:
1310 (setDefaultsToConsistentValuesForTesting):
1311 (resetWebViewToConsistentStateBeforeTesting):
1313 2009-04-21 Geoffrey Garen <ggaren@apple.com>
1315 Rubber-stamped by Adam Roben.
1317 Disabled one more Mozilla JS test because it fails intermittently on Windows.
1318 (See https://bugs.webkit.org/show_bug.cgi?id=25160.)
1320 * Scripts/run-javascriptcore-tests:
1322 2009-04-21 Adam Roben <aroben@apple.com>
1324 Fix running run-safari and run-webkit-tests from the paths recommended
1327 Reviewed by Steve Falkenburg and Sam Weinig.
1329 * Scripts/run-webkit-nightly.cmd: Moved quotes from variable
1330 definitions to variable uses. Otherwise cmd.exe can get confused about
1332 * Scripts/run-webkit-tests: Changed to use an absolute path to
1333 execAppWithEnv so that run-webkit-tests will work when run from
1334 outside the source tree.
1336 2009-04-21 Adam Roben <aroben@apple.com>
1338 Rename JavaScriptCore_debug.dll to JavaScriptCore.dll in the Debug
1341 This matches the naming scheme for WebKit.dll, and will be necessary
1342 once Safari links against JavaScriptCore.dll. This change also causes
1343 run-safari not to fail (because the launcher printed by FindSafari was
1344 always looking for JavaScriptCore.dll, never
1345 JavaScriptCore_debug.dll).
1347 Part of Bug 25305: can't run safari or drt on windows
1348 <https://bugs.webkit.org/show_bug.cgi?id=25305>
1350 Reviewed by Steve Falkenburg and Sam Weinig.
1352 * DumpRenderTree/win/DumpRenderTree.vcproj: Use
1353 $(WebKitDLLConfigSuffix) for naming JavaScriptCore.{dll,lib}.
1355 2009-04-21 Steve Falkenburg <sfalken@apple.com>
1357 Update FindSafari for JavaScriptCore DLL changes.
1358 Also removed code previously needed to support running nightlies against Safari 3 on Windows.
1360 Reviewed by Mark Rowe.
1362 * FindSafari/FindSafari.cpp:
1364 (getInstalledWebKitDirectory):
1367 2009-04-20 Darin Adler <darin@apple.com>
1369 Reviewed by Sam Weinig.
1371 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added PlainTextController.h
1372 and PlainTextController.mm.
1374 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1375 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): Added PlainTextController
1376 as "window.plainText".
1378 * DumpRenderTree/mac/PlainTextController.h: Added.
1379 * DumpRenderTree/mac/PlainTextController.mm: Added.
1381 2009-04-20 Steve Falkenburg <sfalken@apple.com>
1383 Separate JavaScriptCore.dll from WebKit.dll.
1384 Slight performance improvement or no change on benchmarks.
1386 Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
1387 and simplifies standalone JavaScriptCore builds.
1389 Reviewed by Oliver Hunt.
1391 * DumpRenderTree/config.h: Specify JS, WebKit exported data as __declspec(dllimport)
1392 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against JavaScriptCore.dll
1394 2009-04-20 Sam Weinig <sam@webkit.org>
1396 Rubber-stamped by Tim Hatcher.
1398 Add licenses for xcconfig files.
1400 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1401 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1402 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1403 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
1404 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
1406 2009-04-19 David Kilzer <ddkilzer@apple.com>
1408 Make FEATURE_DEFINES completely dynamic
1410 Reviewed by Darin Adler.
1412 Make FEATURE_DEFINES depend on individual ENABLE_FEATURE_NAME
1413 variables for each feature, making it possible to remove all
1414 knowledge of FEATURE_DEFINES from build-webkit.
1416 * Scripts/build-webkit: Define individual ENABLE_FEATURE_NAME
1417 variables instead of the whole FEATURE_DEFINES string when
1418 building with Xcode. Miscellaneous clean up:
1419 - Reordered/sorted command-line switch variables.
1420 - Reordered/sorted command-line switches in $usage.
1421 - Reordered/sorted command-line switches in GetOptions().
1422 - Defined $svgSupport to true if any --svg-feature switch is
1423 set in order to match "Implies SVG Support" claim.
1424 - Build JavaScriptGlue after JavaScriptCore again!
1425 - Fixed --[no-]geolocation for GTK+ port and sorted GTK+
1426 command-line switches.
1427 - Added "exit 0" statement at the end of the script.
1429 2009-04-17 David Kilzer <ddkilzer@apple.com>
1431 Simplify FEATURE_DEFINES definition
1433 Reviewed by Darin Adler.
1435 This moves FEATURE_DEFINES and its related ENABLE_FEATURE_NAME
1436 variables to their own FeatureDefines.xcconfig file. It also
1437 extracts a new ENABLE_GEOLOCATION variable so that
1438 FEATURE_DEFINES only needs to be defined once.
1440 * Scripts/build-webkit: Realphabetized code related to enabling
1441 Geolation features for WebKit. Also set ENABLE_GEOLOCATION
1442 variable for xcodebuild.
1444 2009-04-16 Darin Fisher <darin@chromium.org>
1446 Reviewed by Darin Adler.
1448 https://bugs.webkit.org/show_bug.cgi?id=25223
1449 REGRESSION: Back button after form submission to the same URL fails to navigate.
1451 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1452 (-[FrameLoadDelegate processWork:]): Need to defer processing the work
1453 queue if a navigation started between locationChangeDone and our
1454 delayed processWork call. This can happen when using queueLoadingScript
1455 to load script that simulates a click on a link or submit button since
1456 those clicks happen asynchronously.
1457 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1458 (FrameLoadDelegate::processWork): Same as above.
1460 2009-04-16 Geoffrey Garen <ggaren@apple.com>
1462 Build fix: updated check-for-global-initializers to account for code motion.
1464 * Scripts/check-for-global-initializers:
1466 2009-04-16 Zan Dobersek <zandobersek@gmail.com>
1468 Reviewed by Adam Roben.
1470 Compare test's response mime type and dump test as text properly.
1472 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1476 2009-04-16 Adam Roben <aroben@apple.com>
1478 Skip yet another JavaScriptCore test that sometimes fails on Windows
1480 See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1482 <https://bugs.webkit.org/show_bug.cgi?id=25160>
1484 * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-6.js.
1486 2009-04-15 Steve Falkenburg <sfalken@apple.com>
1488 Redo last build fix in a more straightforward way.
1490 * DumpRenderTree/win/DumpRenderTree.cpp:
1493 2009-04-15 Steve Falkenburg <sfalken@apple.com>
1495 Fix Windows build of DumpRenderTree.
1497 * DumpRenderTree/win/DumpRenderTree.cpp:
1501 2009-04-15 Adam Roben <aroben@apple.com>
1503 Skip yet another JavaScriptCore test that sometimes fails on Windows
1505 See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1507 <https://bugs.webkit.org/show_bug.cgi?id=25160>
1509 * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-2.js (who
1510 didn't see it coming?).
1512 2009-04-14 Adam Roben <aroben@apple.com>
1514 Skip another JavaScriptCore test that sometimes fails on Windows
1516 See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1518 <https://bugs.webkit.org/show_bug.cgi?id=25160>
1520 Rubber-stamped by Geoff Garen.
1522 * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-3.js.
1524 2009-04-14 Kevin Ollivier <kevino@theolliviers.com>
1526 wx build fix. Move the DerivedSources.make calls into build-wxwebkit so that
1527 the FEATURE_DEFINES are parsed properly.
1529 * wx/build-wxwebkit:
1531 2009-04-14 Adam Roben <aroben@apple.com>
1533 Small run-javascriptcore-tests cleanup
1535 Reviewed by Cameron Zwarich.
1537 * Scripts/run-javascriptcore-tests: Move the list of tests to skip
1538 into its own variable, annotated with the bugs that are filed about
1539 the various failures.
1541 2009-04-14 Adam Roben <aroben@apple.com>
1543 Skip another sometimes-failing ecma/Date test on Windows
1545 These failing tests are covered by Bug 25160: Various ecma/Date tests
1546 sometimes fail on Windows (but not Mac)
1547 <https://bugs.webkit.org/show_bug.cgi?id=25160>
1549 Reviewed by Cameron Zwarich.
1551 * Scripts/run-javascriptcore-tests: Added ecma/Date/15.9.2.1.js to the
1552 list of tests to skip.
1554 2009-04-14 Jan Michael Alonzo <jmalonzo@webkit.org>
1556 Reviewed by Holger Freyther.
1558 [Gtk] disable soup auth dialog when running DRT
1559 https://bugs.webkit.org/show_bug.cgi?id=24598
1561 Disable soup's auth dialog when running the tests.
1563 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1564 (setDefaultsToConsistentStateValuesForTesting):
1567 2009-04-13 Darin Adler <darin@apple.com>
1569 Reviewed by Mark Rowe.
1571 * Scripts/check-for-exit-time-destructors: Add ERROR: and WARNING: prefixes to
1572 make these scripts work better with the build window in new versions of Xcode.
1573 * Scripts/check-for-global-initializers: Ditto.
1574 * Scripts/check-for-weak-vtables: Ditto.
1576 2009-04-13 Geoffrey Garen <ggaren@apple.com>
1578 Reviewed by Sam Weinig.
1580 Disabled another JavaScriptCore test because it fails on Windows but
1581 not Mac, so it makes the bots red.
1583 * Scripts/run-javascriptcore-tests:
1585 2009-04-13 Geoffrey Garen <ggaren@apple.com>
1587 Reviewed by Sam Weinig.
1589 Disabled two JavaScriptCore tests because they fail on Window or Mac but
1590 not both, so they make the bots red.
1592 * Scripts/run-javascriptcore-tests:
1594 2009-04-13 Darin Adler <darin@apple.com>
1596 * Scripts/make-js-test-wrappers: Added another exception.
1598 2009-04-10 Adam Roben <aroben@apple.com>
1600 Add our new test font to the list that DRT knows about
1602 Reviewed by Dan Bernstein.
1604 * DumpRenderTree/win/DumpRenderTree.cpp:
1605 (initialize): Added WebKit Layout Tests 2.ttf.
1607 2009-04-09 Jan Michael Alonzo <jmalonzo@webkit.org>
1609 Unreviewed Gtk build fix for undefined reference: g_thread_init.
1610 Add GLIB_LIBS to DRT and GtkLauncher build config.
1614 2009-04-09 David Kilzer <ddkilzer@apple.com>
1616 Reinstating <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
1618 Rolled r42345 back in. The build failure was caused by an
1619 internal script which had not been updated the same way that
1620 build-webkit was updated.
1622 * Scripts/build-webkit:
1624 2009-04-09 David Levin <levin@chromium.org>
1626 Reviewed by David Kilzer.
1628 https://bugs.webkit.org/show_bug.cgi?id=25101
1630 Launch DumpRenderTree and the image diff tool in a way that will work from perl threads.
1631 This is a workaround due to a perl limitation. When perl does open* calls on a thread, it ignores
1632 the environment of the current thread and simply uses the environment of the main thread instead.
1634 * Scripts/execAppWithEnv: Added.
1635 * Scripts/run-webkit-tests:
1637 2009-04-09 Alexey Proskuryakov <ap@webkit.org>
1639 Reverting <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings.
1640 It broke Mac build, and I don't know how to fix it.
1642 * Scripts/build-webkit:
1644 2009-04-08 David Kilzer <ddkilzer@apple.com>
1646 <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
1648 Reviewed by Darin Adler and Maciej Stachowiak.
1650 Introduce the ENABLE_SVG_DOM_OBJC_BINDINGS feature define so
1651 that SVG DOM Objective-C bindings may be optionally disabled.
1653 * Scripts/build-webkit: Added --[no-]svg-dom-objc-bindings
1654 command-line argument. Set special ENABLE_SVG_DOM_OBJC_BINDINGS
1655 Xcode variable required by WebCore.xcconfig.
1657 2009-04-07 Adam Roben <aroben@apple.com>
1659 Print the number of files being compiled when using pdevenv
1661 * Scripts/parallelcl:
1663 2009-04-07 Mark Rowe <mrowe@apple.com>
1665 Land the current build.webkit.org configuration for safekeeping.
1667 * BuildSlaveSupport/build.webkit.org-config/README: Added.
1668 * BuildSlaveSupport/build.webkit.org-config/Makefile:
1669 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac:
1670 * BuildSlaveSupport/build.webkit.org-config/config.json: Added.
1671 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1672 * BuildSlaveSupport/build.webkit.org-config/public_html/buildbot.css: Renamed from BuildSlaveSupport/build.webkit.org-config/buildbot.css.
1673 * BuildSlaveSupport/build.webkit.org-config/public_html/index.html: Added.
1674 * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt: Added.
1675 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Removed.
1676 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Removed.
1677 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Removed.
1678 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Removed.
1679 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Removed.
1680 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Removed.
1681 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Removed.
1682 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Removed.
1684 2009-04-07 Mark Rowe <mrowe@apple.com>
1686 Ignore the mysterious exception that Cygwin's Python is throwing when attempting
1687 to remove the layout-test-results directory.
1689 * BuildSlaveSupport/test-result-archive:
1691 2009-04-07 Mark Rowe <mrowe@apple.com>
1693 Change the working directory before removing the test result directory
1694 in the hopes of making the Windows build slaves happier.
1696 * BuildSlaveSupport/test-result-archive:
1698 2009-04-07 Mark Rowe <mrowe@apple.com>
1700 Reviewed by Adam Roben.
1702 Make the links to tests in the uploaded results.html files on build.webkit.org point to the test files.
1704 * Scripts/VCSUtils.pm: Add a function that will return the location of a file relative to the root of the working copy.
1705 * Scripts/run-webkit-tests: Convert the path in to a remote URL if the path is below the layout tests directory.
1707 2009-04-07 Mark Rowe <mrowe@apple.com>
1709 Remove the layout-test-results directory after we have archived it so that
1710 log files and results are reset between runs of the tests.
1712 * BuildSlaveSupport/test-result-archive:
1714 2009-04-07 Mark Rowe <mrowe@apple.com>
1716 Helper script for uploading layout test results for display on build.webkit.org.
1718 * BuildSlaveSupport/test-result-archive: Copied from WebKitTools/BuildSlaveSupport/built-product-archive.
1720 2009-04-11 Brian Weinstein <bweinstein@gmail.com>
1722 Reviewed by Darin Adler.
1724 https://bugs.webkit.org/show_bug.cgi?id=24908
1726 Allows timeout to be set in run-webkit-tests as a command line argument.
1728 * Scripts/run-webkit-tests:
1730 2009-04-06 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1732 Rubber-stamped by Tor Arne Vestbø.
1734 Add /Programs to the productDir for GTK+, instead of adding
1735 /JavaScriptCore, when running jsc.
1737 * Scripts/run-sunspider:
1739 2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
1741 Build fixes for wxMac/Tiger and PPC builds.
1743 * wx/build-wxwebkit:
1745 2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
1747 wx build fix. Update the version of ICU dlls.
1749 * wx/build-wxwebkit:
1751 2009-04-03 Stephanie Lewis <slewis@apple.com>
1753 Reviewed by Mark Rowe.
1755 Fix running DumpRenderTree with a root.
1757 * Scripts/run-webkit-tests:
1759 2009-04-02 Adam Roben <aroben@apple.com>
1761 Build fix for Windows machines that don't have WebKitTools/Scipts in
1764 * Scripts/pdevenv: Add WebKitTools/Scripts to PATH when launching
1765 Visual Studio/VC++ Express.
1767 2009-04-02 Adam Roben <aroben@apple.com>
1769 Use pdevenv when building .vcproj files via our scripts
1771 Reviewed by Mark Rowe.
1773 * Scripts/webkitdirs.pm:
1774 (sub buildVisualStudioProject): Use pdevenv instead of invoking Visual
1775 Studio/VC++ Express directly.
1777 2009-04-01 Mark Rowe <mrowe@apple.com>
1779 Windows support for built-product-archive.
1781 * BuildSlaveSupport/built-product-archive:
1783 2009-03-31 Adam Roben <aroben@apple.com>
1785 Make resolve-ChangeLogs -f work when the working tree has spaces in
1788 Reviewed by Mark Rowe and David Kilzer.
1790 * Scripts/resolve-ChangeLogs:
1791 (sub fixMergedChangeLogs): Quote the path to resolve-ChangeLogs in
1792 case it contains spaces.
1794 2009-03-31 Alexey Proskuryakov <ap@webkit.org>
1796 Reviewed by Darin Adler.
1798 https://bugs.webkit.org/show_bug.cgi?id=24777
1799 WebKit tools are broken on Tiger
1801 * Scripts/webkitdirs.pm: Don't use arch command with options on Tiger.
1803 2009-03-31 Darin Adler <darin@apple.com>
1805 * Scripts/add-include: Added.
1807 2009-03-31 Mark Rowe <mrowe@apple.com>
1809 Fix use of incorrect constant.
1811 * BuildSlaveSupport/built-product-archive:
1813 2009-03-30 Mark Rowe <mrowe@apple.com>
1815 Rubber-stamped by Stephanie Lewis.
1817 Add a script in support of the new build.webkit.org configuration.
1819 * BuildSlaveSupport/built-product-archive: Added.
1821 2009-03-30 Darin Adler <darin@apple.com>
1823 Reviewed by Sam Weinig.
1825 Make policy-delegate logging work even for local files by processing the URLs as we
1826 do for other delegates.
1828 * DumpRenderTree/mac/PolicyDelegate.mm:
1829 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1830 Use _drt_descriptionSuitableForTestResult on the URL.
1832 * DumpRenderTree/win/PolicyDelegate.cpp:
1833 (PolicyDelegate::decidePolicyForNavigationAction): Use urlSuitableForTestResult on the URL.
1835 2009-03-30 Adam Roben <aroben@apple.com>
1839 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1840 (LayoutTestController::waitForPolicyDelegate): Added this empty stub.
1842 * DumpRenderTree/win/WorkQueueItemWin.cpp:
1844 (ScriptItem::invoke):
1845 Changed to use data members instead of removed member functions.
1847 2009-03-30 Jan Michael Alonzo <jmalonzo@webkit.org>
1849 Gtk DRT build fix per changeset
1850 http://trac.webkit.org/changeset/42082. Not reviewed.
1852 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1854 (ScriptItem::invoke):
1856 2009-03-29 Darin Adler <darin@apple.com>
1858 * DumpRenderTree/qt/jsobjects.cpp: Rolled out changes to this file. Maybe this will fix
1859 Qt building of DumpRenderTree.
1861 2009-03-29 Darin Adler <darin@apple.com>
1863 Reviewed by Cameron Zwarich.
1865 Bug 24922: change WorkQueue-based navigation tests to not depend on synchronous form submission
1866 https://bugs.webkit.org/show_bug.cgi?id=24922
1868 Don't rely on delegate methods to guess whether a queued step starts a load or not, because
1869 script-triggered loads can't be detected that way. Instead have the steps themselves indicate
1870 whether or not a load was triggered.
1872 * DumpRenderTree/LayoutTestController.cpp:
1873 (queueLoadingScriptCallback): Added. Version for scripts that perform loads.
1874 (queueNonLoadingScriptCallback): Added. Version for scripts that do not perform loads.
1875 (LayoutTestController::staticFunctions): Replaced queueScript with queueLoadingScript and
1876 queueNonLoadingScript.
1877 (LayoutTestController::queueBackNavigation): Moved here since it's platform-independent now.
1878 (LayoutTestController::queueForwardNavigation): Ditto.
1879 (LayoutTestController::queueLoadingScript): Replacement for queueScript. Here since it's
1880 platform-independent.
1881 (LayoutTestController::queueNonLoadingScript): Ditto.
1882 (LayoutTestController::queueReload): Moved here since it's platform-independent now.
1883 * DumpRenderTree/LayoutTestController.h: Ditto.
1885 * DumpRenderTree/WorkQueue.cpp:
1886 (WorkQueue::processWork): Added. Shared by the different platform's work queue implementations.
1887 * DumpRenderTree/WorkQueue.h: Ditto.
1889 * DumpRenderTree/WorkQueueItem.h: Changed the invoke function to return true if the item
1890 started a load. Removed unused getter functions. Made invoke functions private.
1891 Added LoadingScriptItem and NonLoadingScriptItem, making ScriptItem an abstract base.
1893 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1894 (processWork): Use the new WorkQueue::processWork function to implement the new rule.
1895 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Removed queue functions that are now
1896 platform-independent and in LayoutTestController.cpp.
1897 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1898 (LoadItem::invoke): Return true.
1899 (ReloadItem::invoke): Ditto.
1900 (ScriptItem::invoke): Ditto.
1901 (BackForwardItem::invoke): Ditto.
1903 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1904 (-[FrameLoadDelegate processWork:]): Use the new WorkQueue::processWork function to implement
1906 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Removed queue functions that are now
1907 platform-independent and in LayoutTestController.cpp.
1908 * DumpRenderTree/mac/WorkQueueItemMac.mm:
1909 (LoadItem::invoke): Return true.
1910 (ReloadItem::invoke): Ditto.
1911 (ScriptItem::invoke): Ditto.
1912 (BackForwardItem::invoke): Ditto.
1914 * DumpRenderTree/qt/jsobjects.cpp:
1915 (LayoutTestController::processWork): Use the new WorkQueue::processWork function to implement
1916 the new rule. Removed queue functions that are now platform-independent and in
1917 LayoutTestController.cpp.
1919 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1920 (FrameLoadDelegate::processWork): Use the new WorkQueue::processWork function to implement
1922 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Removed queue functions that are now
1923 platform-independent and in LayoutTestController.cpp.
1924 * DumpRenderTree/win/WorkQueueItemWin.cpp:
1925 (LoadItem::invoke): Return false when we fail, true when we succeed.
1926 (ReloadItem::invoke): Ditto.
1927 (ScriptItem::invoke): Ditto.
1928 (BackForwardItem::invoke): Ditto.
1930 2009-03-28 Kevin Ollivier <kevino@theolliviers.com>
1932 Reviewed by Eric Seidel.
1934 Always use wxGraphicsContext on Mac to ensure path, matrix, etc. support.
1936 * wx/build-wxwebkit:
1938 2009-03-27 Darin Adler <darin@apple.com>
1940 Reviewed by Sam Weinig.
1942 * Scripts/extract-localizable-strings: Fixed version check for perl 5.10 compatibility.
1944 2009-03-27 Darin Adler <darin@apple.com>
1946 Reviewed by Sam Weinig.
1948 Added waitForPolicyDelegate, a more-reliable way to make our mailto form submission
1951 * DumpRenderTree/AccessibilityController.cpp:
1952 (getFocusedElementCallback): Use static_cast instead of reinterpret_cast because there's
1953 no reason to use reinterpret_cast just to get from void* to a specific type.
1954 (getRootElementCallback): Ditto.
1955 * DumpRenderTree/AccessibilityUIElement.cpp:
1956 (toAXElement): Ditto.
1957 * DumpRenderTree/GCController.cpp:
1958 (collectCallback): Ditto.
1959 (collectOnAlternateThreadCallback): Ditto.
1960 (getJSObjectCountCallback): Ditto.
1961 * DumpRenderTree/LayoutTestController.cpp:
1962 (many functions): Ditto.
1963 (waitForPolicyDelegateCallback): Added.
1964 (LayoutTestController::staticFunctions): Sorted functions by name.
1965 Added waitForPolicyDelegate.
1967 * DumpRenderTree/LayoutTestController.h: Sorted functions by name.
1968 Added waitForPolicyDelegate.
1970 * DumpRenderTree/mac/DumpRenderTree.mm:
1971 (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
1973 (runTest): Added an additional call to resetWebViewToConsistentStateBeforeTesting just
1974 before loading an empty page. This prevents extra policy delegate calls from being logged.
1976 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1977 (LayoutTestController::waitForPolicyDelegate): Added. Puts us into wait mode, and then
1978 tells the policy delegate to notify when done, then points the web view at the policy delegate.
1980 * DumpRenderTree/mac/PolicyDelegate.h: Added setControllerToNotifyDone: method.
1982 * DumpRenderTree/mac/PolicyDelegate.mm:
1983 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1984 Added code to do notifyDone if controllerToNotifyDone is set.
1985 (-[PolicyDelegate setControllerToNotifyDone:]): Added.
1987 * DumpRenderTree/win/DumpRenderTree.cpp:
1988 (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
1989 policy delegate. Also moved the call to resetUndoManager in here.
1990 (runTest): Removed the call to resetUndoManager (see above). Added an additional call to
1991 resetWebViewToConsistentStateBeforeTesting to match the Mac code.
1993 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1994 (LayoutTestController::setCustomPolicyDelegate): 0, not NULL.
1996 * DumpRenderTree/win/PolicyDelegate.cpp:
1997 (PolicyDelegate::PolicyDelegate): Initialize m_controllerToNotifyDone to 0.
1998 (PolicyDelegate::decidePolicyForNavigationAction): Added code to do notifyDone if
1999 m_controllerToNotifyDone is set.
2001 * DumpRenderTree/win/PolicyDelegate.h: Added setControllerToNotifyDone and
2002 m_controllerToNotifyDone.
2004 2009-03-27 Sam Weinig <sam@webkit.org>
2006 Reviewed by Gavin Barraclough.
2008 Fix for https://bugs.webkit.org/show_bug.cgi?id=24765
2009 prepare-ChangeLog and svn-create-patch doesn't work with svn 1.6
2011 * Scripts/prepare-ChangeLog:
2012 * Scripts/svn-create-patch:
2014 2009-03-26 Darin Adler <darin@apple.com>
2016 Reviewed by Geoff Garen.
2018 * Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to
2021 2009-03-26 Darin Adler <darin@apple.com>
2023 Reviewed by Geoff Garen.
2025 * Scripts/do-webcore-rename: Update for rename of JSEventListener to
2026 JSProtectedEventListener. This includes all the related renames, but
2027 not that one because that one renames the file.
2029 2009-03-26 Adam Roben <aroben@apple.com>
2031 Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes
2034 The previous limit was 60 seconds (or 10 minutes under GuardMalloc).
2035 There's no evidence that we need the limit to be this long, and having
2036 it be so long just makes timed-out tests take forever to complete.
2037 DRT's watchdog timer is 10 seconds, so still has time to fire before
2038 run-webkit-tests will cut it off.
2040 Reviewed by Simon Fraser.
2042 * Scripts/run-webkit-tests:
2043 (sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or
2044 2.5 mintues under GuardMalloc).
2046 2009-03-26 Adam Roben <aroben@apple.com>
2048 Make DRT's watchdog timer actually work on Windows
2050 We were previously trying to use a CFRunLoopTimer for the watchdog
2051 timer on Windows. This doesn't work because we don't use a CFRunLoop
2052 on the main thread on Windows.
2054 This patch changes the watchdog timer on Windows be a normal Windows
2057 Reviewed by Simon Fraser.
2059 * DumpRenderTree/DumpRenderTree.h: Moved declaration of
2060 waitToDumpWatchdog from here...
2061 * DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here.
2063 * DumpRenderTree/win/DumpRenderTree.cpp:
2064 (invalidateAnyPreviousWaitToDumpWatchdog): Added. This function
2065 cancels an existing watchdog timer.
2066 (dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will
2067 prevent watchdogs from previous tests firing during subsequent ones.
2068 This matches Mac's behavior.
2070 * DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of
2073 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2074 (waitUntilDoneWatchdogFired): Converted this to be a Windows
2076 (LayoutTestController::setWaitToDump): Changed to use SetTimer instead
2077 of CFRunLoopAddTimer.
2079 2009-03-25 Mark Rowe <mrowe@apple.com>
2081 Rubber-stamped by Steve Falkenburg.
2083 Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends.
2085 * Scripts/run-webkit-tests:
2087 2009-03-24 Mark Rowe <mrowe@apple.com>
2089 Fix the Tiger build some more.
2091 * DumpRenderTree/mac/TextInputController.m:
2093 2009-03-24 Mark Rowe <mrowe@apple.com>
2095 Fix the Tiger build.
2097 * DumpRenderTree/mac/TextInputController.m:
2099 2009-03-24 Mark Rowe <mrowe@apple.com>
2101 Reviewed by Jon "The Most Boring Man in the World" Honeycutt.
2103 Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does
2104 not differ between 32- and 64-bit.
2106 * DumpRenderTree/mac/TextInputController.m:
2107 (-[TextInputController characterIndexForPointX:Y:]):
2109 2009-03-24 Mark Rowe <mrowe@apple.com>
2111 Reviewed by Sam Weinig.
2113 Use a different platform search path for tests and skip lists, so that Tiger doesn't end up
2114 using the Leopard skip list. Tests and skip lists are now looked for in the directory for
2115 the current OS and the generic "mac" directory. Tests and skip lists for newer OS versions are
2118 * Scripts/run-webkit-tests:
2120 2009-03-23 Stephanie <slewis@apple.com>
2124 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2126 2009-03-23 Stephanie Lewis <slewis@apple.com>
2128 Reviewed by Mark Rowe.
2130 Add production configuration for creating roots of WebKitTools.
2132 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2134 2009-03-23 Oliver Hunt <oliver@apple.com>
2136 Reviewed by Geoff Garen.
2138 Make testapi run as part of the standard JavaScriptCore tests.
2140 We only run testapi on the mac as currently windows webkit doesn't
2141 place all the necessary files for testapi, and we also test the
2142 JSC/CF APIs as well.
2144 * Scripts/run-javascriptcore-tests:
2146 2009-03-21 Oliver Hunt <oliver@apple.com>
2148 Reviewed by Mark Rowe.
2150 Make build-jsc build testapi and minidom in addition to jsc itself.
2152 * Scripts/build-jsc:
2154 2009-03-20 Anders Carlsson <andersca@apple.com>
2156 Reviewed by Darin Adler.
2158 Only release the result NPVariant if the call to NPN_Invoke was successful.
2160 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2163 2009-03-19 Gustavo Noronha Silva <gns@gnome.org>
2165 Reviewed by Mark Rowe.
2167 Make determinePassedArchitecture always consume the --32-bit
2168 option, also in non-AppleMacWebkit platforms. Solution pointed out
2171 * Scripts/webkitdirs.pm:
2173 2009-03-19 Mark Rowe <mrowe@apple.com>
2175 Reviewed by Oliver Hunt.
2177 Work around <rdar://problem/6698023> by activating fonts from disk.
2179 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
2180 in the built products directory.
2181 * DumpRenderTree/mac/DumpRenderTree.mm:
2182 (activateFonts): Activate the fonts from disk.
2184 2009-03-18 Mark Rowe <mrowe@apple.com>
2186 Reviewed by Dan Bernstein.
2188 <rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
2190 Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
2191 in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
2193 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2194 (log): Invoke console.log via the NPAPI.
2195 (NPP_Destroy): Call log instead of printf.
2196 (NPP_SetWindow): Ditto.
2197 (handleEventCarbon): Ditto.
2198 (handleEventCocoa): Ditto.
2199 (NPP_HandleEvent): Pass the instance in to the event handler.
2201 2009-03-17 Mark Rowe <mrowe@apple.com>
2203 Reviewed by Oliver Hunt.
2205 Use the normal search rules for tests inside the platform directory.
2207 This allows tests inside the platform directory to have different results
2208 on different versions of Mac OS X.
2210 * Scripts/run-webkit-tests:
2212 2009-03-17 David Kilzer <ddkilzer@apple.com>
2214 resolve-ChangeLogs should not die on unmerged non-ChangeLog files
2216 Reviewed by Adam Roben.
2218 Fixes the following bug in resolve-ChangeLogs:
2220 Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
2221 Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
2223 * Scripts/resolve-ChangeLogs:
2224 (findUnmergedChangeLogs): Check the result of findChangeLog() to
2225 make sure we don't add undef values to the list of files being
2228 2009-03-17 Gustavo Noronha Silva <gns@gnome.org>
2230 Reviewed by Simon Fraser.
2232 Fix the usage of the $architecture variable for non-Apple-Mac
2235 * Scripts/webkitdirs.pm:
2237 2009-03-17 David Kilzer <ddkilzer@apple.com>
2239 Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
2241 <https://bugs.webkit.org/show_bug.cgi?id=24645>
2243 Reviewed by Mark Rowe.
2245 * Scripts/bisect-builds:
2246 (makeNightlyList): Added checks for Safari 4 Public Beta on
2249 2009-03-17 Simon Fraser <simon.fraser@apple.com>
2251 Reviewed by Darin Adler
2253 https://bugs.webkit.org/show_bug.cgi?id=24396
2255 Change the terminology from '3D transforms' to '3D rendering'.
2257 * Scripts/build-webkit:
2258 * Scripts/run-webkit-tests:
2259 * Scripts/webkitdirs.pm:
2261 2009-03-17 Gustavo Noronha Silva <gns@gnome.org>
2263 Reviewed by Mark Rowe.
2265 Enable HTML5 media elements support by default also for the GTK+
2268 * Scripts/build-webkit:
2270 2009-03-17 Kevin Ollivier <kevino@theolliviers.com>
2272 Reviewed by Mark Rowe.
2274 Tweak the BUILDING_ON_* defines so that they work with the default values set by
2275 AvailabilityMacros.h.
2277 https://bugs.webkit.org/show_bug.cgi?id=24630
2279 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2281 2009-03-17 Oliver Hunt <oliver@apple.com>
2283 Reviewed by Alexey Proskuryakov.
2285 Make coverage testing more reliable by ensuring --coverage does not
2286 clobber configuration settings, and by removing the unnecessary
2287 dependency on matplotlib.
2289 * CodeCoverage/regenerate-coverage-display:
2290 * Scripts/webkitdirs.pm:
2292 2009-03-16 Anders Carlsson <andersca@apple.com>
2294 Reviewed by Darin Adler and John Sullivan.
2296 When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
2297 Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
2299 Instead, just zero out the member variable in invalidate.
2301 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2305 2009-03-16 Eric Seidel <eric@webkit.org>
2307 Reviewed by Sam Weinig.
2309 REGRESSION: undo-iframe-location-change.html is failing on the buildbots
2310 https://bugs.webkit.org/show_bug.cgi?id=24626
2312 Added a call to [[webview undoManager] removeAllActions]
2313 to make sure anything left on the undo stack after one test
2314 will not affect any later test.
2316 * DumpRenderTree/mac/DumpRenderTree.mm:
2317 (resetWebViewToConsistentStateBeforeTesting):
2319 2009-03-14 Mark Rowe <mrowe@apple.com>
2321 Reviewed by Dan Bernstein.
2323 Change the layout test result search policy for Mac OS X to fit better with the idea of
2324 newer OS versions improving on previous OS versions.
2326 The results for the latest version of Mac OS X are placed in the "mac" directory. The
2327 results for older versions of Mac OS X are structured as a series of overlays. When
2328 running on Leopard, the results in "mac-leopard" are searched before those in "mac".
2329 When running on Tiger, the results in "mac-tiger" are searched before those in
2330 "mac-leopard" and "mac".
2332 * Scripts/run-webkit-tests:
2334 2009-03-13 Mark Rowe <mrowe@apple.com>
2336 Rubber-stamped by Dan Bernstein.
2338 Take advantage of the ability of recent versions of Xcode to easily switch the active
2341 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2343 2009-03-13 Mark Rowe <mrowe@apple.com>
2345 Reviewed by Timothy Hatcher.
2347 Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
2349 The scripts will automatically target 64-bit if the system and hardware support it. This can be
2350 overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
2351 to make the override persistent.
2353 * Scripts/build-webkit: Remove architecture-related code.
2354 * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
2355 * Scripts/run-javascriptcore-tests: Remove architecture-related code.
2356 * Scripts/run-safari: Ditto.
2357 * Scripts/run-webkit-tests: Ditto.
2358 * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments. The --32-bit argument will set the
2359 architecture preference to the 32-bit architecture of the machine. The --64-bit argument will remove any architecture
2360 override that is in effect so that 64-bit support will be automatically detected.
2361 * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
2364 2009-03-13 Anders Carlsson <andersca@apple.com>
2366 Reviewed by Dan Bernstein.
2368 <rdar://problem/6610666> Revise the Cocoa event model text API
2370 Add a case statement for NPCocoaEventTextInput.
2372 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2375 2009-03-12 Kevin Ollivier <kevino@theolliviers.com>
2377 wx build fix. Let DerivedSources.make know we want database APIs.
2379 * wx/build-wxwebkit:
2381 2009-03-12 David Kilzer <ddkilzer@apple.com>
2383 Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
2385 <https://bugs.webkit.org/show_bug.cgi?id=24378>
2387 Reviewed by Adam Roben.
2389 * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
2390 and no file or directory names are specified on the command-line
2391 then try to find unmerged ChangeLog files based on 'svn stat' or
2392 'git diff'. Added global $isGit and $isSVN variables so that
2393 isGit() and isSVN() only have to be called once.
2394 (findUnmergedChangeLogs): Added.
2396 2009-03-11 David Kilzer <ddkilzer@apple.com>
2398 Clarify comments regarding order of FEATURE_DEFINES
2400 Rubber-stamped by Mark Rowe.
2402 * Scripts/build-webkit: Added warning about keeping
2403 FEATURE_DEFINES in order and the consequences when they are not.
2405 2009-03-11 Jan Michael Alonzo <jmalonzo@webkit.org>
2407 Reviewed by Holger Freyther.
2409 Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
2410 https://bugs.webkit.org/show_bug.cgi?id=24487
2412 Also reset WebSettings to its default state for JavaScript
2413 profiling, Developer Extras and Private Browsing before running
2414 the test (can be after each test but we want to be consistent with
2415 other ports in this regard)
2417 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2418 (resetWebViewToConsistentStateBeforeTesting):
2420 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2421 (LayoutTestController::setPrivateBrowsingEnabled):
2423 2009-03-11 Jan Michael Alonzo <jmalonzo@webkit.org>
2425 Reviewed by Holger Freyther.
2427 [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
2428 https://bugs.webkit.org/show_bug.cgi?id=2260
2430 Add plugin support only for X11 builds
2432 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2433 (setDefaultsToConsistentStateValuesForTesting):
2436 2009-03-08 Holger Hans Peter Freyther <zecke@selfish.org>
2438 Reviewed by Mark Rowe.
2440 Implement setJavaScriptProfilingEnabled by enabling the Developer
2441 Extras and the JavaScript profiling on the WebKitWebInspector. After
2442 this change we pass the three enabled tests in fast/profiler.
2444 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2445 (runTest): Reset setJavaScriptProfilingEnabled after each test run
2446 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2447 (LayoutTestController::setJavaScriptProfilingEnabled):
2449 2009-03-07 Jan Michael Alonzo <jmalonzo@webkit.org>
2451 Reviewed by Holger Freyther.
2453 [Gtk] Enable http history tests
2454 https://bugs.webkit.org/show_bug.cgi?id=24394
2456 Get the index of the current item from the list of (history) items
2457 to print before adding the back history items to the list. This
2458 will make the 'curr' pointer point to the correct item in the
2459 actual results, therefore, passing some of the http/tests/history
2462 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2463 (dumpBackForwardListForWebView):
2465 2009-03-06 Adam Treat <adam.treat@torchmobile.com>
2467 Reviewed by George Staikos.
2469 When building QtWebKit in release mode make sure that QT_SHARED is defined
2470 otherwise none of the public API will be exported. This leads to missing
2471 symbols and link errors if hidden-visibility is used.
2473 * Scripts/webkitdirs.pm:
2475 2009-03-06 Adam Roben <aroben@apple.com>
2477 Change the isCygwin check in update-webkit to isAppleWinWebKit
2479 This matches a similar check in build-webkit, and is more correct.
2481 Reviewed by Alexey Proskuryakov.
2483 * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
2484 isAppleWinWebKit is true.
2486 2009-03-06 Adam Roben <aroben@apple.com>
2488 Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
2489 present but out of date
2491 Reviewed by Alexey Proskuryakov.
2493 * Scripts/update-webkit-support-libs: Changed to use
2494 dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
2495 check to make sure the file is up-to-date. If it is out of date, print
2496 an error message and quit.
2497 (sub dieAndInstructToDownload): Added. Prints an error message and
2498 quits with an error.
2500 2009-03-03 Anders Carlsson <andersca@apple.com>
2502 Reviewed by John Sullivan.
2504 https://bugs.webkit.org/show_bug.cgi?id=22884
2505 <rdar://problem/6449783>
2506 modified layout test crashes Safari
2508 Add destroyNullStream test function to the test plug-in.
2510 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2511 (destroyNullStream):
2514 2009-03-03 Brady Eidson <beidson@apple.com>
2516 Reviewed by Darin Adler
2518 Support layout test covering <rdar://problem/6616664>
2520 Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
2522 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2523 (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the
2526 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2527 (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
2529 2009-03-02 Sam Weinig <sam@webkit.org>
2531 Reviewed by Mark Rowe.
2533 Enable Geolocation (except on Tiger and Leopard).
2535 * Scripts/build-webkit:
2537 2009-03-02 Kevin Ollivier <kevino@theolliviers.com>
2539 Build fixes for wxWidgets Mac trunk build.
2541 * wx/build-wxwebkit:
2543 2009-03-02 Timothy Hatcher <timothy@apple.com>
2545 Allow for multiline quoted text in JavaScript files when looking for function names.
2547 https://bugs.webkit.org/show_bug.cgi?id=24296
2549 Reviewed by David Kilzer.
2551 * Scripts/prepare-ChangeLog:
2553 2009-03-02 Adam Treat <adam.treat@torchmobile.com>
2555 Reviewed by Eric Seidel.
2557 Add three new drt helper functions that enable all of the tests in
2558 LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
2560 * DumpRenderTree/qt/jsobjects.cpp:
2561 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2562 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2563 (LayoutTestController::numberOfActiveAnimations):
2564 * DumpRenderTree/qt/jsobjects.h:
2566 2009-03-02 Adam Roben <aroben@apple.com>
2568 Windows build fix after r41349
2570 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2571 (AccessibilityUIElement::getChildrenWithRange):
2573 2009-03-01 Chris Fleizach <cfleizach@apple.com>
2575 Reviewed by Oliver Hunt.
2577 Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
2579 Change getChildAtIndex() to get a range of children instead of all the children.
2580 This exercises code in WebCore that returns elements when asked for from a range.
2582 * DumpRenderTree/AccessibilityUIElement.h:
2583 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2584 (AccessibilityUIElement::getChildrenWithRange):
2585 (AccessibilityUIElement::getChildAtIndex):
2586 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2587 (AccessibilityUIElement::getChildrenWithRange):
2589 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
2591 Reviewed by Holger Freyther.
2593 [Gtk] get the HTTP layout tests going
2594 https://bugs.webkit.org/show_bug.cgi?id=24259
2596 Determine the frame's response and decide whether to dump as text
2599 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2602 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
2604 Reviewed by Holger Freyther.
2606 [Gtk] get the HTTP layout tests going
2607 https://bugs.webkit.org/show_bug.cgi?id=24259
2609 Implement dumping of WebKitWebBackForwardList and its history
2612 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2613 (compareHistoryItems):
2615 (dumpBackForwardListForWebView):
2618 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2619 (LayoutTestController::clearBackForwardList):
2620 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2621 (BackForwardItem::invoke):
2623 2009-02-28 Zan Dobersek <zandobersek@gmail.com>
2625 Reviewed by Holger Freyther.
2627 Set the resolution for the default screen to 72.0.
2628 This way, setting font sizes results in expected values.
2630 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2631 (setDefaultsToConsistentStateValuesForTesting):
2633 2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
2635 Reviewed by Holger Freyther.
2637 Adds a WebKitMakeArguments environment variable to enable passing
2638 of arguments such as '-j2' to make for the autotools build.
2640 * Scripts/webkitdirs.pm:
2642 2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
2644 Reviewed by Holger Freyther.
2646 Add a GTK+-only option to enable GNOME Keyring when building.
2648 * Scripts/build-webkit:
2650 2009-02-28 Jan Michael Alonzo <jmalonzo@webkit.org>
2652 Reviewed by Holger Freyther.
2654 [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
2655 https://bugs.webkit.org/show_bug.cgi?id=24076
2657 Refactor gtk lib detection and put it in builtDylibPathForName
2659 * Scripts/webkitdirs.pm:
2661 2009-02-28 Christian Dywan <christian@twotoasts.de>
2663 Rubber-stamped by Holger Freyther.
2665 * GtkLauncher/main.c:
2666 (activate_uri_entry_cb):
2667 (main): Use the new webkit_web_view_load_uri to open URIs.
2669 2009-02-27 Xan Lopez <xan@gnome.org>
2671 Rubber-stamped by Alexey Proskuryakov.
2673 https://bugs.webkit.org/show_bug.cgi?id=24222
2674 [GTK] Remove checks for old glib versions
2676 libsoup, which is a hard dependency, needs at least glib 2.15.3,
2677 so remove all glib checks for versions older than that.
2679 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2680 (LayoutTestController::setWaitToDump):
2682 2009-02-25 Simon Fraser <simon.fraser@apple.com>
2684 Reviewed by Eric Seidel
2686 Fix spew about a WebView being deallocated while key value observers are
2687 still registered with it by making sure that we always stop observing
2688 _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
2690 * DumpRenderTree/mac/DumpRenderTree.mm:
2692 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2693 (-[DumpRenderTreeWindow close]):
2695 2009-02-25 Adam Treat <adam.treat@torchmobile.com>
2697 Reviewed by Alexey Proskuryakov.
2699 Do not queue the calls to 'DumpRenderTree::dump()' as this can result
2700 in more than one call as a test that calls 'notifyDone()' can then be
2701 subsequently fully loaded and initiate a second dump. Also make sure
2702 to stop any existing page load that is happening before running the next
2703 test. Combined this serves to produce 217 more passing tests for the
2704 Qt port or roughly 5% at this point.
2706 * DumpRenderTree/qt/DumpRenderTree.cpp:
2707 (WebCore::DumpRenderTree::DumpRenderTree):
2708 (WebCore::DumpRenderTree::open):
2710 2009-02-25 Simon Fraser <simon.fraser@apple.com>
2712 Reviewed by Dan Bernstein
2714 https://bugs.webkit.org/show_bug.cgi?id=23854
2716 Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
2717 property of the WebView, and use that to turn -autodisplay on and off.
2718 This is necessary so that accelerated animations start correctly.
2719 We can thus remove the -display hack in createBitmapContextFromWebView().
2721 * DumpRenderTree/mac/DumpRenderTree.mm:
2722 (createWebViewAndOffscreenWindow):
2724 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2725 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2726 (-[DumpRenderTreeWindow close]):
2727 (-[DumpRenderTreeWindow webView]):
2728 (-[DumpRenderTreeWindow startObservingWebView]):
2729 (-[DumpRenderTreeWindow stopObservingWebView]):
2730 (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
2731 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2732 (createBitmapContextFromWebView):
2734 2009-02-25 Adam Treat <adam.treat@torchmobile.com>
2736 Reviewed by Zack Rusin.
2738 https://bugs.webkit.org/show_bug.cgi?id=24158
2739 Implement the queue*() methods of the layoutTestController and begin
2740 implementing the dump of the back/forward list. This results in 2% more
2741 tests passing as well as 23 currently skipped tests now passing.
2743 * DumpRenderTree/qt/DumpRenderTree.cpp:
2744 (WebCore::DumpRenderTree::dumpBackForwardList):
2745 (WebCore::DumpRenderTree::dump):
2746 * DumpRenderTree/qt/DumpRenderTree.h:
2747 * DumpRenderTree/qt/DumpRenderTree.pro:
2748 * DumpRenderTree/qt/jsobjects.cpp:
2751 (ReloadItem::invoke):
2752 (ScriptItem::invoke):
2753 (BackForwardItem::invoke):
2754 (LayoutTestController::reset):
2755 (LayoutTestController::processWork):
2756 (LayoutTestController::maybeDump):
2757 (LayoutTestController::queueBackNavigation):
2758 (LayoutTestController::queueForwardNavigation):
2759 (LayoutTestController::queueLoad):
2760 (LayoutTestController::queueReload):
2761 (LayoutTestController::queueScript):
2762 * DumpRenderTree/qt/jsobjects.h:
2763 (LayoutTestController::shouldDumpBackForwardList):
2764 (LayoutTestController::dumpBackForwardList):
2766 2009-02-24 Adam Treat <adam.treat@torchmobile.com>
2768 Reviewed by Alexey Proskuryakov.
2770 Don't print out that you are generating new results if you are not in fact
2771 generating new results and disable generating new results by default for
2772 the all ports other than the canonical Apple Mac port since this can litter
2773 the source directory with hundreds of new results since other ports
2774 are not as up to date.
2776 * Scripts/run-webkit-tests:
2778 2009-02-24 Adam Treat <adam.treat@torchmobile.com>
2780 Reviewed by Cameron Zwarich.
2782 The Qt port does not support these yet nor does the nm check work with
2785 * Scripts/webkitdirs.pm:
2787 2009-02-24 Jan Michael Alonzo <jmalonzo@webkit.org>
2789 Reviewed by Alexey Proskuryakov.
2791 [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
2792 https://bugs.webkit.org/show_bug.cgi?id=24072
2794 Allow toggling of 3D transforms and HTML5 channel messaging
2795 support for the Autotools (Gtk) build.
2797 Also add '--gtk' in the build-webkit help doc and fix autotools
2798 option for web-workers support.
2800 * Scripts/build-webkit:
2802 2009-02-23 Xan Lopez <xan@gnome.org>
2804 Reviewed by Alexey Proskuryakov.
2806 https://bugs.webkit.org/show_bug.cgi?id=22624
2807 [SOUP][GTK] Need API to get SoupSession from WebKit.
2809 Add soup flags now that dependency is explicit.
2813 2009-02-22 Mark Rowe <mrowe@apple.com>
2815 Reviewed by Oliver Hunt.
2817 Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
2819 * DumpRenderTree/mac/DumpRenderTree.mm:
2820 (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
2821 than of an arbitrary existing method on the class.
2823 2009-02-13 Eric Seidel <eric@webkit.org>
2825 Rubber-stamped by Alexey Proskuryakov.
2827 Add a few ignores to make-js-test-wrappers.
2829 * Scripts/make-js-test-wrappers:
2831 2009-02-17 Holger Hans Peter Freyther <zecke@selfish.org>
2833 Reviewed by Alexey Proskuryakov.
2835 Prepend file:// to the test result filename to make
2836 GtkLauncher display the result page.
2838 * Scripts/run-webkit-tests:
2840 2009-02-16 Gustavo Noronha Silva <gns@gnome.org>
2842 Reviewed by Adam Roben
2844 Actually use the installation prefix defined in WebKitInstallationPrefix,
2845 in autotools builds.
2847 * Scripts/webkitdirs.pm:
2849 2009-02-12 Simon Fraser <simon.fraser@apple.com>
2853 Remove debugging code which was committed by mistake.
2855 * Scripts/run-webkit-tests:
2857 2009-02-12 Simon Fraser <simon.fraser@apple.com>
2859 Reviewed by Adam Roben
2861 https://bugs.webkit.org/show_bug.cgi?id=23928
2863 Add detection of accelerated compositing and 3d transforms,
2864 and add various directories to $ignoredDirectories when these
2867 * Scripts/run-webkit-tests:
2868 * Scripts/webkitdirs.pm:
2870 2009-02-12 Adam Roben <aroben@apple.com>
2872 Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
2873 contains non-existent tests is confusing and is given for disabled
2876 <https://bugs.webkit.org/show_bug.cgi?id=23922>
2878 We now no longer warn about disabled tests. The warning now reads:
2880 Skipped list contained '$item', but no file of that name could be
2883 Reviewed by John Sullivan.
2885 * Scripts/run-webkit-tests:
2886 (top level): Pass the list name to processIgnoreTests so it can print
2887 out a reasonable warning message.
2888 (processIgnoreTests): Take a list name as a second parameter and use
2889 it to display a better warning message. Also check for a "-disabled"
2890 version of the test before warning about it not existing.
2892 2009-02-11 Adam Roben <aroben@apple.com>
2894 Windows fix for Bug 22239: Implement missing animation & transition
2895 APIs on LayoutTestController for non-mac platforms
2897 <https://bugs.webkit.org/show_bug.cgi?id=22239>
2899 Reviewed by Simon Fraser.
2901 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2902 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2903 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2904 (LayoutTestController::numberOfActiveAnimations):
2905 Implemented these by calling through to IWebFramePrivate.
2907 2009-02-10 Chris Marrin <cmarrin@apple.com>
2909 Reviewed by Simon Fraser.
2911 * Scripts/build-webkit:
2913 https://bugs.webkit.org/show_bug.cgi?id=23883
2915 Added support --3d-transforms. Defaults to off
2917 2009-02-11 Adam Roben <aroben@apple.com>
2919 Fix crashes in http/tests/history/redirect-301.pl and friends on
2922 Reviewed by Alexey Proskuryakov.
2924 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2925 (LayoutTestController::webHistoryItemCount): Null-check the shared
2926 WebHistory instance before dereferencing it.
2928 2009-02-10 Adam Roben <aroben@apple.com>
2930 Fix Bug 23869: Pixel tests can't be run on Windows
2932 <https://bugs.webkit.org/show_bug.cgi?id=23869>
2934 This patch gets the pixel tests limping along on Windows again.
2936 Reviewed by Dan Bernstein.
2938 * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
2939 Debug_Internal configuration of ImageDiff in the Debug_Internal
2940 configuration of this solution.
2942 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2943 (printPNG): Changed to call fwrite in a loop, since this call was
2944 failing due to the buffer being too large on Windows.
2945 (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
2946 #if PLATFORM(MAC)/#endif.
2948 * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
2949 configuration that matches the Debug configuration but also references
2950 debug_internal.vsprops.
2952 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2953 (createBitmapContextFromWebView): Renamed from
2954 getBitmapContextFromWebView to match the name used in the
2955 cross-platform code.
2957 2009-02-10 Adam Roben <aroben@apple.com>
2959 Robustify DumpRenderTree/win a little
2961 DumpRenderTree was previously not holding a ref to the WebViews it
2962 created via window.open. It was getting away with this because
2963 WebViews get reffed by being preference notification observers and by
2964 registering for drag-n-drop messages. Now DRT does hold a ref, in case
2965 this situation changes in the future.
2967 Reviewed by Alexey Proskuryakov.
2969 * DumpRenderTree/win/DumpRenderTree.cpp:
2970 (dumpBackForwardListForAllWindows): Added a .get().
2971 (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
2972 * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
2973 windowToWebViewMap() to hold a ref to the WebViews it contains.
2975 2009-02-05 Simon Fraser <simon.fraser@apple.com>
2977 Fix the #include file order, per review comments.
2979 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2981 2009-02-05 Simon Fraser <simon.fraser@apple.com>
2983 Reviewed by Dan Bernstein
2985 https://bugs.webkit.org/show_bug.cgi?id=23362
2987 If the WebHTMLView uses accelerated compositing, we need for force
2988 the on-screen capture path and also force animations to start with -display
2989 since the DRT window has autodisplay disabled.
2991 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2992 (createBitmapContextFromWebView):
2994 2009-02-03 miggilin <mr.diggilin@gmail.com>
2996 Reviewed by Darin Adler.
2998 Change the way wxWidgets build gets arguments.
2999 Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
3000 argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
3001 removed when --wx is checked for).
3003 https://bugs.webkit.org/show_bug.cgi?id=23701
3005 * Scripts/build-webkit:
3006 * Scripts/webkitdirs.pm:
3008 2009-01-30 Chris Fleizach <cfleizach@apple.com>
3010 Reviewed by Oliver Hunt.
3012 Catch exceptions thrown by AppKit when accessing an attribute than an element
3015 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3016 (attributesOfElement):
3018 2009-01-29 David Kilzer <ddkilzer@apple.com>
3020 Remove semi-colons from the end of ObjC method implementations
3022 Rubber-stamped by Adam Roben.
3024 $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
3026 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3027 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3028 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3029 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3030 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3031 * DumpRenderTree/mac/UIDelegate.mm:
3032 (-[UIDelegate webViewFrame:]):
3034 2009-01-28 Geoffrey Garen <ggaren@apple.com>
3038 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3039 (LayoutTestController::webHistoryItemCount):
3041 2009-01-28 Geoffrey Garen <ggaren@apple.com>
3043 Reviewed by Sam Weinig.
3045 Added support for querying how many history items were created during a
3048 * DumpRenderTree/LayoutTestController.cpp:
3049 (getWebHistoryItemCountCallback):
3050 (LayoutTestController::staticValues):
3051 * DumpRenderTree/LayoutTestController.h:
3052 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3053 (LayoutTestController::webHistoryItemCount):
3054 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3055 (LayoutTestController::webHistoryItemCount):
3057 2009-01-26 Pierre-Olivier Latour <pol@apple.com>
3059 Tweaked again earlier fix, this time just to print a warning and not abort if
3060 attempting to generate pixel results and Perian is installed.
3062 https://bugs.webkit.org/show_bug.cgi?id=22615
3064 * Scripts/run-webkit-tests:
3066 2009-01-26 Christian Dywan <christian@twotoasts.de>
3068 Rubber stamped by Holger Freyther.
3070 * GtkLauncher/main.c:
3071 (main): Initialize threads, which is required for libSoup.
3073 2009-01-23 David Kilzer <ddkilzer@apple.com>
3075 * Scripts/do-webcore-rename: Removed 10 header guard renames that
3076 had already been fixed, and updated 4 renames whose original values
3079 2009-01-22 Anders Carlsson <andersca@apple.com>
3083 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3085 2009-01-22 Anders Carlsson <andersca@apple.com>
3087 Reviewed by Sam Weinig.
3089 Clean up the test plug-in code. We now always use the CG drawing model and the
3090 Cocoa event model. It is however possible to revert to the old Carbon event model by
3091 specifying forcecarbon=true in the embed/object tag.
3093 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3094 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3096 (handleEventCarbon):
3100 2009-01-21 Pierre-Olivier Latour <pol@apple.com>
3102 Tweaked earlier fix to only print a warning when Perian is installed,
3103 and fail completely only if attempting to generate new pixel test results.
3105 https://bugs.webkit.org/show_bug.cgi?id=23392
3107 * Scripts/run-webkit-tests:
3109 2009-01-20 Darin Adler <darin@apple.com>
3111 Reviewed by Alexey Proskuryakov.
3113 Bug 23450: string leaks seen in DumpRenderTree accessibility test code
3114 https://bugs.webkit.org/show_bug.cgi?id=23450
3116 * DumpRenderTree/AccessibilityUIElement.cpp:
3117 (isAttributeSettableCallback): Add the missing JSStringRelease call.
3118 (attributeValueCallback): Ditto.
3120 2009-01-20 Pierre-Olivier Latour <pol@apple.com>
3122 Reviewed by Darin Adler.
3124 Print warning regarding display color profile change in run-webkit-tests instead of DRT.
3126 https://bugs.webkit.org/show_bug.cgi?id=23392
3128 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3129 (setupMainDisplayColorProfile):
3130 * Scripts/run-webkit-tests:
3132 2009-01-20 Pierre-Olivier Latour <pol@apple.com>
3134 Reviewed by Darin Adler.
3136 Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
3137 in order to avoid result differences in some media tests.
3139 https://bugs.webkit.org/show_bug.cgi?id=22615
3141 * Scripts/run-webkit-tests:
3142 * Scripts/webkitdirs.pm:
3144 2009-01-19 Sam Weinig <sam@webkit.org>
3146 * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
3148 2009-01-16 Gabor Loki <loki@inf.u-szeged.hu>
3150 Reviewed by Darin Adler.
3152 * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
3153 parameters to make command in QMake projects.
3155 2009-01-16 Chris Fleizach <cfleizach@apple.com>
3157 Reviewed by Beth Dakin.
3159 Add AX methods to retrieve the parent of an element.
3161 * DumpRenderTree/AccessibilityUIElement.cpp:
3162 (parentElementCallback):
3163 (AccessibilityUIElement::getJSClass):
3164 * DumpRenderTree/AccessibilityUIElement.h:
3165 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3166 (AccessibilityUIElement::parentElement):
3167 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3168 (AccessibilityUIElement::parentElement):
3170 2009-01-16 Anders Carlsson <andersca@apple.com>
3172 Reviewed by Adam Roben.