1 2009-03-26 Darin Adler <darin@apple.com>
3 Reviewed by Geoff Garen.
5 * Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to
8 2009-03-26 Darin Adler <darin@apple.com>
10 Reviewed by Geoff Garen.
12 * Scripts/do-webcore-rename: Update for rename of JSEventListener to
13 JSProtectedEventListener. This includes all the related renames, but
14 not that one because that one renames the file.
16 2009-03-26 Adam Roben <aroben@apple.com>
18 Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes
21 The previous limit was 60 seconds (or 10 minutes under GuardMalloc).
22 There's no evidence that we need the limit to be this long, and having
23 it be so long just makes timed-out tests take forever to complete.
24 DRT's watchdog timer is 10 seconds, so still has time to fire before
25 run-webkit-tests will cut it off.
27 Reviewed by Simon Fraser.
29 * Scripts/run-webkit-tests:
30 (sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or
31 2.5 mintues under GuardMalloc).
33 2009-03-26 Adam Roben <aroben@apple.com>
35 Make DRT's watchdog timer actually work on Windows
37 We were previously trying to use a CFRunLoopTimer for the watchdog
38 timer on Windows. This doesn't work because we don't use a CFRunLoop
39 on the main thread on Windows.
41 This patch changes the watchdog timer on Windows be a normal Windows
44 Reviewed by Simon Fraser.
46 * DumpRenderTree/DumpRenderTree.h: Moved declaration of
47 waitToDumpWatchdog from here...
48 * DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here.
50 * DumpRenderTree/win/DumpRenderTree.cpp:
51 (invalidateAnyPreviousWaitToDumpWatchdog): Added. This function
52 cancels an existing watchdog timer.
53 (dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will
54 prevent watchdogs from previous tests firing during subsequent ones.
55 This matches Mac's behavior.
57 * DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of
60 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
61 (waitUntilDoneWatchdogFired): Converted this to be a Windows
63 (LayoutTestController::setWaitToDump): Changed to use SetTimer instead
66 2009-03-25 Mark Rowe <mrowe@apple.com>
68 Rubber-stamped by Steve Falkenburg.
70 Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends.
72 * Scripts/run-webkit-tests:
74 2009-03-24 Mark Rowe <mrowe@apple.com>
76 Fix the Tiger build some more.
78 * DumpRenderTree/mac/TextInputController.m:
80 2009-03-24 Mark Rowe <mrowe@apple.com>
84 * DumpRenderTree/mac/TextInputController.m:
86 2009-03-24 Mark Rowe <mrowe@apple.com>
88 Reviewed by Jon "The Most Boring Man in the World" Honeycutt.
90 Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does
91 not differ between 32- and 64-bit.
93 * DumpRenderTree/mac/TextInputController.m:
94 (-[TextInputController characterIndexForPointX:Y:]):
96 2009-03-24 Mark Rowe <mrowe@apple.com>
98 Reviewed by Sam Weinig.
100 Use a different platform search path for tests and skip lists, so that Tiger doesn't end up
101 using the Leopard skip list. Tests and skip lists are now looked for in the directory for
102 the current OS and the generic "mac" directory. Tests and skip lists for newer OS versions are
105 * Scripts/run-webkit-tests:
107 2009-03-23 Stephanie <slewis@apple.com>
111 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
113 2009-03-23 Stephanie Lewis <slewis@apple.com>
115 Reviewed by Mark Rowe.
117 Add production configuration for creating roots of WebKitTools.
119 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
121 2009-03-23 Oliver Hunt <oliver@apple.com>
123 Reviewed by Geoff Garen.
125 Make testapi run as part of the standard JavaScriptCore tests.
127 We only run testapi on the mac as currently windows webkit doesn't
128 place all the necessary files for testapi, and we also test the
131 * Scripts/run-javascriptcore-tests:
133 2009-03-21 Oliver Hunt <oliver@apple.com>
135 Reviewed by Mark Rowe.
137 Make build-jsc build testapi and minidom in addition to jsc itself.
141 2009-03-20 Anders Carlsson <andersca@apple.com>
143 Reviewed by Darin Adler.
145 Only release the result NPVariant if the call to NPN_Invoke was successful.
147 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
150 2009-03-19 Gustavo Noronha Silva <gns@gnome.org>
152 Reviewed by Mark Rowe.
154 Make determinePassedArchitecture always consume the --32-bit
155 option, also in non-AppleMacWebkit platforms. Solution pointed out
158 * Scripts/webkitdirs.pm:
160 2009-03-19 Mark Rowe <mrowe@apple.com>
162 Reviewed by Oliver Hunt.
164 Work around <rdar://problem/6698023> by activating fonts from disk.
166 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
167 in the built products directory.
168 * DumpRenderTree/mac/DumpRenderTree.mm:
169 (activateFonts): Activate the fonts from disk.
171 2009-03-18 Mark Rowe <mrowe@apple.com>
173 Reviewed by Dan Bernstein.
175 <rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
177 Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
178 in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
180 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
181 (log): Invoke console.log via the NPAPI.
182 (NPP_Destroy): Call log instead of printf.
183 (NPP_SetWindow): Ditto.
184 (handleEventCarbon): Ditto.
185 (handleEventCocoa): Ditto.
186 (NPP_HandleEvent): Pass the instance in to the event handler.
188 2009-03-17 Mark Rowe <mrowe@apple.com>
190 Reviewed by Oliver Hunt.
192 Use the normal search rules for tests inside the platform directory.
194 This allows tests inside the platform directory to have different results
195 on different versions of Mac OS X.
197 * Scripts/run-webkit-tests:
199 2009-03-17 David Kilzer <ddkilzer@apple.com>
201 resolve-ChangeLogs should not die on unmerged non-ChangeLog files
203 Reviewed by Adam Roben.
205 Fixes the following bug in resolve-ChangeLogs:
207 Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
208 Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
210 * Scripts/resolve-ChangeLogs:
211 (findUnmergedChangeLogs): Check the result of findChangeLog() to
212 make sure we don't add undef values to the list of files being
215 2009-03-17 Gustavo Noronha Silva <gns@gnome.org>
217 Reviewed by Simon Fraser.
219 Fix the usage of the $architecture variable for non-Apple-Mac
222 * Scripts/webkitdirs.pm:
224 2009-03-17 David Kilzer <ddkilzer@apple.com>
226 Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
228 <https://bugs.webkit.org/show_bug.cgi?id=24645>
230 Reviewed by Mark Rowe.
232 * Scripts/bisect-builds:
233 (makeNightlyList): Added checks for Safari 4 Public Beta on
236 2009-03-17 Simon Fraser <simon.fraser@apple.com>
238 Reviewed by Darin Adler
240 https://bugs.webkit.org/show_bug.cgi?id=24396
242 Change the terminology from '3D transforms' to '3D rendering'.
244 * Scripts/build-webkit:
245 * Scripts/run-webkit-tests:
246 * Scripts/webkitdirs.pm:
248 2009-03-17 Gustavo Noronha Silva <gns@gnome.org>
250 Reviewed by Mark Rowe.
252 Enable HTML5 media elements support by default also for the GTK+
255 * Scripts/build-webkit:
257 2009-03-17 Kevin Ollivier <kevino@theolliviers.com>
259 Reviewed by Mark Rowe.
261 Tweak the BUILDING_ON_* defines so that they work with the default values set by
262 AvailabilityMacros.h.
264 https://bugs.webkit.org/show_bug.cgi?id=24630
266 * DumpRenderTree/mac/DumpRenderTreeMac.h:
268 2009-03-17 Oliver Hunt <oliver@apple.com>
270 Reviewed by Alexey Proskuryakov.
272 Make coverage testing more reliable by ensuring --coverage does not
273 clobber configuration settings, and by removing the unnecessary
274 dependency on matplotlib.
276 * CodeCoverage/regenerate-coverage-display:
277 * Scripts/webkitdirs.pm:
279 2009-03-16 Anders Carlsson <andersca@apple.com>
281 Reviewed by Darin Adler and John Sullivan.
283 When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
284 Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
286 Instead, just zero out the member variable in invalidate.
288 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
292 2009-03-16 Eric Seidel <eric@webkit.org>
294 Reviewed by Sam Weinig.
296 REGRESSION: undo-iframe-location-change.html is failing on the buildbots
297 https://bugs.webkit.org/show_bug.cgi?id=24626
299 Added a call to [[webview undoManager] removeAllActions]
300 to make sure anything left on the undo stack after one test
301 will not affect any later test.
303 * DumpRenderTree/mac/DumpRenderTree.mm:
304 (resetWebViewToConsistentStateBeforeTesting):
306 2009-03-14 Mark Rowe <mrowe@apple.com>
308 Reviewed by Dan Bernstein.
310 Change the layout test result search policy for Mac OS X to fit better with the idea of
311 newer OS versions improving on previous OS versions.
313 The results for the latest version of Mac OS X are placed in the "mac" directory. The
314 results for older versions of Mac OS X are structured as a series of overlays. When
315 running on Leopard, the results in "mac-leopard" are searched before those in "mac".
316 When running on Tiger, the results in "mac-tiger" are searched before those in
317 "mac-leopard" and "mac".
319 * Scripts/run-webkit-tests:
321 2009-03-13 Mark Rowe <mrowe@apple.com>
323 Rubber-stamped by Dan Bernstein.
325 Take advantage of the ability of recent versions of Xcode to easily switch the active
328 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
330 2009-03-13 Mark Rowe <mrowe@apple.com>
332 Reviewed by Timothy Hatcher.
334 Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
336 The scripts will automatically target 64-bit if the system and hardware support it. This can be
337 overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
338 to make the override persistent.
340 * Scripts/build-webkit: Remove architecture-related code.
341 * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
342 * Scripts/run-javascriptcore-tests: Remove architecture-related code.
343 * Scripts/run-safari: Ditto.
344 * Scripts/run-webkit-tests: Ditto.
345 * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments. The --32-bit argument will set the
346 architecture preference to the 32-bit architecture of the machine. The --64-bit argument will remove any architecture
347 override that is in effect so that 64-bit support will be automatically detected.
348 * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
351 2009-03-13 Anders Carlsson <andersca@apple.com>
353 Reviewed by Dan Bernstein.
355 <rdar://problem/6610666> Revise the Cocoa event model text API
357 Add a case statement for NPCocoaEventTextInput.
359 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
362 2009-03-12 Kevin Ollivier <kevino@theolliviers.com>
364 wx build fix. Let DerivedSources.make know we want database APIs.
368 2009-03-12 David Kilzer <ddkilzer@apple.com>
370 Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
372 <https://bugs.webkit.org/show_bug.cgi?id=24378>
374 Reviewed by Adam Roben.
376 * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
377 and no file or directory names are specified on the command-line
378 then try to find unmerged ChangeLog files based on 'svn stat' or
379 'git diff'. Added global $isGit and $isSVN variables so that
380 isGit() and isSVN() only have to be called once.
381 (findUnmergedChangeLogs): Added.
383 2009-03-11 David Kilzer <ddkilzer@apple.com>
385 Clarify comments regarding order of FEATURE_DEFINES
387 Rubber-stamped by Mark Rowe.
389 * Scripts/build-webkit: Added warning about keeping
390 FEATURE_DEFINES in order and the consequences when they are not.
392 2009-03-11 Jan Michael Alonzo <jmalonzo@webkit.org>
394 Reviewed by Holger Freyther.
396 Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
397 https://bugs.webkit.org/show_bug.cgi?id=24487
399 Also reset WebSettings to its default state for JavaScript
400 profiling, Developer Extras and Private Browsing before running
401 the test (can be after each test but we want to be consistent with
402 other ports in this regard)
404 * DumpRenderTree/gtk/DumpRenderTree.cpp:
405 (resetWebViewToConsistentStateBeforeTesting):
407 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
408 (LayoutTestController::setPrivateBrowsingEnabled):
410 2009-03-11 Jan Michael Alonzo <jmalonzo@webkit.org>
412 Reviewed by Holger Freyther.
414 [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
415 https://bugs.webkit.org/show_bug.cgi?id=2260
417 Add plugin support only for X11 builds
419 * DumpRenderTree/gtk/DumpRenderTree.cpp:
420 (setDefaultsToConsistentStateValuesForTesting):
423 2009-03-08 Holger Hans Peter Freyther <zecke@selfish.org>
425 Reviewed by Mark Rowe.
427 Implement setJavaScriptProfilingEnabled by enabling the Developer
428 Extras and the JavaScript profiling on the WebKitWebInspector. After
429 this change we pass the three enabled tests in fast/profiler.
431 * DumpRenderTree/gtk/DumpRenderTree.cpp:
432 (runTest): Reset setJavaScriptProfilingEnabled after each test run
433 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
434 (LayoutTestController::setJavaScriptProfilingEnabled):
436 2009-03-07 Jan Michael Alonzo <jmalonzo@webkit.org>
438 Reviewed by Holger Freyther.
440 [Gtk] Enable http history tests
441 https://bugs.webkit.org/show_bug.cgi?id=24394
443 Get the index of the current item from the list of (history) items
444 to print before adding the back history items to the list. This
445 will make the 'curr' pointer point to the correct item in the
446 actual results, therefore, passing some of the http/tests/history
449 * DumpRenderTree/gtk/DumpRenderTree.cpp:
450 (dumpBackForwardListForWebView):
452 2009-03-06 Adam Treat <adam.treat@torchmobile.com>
454 Reviewed by George Staikos.
456 When building QtWebKit in release mode make sure that QT_SHARED is defined
457 otherwise none of the public API will be exported. This leads to missing
458 symbols and link errors if hidden-visibility is used.
460 * Scripts/webkitdirs.pm:
462 2009-03-06 Adam Roben <aroben@apple.com>
464 Change the isCygwin check in update-webkit to isAppleWinWebKit
466 This matches a similar check in build-webkit, and is more correct.
468 Reviewed by Alexey Proskuryakov.
470 * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
471 isAppleWinWebKit is true.
473 2009-03-06 Adam Roben <aroben@apple.com>
475 Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
476 present but out of date
478 Reviewed by Alexey Proskuryakov.
480 * Scripts/update-webkit-support-libs: Changed to use
481 dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
482 check to make sure the file is up-to-date. If it is out of date, print
483 an error message and quit.
484 (sub dieAndInstructToDownload): Added. Prints an error message and
487 2009-03-03 Anders Carlsson <andersca@apple.com>
489 Reviewed by John Sullivan.
491 https://bugs.webkit.org/show_bug.cgi?id=22884
492 <rdar://problem/6449783>
493 modified layout test crashes Safari
495 Add destroyNullStream test function to the test plug-in.
497 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
501 2009-03-03 Brady Eidson <beidson@apple.com>
503 Reviewed by Darin Adler
505 Support layout test covering <rdar://problem/6616664>
507 Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
509 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
510 (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the
513 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
514 (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
516 2009-03-02 Sam Weinig <sam@webkit.org>
518 Reviewed by Mark Rowe.
520 Enable Geolocation (except on Tiger and Leopard).
522 * Scripts/build-webkit:
524 2009-03-02 Kevin Ollivier <kevino@theolliviers.com>
526 Build fixes for wxWidgets Mac trunk build.
530 2009-03-02 Timothy Hatcher <timothy@apple.com>
532 Allow for multiline quoted text in JavaScript files when looking for function names.
534 https://bugs.webkit.org/show_bug.cgi?id=24296
536 Reviewed by David Kilzer.
538 * Scripts/prepare-ChangeLog:
540 2009-03-02 Adam Treat <adam.treat@torchmobile.com>
542 Reviewed by Eric Seidel.
544 Add three new drt helper functions that enable all of the tests in
545 LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
547 * DumpRenderTree/qt/jsobjects.cpp:
548 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
549 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
550 (LayoutTestController::numberOfActiveAnimations):
551 * DumpRenderTree/qt/jsobjects.h:
553 2009-03-02 Adam Roben <aroben@apple.com>
555 Windows build fix after r41349
557 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
558 (AccessibilityUIElement::getChildrenWithRange):
560 2009-03-01 Chris Fleizach <cfleizach@apple.com>
562 Reviewed by Oliver Hunt.
564 Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
566 Change getChildAtIndex() to get a range of children instead of all the children.
567 This exercises code in WebCore that returns elements when asked for from a range.
569 * DumpRenderTree/AccessibilityUIElement.h:
570 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
571 (AccessibilityUIElement::getChildrenWithRange):
572 (AccessibilityUIElement::getChildAtIndex):
573 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
574 (AccessibilityUIElement::getChildrenWithRange):
576 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
578 Reviewed by Holger Freyther.
580 [Gtk] get the HTTP layout tests going
581 https://bugs.webkit.org/show_bug.cgi?id=24259
583 Determine the frame's response and decide whether to dump as text
586 * DumpRenderTree/gtk/DumpRenderTree.cpp:
589 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
591 Reviewed by Holger Freyther.
593 [Gtk] get the HTTP layout tests going
594 https://bugs.webkit.org/show_bug.cgi?id=24259
596 Implement dumping of WebKitWebBackForwardList and its history
599 * DumpRenderTree/gtk/DumpRenderTree.cpp:
600 (compareHistoryItems):
602 (dumpBackForwardListForWebView):
605 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
606 (LayoutTestController::clearBackForwardList):
607 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
608 (BackForwardItem::invoke):
610 2009-02-28 Zan Dobersek <zandobersek@gmail.com>
612 Reviewed by Holger Freyther.
614 Set the resolution for the default screen to 72.0.
615 This way, setting font sizes results in expected values.
617 * DumpRenderTree/gtk/DumpRenderTree.cpp:
618 (setDefaultsToConsistentStateValuesForTesting):
620 2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
622 Reviewed by Holger Freyther.
624 Adds a WebKitMakeArguments environment variable to enable passing
625 of arguments such as '-j2' to make for the autotools build.
627 * Scripts/webkitdirs.pm:
629 2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
631 Reviewed by Holger Freyther.
633 Add a GTK+-only option to enable GNOME Keyring when building.
635 * Scripts/build-webkit:
637 2009-02-28 Jan Michael Alonzo <jmalonzo@webkit.org>
639 Reviewed by Holger Freyther.
641 [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
642 https://bugs.webkit.org/show_bug.cgi?id=24076
644 Refactor gtk lib detection and put it in builtDylibPathForName
646 * Scripts/webkitdirs.pm:
648 2009-02-28 Christian Dywan <christian@twotoasts.de>
650 Rubber-stamped by Holger Freyther.
652 * GtkLauncher/main.c:
653 (activate_uri_entry_cb):
654 (main): Use the new webkit_web_view_load_uri to open URIs.
656 2009-02-27 Xan Lopez <xan@gnome.org>
658 Rubber-stamped by Alexey Proskuryakov.
660 https://bugs.webkit.org/show_bug.cgi?id=24222
661 [GTK] Remove checks for old glib versions
663 libsoup, which is a hard dependency, needs at least glib 2.15.3,
664 so remove all glib checks for versions older than that.
666 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
667 (LayoutTestController::setWaitToDump):
669 2009-02-25 Simon Fraser <simon.fraser@apple.com>
671 Reviewed by Eric Seidel
673 Fix spew about a WebView being deallocated while key value observers are
674 still registered with it by making sure that we always stop observing
675 _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
677 * DumpRenderTree/mac/DumpRenderTree.mm:
679 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
680 (-[DumpRenderTreeWindow close]):
682 2009-02-25 Adam Treat <adam.treat@torchmobile.com>
684 Reviewed by Alexey Proskuryakov.
686 Do not queue the calls to 'DumpRenderTree::dump()' as this can result
687 in more than one call as a test that calls 'notifyDone()' can then be
688 subsequently fully loaded and initiate a second dump. Also make sure
689 to stop any existing page load that is happening before running the next
690 test. Combined this serves to produce 217 more passing tests for the
691 Qt port or roughly 5% at this point.
693 * DumpRenderTree/qt/DumpRenderTree.cpp:
694 (WebCore::DumpRenderTree::DumpRenderTree):
695 (WebCore::DumpRenderTree::open):
697 2009-02-25 Simon Fraser <simon.fraser@apple.com>
699 Reviewed by Dan Bernstein
701 https://bugs.webkit.org/show_bug.cgi?id=23854
703 Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
704 property of the WebView, and use that to turn -autodisplay on and off.
705 This is necessary so that accelerated animations start correctly.
706 We can thus remove the -display hack in createBitmapContextFromWebView().
708 * DumpRenderTree/mac/DumpRenderTree.mm:
709 (createWebViewAndOffscreenWindow):
711 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
712 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
713 (-[DumpRenderTreeWindow close]):
714 (-[DumpRenderTreeWindow webView]):
715 (-[DumpRenderTreeWindow startObservingWebView]):
716 (-[DumpRenderTreeWindow stopObservingWebView]):
717 (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
718 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
719 (createBitmapContextFromWebView):
721 2009-02-25 Adam Treat <adam.treat@torchmobile.com>
723 Reviewed by Zack Rusin.
725 https://bugs.webkit.org/show_bug.cgi?id=24158
726 Implement the queue*() methods of the layoutTestController and begin
727 implementing the dump of the back/forward list. This results in 2% more
728 tests passing as well as 23 currently skipped tests now passing.
730 * DumpRenderTree/qt/DumpRenderTree.cpp:
731 (WebCore::DumpRenderTree::dumpBackForwardList):
732 (WebCore::DumpRenderTree::dump):
733 * DumpRenderTree/qt/DumpRenderTree.h:
734 * DumpRenderTree/qt/DumpRenderTree.pro:
735 * DumpRenderTree/qt/jsobjects.cpp:
738 (ReloadItem::invoke):
739 (ScriptItem::invoke):
740 (BackForwardItem::invoke):
741 (LayoutTestController::reset):
742 (LayoutTestController::processWork):
743 (LayoutTestController::maybeDump):
744 (LayoutTestController::queueBackNavigation):
745 (LayoutTestController::queueForwardNavigation):
746 (LayoutTestController::queueLoad):
747 (LayoutTestController::queueReload):
748 (LayoutTestController::queueScript):
749 * DumpRenderTree/qt/jsobjects.h:
750 (LayoutTestController::shouldDumpBackForwardList):
751 (LayoutTestController::dumpBackForwardList):
753 2009-02-24 Adam Treat <adam.treat@torchmobile.com>
755 Reviewed by Alexey Proskuryakov.
757 Don't print out that you are generating new results if you are not in fact
758 generating new results and disable generating new results by default for
759 the all ports other than the canonical Apple Mac port since this can litter
760 the source directory with hundreds of new results since other ports
761 are not as up to date.
763 * Scripts/run-webkit-tests:
765 2009-02-24 Adam Treat <adam.treat@torchmobile.com>
767 Reviewed by Cameron Zwarich.
769 The Qt port does not support these yet nor does the nm check work with
772 * Scripts/webkitdirs.pm:
774 2009-02-24 Jan Michael Alonzo <jmalonzo@webkit.org>
776 Reviewed by Alexey Proskuryakov.
778 [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
779 https://bugs.webkit.org/show_bug.cgi?id=24072
781 Allow toggling of 3D transforms and HTML5 channel messaging
782 support for the Autotools (Gtk) build.
784 Also add '--gtk' in the build-webkit help doc and fix autotools
785 option for web-workers support.
787 * Scripts/build-webkit:
789 2009-02-23 Xan Lopez <xan@gnome.org>
791 Reviewed by Alexey Proskuryakov.
793 https://bugs.webkit.org/show_bug.cgi?id=22624
794 [SOUP][GTK] Need API to get SoupSession from WebKit.
796 Add soup flags now that dependency is explicit.
800 2009-02-22 Mark Rowe <mrowe@apple.com>
802 Reviewed by Oliver Hunt.
804 Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
806 * DumpRenderTree/mac/DumpRenderTree.mm:
807 (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
808 than of an arbitrary existing method on the class.
810 2009-02-13 Eric Seidel <eric@webkit.org>
812 Rubber-stamped by Alexey Proskuryakov.
814 Add a few ignores to make-js-test-wrappers.
816 * Scripts/make-js-test-wrappers:
818 2009-02-17 Holger Hans Peter Freyther <zecke@selfish.org>
820 Reviewed by Alexey Proskuryakov.
822 Prepend file:// to the test result filename to make
823 GtkLauncher display the result page.
825 * Scripts/run-webkit-tests:
827 2009-02-16 Gustavo Noronha Silva <gns@gnome.org>
829 Reviewed by Adam Roben
831 Actually use the installation prefix defined in WebKitInstallationPrefix,
834 * Scripts/webkitdirs.pm:
836 2009-02-12 Simon Fraser <simon.fraser@apple.com>
840 Remove debugging code which was committed by mistake.
842 * Scripts/run-webkit-tests:
844 2009-02-12 Simon Fraser <simon.fraser@apple.com>
846 Reviewed by Adam Roben
848 https://bugs.webkit.org/show_bug.cgi?id=23928
850 Add detection of accelerated compositing and 3d transforms,
851 and add various directories to $ignoredDirectories when these
854 * Scripts/run-webkit-tests:
855 * Scripts/webkitdirs.pm:
857 2009-02-12 Adam Roben <aroben@apple.com>
859 Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
860 contains non-existent tests is confusing and is given for disabled
863 <https://bugs.webkit.org/show_bug.cgi?id=23922>
865 We now no longer warn about disabled tests. The warning now reads:
867 Skipped list contained '$item', but no file of that name could be
870 Reviewed by John Sullivan.
872 * Scripts/run-webkit-tests:
873 (top level): Pass the list name to processIgnoreTests so it can print
874 out a reasonable warning message.
875 (processIgnoreTests): Take a list name as a second parameter and use
876 it to display a better warning message. Also check for a "-disabled"
877 version of the test before warning about it not existing.
879 2009-02-11 Adam Roben <aroben@apple.com>
881 Windows fix for Bug 22239: Implement missing animation & transition
882 APIs on LayoutTestController for non-mac platforms
884 <https://bugs.webkit.org/show_bug.cgi?id=22239>
886 Reviewed by Simon Fraser.
888 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
889 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
890 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
891 (LayoutTestController::numberOfActiveAnimations):
892 Implemented these by calling through to IWebFramePrivate.
894 2009-02-10 Chris Marrin <cmarrin@apple.com>
896 Reviewed by Simon Fraser.
898 * Scripts/build-webkit:
900 https://bugs.webkit.org/show_bug.cgi?id=23883
902 Added support --3d-transforms. Defaults to off
904 2009-02-11 Adam Roben <aroben@apple.com>
906 Fix crashes in http/tests/history/redirect-301.pl and friends on
909 Reviewed by Alexey Proskuryakov.
911 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
912 (LayoutTestController::webHistoryItemCount): Null-check the shared
913 WebHistory instance before dereferencing it.
915 2009-02-10 Adam Roben <aroben@apple.com>
917 Fix Bug 23869: Pixel tests can't be run on Windows
919 <https://bugs.webkit.org/show_bug.cgi?id=23869>
921 This patch gets the pixel tests limping along on Windows again.
923 Reviewed by Dan Bernstein.
925 * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
926 Debug_Internal configuration of ImageDiff in the Debug_Internal
927 configuration of this solution.
929 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
930 (printPNG): Changed to call fwrite in a loop, since this call was
931 failing due to the buffer being too large on Windows.
932 (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
933 #if PLATFORM(MAC)/#endif.
935 * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
936 configuration that matches the Debug configuration but also references
937 debug_internal.vsprops.
939 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
940 (createBitmapContextFromWebView): Renamed from
941 getBitmapContextFromWebView to match the name used in the
944 2009-02-10 Adam Roben <aroben@apple.com>
946 Robustify DumpRenderTree/win a little
948 DumpRenderTree was previously not holding a ref to the WebViews it
949 created via window.open. It was getting away with this because
950 WebViews get reffed by being preference notification observers and by
951 registering for drag-n-drop messages. Now DRT does hold a ref, in case
952 this situation changes in the future.
954 Reviewed by Alexey Proskuryakov.
956 * DumpRenderTree/win/DumpRenderTree.cpp:
957 (dumpBackForwardListForAllWindows): Added a .get().
958 (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
959 * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
960 windowToWebViewMap() to hold a ref to the WebViews it contains.
962 2009-02-05 Simon Fraser <simon.fraser@apple.com>
964 Fix the #include file order, per review comments.
966 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
968 2009-02-05 Simon Fraser <simon.fraser@apple.com>
970 Reviewed by Dan Bernstein
972 https://bugs.webkit.org/show_bug.cgi?id=23362
974 If the WebHTMLView uses accelerated compositing, we need for force
975 the on-screen capture path and also force animations to start with -display
976 since the DRT window has autodisplay disabled.
978 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
979 (createBitmapContextFromWebView):
981 2009-02-03 miggilin <mr.diggilin@gmail.com>
983 Reviewed by Darin Adler.
985 Change the way wxWidgets build gets arguments.
986 Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
987 argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
988 removed when --wx is checked for).
990 https://bugs.webkit.org/show_bug.cgi?id=23701
992 * Scripts/build-webkit:
993 * Scripts/webkitdirs.pm:
995 2009-01-30 Chris Fleizach <cfleizach@apple.com>
997 Reviewed by Oliver Hunt.
999 Catch exceptions thrown by AppKit when accessing an attribute than an element
1002 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1003 (attributesOfElement):
1005 2009-01-29 David Kilzer <ddkilzer@apple.com>
1007 Remove semi-colons from the end of ObjC method implementations
1009 Rubber-stamped by Adam Roben.
1011 $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
1013 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1014 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1015 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1016 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1017 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1018 * DumpRenderTree/mac/UIDelegate.mm:
1019 (-[UIDelegate webViewFrame:]):
1021 2009-01-28 Geoffrey Garen <ggaren@apple.com>
1025 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1026 (LayoutTestController::webHistoryItemCount):
1028 2009-01-28 Geoffrey Garen <ggaren@apple.com>
1030 Reviewed by Sam Weinig.
1032 Added support for querying how many history items were created during a
1035 * DumpRenderTree/LayoutTestController.cpp:
1036 (getWebHistoryItemCountCallback):
1037 (LayoutTestController::staticValues):
1038 * DumpRenderTree/LayoutTestController.h:
1039 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1040 (LayoutTestController::webHistoryItemCount):
1041 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1042 (LayoutTestController::webHistoryItemCount):
1044 2009-01-26 Pierre-Olivier Latour <pol@apple.com>
1046 Tweaked again earlier fix, this time just to print a warning and not abort if
1047 attempting to generate pixel results and Perian is installed.
1049 https://bugs.webkit.org/show_bug.cgi?id=22615
1051 * Scripts/run-webkit-tests:
1053 2009-01-26 Christian Dywan <christian@twotoasts.de>
1055 Rubber stamped by Holger Freyther.
1057 * GtkLauncher/main.c:
1058 (main): Initialize threads, which is required for libSoup.
1060 2009-01-23 David Kilzer <ddkilzer@apple.com>
1062 * Scripts/do-webcore-rename: Removed 10 header guard renames that
1063 had already been fixed, and updated 4 renames whose original values
1066 2009-01-22 Anders Carlsson <andersca@apple.com>
1070 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1072 2009-01-22 Anders Carlsson <andersca@apple.com>
1074 Reviewed by Sam Weinig.
1076 Clean up the test plug-in code. We now always use the CG drawing model and the
1077 Cocoa event model. It is however possible to revert to the old Carbon event model by
1078 specifying forcecarbon=true in the embed/object tag.
1080 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1081 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1083 (handleEventCarbon):
1087 2009-01-21 Pierre-Olivier Latour <pol@apple.com>
1089 Tweaked earlier fix to only print a warning when Perian is installed,
1090 and fail completely only if attempting to generate new pixel test results.
1092 https://bugs.webkit.org/show_bug.cgi?id=23392
1094 * Scripts/run-webkit-tests:
1096 2009-01-20 Darin Adler <darin@apple.com>
1098 Reviewed by Alexey Proskuryakov.
1100 Bug 23450: string leaks seen in DumpRenderTree accessibility test code
1101 https://bugs.webkit.org/show_bug.cgi?id=23450
1103 * DumpRenderTree/AccessibilityUIElement.cpp:
1104 (isAttributeSettableCallback): Add the missing JSStringRelease call.
1105 (attributeValueCallback): Ditto.
1107 2009-01-20 Pierre-Olivier Latour <pol@apple.com>
1109 Reviewed by Darin Adler.
1111 Print warning regarding display color profile change in run-webkit-tests instead of DRT.
1113 https://bugs.webkit.org/show_bug.cgi?id=23392
1115 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1116 (setupMainDisplayColorProfile):
1117 * Scripts/run-webkit-tests:
1119 2009-01-20 Pierre-Olivier Latour <pol@apple.com>
1121 Reviewed by Darin Adler.
1123 Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
1124 in order to avoid result differences in some media tests.
1126 https://bugs.webkit.org/show_bug.cgi?id=22615
1128 * Scripts/run-webkit-tests:
1129 * Scripts/webkitdirs.pm:
1131 2009-01-19 Sam Weinig <sam@webkit.org>
1133 * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
1135 2009-01-16 Gabor Loki <loki@inf.u-szeged.hu>
1137 Reviewed by Darin Adler.
1139 * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
1140 parameters to make command in QMake projects.
1142 2009-01-16 Chris Fleizach <cfleizach@apple.com>
1144 Reviewed by Beth Dakin.
1146 Add AX methods to retrieve the parent of an element.
1148 * DumpRenderTree/AccessibilityUIElement.cpp:
1149 (parentElementCallback):
1150 (AccessibilityUIElement::getJSClass):
1151 * DumpRenderTree/AccessibilityUIElement.h:
1152 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1153 (AccessibilityUIElement::parentElement):
1154 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1155 (AccessibilityUIElement::parentElement):
1157 2009-01-16 Anders Carlsson <andersca@apple.com>
1159 Reviewed by Adam Roben.
1161 Set the count to the right number of elements.
1163 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1166 2009-01-14 David Kilzer <ddkilzer@apple.com>
1168 BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
1170 Rubber-stamped by Alice Liu.
1172 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1173 (LayoutTestController::setIconDatabaseEnabled): Use COM API
1174 to get the shared WebIconDatabase.
1176 2009-01-14 Jeremy Moskovich <jeremy@chromium.org>
1178 Reviewed by Eric Seidel.
1180 <https://bugs.webkit.org/show_bug.cgi?id=16829>
1181 Implement NPN_SetException()
1183 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1185 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1186 (initializeIdentifiers):
1190 2009-01-13 Dmitry Titov <dimich@chromium.org>
1192 Reviewed by David Kilzer.
1194 https://bugs.webkit.org/show_bug.cgi?id=23304
1195 Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
1197 * Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
1199 2009-01-14 David Kilzer <ddkilzer@apple.com>
1201 BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
1203 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1204 (runTest): Added call to reset the icon database to match Mac
1206 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1207 (LayoutTestController::setIconDatabaseEnabled): Implemented
1210 2009-01-14 David Kilzer <ddkilzer@apple.com>
1212 Bug 22795: favicons should be saved to webarchives
1214 <https://bugs.webkit.org/show_bug.cgi?id=22795>
1216 Reviewed by Darin Adler.
1218 * DumpRenderTree/LayoutTestController.cpp:
1219 (setIconDatabaseEnabledCallback): Added.
1220 (setJavaScriptProfilingEnabledCallback): Realphabetized.
1221 (LayoutTestController::staticFunctions): Added entry for calling
1222 LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
1223 * DumpRenderTree/LayoutTestController.h:
1224 (setIconDatabaseEnabledCallback): Added declaration.
1225 (setJavaScriptProfilingEnabledCallback): Realphabetized.
1227 * DumpRenderTree/mac/DumpRenderTree.mm:
1228 (runTest): Disable the icon database before each test.
1229 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1230 (LayoutTestController::setIconDatabaseEnabled): Added.
1231 (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
1233 * DumpRenderTree/win/DumpRenderTree.cpp:
1234 (runTest): Disable the icon database before each test.
1235 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1236 (LayoutTestController::setIconDatabaseEnabled): Added.
1238 2009-01-14 Steve Falkenburg <sfalken@apple.com>
1240 Update copyright year in version resources.
1242 Reviewed by Adam Roben.
1244 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
1246 2009-01-14 Dan Bernstein <mitz@apple.com>
1248 Reviewed by John Sullivan.
1252 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
1253 * WebKitLauncher/Info.plist:
1255 2009-01-13 Anders Carlsson <andersca@apple.com>
1257 Reviewed by Sam Weinig.
1261 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1263 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1264 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1268 2009-01-12 Mark Rowe <mrowe@apple.com>
1270 Use the modern spelling of WebKit.
1272 * Scripts/find-extra-includes:
1273 * Scripts/report-include-statistics:
1274 * Scripts/run-webkit-app:
1275 * Scripts/svn-unapply:
1276 * Scripts/update-webkit:
1278 2009-01-11 Darin Adler <darin@apple.com>
1280 * Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom
1281 directory that aren't using standard wrappers.
1283 2009-01-11 Robert Blaut <webkit@blaut.biz>
1285 Reviewed by Eric Seidel.
1287 <https://bugs.webkit.org/show_bug.cgi?id=23134>
1288 Update bisect-builds for Safari 3.2 to prevent crashes
1290 * Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348.
1292 2009-01-08 Adam Treat <adam.treat@torchmobile.com>
1294 Reviewed by Simon Hausmann.
1296 Explicitly set these so that the layout tests do not break.
1298 * DumpRenderTree/qt/DumpRenderTree.cpp:
1299 (WebCore::WebPage::WebPage):
1301 2009-01-07 Glenn Wilson <gwilson@chromium.org>
1303 Reviewed by Eric Seidel.
1305 Changed DumpRenderTree to re-enable Javascript in web preferences on every test.
1306 This fixes the case when a user mistakenly disables Javascript, and all layout tests crash.
1308 * DumpRenderTree/mac/DumpRenderTree.mm:
1309 (testStringByEvaluatingJavaScriptFromString):
1310 (setDefaultsToConsistentValuesForTesting):
1312 2009-01-07 Holger Hans Peter Freyther <zecke@selfish.org>
1314 Reviewed by Maciej Stachowiak.
1316 Implement numberOfActiveAnimations to fix the build
1318 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1319 (LayoutTestController::numberOfActiveAnimations):
1321 2009-01-07 Adam Treat <adam.treat@torchmobile.com>
1323 Reviewed by George Staikos.
1325 Fix unused variable warnings
1327 * DumpRenderTree/qt/DumpRenderTree.cpp:
1328 (WebCore::WebPage::javaScriptAlert):
1329 (WebCore::WebPage::javaScriptConfirm):
1330 (WebCore::WebPage::javaScriptPrompt):
1331 * DumpRenderTree/qt/jsobjects.cpp:
1332 (LayoutTestController::maybeDump):
1333 * DumpRenderTree/qt/main.cpp:
1335 * DumpRenderTree/qt/testplugin.cpp:
1336 (TestPlugin::create):
1338 2009-01-06 Pierre-Olivier Latour <pol@apple.com>
1340 Reviewed by Darin Adler.
1342 Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations.
1343 This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore.
1345 https://bugs.webkit.org/show_bug.cgi?id=23126
1347 * DumpRenderTree/LayoutTestController.cpp:
1348 (numberOfActiveAnimationsCallback):
1349 (LayoutTestController::staticFunctions):
1350 * DumpRenderTree/LayoutTestController.h:
1351 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1352 (LayoutTestController::numberOfActiveAnimations):
1353 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1354 (LayoutTestController::numberOfActiveAnimations):
1356 2009-01-04 David Kilzer <ddkilzer@apple.com>
1358 Don't install internal headers in WebKit framework
1360 Reviewed by Darin Adler.
1362 Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are
1363 no longer installed in WebKit.framework/PrivateHeaders, use the
1364 special relationship of DumpRenderTree within the WebKit source
1365 tree to include the internal headers through relative paths.
1366 Created the concept of mac/InternalHeaders to hide the ugly
1369 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added
1370 mac/InternalHeaders to HEADER_SEARCH_PATHS.
1371 * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added.
1372 * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added.
1374 2009-01-02 Adam Treat <treat@kde.org>
1376 Reviewed by George Staikos.
1378 Add support for fixedLayoutSize to the qt DRT
1380 * DumpRenderTree/qt/jsobjects.cpp:
1381 (LayoutTestController::setFixedLayoutSize):
1382 (LayoutTestController::setUseFixedLayout):
1383 * DumpRenderTree/qt/jsobjects.h:
1385 2009-01-03 David D. Kilzer <ddkilzer@webkit.org>
1387 Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences
1389 <https://bugs.webkit.org/show_bug.cgi?id=23091>
1391 Reviewed by Darin Adler.
1393 * DumpRenderTree/mac/DumpRenderTree.mm:
1394 (normalizeHTTPResponseHeaderFields): Remove Keep-Alive and
1395 Connection headers from webarchive results.
1397 2008-12-31 Zan Dobersek <zandobersek@gmail.com>
1399 Reviewed by Holger Freyther.
1401 https://bugs.webkit.org/show_bug.cgi?id=22812
1403 Prevent TestNetscapePlugin from installing system-wide.
1407 2008-12-31 Zan Dobersek <zandobersek@gmail.com>
1409 Reviewed by Holger Freyther.
1411 https://bugs.webkit.org/show_bug.cgi?id=22842
1413 Move WebKitWebView's size allocation into a proper place.
1415 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1419 2008-12-24 Mark Rowe <mrowe@apple.com>
1421 Reviewed by Timothy Hatcher.
1423 Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory,
1424 and make it work for git too.
1426 * Scripts/VCSUtils.pm:
1427 * Scripts/webkitdirs.pm:
1429 2008-12-22 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
1431 Reviewed by George Staikos.
1433 Ignore http/tests/wml, if no WML support is present.
1434 Add http/tests/wml to list of HTTP tests, allowed to access local resources.
1436 * Scripts/run-webkit-tests:
1438 2008-12-19 David Levin <levin@chromium.org>
1440 Reviewed by Mark Rowe.
1442 https://bugs.webkit.org/show_bug.cgi?id=22930
1444 Make the git diff command used for preparing the change log avoid using any external diff tools.
1446 * Scripts/prepare-ChangeLog:
1448 2008-12-19 Gustavo Noronha Silva <gns@gnome.org>
1450 Reviewed by Holger Freyther.
1452 https://bugs.webkit.org/show_bug.cgi?id=22686
1454 Added files which were missing from the TestNetscapePlugin
1455 directory to the SOURCES variable, so that they will be
1456 distributed in a make dist.
1460 2008-12-18 Cameron Zwarich <zwarich@apple.com>
1462 Reviewed by Geoff Garen.
1464 Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link
1465 <https://bugs.webkit.org/show_bug.cgi?id=21855>
1466 <rdar://problem/6278244>
1468 Add support for scheduling asynchronous clicks to DumpRenderTree, but
1471 * DumpRenderTree/mac/EventSendingController.h:
1472 * DumpRenderTree/mac/EventSendingController.mm:
1473 (+[EventSendingController isSelectorExcludedFromWebScript:]): Expose
1474 scheduleAsynchronousClick to JavaScript.
1475 (-[EventSendingController scheduleAsynchronousClick]): Add.
1477 2008-12-15 Darin Adler <darin@apple.com>
1479 * Scripts/make-js-test-wrappers: Added another exception to avoid overwriting
1480 a custom-written test.
1482 2008-12-15 Simon Hausmann <hausmann@webkit.org>
1484 Reviewed by Holger Freyther.
1486 Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
1488 * DumpRenderTree/qt/jsobjects.cpp:
1489 (LayoutTestController::setJavaScriptProfilingEnabled):
1490 * DumpRenderTree/qt/jsobjects.h:
1492 2008-12-13 Zan Dobersek <zandobersek@gmail.com>
1494 Reviewed by Darin Adler.
1496 https://bugs.webkit.org/show_bug.cgi?id=22039
1498 Implement animation and transition pausing.
1500 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1501 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1502 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1504 2008-12-12 Brent Fulgham <bfulgham@gmail.com>
1506 Reviewed by Adam Roben.
1508 https://bugs.webkit.org/show_bug.cgi?id=22809
1510 Increase timeout in call to initWithURL so that people actually see
1511 new web pages when they type URLs rather than a blank screen.
1513 * WinLauncher/WinLauncher.cpp:
1514 (loadURL): Increase timeout in initWithURL from 0 to 60 seconds.
1516 2008-12-12 Darin Adler <darin@apple.com>
1518 * Scripts/do-webcore-rename: Add a renaming idea.
1520 2008-12-12 Holger Hans Peter Freyther <zecke@selfish.org>
1522 Reviewed by Simon Hausmann.
1524 Update the WebKit.qrc and add a script to automatically generate the file.
1526 With the way rcc and qmake work this can not be done at build time
1527 as the WebKit.qrc must sit inside the directory that contains the files
1528 and at build time we may not change the content of the source directory.
1530 * Scripts/generate-qt-inspector-resource: Added.
1532 2008-12-11 Cameron Zwarich <zwarich@apple.com>
1534 Rubber-stamped by Mark Rowe.
1536 Roll out r39212 due to assertion failures during layout tests, multiple
1537 layout test failures, memory leaks, and obvious incorrectness.
1539 * DumpRenderTree/LayoutTestController.cpp:
1540 (LayoutTestController::staticFunctions):
1541 * DumpRenderTree/LayoutTestController.h:
1542 * DumpRenderTree/mac/DumpRenderTree.mm:
1543 (resetWebViewToConsistentStateBeforeTesting):
1544 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1545 * DumpRenderTree/win/DumpRenderTree.cpp:
1546 (resetWebViewToConsistentStateBeforeTesting):
1547 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1548 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1550 2008-12-10 Glenn Wilson <gwilson@google.com>
1552 Reviewed by Adam Roben.
1554 Changed LayoutTestController and DumpRenderTree to allow for manual
1555 overriding of default preferences at test time. Also added support for
1556 resetting the preferences after each test.
1557 https://bugs.webkit.org/show_bug.cgi?id=20534
1559 * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
1560 * DumpRenderTree/LayoutTestController.h: Added signature for callback
1561 * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
1562 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
1563 * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
1564 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
1566 2008-12-10 Brady Eidson <beidson@apple.com>
1568 Reviewed by Darin Adler.
1570 Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
1572 * DumpRenderTree/win/DumpRenderTree.cpp:
1573 * DumpRenderTree/win/DumpRenderTreeWin.h:
1575 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1576 (LayoutTestController::setCustomPolicyDelegate):
1578 * DumpRenderTree/win/PolicyDelegate.cpp:
1579 (PolicyDelegate::PolicyDelegate):
1580 (PolicyDelegate::decidePolicyForNavigationAction):
1581 * DumpRenderTree/win/PolicyDelegate.h:
1582 (PolicyDelegate::setPermissive):
1584 2008-12-10 Brady Eidson <beidson@apple.com>
1588 Change the custom policy delegate to actually allow navigation for tests that need it.
1589 The new behavior is opt-in and doesn't require any changes in old tests.
1591 * DumpRenderTree/LayoutTestController.cpp:
1592 (setCustomPolicyDelegateCallback): Allow for a second boolean argument to set the permissive flag on the custom
1593 policy delegate, which will be false by default to maintain original behavior.
1594 * DumpRenderTree/LayoutTestController.h:
1595 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1596 (LayoutTestController::setCustomPolicyDelegate):
1598 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1599 (LayoutTestController::setCustomPolicyDelegate): Partially stubbed out for now.
1600 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1601 (LayoutTestController::setCustomPolicyDelegate): Still stubbed out, but with new param.
1603 * DumpRenderTree/mac/PolicyDelegate.h:
1604 * DumpRenderTree/mac/PolicyDelegate.mm:
1605 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): If the permissive flag
1606 is set, allow the navigation.
1607 (-[PolicyDelegate setPermissive:]): Change the behavior between "use" and "ignore" - allowing navigation or not.
1609 2008-12-09 Mark Rowe <mrowe@apple.com>
1611 Rubber-stamped by Ada Chan.
1613 Fix gdb-safari on Tiger.
1615 gdb on Tiger does not take the -arch flag, so do not pass it.
1617 * Scripts/gdb-safari:
1619 2008-12-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
1621 Reviewed by Alexey Proskuryakov.
1623 Ignore WML tests, if no WML support available.
1625 * Scripts/run-webkit-tests:
1627 2008-12-08 Geoffrey Garen <ggaren@apple.com>
1629 Reviewed by Oliver Hunt.
1631 Added a shortcut for --jsDriver-args, which I use a lot.
1633 * Scripts/run-javascriptcore-tests:
1635 2008-12-08 Stephanie Lewis <slewis@apple.com>
1639 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1641 2008-12-08 Darin Adler <darin@apple.com>
1643 Reviewed by John Sullivan.
1645 - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
1646 REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
1648 * DumpRenderTree/LayoutTestController.cpp:
1649 (isCommandEnabledCallback): Added.
1650 (LayoutTestController::staticFunctions): Added "isCommandEnabled".
1651 * DumpRenderTree/LayoutTestController.h: Ditto.
1652 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1653 (LayoutTestController::isCommandEnabled): Ditto.
1654 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1655 (-[CommandValidationTarget initWithAction:]): Added. Used to get the
1656 command validation system to tell us if a comment is enabled.
1657 (-[CommandValidationTarget action]): Ditto.
1658 (-[CommandValidationTarget tag]): Ditto.
1659 (LayoutTestController::isCommandEnabled): Ditto.
1660 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1661 (LayoutTestController::isCommandEnabled): Ditto.
1663 2008-12-08 David Kilzer <ddkilzer@apple.com>
1665 Bug 22555: Sort "children" sections in Xcode project files
1667 <https://bugs.webkit.org/show_bug.cgi?id=22555>
1669 Reviewed by Eric Seidel.
1671 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
1672 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
1673 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
1675 2008-12-08 David Kilzer <ddkilzer@apple.com>
1677 Bug 22555: Sort "children" sections in Xcode project files
1679 <https://bugs.webkit.org/show_bug.cgi?id=22555>
1681 Reviewed by Timothy Hatcher.
1683 * Scripts/sort-Xcode-project-file: By popular request, don't sort
1684 the mainGroup in the project (the list of items below the top-level
1687 2008-12-05 David Kilzer <ddkilzer@apple.com>
1689 Bug 22555: Sort "children" sections in Xcode project files
1691 <https://bugs.webkit.org/show_bug.cgi?id=22555>
1693 Reviewed by Darin Adler.
1695 Sort "children" sections alphabetically, moving groups (folders) to
1696 the top of each of the lists. Files are assumed to have extensions,
1697 so %isFile is used to override this behavior.
1699 * Scripts/sort-Xcode-project-file:
1700 (sortChildrenByFileName): Added.
1701 (sortFilesByFileName): Renamed from sortByFileName().
1703 2008-12-05 Eric Seidel <eric@webkit.org>
1705 Reviewed by Geoff Garen.
1707 https://bugs.webkit.org/show_bug.cgi?id=22683
1708 Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
1709 Add a new argumentsForConfiguration() function and clean up some old code to use it.
1710 Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
1712 * Scripts/run-javascriptcore-tests:
1713 * Scripts/run-launcher:
1714 * Scripts/run-webkit-tests:
1715 * Scripts/webkitdirs.pm:
1717 2008-12-03 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
1719 Reviewed by Cameron Zwarich.
1721 Further preparations for WML layout tests.
1722 Ignore WMLTestCase.js, that's going to be in trunk soon.
1724 * Scripts/make-js-test-wrappers:
1726 2008-12-03 Eric Seidel <eric@webkit.org>
1728 Build fix for --gtk and --chromium, no review.
1730 Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
1731 through to build-jsc.
1733 * Scripts/build-jsc:
1734 * Scripts/webkitdirs.pm:
1736 2008-12-03 Eric Seidel <eric@webkit.org>
1738 Build fix only, no review.
1740 Remove support for build-webkit --svg-experimental.
1741 All of the "experimental" svg features have their own toggles anyway.
1742 I broke --svg-experimental in my last commit (which then broke clean builds)
1743 I can't find any use of --svg-experimental in our source tree, so removing it.
1745 * Scripts/build-webkit:
1747 2008-12-02 Eric Seidel <eric@webkit.org>
1749 Reviewed by David Hyatt (and Mark Rowe).
1751 Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
1752 Move --coverage support out of run-javascriptcore-tests and into build-jsc
1754 Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
1755 there from build-webkit (to allow future sharing with other build-* scripts)
1757 Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
1758 picking through ARGV with a blacklist of what arguments weren't jsDriver args
1759 this makes run-javascriptcore-tests transparently support all arguments which
1760 webkitdirs.pm gives it support for.
1762 Make run-javascriptcore-tests actually print what commands it's running before running them.
1764 Add --help support to build-jsc and run-javascriptcore-tests!
1766 Make code to support --svg-experimental defaults take up half as many lines.
1768 * Scripts/build-jsc:
1769 * Scripts/build-webkit:
1770 * Scripts/run-javascriptcore-tests:
1771 * Scripts/webkitdirs.pm:
1773 2008-12-03 Adam Roben <aroben@apple.com>
1775 Fix a leak in WinLauncher shutdown
1777 Reviewed by Sam Weinig.
1779 * WinLauncher/WinLauncher.cpp:
1780 (_tWinMain): Replaced a delete with a Release. We can't delete the
1781 WebView properly since we only have a pointer to one of its
1782 interfaces. We also shouldn't be deleting COM objects directly anyway,
1783 for a number of reasons.
1785 2008-12-03 Adam Roben <aroben@apple.com>
1787 Fix a crash on exit in WinLauncher
1789 Reviewed by Sam Weinig.
1791 * WinLauncher/WinLauncher.cpp:
1792 (_tWinMain): Call shutDownWebKit before exiting.
1794 2008-12-03 Adam Roben <aroben@apple.com>
1796 Add a Debug_Internal configuration to WinLauncher
1798 This matches our other projects.
1800 Reviewed by Sam Weinig.
1802 * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
1803 configuration, which is identical to Debug except that it also
1804 references debug_internal.vsprops. Also removed some settings that we
1805 should be picking up from the .vsprops files.
1807 2008-12-02 Eric Seidel <eric@webkit.org>
1809 Reviewed by David Kilzer.
1811 Hack build-webkit --chromium to use Win32 python instead
1812 of using the default cygwin python. Scons + CYGWIN tries
1813 to build with GCC by default, we force MSVC in our file
1814 but that just results in errors from Scons. Until we can fix
1815 this latest round of errors, at least make build-webkit --chromium
1816 actually "work" under CYGWIN instead of forcing users to use
1817 a cmd shell directly.
1819 This is working around a Scons bug:
1820 http://scons.tigris.org/issues/show_bug.cgi?id=2266
1822 * Scripts/webkitdirs.pm:
1824 2008-12-01 David Kilzer <ddkilzer@apple.com>
1826 Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
1828 <https://bugs.webkit.org/show_bug.cgi?id=22466>
1829 <rdar://problem/6403593>
1831 Reviewed by Brady Eidson.
1833 * DumpRenderTree/mac/DumpRenderTree.mm:
1834 (normalizeHTTPResponseHeaderFields): Added. Normalizes Date, Etag,
1835 Keep-Alive, Last-Modified and Server header fields to prevent false
1836 positive test failures.
1837 (convertWebResourceResponseToDictionary): Call
1838 normalizeHTTPResponseHeaderFields() to noramlize HTTP response
1841 2008-12-01 David D. Kilzer <ddkilzer@webkit.org>
1843 Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
1845 <https://bugs.webkit.org/show_bug.cgi?id=22559>
1847 Reviewed by Adam Roben.
1849 * Scripts/bisect-builds: Updated status message to report the
1850 maximum number of builds left to test after the current one.
1853 2008-11-27 Alp Toker <alp@nuanti.com>
1855 Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
1856 API header breakage at build time.
1860 2008-11-26 Eric Seidel <eric@webkit.org>
1862 Reviewed by Nikolas Zimmermann and Mark Rowe.
1864 Add support for build-webkit --chromium
1865 https://bugs.webkit.org/show_bug.cgi?id=22515
1866 More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
1868 * Scripts/build-dumprendertree:
1869 * Scripts/build-jsc:
1870 * Scripts/build-webkit:
1871 * Scripts/gdb-safari:
1872 * Scripts/run-webkit-tests:
1873 * Scripts/webkitdirs.pm:
1875 2008-11-26 Eric Seidel <eric@webkit.org>
1877 Reviewed by Nikolas Zimmermann.
1879 Add support for build-webkit --chromium (tested on mac)
1880 https://bugs.webkit.org/show_bug.cgi?id=22515
1881 Also simplified some code using checkArgv
1883 * Scripts/build-webkit:
1884 * Scripts/webkitdirs.pm:
1886 2008-11-26 Eric Seidel <eric@webkit.org>
1888 Reviewed by Nikolas Zimmermann.
1890 More pre-work for adding a build-webkit --chromium which works on Mac and Windows
1891 https://bugs.webkit.org/show_bug.cgi?id=22515
1892 Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
1893 in preparation for having a chromium cygwin and chromium mac build
1895 * Scripts/build-webkit:
1896 * Scripts/webkitdirs.pm:
1898 2008-11-26 Eric Seidel <eric@webkit.org>
1900 Reviewed by Nikolas Zimmermann.
1902 Pre-work for getting build-webkit --chromium to work
1903 https://bugs.webkit.org/show_bug.cgi?id=22515
1904 Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
1906 * Scripts/build-dumprendertree:
1907 * Scripts/build-jsc:
1908 * Scripts/build-webkit:
1909 * Scripts/gdb-safari:
1910 * Scripts/run-javascriptcore-tests:
1911 * Scripts/run-webkit-tests:
1912 * Scripts/webkitdirs.pm:
1914 2008-11-26 David Kilzer <ddkilzer@apple.com>
1916 Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
1918 <https://bugs.webkit.org/show_bug.cgi?id=22488>
1920 Reviewed by Brady Eidson.
1922 * DumpRenderTree/mac/DumpRenderTree.mm:
1923 (convertWebResourceDataToString): If an IANA charset encoding string
1924 is provided, convert it to a CFStringEncoding value and then to an
1925 NSStringEncoding value, else fall back to NSUTF8StringEncoding. We
1926 also nil-check dataAsString, so the worst-case scenario is that the
1927 data won't be decoded to a string (versus crashing DumpRenderTree).
1929 2008-11-26 Jan Michael Alonzo <jmalonzo@webkit.org>
1931 Reviewed by Holger Freyther.
1933 [Gtk] add/remove tests from Skipped and fix netscape plugin test
1934 https://bugs.webkit.org/show_bug.cgi?id=22484
1936 Remove print'ing to stderr
1938 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
1942 2008-11-25 Steve Falkenburg <sfalken@apple.com>
1946 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1948 2008-11-25 Steve Falkenburg <sfalken@apple.com>
1952 * DumpRenderTree/cg/ImageDiffCG.cpp:
1954 2008-11-24 Darin Fisher <darin@chromium.org>
1958 https://bugs.webkit.org/show_bug.cgi?id=15643
1960 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1961 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1963 2008-11-24 Glenn Wilson <gwilson@chromium.org>
1965 Reviewed by Alexey Proskuryakov.
1967 http://bugs.webkit.org/show_bug.cgi?id=15643
1969 Added support for changing the "trailing whitespace" work-around
1970 in LayoutTestController (so layout tests can verify this functionality)
1972 * DumpRenderTree/LayoutTestController.cpp:
1973 (setSelectTrailingWhitespaceEnabledCallback):
1974 (LayoutTestController::staticFunctions):
1975 * DumpRenderTree/LayoutTestController.h:
1976 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1977 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1978 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1979 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1981 2008-11-24 Simon Fraser <simon.fraser@apple.com>
1983 Reviewed by Darin Adler
1985 https://bugs.webkit.org/show_bug.cgi?id=22433
1987 Add script that attempts to detect virtual methods
1988 whose signatures differ only by constness (which can
1989 indicate a programming error).
1991 * Scripts/detect-mismatched-virtual-const: Added.
1993 2008-11-24 Zan Dobersek <zandobersek@gmail.com>
1995 Reviewed by Holger Freyther.
1997 https://bugs.webkit.org/show_bug.cgi?id=22039
1999 [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
2002 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2003 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2004 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2005 (setDefaultsToConsistentStateValuesForTesting):
2006 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
2007 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
2008 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
2011 2008-11-24 Holger Hans Peter Freyther <zecke@selfish.org>
2013 Reviewed by Mark Rowe.
2015 [Gtk+] Add configure option to enable Web Workers and enable it by default
2017 Add --enable-workers to the buildsystem (used by build-webkit) add
2018 the to be build files to the GNUmakefile.am and change build-webkit
2019 to enable Web Workers by default.
2021 * Scripts/build-webkit:
2023 2008-11-24 Mark Rowe <mrowe@apple.com>
2025 Reviewed by Alexey Proskuryakov.
2027 Let gdb-safari accept the --debug and --release options once more.
2029 * Scripts/gdb-safari:
2031 2008-11-23 Zan Dobersek <zandobersek@gmail.com>
2033 Reviewed by Holger Freyther. Landed by Jan Alonzo.
2035 Get SVG tests tested on GTK port.
2037 * Scripts/webkitdirs.pm:
2039 2008-11-19 Greg Bolsinga <bolsinga@apple.com>
2041 Reviewed by Darin Adler.
2043 https://bugs.webkit.org/show_bug.cgi?id=21810
2044 Remove use of static C++ objects that are destroyed at exit time (destructors)
2046 All static C++ objects that create atexit calls are gone. Update script
2047 to indicate how to fix the problem should a new one appear.
2049 * Scripts/check-for-exit-time-destructors:
2051 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
2053 Reviewed by Darin Adler.
2055 https://bugs.webkit.org/show_bug.cgi?id=22337
2056 Enable workers by default
2058 * Scripts/build-webkit: Changed the default to enabled.
2060 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
2062 Rubber-stamped by Darin Adler.
2064 https://bugs.webkit.org/show_bug.cgi?id=22306
2065 Disable channel messaging support
2067 * Scripts/build-webkit: Add an option to enable channel messaging.
2069 2008-11-17 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
2071 Reviewed by George Staikos.
2073 Add --(no-)wml build flags.
2075 * Scripts/build-webkit:
2076 * Scripts/run-webkit-tests:
2077 * Scripts/webkitdirs.pm:
2079 2008-11-17 Geoffrey Garen <ggaren@apple.com>
2083 Try to fix gtk build.
2085 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2086 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2087 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2089 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
2093 Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
2096 https://bugs.webkit.org/show_bug.cgi?id=22271
2098 * Scripts/run-webkit-tests:
2100 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
2102 Reviewed by Sam Weinig.
2104 Added new JavaScript API on LayoutController to pause a running
2105 CSS transition or animation at a given time.
2107 https://bugs.webkit.org/show_bug.cgi?id=21261
2109 * DumpRenderTree/LayoutTestController.cpp:
2110 (pauseAnimationAtTimeOnElementWithIdCallback):
2111 (pauseTransitionAtTimeOnElementWithIdCallback):
2112 (LayoutTestController::staticFunctions):
2113 * DumpRenderTree/LayoutTestController.h:
2114 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2115 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2116 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2117 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2118 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2119 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2121 2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
2123 Reviewed by Darin Adler.
2125 <https://bugs.webkit.org/show_bug.cgi?id=22309>
2126 Pass the remaining options to build system on Qt-port
2128 * Scripts/build-webkit:
2129 * Scripts/webkitdirs.pm:
2131 2008-11-16 Greg Bolsinga <bolsinga@apple.com>
2133 Reviewed by Darin Adler.
2135 https://bugs.webkit.org/show_bug.cgi?id=21810
2136 Remove use of static C++ objects that are destroyed at exit time (destructors)
2138 Remove .o files from the exclude list that have had their exit-time destructors removed.
2139 Handle case when there is no current symbol.
2141 * Scripts/check-for-exit-time-destructors:
2143 2008-11-16 Sam Weinig <sam@webkit.org>
2145 * Scripts/do-webcore-rename: Remove now fixed renames.
2147 2008-11-16 Darin Adler <darin@apple.com>
2149 * Scripts/do-webcore-rename: Plan some future renames.
2151 2008-11-15 Darin Adler <darin@apple.com>
2153 Rubber stamped by Geoff Garen.
2155 - do the long-planned StructureID -> Structure rename
2157 * Scripts/check-for-global-initializers: Update name of StructureID.o.
2158 * Scripts/do-webcore-rename: Renaming script that I used.
2160 2008-11-15 Greg Bolsinga <bolsinga@apple.com>
2162 Reviewed by Darin Adler.
2164 https://bugs.webkit.org/show_bug.cgi?id=21810
2165 Remove use of static C++ objects that are destroyed at exit time (destructors)
2167 Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
2168 exit-time destructor. Update code that was changed to fix this issue that ran
2169 into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
2170 in gcc build 5465). Also typdefs for template types needed to be added in some
2171 cases so the type could make it through the macro successfully.
2173 Basically code of the form:
2176 DEFINE_STATIC_LOCAL(T, m, ());
2178 Also any code of the form:
2179 static T& m = *new T;
2181 DEFINE_STATIC_LOCAL(T, m, ());
2183 Remove .o files from the exclude list that have had their exit-time destructors removed.
2185 * Scripts/check-for-exit-time-destructors:
2187 2008-11-14 Kevin Ollivier <kevino@theolliviers.com>
2189 wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
2191 * wx/install-unix-extras:
2193 2008-11-14 Alp Toker <alp@nuanti.com>
2195 GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
2197 Fixes Debian bug #505723
2198 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
2200 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2202 2008-11-14 Krishna <krishnamurty.podipireddy@nokia.com>
2204 Reviewed by Simon Hausmann.
2206 Fix hanging DRT with Qt.
2208 https://bugs.webkit.org/show_bug.cgi?id=22209
2210 * DumpRenderTree/qt/DumpRenderTree.cpp:
2211 (WebCore::DumpRenderTree::dump):
2212 Send empty pixel test data 'block', which is now
2213 expected by run-layout-tests.
2215 2008-11-12 Dmitry Titov <dimich@chromium.org>
2217 Reviewed by Alexey Proskuryakov.
2219 https://bugs.webkit.org/show_bug.cgi?id=22216
2221 * Scripts/build-webkit:
2222 Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
2224 2008-11-06 David Kilzer <ddkilzer@apple.com>
2226 BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
2228 Apparently older versions of gcc have issues with this patch.
2229 Backing out a second time until the issues are resolved.
2231 2008-11-06 David Kilzer <ddkilzer@apple.com>
2233 BUILD WAS NOT BROKEN: Rolling r38189 back in.
2235 Please perform a clean build if you see crashes.
2237 2008-11-06 David Kilzer <ddkilzer@apple.com>
2239 BUILD FIX: Backed out r38189 since it apparently broke the world.
2241 2008-11-06 Chris Fleizach <cfleizach@apple.com>
2243 Reviewed by Beth Dakin.
2245 Add ability to query an attribute's settable status and the
2246 ability to retrieve a single attribute from an AXObject
2248 * DumpRenderTree/AccessibilityUIElement.cpp:
2249 (isAttributeSettableCallback):
2250 (attributeValueCallback):
2251 (AccessibilityUIElement::getJSClass):
2252 * DumpRenderTree/AccessibilityUIElement.h:
2253 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2254 (+[NSString stringWithJSStringRef:]):
2255 (AccessibilityUIElement::attributeValue):
2256 (AccessibilityUIElement::isAttributeSettable):
2257 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2258 (AccessibilityUIElement::attributeValue):
2259 (AccessibilityUIElement::isAttributeSettable):
2261 2008-11-06 Greg Bolsinga <bolsinga@apple.com>
2263 Reviewed by Darin Adler.
2265 Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
2266 https://bugs.webkit.org/show_bug.cgi?id=21810
2268 Remove .o files from the exclude list that have had their exit-time destructors removed.
2270 * Scripts/check-for-exit-time-destructors:
2272 2008-11-05 Alp Toker <alp@nuanti.com>
2274 GTK build script tweak.
2276 Make the path relative since it will appear in all -I compiler flags.
2277 Long argument lists cause bizarre slowdowns in libtool and result
2280 * Scripts/webkitdirs.pm:
2282 2008-11-05 Anders Carlsson <andersca@apple.com>
2286 * DumpRenderTree/mac/DumpRenderTree.mm:
2287 (setDefaultsToConsistentValuesForTesting):
2289 2008-11-04 Simon Fraser <simon.fraser@apple.com>
2291 Add AccessibilityObject.o to the exclude list for the
2292 check for global destructors.
2294 * Scripts/check-for-exit-time-destructors:
2296 2008-11-04 Darin Adler <darin@apple.com>
2298 * Scripts/check-for-exit-time-destructors: Fix failures seen on the
2299 bot, but for some reason not on my computer.
2301 2008-11-03 Darin Adler <darin@apple.com>
2303 Reviewed by Tim Hatcher.
2305 - https://bugs.webkit.org/show_bug.cgi?id=22061
2306 create script to check for exit-time destructors
2308 * Scripts/check-for-exit-time-destructors: Added.
2309 Started as a copy of check-for-global-initializers.
2311 * Scripts/check-for-global-initializers: Added code to make
2312 this script rerun any time it's modified, and also to properly
2313 run again after the first time it reports an error.
2315 2008-11-03 Pierre-Olivier Latour <pol@apple.com>
2317 Reviewed by Dan Bernstein.
2319 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
2321 https://bugs.webkit.org/show_bug.cgi?id=22054
2323 * DumpRenderTree/mac/DumpRenderTree.mm:
2324 (setDefaultsToConsistentValuesForTesting):
2326 2008-10-31 Cameron Zwarich <zwarich@apple.com>
2330 * Scripts/do-webcore-rename:
2332 Add some renames to contemplate for the future.
2334 2008-10-31 Darin Adler <darin@apple.com>
2336 Requested by Mark Rowe.
2338 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
2340 2008-10-31 David Kilzer <ddkilzer@apple.com>
2342 Bug 21997: prepare-ChangeLog should filter out ChangeLog files
2344 <https://bugs.webkit.org/show_bug.cgi?id=21997>
2346 Reviewed by Darin Adler.
2348 * Scripts/prepare-ChangeLog:
2349 (generateFileList): Don't add ChangeLog files to %{$functionLists}.
2350 This prevents them from showing up in the new ChangeLog entry. They
2351 were already excluded from @{$changedFiles}.
2353 2008-10-30 Mark Rowe <mrowe@apple.com>
2355 Reviewed by Jon Homeycutt.
2357 Explicitly default to building for only the native architecture in debug and release builds.
2359 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2361 2008-10-30 Pierre-Olivier Latour <pol@apple.com>
2363 Reviewed by Dan Bernstein.
2365 Fixed 64 bit build failure.
2367 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2368 (setupMainDisplayColorProfile):
2369 (createBitmapContextFromWebView):
2371 2008-10-28 Alp Toker <alp@nuanti.com>
2373 Fix GTK DRT following build breakage in r37928.
2375 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2380 2008-10-28 Alp Toker <alp@nuanti.com>
2382 Reviewed by Mark Rowe.
2384 Fix recently introduced double-free crashes in GTK DRT.
2386 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
2387 were updated to call ->deref() but GTK DRT was still deleting
2388 gLayoutTestController manually. This patch updates GTK to match the
2389 other ports and resolves the memory allocation issues.
2391 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2394 2008-10-28 Alp Toker <alp@nuanti.com>
2396 Reviewed by Mark Rowe.
2398 Fix GTK DRT hang when running the tests.
2400 Update output from the DRT tool to print an additional '#EOF' to match
2401 breaking changes that were made in r37434.
2403 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2406 2008-10-28 Adele Peterson <adele@apple.com>
2408 Reviewed by Sam Weinig.
2410 Specify which Localizable.strings to update since we don't always want to update the file in the same
2411 directory where we're searching for the strings to localize.
2413 * Scripts/extract-localizable-strings:
2414 * Scripts/update-webkit-localizable-strings:
2416 2008-10-28 Timothy Hatcher <timothy@apple.com>
2418 Add support for enabling the profiler, so the profiling tests can continue
2419 work now that the profiler is not always enabled.
2421 https://bugs.webkit.org/show_bug.cgi?id=21927
2423 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
2424 not slow down JavaScript all the time
2426 Reviewed by Darin Adler and Kevin McCullough.
2428 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
2429 * DumpRenderTree/LayoutTestController.cpp:
2430 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
2431 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
2432 * DumpRenderTree/LayoutTestController.h:
2433 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2434 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
2435 * DumpRenderTree/mac/DumpRenderTree.mm:
2436 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2437 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2438 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2439 * DumpRenderTree/win/DumpRenderTree.cpp:
2440 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2441 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2442 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2444 2008-10-28 Pierre-Olivier Latour <pol@apple.com>
2446 Reviewed by Dan Bernstein
2448 Primary changes in DumpRenderTree:
2449 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
2450 is different from regular font CG anti-aliasing) as font-smoothing settings
2451 depends on the display and can also be changed by the user
2452 - Use a new cleared buffer for each test instead of the reusing same one to
2453 avoid potential result corruption across tests
2454 - Can now receive the expected pixel hash as a suffix to the test path or
2456 - Make sure hash is computed in a endian-independent way
2457 - Improve the code that sets/restores the screen color profile
2458 - Make the code more cross-platformy with std::string goodness
2459 - Added an "on-screen" mode where the snapshot will take into account surfaces
2460 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
2461 reading from the display framebuffer on 10.4. This mode is not active by
2462 default for performance reason, but must be explicitly activated from the test
2463 file using the new "testOnscreen()" JS API.
2465 Primary changes in ImageDiff:
2466 - Provide a new comparison algorithm that is more tolerant to "acceptable"
2467 failures (i.e. very small differences in font rendering, which --threshold is
2468 not really good at handling)
2469 - Generate normalized intensity-only diff images
2471 Primary changes in run-webkit-tests:
2472 - Take advantage of hashes for pixel tests which makes them much faster by
2473 minimizing image comparisons
2474 - Removed repaint options as these should be set from within test files using
2476 - Replaced "threshold" option in by "tolerance" expressed in percents
2477 - Added more logging when in "verbose" mode
2479 https://bugs.webkit.org/show_bug.cgi?id=21322
2480 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2481 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
2482 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
2483 * DumpRenderTree/LayoutTestController.cpp:
2484 (LayoutTestController::LayoutTestController):
2485 (testOnscreenCallback):
2486 (LayoutTestController::staticFunctions):
2487 * DumpRenderTree/LayoutTestController.h:
2488 (LayoutTestController::testOnscreen):
2489 (LayoutTestController::setTestOnscreen):
2490 (LayoutTestController::testPathOrURL):
2491 (LayoutTestController::expectedPixelHash):
2492 * DumpRenderTree/PixelDumpSupport.h:
2493 * DumpRenderTree/cg/ImageDiffCG.cpp:
2495 (releaseMallocBuffer):
2496 (createDifferenceImage):
2499 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2500 (computeMD5HashStringForBitmapContext):
2501 (dumpWebViewAsPixelsAndCompareWithExpected):
2502 * DumpRenderTree/cg/PixelDumpSupportCG.h:
2503 (BitmapContext::createByAdoptingBitmapAndContext):
2504 (BitmapContext::~BitmapContext):
2505 (BitmapContext::cgContext):
2506 (BitmapContext::BitmapContext):
2507 * DumpRenderTree/mac/DumpRenderTree.mm:
2508 (shouldIgnoreWebCoreNodeLeaks):
2509 (setDefaultsToConsistentValuesForTesting):
2511 (initializeGlobalsFromCommandLineOptions):
2512 (prepareConsistentTestingEnvironment):
2514 (sizeWebViewForCurrentTest):
2517 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2518 (restoreMainDisplayColorProfile):
2519 (setupMainDisplayColorProfile):
2520 (createBitmapContextFromWebView):
2521 * DumpRenderTree/win/DumpRenderTree.cpp:
2524 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2525 (getBitmapContextFromWebView):
2526 * Scripts/run-webkit-tests:
2528 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
2530 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
2532 * wx/build-wxwebkit:
2534 2008-10-24 Anders Carlsson <andersca@apple.com>
2536 Try fixing the 64-bit build.
2538 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2541 2008-10-24 Anders Carlsson <andersca@apple.com>
2543 Reviewed by Sam Weinig.
2545 <rdar://problem/5440917> Support NPN_Construct
2547 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2552 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
2555 Handle testConstruct.
2557 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2559 Add objectPointer property.
2562 Only enumerate the two first properties.
2565 Add a simple construct implementation that just returns the test object.
2567 2008-10-24 David Kilzer <ddkilzer@apple.com>
2569 Bug 21850: svn-apply and svn-unapply should preserve patch line endings
2571 <https://bugs.webkit.org/show_bug.cgi?id=21850>
2573 Reviewed by Adam Roben.
2575 * Scripts/svn-apply: Save end-of-line characters when stripping them
2576 off each line of a patch so that they may be restored after
2577 processing the line.
2578 * Scripts/svn-unapply: Ditto.
2580 2008-10-23 David Kilzer <ddkilzer@apple.com>
2582 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
2584 <https://bugs.webkit.org/show_bug.cgi?id=21832>
2586 Reviewed by Sam Weinig.
2588 * Scripts/bisect-builds: Use imported tempfile() from File::Temp
2589 instead of 'new File::Temp' to make the script work with Perl 5.10.
2590 * Scripts/sort-Xcode-project-file: Ditto.
2592 2008-10-22 Brady Eidson <beidson@apple.com>
2594 Reviewed by Adam Roben
2596 <rdar://6261773> - autocomplete="off" doesn't work on Windows
2598 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
2600 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2602 2008-10-22 Darin Adler <darin@apple.com>
2604 * Scripts/do-webcore-rename: More renaming plans.
2606 2008-10-21 Steve Falkenburg <sfalken@apple.com>
2608 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
2610 * Scripts/extract-localizable-strings:
2612 2008-10-17 Maciej Stachowiak <mjs@apple.com>
2614 Reviewed by Mark Rowe.
2616 - default to 1000 tests per dump tool instance again, now that CTI no longer causes
2617 excess different stack logs.
2619 (Also fix a small bug in my last change.)
2621 * Scripts/run-webkit-tests:
2623 2008-10-17 Stephanie Lewis <slewis@apple.com>
2625 Reviewed by Mark Rowe.
2627 Fix layout tests that use prologues and epilogues.
2629 * Scripts/run-webkit-tests:
2631 2008-10-17 Maciej Stachowiak <mjs@apple.com>
2633 Reviewed by Mark Rowe.
2635 - make sure MallocStackLogging is only on for tools we want to
2636 leak check, not other random stuff as well.
2638 * Scripts/run-webkit-tests:
2640 2008-10-17 Maciej Stachowiak <mjs@apple.com>
2642 Reviewed by Stephanie Lewis.
2644 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
2646 This should reduce or eliminate crashes on the buildbot due to
2647 running out of memory while stack logging.
2649 * Scripts/run-webkit-tests:
2651 2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
2653 Gtk build fix. Not reviewed.
2655 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2656 (LayoutTestController::setSmartInsertDeleteEnabled):
2658 2008-10-15 Glenn Wilson <gwilson@google.com>
2660 Added new method to allow tests to disable smart editing in the course of a test.
2661 This is a possible solution to bug .20655
2663 Reviewed by Tim Hatcher.
2665 * DumpRenderTree/LayoutTestController.cpp:
2666 (setSmartInsertDeleteEnabledCallback): new method
2667 (LayoutTestController::staticFunctions): added new method to static list of callbacks
2668 * DumpRenderTree/LayoutTestController.h: added signature of new method
2669 * DumpRenderTree/mac/DumpRenderTree.mm:
2670 (resetWebViewToConsistentStateBeforeTesting): added state resetting
2671 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2672 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2673 * DumpRenderTree/win/DumpRenderTree.cpp:
2674 (resetWebViewToConsistentStateBeforeTesting): added state resetting
2675 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2676 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2678 2008-10-14 Ada Chan <adachan@apple.com>
2682 Reviewed by Sam Weinig.
2684 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2685 * DumpRenderTree/config.h:
2686 * DumpRenderTree/win/DumpRenderTreeWin.h:
2687 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2688 * DumpRenderTree/win/UIDelegate.cpp:
2690 2008-10-13 Timothy Hatcher <timothy@apple.com>
2692 Make prepare-ChangeLog populate the changed functions for JavaScript files.
2694 https://bugs.webkit.org/show_bug.cgi?id=21567
2696 Reviewed by David Kilzer.
2698 * Scripts/prepare-ChangeLog:
2699 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
2700 files that end with ".js".
2701 (get_function_line_ranges_for_javascript): Find functions, anonymous functions
2702 and getters/setters.
2704 2008-10-14 Alp Toker <alp@nuanti.com>
2706 Reviewed by Sam Weinig.
2708 https://bugs.webkit.org/show_bug.cgi?id=16299
2709 Add a config.h file to DRT
2711 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
2712 an ad-hoc config header.
2714 * DumpRenderTree/AccessibilityController.cpp:
2715 * DumpRenderTree/AccessibilityUIElement.cpp:
2716 * DumpRenderTree/AccessibilityUIElement.h:
2717 * DumpRenderTree/DumpRenderTree.h:
2718 * DumpRenderTree/GCController.cpp:
2719 * DumpRenderTree/LayoutTestController.cpp:
2720 * DumpRenderTree/WorkQueue.cpp:
2721 * DumpRenderTree/config.h: Added.
2722 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2723 * DumpRenderTree/gtk/GCControllerGtk.cpp:
2724 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2725 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2726 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
2727 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2728 * DumpRenderTree/win/DumpRenderTree.cpp:
2729 * DumpRenderTree/win/DumpRenderTreeWin.h:
2730 * DumpRenderTree/win/EditingDelegate.cpp:
2731 * DumpRenderTree/win/EventSender.cpp:
2732 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2733 * DumpRenderTree/win/GCControllerWin.cpp:
2734 * DumpRenderTree/win/MD5.cpp:
2735 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2736 * DumpRenderTree/win/PolicyDelegate.cpp:
2737 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2738 * DumpRenderTree/win/WorkQueueItemWin.cpp:
2741 2008-10-13 Chris Fleizach <cfleizach@apple.com>
2743 Reviewed by Beth Dakin.
2745 Added a method to get the links in a webpage
2747 * DumpRenderTree/AccessibilityUIElement.cpp:
2748 (attributesOfDocumentLinksCallback):
2749 (AccessibilityUIElement::getJSClass):
2750 * DumpRenderTree/AccessibilityUIElement.h:
2751 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2752 (AccessibilityUIElement::getDocumentLinks):
2753 (AccessibilityUIElement::attributesOfDocumentLinks):
2754 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2755 (AccessibilityUIElement::getDocumentLinks):
2756 (AccessibilityUIElement::attributesOfDocumentLinks):
2758 2008-10-13 David Kilzer <ddkilzer@apple.com>
2760 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
2762 <https://bugs.webkit.org/show_bug.cgi?id=21457>
2766 * Scripts/resolve-ChangeLogs: Added optional parameter to
2767 -f|--fix-merged switch to run the script on a revision range.
2768 Updated command-line validation checks.
2769 (findChangeLog): Fixed long-standing bug that should have used
2770 $_[0] instead of $_.
2771 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
2772 to work when called from git filter-branch. It always restores a
2773 copy of the previous revision before reapplying the patch.
2774 (fixMergedChangeLogs): Added. Calls itself through git filter-branch
2775 to re-merge ChangeLog files across a revision range. Removes
2776 .git/refs/original directory on success.
2777 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged
2779 (removeChangeLogArguments): Added. Removes items from @ARGV when
2780 they are ChangeLog paths, and return a list of paths. This makes it
2781 easier to validate the command-line.
2782 (resolveChangeLog): Added. Extracted from main code block. Runs
2783 the traditional single-file merge algorithm.
2784 (usageAndExit): Added. Extracted from main code block. Prints
2785 usage statement and exits with error status.
2787 2008-10-12 Darin Adler <darin@apple.com>
2789 * Scripts/make-js-test-wrappers: Update exceptions list so the script
2790 won't overwrite files and mangle tests.
2792 2008-10-11 Dan Bernstein <mitz@apple.com>
2794 Reviewed by Sam Weinig and Anders Carlsson.
2796 - update Mac DumpRenderTree to use the new WebView SPI for forcing the
2797 complex text code path
2798 - add --complex-text support to Windows DumpRenderTree
2800 * DumpRenderTree/mac/DumpRenderTree.mm:
2802 * DumpRenderTree/win/DumpRenderTree.cpp:
2803 (createWebViewAndOffscreenWindow):
2805 * Scripts/run-webkit-tests:
2807 2008-10-09 Eric Seidel <eric@webkit.org>
2809 Reviewed by Oliver Hunt.
2811 https://bugs.webkit.org/show_bug.cgi?id=21498
2813 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
2815 2008-10-09 Cameron Zwarich <zwarich@apple.com>
2819 Add StructureID.o to the exclusion list in the global initializers
2820 script to fix the Debug build.
2822 * Scripts/check-for-global-initializers:
2824 2008-10-08 Mark Rowe <mrowe@apple.com>
2826 Fix the Windows build after r37434.
2828 * DumpRenderTree/win/DumpRenderTree.cpp:
2829 (dump): Update code to approximate valid C++ syntax.
2831 2008-10-08 Timothy Hatcher <timothy@apple.com>
2833 Add SVGElementInstance to the list of exceptions that have
2834 global initializers in debug builds.
2836 Rubber-stamped by Mark Rowe.
2838 * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
2840 2008-10-08 Simon Fraser <simon.fraser@apple.com>
2842 Reviewed by Dan Bernstein
2844 Avoid disconnect between DRT and run-webkit-tests
2845 about whether to expect PNG dumps by having DRT always
2846 print two blocks terminated by #EOF, the second of which
2849 https://bugs.webkit.org/show_bug.cgi?id=21483
2851 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2853 (dumpWebViewAsPixelsAndCompareWithExpected):
2854 * DumpRenderTree/mac/DumpRenderTree.mm:
2856 * DumpRenderTree/win/DumpRenderTree.cpp:
2858 * Scripts/run-webkit-tests:
2860 2008-10-07 Adam Roben <aroben@apple.com>
2862 Make sure short functions get included in ChangeLog output for git
2865 Reviewed by Dave Kilzer.
2867 * Scripts/prepare-ChangeLog:
2868 (sub diffCommand): Pass -U0 to git diff so that each contiguous change
2869 will get its own chunk without any surrounding context.
2870 (sub extractLineRange): Use the line numbers from the chunk header
2871 without modifying them now that they're accurate.
2873 2008-10-04 Mark Rowe <mrowe@apple.com>
2875 Reviewed by Tim Hatcher.
2877 Update check-for-weak-vtables to check only the final linked image for weak vtables.
2878 This gives more useful results than checking each object file independently.
2880 * Scripts/check-for-weak-vtables:
2882 2008-10-03 Pierre-Olivier Latour <pol@apple.com>
2884 Reviewed by Darin Adler
2886 Render images to RGBA8 bitmaps independently of platform endianness.
2888 Create image difference bitmap in reference image colorspace instead of device colorspace
2889 (which depends on the main display profile), so that no color matching happens.
2891 https://bugs.webkit.org/show_bug.cgi?id=21336
2893 * DumpRenderTree/cg/ImageDiffCG.cpp:
2894 (createDifferenceBitmap):
2895 (computePercentageDifferent):
2898 2008-10-02 Simon Fraser <simon.fraser@apple.com>
2900 Reviewed by Darin Adler
2902 Fix hang when running with --pixel --reset, which occurs
2903 because DRT spews PNG data when the script does not expect it.
2905 https://bugs.webkit.org/show_bug.cgi?id=21323
2907 * Scripts/run-webkit-tests:
2909 2008-09-30 Mark Rowe <mrowe@apple.com>
2911 Reviewed by Dan Bernstein.
2913 Add a leak counter for CachedResources since we've had two recent leaks involving them.
2915 * Scripts/check-for-global-initializers:
2917 2008-09-30 Mark Rowe <mrowe@apple.com>
2919 Rubber-stamped by Dan Bernstein.
2921 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
2923 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
2924 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
2925 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
2926 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
2927 torn down before we exit.
2929 * DumpRenderTree/mac/DumpRenderTree.mm:
2933 2008-09-30 Simon Fraser <simon.fraser@apple.com>
2935 Reviewed by Dan Bernstein
2937 Don't run pixel comparison for text-only tests.
2938 https://bugs.webkit.org/show_bug.cgi?id=21124
2940 * DumpRenderTree/mac/DumpRenderTree.mm:
2942 * Scripts/run-webkit-tests:
2944 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
2948 Changed copyright from Trolltech ASA to Nokia.
2950 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
2953 * DumpRenderTree/qt/DumpRenderTree.cpp:
2954 * DumpRenderTree/qt/jsobjects.cpp:
2955 * DumpRenderTree/qt/jsobjects.h:
2956 * DumpRenderTree/qt/main.cpp:
2957 * DumpRenderTree/qt/testplugin.cpp:
2958 * DumpRenderTree/qt/testplugin.h:
2960 2008-09-28 David Kilzer <ddkilzer@apple.com>
2962 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
2964 <https://bugs.webkit.org/show_bug.cgi?id=21185>
2968 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
2969 will attempt to reapply the last commit to a ChangeLog file such
2970 that the ChangeLog entry appears at the top of the file.
2971 (findChangeLog): Added prototype and moved method below the exit
2973 (fixMergedChangeLog): Added. Method to fix incorrectly merged
2976 2008-09-27 Anders Carlsson <andersca@apple.com>
2978 Reviewed by Sam Weinig.
2980 https://bugs.webkit.org/show_bug.cgi?id=21178
2981 <rdar://problem/6248651>
2983 Return the result value from getURL.
2985 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2988 2008-09-26 Matt Lilek <webkit@mattlilek.com>
2990 Reviewed by Tim Hatcher.
2992 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
2994 * Scripts/build-webkit:
2996 2008-09-26 Alice Liu <alice.liu@apple.com>
2998 Remove usage of atlstr.h and CString for VCExpress compatibility
3000 Reviewed by Stephanie Lewis.
3002 * record-memory-win/main.cpp:
3005 (QueryContinuously):
3009 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
3011 wx build fix. Update the version of libpng.
3013 * wx/install-unix-extras:
3015 2008-09-24 Sam Weinig <sam@webkit.org>
3017 Reviewed by Darin Adler.
3019 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
3020 <rdar://problem/6243534>
3021 Crash below Function.apply when using a runtime array as the argument list
3023 Add method to ObjCController to return a runtime array.
3025 * DumpRenderTree/mac/ObjCController.m:
3026 (+[ObjCController isSelectorExcludedFromWebScript:]):
3027 (+[ObjCController webScriptNameForSelector:]):
3028 (-[ObjCController testArray]):
3030 2008-09-24 Beth Dakin <bdakin@apple.com>
3032 Reviewed by Sam Weinig.
3034 Speculative build fix.
3036 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3037 (AccessibilityUIElement::supportsPressAction):
3039 2008-09-23 Beth Dakin <bdakin@apple.com>
3041 Reviewed by Sam Weinig.
3043 This patch extends DumpRenderTree's AccessibilityController to ask
3044 if the focused element supports the press action.
3046 * DumpRenderTree/AccessibilityUIElement.cpp:
3047 (getSupportsPressActionCallback):
3048 (AccessibilityUIElement::getJSClass):
3049 * DumpRenderTree/AccessibilityUIElement.h:
3050 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3051 (AccessibilityUIElement::supportsPressAction):
3053 2008-09-22 Alice Liu <alice.liu@apple.com>
3055 Adding a stand-alone Windows console application to record a process's memory usage
3057 Reviewed by Steve Falkenburg.
3059 * record-memory-win: Added.
3060 * record-memory-win/main.cpp: Added.
3061 * record-memory-win/record-memory-win.vcproj: Added.
3063 2008-09-22 Chris Fleizach <cfleizach@apple.com>
3065 Reviewed by Darin Adler.
3067 Support ability to get/set selected text ranges for text controls through AX.
3069 * DumpRenderTree/AccessibilityUIElement.cpp:
3070 (setSelectedTextRangeCallback):
3071 (getSelectedTextRangeCallback):
3072 (AccessibilityUIElement::getJSClass):
3073 * DumpRenderTree/AccessibilityUIElement.h:
3074 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3075 (AccessibilityUIElement::attributesOfRowHeaders):
3076 (AccessibilityUIElement::attributesOfVisibleCells):
3077 (AccessibilityUIElement::rowIndexRange):
3078 (AccessibilityUIElement::columnIndexRange):
3079 (AccessibilityUIElement::cellForColumnAndRow):
3080 (AccessibilityUIElement::selectedTextRange):
3081 (AccessibilityUIElement::setSelectedTextRange):
3082 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3083 (AccessibilityUIElement::selectedTextRange):
3084 (AccessibilityUIElement::setSelectedTextRange):
3086 2008-09-20 Darin Adler <darin@apple.com>
3088 * DumpRenderTree/mac/DumpRenderTree.mm:
3089 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
3091 2008-09-19 Alp Toker <alp@nuanti.com>
3093 Build fix for the 'gold' linker and recent binutils. New behaviour
3094 requires that we link to used libraries explicitly.
3098 2008-09-19 Stephanie Lewis <slewis@apple.com>
3100 Reviewed by Oliver Hunt.
3102 Implement a workaround for an incorrect mime-type on machines with
3103 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
3104 See radar <rdar://problem/6234318>.
3106 * DumpRenderTree/mac/DumpRenderTree.mm:
3109 2008-09-19 Chris Fleizach <cfleizach@apple.com>
3111 Fixed Windows bustage
3113 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3114 (AccessibilityUIElement::titleUIElement):
3116 2008-09-18 Chris Fleizach <cfleizach@apple.com>
3118 Reviewed by Darin Adler.
3120 Expose titleUIElement call for DumpRenderTree
3123 * DumpRenderTree/AccessibilityUIElement.cpp:
3124 (titleUIElementCallback):
3125 (AccessibilityUIElement::getJSClass):
3126 * DumpRenderTree/AccessibilityUIElement.h:
3127 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3128 (AccessibilityUIElement::titleUIElement):
3130 2008-09-18 Darin Adler <darin@apple.com>
3132 * Scripts/do-webcore-rename: More renaming plans.
3134 2008-09-18 Mark Rowe <mrowe@apple.com>
3136 Reviewed by Dan Bernstein.
3138 Clear the main frame's name between tests to get more consistent test results
3139 when running the WebKit tests with --nthly.
3141 * DumpRenderTree/mac/DumpRenderTree.mm:
3142 (resetWebViewToConsistentStateBeforeTesting):
3143 * DumpRenderTree/win/DumpRenderTree.cpp:
3144 (resetWebViewToConsistentStateBeforeTesting):
3146 2008-09-18 Stephanie Lewis <slewis@apple.com>
3148 Really fix tiger jsc tests.
3150 * Scripts/run-javascriptcore-tests:
3152 2008-09-18 Stephanie Lewis <slewis@apple.com>
3154 Reviewed by Maciej Stachowiak.
3156 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
3158 * Scripts/run-javascriptcore-tests:
3159 * Scripts/webkitdirs.pm:
3161 2008-09-18 Mark Rowe <mrowe@apple.com>
3163 Rubber-stamped by Sam Weinig.
3165 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
3166 This should make it more obvious when a test does this, as stderr output tends to be obscured
3167 by noise in the test results.
3169 Also fixes some coding style issues in ResourceLoadDelegate.mm.
3171 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3172 (-[NSError _drt_descriptionSuitableForTestResult]):
3173 (-[NSURL _drt_descriptionSuitableForTestResult]):
3174 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3175 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3176 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
3177 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
3178 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
3179 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
3181 2008-09-18 Stephanie Lewis <slewis@apple.com>
3183 Reviewed by Mark Rowe and Maciej Stachowiak..
3185 add a --64-bit option and specify which architecture to run on Mac.
3187 * Scripts/run-javascriptcore-tests:
3189 2008-09-17 Mark Rowe <mrowe@apple.com>
3191 Reviewed by Sam Weinig.
3193 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
3195 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
3196 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
3197 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
3199 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
3200 * DumpRenderTree/LayoutTestController.cpp:
3201 (LayoutTestController::LayoutTestController):
3202 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
3203 (layoutTestControllerObjectFinalize): Deref the wrapped object.
3204 (LayoutTestController::makeWindowObject): Ref the wrapped object.
3205 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
3206 * DumpRenderTree/mac/DumpRenderTree.mm:
3207 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
3208 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
3209 * DumpRenderTree/win/DumpRenderTree.cpp:
3210 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
3212 2008-09-16 Sam Weinig <sam@webkit.org>
3214 Reviewed by Mark Rowe.
3216 Add flag to disable running sample on tests that timeout.
3218 * Scripts/run-webkit-tests:
3220 2008-09-16 Adam Roben <aroben@apple.com>
3222 Windows build fix after r36511
3224 Update for rename of layoutTestController to gLayoutTestController.
3226 * DumpRenderTree/LayoutTestController.cpp:
3227 * DumpRenderTree/win/EditingDelegate.cpp:
3228 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3229 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3230 * DumpRenderTree/win/UIDelegate.cpp:
3232 2008-09-16 Adam Roben <aroben@apple.com>
3234 Add a script to print out the dependency tree of a Visual Studio
3237 * Scripts/print-msvc-project-dependencies: Added.
3239 2008-09-16 Mark Rowe <mrowe@apple.com>
3243 * DumpRenderTree/LayoutTestController.cpp:
3244 (notifyDoneCallback): Call fprintf in a safer manner.
3246 2008-09-16 Simon Fraser <simon.fraser@apple.com>
3248 Reviewed by Eric Seidel
3250 Protect against tests that call layoutTestController.notifyDone()
3251 more than once, which would lead to memory corruption, by nulling
3252 out the LayoutTestController on the JSObjectRef on destruction. Also
3253 add a finalize callback on the class so that if the LTC outlives
3254 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
3257 https://bugs.webkit.org/show_bug.cgi?id=20875
3259 * DumpRenderTree/LayoutTestController.cpp:
3260 (LayoutTestController::LayoutTestController):
3261 (notifyDoneCallback):
3262 (layoutTestControllerObjectFinalize):
3263 (LayoutTestController::makeWindowObject):
3264 (LayoutTestController::getJSClass):
3265 * DumpRenderTree/LayoutTestController.h:
3266 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3267 (LayoutTestController::~LayoutTestController):
3269 2008-09-16 Simon Fraser <simon.fraser@apple.com>
3271 Reviewed by Eric Seidel
3273 Step 1 patch: rename global variable for clarity.
3274 https://bugs.webkit.org/show_bug.cgi?id=20875
3276 * DumpRenderTree/DumpRenderTree.h:
3277 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3278 (dumpWebViewAsPixelsAndCompareWithExpected):
3279 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3284 (webViewLoadFinished):
3285 (webViewWindowObjectCleared):
3286 * DumpRenderTree/mac/DumpRenderTree.mm:
3287 (allocateGlobalControllers):
3288 (dumpFrameScrollPosition):
3290 (methodNameStringForFailedTest):
3293 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3294 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3295 * DumpRenderTree/mac/EditingDelegate.mm:
3296 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3297 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3298 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3299 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3300 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3301 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3302 (-[EditingDelegate webViewDidBeginEditing:]):
3303 (-[EditingDelegate webViewDidChange:]):
3304 (-[EditingDelegate webViewDidEndEditing:]):
3305 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3306 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3307 (-[FrameLoadDelegate processWork:]):
3308 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3309 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3310 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3311 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3312 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3313 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3314 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3315 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3316 * DumpRenderTree/mac/UIDelegate.mm:
3317 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3318 (-[UIDelegate webViewFocus:]):
3319 (-[UIDelegate webViewUnfocus:]):
3320 (-[UIDelegate webView:createWebViewWithRequest:]):
3321 (-[UIDelegate webViewClose:]):
3322 * DumpRenderTree/win/DumpRenderTree.cpp:
3323 (dumpFrameScrollPosition):
3328 2008-09-15 Alice Liu <alice.liu@apple.com>
3330 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
3332 Reviewed by Stephanie Lewis.
3334 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3335 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
3336 but not Intel. Add a check for nil before calling.
3337 (AccessibilityUIElement::rowIndexRange):
3338 (AccessibilityUIElement::columnIndexRange):
3340 2008-09-14 Mark Rowe <mrowe@apple.com>
3344 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3345 (waitUntilDoneWatchdogFired):
3346 * DumpRenderTree/mac/ObjCPlugin.m:
3348 2008-09-08 Dan Bernstein <mitz@apple.com>
3350 Reviewed by Mark Rowe.
3352 - add an option to run-webkit-tests to always use the complex text code path
3354 * DumpRenderTree/mac/DumpRenderTree.mm:
3355 (initializeGlobalsFromCommandLineOptions):
3357 * Scripts/run-webkit-tests:
3359 2008-09-08 Steve Falkenburg <sfalken@apple.com>
3361 Another Windows nightly build fix.
3363 Reviewed by Sam Weinig.
3365 * FindSafari/FindSafari.cpp:
3366 (_tmain): Delete existing WebKitNightly directory in temp.
3367 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
3369 2008-09-07 Stephanie Lewis <slewis@apple.com>
3371 Reviewed by Mark Rowe.
3375 * DumpRenderTree/DumpRenderTreePrefix.h:
3376 * DumpRenderTree/win/DumpRenderTree.vcproj:
3378 2008-09-06 Steve Falkenburg <sfalken@apple.com>
3380 Fix Windows nightlies.
3382 Copy WebKit.dll alongside application so registry-free COM can find it.
3383 Update embedded manifest to force use registry-free COM.
3385 Reviewed by Dave Hyatt.
3387 * FindSafari/FindSafari.cpp:
3391 * FindSafari/FindSafari.rc: Added.
3392 * FindSafari/FindSafari.vcproj:
3393 * FindSafari/Safari.exe.manifest: Added.
3394 * FindSafari/resource.h: Added.
3396 === End merge of squirrelfish-extreme ===
3398 2008-08-31 Mark Rowe <mrowe@apple.com>
3400 Reviewed by Maciej Stachowiak.
3402 Add a --profile flag to run-sunspider.
3404 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
3405 to build scripts as indicating that we should use the "Profiling" configuration. At present
3406 this is only supported by JavaScriptCore, so using this argument to build any other project
3407 will likely result in unexpected behaviour.
3409 2008-08-27 Mark Rowe <mrowe@apple.com>
3411 Reviewed by Oliver Hunt.
3413 Fix run-webkit-tests to handle DRT exiting early.
3415 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
3417 === Start merge of squirrelfish-extreme ===
3419 2008-09-04 Mark Rowe <mrowe@apple.com>
3421 Reviewed by Eric Seidel.
3423 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
3424 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
3426 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
3428 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
3430 Reviewed by Oliver Hunt.
3432 Bug 20616: Incorporate V8 benchmarks in testing
3433 <https://bugs.webkit.org/show_bug.cgi?id=20616>
3435 Add support for the --v8 option to run-sunspider.
3437 * Scripts/run-sunspider:
3439 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
3441 wx buildbot fix. More robust handling of clean when makefiles are not built or
3442 are not completely made.
3444 * wx/build-wxwebkit:
3446 2008-09-03 Mark Rowe <mrowe@apple.com>
3448 More Mac build fixes.
3450 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
3451 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
3452 default configuration specified in the .xcconfig files.
3454 * Scripts/build-webkit:
3456 2008-09-03 Mark Rowe <mrowe@apple.com>
3458 Mac build fix. Ensure that dashboard support is enabled.
3460 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3462 2008-08-25 Steve Falkenburg <sfalken@apple.com>
3464 Build fix. Copy correct version of ICU.
3466 * DumpRenderTree/win/DumpRenderTree.vcproj:
3468 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
3472 [run-webkit-tests] Use QtLauncher to show the results of the tests
3473 konqueror might not be installed, xdg-open might not be installed but the
3474 QtLauncher should be present.
3476 * Scripts/run-webkit-tests:
3478 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
3480 Initial support for accessibility layout tests on Windows.
3481 https://bugs.webkit.org/show_bug.cgi?id=20497
3483 Reviewed by Sam Weinig.
3485 * DumpRenderTree/AccessibilityController.h: Fix typos.
3486 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
3487 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
3488 prevent oleacc.h, which includes windows.h, from including winsock.h.
3490 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
3491 (AccessibilityController::AccessibilityController):
3492 (AccessibilityController::~AccessibilityController):
3493 (AccessibilityController::focusedElement): Get the root element, and
3494 request its focused object.
3495 (AccessibilityController::rootElement): Query Windows for the
3496 accessible client object for the WebView's window.
3497 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
3498 (AccessibilityUIElement::AccessibilityUIElement):
3499 (AccessibilityUIElement::~AccessibilityUIElement):
3500 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
3501 (AccessibilityUIElement::getChildren): Get the child count, and append
3503 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
3504 index offset by 1. In MSAA, child 0 is the object itself.
3505 (AccessibilityUIElement::allAttributes): Not implemented.
3506 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
3507 (AccessibilityUIElement::attributesOfChildren): Same.
3508 (AccessibilityUIElement::parameterizedAttributeNames): Same.
3509 (self): Return a VARIANT representing the "self" object. This is used
3510 when calling methods that require a child variant.
3511 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
3512 convert it into a string with GetRoleText().
3513 (AccessibilityUIElement::title): Get the element's title, and convert
3515 (AccessibilityUIElement::description): Same, for description.
3516 (AccessibilityUIElement::width):
3517 (AccessibilityUIElement::height):
3518 (AccessibilityUIElement::intValue): Get the object's value as a string,
3519 and convert the string to a double.
3520 (AccessibilityUIElement::minValue): Not implemented.
3521 (AccessibilityUIElement::maxValue): Same.
3522 (AccessibilityUIElement::insertionPointLineNumber): Same.
3523 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
3524 (AccessibilityUIElement::attributesOfRowHeaders): Same.
3525 (AccessibilityUIElement::attributesOfColumns): Same.
3526 (AccessibilityUIElement::attributesOfRows): Same.
3527 (AccessibilityUIElement::attributesOfVisibleCells): Same.
3528 (AccessibilityUIElement::attributesOfHeader): Same.
3529 (AccessibilityUIElement::indexInTable): Same.
3530 (AccessibilityUIElement::rowIndexRange): Same.
3531 (AccessibilityUIElement::columnIndexRange): Same.
3532 (AccessibilityUIElement::lineForIndex): Same.
3533 (AccessibilityUIElement::boundsForRange): Same.
3534 (AccessibilityUIElement::cellForColumnAndRow): Same.
3535 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
3536 project. Link to oleacc.lib, the MSAA library.
3537 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3538 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
3540 (FrameLoadDelegate::didClearWindowObject): Create a new window object
3541 for the accessibility controller.
3542 * DumpRenderTree/win/FrameLoadDelegate.h:
3544 2008-08-21 Simon Fraser <simon.fraser@apple.com>
3546 Reviewed by Mark Rowe
3548 Make build-launcher-app work when run from a git repository.
3549 https://bugs.webkit.org/show_bug.cgi?id=20478
3551 * BuildSlaveSupport/build-launcher-app:
3553 2008-08-20 Maxime Britto <britto@apple.com>
3555 Reviewed by Ada Chan.
3558 Mouse events are sent to page while resizing window (affects Gmail)
3560 * DumpRenderTree/win/UIDelegate.h:
3561 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
3563 2008-08-19 Chris Fleizach <cfleizach@apple.com>
3565 Reviewed by Beth Dakin.
3567 Add snowleopard platform in layout tests
3569 Added support for accessing the attributes of
3570 accessibility tables through the accessibility controller
3573 * DumpRenderTree/AccessibilityUIElement.cpp:
3574 (attributesOfColumnHeadersCallback):
3575 (attributesOfRowHeadersCallback):
3576 (attributesOfColumnsCallback):
3577 (attributesOfRowsCallback):
3578 (attributesOfVisibleCellsCallback):
3579 (attributesOfHeaderCallback):
3580 (indexInTableCallback):
3581 (rowIndexRangeCallback):
3582 (columnIndexRangeCallback):
3583 (childAtIndexCallback):
3584 (cellForColumnAndRowCallback):
3585 (AccessibilityUIElement::getJSClass):
3586 * DumpRenderTree/AccessibilityUIElement.h:
3587 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3588 (convertNSArrayToVector):
3589 (descriptionOfElements):
3590 (AccessibilityUIElement::getLinkedUIElements):
3591 (AccessibilityUIElement::getChildren):
3592 (AccessibilityUIElement::attributesOfLinkedUIElements):
3593 (AccessibilityUIElement::attributesOfChildren):
3594 (AccessibilityUIElement::attributesOfColumnHeaders):
3595 (AccessibilityUIElement::attributesOfRowHeaders):
3596 (AccessibilityUIElement::attributesOfColumns):
3597 (AccessibilityUIElement::attributesOfRows):
3598 (AccessibilityUIElement::attributesOfVisibleCells):
3599 (AccessibilityUIElement::attributesOfHeader):
3600 (AccessibilityUIElement::indexInTable):
3601 (AccessibilityUIElement::rowIndexRange):
3602 (AccessibilityUIElement::columnIndexRange):
3603 (AccessibilityUIElement::cellForColumnAndRow):
3604 * Scripts/run-webkit-tests:
3606 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
3608 Reviewed by Darin Adler.
3610 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
3611 is waiting for crash reporter to let it exit.
3613 The fix does not work on Tiger, because the state of the process is indistinguishable from
3614 other waiting processes, at least not with this technique.
3616 * Scripts/run-webkit-tests:
3618 2008-08-18 Alp Toker <alp@nuanti.com>
3620 Reviewed by Holger Freyther.
3622 https://bugs.webkit.org/show_bug.cgi?id=20350
3623 [GTK] Get DumpRenderTree working
3625 Fixes and enhancements to DumpRenderTree. With these changes, the test
3626 suite can now complete a run producing text and render tree dumps.
3628 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3632 (webViewLoadFinished):
3633 (webViewWindowObjectCleared):
3634 (webViewConsoleMessage):
3635 (webViewScriptAlert):
3636 (webViewScriptPrompt):
3637 (webViewScriptConfirm):
3638 (webViewTitleChanged):
3640 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3641 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3642 (LayoutTestController::clearBackForwardList):
3643 (LayoutTestController::pathToLocalResource):
3644 (LayoutTestController::setAcceptsEditing):
3645 (LayoutTestController::setUserStyleSheetEnabled):
3646 (LayoutTestController::setUserStyleSheetLocation):
3647 (waitToDumpWatchdogFired):
3648 (LayoutTestController::windowCount):
3649 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3650 (JSStringCopyUTF8CString):
3651 (ScriptItem::invoke):
3653 2008-08-17 Geoffrey Garen <ggaren@apple.com>
3655 Reviewed by Cameron Zwarich.
3657 Updated project files to XCode 3.1.
3659 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3660 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3662 2008-08-15 Mark Rowe <mrowe@apple.com>
3664 Rubber-stamped by Geoff Garen.
3666 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
3668 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
3670 2008-08-13 Simon Hausmann <hausmann@webkit.org>
3672 Rubber-stamped by Holger.
3674 Revert r31585 and disable http tests for the Qt build again unless
3677 Running the http tests unfortunately currently still triggers
3678 failures in non-http tests due to side-effects. Disable them by default for
3679 now, for more reliable results.
3681 * Scripts/run-webkit-tests:
3683 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
3685 Reviewed (and updated) by Alp Toker.
3687 https://bugs.webkit.org/show_bug.cgi?id=16620
3688 [GTK] Autotools make dist and make check support
3690 Get make dist working.
3692 Note that not all possible configurations have been tested yet.
3696 2008-08-10 Alp Toker <alp@nuanti.com>
3698 Remove leftover qmake/GTK+ build files.
3700 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
3701 * GtkLauncher/GtkLauncher.pro: Removed.
3703 2008-08-06 Chris Fleizach <cfleizach@apple.com>
3705 Reviewed by Beth Dakin
3707 AX functions shouldn't return position information because it changes
3708 based on the platform
3710 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3711 (AccessibilityUIElement::boundsForRange):
3713 2008-08-06 Eric Seidel <eric@webkit.org>
3717 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
3718 <https://bugs.webkit.org/show_bug.cgi?id=20297>
3719 <rdar://problem/6093153>
3721 I've made AccessibilityUIElement a stack object for now. It could be
3722 made RefCounted, but I figured that might be overkill for the moment.
3723 Essentially it's just a RefPtr itself. :)
3725 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
3726 which was causing additional leaks. :)
3728 I added toAXElement to remove a bunch of copy/paste code.
3730 * DumpRenderTree/AccessibilityController.h:
3731 * DumpRenderTree/AccessibilityUIElement.cpp:
3733 (allAttributesCallback):
3734 (attributesOfLinkedUIElementsCallback):
3735 (attributesOfChildrenCallback):
3736 (lineForIndexCallback):
3737 (boundsForRangeCallback):
3738 (childAtIndexCallback):
3741 (getDescriptionCallback):
3743 (getHeightCallback):
3744 (getIntValueCallback):
3745 (getMinValueCallback):
3746 (getMaxValueCallback):
3747 (getInsertionPointLineNumberCallback):
3749 * DumpRenderTree/AccessibilityUIElement.h:
3750 (AccessibilityUIElement::platformUIElement):
3751 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3752 (AccessibilityController::focusedElement):
3753 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3754 (AccessibilityUIElement::AccessibilityUIElement):
3755 (AccessibilityUIElement::getLinkedUIElements):
3756 (AccessibilityUIElement::getChildren):
3757 (AccessibilityUIElement::getChildAtIndex):
3758 (AccessibilityUIElement::attributesOfLinkedUIElements):
3759 (AccessibilityUIElement::attributesOfChildren):
3761 2008-08-06 Eric Seidel <eric@webkit.org>
3763 Reviewed by Cameron Zwarich.
3765 Speculative fix for an error I keep seeing in my Cygwin build
3767 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
3769 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
3771 Forgot to commit licensing correction in last commit.
3773 * wx/packaging/wxWebKitInstaller.iss.in:
3775 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
3777 Reviewed by Eric Seidel.
3779 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
3780 be used for nightlies.
3782 https://bugs.webkit.org/show_bug.cgi?id=20036
3784 * wx/packaging: Added.
3785 * wx/packaging/build-win-installer.py: Added.
3786 * wx/packaging/wxWebKitInstaller.iss.in: Added.
3788 2008-07-31 Adam Roben <aroben@apple.com>
3792 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
3793 Release configuration, too.
3795 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
3797 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
3800 <https://bugs.webkit.org/show_bug.cgi?id=20245>
3802 Reviewed by Adam Roben.
3804 * WinLauncher/WinLauncher.vcproj: adding the following properties to
3805 WinLauncher > Properties > Manifest Tool > Isolated COM
3806 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
3807 Component File Name: WebKit$(WebKitDLLConfigSuffix)
3808 Doing the change on "All Configurations"
3810 2008-07-31 Adam Roben <aroben@apple.com>
3812 Windows build bot fix
3814 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
3815 exist for people at Apple can't be found. Also updated the ICU version
3818 2008-07-31 David Kilzer <ddkilzer@apple.com>
3820 Fix layout test results for webarchive/test-xml-stylesheet.xml
3822 Reviewed by Darin Adler.
3824 * DumpRenderTree/mac/DumpRenderTree.mm:
3825 (convertMIMEType): Work around the "text/xml" local file type
3826 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
3827 stop mangling "application/x-javascript" into "text/javascript".
3828 (convertWebResourceDataToString): When checking whether to dump a
3829 resource as text, also check to see if the MIME type is in the
3830 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
3831 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
3834 2008-07-31 Chris Fleizach <cfleizach@apple.com>
3836 Reviewed by Alice Liu
3838 Add AX support to get the bounds for a range of text
3839 Add AX support to get the child of an element
3840 Add AX support to get all the parameterized attribute names of an element
3842 * DumpRenderTree/AccessibilityUIElement.cpp:
3843 (parameterizedAttributeNamesCallback):
3844 (boundsForRangeCallback):
3845 (childAtIndexCallback):
3846 (AccessibilityUIElement::getJSClass):
3847 * DumpRenderTree/AccessibilityUIElement.h:
3848 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3849 (AccessibilityUIElement::getChildAtIndex):
3850 (AccessibilityUIElement::parameterizedAttributeNames):
3851 (AccessibilityUIElement::boundsForRange):
3853 2008-07-31 Erik Bunce <elbunce@thehive.com>
3857 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
3859 * Scripts/run-launcher:
3861 2008-07-30 Jessica Kahn <jess@apple.com>
3863 Reviewed by Adam Roben.
3865 Slightly stricter checking for previous change, suggested by Adam.
3867 * Scripts/extract-localizable-strings:
3869 2008-07-30 Jessica Kahn <jess@apple.com>
3871 Reviewed by Darin Adler.
3873 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
3875 * Scripts/extract-localizable-strings:
3877 2008-07-30 Anders Carlsson <andersca@apple.com>
3881 Copy icu38* files instead of icu36* files.
3883 * DumpRenderTree/win/DumpRenderTree.vcproj:
3885 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
3887 DRT/Gtk build fix for r35362
3889 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3890 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3892 2008-07-25 Brady Eidson <beidson@apple.com>
3896 Add the ability to dump whether-or-not an element should have autocomplete enabled,
3897 from the perspective of the WebKit API
3899 * DumpRenderTree/LayoutTestController.cpp:
3900 (elementDoesAutoCompleteForElementWithIdCallback):
3901 (LayoutTestController::staticFunctions):
3903 * DumpRenderTree/LayoutTestController.h:
3904 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3905 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3906 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3907 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
3909 2008-07-25 Chris Fleizach <cfleizach@apple.com>
3911 Reviewed by Beth Dakin
3913 Add support for AXLineForIndex and AXInsertionPointIndex through the
3914 accessibility controller
3916 * DumpRenderTree/AccessibilityUIElement.cpp:
3917 (lineForIndexCallback):
3918 (getInsertionPointLineNumberCallback):
3919 (AccessibilityUIElement::getJSClass):
3920 * DumpRenderTree/AccessibilityUIElement.h:
3921 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3922 (AccessibilityUIElement::insertionPointLineNumber):
3923 (AccessibilityUIElement::lineForIndex):
3925 2008-07-25 Adam Roben <aroben@apple.com>
3927 Try to fix the Windows build bot
3929 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
3930 that don't exist for people outside of Apple.
3932 2008-07-18 Landry Breuil <landry@openbsd.org>
3934 Bug 19975: [OpenBSD] Patches to enable build of WebKit
3936 <https://bugs.webkit.org/show_bug.cgi?id=19975>
3938 Reviewed by David Kilzer.
3940 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
3942 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
3944 CygwinDownloader fails to install necessary packages
3945 https://bugs.webkit.org/show_bug.cgi?id=20075
3947 Reviewed by Mark Rowe.
3949 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
3950 mirrors removed in r34116. Set MIME type to application/octet-stream.
3952 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
3954 CygwinDownloader's make-zip.sh script fails
3955 https://bugs.webkit.org/show_bug.cgi?id=20074
3957 Reviewed by Mark Rowe.
3959 * CygwinDownloader/cygwin-downloader.py:
3961 2008-07-15 Sam Weinig <sam@webkit.org>
3963 Reviewed by Anders Carlsson.
3965 Refactor accessibility testing code.
3968 - AccessibilityController
3969 Controller which has access to the WebView and can provide the focused element, root element
3970 and in the future, elementAtPoint.
3972 - AccessibilityUIElement
3973 Object which provides access to the data provided by the Accessibility APIs.
3975 * DumpRenderTree/AccessibilityController.cpp:
3976 (getFocusedElementCallback):
3977 (getRootElementCallback):
3978 (AccessibilityController::getJSClass):
3979 * DumpRenderTree/AccessibilityController.h:
3980 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
3981 (allAttributesCallback):
3982 (attributesOfLinkedUIElementsCallback):
3983 (attributesOfChildrenCallback):
3986 (getDescriptionCallback):
3988 (getHeightCallback):
3989 (getIntValueCallback):
3990 (getMinValueCallback):
3991 (getMaxValueCallback):
3993 (AccessibilityUIElement::makeJSAccessibilityUIElement):
3994 (AccessibilityUIElement::getJSClass):
3995 * DumpRenderTree/AccessibilityUIElement.h: Added.
3996 (AccessibilityUIElement::platformUIElement):
3997 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3998 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3999 (AccessibilityController::AccessibilityController):
4000 (AccessibilityController::~AccessibilityController):
4001 (AccessibilityController::focusedElement):
4002 (AccessibilityController::rootElement):
4003 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
4004 (AccessibilityUIElement::AccessibilityUIElement):
4005 (descriptionOfValue):
4006 (attributesOfElement):
4007 (nsStringToJSStringRef):
4008 (concatenateAttributeAndValue):
4009 (AccessibilityUIElement::getLinkedUIElements):
4010 (AccessibilityUIElement::getChildren):
4011 (AccessibilityUIElement::attributesOfLinkedUIElements):
4012 (AccessibilityUIElement::attributesOfChildren):
4013 (AccessibilityUIElement::allAttributes):
4014 (AccessibilityUIElement::role):
4015 (AccessibilityUIElement::title):
4016 (AccessibilityUIElement::description):
4017 (AccessibilityUIElement::width):
4018 (AccessibilityUIElement::height):
4019 (AccessibilityUIElement::intValue):
4020 (AccessibilityUIElement::minValue):
4021 (AccessibilityUIElement::maxValue):
4023 2008-07-14 Chris Fleizach <cfleizach@apple.com>
4025 Reviewed by Beth Dakin
4027 Add support to get attributes of the AXChildren of an objecty
4029 * DumpRenderTree/AccessibilityController.cpp:
4030 (attributesOfChildrenForFocusedElementCallback):
4031 (AccessibilityController::staticFunctions):
4032 * DumpRenderTree/AccessibilityController.h:
4033 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4034 (descriptionOfValue):
4035 (AccessibilityController::attributesOfChildrenForFocusedElement):
4037 2008-07-14 Steve Falkenburg <sfalken@apple.com>
4041 * DumpRenderTree/win/DumpRenderTree.vcproj:
4043 2008-07-14 Adam Roben <aroben@apple.com>
4045 Attempted Windows build fix
4047 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
4048 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
4051 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
4053 Reviewed by Geoff Garen.
4055 Eliminate per-thread JavaScript global data instance support and make arbitrary
4056 global data/global object combinations possible.
4058 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
4059 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
4060 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
4061 chance for a different thread to cause GC after the context was released.
4063 2008-07-11 Stephanie Lewis <slewis@apple.com>
4065 Reviewed by Darin Adler.
4067 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
4069 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
4071 * DumpRenderTree/mac/DumpRenderTree.mm:
4072 (setDefaultsToConsistentValuesForTesting):
4073 (resetWebViewToConsistentStateBeforeTesting):
4074 * Scripts/run-webkit-tests:
4076 2008-07-10 Steve Falkenburg <sfalken@apple.com>
4080 * DumpRenderTree/win/DumpRenderTree.vcproj:
4082 2008-07-09 Eric Seidel <eric@webkit.org>
4084 Reviewed by Mark Rowe.
4086 Print <div> backgrounds when printing from DRT.
4088 * DumpRenderTree/mac/DumpRenderTree.mm:
4089 (setDefaultsToConsistentValuesForTesting):
4091 2008-07-09 Eric Seidel <eric@webkit.org>
4093 Reviewed by Mark Rowe.
4095 Fix copying of expected results to correct location
4097 * Scripts/run-webkit-tests:
4099 2008-07-09 Eric Seidel <eric@webkit.org>
4103 * DumpRenderTree/LayoutTestController.cpp:
4104 (LayoutTestController::LayoutTestController):
4105 (dumpAsPDFCallback):
4106 (LayoutTestController::staticFunctions):
4107 * DumpRenderTree/LayoutTestController.h:
4108 (LayoutTestController::dumpAsPDF):
4109 (LayoutTestController::setDumpAsPDF):
4110 * DumpRenderTree/mac/DumpRenderTree.mm:
4114 2008-07-09 Eric Seidel <eric@webkit.org>
4118 Add Content-Type support to DumpRenderTree and run-webkit-tests
4119 and move expected.txt files to expected.webarchive
4121 https://bugs.webkit.org/show_bug.cgi?id=15565
4123 * DumpRenderTree/cg/ImageDiffCG.cpp:
4126 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4128 * DumpRenderTree/mac/DumpRenderTree.mm:
4130 * Scripts/run-webkit-tests:
4132 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
4136 Port r34988 to Mac: allow tests to define JavaScript to execute when
4137 NPP_DestroyStream or NPP_URLNotify is called.
4139 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
4140 (NPP_New): Remove initialization that happens in pluginAllocate. Look
4141 for new arguments onStreamDestroy and onURLNotify.
4142 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
4143 (executeScript): Code moved from onStreamLoad.
4144 (NPP_NewStream): Call executeScript.
4145 (NPP_DestroyStream): Same.
4146 (NPP_URLNotify): Same.
4148 2008-07-07 Beth Dakin <bdakin@apple.com>
4152 This patch extends DRT accessibility tests to add the ability to
4153 query the intValue, minValue, and maxValue of the focused element.
4155 * DumpRenderTree/AccessibilityController.cpp:
4156 (intValueOfFocusedElementCallback):
4157 (minValueOfFocusedElementCallback):
4158 (maxValueOfFocusedElementCallback):
4159 (AccessibilityController::staticFunctions):
4160 * DumpRenderTree/AccessibilityController.h:
4161 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4162 (AccessibilityController::intValueOfFocusedElement):
4163 (AccessibilityController::minValueOfFocusedElement):
4164 (AccessibilityController::maxValueOfFocusedElement):
4166 2008-07-07 Steve Falkenburg <sfalken@apple.com>
4170 * DumpRenderTree/win/ImageDiff.vcproj:
4172 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
4174 Allow tests to define JavaScript to execute when NPP_DestroyStream or
4175 NPP_URLNotify is called.
4179 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
4180 property, "returnErrorFromNewStream." This is to support the test for
4181 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
4182 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
4183 error from NPP_NewStream.
4184 (pluginGetProperty):
4185 (pluginSetProperty):
4187 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
4188 members, onStreamDestroy and onURLNotify.
4189 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
4190 (NPP_New): Remove initialization of onStreamLoad; this was moved to
4191 pluginAllocate. Look for new arguments onStreamDestroy and
4192 onURLNotify, and store their values.
4193 (NPP_Destroy): Free new members.
4194 (executeScript): Code moved from onStreamLoad
4195 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
4196 return a generic error code. If onStreamLoad is set, execute it as
4198 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
4199 (NPP_URLNotify): Same, for onURLNotify.
4201 2008-07-02 Brady Eidson <beidson@apple.com>
4203 Reviewed by Mitz Pettel and John Sullivan
4205 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
4208 Required to add a layout test for the fix for <rdar://problem/5549871>
4210 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4211 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
4212 [WebFrame stopLoading] to test for the crash reflected in 5549871
4214 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
4215 * DumpRenderTree/LayoutTestController.cpp:
4216 (LayoutTestController::LayoutTestController):
4217 (setStopProvisionalFrameLoadsCallback):
4218 (LayoutTestController::staticFunctions):
4219 * DumpRenderTree/LayoutTestController.h:
4220 (LayoutTestController::stopProvisionalFrameLoads):
4221 (LayoutTestController::setStopProvisionalFrameLoads):
4223 2008-07-01 Chris Fleizach <cfleizach@apple.com>
4225 Reviewed by Beth Dakin
4227 Support ability to get width and height of an element through accessibility
4229 * DumpRenderTree/AccessibilityController.cpp:
4230 (widthOfFocusedElementCallback):
4231 (heightOfFocusedElementCallback):
4232 (AccessibilityController::staticFunctions):
4233 * DumpRenderTree/AccessibilityController.h:
4234 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4235 (AccessibilityController::widthOfFocusedElement):
4236 (AccessibilityController::heightOfFocusedElement):
4238 2008-06-30 Chris Fleizach <cfleizach@apple.com>
4240 Reviewed by Beth Dakin
4242 Support the ability to get the linked ui elements of an object
4244 * DumpRenderTree/AccessibilityController.cpp:
4245 (attributesOfLinkedUIElementsForFocusedElementCallback):
4246 (AccessibilityController::staticFunctions):
4247 * DumpRenderTree/AccessibilityController.h:
4248 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4249 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
4250 (AccessibilityController::allAttributesOfFocusedElement):
4251 (attributesOfElement):
4252 (nsStringToJSStringRef):
4254 2008-06-29 Sam Weinig <sam@webkit.org>
4258 * DumpRenderTree/mac/EventSendingController.mm:
4259 (eventTypeForMouseButtonAndAction):
4261 2008-06-27 Eric Seidel <eric@webkit.org>
4265 Add multi-button mouseevent support to DRT
4266 https://bugs.webkit.org/show_bug.cgi?id=15173
4268 It's now possible to specify the mouse button with:
4269 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
4271 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4272 * DumpRenderTree/mac/EventSendingController.h:
4273 * DumpRenderTree/mac/EventSendingController.mm:
4274 (+[EventSendingController isSelectorExcludedFromWebScript:]):
4275 (+[EventSendingController webScriptNameForSelector:]):
4276 (eventTypeForMouseButtonAndAction):
4277 (-[EventSendingController updateClickCountForButton:]):
4278 (-[EventSendingController mouseDown:]):
4279 (-[EventSendingController mouseUp:]):
4280 (-[EventSendingController mouseMoveToX:Y:]):
4281 (-[EventSendingController contextClick]):
4283 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
4287 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
4288 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
4290 * Scripts/run-webkit-tests:
4292 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
4294 Reviewed by Christian Dywan.
4296 [Gtk] Initialize webview settings before running DRT tests
4297 http://bugs.webkit.org/show_bug.cgi?id=19778
4299 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4300 (setDefaultsToConsistentStateValuesForTesting):
4303 2008-06-26 Darin Adler <darin@apple.com>
4305 * Scripts/check-for-weak-vtables: Fixed comment.
4307 2008-06-26 Darin Adler <darin@apple.com>
4309 * Scripts/check-for-weak-vtables: Added.
4311 2008-06-26 Beth Dakin <bdakin@apple.com>
4315 Do not include AXPosition in the dump of all of the accessibility
4316 attributes since it is screen-specific.
4318 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4319 (AccessibilityController::allAttributesOfFocusedElement):
4321 2008-06-26 Beth Dakin <bdakin@apple.com>
4325 This is a speculative fix for the failing layout test on the build
4326 bot. It seems that the problem that the Build Bot is having is
4327 Tiger-specific. On Tiger, [NSValue description] was not very smart.
4328 So I replaced our call to description with a hand-rolled equivalent
4329 that will match on both platforms.
4331 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4332 (descriptionOfValue):
4334 2008-06-25 Beth Dakin <bdakin@apple.com>
4336 Reviewed by Sam Weinig.
4338 This patch adds support to the AccessibilityController to query the
4339 following attributes specifically, without a full attribute dump:
4340 AXRole, AXTitle, and AXDescription.
4342 * DumpRenderTree/AccessibilityController.cpp:
4343 (allAttributesForFocusedElementCallback):
4344 (roleOfFocusedElementCallback):
4345 (titleOfFocusedElementCallback):
4346 (descriptionOfFocusedElementCallback):
4347 (AccessibilityController::staticFunctions):
4348 * DumpRenderTree/AccessibilityController.h:
4349 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4350 (AccessibilityController::allAttributesForFocusedElement):
4351 (concatenateAttributeAndValue):
4352 (AccessibilityController::roleOfFocusedElement):
4353 (AccessibilityController::titleOfFocusedElement):
4354 (AccessibilityController::descriptionOfFocusedElement):
4356 2008-06-24 Dan Bernstein <mitz@apple.com>
4358 Reviewed by Stephanie Lewis.
4360 - move the linker flags from the debug configuration in the project
4361 to the shared configuration
4363 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4364 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
4366 2008-06-24 Dan Bernstein <mitz@apple.com>
4368 - try to fix the Tiger build
4370 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4372 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
4374 Reviewed by Darin Adler.
4376 Fix for <rdar://problem/5884881> Make DumpRenderTree support
4379 This patch adds some basic support for accessibility layout tests
4382 * DumpRenderTree/AccessibilityController.cpp: Added.
4383 (AccessibilityController::AccessibilityController):
4384 (AccessibilityController::~AccessibilityController):
4385 (dumpCurrentAttributesCallback):
4386 (AccessibilityController::makeWindowObject):
4387 (AccessibilityController::getJSClass):
4388 (AccessibilityController::staticFunctions):
4389 * DumpRenderTree/AccessibilityController.h: Added.
4390 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4391 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
4392 (descriptionOfValue):
4393 (AccessibilityController::dumpCurrentAttributes):
4394 * DumpRenderTree/mac/DumpRenderTree.mm:
4395 * DumpRenderTree/mac/FrameLoadDelegate.h:
4396 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4397 (-[FrameLoadDelegate init]):
4398 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
4400 2008-06-24 John Sullivan <sullivan@apple.com>
4402 Reviewed by Dan Bernstein
4404 * Scripts/extract-localizable-strings:
4405 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
4406 list of debugging macros, to avoid noise when keeping the list of localized string
4407 exceptions up to date
4409 2008-06-24 Dan Bernstein <mitz@apple.com>
4411 Rubber-stamped by Darin Adler.
4413 - add a font family for testing font-weight
4415 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
4416 flags to create data sections for the WeightWatcher fonts.
4417 * DumpRenderTree/fonts: Added.
4418 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
4419 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
4420 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
4421 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
4422 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
4423 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
4424 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
4425 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
4426 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
4427 * DumpRenderTree/mac/DumpRenderTree.mm:
4428 (activateFonts): Renamed activateAhemFont to this and made it activate
4429 the WeightWatcher fonts in addition to Ahem.
4430 (prepareConsistentTestingEnvironment): Adjusted for the name change.
4431 * DumpRenderTree/win/DumpRenderTree.cpp:
4432 (initialize): Added the WeightWatcher fonts.
4434 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
4436 Reviewed by Darin Adler.
4438 Extend the build-webkit (and set-webkit-configuration) script to
4439 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
4441 * Scripts/build-webkit: Add --cairo-win32 to the help message
4442 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
4443 subroutine to recognize the --cairo-win32 flag. When present,
4444 the build configuration is changed from Debug/Release to
4445 Debug_Cairo/Release_Cairo. This flag is only active when the
4446 isCygwin() test is true.
4448 2008-06-17 Dan Bernstein <mitz@apple.com>
4450 Reviewed by Justin Garcia.
4452 - prefer Leopard results when running on Snow Leopard.
4454 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
4456 * Scripts/webkitdirs.pm: Added isSnowLeopard().
4458 2008-06-15 Darin Adler <darin@apple.com>
4460 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4462 2008-06-15 Darin Adler <darin@apple.com>
4464 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4466 2008-06-15 Darin Adler <darin@apple.com>
4468 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4470 2008-06-15 Darin Adler <darin@apple.com>
4472 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4474 2008-06-15 Darin Adler <darin@apple.com>
4476 * Scripts/do-file-rename: Updated.
4477 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4479 2008-06-15 Darin Adler <darin@apple.com>
4481 * Scripts/do-file-rename: Updated for the latest round of renaming.
4482 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
4484 2008-06-15 Darin Adler <darin@apple.com>
4486 * Scripts/create-exports: Added.
4487 * Scripts/do-file-rename: Added some planned renames.
4488 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4490 2008-06-15 Darin Adler <darin@apple.com>
4492 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4494 2008-06-15 Maciej Stachowiak <mjs@apple.com>
4498 - rename testkjs to jsc
4500 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
4501 * Scripts/build-testkjs: Removed.
4502 * Scripts/run-javascriptcore-tests:
4503 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
4504 * Scripts/run-sunspider:
4505 * Scripts/run-testkjs: Removed.
4506 * Scripts/sunspider-compare-results:
4508 2008-06-14 Darin Adler <darin@apple.com>
4510 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
4511 from the actual renames. Removed many renames that are either done or
4514 2008-06-14 Darin Adler <darin@apple.com>
4516 * Scripts/do-webcore-rename: Fixed obvious typo.
4518 2008-06-13 Darin Adler <darin@apple.com>
4520 * Scripts/make-js-test-wrappers: Added three more exceptions.
4522 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
4526 For the qmake based build make it possible to build against makespecs where
4527 QMAKE_CC is defined in a configuration file included from qmake.conf.
4529 * Scripts/webkitdirs.pm: Added support for include() statements in
4532 2008-06-09 Alp Toker <alp@nuanti.com>
4534 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
4535 each of the tools since these are no longer set globally.
4539 2008-06-08 Darin Adler <darin@apple.com>
4541 * Scripts/make-js-test-wrappers: Added another exception.
4543 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
4545 Reviewed by Timothy.
4547 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
4549 * Scripts/run-sunspider:
4551 2008-06-05 Alp Toker <alp@nuanti.com>
4553 Build fix for r34387.
4557 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
4561 Add an exception for Opcode.o to the global initializers check so that
4562 we can dump instruction statistics in the JavaScript virtual machine.
4564 * Scripts/check-for-global-initializers:
4566 2008-05-30 Steve Falkenburg <sfalken@apple.com>
4568 Generate an isolated COM manifest for registry free COM.
4570 * DumpRenderTree/win/DumpRenderTree.vcproj:
4572 2008-06-02 Anders Carlsson <andersca@apple.com>
4574 Reviewed by David Hyatt and Mitz.
4576 <rdar://problem/5704119>
4577 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
4579 Call -[WebView display] in the "plug-in" failed delegate method, simulating
4580 the sheet that Safari puts up.
4582 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
4583 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
4585 2008-05-30 Timothy Hatcher <timothy@apple.com>
4587 Made the starting line number of scripts be 1-based throughout the engine.
4588 This cleans up script line numbers so they are all consistent now.
4590 Reviewed by Oliver Hunt.
4592 * DumpRenderTree/mac/ObjCController.m:
4593 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
4594 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
4595 (runJavaScriptThread): Ditto.
4596 * DumpRenderTree/win/DumpRenderTree.cpp:
4597 (runJavaScriptThread): Ditto.
4599 2008-05-29 Geoffrey Garen <ggaren@apple.com>
4601 Reviewed by Adam Roben.
4603 Fixed VCSUtils.pm to work with git repositories inside symlinks.
4605 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
4606 root, instead of the root of the filesystem, to work around a bug in
4607 abs2rel when traversing symlinked home directories.
4609 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
4611 Reviewed by Darin Adler.
4613 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
4615 https://bugs.webkit.org/show_bug.cgi?id=19311
4617 * Scripts/webkitdirs.pm:
4619 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
4621 Reviewed by Adam Roben.
4623 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
4624 configuration files.
4626 * Scripts/run-iexploder-tests:
4627 * Scripts/run-mangleme-tests:
4628 Renamed runSafari to not conflict with the one in webkitdirs.
4629 Added SSLCertificateFile option for httpd, as now needed.
4631 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
4633 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
4635 * wx/browser/browser.cpp:
4638 2008-05-24 Andreia Gaita <shana@isninja.com>
4640 Reviewed by Alp Toker.
4642 cygwin-downloader.py fixes.
4644 Remove two non-working mirrors. Add a check for missing dependency
4645 packages to avoid bailing out on an inconsistent Cygwin package list.
4647 * CygwinDownloader/cygwin-downloader.py:
4649 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
4651 Reviewed by Darin Adler.
4653 Remove useQmake usage. QMake build doesn't support Gtk port
4656 Also fix 2 occurences of "Web Kit". Should be WebKit.
4658 * Scripts/build-webkit:
4659 * Scripts/run-javascriptcore-tests:
4660 * Scripts/run-launcher:
4661 * Scripts/run-webkit-tests:
4662 * Scripts/webkitdirs.pm:
4664 2008-05-22 Stephanie Lewis <slewis@apple.com>
4668 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
4670 * DumpRenderTree/mac/UIDelegate.mm:
4671 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
4672 * DumpRenderTree/win/UIDelegate.cpp:
4673 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
4675 2008-05-21 Adele Peterson <adele@apple.com>
4679 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
4681 * DumpRenderTree/win/UIDelegate.cpp:
4682 (UIDelegate::webViewFocus): Added.
4683 (UIDelegate::webViewUnfocus): Added.
4684 * DumpRenderTree/win/UIDelegate.h:
4686 2008-05-21 Mark Rowe <mrowe@apple.com>
4688 Rubber-stamped by Stephanie Lewis.
4690 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
4691 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
4694 * Scripts/run-safari:
4696 2008-05-21 Stephanie Lewis <slewis@apple.com>
4698 Reviewed by Maciej, Mark.
4700 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
4702 * Scripts/run-webkit-tests:
4703 * Scripts/webkitdirs.pm:
4705 2008-05-20 Mark Rowe <mrowe@apple.com>
4707 Reviewed by Stephanie Lewis.
4709 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
4711 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
4712 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
4713 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
4714 pass an argument to run-webkit-tests after having built with "make x86_64".
4716 * Scripts/gdb-safari:
4717 * Scripts/run-safari:
4718 * Scripts/run-webkit-tests:
4719 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
4720 preferred architecture, and exporting of the environment variables for 'arch' out into
4721 separate subroutines.
4723 2008-05-20 Mark Rowe <mrowe@apple.com>
4725 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
4729 === End merge of squirrelfish ===
4731 2008-04-14 Maciej Stachowiak <mjs@apple.com>
4735 - added support for --ubench mode
4737 * Scripts/run-sunspider:
4739 2008-03-26 Geoffrey Garen <ggaren@apple.com>
4741 Reviewed by Oliver Hunt.
4743 --squirrelfish mode: pared down tests for squirrelfish to chew on.
4745 * Scripts/run-sunspider:
4747 === Start merge of squirrelfish ===
4749 2008-05-21 Darin Adler <darin@apple.com>
4751 * Scripts/make-js-test-wrappers: Added another exception.
4753 2008-05-19 Stephanie Lewis <slewis@apple.com>
4757 Explicitly set run mode to 32bit unless overridden to avoid
4758 confusion when running tests
4760 * Scripts/build-dumprendertree:
4761 * Scripts/gdb-safari:
4762 * Scripts/run-webkit-tests:
4763 * Scripts/webkitdirs.pm:
4765 2008-05-16 Stephanie Lewis <slewis@apple.com>
4769 Print out pending unload event count. Also print out main frame name to match Mac.
4771 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4772 (descriptionSuitableForTestResult):
4773 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
4775 2008-05-16 Timothy Hatcher <timothy@apple.com>
4777 Remove the Drosera project, code and resources since it has been
4778 replaced with the Web Inspector's debugger. Removes references to
4779 Drosera in various scripts and makefiles.
4781 Rubber-stamped by Mark Rowe.
4783 * BuildSlaveSupport/build-launcher-app:
4784 * Drosera/DebuggerDocument.cpp: Removed.
4785 * Drosera/DebuggerDocument.h: Removed.
4786 * Drosera/Drosera.icns: Removed.
4787 * Drosera/DroseraWin.make: Removed.
4788 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
4789 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
4790 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
4791 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
4792 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
4793 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
4794 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
4795 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
4796 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
4797 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
4798 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
4799 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
4800 * Drosera/Images/Drosera.ico: Removed.
4801 * Drosera/Images/SourceArrow.png: Removed.
4802 * Drosera/Images/SourceArrowBlank.png: Removed.
4803 * Drosera/Images/SourceArrowOpen.png: Removed.
4804 * Drosera/Images/background_stripe.png: Removed.
4805 * Drosera/Images/breakPoint.tif: Removed.
4806 * Drosera/Images/breakPointDisabled.tif: Removed.
4807 * Drosera/Images/breakpointeditor.png: Removed.
4808 * Drosera/Images/close.tif: Removed.
4809 * Drosera/Images/close_active.tif: Removed.
4810 * Drosera/Images/close_hover.tif: Removed.
4811 * Drosera/Images/console.png: Removed.
4812 * Drosera/Images/continue.tif: Removed.
4813 * Drosera/Images/fileIcon.jpg: Removed.
4814 * Drosera/Images/finishFunction.tif: Removed.
4815 * Drosera/Images/glossyFooterFill.tif: Removed.
4816 * Drosera/Images/glossyHeader.png: Removed.
4817 * Drosera/Images/glossyHeaderPressed.png: Removed.
4818 * Drosera/Images/gradientBackground.png: Removed.
4819 * Drosera/Images/gutter.png: Removed.
4820 * Drosera/Images/navLeftDisabled.png: Removed.
4821 * Drosera/Images/navLeftNormal.png: Removed.
4822 * Drosera/Images/navLeftPressed.png: Removed.
4823 * Drosera/Images/navRightDisabled.png: Removed.
4824 * Drosera/Images/navRightNormal.png: Removed.
4825 * Drosera/Images/navRightPressed.png: Removed.
4826 * Drosera/Images/pause.tif: Removed.
4827 * Drosera/Images/popUpArrows.png: Removed.
4828 * Drosera/Images/programCounter.tif: Removed.
4829 * Drosera/Images/programCounterBreakPoint.tif: Removed.
4830 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
4831 * Drosera/Images/run.tif: Removed.
4832 * Drosera/Images/siteCollapsed.tif: Removed.
4833 * Drosera/Images/siteExpanded.tif: Removed.
4834 * Drosera/Images/siteIcon.tif: Removed.
4835 * Drosera/Images/small.ico: Removed.
4836 * Drosera/Images/splitterBar.tif: Removed.
4837 * Drosera/Images/splitterDimple.tif: Removed.
4838 * Drosera/Images/step.tif: Removed.
4839 * Drosera/Images/stepOut.tif: Removed.
4840 * Drosera/Images/stepOver.tif: Removed.
4841 * Drosera/Images/stop.tif: Removed.
4842 * Drosera/Images/toolbarBackground.png: Removed.
4843 * Drosera/Images/verticalSplitterBar.tiff: Removed.
4844 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
4845 * Drosera/Makefile: Removed.
4846 * Drosera/breakpointEditor.html: Removed.
4847 * Drosera/config.h: Removed.
4848 * Drosera/console.css: Removed.
4849 * Drosera/console.html: Removed.
4850 * Drosera/console.js: Removed.
4851 * Drosera/debugger.css: Removed.
4852 * Drosera/debugger.html: Removed.
4853 * Drosera/debugger.js: Removed.
4854 * Drosera/mac/DebuggerApplication.h: Removed.
4855 * Drosera/mac/DebuggerApplication.mm: Removed.
4856 * Drosera/mac/DebuggerClient.h: Removed.
4857 * Drosera/mac/DebuggerClient.mm: Removed.
4858 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
4859 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
4860 * Drosera/mac/Info.plist: Removed.
4861 * Drosera/mac/LauncherInfo.plist: Removed.
4862 * Drosera/mac/Makefile: Removed.
4863 * Drosera/mac/ServerConnection.h: Removed.
4864 * Drosera/mac/ServerConnection.mm: Removed.
4865 * Drosera/mac/launcher.m: Removed.
4866 * Drosera/mac/main.m: Removed.
4867 * Drosera/viewer.css: Removed.
4868 * Drosera/viewer.html: Removed.
4869 * Drosera/win/BaseDelegate.h: Removed.
4870 * Drosera/win/DebuggerClient.cpp: Removed.
4871 * Drosera/win/DebuggerClient.h: Removed.
4872 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
4873 * Drosera/win/Drosera.cpp: Removed.
4874 * Drosera/win/Drosera.h: Removed.
4875 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
4876 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
4877 * Drosera/win/DroseraPrefix.cpp: Removed.
4878 * Drosera/win/DroseraPrefix.h: Removed.
4879 * Drosera/win/Info.plist: Removed.
4880 * Drosera/win/ServerConnection.cpp: Removed.
4881 * Drosera/win/ServerConnection.h: Removed.
4882 * Drosera/win/resource.h: Removed.
4884 * Scripts/build-drosera: Removed.
4885 * Scripts/gdb-drosera: Removed.
4886 * Scripts/run-drosera: Removed.
4887 * Scripts/run-drosera-nightly.cmd: Removed.
4888 * Scripts/run-drosera.cmd: Removed.
4889 * Scripts/webkitdirs.pm:
4891 2008-05-15 Stephanie Lewis <slewis@apple.com>
4895 Dump the unload count for a frame after parsing is finished.
4897 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4898 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
4900 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
4902 Reviewed by Dan Bernstein.
4904 https://bugs.webkit.org/show_bug.cgi?id=10707
4905 DumpRenderTree should not be able to access non-local resources
4907 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
4908 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
4909 Block them, and complain.
4911 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
4913 wx build fix. Update the version of libpng to download and instsall.
4915 * wx/install-unix-extras:
4917 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
4921 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
4922 We now force the return value to be numeric.
4924 - Removed platform checks as it was a work around the previous issue.
4926 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
4928 * Scripts/build-webkit:
4929 * Scripts/webkitdirs.pm:
4931 2008-05-12 Adam Roben <aroben@apple.com>
4933 Support for testing NPN_PostURL
4935 Reviewed by Anders Carlsson.
4937 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4938 (toCString): Added this helper function.
4939 (testPostURLFile): Added. Writes the passed-in content to the
4940 passed-in file and calls NPN_PostURL with the passed-in URL and
4942 (pluginInvoke): Added a case for testPostURLFile.
4943 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4944 (followShortcuts): Changed to allow paths that don't yet exist.
4946 2008-05-12 Mark Rowe <mrowe@apple.com>
4948 Reviewed by Sam Weinig.
4950 Minor cleanup of the DRT Xcode project.
4952 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
4953 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
4954 not need to be there.
4956 2008-05-12 Anders Carlsson <andersca@apple.com>
4960 Add support for testing application caches.
4962 * DumpRenderTree/mac/DumpRenderTree.mm:
4966 (resetWebViewToConsistentStateBeforeTesting):
4967 Turn on support for the application cache.
4969 2008-05-09 Mark Rowe <mrowe@apple.com>
4971 Reviewed by Anders Carlsson.
4973 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
4975 It currently does not attempt to print events which means that plugins/mouse-events.html
4976 will fail when run 64-bit. All other tests that use this plugin pass.
4978 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4979 (testGetIntIdentifier):
4980 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
4984 2008-05-09 Brady Eidson <beidson@apple.com>
4986 Reviewed by Adam Roben
4988 Explicitly call shutDownWebKit() before quitting.
4990 * Drosera/win/Drosera.cpp:
4993 * DumpRenderTree/win/DumpRenderTree.cpp:
4996 2008-05-09 Mark Rowe <mrowe@apple.com>
4998 Fix the Tiger build of Drosera.
5000 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
5002 2008-05-09 Sam Weinig <sam@webkit.org>
5004 Rubber-stamped by Mark Rowe.
5006 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
5008 * Scripts/build-webkit:
5010 2008-05-08 Mark Rowe <mrowe@apple.com>
5012 Another attempt at a Tiger build fix.
5014 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
5016 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
5018 2008-05-08 Mark Rowe <mrowe@apple.com>
5020 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
5022 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
5024 2008-05-08 Mark Rowe <mrowe@apple.com>
5026 Reviewed by Oliver Hunt and Dan Bernstein.
5028 Update DumpRenderTree to build 64-bit.
5030 The three major changes here are:
5031 1) Use NSInteger in the appropriate places.
5032 2) Use ColorSync API that is available in 64-bit to switch display profiles.
5033 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
5035 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
5036 needs updated to successfully build.
5038 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
5039 * DumpRenderTree/mac/DumpRenderTree.mm:
5040 (swizzleAllMethods):
5042 (prepareConsistentTestingEnvironment):
5043 * DumpRenderTree/mac/DumpRenderTreeMac.h:
5044 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
5045 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
5046 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
5047 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
5048 (restoreColorSpace):
5049 (failedGettingCurrentProfile):
5050 (setDefaultColorProfileToRGB):
5052 2008-05-08 Mark Rowe <mrowe@apple.com>
5054 Reviewed by Darin Adler.
5056 Clean up Drosera so that it will build 64-bit.
5058 * Drosera/mac/DebuggerApplication.mm:
5059 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
5060 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
5061 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
5063 2008-05-07 David Kilzer <ddkilzer@apple.com>
5065 Use File::Find and Getopt::Long in make-js-test-wrappers
5067 Reviewed by Darin Adler.
5069 * Scripts/make-js-test-wrappers:
5070 - Updated Apple copyright statement.
5071 - Added command-line switch parsing and -h|--help switch.
5072 - Allowed user to pass list of files/directories on which to do
5073 a restricted search for TEMPLATE.html files. The default
5074 behavior is still to search the entire LayoutTests directory.
5075 - Removed duplicate 'use strict' statement.
5076 - Replaced use of `find` statements with File::Find::find().
5077 - Remove unneeded chomp() calls now that we use File::Find.
5078 (directoryFilter): Added. Filters .svn directories when used
5079 with File::Find::find().
5080 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
5083 2008-05-05 Steve Falkenburg <sfalken@apple.com>
5085 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
5087 * DumpRenderTree/win/DumpRenderTree.vcproj:
5088 * DumpRenderTree/win/ImageDiff.vcproj:
5090 2008-05-05 Adele Peterson <adele@apple.com>
5094 Look for the right ImageDiff executable for debug builds.
5096 * Scripts/run-webkit-tests:
5098 2008-05-05 Darin Adler <darin@apple.com>
5100 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
5103 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
5107 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
5108 tests expect to be 480x360)
5110 * DumpRenderTree/qt/DumpRenderTree.cpp:
5111 (WebCore::DumpRenderTree::open):
5113 2008-05-02 Dan Bernstein <mitz@apple.com>
5115 Reviewed by Adam Roben.
5117 - add an option to svn-apply to set the reviewer name in change logs
5119 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
5121 2008-05-01 David Kilzer <ddkilzer@apple.com>
5123 Clean up configuration usage in run-webkit-tests
5127 * Scripts/run-webkit-tests: Parse configuration switches using
5128 passedConfiguration() from webkitdirs.pm like every other script.
5129 Note that we must still call setConfiguration() afterwards in
5130 case the --configuration switch was used. Use $configurationOption
5131 when running build-dumprendertree instead of recreating the switch.
5133 2008-04-29 Adam Roben <aroben@apple.com>
5135 Restore the beloved COMPtr::operator&
5137 2008-04-29 Adam Roben <aroben@apple.com>
5141 Replace COMPtr::operator& with COMPtr::adoptionPointer.
5143 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
5145 Reviewed by Darin Adler.
5147 Fix run-webkit-tests --threading
5148 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
5149 Proxy server issue in Sunday's Nightly
5151 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
5152 (runJavaScriptThread):
5153 (startJavaScriptThreads):
5154 (stopJavaScriptThreads):
5155 Spawned threads were immediately detached, unlike the original ones, so joining them
5156 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
5157 waits for them all to exit.
5159 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
5163 Reset dumping resource load callbacks to false for the next test
5166 * DumpRenderTree/qt/jsobjects.cpp:
5167 (LayoutTestController::reset):
5169 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
5173 Adapt to the latest API changes in WebKit/qt/Api.
5175 * DumpRenderTree/qt/DumpRenderTree.cpp:
5176 (WebCore::DumpRenderTree::DumpRenderTree):
5177 * DumpRenderTree/qt/jsobjects.cpp:
5179 2008-04-26 Robin Dunn <robin@alldunn.com>
5181 Reviewed by Kevin Ollivier.
5183 Delete the DerivedSources after make clean has been done so that the DerivedSources
5184 don't get re-created. Also, use the proper extension for the Win wxPython extension.
5186 https://bugs.webkit.org/show_bug.cgi?id=18756
5188 * wx/build-wxwebkit:
5190 2008-04-26 Adam Barth <hk9565@gmail.com>
5192 Reviewed by Adam Roben and Sam Weinig.
5194 Updates LayoutTestController to use host instead of domain.
5196 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
5198 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5199 (LayoutTestController::setDatabaseQuota):
5200 * DumpRenderTree/mac/UIDelegate.mm:
5201 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
5203 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
5205 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
5207 * wx/install-unix-extras:
5209 2008-04-26 Robin Dunn <robin@alldunn.com>
5211 Reviewed by Kevin Ollivier.
5213 Allow the user to set the path to SWIG using an environment variable.
5215 https://bugs.webkit.org/show_bug.cgi?id=18660
5217 * wx/build-wxwebkit:
5219 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
5221 wx build fix. Download the latest libpng version for building the
5224 * wx/install-unix-extras:
5226 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
5230 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
5232 Similar to Editing and Frameloading we do the dumping within WebCore
5235 * DumpRenderTree/qt/jsobjects.cpp:
5236 (LayoutTestController::dumpResourceLoadCallbacks):
5237 * DumpRenderTree/qt/jsobjects.h:
5239 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
5241 Reviewed by Maciej Stachowiak.
5243 http://bugs.webkit.org/show_bug.cgi?id=18485
5244 Typo and documentation fix for build-webkit
5246 * Scripts/build-webkit:
5248 2008-04-24 Anders Carlsson <andersca@apple.com>
5252 Don't call fprintf from the signal handler.
5254 * DumpRenderTree/mac/DumpRenderTree.mm:
5257 2008-04-23 Adam Roben <aroben@apple.com>
5259 Make crashes be reported as crashes, not hangs
5261 Reviewed by David Kilzer.
5263 * Scripts/run-webkit-tests:
5264 (top level): Use the new status field of the output from
5265 readFromDumpToolWithTimer to determine if the test crashed or hung.
5266 (sub readFromDumpToolWithTimer):
5267 - If we fail to read a line and $! is not EAGAIN, then we've crashed
5268 and should not try to read any more.
5269 - Changed the timedout field to a more general status field.
5271 2008-04-22 David Kilzer <ddkilzer@apple.com>
5273 Bug 18683: update-webkit returns 0 even if it fails
5275 <https://bugs.webkit.org/show_bug.cgi?id=18683>
5277 Reviewed by Mitz Pettel.
5279 * Scripts/update-webkit:
5280 (runSvnUpdate): Die if close() fails.
5282 2008-04-21 Adam Roben <aroben@apple.com>
5284 Flush stdout/stderr after printing every #EOF separator
5286 This fixes a hang when running the pixel tests on Windows
5288 Reviewed by Mitz Pettel.
5290 * DumpRenderTree/win/DumpRenderTree.cpp:
5292 (main): We don't have to flush stdout/stderr in the arguments loop
5293 anymore, as runTest flushes for us.
5295 2008-04-21 Adam Roben <aroben@apple.com>
5299 * Scripts/run-webkit-tests:
5300 (sub readFromDumpToolWithTimer): Use readline instead of read to
5301 ensure that we don't read past the #EOF marker.
5303 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5307 Build fix for Qt 4.3
5309 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
5310 always defined. Do this by adding defines to the compiler line
5312 * DumpRenderTree/qt/DumpRenderTree.pro:
5314 2008-04-19 Mike Hommey <glandium@debian.org>
5316 Reviewed by Alp Toker.
5318 Don't build GtkLauncher and DumpRenderTree with rpath.
5322 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
5324 Reviewed by Alp Toker.
5326 http://bugs.webkit.org/show_bug.cgi?id=16620
5327 [GTK] Autotools make dist and make check support
5333 2008-04-18 Adam Roben <aroben@apple.com>
5335 Drop the hang timer to 30 seconds
5337 This matches what DRT/mac was using.
5339 Reviewed by Mitz Pettel.
5341 * Scripts/run-webkit-tests:
5343 2008-04-18 Adam Roben <aroben@apple.com>
5345 Get rid of DRT's Watchdog
5347 run-webkit-tests now detects hangs and samples DRT as needed.
5349 Reviewed by Mitz Pettel.
5351 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
5352 Watchdog* files from the project.
5353 * DumpRenderTree/Watchdog.cpp: Removed.
5354 * DumpRenderTree/Watchdog.h: Removed.
5355 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
5358 * DumpRenderTree/mac/WatchdogMac.h: Removed.
5359 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
5360 * Scripts/run-webkit-tests:
5361 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
5362 (sub sampleDumpTool): Added. Writes a sample report to
5363 ~/Library/Logs/DumpRenderTree/HangReport.txt.
5365 2008-04-18 Simon Hausmann <hausmann@webkit.org>
5369 Adapt to the API changes in WebKit/qt
5371 * DumpRenderTree/qt/DumpRenderTree.cpp:
5372 (WebCore::WebPage::WebPage):
5373 (WebCore::DumpRenderTree::DumpRenderTree):
5374 (WebCore::DumpRenderTree::initJSObjects):
5375 (WebCore::DumpRenderTree::dumpFramesAsText):
5376 (WebCore::DumpRenderTree::dump):
5378 2008-04-17 Adam Roben <aroben@apple.com>
5380 Fix many tests on Windows
5382 * Scripts/run-webkit-tests:
5383 (readFromDumpToolWithTimer):
5384 - Use read instead of sysread to ensure that we don't interfere with
5385 other uses of buffered IO in this script.
5386 (setFileHandleNonBlocking): Actually set the filehandle to blocking
5389 2008-04-17 Adam Roben <aroben@apple.com>
5393 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
5394 whatever newline happens to be at the end of what we've read.
5396 2008-04-17 Adam Roben <aroben@apple.com>
5398 Remove DRT/win's hang timer
5400 run-webkit-tests takes care of this for us now
5402 Reviewed by Anders Carlsson.
5404 * DumpRenderTree/win/DumpRenderTree.cpp:
5406 2008-04-17 Adam Roben <aroben@apple.com>
5408 Don't wait for the hang timer twice in the case of a hang
5410 Previously we'd wait for a hang while reading both stdout and stderr
5411 from DRT. Now we'll only wait for one or the other.
5413 Reviewed by Anders Carlsson.
5415 * Scripts/run-webkit-tests:
5416 (top level): Don't wait for stderr to time out if stdout already timed
5418 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
5419 after the first read that returns no data.
5421 2008-04-17 Adam Roben <aroben@apple.com>
5423 Don't throw away the output from timed out tests
5425 Reviewed by Anders Carlsson.
5427 * Scripts/run-webkit-tests:
5428 (top level): Updated for changes to readFromDumpToolWithTimer.
5429 (readFromDumpToolWithTimer): Return a hash that contains both the
5430 output and whether or not the test timed out.
5432 2008-04-17 Adam Roben <aroben@apple.com>
5434 Make the hang timer 60 seconds
5436 * Scripts/run-webkit-tests:
5438 2008-04-17 Adam Roben <aroben@apple.com>
5440 Get rid of carriage returns in DRT/win's stderr
5442 Reviewed by Eric Seidel.
5444 * DumpRenderTree/win/DumpRenderTree.cpp:
5445 (main): Mark stderr as binary like we already do for stdout.
5447 2008-04-17 Adam Roben <aroben@apple.com>
5449 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
5452 <https://bugs.webkit.org/show_bug.cgi?id=17678>
5454 We now abort tests that take longer than 60 seconds to produce output.
5455 This matches the watchdog timer in DRT/mac and DRT/win (which we can
5458 Reviewed by Eric Seidel.
5460 * Scripts/run-webkit-tests:
5461 (top level): Read DRT's output using the new readFromDumpToolWithTimer
5462 subroutine. If readFromDumpToolWithTimer returns undefined it means
5463 the test timed out, so we register the test as a hang and move on.
5464 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
5465 both crashed and timed out tests. If the test timed out, we kill DRT
5467 (sub linksForTimedOutTest): Added. We don't have any output to link to for
5468 tests that timed out.
5469 (sub recordActualResultsAndDiff): Don't call length on undefined.
5470 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
5471 from a filehandle until an #EOF is reached or
5472 $maximumSecondsWithoutOutput have elapsed.
5473 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
5476 2008-04-17 Adam Roben <aroben@apple.com>
5478 Refactor test results page generation
5480 Reviewed by Eric Seidel.
5482 * Scripts/run-webkit-tests:
5483 (sub htmlForResultsSection): Added. Takes a set of tests, a
5484 description, and a subroutine to generate the links for each test, and
5485 creates a HTML string containing a table of the tests and their
5487 (sub linksForExpectedAndActualResults): Added. Replaces the
5488 htmlForExpectedAndActualResults subroutine.
5489 (sub linksForMismatchTest): Added.
5490 (sub linksForCrashOrErrorTest): Added.
5491 (sub linksForNewTest): Added.
5493 2008-04-17 Adam Roben <aroben@apple.com>
5495 Print the extension for all tests in the test results page
5497 Reviewed by Eric Seidel.
5499 * Scripts/run-webkit-tests:
5501 2008-04-17 Adam Roben <aroben@apple.com>
5503 Move code that counts finished tests into a subroutine
5505 Reviewed by Eric Seidel.
5507 * Scripts/run-webkit-tests:
5508 (sub countFinishedTest): Added.
5510 2008-04-17 Adam Roben <aroben@apple.com>
5512 Move code that handles a crash into a subroutine
5514 Reviewed by Eric Seidel.
5516 * Scripts/run-webkit-tests:
5517 (sub testCrashed): Added.
5519 2008-04-17 Eric Seidel <eric@webkit.org>
5523 Rename RenderView to RenderViewport in the next rename patch.
5525 * Scripts/do-webcore-rename:
5527 2008-04-17 Mario Bensi <mbensi@pleyo.com>
5529 Reviewed by Alp Toker.
5531 http://bugs.webkit.org/show_bug.cgi?id=18543
5532 DumpRenderTree gtk freeze
5534 fix DumpRenderTree gtk freeze
5536 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5539 2008-04-15 Anders Carlsson <andersca@apple.com>
5543 * Scripts/build-webkit:
5545 2008-04-15 Anders Carlsson <andersca@apple.com>
5549 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
5551 * Scripts/build-webkit:
5553 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
5557 Fix compilation with Qt namespaces
5559 Qt can be configured to have all of its classes inside a specified namespaces.
5560 This is for example used in plugin/component environments like Eclipse.
5562 This change makes it possible to let the Qt port compile against a namespaced
5563 Qt by the use of macros Qt provides to properly forward declare Qt classes in
5566 * DumpRenderTree/qt/DumpRenderTree.h:
5568 2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
5570 Reviewed by Darin Adler.
5572 Add a script that propagates any file changes made to the Bakefiles
5573 over to GTK and Qt build systems. Still needs to be wired into
5576 * Scripts/update-sources-list.py: Added.
5578 2008-04-08 Mark Rowe <mrowe@apple.com>
5580 Clean up after Brady.
5582 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
5584 2008-04-08 Brady Eidson <beidson@apple.com>
5586 Reviewed by Mitzpettel
5588 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
5589 -WebArchive subresources dump in random order, intermittent failures
5591 * DumpRenderTree/mac/DumpRenderTree.mm:
5592 (compareResourceURLs): Sorting function based on the resource URLs
5593 (serializeWebArchiveToXML): Sort the subresource array
5595 2008-04-07 Brady Eidson <beidson@apple.com>
5597 OMG, BUILD - please!
5599 * Scripts/build-webkit:
5601 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5605 * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
5606 * Running these tests on windows and other platforms might need some work.
5608 * Scripts/run-webkit-tests:
5610 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5614 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
5615 is not exporting enough to create the output in DRT itself. Settle with the approach
5616 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
5617 * run-webkit-tests http/tests(/loading) can now be executed.
5618 * For tests in loading/ directories we are going to throw away the dirty
5619 QWebPage to start with something clean.
5622 * DumpRenderTree/qt/DumpRenderTree.cpp:
5624 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5628 * Treat http and https as special URLs as well. Change the main.cpp and
5629 DumpRenderTree.cpp to handle http and https URIs as input.
5630 * I'm not doing the clean up and merging of these two checks now.
5633 * DumpRenderTree/qt/DumpRenderTree.cpp:
5634 (WebCore::DumpRenderTree::readStdin):
5635 * DumpRenderTree/qt/main.cpp:
5638 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5642 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
5643 located in a directory with the name "loading". And this will autoamtically
5645 * Remove this method from the LayoutTestController as it is unused now and this
5646 avoids adding it to the DRT of the Qt port.
5649 * DumpRenderTree/LayoutTestController.cpp:
5650 (setPrivateBrowsingEnabledCallback):
5652 2008-04-01 Christian Dywan <christian@imendio.com>
5654 Build fix for GCC 4.3.
5656 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
5658 2008-04-01 Simon Hausmann <hausmann@webkit.org>
5662 Fix Qt DRT run by also printing EOF on stderr, as expected by
5665 * DumpRenderTree/qt/DumpRenderTree.cpp:
5666 (WebCore::DumpRenderTree::dump):
5668 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
5670 Reviewed by Darin Adler.
5672 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
5674 Remove trailing '/' in $sourceDir in determineSourceDir().
5676 Fix suggested by Dmitriy Kazachkov.
5678 * Scripts/webkitdirs.pm:
5680 2008-03-29 Adam Roben <aroben@apple.com>
5682 Update for rename of an IWebViewPrivate method
5684 Reviewed by Mitz Pettel.
5686 * DumpRenderTree/win/DumpRenderTree.cpp:
5687 (createWebViewAndOffscreenWindow):
5689 2008-03-26 Antti Koivisto <antti@apple.com>
5693 Enable SVG animation support by default.
5695 * Scripts/build-webkit:
5697 2008-03-25 Adam Roben <aroben@apple.com>
5701 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
5702 Add $(WebKitLibrariesDir)\include to the include path so we can find
5705 2008-03-24 Eric Seidel <eric@webkit.org>
5709 Clean up SVG features message to be less confusing.
5711 * Scripts/build-webkit:
5713 2008-03-24 Sam Weinig <sam@webkit.org>
5715 Reviewed by Dave Hyatt.
5717 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
5719 * DumpRenderTree/mac/DumpRenderTree.mm:
5720 (resetWebViewToConsistentStateBeforeTesting):
5721 * DumpRenderTree/mac/EventSendingController.mm:
5722 (+[EventSendingController isSelectorExcludedFromWebScript:]):
5723 (-[EventSendingController zoomPageIn]):
5724 (-[EventSendingController zoomPageOut]):
5725 * DumpRenderTree/win/DumpRenderTree.cpp:
5726 (resetWebViewToConsistentStateBeforeTesting):
5727 * DumpRenderTree/win/EventSender.cpp:
5728 (textZoomInCallback):
5729 (textZoomOutCallback):
5730 (zoomPageInCallback):
5731 (zoomPageOutCallback):
5733 2008-03-24 Dan Bernstein <mitz@apple.com>
5735 Reviewed by Mark Rowe.
5737 - update bisect-builds for Safari 3.1
5739 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
5742 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
5746 http://bugs.webkit.org/show_bug.cgi?id=17981
5748 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
5752 2008-03-21 Adam Roben <aroben@apple.com>
5754 Remove a non-working mirror from cygwin-downloader and add the ruby package
5756 * CygwinDownloader/cygwin-downloader.py:
5757 * CygwinDownloader/cygwin-downloader.zip: Updated.
5759 2008-03-20 Mark Rowe <mrowe@apple.com>
5761 Reviewed by Sam Weinig.
5763 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
5764 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
5767 * Scripts/build-webkit:
5769 2008-03-17 Eric Seidel <eric@webkit.org>
5771 Reviewed by Dan Bernstein.
5773 Fix bogus argCount check breaking plugin test.
5775 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5777 2008-03-17 Eric Seidel <eric@webkit.org>
5781 Cleanup PluginObject.cpp and add support for testing
5782 converting from int -> identifier -> string
5783 and from string -> identifier -> int
5784 as well as round-tripping ints and stings through identifiers
5786 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5787 (pluginGetProperty):
5788 (pluginSetProperty):
5790 (stringVariantToIdentifier):
5791 (int32VariantToIdentifier):
5792 (doubleVariantToIdentifier):
5793 (variantToIdentifier):
5794 (testIdentifierToString):
5795 (testIdentifierToInt):
5798 (removeDefaultMethod):
5800 (testInvokeDefault):
5803 (testGetIntIdentifier):
5806 (testGetPropertyReturnValue):
5808 (pluginInvokeDefault):
5814 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
5816 Rubber stamped by Darin Adler.
5818 Add set-webkit-configuration support for wx port, and centralize
5819 build dir location setting.
5821 http://bugs.webkit.org/show_bug.cgi?id=17790
5823 * wx/browser/browser.bkl:
5824 * wx/build-wxwebkit:
5826 2008-03-15 Darin Adler <darin@apple.com>
5828 * Scripts/commit-log-editor: Include the name line of the change log entry.
5829 A long time ago I designed this script to not include the name because I
5830 thought it was redundant (same as the name of the person checking in), but
5831 nowadays it's more common for someone to check something in done by someone
5834 * Scripts/do-webcore-rename: Added some more planned renames and removed
5835 some that were already done "by hand".
5837 2008-03-13 Brent Fulgham <bfulgham@gmail.com>
5839 Reviewed by Darin Adler.
5841 Correct paths to vsprops files so they use the environment
5842 variable, rather than hard-coded path.
5843 http://bugs.webkit.org/show_bug.cgi?id=17797.
5845 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
5847 2008-03-12 Steve Falkenburg <sfalken@apple.com>
5851 * WinLauncher/WinLauncher.vcproj:
5853 2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
5855 Reviewed by Alp Toker.
5857 Run testkjs in the correct productsDir in the GTK+ port.
5859 * Scripts/run-javascriptcore-tests:
5861 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
5863 Reviewed by Adam Roben.
5865 Enabled WinLauncher as part of normal Windows build.
5866 http://bugs.webkit.org/show_bug.cgi?id=17715.
5868 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
5869 it can find the proper libraries to link against.
5871 2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
5873 Reviewed and landed by Darin Adler.
5875 http://bugs.webkit.org/show_bug.cgi?id=17581
5876 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
5878 Remove the previous warning which occurs when the --random option is used.
5880 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
5883 2008-03-07 Simon Hausmann <hausmann@webkit.org>
5885 Reviewed by Darin Adler.
5889 Ported the netscape test plugin to QWebPluginFactory.
5891 * DumpRenderTree/qt/DumpRenderTree.cpp:
5892 (WebCore::WebPage::WebPage):
5893 * DumpRenderTree/qt/main.cpp:
5894 * DumpRenderTree/qt/testplugin.cpp:
5895 (TestPlugin::plugins):
5896 (TestPlugin::create):
5897 * DumpRenderTree/qt/testplugin.h:
5899 2008-03-09 Steve Falkenburg <sfalken@apple.com>
5901 Stop Windows build if an error occurs in a prior project.
5903 Rubber stamped by Darin Adler.
5905 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5906 * DumpRenderTree/win/DumpRenderTree.vcproj:
5907 * DumpRenderTree/win/ImageDiff.vcproj:
5908 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
5910 2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
5912 Reviewed by Mark Rowe.
5914 DRT build fix for Tiger.
5916 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
5918 2008-03-07 Mark Rowe <mrowe@apple.com>
5920 Reviewed by Oliver Hunt.
5922 Fix WebKit build with GCC 4.2.
5924 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
5926 2008-03-07 Stephanie Lewis <slewis@apple.com>
5930 Add Windows part of <rdar://problem/5693690>
5932 * DumpRenderTree/win/DumpRenderTree.cpp:
5936 2008-03-07 Alp Toker <alp@atoker.com>
5938 Back out the r30818, r30819 build fix attempts now the GTK+ build
5939 server has been upgraded.
5941 * Scripts/webkitdirs.pm:
5943 2008-03-07 Stephanie Lewis <slewis@apple.com>
5947 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
5949 * DumpRenderTree/mac/DumpRenderTree.mm:
5950 (dump): push EOF to stderr after every test
5951 * Scripts/run-webkit-tests: collect stderr output and print it
5953 2008-03-07 Steve Falkenburg <sfalken@apple.com>
5955 Get pdevenv working with Visual Studio Express.
5961 2008-03-06 Adele Peterson <adele@apple.com>
5963 Reviewed by Darin Adler.
5965 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
5967 * DumpRenderTree/mac/UIDelegate.mm:
5968 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
5969 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
5970 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
5972 2008-03-06 Matt Lilek <webkit@mattlilek.com>
5974 Reviewed by Adam Roben.
5976 Bug 17691: REGRESSION: FindSafari doesn't work
5977 http://bugs.webkit.org/show_bug.cgi?id=17691
5979 Swap my change from r30394 to use the Release libraries instead of Debug
5980 since some machines don't have the Debug version.
5982 * FindSafari/FindSafari.vcproj:
5984 2008-03-06 Kevin McCullough <kmccullough@apple.com>
5986 Reviewed by Sam and Tim.
5988 <rdar://5631450> Drosera: breakpoint indicators disappear after the
5989 script is finished running.
5990 - If there is a pre-existing breakpoint on a line when the file is
5991 updated we need to redraw it.
5993 * Drosera/debugger.js:
5995 2008-03-06 Brady Eidson <beidson@apple.com>
5999 * DumpRenderTree/mac/WatchdogMac.mm:
6001 2008-03-06 Brady Eidson <beidson@apple.com>
6005 Added a cross-platform Watchdog thread to DRT.
6007 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
6008 main thread hangs still affect DRT.
6010 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
6011 and true deadlocks can be caught.
6013 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
6014 `sample` available, the Mac implementation of this hook samples the process before it is killed.
6016 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
6018 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6019 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
6021 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
6022 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
6024 * DumpRenderTree/Watchdog.cpp: Added.
6025 (Watchdog::Watchdog):
6026 (Watchdog::~Watchdog):
6029 (Watchdog::checkIn):
6030 (Watchdog::setWatchdogInterval):
6031 (Watchdog::handleHang):
6032 (Watchdog::watchdogThreadStart):
6033 (Watchdog::watchdogThread):
6034 * DumpRenderTree/Watchdog.h: Added.
6036 * DumpRenderTree/mac/WatchdogMac.h: Added.
6037 * DumpRenderTree/mac/WatchdogMac.mm: Added.
6038 (WatchdogMac::handleHang): Sample the process and write it out to a file
6040 * DumpRenderTree/mac/DumpRenderTree.mm:
6041 (dumpRenderTree): Setup and start the watchdog before running any tests
6042 (runTest): Checkin with the watchdog after each test
6044 2008-03-05 Alp Toker <alp@atoker.com>
6046 Attempt to get the autotools build working again on the bot with
6049 Force the use of /bin/bash since we seem to have bash-isms in the
6050 configure script right now.
6052 * Scripts/webkitdirs.pm:
6054 2008-03-05 Alp Toker <alp@atoker.com>
6056 Re-attempt to switch to the autotools build system for GTK+.
6058 Change scripts to continue when distclean fails.
6060 * Scripts/webkitdirs.pm:
6062 2008-03-05 Alp Toker <alp@atoker.com>
6064 Force qmake for the GTK+ build until we get the build bot to succeed
6065 with autotools (currently dies at make distclean)
6067 * Scripts/webkitdirs.pm:
6069 2008-03-04 Alp Toker <alp@atoker.com>
6071 Reviewed by Mark Rowe.
6073 Switch the default GTK+ build system from qmake to autotools.
6075 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
6077 * Scripts/build-webkit:
6078 * Scripts/run-launcher:
6079 * Scripts/run-webkit-tests:
6080 * Scripts/webkitdirs.pm:
6082 2008-03-04 Sam Weinig <sam@webkit.org>
6084 Reviewed by Darin Adler.
6086 * Scripts/do-webcore-rename: Update renaming plan.
6088 2008-03-02 Brent Fulgham <bfulgham@gmail.com>
6090 Reviewed by Alp Toker.
6092 Remove some needless LIBS.
6096 2008-03-02 Alp Toker <alp@atoker.com>
6098 Reviewed by Mark Rowe.
6100 Split the WebKit GTK+ build out of the WebCore build and change the
6101 shared object name to match the package name.
6105 2008-03-01 Mark Rowe <mrowe@apple.com>
6107 Reviewed by Tim Hatcher.
6109 Update Xcode configuration to support building debug and release from the mysterious future.
6111 * DumpRenderTree/mac/Configurations/Base.xcconfig:
6113 2008-02-29 David Kilzer <ddkilzer@apple.com>
6115 Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
6119 Originally broken in r26838.
6121 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
6122 not local, unused @args variable.
6124 2008-02-29 David Kilzer <ddkilzer@apple.com>
6126 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
6128 <http://bugs.webkit.org/show_bug.cgi?id=15754>
6130 Reviewed by Geoff and Darin.
6132 We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
6133 then removing that path from all file:/// URLs in the WebArchive output so these tests
6134 would pass no matter where they were run.
6136 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
6137 current working directory, but the WebArchive does not. This left the current working
6138 directory in all file:/// URLs in the test output, and thus all tests failed, for any
6139 developer that used symlinks to get to their WebKit source directory.
6141 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
6142 remove the current working directory path (no matter what it is) after "file://" but
6143 before "/LayoutTests/".
6145 * DumpRenderTree/mac/DumpRenderTree.mm:
6146 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
6147 current working directory as described above.
6148 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
6149 calls to normalizeWebResourceURL().
6150 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
6151 normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
6153 2008-02-26 Robin Dunn <robin@alldunn.com>
6155 Reviewed by Kevin Ollivier.
6157 Improvements to the wx build script.
6159 http://bugs.webkit.org/show_bug.cgi?id=17492
6161 * wx/build-wxwebkit:
6162 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
6163 - Allow the build script to properly find wxPython includes under different setups
6164 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
6166 2008-02-26 Timothy Hatcher <timothy@apple.com>
6168 Reviewed by Darin Adler.
6170 * Scripts/build-webkit: Add --universal and --64-bit flags to make building
6171 64-bit architectures easy. Combine the two flags to build 4-way universal.
6172 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
6173 non-zero when the build failes.
6175 2008-02-26 Jessica Kahn <jess@apple.com>
6177 Reviewed by Darin Adler.
6179 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
6180 so that Safari inherits it when launched. Preexisting code in WebKit checks this
6181 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
6182 launched by Safari continue to use the standard system WebKit.
6184 2008-02-25 Adam Roben <aroben@apple.com>
6186 Fix run-webkit-tests after r30394
6188 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
6191 2008-02-24 Darin Adler <darin@apple.com>
6193 * Scripts/do-webcore-rename: Make some updates based on a trial run of
6194 the renaming script.
6196 2008-02-24 Darin Adler <darin@apple.com>
6198 * Scripts/do-webcore-rename: More renaming plans.
6200 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
6202 Rubber stamped by Darin Adler.
6204 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
6205 whitespaces introduced in the previous commit.
6209 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
6211 Rubber-stamped by Darin Adler.
6213 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
6215 2008-02-23 David Kilzer <ddkilzer@apple.com>
6217 Please clarify licensing for some files
6218 <http://bugs.webkit.org/show_bug.cgi?id=14970>
6220 Reviewed by Darin Adler.
6222 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
6223 copyright statement. Replaced license with newer Apple BSD-style license.
6224 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
6225 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
6226 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
6227 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
6228 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
6229 * mangleme/LICENSE: Added (LGPL).
6231 2008-02-22 Anders Carlsson <andersca@apple.com>
6235 <rdar://problem/5748781>
6236 https://bugs.webkit.org/show_bug.cgi?id=17413
6237 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
6239 Copy the Java plug-in over to the new location.
6241 * FindSafari/FindSafari.cpp:
6244 2008-02-22 Anders Carlsson <andersca@apple.com>
6248 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
6250 * DumpRenderTree/win/DumpRenderTree.cpp:
6252 Init the URL request with the correct timeout.
6254 2008-02-21 Mike Auty <mike.auty@gmail.com>
6256 Reviewed by Alp Toker.
6258 http://bugs.webkit.org/show_bug.cgi?id=17445
6259 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
6261 GTK+/autotools build system improvements
6263 The GNUmakefile.am files make use of the LDFLAGS variable to include library
6264 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
6265 in LIBADD/LDADD variables, then they are mis-ordered during the linking.
6267 The as-needed flag discards libraries whose functions have not been needed by
6268 earlier libraries, which therefore makes the ordering important.
6270 This moves all -l library inclusion statements from LDFLAGS variables to
6271 LIBADD/LDADD variables.
6275 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
6279 - http://bugs.webkit.org/show_bug.cgi?id=17428
6280 Reenable a Windows-based launcher
6282 This patch reenables the venerable Spinneret application,
6283 changing its name to match the other lanch applications.
6285 * WinLauncher: Added.
6286 * WinLauncher/WinLauncher.cpp: Added.
6287 (WinLauncherWebHost::updateAddressBar):
6288 (WinLauncherWebHost::QueryInterface):
6289 (WinLauncherWebHost::AddRef):
6290 (WinLauncherWebHost::Release):
6299 * WinLauncher/WinLauncher.h: Added.
6300 (WinLauncherWebHost::WinLauncherWebHost):
6301 (WinLauncherWebHost::didStartProvisionalLoadForFrame):
6302 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
6303 (WinLauncherWebHost::didFailProvisionalLoadWithError):
6304 (WinLauncherWebHost::didCommitLoadForFrame):
6305 (WinLauncherWebHost::didReceiveTitle):
6306 (WinLauncherWebHost::didReceiveIcon):
6307 (WinLauncherWebHost::didFinishLoadForFrame):
6308 (WinLauncherWebHost::didFailLoadWithError):
6309 (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
6310 (WinLauncherWebHost::willPerformClientRedirectToURL):
6311 (WinLauncherWebHost::didCancelClientRedirectForFrame):
6312 (WinLauncherWebHost::willCloseFrame):
6313 (WinLauncherWebHost::windowScriptObjectAvailable):
6314 * WinLauncher/WinLauncher.ico: Added.
6315 * WinLauncher/WinLauncher.rc: Added.
6316 * WinLauncher/WinLauncher.vcproj: Added.
6317 * WinLauncher/resource.h: Added.
6318 * WinLauncher/small.ico: Added.
6319 * WinLauncher/stdafx.cpp: Added.
6320 * WinLauncher/stdafx.h: Added.
6322 2008-02-19 Brady Eidson <beidson@apple.com>
6326 Fixed a bug in DRT --threaded mode
6328 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
6329 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
6330 to pthread_join() each thread that had been created, but you can't join a detached thread!
6332 2008-02-18 Brady Eidson <beidson@apple.com>
6334 Changes by Geoff Garen, Reviewed by Darin
6336 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
6338 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
6340 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
6341 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
6342 this series of method calls will deadlock. If things are good, it will complete successfully.
6344 * DumpRenderTree/mac/ObjCController.m:
6345 (runJavaScriptThread):
6346 (+[ObjCController isSelectorExcludedFromWebScript:]):
6347 (+[ObjCController webScriptNameForSelector:]):
6348 (-[ObjCController testValueForKey]):
6350 2008-02-18 Matt Lilek <webkit@mattlilek.com>
6354 Remove FindSafari's Release configuration.
6356 * FindSafari/FindSafari.vcproj:
6358 2008-02-15 Adam Roben <aroben@apple.com>
6360 Fix a typo that broke the Mac build
6364 * Scripts/build-webkit:
6366 2008-02-14 Adam Roben <aroben@apple.com>
6368 Turn on cross-document messaging support by default
6370 Reviewed by Darin Adler.
6372 * Scripts/build-webkit:
6374 2008-02-14 Adam Roben <aroben@apple.com>
6376 Conditionalize cross-document messaging support
6378 The cross-document messaging parts of HTML 5 are in flux and we want
6379 ports to be able to turn off the support as needed.
6381 Note that the support is turned off by default right now. A subsequent
6382 commit will turn it on by default.
6384 Reviewed by Darin Adler.
6386 * Scripts/build-webkit:
6388 2008-02-14 Darin Adler <darin@apple.com>
6392 * DumpRenderTree/win/UIDelegate.cpp:
6393 (UIDelegate::setStatusText): Update parameter types to match declaration.
6395 2008-02-14 Oliver Hunt <oliver@apple.com>
6397 Reviewed by Geoff G and Weinig.
6399 Add ability for DRT to report tests setting the status text.
6401 * DumpRenderTree/LayoutTestController.cpp:
6402 (LayoutTestController::LayoutTestController):
6403 (dumpStatusCallbacksCallback):
6404 (LayoutTestController::staticFunctions):
6405 * DumpRenderTree/LayoutTestController.h:
6406 * DumpRenderTree/mac/UIDelegate.mm:
6407 (-[UIDelegate webView:setStatusText:]):
6408 * DumpRenderTree/win/UIDelegate.cpp:
6409 * DumpRenderTree/win/UIDelegate.h:
6411 2008-02-13 Adam Roben <aroben@apple.com>
6415 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
6417 2008-02-13 Adam Roben <aroben@apple.com>
6419 Windows/GTK+ build fix
6421 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
6424 2008-02-13 Brady Eidson <beidson@apple.com>
6426 Reviewed by Darin Adler
6428 Add some much needed Database support to DRT
6430 * DumpRenderTree/LayoutTestController.cpp:
6431 (LayoutTestController::LayoutTestController):
6432 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
6433 databases are called
6434 (clearAllDatabasesCallback): Allow a test to delete all databases
6435 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
6436 (LayoutTestController::staticFunctions):
6438 * DumpRenderTree/LayoutTestController.h:
6439 (LayoutTestController::dumpDatabaseCallbacks):
6440 (LayoutTestController::setDumpDatabaseCallbacks):
6442 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6443 (LayoutTestController::clearAllDatabases):
6444 (LayoutTestController::setDatabaseQuota):
6446 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6447 (LayoutTestController::clearAllDatabases): Stubbed out
6448 (LayoutTestController::setDatabaseQuota): Ditto
6449 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6450 (LayoutTestController::clearAllDatabases): Stubbed out with error message
6451 (LayoutTestController::setDatabaseQuota): Ditto
6453 * DumpRenderTree/mac/UIDelegate.mm:
6454 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
6455 message with details about the event then return a 5mb quota like before
6458 2008-02-12 Steve Falkenburg <sfalken@apple.com>
6460 Changes to support merged MIDL output.
6462 All COM interfaces are now generated to WebKit.h.
6464 Reviewed by Sam, Ada.
6466 * Drosera/win/BaseDelegate.h:
6467 * Drosera/win/DebuggerClient.cpp:
6468 * Drosera/win/DebuggerDocumentPlatform.cpp:
6469 * Drosera/win/Drosera.cpp:
6470 * Drosera/win/ServerConnection.cpp:
6471 * Drosera/win/ServerConnection.h:
6472 * DumpRenderTree/win/DumpRenderTree.cpp:
6473 * DumpRenderTree/win/EditingDelegate.h:
6474 * DumpRenderTree/win/EventSender.cpp:
6475 * DumpRenderTree/win/FrameLoadDelegate.cpp:
6476 * DumpRenderTree/win/FrameLoadDelegate.h:
6477 * DumpRenderTree/win/GCControllerWin.cpp:
6478 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6479 * DumpRenderTree/win/PolicyDelegate.h:
6480 * DumpRenderTree/win/ResourceLoadDelegate.h:
6481 * DumpRenderTree/win/UIDelegate.cpp:
6482 * DumpRenderTree/win/UIDelegate.h:
6483 * DumpRenderTree/win/WorkQueueItemWin.cpp:
6485 2008-02-10 Dan Bernstein <mitz@apple.com>
6487 Reviewed by Oliver Hunt.
6491 * DumpRenderTree/cg/ImageDiffCG.cpp:
6492 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
6493 and leaking the buffer each time.
6495 2008-02-07 Adam Roben <aroben@apple.com>
6497 Fix error in bisect-builds when responding "broken" for the first
6500 Reviewed by Dave Kilzer.
6502 * Scripts/bisect-builds: Only try to test the build if the nightly
6503 info for the current index has not been deleted.
6505 2008-02-07 Geoffrey Garen <ggaren@apple.com>
6507 Reviewed by Alexey Proskuryakov.
6509 Fixed two minor typos in the --root option, to get it working.
6511 * Scripts/run-sunspider:
6512 1. Actually assign the function argument to our local variable.
6513 2. Actually set the $root variable, so we don't try to build later.
6515 2008-02-05 Oliver Hunt <oliver@apple.com>
6519 Re-enable foreignObject by default as it is needed for a number of non-fO
6520 related SVG tests and none of the old known crashes occur anymore.
6522 * Scripts/build-webkit:
6524 2008-02-05 Steve Falkenburg <sfalken@apple.com>
6526 Build fix. Don't override intermediate directory.
6528 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
6530 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
6532 Build fix for Windows. willCloseFrame is a pure virtual and we are
6533 forced to have an implementation.
6535 This partially reverts r30014.
6537 * DumpRenderTree/win/FrameLoadDelegate.cpp:
6538 (FrameLoadDelegate::willCloseFrame):
6539 * DumpRenderTree/win/FrameLoadDelegate.h:
6541 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
6545 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
6547 * Scripts/make-js-test-wrappers:
6549 2008-02-05 Holger Freyther <zecke@selfish.org>
6551 Reviewed by Darin Adler.
6553 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
6554 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
6555 depends on the order the tests are executed.
6557 Propose to remove willCloseFrame and didlCearWindowObject output from the
6558 FrameLoadDelegate and update the test results. The output of didClearWindowObject
6559 is not interesting for any of the current tests and we have other ways to find
6560 out if a frame was closed or not.
6562 * DumpRenderTree/mac/FrameLoadDelegate.mm:
6563 * DumpRenderTree/win/FrameLoadDelegate.cpp:
6564 (FrameLoadDelegate::didClearWindowObject):
6565 * DumpRenderTree/win/FrameLoadDelegate.h:
6567 2008-02-04 Mark Rowe <mrowe@apple.com>
6569 Reviewed by Oliver Hunt.
6571 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
6572 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
6574 Don't install the signal handler unless we are running the pixel tests.
6575 It is currently only used to restore the color profile, but by catching
6576 signals we can trigger a deadlock in DRT while running leak tests.
6577 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
6578 and a more complete fix will need to be developed to address this for
6579 pixel tests as well.
6581 * DumpRenderTree/mac/DumpRenderTree.mm:
6584 2008-02-04 Mark Rowe <mrowe@apple.com>
6586 Gtk qmake build fix.
6588 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
6590 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
6592 Reviewed by Alp Toker and Mark Rowe.
6594 http://bugs.webkit.org/show_bug.cgi?id=16618
6595 [GTK] build-webkit and run-webkit-tests autootools support
6597 * Scripts/build-webkit: added --database and --icon-database options
6598 * Scripts/run-launcher:
6599 * Scripts/run-webkit-tests:
6600 * Scripts/webkitdirs.pm:
6602 2008-02-04 Oliver Hunt <oliver@apple.com>
6604 Reviewed by Steve F.
6606 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
6608 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
6610 * Uses Sleep() to implement leapForward reliably.
6611 * 3 DND tests still fail for reasons that i have not yet determined
6612 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
6614 * DumpRenderTree/win/EventSender.cpp:
6615 (leapForwardCallback):
6616 (mouseDownCallback):
6620 (mouseMoveToCallback):
6621 Minor updates to these functions to handle the different message queue structure.
6623 (replaySavedEvents):
6624 More complicated now. Where possible we just use the old while-loop model of execution,
6625 but when leapForward has been used we have to jump through some hoops and set up an
6626 inner event loop so that we can ensure messages get the correct time stamp.
6628 * DumpRenderTree/win/UIDelegate.cpp:
6629 (UIDelegate::doDragDrop):
6630 Call replaySavedEvents directly to force synchronous handling of drag and drop.
6632 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
6634 Reviewed by Alp Toker and Mark Rowe.
6636 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
6637 Bug 17175: Use of C++ compiler flags in CFLAGS
6639 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
6641 2008-02-04 Darin Adler <darin@apple.com>
6645 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
6646 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
6649 2008-02-04 Adam Roben <aroben@apple.com>
6651 Windows Apple-only build fix
6653 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
6656 2008-02-04 Alp Toker <alp@atoker.com>
6658 Rubber-stamped by Mark Rowe.
6660 Remove all trailing whitespace in the GTK+ port and related
6663 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
6664 * DumpRenderTree/gtk/GCControllerGtk.cpp:
6665 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6668 2008-02-01 Eric Seidel <eric@webkit.org>
6672 Also search LayoutTests/svg for js-based tests.
6674 * Scripts/make-js-test-wrappers:
6676 2008-01-31 Alp Toker <alp@atoker.com>
6678 Rubber-stamped by Adam Roben.
6680 http://bugs.webkit.org/show_bug.cgi?id=17006
6681 [GTK] Header path should be webkit/webkit.h
6683 Move the GTK+ API sources as needed and update the build systems.
6685 * DumpRenderTree/gtk/DumpRenderTree.cpp:
6686 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
6687 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
6689 * GtkLauncher/main.c:
6691 2008-01-30 Stephanie <slewis@apple.com>
6695 Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth. This should make it easier for the buildbots to track new leaks.
6697 * Scripts/run-webkit-tests:
6699 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
6701 Reviewed by Adam Roben.
6703 One more debug (external) fix.
6705 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
6706 and Debug configurations.
6708 2008-01-29 Geoffrey Garen <ggaren@apple.com>
6710 Reviewed by Sam Weinig. Sam Weinig.
6712 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
6713 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
6715 Modified our policy delegates not to output window.name. Since a
6716 previous test may have explicitly set window.name, we can't rely on its
6717 implicit value in test results.
6719 * DumpRenderTree/mac/PolicyDelegate.mm:
6720 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
6722 * DumpRenderTree/win/PolicyDelegate.cpp:
6723 (PolicyDelegate::decidePolicyForNavigationAction):
6725 2008-01-29 Mark Rowe <mrowe@apple.com>
6727 Reviewed by Tim Hatcher.
6729 <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
6731 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
6733 2008-01-29 David Kilzer <ddkilzer@apple.com>
6735 Refactor ChangeLog path code
6739 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
6740 duplicate code in another foreach() loop.
6742 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
6744 Reviewed by Darin Adler.
6746 <rdar://problem/5710692> All storage tests fail/crash
6748 * DumpRenderTree/mac/UIDelegate.mm:
6749 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
6750 arbitrary quota of 5 megabytes.
6752 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
6753 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
6754 Removed unused (I think) code.
6756 * DumpRenderTree/win/UIDelegate.cpp:
6757 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
6758 (UIDelegate::webViewPainted): A stub implementation.
6759 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
6760 * DumpRenderTree/win/UIDelegate.h:
6762 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
6764 GTK+ DRT build fix for breakage introduced in r29822.
6766 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6767 (LayoutTestController::setPersistentUserStyleSheetLocation):
6768 (LayoutTestController::clearPersistentUserStyleSheet):
6770 2008-01-27 Dan Bernstein <mitz@apple.com>
6772 Reviewed by Darin Adler.
6774 - add support for directory prologues and epilogues to run-webkit-tests
6775 - allow setting a persistent user style sheet in DumpRenderTree
6776 - activate the WebKit Layout Tests font in Windows DumpRenderTree
6778 * DumpRenderTree/LayoutTestController.cpp:
6779 (clearPersistentUserStyleSheetCallback): Added.
6780 (setPersistentUserStyleSheetLocationCallback): Added.
6781 (LayoutTestController::staticFunctions): Added.
6782 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
6783 * DumpRenderTree/LayoutTestController.h:
6784 * DumpRenderTree/mac/DumpRenderTree.mm:
6785 (setPersistentUserStyleSheetLocation): Added.
6786 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
6787 to the set of things this function resets. Now it either disables the
6788 user style sheet or sets it to the persistent user style sheet and
6790 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6791 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6792 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
6793 (LayoutTestController::clearPersistentUserStyleSheet): Added.
6794 * DumpRenderTree/win/DumpRenderTree.cpp:
6795 (setPersistentUserStyleSheetLocation): Added.
6796 (initialize): Added the WebKit Layout Tests font to the set of fonts to
6798 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
6799 * DumpRenderTree/win/DumpRenderTreeWin.h:
6800 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6801 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
6802 (LayoutTestController::clearPersistentUserStyleSheet): Added.
6803 * Scripts/run-webkit-tests: Changed to look for, and if found process in
6804 DumpRenderTree, files named run-webkit-tests-prologue.html and
6805 run-webkit-tests-epilogue.html in the resources subdirectory of any
6806 test directory and platform test results directory. The prologues are
6807 processed before the first test from the directory (and its
6808 subdirectories) is run, and the epilogues are processed after the last
6809 test from the directory is run. Platform-specific prologues and
6810 epilogues are processed in order of specificity.
6812 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
6814 Reviewed by Mark Rowe.
6816 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
6818 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
6820 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
6822 2008-01-24 Sam Weinig <sam@webkit.org>
6824 Reviewed by Ada Chan.
6826 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
6828 - Adds simplified UndoManager to windows DRT to allow testing the
6829 undo/redo code paths in WebCore and WebKit. This is a temporary
6830 solution to an issue that should eventually be solved by having a
6831 shared UndoManager in WebKit.
6833 * DumpRenderTree/win/DumpRenderTree.cpp:
6835 * DumpRenderTree/win/UIDelegate.cpp:
6836 (DRTUndoObject::DRTUndoObject):
6837 (DRTUndoObject::invoke):
6838 (DRTUndoStack::~DRTUndoStack):
6839 (DRTUndoStack::isEmpty):
6840 (DRTUndoStack::clear):
6841 (DRTUndoStack::push):
6842 (DRTUndoStack::pop):
6843 (DRTUndoManager::canRedo):
6844 (DRTUndoManager::canUndo):
6845 (DRTUndoManager::DRTUndoManager):
6846 (DRTUndoManager::removeAllActions):
6847 (DRTUndoManager::registerUndoWithTarget):
6848 (DRTUndoManager::redo):
6849 (DRTUndoManager::undo):
6850 (UIDelegate::UIDelegate):
6851 (UIDelegate::resetUndoManager):
6852 (UIDelegate::registerUndoWithTarget):
6853 (UIDelegate::removeAllActionsWithTarget):
6854 (UIDelegate::setActionTitle):
6857 (UIDelegate::canUndo):
6858 (UIDelegate::canRedo):
6859 * DumpRenderTree/win/UIDelegate.h:
6861 2008-01-23 Adam Roben <aroben@apple.com>
6863 Allow directories containing ChangeLogs to be passed to
6866 Reviewed by David Kilzer.
6868 * Scripts/resolve-ChangeLogs:
6869 (sub findChangeLog): Return a ChangeLog contained within the specified
6870 directory if one exists.
6872 2008-01-23 Steve Falkenburg <sfalken@apple.com>
6874 <rdar://problem/5698732> Copyright strings should include 2008
6878 * Drosera/win/Drosera.vcproj/Drosera.rc:
6879 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
6881 2008-01-23 Alp Toker <alp@atoker.com>
6883 Rubber-stamped by Mark Rowe.
6885 Remove whitespace after -I in automake include lists.
6889 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
6891 Reviewed by Lars Knoll <lars@trolltech.com>.
6893 Reworked the JavaScriptCore Qt bindings:
6895 * Update JS DRT controller for Qt JS binding changes.
6896 There were two functions that needed some changes
6897 so that the layout tests would work, so this makes
6898 a few tests pass again.
6900 * Bump the timeout for layout tests up to 11s.
6901 At least some tests have an internal timeout of
6902 10 seconds, so make the waitUntilDone approach
6903 wait at least 11s. fast/dom/open-and-close-by-DOM.html
6904 is one of these - now the failure message is more
6908 * DumpRenderTree/qt/jsobjects.cpp:
6909 (LayoutTestController::waitUntilDone):
6910 * DumpRenderTree/qt/jsobjects.h:
6912 2008-01-22 Anders Carlsson <andersca@apple.com>
6914 Reviewed by Darin and Adam.
6916 <rdar://problem/5688975>
6917 div element on microsoft site has wrong left offset.
6919 Add new method for testing the return vale of NPN_GetProperty.
6921 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
6924 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
6926 Reviewed by Adam Roben.
6928 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
6930 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
6932 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
6934 Reviewed by Alp Toker.
6936 http://bugs.webkit.org/show_bug.cgi?id=16955
6937 Get errors when cross-compile webkit-gtk
6939 * GNUmakefile.am: Removed ICU_CFLAGS
6941 2008-01-21 Darin Adler <darin@apple.com>
6943 Reviewed by Mitz and Adam.
6945 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
6946 sorting speed by doing all sort criteria in a single pass instead of three sorts.
6948 2008-01-21 Simon Hausmann <hausmann@webkit.org>
6952 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
6954 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
6955 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
6956 and make the return value depend on whether we successfully determined a focusable
6958 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
6959 if we could not handle the focus chain ourselves.
6960 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
6961 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
6962 used to control the situation of stepping out of the focus chain inside the page.
6963 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
6964 The layout tests expect this to be disabled but for the user it seems sensible to have it
6965 on by default, hence the default in qwebsettings.cpp
6968 * DumpRenderTree/qt/DumpRenderTree.cpp:
6969 (WebCore::WebPage::WebPage):
6971 2008-01-19 Mark Rowe <mrowe@apple.com>
6973 Reviewed by Alp Toker.
6975 Allow the --http flag to run-webkit-tests to override
6976 the default behaviour of disabling HTTP tests for Qt,
6979 * Scripts/run-webkit-tests:
6981 2008-01-19 David Kilzer <ddkilzer@apple.com>
6983 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
6985 Reviewed by Darin Adler.
6987 We now touch a check-for-global-initializers.timestamp file in
6988 the TARGET_TEMP_DIR directory to determine when new object files
6989 have been compiled and thus need to be checked. If the timestamp
6990 file doesn't exist, all object files will be checked.
6992 Previously the modification time of the "executable" (the
6993 framework binary, e.g., WebKit.framework/WebKit) was used, but
6994 since this was the last file modified at the end of the compile
6995 phase, no object files would ever get checked!
6997 Also added JSCustomSQLTransactionCallback.o to the list of files
6998 since it has static initializers in Debug builds of WebCore.
7000 * Scripts/check-for-global-initializers:
7002 2008-01-18 Adam Roben <aroben@apple.com>
7006 * Scripts/build-webkit:
7008 2008-01-18 Beth Dakin <bdakin@apple.com>
7012 Update build-webkit to account for foreign-object being disabled by
7015 * Scripts/build-webkit:
7017 2008-01-18 Adam Roben <aroben@apple.com>
7019 Updated for method renames
7023 * DumpRenderTree/mac/FrameLoadDelegate.mm:
7024 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
7025 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7026 (LayoutTestController::setMainFrameIsFirstResponder):
7027 (LayoutTestController::setWindowIsKey):
7028 * DumpRenderTree/mac/UIDelegate.mm:
7029 (-[UIDelegate webViewFocus:]):
7030 * DumpRenderTree/win/FrameLoadDelegate.cpp:
7031 (FrameLoadDelegate::didCommitLoadForFrame):
7033 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
7035 Reviewed by Adam Roben.
7037 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
7038 between DRT and TestNetscapePlugin.
7040 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
7041 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
7043 2008-01-18 Simon Hausmann <hausmann@webkit.org>
7047 Fix fast/dom/Window/window-resize.html
7049 In DRT connect the page's geometryChangeRequest signal to a slot that
7050 sets the geometry of the view widget.
7053 * DumpRenderTree/qt/DumpRenderTree.cpp:
7054 (WebCore::WebPage::setViewGeometry):
7055 (WebCore::WebPage::WebPage):
7057 2008-01-17 Steve Falkenburg <sfalken@apple.com>
7061 * Drosera/DroseraWin.make:
7063 2008-01-17 Darin Adler <darin@apple.com>
7065 * Scripts/run-webkit-tests: Fixed a bug number.
7067 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
7069 Reviewed by Adam Roben.
7071 http://bugs.webkit.org/show_bug.cgi?id=16908
7072 run-webkit-tests complains about missing FindSafari.exe
7074 * Scripts/webkitdirs.pm: Append _debug as appropriate.
7076 2008-01-17 Steve Falkenburg <sfalken@apple.com>
7078 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
7080 Rubber-stamped by Jon Honeycutt.
7082 * DumpRenderTree/win/DumpRenderTree.vcproj:
7084 2008-01-16 Alp Toker <alp@atoker.com>
7086 Reviewed by Mark Rowe.
7088 http://bugs.webkit.org/show_bug.cgi?id=16218
7089 [GTK] API: Should this entry point be called go_back rather than go_backward?
7091 Track back/forward API changes in the tools.
7093 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
7094 (BackForwardItem::invoke):
7095 * GtkLauncher/main.c:
7098 2008-01-16 Adam Roben <aroben@apple.com>
7100 Windows build fix after r29488
7102 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7103 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
7104 expects to find the plugin.
7106 2008-01-11 Geoffrey Garen <ggaren@apple.com>
7108 Reviewed by Sam Weinig.
7110 Fixed the waitUntilDone watchdog timer -- the old code never added the
7111 timer to the run loop, so it didn't do anything.
7113 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7114 (LayoutTestController::setWaitToDump):
7115 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7116 (LayoutTestController::setWaitToDump):
7118 2008-01-14 Steve Falkenburg <sfalken@apple.com>
7120 Use shared vsprops for most vcproj properties.
7122 Reviewed by Darin Adler.
7124 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7125 * DumpRenderTree/win/DumpRenderTree.vcproj:
7126 * DumpRenderTree/win/ImageDiff.vcproj:
7127 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7128 * FindSafari/FindSafari.vcproj:
7130 2008-01-14 Stephanie <slewis@apple.com>
7134 revert accidental character.
7136 * Scripts/run-webkit-tests:
7138 2008-01-14 Stephanie <slewis@apple.com>
7142 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
7144 * Scripts/run-webkit-tests:
7146 2008-01-14 Darin Adler <darin@apple.com>
7148 * Scripts/do-webcore-rename: Queue up another rename.
7150 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
7152 Reviewed by Darin Adler.
7154 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
7156 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
7158 * Scripts/run-webkit-tests:
7160 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
7162 Reviewed by Darin Adler.
7164 * Randomize tests array to spot test cases where the results depends on the order
7166 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
7168 * Scripts/run-webkit-tests:
7170 2008-01-14 Darin Adler <darin@apple.com>
7172 * Scripts/run-webkit-tests: More ignore list tweaking.
7174 2008-01-14 Darin Adler <darin@apple.com>
7176 * Scripts/run-webkit-tests: Add another leak to the ignore list.
7178 2008-01-14 Dan Bernstein <mitz@apple.com>
7180 Reviewed by Adam Roben.
7182 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
7185 * DumpRenderTree/win/DumpRenderTree.cpp:
7186 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
7188 2008-01-13 Steve Falkenburg <sfalken@apple.com>
7190 Share common files across projects.
7193 Debug: common.vsprops, debug.vsprops
7194 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
7195 Release: common.vsprops, release.vsprops
7197 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
7198 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
7200 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
7202 Reviewed by Adam Roben.
7204 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7205 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
7206 * Drosera/win/Drosera.vcproj/VERSION: Removed.
7207 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
7208 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
7209 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
7210 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
7211 * DumpRenderTree/win/DumpRenderTree.vcproj:
7212 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7213 * DumpRenderTree/win/debug.vsprops: Removed.
7214 * DumpRenderTree/win/debug_internal.vsprops: Removed.
7215 * DumpRenderTree/win/release.vsprops: Removed.
7217 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
7221 - http://bugs.webkit.org/show_bug.cgi?id=16314
7222 Script to launch Drosera
7224 * Scripts/gdb-drosera: Added.
7225 * Scripts/run-drosera: Added.
7226 * Scripts/run-drosera-nightly.cmd: Added.
7227 * Scripts/webkitdirs.pm: Added runDrosera function.
7229 2008-01-13 Dan Bernstein <mitz@apple.com>
7231 - fix breakage due to last-minute change
7233 * DumpRenderTree/win/DumpRenderTree.cpp:
7234 (runTest): Declare the loop variable.
7236 2008-01-13 Dan Bernstein <mitz@apple.com>
7238 Reviewed by Adam Roben.
7240 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
7242 * DumpRenderTree/win/DumpRenderTree.cpp:
7243 (DumpRenderTreeWndProc):
7245 (dumpBackForwardList):
7246 (dumpBackForwardListForAllWindows):
7248 (resetWebViewToConsistentStateBeforeTesting): Factored out of
7251 (allWindows): Added. Returns a vector of all open windows.
7252 (windowToWebViewMap): Added. Returns a map from open windows to their
7254 (createWebViewAndOffscreenWindow): Factored out of main() to be
7255 reusable for creating extra windows.
7257 * DumpRenderTree/win/DumpRenderTreeWin.h:
7258 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7259 (LayoutTestController::windowCount): Implemented.
7260 * DumpRenderTree/win/UIDelegate.cpp:
7261 (UIDelegate::createWebViewWithRequest): Implemented.
7262 (UIDelegate::webViewClose): Implemented.
7263 * DumpRenderTree/win/UIDelegate.h:
7265 2008-01-12 Alp Toker <alp@atoker.com>
7267 Reviewed by Mark Rowe.
7269 Hide non-public symbols in GTK+/autotools release builds.
7273 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
7277 * Make launching of the WebKit httpd work on GNU/Debian/Linux
7279 The configuration of Apache2 and installation does not depend on
7280 the kernel but on the distribution policy. Make launching of httpd
7281 work for Debian derived distributions.
7283 * Scripts/run-webkit-httpd:
7284 * Scripts/run-webkit-tests:
7285 * Scripts/webkitdirs.pm:
7287 2008-01-12 Mark Rowe <mrowe@apple.com>
7289 Reviewed by Maciej Stachowiak.
7291 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
7293 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
7294 match the callers expectations that it can take ownership of the string.
7296 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
7298 Reviewed by Adam Roben.
7300 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
7302 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
7303 as these are only posted because the test window is not a normal visible one, and
7304 they confuse drag&drop machinery.
7306 2008-01-11 Adam Roben <aroben@apple.com>
7308 Fix a crash when pathToLocalResource fails and a leak
7310 Reviewed by Darin Adler.
7312 * DumpRenderTree/LayoutTestController.cpp:
7313 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
7314 sure not to pass null to JSValueMakeString.
7315 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7316 (LayoutTestController::pathToLocalResource): Print an error message if
7317 the conversion fails so it's clear what happened.
7319 2008-01-11 Geoffrey Garen <ggaren@apple.com>
7321 Reviewed by John Sullivan.
7323 * DumpRenderTree/mac/GCControllerMac.mm:
7324 (GCController::collectOnAlternateThread): Updated for name change.
7326 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
7328 wx build fix. Don't build dftables any longer since it's now a Perl
7331 * wx/build-wxwebkit:
7333 2008-01-10 Sam Weinig <sam@webkit.org>
7335 Reviewed by Anders Carlsson.
7337 Make DRT track open windows instead of allocated windows so that
7338 we can avoid ASSERTION due to late deallocs out of our control.
7340 * DumpRenderTree/mac/DumpRenderTree.mm:
7341 (dumpBackForwardListForAllWindows):
7343 * DumpRenderTree/mac/DumpRenderTreeMac.h:
7344 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
7345 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
7346 (+[DumpRenderTreeWindow openWindows]):
7347 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
7348 (-[DumpRenderTreeWindow close]):
7349 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7350 (LayoutTestController::windowCount):
7352 2008-01-10 Ada Chan <adachan@apple.com>
7354 Meta key is not the same as Alt key on windows.
7356 Reviewed by Darin Adler.
7358 * DumpRenderTree/win/EventSender.cpp:
7361 2008-01-09 Kevin McCullough <kmccullough@apple.com>
7363 Reviewed by Darin, Sam and Adam.
7365 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
7366 link in gmail message displays JavaScript alert falsely complaining
7367 about pop-up blocking.
7368 - Added the ability to enable the pop-up blocker via the
7369 LayoutTestController.
7371 * DumpRenderTree/LayoutTestController.cpp:
7372 (setPopupBlockingEnabledCallback):
7373 (LayoutTestController::staticFunctions):
7374 * DumpRenderTree/LayoutTestController.h:
7375 * DumpRenderTree/mac/DumpRenderTree.mm:
7376 (setDefaultsToConsistentValuesForTesting):
7377 (resetWebViewToConsistentStateBeforeTesting):
7378 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7379 (LayoutTestController::setPopupBlockingEnabled):
7381 2008-01-10 Lars Knoll <lars@trolltech.com>
7385 rename QWebPageHistory to QWebHistory.
7388 * DumpRenderTree/qt/jsobjects.cpp:
7390 2008-01-09 Maciej Stachowiak <mjs@apple.com>
7392 Reviewed by Darin Adler.
7394 - add some more renames, adjust some
7396 * Scripts/do-webcore-rename:
7398 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
7402 Enable SVG Fonts support by default.
7404 * Scripts/build-webkit:
7406 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
7410 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
7411 DRT doesn't handle platform specific pixel test results correctly.
7413 <test>-expected.txt files and <test>-expected.png files may now live
7414 in different directories (ie. a cross-platform <test>-expected.txt file
7415 and a platform-specific <test>-expected.png file).
7417 * Scripts/run-webkit-tests:
7419 2008-01-04 Kevin McCullough <kmccullough@apple.com>
7421 Reviewed by Darin Adler.
7423 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
7424 DRT did not correctly handle printing the '\0' char. Now it does.
7426 * DumpRenderTree/win/DumpRenderTree.cpp:
7430 2008-01-07 Simon Hausmann <hausmann@webkit.org>
7434 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
7437 * DumpRenderTree/qt/main.cpp:
7438 * DumpRenderTree/qt/testplugin.cpp:
7439 * DumpRenderTree/qt/testplugin.h:
7441 2008-01-05 Mark Rowe <mrowe@apple.com>
7443 Reviewed by Alp Toker.
7445 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
7447 * DumpRenderTree/gtk/DumpRenderTree.cpp:
7448 (processWork): Process pending work.
7449 (webViewLoadFinished): Schedule processing of pending work.
7450 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
7452 2008-01-05 Darin Adler <darin@apple.com>
7454 * Scripts/do-webcore-rename: Some more renaming plans.
7456 2008-01-04 Alice Liu <alice.liu@apple.com>
7458 Reviewed by Alexey and Darin.
7460 Adding "home" and "end" to DRT's keydown since
7461 DOM key events can't handle keyIdentifiers at this point.
7463 * DumpRenderTree/mac/EventSendingController.mm:
7464 (-[EventSendingController keyDown:withModifiers:]):
7465 * DumpRenderTree/win/EventSender.cpp:
7468 2008-01-04 Lars Knoll <lars@trolltech.com>
7472 fix DRT after the changes to QWebPage.
7474 The great thing is that we actually don't have
7475 any regressions from the QWebPage change :)
7478 * DumpRenderTree/qt/DumpRenderTree.cpp:
7479 (WebCore::DumpRenderTree::DumpRenderTree):
7481 2008-01-04 Lars Knoll <lars@trolltech.com>
7485 make QWebPage a QObject and get things to compile.
7487 Nothing works currently though.
7490 * DumpRenderTree/qt/DumpRenderTree.cpp:
7491 (WebCore::DumpRenderTree::DumpRenderTree):
7493 2008-01-04 Lars Knoll <lars@trolltech.com>
7497 take a QString as identifier in QWebFrame::addToJSWindowObject.
7499 * DumpRenderTree/qt/DumpRenderTree.cpp:
7500 (WebCore::DumpRenderTree::initJSObjects):
7502 2008-01-04 Alp Toker <alp@atoker.com>
7504 GTK+ DRT build fix for breakage introduced in r29149.
7506 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7507 (LayoutTestController::execCommand):
7509 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
7511 Reviewed by Darin Adler.
7513 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
7515 Added layoutTestController.execCommand to access editor commands that are not available
7516 via document.execCommand.
7518 * DumpRenderTree/LayoutTestController.cpp:
7519 (execCommandCallback):
7520 (LayoutTestController::staticFunctions):
7521 * DumpRenderTree/LayoutTestController.h:
7522 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7523 (LayoutTestController::execCommand):
7524 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7525 (LayoutTestController::queueLoad):
7526 (LayoutTestController::execCommand):
7528 2008-01-03 Alice Liu <alice.liu@apple.com>
7530 Reviewed by Darin, Mitz.
7532 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
7534 the clickcount should not increase if the last click was at a different location. it's a new click.
7536 * DumpRenderTree/mac/DumpRenderTree.mm:
7538 * DumpRenderTree/mac/EventSendingController.h:
7539 * DumpRenderTree/mac/EventSendingController.mm:
7540 (-[EventSendingController mouseDown]):
7541 (-[EventSendingController mouseUp]):
7543 2008-01-03 Darin Adler <darin@apple.com>
7547 * Scripts/update-webkit: Make this work a little better for the people at Apple
7548 who have a directory named Internal.
7550 2008-01-03 Adam Roben <aroben@apple.com>
7552 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
7554 Rubberstamped by Mark.
7556 * Scripts/update-webkit-auxiliary-libs:
7558 2008-01-03 Adam Roben <aroben@apple.com>
7560 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
7562 http://bugs.webkit.org/show_bug.cgi?id=15663
7564 Added a fuzz factor into the Last-Modified comparison for downloading
7565 WebKitAuxiliaryLibrary.zip.
7567 The zip file is served from a set of mirrors who give Last-Modified
7568 times that are off by 1-3 seconds from each other. This was causing
7569 the build bots to redownload WebKitAuxiliaryLibrary for every build,
7570 which would then cause all of WebCore to rebuild each time.
7574 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
7575 at least 30 seconds newer than the old one -- otherwise we assume that
7576 the difference in time is due to the mirrors being slightly offset
7578 (sub lastModifiedToUnixTime): Added.
7580 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
7584 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
7586 2008-01-03 Simon Hausmann <hausmann@webkit.org>
7590 Moved QWebPage::open to QWebFrame::load and added setHtml.
7593 * DumpRenderTree/qt/DumpRenderTree.cpp:
7594 (WebCore::DumpRenderTree::open):
7596 2008-01-03 Simon Hausmann <hausmann@webkit.org>
7600 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
7603 * DumpRenderTree/qt/DumpRenderTree.cpp:
7604 (WebCore::DumpRenderTree::DumpRenderTree):
7606 2008-01-02 Sam Weinig <sam@webkit.org>
7608 * Scripts/do-webcore-rename: Yet more renaming ideas.
7610 2008-01-02 Darin Adler <darin@apple.com>
7612 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
7614 2008-01-02 Alice Liu <alice.liu@apple.com>
7616 Reviewed by Sam Weinig.
7618 fixing assertion hit with editing/selection/move-begin-end.html
7620 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
7621 * DumpRenderTree/win/DumpRenderTree.vcproj:
7622 * DumpRenderTree/win/EventSender.cpp:
7624 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
7626 2008-01-02 Darin Adler <darin@apple.com>
7628 * Scripts/do-webcore-rename: Some more name change plans.
7630 2008-01-02 Alice Liu <alice.liu@apple.com>
7634 Added handling for page up and page down in EventSender
7636 * DumpRenderTree/mac/EventSendingController.mm:
7637 (-[EventSendingController keyDown:withModifiers:]):
7638 * DumpRenderTree/win/EventSender.cpp:
7641 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
7643 Reviewed by Darin Adler.
7645 Fix fast/events/arrow-keys-on-body.html for real.
7647 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
7649 2008-01-02 Luca Bruno <lethalman88@gmail.com>
7651 Reviewed by Darin Adler.
7653 http://bugs.webkit.org/show_bug.cgi?id=16674
7654 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
7656 * Scripts/run-launcher:
7658 2007-12-31 Darin Adler <darin@apple.com>
7662 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
7663 we get it installed on the build bots.
7665 2007-12-30 Eric Seidel <eric@webkit.org>
7669 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
7671 2007-12-29 Darin Adler <darin@apple.com>
7675 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
7676 leak bot shows createCStringFromNPVariant result leaking
7678 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
7679 (pluginInvoke): Added a missing free.
7681 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
7683 Reviewed by Alp Toker.
7685 http://bugs.webkit.org/show_bug.cgi?id=16390
7686 Use autotools or GNU make as the build system for the GTK port
7688 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
7689 * GNUmakefile.am: Added.
7691 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
7695 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
7697 * DumpRenderTree/win/EventSender.cpp:
7698 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
7699 of 1, even though WebKit currently ignores it.
7701 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
7703 wx buildbot fix. Update libpng dl script to the latest version.
7705 * wx/install-unix-extras:
7707 2007-12-22 Antti Koivisto <antti@apple.com>
7711 * Scripts/webkitdirs.pm:
7713 2007-12-21 Sam Weinig <sam@webkit.org>
7715 Reviewed by Mark Rowe.
7717 - Disable the back/forward cache using the new WebPreferences API
7718 instead of through the BackForwardList. This makes us match what
7721 * DumpRenderTree/mac/DumpRenderTree.mm:
7722 (createWebViewAndOffscreenWindow):
7723 (setDefaultsToConsistentValuesForTesting):
7725 2007-12-21 Dan Bernstein <mitz@apple.com>
7727 Reviewed by Mark Rowe.
7729 - disable the back/forward cache in Windows DumpRenderTree. It is
7730 already disabled in Mac DumpRenderTree.
7732 * DumpRenderTree/win/DumpRenderTree.cpp:
7733 (initializePreferences):
7735 2007-12-13 Antti Koivisto <antti@apple.com>
7737 Reviewed by Darin and Steve.
7739 - check for QuickTime SDK on Windows.
7740 - build media support on Windows by default
7742 * Scripts/build-webkit:
7743 * Scripts/webkitdirs.pm:
7745 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
7747 Build script fix for buildbot.
7749 * wx/build-wxwebkit:
7751 2007-12-20 Eric Seidel <eric@webkit.org>
7755 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
7757 2007-12-20 Kevin McCullough <kmccullough@apple.com>
7761 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
7764 - Drosera and Safari need to use the same ProgIDs in order for
7765 CoCreateInstance to work properly. The most robust way to do this is
7766 for WebKit to dynamically publish those ProgIDs.
7768 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
7769 (DebuggerClient::createWebViewWithRequest):
7770 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
7774 (Drosera::attemptToCreateServerConnection):
7775 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
7776 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
7777 make use of the published ProgIDs.
7778 (ServerConnection::attemptToCreateServerConnection):
7780 2007-12-20 Kevin McCullough <kmccullough@apple.com>
7782 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
7783 - Build bot and leak fix.
7785 * DumpRenderTree/LayoutTestController.cpp:
7786 (pathToLocalResourceCallback):
7788 2007-12-19 David Kilzer <ddkilzer@apple.com>
7790 Make svn-apply/svn-unapply work with patches from git-format-patch.
7792 Reviewed by Darin Adler.
7794 * Scripts/svn-apply:
7795 (patch): If 'Index:' can't be found in the text passed in, print it
7796 out with a warning and return early.
7797 * Scripts/svn-unapply:
7800 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
7802 Reviewed by Alp Toker.
7804 Build related fixes.
7806 * wx/build-wxwebkit:
7807 - Check to make sure the user is running a supported wx port
7808 - More robust checks for Cygwin
7809 - Only run install-unix-extras on Mac, it's not the right solution
7811 - Remove outdated Linux instructions after successful build
7812 - Clean Bakefile-generated files during a clean operation
7814 2007-12-18 Darin Adler <darin@apple.com>
7816 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
7818 2007-12-18 Steve Falkenburg <sfalken@apple.com>
7820 Add script to run Drosera as part of the nightly.
7822 Reviewed by Kevin M.
7824 * Scripts/run-drosera.cmd: Added.
7826 2007-12-18 Darin Adler <darin@apple.com>
7828 * Scripts/do-webcore-rename: Remove a stray K.
7830 2007-12-18 Darin Adler <darin@apple.com>
7832 * Scripts/do-webcore-rename: Plan more renaming.
7834 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
7836 Reviewed by Alp Toker.
7838 http://bugs.webkit.org/show_bug.cgi?id=16042
7839 [GTK] Eliminate webkit_init()
7841 Moving webkit initialization to WebView class init.
7843 * DumpRenderTree/gtk/DumpRenderTree.cpp:
7845 * GtkLauncher/main.c:
7848 2007-12-17 Luca Bruno <lethalman88@gmail.com>
7850 Reviewed by Alp Toker.
7852 http://bugs.webkit.org/show_bug.cgi?id=13542
7853 gdklauncher doesnt change URL in adress GTKEntry.
7855 * GtkLauncher/main.c:
7856 (load_commit_cb): added
7860 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
7862 Reviewed by Adam Roben.
7864 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
7866 * FindSafari/FindSafari.cpp:
7869 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
7871 Reviewed by Adam Roben.
7873 http://bugs.webkit.org/show_bug.cgi?id=16315
7874 FindSafari needs a path-only option.
7876 * FindSafari/FindSafari.cpp:
7879 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
7881 Reviewed by Darin Adler.
7883 http://bugs.webkit.org/show_bug.cgi?id=16462
7884 REGRESSION: access keys broken on Windows
7886 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
7889 2007-12-15 Sam Weinig <sam@webkit.org>
7891 Reviewed by Mark Rowe.
7893 Fix urlSuitableForTestResult to correctly identify wstring::npos as
7894 the case when wstring.find doesn't find anything.
7896 * DumpRenderTree/win/DumpRenderTree.cpp:
7897 (urlSuitableForTestResult):
7899 2007-12-15 Alp Toker <alp@atoker.com>
7901 GTK+ DRT build fix for GLib < 2.14.
7903 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7904 (LayoutTestController::setWaitToDump):
7906 2007-12-05 Mark Rowe <mrowe@apple.com>
7908 Reviewed by Alp Toker.
7910 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
7911 many layout tests from hanging while waiting on user responses to dialogs.
7913 * DumpRenderTree/gtk/DumpRenderTree.cpp:
7914 (invalidateAnyPreviousWaitToDumpWatchdog):
7915 (webViewScriptAlert):
7916 (webViewScriptPrompt):
7917 (webViewScriptConfirm):
7919 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
7920 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7921 (waitToDumpWatchdogFired):
7922 (LayoutTestController::setWaitToDump):
7924 2007-12-05 Mark Rowe <mrowe@apple.com>
7926 Reviewed by Alp Toker.
7928 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
7930 * DumpRenderTree/gtk/DumpRenderTree.cpp:
7931 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
7934 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
7935 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
7936 work queue is empty.
7937 (webViewWindowObjectCleared): Set up window.layoutTestController.
7938 (webViewConsoleMessage): Match the console message format expected by the layout test results.
7939 (main): Hook up the new signals.
7940 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
7941 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
7942 dumping multiple times.
7943 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
7944 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
7946 2007-12-14 Anders Carlsson <andersca@apple.com>
7950 Assert that a web frame that's loading a resource always has either a data source or
7951 a provisional data source.
7953 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
7954 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
7956 2007-12-14 Darin Adler <darin@apple.com>
7958 - fix mistake causing nearly all tests to fail on Windows
7960 * DumpRenderTree/win/UIDelegate.cpp:
7961 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
7962 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
7964 * DumpRenderTree/mac/UIDelegate.mm:
7965 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
7966 than passing the entire message.
7968 2007-12-14 Darin Adler <darin@apple.com>
7972 * DumpRenderTree/mac/UIDelegate.mm:
7973 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
7974 new-to-Leopard methods.
7976 2007-12-14 Darin Adler <darin@apple.com>
7978 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
7979 since it now triggers unwanted icon loading. We only had it because we implemented "all"
7980 delegate methods here.
7982 2007-12-14 Anders Carlsson <andersca@apple.com>
7984 Reviewed by Darin and Geoff.
7986 <rdar://problem/5619295>
7987 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
7989 Add property getting methods to the plug-in.
7991 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
7994 2007-12-14 Kevin McCullough <kmccullough@apple.com>
7996 Reviewed by Darin Adler.
7998 - Layout test fix for mac. When dumped to the console local file paths
7999 now only show the name of the resource not the whole path. This is to
8000 make the results machine and OS independent.
8002 * DumpRenderTree/mac/UIDelegate.mm:
8003 (-[UIDelegate webView:addMessageToConsole:]):
8005 2007-12-13 Kevin McCullough <kmccullough@apple.com>
8009 - Layout tests fix. We need a way to remove machine-dependent
8010 information from paths in layout test results. The UIDelegate now does
8013 * DumpRenderTree/DumpRenderTree.h:
8014 * DumpRenderTree/win/DumpRenderTree.cpp:
8015 (urlSuitableForTestResult):
8016 * DumpRenderTree/win/DumpRenderTreeWin.h:
8017 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
8018 * DumpRenderTree/win/UIDelegate.cpp:
8019 (UIDelegate::webViewAddMessageToConsole):
8021 2007-12-13 Alp Toker <alp@atoker.com>
8023 Build fix for DRT breakage introduced in r28690.
8025 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8026 (LayoutTestController::pathToLocalResource):
8028 2007-12-12 Kevin McCullough <kmccullough@apple.com>
8030 Reviewed by Alice and Sam.
8032 - <rdar://5621435> Need a way to specify local resources (being loaded
8033 from HTTP tests) on Windows.
8034 - Implemented pathToLocalResource which exposes the functionality of
8035 converting a given unix path to the correct location on Windows.
8037 * DumpRenderTree/LayoutTestController.cpp:
8038 (pathToLocalResourceCallback):
8039 (LayoutTestController::staticFunctions):
8040 * DumpRenderTree/LayoutTestController.h:
8041 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8042 (LayoutTestController::pathToLocalResource):
8043 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8044 (LayoutTestController::pathToLocalResource):
8046 2007-12-12 Anders Carlsson <andersca@apple.com>
8050 <rdar://problem/5132003>
8051 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
8053 * DumpRenderTree/win/DumpRenderTree.cpp:
8055 Set the resource load delegate.
8057 * DumpRenderTree/win/DumpRenderTree.vcproj:
8059 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
8060 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
8062 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
8064 Reviewed by Adam Roben.
8066 Fix conversion from double to LPARAM in dispatchMessage().
8068 * DumpRenderTree/win/EventSender.cpp:
8069 (dispatchMessageCallback):
8071 2007-12-11 Dan Bernstein <mitz@apple.com>
8073 Reviewed by Mark Rowe and Sam Weinig too!
8075 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
8076 fonts DumpRenderTree registers.
8078 * DumpRenderTree/win/DumpRenderTree.cpp:
8081 2007-12-11 Brady Eidson <beidson@apple.com>
8085 Make DumpRenderTree on mac use its own path for Databases testing
8087 * DumpRenderTree/mac/DumpRenderTree.mm:
8088 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
8089 for future DRT-only use, then use it to construct the Databases path and set that default
8091 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
8093 Reviewed by Darin Adler.
8095 <rdar://problem/5535636>
8096 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
8098 http://bugs.webkit.org/show_bug.cgi?id=13916
8099 JavaScript detects Tab as a character input on a textfield validation
8101 * DumpRenderTree/mac/EventSendingController.mm:
8102 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
8103 Dispatch a keyup to better match what happens when a key is physically pressed.
8105 * DumpRenderTree/win/EventSender.cpp:
8106 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
8107 returning from keyDown().
8108 (getConstantCallback): Fixed a couple copy/paste mistakes.
8110 2007-12-07 Kevin McCullough <kmccullough@apple.com>
8114 - <rdar://5599845> Drosera: Does not show loal files in the file list
8117 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
8118 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
8119 so the open source community can build.
8121 2007-12-10 Brady Eidson <beidson@apple.com>
8123 Rubberstamped by Sam Weinig
8125 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
8127 * DumpRenderTree/mac/UIDelegate.mm:
8128 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
8129 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
8131 2007-12-08 Oliver Hunt <oliver@apple.com>
8135 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
8137 Fixes <rdar://problem/5620249> Must disable SVG animation
8138 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
8140 In order to allow finer grained control over the set of SVG features
8141 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
8143 ENABLE_SVG_ANIMATION
8149 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
8151 Script handles all the new build flags, and allows --svg-experimental
8152 to automatically enable all features.
8154 * Scripts/build-webkit:
8156 2007-12-07 Steve Falkenburg <sfalken@apple.com>
8158 Fix version parsing.
8160 Rubber-stamped by Oliver.
8162 * Drosera/win/Drosera.vcproj/auto-version.sh:
8164 2007-12-07 Steve Falkenburg <sfalken@apple.com>
8166 Build modifications for Drosera.
8170 * Drosera/DroseraWin.make: Added.
8171 * Drosera/win/Drosera.vcproj/Drosera.rc:
8172 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8173 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
8174 * Drosera/win/Drosera.vcproj/VERSION: Added.
8175 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
8177 2007-12-06 Adam Roben <aroben@apple.com>
8179 Explicitly turn on the Mac font ascent hack on Windows
8181 This keeps our font metrics matching those from Mac.
8185 * DumpRenderTree/win/DumpRenderTree.cpp:
8188 2007-12-06 Anders Carlsson <andersca@apple.com>
8190 Rename main.c to main.cpp here too.
8192 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
8194 2007-12-06 Sam Weinig <sam@webkit.org>
8196 Rubber stamped by Geoff.
8198 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
8200 2007-12-06 Darin Adler <darin@apple.com>
8202 * Scripts/do-webcore-rename: Some more renaming plans.
8204 2007-12-06 Anders Carlsson <andersca@apple.com>
8206 Restore implementation of testGetIntIdentifier that was accidentally
8207 removed somehow (possibly when I made PluginObject be a cpp file).
8209 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
8212 2007-12-05 Anders Carlsson <andersca@apple.com>
8214 Make the entry points extern "C".
8215 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
8217 2007-12-05 Anders Carlsson <andersca@apple.com>
8221 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
8230 2007-12-05 Anders Carlsson <andersca@apple.com>
8232 Add the .cpp files to the TestNetscapePlugIn target.
8234 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8236 2007-12-05 Anders Carlsson <andersca@apple.com>
8240 Rename the TestNetscapePlugIn .c files to be .cpp.
8242 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8243 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
8244 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
8245 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
8246 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
8247 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
8248 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
8249 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
8251 2007-12-05 Adam Roben <aroben@apple.com>
8253 Fix case of keypresses from the Windows implementation of eventSender.keyDown
8255 This fixes several regression tests.
8259 * DumpRenderTree/win/EventSender.cpp:
8260 (keyDownCallback): Virtual keycodes for ASCII characters are always
8261 uppercase, so we need to check the case of the original character
8262 passed in to eventSender.keyDown.
8264 2007-12-05 Adam Roben <aroben@apple.com>
8266 Learn from Tim's mistakes
8268 * DumpRenderTree/win/DumpRenderTree.cpp:
8269 (runTest): Reset the authorAndUserStylesEnabled preference for each
8272 2007-12-05 Alp Toker <alp@atoker.com>
8274 Reviewed by Mark Rowe.
8276 Initialize GTK+ and WebKit so the tests can run.
8278 Reorganize the headers a little.
8280 * DumpRenderTree/gtk/DumpRenderTree.cpp:
8283 2007-12-04 Anders Carlsson <andersca@apple.com>
8285 Remove IWebScriptScope include.
8287 * Drosera/win/DebuggerDocumentPlatform.cpp:
8289 2007-12-04 Sam Weinig <sam@webkit.org>
8291 Rubber stamped by Mark Rowe.
8293 Define CF as platform for mac and revert r28409
8295 * DumpRenderTree/DumpRenderTree.h:
8296 * DumpRenderTree/mac/DumpRenderTreeMac.h:
8298 2007-12-04 Sam Weinig <sam@webkit.org>
8300 Define CF as platform for windows.
8302 Reviewed by Adam Roben.
8304 * DumpRenderTree/win/DumpRenderTreeWin.h:
8306 2007-12-04 Kevin McCullough <kmccullough@apple.com>
8308 Reviewed by Adam and Darin.
8310 - Removed a needless BSTR cleanup.
8312 * Drosera/win/DebuggerDocumentPlatform.cpp:
8313 (DebuggerDocument::getPlatformCurrentFunctionStack):
8315 2007-11-27 Adam Roben <aroben@apple.com>
8317 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
8321 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8322 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
8324 2007-12-04 Alp Toker <alp@atoker.com>
8326 Prospective Win DRT build fix.
8328 * DumpRenderTree/DumpRenderTree.h:
8330 2007-12-04 Alp Toker <alp@atoker.com>
8332 Fix a clobbered copyright header.
8334 * DumpRenderTree/gtk/DumpRenderTree.cpp:
8336 2007-12-04 Xan Lopez <xan@gnome.org>
8338 Reviewed by Alp Toker.
8340 http://bugs.webkit.org/show_bug.cgi?id=15561
8341 GTK port needs DumpRenderTree implementation
8343 Start work on the GTK+ DRT.
8345 This does not work yet, and there are a few lingering style issues
8346 (nothing major) but this patch has been stuck in the bug tracker for
8349 * DumpRenderTree/DumpRenderTree.h:
8350 * DumpRenderTree/gtk: Added.
8351 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
8353 (shouldLogFrameLoadDelegates):
8354 (dumpFrameScrollPosition):
8358 (dumpRenderTreeAsText):
8362 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
8363 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
8364 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
8365 (GCController::collect):
8366 (GCController::collectOnAlternateThread):
8367 (GCController::getJSObjectCount):
8368 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
8369 (LayoutTestController::~LayoutTestController):
8370 (LayoutTestController::addDisallowedURL):
8371 (LayoutTestController::clearBackForwardList):
8372 (LayoutTestController::copyDecodedHostName):
8373 (LayoutTestController::copyEncodedHostName):
8374 (LayoutTestController::display):
8375 (LayoutTestController::keepWebHistory):
8376 (LayoutTestController::notifyDone):
8377 (LayoutTestController::queueBackNavigation):
8378 (LayoutTestController::queueForwardNavigation):
8379 (LayoutTestController::queueLoad):
8380 (LayoutTestController::queueReload):
8381 (LayoutTestController::queueScript):
8382 (LayoutTestController::setAcceptsEditing):
8383 (LayoutTestController::setCustomPolicyDelegate):
8384 (LayoutTestController::setMainFrameIsFirstResponder):
8385 (LayoutTestController::setTabKeyCyclesThroughElements):
8386 (LayoutTestController::setUseDashboardCompatibilityMode):
8387 (LayoutTestController::setUserStyleSheetEnabled):
8388 (LayoutTestController::setUserStyleSheetLocation):
8389 (LayoutTestController::setWindowIsKey):
8390 (LayoutTestController::setWaitToDump):
8391 (LayoutTestController::windowCount):
8392 (LayoutTestController::setPrivateBrowsingEnabled):
8393 (LayoutTestController::setAuthorAndUserStylesEnabled):
8394 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
8395 (JSStringCopyUTF8CString):
8397 (ReloadItem::invoke):
8398 (ScriptItem::invoke):
8399 (BackForwardItem::invoke):
8401 2007-12-03 Sam Weinig <sam@webkit.org>
8403 Move JavaScriptCore thread testing code to pthread specific directory
8404 and remove the dependance on CoreFoundation by using WTF::HashSet.
8406 Reviewed by Geoff and Oliver.
8408 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8409 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
8410 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
8411 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
8412 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
8413 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
8414 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
8415 * DumpRenderTree/pthreads: Added.
8416 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
8417 (javaScriptThreads):
8418 (runJavaScriptThread):
8419 (startJavaScriptThreads):
8420 (stopJavaScriptThreads):
8422 2007-12-03 Andrew Bonventre <andybons@google.com>
8424 Reviewed by Darin Adler.
8426 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
8427 Symbol lookup menu broken in debugger view
8429 * Drosera/debugger.js: Fixed javascript error where document property
8430 should have been used instead of contentDocument in switchFunction that
8431 was breaking the select symbol dropdown menu. This is because
8432 window.frames will return a Window object and not a frame object like
8433 the author was originally expecting.
8435 2007-12-03 Kevin McCullough <kmccullough@apple.com>
8439 - <rdar://5618942> Drosera: Console window does not process everything
8441 - <rdar://5619005> Drosera: could be sped up by moving the
8442 WebScriptScope stuff into the WebScriptCallFrame.
8443 - Now the console can correctly process objects and does not receive
8444 notifications from JavaScriptCore about the JavaScript in Drosera's
8447 * Drosera/win/DebuggerDocumentPlatform.cpp:
8448 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8449 (DebuggerDocument::platformValueForScopeVariableNamed):
8451 2007-12-03 Stephanie <slewis@apple.com>
8453 Reviewed by Darin Adler.
8455 Check to see if we are building a debug root
8457 * Scripts/check-for-global-initializers:
8459 2007-12-03 Dan Bernstein <mitz@apple.com>
8461 Reviewed by Darin Adler.
8463 - added a testGetIntIdentifier() method to TestNetscapePlugIn
8465 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
8468 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
8472 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
8473 in a more fine-grained manner than eventSender.keyDown().
8475 * DumpRenderTree/win/EventSender.cpp:
8476 (getConstantCallback):
8477 (dispatchMessageCallback):
8479 2007-12-02 Darin Adler <darin@apple.com>
8481 * Scripts/do-webcore-rename: More planned renaming.
8483 2007-12-02 Sam Weinig <sam@webkit.org>
8485 Rubber stamped by Anders.
8487 Use [NSURL absoluteString] instead of [NSURL description] in order to get
8488 more uniform results cross platform.
8490 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
8491 (-[NSURL _drt_descriptionSuitableForTestResult]):
8493 2007-12-02 Sam Weinig <sam@webkit.org>
8495 Rubber stamped by Niko.
8497 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
8499 * DumpRenderTree/win/DumpRenderTree.cpp:
8500 * DumpRenderTree/win/DumpRenderTree.vcproj:
8501 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
8502 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
8503 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
8504 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
8506 2007-12-01 Alp Toker <alp@atoker.com>
8508 Reviewed by Adam Roben.
8510 Make use of the newly introduced webkit.h convenience header.
8512 * GtkLauncher/main.c:
8514 2007-12-01 Adam Treat <treat@kde.org>
8518 * Check to see if the directory exists and exit if not.
8520 * DumpRenderTree/qt/main.cpp:
8523 2007-12-01 Adam Treat <treat@kde.org>
8527 * Don't hide symbols when in Debug mode
8528 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
8531 * DumpRenderTree/qt/main.cpp:
8534 2007-11-30 Alp Toker <alp@atoker.com>
8536 Reviewed by Adam Roben.
8538 http://bugs.webkit.org/show_bug.cgi?id=15691
8539 [GTK] Public API does not follow GTK+ conventions
8541 Refactor the WebKit/GTK+ public API. Changes:
8542 WebKitPage -> WebKitWebView
8543 WebKitFrame -> WebKitWebFrame
8545 Public API source and header names have been updated to mirror the API
8548 The API is now kept in WebKit/gtk/WebView to match other ports in the
8549 same class such as Mac and Win.
8551 * GtkLauncher/main.c:
8552 (activate_uri_entry_cb):
8555 (progress_change_cb):
8561 2007-11-30 Adam Roben <aroben@apple.com>
8563 Hopefully the final build fix
8565 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
8566 pull in WTF's assertion/logging functions.
8568 2007-11-30 Adam Roben <aroben@apple.com>
8572 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
8575 2007-11-30 Adam Roben <aroben@apple.com>
8579 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
8581 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
8583 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
8584 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
8585 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
8587 2007-11-30 Sam Weinig <sam@webkit.org>
8589 Reviewed by Adam Roben.
8591 Fix drawSelectionRect to actually draw the selection rect.
8593 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
8594 (drawSelectionRect):
8596 2007-11-30 Darin Adler <darin@apple.com>
8598 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
8600 2007-11-30 Darin Adler <darin@apple.com>
8602 * Scripts/do-webcore-rename: Get ready for some future renaming.
8604 2007-11-29 Kevin McCullough <kmccullough@apple.com>
8608 - Removed some unnecessary functions and changed an unused return type.
8610 * Drosera/win/DebuggerClient.cpp:
8611 (registerConsoleClass):
8612 * Drosera/win/DebuggerClient.h:
8613 * Drosera/win/Drosera.cpp:
8614 (registerDroseraClass):
8616 2007-11-28 Alp Toker <alp@atoker.com>
8618 Reviewed by Timothy Hatcher.
8620 http://bugs.webkit.org/show_bug.cgi?id=16174
8621 [GTK] Use "URI" not "URL" in public API
8623 Replace use of the term "URL" with "URI" in public headers,
8624 documentation and some internal code to match GLib/GTK+ convention.
8626 This is now mentioned in the API guidelines:
8627 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
8629 * GtkLauncher/main.c:
8630 (activate_uri_entry_cb):
8635 2007-11-29 Anders Carlsson <andersca@apple.com>
8639 <rdar://problem/5230478>
8640 FrameLoadDelegate callbacks are not dumped in DRT.
8642 * DumpRenderTree/win/DumpRenderTree.cpp:
8643 (shouldLogFrameLoadDelegates):
8646 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
8648 (descriptionSuitableForTestResult):
8649 (FrameLoadDelegate::QueryInterface):
8650 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
8651 (FrameLoadDelegate::didFailProvisionalLoadWithError):
8652 (FrameLoadDelegate::didCommitLoadForFrame):
8653 (FrameLoadDelegate::didFinishLoadForFrame):
8654 (FrameLoadDelegate::willCloseFrame):
8655 (FrameLoadDelegate::didClearWindowObject):
8656 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
8657 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
8658 * DumpRenderTree/win/FrameLoaderDelegate.h:
8659 (FrameLoadDelegate::windowScriptObjectAvailable):
8660 (FrameLoadDelegate::didFirstLayoutInFrame):
8662 2007-11-29 Sam Weinig <sam@webkit.org>
8666 Add database quota UIDelegates methods to DRT UIDelegate.
8668 * DumpRenderTree/mac/UIDelegate.mm:
8669 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
8670 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
8672 2007-11-29 Kevin McCullough <kmccullough@apple.com>
8676 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
8677 dying and vice versa.
8678 - This fix will allow Drosera and Safari to reconnect if either of them
8679 closes correctly, but does not fix the case where one of them dies
8682 * Drosera/win/ServerConnection.cpp:
8683 (ServerConnection::attemptToCreateServerConnection): Added a safety
8684 check, because it's possilbe to try to connect to a server that's dying.
8685 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
8686 the server has died.
8687 * Drosera/win/ServerConnection.h: Added the new function and removed
8688 an unnecessary member.
8690 2007-11-29 Anders Carlsson <andersca@apple.com>
8692 * DumpRenderTree/win/DumpRenderTree.vcproj:
8693 Add shlwapi.lib to all configurations.
8695 2007-11-29 Kevin McCullough <kmccullough@apple.com>
8697 - Build fix. Added additional includes for VS Express to the Release
8700 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8702 2007-11-29 Anders Carlsson <andersca@apple.com>
8706 <rdar://problem/5132005>
8707 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
8709 * DumpRenderTree/win/DumpRenderTree.vcproj:
8712 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8713 (LayoutTestController::setUserStyleSheetEnabled):
8716 (appendComponentToPath):
8717 New method which wraps the Win32 API PathAppend.
8720 New method which checks if a file points to a shortcut and
8721 follows the shortcut.
8723 (resolveCygwinPath):
8724 New method that takes a cygwin unix-style path and returns the Win32 path.
8726 (cfStringRefToWString):
8728 (LayoutTestController::setUserStyleSheetLocation):
8731 2007-11-29 Alice Liu <alice.liu@apple.com>
8735 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
8737 * DumpRenderTree/win/EventSender.cpp:
8739 uppercase letters were being sent as lowercase letters without the shift key down.
8741 2007-11-29 Kevin McCullough <kmccullough@apple.com>
8743 - Windows build fix. VS express needs some love.
8745 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8747 2007-11-28 Darin Adler <darin@apple.com>
8749 Reviewed by Adam Roben.
8751 * DumpRenderTree/mac/EventSendingController.mm:
8752 (-[EventSendingController keyDown:withModifiers:]):
8753 Send capital letters through as lowercase letters with the shift key down
8754 rather than sending them as if they were highly unusual "capital letter keys".
8756 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
8757 where you need to update results and more tests are failing than before.
8759 2007-11-28 Anders Carlsson <andersca@apple.com>
8761 Reviewed by Darin Adler.
8763 <rdar://problem/5132001>
8764 contextClick is not implemented in DRT on Windows.
8766 * DumpRenderTree/win/EventSender.cpp:
8767 (contextClickCallback):
8768 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
8769 by a WM_RBUTTONUP message.
8771 * DumpRenderTree/win/UIDelegate.cpp:
8772 (UIDelegate::hasCustomMenuImplementation):
8773 (UIDelegate::trackCustomPopupMenu):
8774 * DumpRenderTree/win/UIDelegate.h:
8775 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
8776 menu from being shown (and causing the DRT to hang).
8778 2007-11-27 Maciej Stachowiak <mjs@apple.com>
8780 Reviewed by Darin Adler.
8782 Fix DumpRenderTree ObjC bug comparing strings.
8784 * DumpRenderTree/mac/ObjCController.m:
8785 (-[ObjCController identityIsEqual::]): Compare strings with string
8786 equality instead of identiy equality.
8788 2007-11-27 Timothy Hatcher <timothy@apple.com>
8792 Reset the authorAndUserStylesEnabled preference
8793 back to YES for each test. Fixes the broken tests.
8795 * DumpRenderTree/mac/DumpRenderTree.mm:
8796 (resetWebViewToConsistentStateBeforeTesting):
8798 2007-11-27 Kevin McCullough <kmccullough@apple.com>
8802 - Drosera now displays the console window, although it cannot currently
8805 * Drosera/win/DebuggerClient.cpp: Shows the console window.
8806 (registerConsoleClass): Implemented.
8807 (consoleWndProc): Implemented.
8808 (DebuggerClient::onSize): Implemented.
8809 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
8811 * Drosera/win/DebuggerClient.h: Added needed method and members for
8812 creating and maintaining a new window.
8813 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
8814 lines of code to more appropriate places.
8815 (Drosera::handleCommand):
8820 2007-11-27 Timothy Hatcher <timothy@apple.com>
8822 Reviewed by Dave Hyatt.
8824 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
8826 Add support for disabling author and user styles for testing.
8828 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8829 * DumpRenderTree/LayoutTestController.cpp:
8830 (setAuthorAndUserStylesEnabledCallback):
8831 (LayoutTestController::staticFunctions):
8832 * DumpRenderTree/LayoutTestController.h:
8833 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8834 (LayoutTestController::setAuthorAndUserStylesEnabled):
8835 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8836 (LayoutTestController::setAuthorAndUserStylesEnabled):
8838 2007-11-26 Dan Bernstein <mitz@apple.com>
8842 * DumpRenderTree/mac/Configurations/Base.xcconfig:
8844 2007-11-26 Kevin McCullough <kmccullough@apple.com>
8848 - Implemented displaying variables for Drosera on Win.
8850 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
8851 that retrieve variables to not hold onto the return value since it's
8852 not returned. Also changed to use the new signatures of the retrieval
8854 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8855 (DebuggerDocument::platformValueForScopeVariableNamed):
8856 * Drosera/win/Drosera.cpp: Removed a needless TODO.
8859 2007-11-26 Sam Weinig <sam@webkit.org>
8861 Cleanup names of painting and repainting functions.
8863 Reviewed by Adam Roben.
8865 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
8866 (drawSelectionRect): was drawSelectionRectIntoContext.
8867 (dumpWebViewAsPixelsAndCompareWithExpected):
8868 * DumpRenderTree/cg/PixelDumpSupportCG.h:
8869 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
8870 (paintWebView): was drawWebViewIntoContext.
8871 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
8873 2007-11-26 Sam Weinig <sam@webkit.org>
8875 Reviewed by Dan Bernstein.
8879 * DumpRenderTree/mac/Configurations/Base.xcconfig:
8881 2007-11-26 Sam Weinig <sam@webkit.org>
8883 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
8884 Use shared PixelDumpSupport for Mac DRT
8886 Reviewed by Adam Roben.
8888 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8889 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
8890 * DumpRenderTree/cg/ImageDiffCG.cpp:
8891 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
8892 (drawSelectionRectIntoContext):
8893 (dumpWebViewAsPixelsAndCompareWithExpected):
8894 * DumpRenderTree/cg/PixelDumpSupportCG.h:
8895 * DumpRenderTree/mac/Configurations/Base.xcconfig:
8896 * DumpRenderTree/mac/DumpRenderTree.mm:
8898 * DumpRenderTree/mac/ImageDiff.m: Removed.
8899 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
8900 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
8901 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
8902 (setDefaultColorProfileToRGB):
8903 (getBitmapContextFromWebView):
8904 (drawWebViewIntoContext):
8905 (repaintWithVerticalSweep):
8906 (repaintWithHorizontalSweep):
8908 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
8910 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
8912 Bug 16052: prepare-ChangeLog doesn't report deleted files
8913 <http://bugs.webkit.org/show_bug.cgi?id=16052>
8917 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
8919 2007-11-25 David Kilzer <ddkilzer@webkit.org>
8921 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
8922 <http://bugs.webkit.org/show_bug.cgi?id=15864>
8926 Roll functionality of merge-changelog into resolve-ChangeLogs
8927 script. The script now checks for ChangeLog.rej and
8928 ChangeLog.orig files first. If it finds them, it uses the
8929 ChangeLog.rej file as a patch (in old contextual diff format) to
8930 apply with --fuzz=3.
8932 * Scripts/merge-changelog: Removed.
8933 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
8935 2007-11-25 Sam Weinig <sam@webkit.org>
8937 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
8939 Reviewed by Mark Rowe.
8941 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8942 * DumpRenderTree/mac/Configurations/Base.xcconfig:
8943 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
8944 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
8945 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
8947 2007-11-25 Sam Weinig <sam@webkit.org>
8949 Convert DumpRenderTree to ues .xcconfig files.
8951 Reviewed by Mark Rowe.
8953 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8954 * DumpRenderTree/mac/Configurations: Added.
8955 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
8956 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
8957 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
8959 2007-11-25 Sam Weinig <sam@webkit.org>
8961 Add ForwardingHeaders to wtf for DumpRenderTree.
8963 Reviewed by Mark Rowe.
8965 * DumpRenderTree/DumpRenderTree.h:
8966 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8967 * DumpRenderTree/ForwardingHeaders: Added.
8968 * DumpRenderTree/ForwardingHeaders/wtf: Added.
8969 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
8970 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
8971 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
8972 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
8973 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
8974 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
8975 * DumpRenderTree/LayoutTestController.cpp:
8976 * DumpRenderTree/WorkQueue.cpp:
8977 * DumpRenderTree/mac/DumpRenderTree.mm:
8978 * DumpRenderTree/mac/FrameLoadDelegate.mm:
8979 * DumpRenderTree/mac/JavaScriptThreading.cpp:
8980 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8981 * DumpRenderTree/mac/ObjCController.m:
8982 * DumpRenderTree/mac/UIDelegate.mm:
8983 * DumpRenderTree/mac/WorkQueueItemMac.mm:
8985 2007-11-25 Adam Roben <aroben@apple.com>
8987 Fix some test failures caused by r28019
8989 Now that stdout is in binary mode, we need to always use printf
8990 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
8995 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
8997 (UIDelegate::runJavaScriptAlertPanelWithMessage):
8998 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
8999 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
9000 (UIDelegate::webViewAddMessageToConsole):
9002 2007-11-25 Adam Roben <aroben@apple.com>
9004 Set the font smoothing preference in DRT
9006 This makes the pixel results on Windows closer to the Mac results.
9010 * DumpRenderTree/win/DumpRenderTree.cpp:
9011 (initializePreferences):
9013 2007-11-25 Adam Roben <aroben@apple.com>
9015 Port ImageDiff to CG and C++
9017 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
9022 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
9023 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
9025 (createImageFromStdin):
9027 (getDifferenceBitmap):
9028 (computePercentageDifferent):
9029 * DumpRenderTree/win/ImageDiff.vcproj: Added.
9031 2007-11-25 Adam Roben <aroben@apple.com>
9033 Fix image diff link generation on Windows
9037 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
9040 2007-11-25 Adam Roben <aroben@apple.com>
9042 Implement pixel dumping in Windows DRT
9044 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
9049 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
9050 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
9051 Content-Length header.
9052 (getMD5HashStringForBitmap):
9053 (dumpWebViewAsPixelsAndCompareWithExpected):
9054 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
9055 * DumpRenderTree/win/DumpRenderTree.cpp:
9056 (dump): Do a pixel dump if requested.
9057 (main): Parse pixel test options.
9058 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
9059 the cg/ subdirectory to the include path.
9060 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
9061 available in a header or import library, so we have to go through this
9062 LoadLibrary/GetProcAddress dance to use them.
9070 * DumpRenderTree/win/MD5.h: Added.
9071 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
9072 moved up to the top level to share it with Mac eventually.
9073 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
9074 (getBitmapContextFromWebView): Forces the WebView to paint using a
9075 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
9077 2007-11-25 Adam Roben <aroben@apple.com>
9079 Clean up Windows DRT's option parsing a little bit
9083 * DumpRenderTree/win/DumpRenderTree.cpp:
9084 (main): Put non-option arguments into a Vector.
9086 2007-11-25 Adam Roben <aroben@apple.com>
9088 Make Windows DRT stop changing LF into CRLF
9092 * DumpRenderTree/win/DumpRenderTree.cpp:
9093 (main): Put stdout in binary mode.
9094 * Scripts/run-webkit-tests: Remove the CRLF hack.
9096 2007-11-24 David Kilzer <ddkilzer@webkit.org>
9098 Removed empty directory.
9100 * Scripts/resources: Removed.
9102 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
9104 Fix bisect-builds to work with recent WebKit nightly builds.
9108 * Scripts/bisect-builds: Check for the
9109 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
9110 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
9111 to WebKit.app/Contents/Resources.
9113 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
9117 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
9118 not closed (affects digg.com)
9120 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
9121 one after finishing with a test to avoid having its delayed onload handler firing when
9122 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
9123 but it helps somewhat.
9125 2007-11-22 Mark Rowe <mrowe@apple.com>
9127 Reviewed by Alp Toker.
9129 Fix build-webkit to propagate make's exit status if it fails.
9131 * Scripts/webkitdirs.pm:
9133 2007-11-22 Dan Bernstein <mitz@apple.com>
9135 Reviewed by Mark Rowe.
9137 - fix crash when running pixel tests
9139 * DumpRenderTree/mac/DumpRenderTree.mm:
9140 (dumpRenderTree): Parse the command line options before setting up the
9141 environment so that we know if we need to set up the pixel dump
9144 2007-11-21 Eric Seidel <eric@webkit.org>
9146 Speculative build fix for Tiger.
9148 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
9150 2007-11-21 Eric Seidel <eric@webkit.org>
9152 Reviewed by Tim Hatcher.
9154 Break out more of DumpRenderTree.mm into individual files
9156 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9157 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
9160 (makeLargeMallocFailSilently):
9161 * DumpRenderTree/mac/CheckedMalloc.h: Added.
9162 * DumpRenderTree/mac/DumpRenderTree.mm:
9165 * DumpRenderTree/mac/DumpRenderTreeMac.h:
9166 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
9167 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
9168 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
9169 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
9170 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
9171 (javaScriptThreads):
9172 (runJavaScriptThread):
9173 (startJavaScriptThreads):
9174 (stopJavaScriptThreads):
9175 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
9176 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
9177 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
9178 (restoreColorSpace):
9179 (setDefaultColorProfileToRGB):
9180 (initializeColorSpaceAndScreeBufferForPixelTests):
9181 (md5HashStringForBitmap):
9182 (dumpWebViewAsPixelsAndCompareWithExpected):
9184 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
9186 Move install-unix-extras to wx directory as it seems only to be used by that
9187 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
9188 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
9189 have install-unix-extras install into WebKitLibraries as per
9192 Reviewed by Mark Rowe.
9194 * Scripts/install-unix-extras: Removed.
9195 * wx/build-wxwebkit:
9196 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
9198 2007-11-21 Eric Seidel <eric@webkit.org>
9202 More refactoring for greater code readability
9204 * DumpRenderTree/mac/DumpRenderTree.mm:
9205 (initializeGlobalsFromCommandLineOptions):
9206 (initializeColorSpaceAndScreeBufferForPixelTests):
9207 (addTestPluginsToPluginSearchPath):
9208 (useLongRunningServerMode):
9209 (runTestingServerLoop):
9210 (prepareConsistentTestingEnvironment):
9214 (dumpBackForwardListForWebView):
9215 (sizeWebViewForCurrentTest):
9216 (methodNameStringForFailedTest):
9217 (dumpBackForwardListForAllWindows):
9218 (dumpWebViewAsPixelsAndCompareWithExpected):
9219 (invalidateAnyPreviousWaitToDumpWatchdog):
9221 * DumpRenderTree/mac/DumpRenderTreeMac.h:
9222 * DumpRenderTree/mac/UIDelegate.mm:
9223 (-[UIDelegate webView:createWebViewWithRequest:]):
9225 2007-11-21 Eric Seidel <eric@webkit.org>
9227 Reviewed by Tim Hatcher.
9229 Abstract more of DRT into static methods
9231 * DumpRenderTree/mac/DumpRenderTree.mm:
9232 (setDefaultsToConsistentValuesForTesting):
9233 (setupSignalHandlers):
9234 (allocateGlobalControllers):
9236 (releaseGlobalControllers):
9238 (shouldLogFrameLoadDelegates):
9239 (createCFURLFromPathOrURL):
9240 (resetWebViewToConsistentStateBeforeTesting):
9243 2007-11-21 Eric Seidel <eric@webkit.org>
9245 Reviewed by Tim Hatcher.
9247 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
9249 * DumpRenderTree/DumpRenderTree.h:
9250 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9251 * DumpRenderTree/mac/DumpRenderTree.mm:
9255 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
9256 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
9257 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
9258 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
9259 (-[DumpRenderTreePasteboard declareType:owner:]):
9260 (+[LocalPasteboard alloc]):
9261 (-[LocalPasteboard init]):
9262 (-[LocalPasteboard dealloc]):
9263 (-[LocalPasteboard name]):
9264 (-[LocalPasteboard releaseGlobally]):
9265 (-[LocalPasteboard declareTypes:owner:]):
9266 (-[LocalPasteboard addTypes:owner:]):
9267 (-[LocalPasteboard changeCount]):
9268 (-[LocalPasteboard types]):
9269 (-[LocalPasteboard availableTypeFromArray:]):
9270 (-[LocalPasteboard setData:forType:]):
9271 (-[LocalPasteboard dataForType:]):
9272 (-[LocalPasteboard setPropertyList:forType:]):
9273 (-[LocalPasteboard setString:forType:]):
9274 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
9275 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
9276 (+[DumpRenderTreeWindow allWindows]):
9277 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
9278 (-[DumpRenderTreeWindow dealloc]):
9279 (-[DumpRenderTreeWindow isKeyWindow]):
9280 (-[DumpRenderTreeWindow keyDown:]):
9282 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
9284 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
9285 it indiscriminately copies any headers inside JavaScriptCore,
9286 which includes Tiger ICU headers.
9288 * wx/build-wxwebkit:
9289 Don't run WebCore/move-js-headers.sh any longer.
9291 2007-11-20 Adam Treat <treat@kde.org>
9293 Reviewed by David Kilzer.
9295 * Prepend git branch name to $baseProductDir
9297 * Scripts/VCSUtils.pm:
9298 * Scripts/webkitdirs.pm:
9300 2007-11-20 Mark Rowe <mrowe@apple.com>
9302 Reviewed by Simon Hausmann.
9304 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
9305 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
9306 Have it trigger a "make distclean" rather than "make clean" to ensure that the
9307 built product and generated Makefile's are removed.
9309 2007-11-19 Alp Toker <alp@atoker.com>
9311 Reviewed by Mark Rowe.
9313 http://bugs.webkit.org/show_bug.cgi?id=16040
9314 [GTK] GtkLauncher should be written in C
9316 Port GtkLauncher to plain C.
9318 Use a more conventional GTK+ coding style.
9320 Use a toolbar instead of menus.
9322 Various signature fixes and cleanups.
9324 Add a license header. Assume all previous modifications were copyright
9325 assigned to Apple Inc. by default.
9327 * GtkLauncher/GtkLauncher.pro:
9328 * GtkLauncher/main.c: Added.
9329 (activate_url_entry_cb):
9333 (progress_change_cb):
9342 * GtkLauncher/main.cpp: Removed.
9344 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
9346 Build script fixes to ensure they do the right thing for the
9347 wx port, and update build-wxwebkit to reflect the way the
9348 build scripts now work.
9352 * Scripts/build-testkjs:
9353 * Scripts/build-webkit:
9354 * Scripts/run-javascriptcore-tests:
9355 * Scripts/webkitdirs.pm:
9356 * wx/build-wxwebkit:
9358 2007-11-18 Eric Seidel <eric@webkit.org>
9362 Make run-javascriptcore-tests report failures on exit (to support git bisect)
9364 * Scripts/run-javascriptcore-tests:
9366 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
9368 Reviewed by Adam Roben.
9370 Make run-webkit-tests work with Windows debug build.
9372 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
9373 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
9374 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
9375 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
9376 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
9378 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
9380 Add wxWebKit sample and build script, and integrate it with
9381 build-webkit. Also make build-webkit --clean work for all
9384 Reviewed by Darin Adler.
9386 * Scripts/build-webkit:
9387 * Scripts/webkitdirs.pm:
9389 * wx/browser: Added.
9390 * wx/browser/browser.bkl: Added.
9391 * wx/browser/browser.cpp: Added.
9392 * wx/build-wxwebkit: Added.
9394 2007-11-17 Adam Roben <aroben@apple.com>
9396 Make it easy to run Safari in the debugger on Windows
9398 I've added a new script, debug-safari, which launches Safari in the
9399 debugger. On OS X it just calls gdb-safari.
9401 Reviewed by Mark Rowe.
9403 * FindSafari/FindSafari.cpp:
9404 (_tmain): Added a /debugger flag, which in combination with
9405 /printSafariLauncher will print a script that launches Safari in the
9407 * Scripts/debug-safari: Added.
9408 * Scripts/run-safari: Changed to call runSafari().
9409 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
9410 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
9411 first argument along to FindSafari.
9412 * Scripts/webkitdirs.pm:
9413 (sub runSafari): Added.
9415 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
9417 Reviewed by Adam Roben.
9419 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
9421 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
9423 Reviewed by David Kilzer.
9425 The git config command was renamed to repo-config at some point. This
9426 change tries git config and then git repo-config if the first fails.
9428 * Scripts/prepare-ChangeLog:
9431 2007-11-16 Dan Bernstein <mitz@apple.com>
9433 Reviewed by Darin Adler and Sam Weinig.
9435 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
9437 * DumpRenderTree/win/EventSender.cpp:
9438 (keyDownCallback): For characters that cannot be entered on the active
9439 keyboard layout, send a WM_CHAR message with the character along with
9440 a WM_KEYDOWN message with a virtual key code of 255.
9442 2007-11-16 Mark Rowe <mrowe@apple.com>
9444 Reviewed by Tim Hatcher.
9446 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
9448 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9449 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9451 2007-11-15 Adam Roben <aroben@apple.com>
9453 Make run-safari actually work on Windows
9455 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
9458 2007-11-14 Adam Roben <aroben@apple.com>
9460 Updates to Safari launching now that 3.0.4 is released
9464 * FindSafari/FindSafari.cpp:
9465 (getWebViewCLSID): Use version-independent ProgID.
9466 * Scripts/run-safari: Use run-webkit-nightly.cmd.
9468 2007-11-14 Anders Carlsson <andersca@apple.com>
9472 <rdar://problem/5309081>
9473 In DRT, "plugin.logDestroy = true" not working on Windows.
9475 * DumpRenderTree/win/TestNetscapePlugin/main.c:
9478 2007-11-14 Eric Seidel <eric@webkit.org>
9482 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
9484 2007-11-14 Anders Carlsson <andersca@apple.com>
9488 <rdar://problem/5141186>
9489 window.layoutTestController.setWindowIsKey is not implemented in DRT.
9491 Implement setWindowIsKey.
9493 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9494 (LayoutTestController::setWindowIsKey):
9496 2007-11-13 Sam Weinig <sam@webkit.org>
9498 Reviewed by Adam Roben.
9500 Fix for <rdar://problem/5382579>
9501 http/tests/security/cross-frame-access-put.html reports large
9502 negative numbers for screenLeft and screenTop (Mac reports "0")
9504 * DumpRenderTree/win/UIDelegate.cpp:
9505 (UIDelegate::UIDelegate): Initialize the RECT.
9506 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
9507 (UIDelegate::webViewFrame): ditto.
9508 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
9510 2007-11-13 Kevin McCullough <kmccullough@apple.com>
9514 - Make Drosera show source, source URLs, and function stack on Windows,
9515 and some minor fixes.
9517 * Drosera/DebuggerDocument.cpp: Force source to always update display.
9518 (DebuggerDocument::updateFileSource):
9519 * Drosera/debugger.js: Force source to always update display.
9520 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
9522 (DebuggerClient::resume):
9523 (DebuggerClient::pause):
9524 (DebuggerClient::stepInto):
9525 (DebuggerClient::stepOver):
9526 (DebuggerClient::stepOut):
9527 (DebuggerClient::showConsole):
9528 (DebuggerClient::closeCurrentFile):
9529 * Drosera/win/DebuggerClient.h: Ditto.
9530 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
9531 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
9532 removed two bugs. 1) caller could be in a bad state when asked to
9533 assign into it. 2) BSTRs were not created correctly.
9534 (DebuggerDocument::getPlatformCurrentFunctionStack):
9535 * Drosera/win/Drosera.cpp: Hook up the menu controls.
9540 (Drosera::stepInto):
9541 (Drosera::stepOver):
9543 (Drosera::showConsole):
9544 (Drosera::closeCurrentFile):
9545 * Drosera/win/Drosera.h: Hook up the menu controls.
9546 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
9547 functions, added a null check, and fixed another bug where caller could
9548 be in a bad state when asked to assign into it.
9549 (ServerConnection::didLoadMainResourceForDataSource):
9550 (ServerConnection::getCallerFrame):
9551 * Drosera/win/ServerConnection.h: Safety first.
9553 2007-11-13 Dan Bernstein <mitz@apple.com>
9555 Reviewed by Darin Adler.
9557 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
9558 DumpRenderTree --pixel-tests renders each test twice
9560 * DumpRenderTree/mac/DumpRenderTree.mm:
9561 (dumpRenderTree): Removed the --paint option because the painting code
9562 is always exercised as a result of
9563 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
9564 calling -displayIfNeeded.
9565 (dump): Changed to always grab the image from the window since the view
9566 is always displayed.
9569 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
9570 because it always paints.
9572 2007-11-12 Antti Koivisto <antti@apple.com>
9576 Add support for http media tests
9578 * Scripts/run-webkit-tests:
9580 2007-11-12 Sam Weinig <sam@webkit.org>
9582 Reviewed by Adam Roben.
9584 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
9586 * DumpRenderTree/win/DumpRenderTree.cpp:
9588 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9589 (LayoutTestController::setPrivateBrowsingEnabled):
9591 2007-11-12 Adam Roben <aroben@apple.com>
9593 * Scripts/update-webkit-localizable-strings: Changed to only scan the
9594 mac and win subdirectories.
9596 2007-11-11 Adam Roben <aroben@apple.com>
9598 Fix <rdar://5133816> keepWebHistory is not implemented
9600 Fixes fast/history/clicked-link-is-visited.html.
9602 Reviewed by Darin Adler.
9604 * DumpRenderTree/win/DumpRenderTree.cpp:
9605 (runTest): Clear the optionalSharedHistory.
9606 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9607 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
9609 2007-11-10 Sam Weinig <sam@webkit.org>
9611 Reviewed by Tim Hatcher.
9613 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
9614 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
9617 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
9619 Added test: http/tests/security/cross-frame-access-private-browsing.html
9621 * DumpRenderTree/LayoutTestController.cpp:
9622 (setPrivateBrowsingEnabledCallback):
9623 (LayoutTestController::staticFunctions):
9624 * DumpRenderTree/LayoutTestController.h:
9625 * DumpRenderTree/mac/DumpRenderTree.mm:
9626 (runTest): Default to private browsing disabled.
9627 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9628 (LayoutTestController::setPrivateBrowsingEnabled):
9629 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9630 (LayoutTestController::setPrivateBrowsingEnabled):
9632 2007-11-08 Kevin McCullough <kmccullough@apple.com>
9636 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
9639 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
9640 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
9641 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
9642 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
9643 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
9644 * Drosera/win/Drosera.cpp:
9645 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9647 2007-11-08 Kevin McCullough <kmccullough@apple.com>
9651 - Use the new IWebFrame [local] function signature and get the shared
9654 * Drosera/win/DebuggerClient.cpp:
9655 (DebuggerClient::didFinishLoadForFrame):
9656 * Drosera/win/ServerConnection.cpp:
9657 (ServerConnection::attemptToCreateServerConnection):
9659 2007-11-07 Dan Bernstein <mitz@apple.com>
9661 Reviewed by Darin Adler.
9663 - add an option to run-webkit-tests to ignore pixel test failures where
9664 all pixels differ by no more than a specified threshold
9666 * DumpRenderTree/mac/ImageDiff.m:
9669 (computePercentageDifferent):
9670 * Scripts/run-webkit-tests:
9672 2007-11-07 Simon Hausmann <hausmann@kde.org>
9676 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
9678 * DumpRenderTree/qt/DumpRenderTree.cpp:
9680 2007-11-07 Simon Hausmann <hausmann@kde.org>
9684 Reworked the QWebSettings API.
9685 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
9687 * DumpRenderTree/qt/DumpRenderTree.cpp:
9689 2007-11-07 Simon Hausmann <hausmann@kde.org>
9693 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
9695 * DumpRenderTree/qt/jsobjects.cpp:
9697 2007-11-07 Simon Hausmann <hausmann@kde.org>
9699 Reviewed by Lars Knoll <lars@trolltech.com>.
9701 Add a QWebPage::frameCreated() signal and fix DRT
9703 The removal of createFrame in QWebPage broke the re-implementation
9704 in DumpRenderTree. Instead emit a frameCreated() signal and
9705 connect to it in DumpRenderTree.
9708 * DumpRenderTree/qt/DumpRenderTree.cpp:
9709 (WebCore::WebPage::WebPage):
9710 (WebCore::DumpRenderTree::dump):
9711 (WebCore::DumpRenderTree::connectFrame):
9712 * DumpRenderTree/qt/DumpRenderTree.h:
9714 2007-11-07 Simon Hausmann <hausmann@kde.org>
9716 Reviewed by Lars Knoll <lars@trolltech.com>.
9718 Moved all the event handlers from QWebFrame into QWebPage.
9720 This cleans up the public API and allows us to remove the
9721 HackWebFrame hack in DumpRenderTree.
9724 * DumpRenderTree/qt/jsobjects.cpp:
9725 (EventSender::mouseDown):
9726 (EventSender::mouseUp):
9727 (EventSender::mouseMoveTo):
9729 2007-11-07 Simon Hausmann <hausmann@kde.org>
9733 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
9734 to prevent the default implementation from popping up messageboxes.
9736 * DumpRenderTree/qt/DumpRenderTree.cpp:
9737 (WebCore::WebPage::javaScriptConfirm):
9738 (WebCore::WebPage::javaScriptPrompt):
9740 2007-11-06 Eric Seidel <eric@webkit.org>
9742 * Scripts/build-testkjs: build fix... too many $$
9744 2007-11-06 Eric Seidel <eric@webkit.org>
9746 Reviewed by Mark Rowe.
9748 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
9750 2007-11-05 Adam Roben <aroben@apple.com>
9752 Add support on Windows for WEBKIT_TESTFONTS
9754 This environment variable lets you specify where the fonts to be used
9755 by DumpRenderTree reside. The Qt port is already using this, so I'm
9756 just following their lead.
9758 Reviewed by Darin Adler.
9760 * DumpRenderTree/win/DumpRenderTree.cpp:
9761 (exePath): Refactored code out of initialize().
9762 (fontsPath): Returns either $WEBKIT_TESTFONTS or
9763 DumpRenderTree.resources.
9764 (initialize): Use the new fontsPath function.
9765 (main): Use the new exePath function.
9766 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
9767 variable to DRT, like Qt does.
9769 2007-11-05 Mark Rowe <mrowe@apple.com>
9771 Rubber-stamped by Alp Toker.
9773 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
9775 * GtkLauncher/main.cpp:
9779 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
9781 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
9782 <http://bugs.webkit.org/show_bug.cgi?id=15830>
9784 Reviewed by Timothy.
9786 Restrict the range of nightly builds used by the bisect-builds script
9787 based on the version of Safari and the version of Mac OS X being used.
9789 Mac OS X 10.4: Safari 2.0: r11976 or newer
9790 Mac OS X 10.4: Safari 3.0: r19992 or newer
9792 Mac OS X 10.5: Safari 2.0: r19594 or newer
9793 Mac OS X 10.5: Safari 3.0: r25124 or newer
9795 * Scripts/bisect-builds:
9796 (findMacOSXVersion): Added.
9797 (makeNightlyList): Added argument to provide version of Mac OS X.
9798 Restrict range of nightly builds based on Safari and Mac OS X versions.
9800 2007-11-04 Kevin McCullough <kmccullough@apple.com>
9804 - This patch involves several changes, all of them were noticed that
9805 they were needed by the work being done in WebKit to get Drosera and
9806 WebKit working together on Windows.
9808 1) Added a debugger console for output messages.
9809 2) Drosera now listens for the WebKit server (before, the server would
9810 have to be running before Drosera was started.)
9811 3) Fixed a bug where the WebView started out as 0x0 pixels.
9812 4) Fixed a bug when there is no scope.
9813 5) Added the HTML, JS, and CSS to the project file to make them easy to
9815 6) Made the ServerConnection functions virtual.
9817 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
9818 for the WebKit server.
9819 (DebuggerClient::DebuggerClient):
9820 (DebuggerClient::~DebuggerClient):
9821 (DebuggerClient::didFinishLoadForFrame):
9822 (DebuggerClient::serverConnected):
9823 (DebuggerClient::attemptToCreateServerConnection):
9824 * Drosera/win/DebuggerClient.h: Ditto.
9825 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
9827 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
9828 (DebuggerDocument::platformValueForScopeVariableNamed):
9829 * Drosera/win/Drosera.cpp:
9830 (_tWinMain): Added a console in debug for output messages.
9831 (Drosera::Drosera): Listen for server.
9832 (Drosera::initUI): The server now Initializes COM.
9833 (Drosera::serverConnected): Part of the listening for the server.
9834 (Drosera::attemptToCreateServerConnection): Ditto.
9835 * Drosera/win/Drosera.h: New interface for listening for the server.
9836 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
9837 files to the VS project.
9838 * Drosera/win/ServerConnection.cpp: Part of listening for the server
9840 (ServerConnection::ServerConnection):
9841 (ServerConnection::attemptToCreateServerConnection):
9842 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
9844 (ServerConnection::serverConnected):
9846 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
9850 http://bugs.webkit.org/show_bug.cgi?id=15832
9851 fast/dom/gc-10.html crashes when run alone
9853 Check for !done before using objects that can be already deallocated.
9855 * DumpRenderTree/mac/EditingDelegate.mm:
9856 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
9857 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
9858 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
9859 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
9860 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
9861 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
9862 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
9863 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
9864 (-[EditingDelegate webViewDidBeginEditing:]):
9865 (-[EditingDelegate webViewDidChange:]):
9866 (-[EditingDelegate webViewDidEndEditing:]):
9867 (-[EditingDelegate webViewDidChangeTypingStyle:]):
9868 (-[EditingDelegate webViewDidChangeSelection:]):
9869 * DumpRenderTree/mac/FrameLoadDelegate.mm:
9870 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
9871 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
9872 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
9873 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
9874 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
9875 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
9876 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
9877 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
9878 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
9879 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
9880 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
9881 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
9882 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
9883 (-[FrameLoadDelegate webView:willCloseFrame:]):
9884 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
9885 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
9886 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
9887 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
9888 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
9889 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
9890 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
9891 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
9892 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
9894 2007-11-04 Mark Rowe <mrowe@apple.com>
9896 Build fix. Don't use Carbon.h as the prefix header as it triggers
9897 warnings that would otherwise be suppressed due to it being a system header.
9899 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9901 2007-11-03 Maciej Stachowiak <mjs@apple.com>
9903 Rubber stamped by Adam.
9905 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
9907 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9909 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
9911 Sort files(...); sections of Xcode project files.
9913 Rubber-stamped by Darin Adler.
9915 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
9916 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9917 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9918 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
9920 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
9922 Script to sort "files(...);" sections in Xcode project.pbxproj files.
9924 Reviewed by Darin Adler.
9926 * Scripts/sort-Xcode-project-file: Added.
9928 2007-11-02 Darin Adler <darin@apple.com>
9930 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
9932 2007-11-02 Darin Adler <darin@apple.com>
9936 * Scripts/run-sunspider: Pass the "--base" option through.
9938 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
9939 the real script do that. Default configuration to Release to match run-sunspider
9940 so we don't end up building Debug just to compare results.
9942 2007-11-01 Adam Roben <aroben@apple.com>
9944 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
9948 * Scripts/commit-log-editor: Show all the directories beneath the
9949 source root, instead of just the last one.
9951 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
9953 Reviewed by Adam Roben.
9955 Print out an error message when the Windows build fails
9956 and provide guidance on how to find out what went wrong.
9958 * Scripts/build-webkit:
9959 * Scripts/webkitdirs.pm:
9961 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
9963 Rubber-stamped by Adam Roben.
9965 Rolled out r27326 - debug CRT seems to cause no problems after all.
9967 * DumpRenderTree/win/DumpRenderTree.vcproj:
9969 2007-10-31 Adam Roben <aroben@apple.com>
9971 Switch the Debug configuration to using the non-debug CRT
9973 This matches WebKit.
9977 * DumpRenderTree/win/DumpRenderTree.vcproj:
9979 2007-10-31 Antti Koivisto <antti@apple.com>
9983 Disable media tests when doing leak checking on Tiger.
9984 They crash in QuickTime (rdar://problem/5537157).
9986 * Scripts/run-webkit-tests:
9988 2007-10-29 Antti Koivisto <antti@apple.com>
9992 Build media support by default on OSX only.
9994 * Scripts/build-webkit:
9996 2007-10-30 Kevin McCullough <kmccullough@apple.com>
9998 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
9999 get caught by the pre-commit hooks.
10001 2007-10-30 Kevin McCullough <kmccullough@apple.com>
10005 - This is a collection of relatively unrelated changes and cleanups
10006 to Drosera to prepare it for interacting with WebKit. A lot of these
10007 changes are just correcting mistakes, for example removing included
10008 headers that are no longer needed.
10010 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
10011 this will be needed by the DebuggerClient.
10012 (DebuggerDocument::server):
10013 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
10014 * Drosera/win/DebuggerClient.cpp:
10015 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
10016 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
10017 (DebuggerClient::createWebViewWithRequest): Added comment about its
10019 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
10021 (DebuggerClient::webViewLoaded): Moved.
10022 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
10023 file, since this was the only place it was used.
10025 * Drosera/win/Drosera.h: Cleaned up the includes.
10026 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
10027 * Drosera/win/HelperFunctions.h: Removed.
10029 2007-10-30 Kevin McCullough <kmccullough@apple.com>
10033 - Small cleanup in the ServerConnection class.
10035 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
10036 and added an include.
10037 (ServerConnection::currentFrame):
10038 (ServerConnection::getCallerFrame):
10039 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
10040 made a pointer into a COMPtr, and cleaned up the includes.
10042 2007-10-29 Timothy Hatcher <timothy@apple.com>
10044 Reviewed by John Sullivan.
10046 - Place the Localizable.strings file in mac or win directories
10047 if that location exists.
10048 - Also look for UI_STRING in .c files.
10050 * Scripts/extract-localizable-strings:
10052 2007-10-30 Kevin McCullough <kmccullough@apple.com>
10056 - Set the eol-style to native and made all the line endings the same
10057 so that I avoid messy diffs that show eol changes.
10059 * Drosera/win/ServerConnection.cpp:
10060 (ServerConnection::didParseSource):
10061 (ServerConnection::didEnterCallFrame):
10062 (ServerConnection::willExecuteStatement):
10063 (ServerConnection::willLeaveCallFrame):
10064 (ServerConnection::exceptionWasRaised):
10066 2007-10-30 Kevin McCullough <kmccullough@apple.com>
10070 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
10071 functionality that could not have existed previously without the new
10073 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
10074 from a BSTR to a JSValueRef.
10075 (DebuggerDocument::platformEvaluateScript): Implemented.
10076 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
10077 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10079 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
10080 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
10081 * Drosera/win/ServerConnection.cpp: Added a helper function.
10082 (ServerConnection::getCallerFrame):
10083 * Drosera/win/ServerConnection.h: Added a helper function.
10085 2007-10-29 Kevin McCullough <kmccullough@apple.com>
10087 updated reviewers for my previous changelog.
10089 2007-10-29 Kevin McCullough <kmccullough@apple.com>
10090 Reviewed by Maciej and Adam and Geoff.
10092 - Minor mac-side improvements including moving a function to a more
10093 appropriate location, fixing a warning, and correctly checking
10096 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
10097 (DebuggerDocument::willExecuteStatement):
10098 (DebuggerDocument::didEnterCallFrame):
10099 (DebuggerDocument::willLeaveCallFrame):
10100 (DebuggerDocument::windowScriptObjectAvailable):
10101 (DebuggerDocument::callFunctionOnObject):
10102 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
10103 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
10104 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
10105 because it doesn't require the ServerConnection at all.
10106 (NSStringCreateWithJSStringRef): Made an argument const.
10107 (JSValueRefCreateWithNSString): Made an argument const.
10108 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
10109 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10110 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
10111 * Drosera/mac/ServerConnection.mm: Ditto.
10112 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
10114 2007-10-29 Sam Weinig <sam@webkit.org>
10116 Reviewed by Adam Roben.
10118 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
10120 * DumpRenderTree/LayoutTestController.cpp:
10121 (LayoutTestController::LayoutTestController):
10122 (getGlobalFlagCallback):
10123 (setGlobalFlagCallback):
10124 (LayoutTestController::getJSClass):
10125 (LayoutTestController::staticValues):
10126 * DumpRenderTree/LayoutTestController.h:
10127 (LayoutTestController::globalFlag):
10128 (LayoutTestController::setGlobalFlag):
10130 2007-10-29 Darin Adler <darin@apple.com>
10132 Reviewed by Maciej.
10134 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
10135 resolution instead of its default.
10137 2007-10-29 David Kilzer <ddkilzer@webkit.org>
10139 Fixed showStatus() to print status for successfully resolved conflicts when using git.
10141 Reviewed by Mark Rowe.
10143 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
10144 was successfully resolved, but this would not show any status because the change had
10145 already been cached in the index using "git add". The solution is to add an optional
10146 second argument to showStatus() which adds the "--cached" switch to the command.
10148 * Scripts/resolve-ChangeLogs:
10151 2007-10-28 Eric Seidel <eric@webkit.org>
10153 Reviewed by Maciej and Geoff, in unison.
10155 * Scripts/run-webkit-tests: remove broken --svg option
10157 2007-10-28 Darin Adler <darin@apple.com>
10161 * Scripts/run-sunspider: Default to "Release" configuration rather than
10162 defaulting to the last configuration used as other scripts do. This can
10163 still be overriden on the command line with "--debug" if there's some
10164 reason to do so. Also fix a typo.
10166 * Scripts/sunspider-compare-results: Fix a typo.
10168 2007-10-26 Kevin McCullough <kmccullough@apple.com>
10172 - Implemented the WebScriptDebugListener functions now that the
10173 WebScriptDebugServer exists
10175 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
10177 (ServerConnection::currentFrame):
10178 (ServerConnection::didLoadMainResourceForDataSource):
10179 (ServerConnection::didParseSource):
10180 (ServerConnection::failedToParseSource):
10181 (ServerConnection::didEnterCallFrame):
10182 (ServerConnection::willExecuteStatement):
10183 (ServerConnection::willLeaveCallFrame):
10184 (ServerConnection::exceptionWasRaised):
10185 * Drosera/win/ServerConnection.h: Removed unused arguments from the
10186 members arguments list.
10188 2007-10-26 David Kilzer <ddkilzer@webkit.org>
10190 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
10191 <http://bugs.webkit.org/show_bug.cgi?id=15600>
10193 Reviewed by Darin Adler.
10195 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
10196 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
10197 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
10198 file. Note that it may also be used as a stand-alone script.
10200 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
10201 * Scripts/resolve-ChangeLogs: Added.
10202 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
10204 2007-10-26 Mark Rowe <mrowe@apple.com>
10206 Qt build fix. r27084 added a destructor implementation for LayoutTestController
10207 to the Qt port on the assumption that it was an implementation of the cross-platform
10208 LayoutTestController class. It is not, so it did not need to be changed.
10210 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
10212 2007-10-25 Mark Rowe <mrowe@apple.com>
10214 Reviewed by Maciej.
10216 Fix builds with code coverage enabled.
10218 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
10220 2007-10-25 Darin Adler <darin@apple.com>
10222 Reviewed by Mark Rowe.
10224 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
10225 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
10227 2007-10-25 Stephanie <slewis@apple.com>
10231 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10233 2007-10-25 Stephanie <slewis@apple.com>
10235 Reviewed by Mark Rowe, Adam Roben.
10237 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
10239 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10241 2007-10-25 Alice Liu <alice.liu@apple.com>
10245 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
10247 Moving destructor into platform-specific files
10248 * DumpRenderTree/LayoutTestController.cpp:
10249 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10250 (LayoutTestController::~LayoutTestController):
10251 * DumpRenderTree/qt/jsobjects.cpp:
10252 (LayoutTestController::~LayoutTestController):
10254 LayoutTestController wasn't being destroyed
10255 * DumpRenderTree/win/DumpRenderTree.cpp:
10259 * DumpRenderTree/win/EditingDelegate.h:
10261 Reset certain values on the webview (or related delegate) that might
10262 have changed while running a test
10263 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
10264 (LayoutTestController::~LayoutTestController):
10266 2007-10-25 Adam Roben <aroben@apple.com>
10268 Make sunspider-compare-results work with relative paths
10272 * Scripts/sunspider-compare-results: Convert arguments to absolute
10273 paths before we chdir.
10275 2007-10-25 Kevin McCullough <kmccullough@apple.com>
10279 - Implemented server calls now the WebScriptDebugServer exists.
10280 - Also removed no longer needed call to initialize CG.
10282 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
10285 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
10286 (ServerConnection::ServerConnection):
10287 (ServerConnection::~ServerConnection):
10288 (ServerConnection::pause):
10289 (ServerConnection::resume):
10290 (ServerConnection::stepInto):
10291 (ServerConnection::applicationTerminating):
10292 (ServerConnection::serverConnectionDidDie):
10293 * Drosera/win/ServerConnection.h: Now uses the COM class.
10295 2007-10-24 George Staikos <staikos@kde.org>
10299 * Scripts/build-webkit:
10301 2007-10-24 Adam Roben <aroben@apple.com>
10303 Remove now-unnecessary call to InitializeCoreGraphics
10305 WebKit takes care of this now.
10309 * DumpRenderTree/win/DumpRenderTree.cpp:
10312 2007-10-24 Adam Roben <aroben@apple.com>
10314 Use WebTextRenderer in DRT
10318 * DumpRenderTree/win/DumpRenderTree.cpp:
10319 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
10321 2007-10-24 Sven Herzberg <sven@imendio.com>
10323 Reviewed by Mark Rowe.
10325 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
10326 Bug 15614: [GTK] qmake based backends don't build on OS X
10328 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
10329 GTK backend on a Mac
10330 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
10331 isDarwin() to make it reusable in other places (like the workaround-
10332 for-prebuilt-qmake in build-webkit)
10334 2007-10-24 David Kilzer <ddkilzer@webkit.org>
10336 Refurbish update-webkit script.
10340 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
10341 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
10342 multi-argument version of system() for flexibility and security. Check for existence
10343 of Internal directory using -d test instead of -x.
10345 2007-10-24 David Kilzer <ddkilzer@webkit.org>
10347 Minor clean-up of prepare-ChangeLog script.
10351 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
10352 of a string. Use multi-argument versions of open() and system() for flexibility and
10355 2007-10-24 Alice Liu <alice.liu@apple.com>
10357 Reviewed by Oliver.
10359 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
10361 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
10362 replay the saved events when we're still processing the mousedown that starts the drag
10363 * DumpRenderTree/win/EventSender.cpp:
10365 * DumpRenderTree/win/UIDelegate.cpp:
10366 (UIDelegate::doDragDrop):
10368 2007-10-24 Kevin McCullough <kmccullough@apple.com>
10370 Reviewed by Sam, Steve and Darin.
10372 - Stubbed out the WebScriptDebugListener functionality in the Server
10373 Connection class to prepare it for receiving those callbacks.
10374 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
10375 and the ServerConnection to not need to be initialized with a server
10376 name, since that is not the way we connect to the WebKit server.
10378 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
10379 no exception. Now it only loggs when there is an exception
10380 (DebuggerDocument::willExecuteStatement):
10381 (DebuggerDocument::didEnterCallFrame):
10382 (DebuggerDocument::willLeaveCallFrame):
10383 (DebuggerDocument::windowScriptObjectAvailable):
10384 (DebuggerDocument::callFunctionOnObject):
10385 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
10386 to be instantiated with a server's name.
10387 (DebuggerClient::DebuggerClient):
10388 (DebuggerClient::didFinishLoadForFrame):
10389 * Drosera/win/DebuggerClient.h: Removed unsued variable.
10390 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
10393 (Drosera::initServer):
10394 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
10395 instantiated with a server's name.
10396 * Drosera/win/ServerConnection.cpp:
10397 (ServerConnection::ServerConnection): No longer needs a server name
10398 (ServerConnection::~ServerConnection): Only release the global context
10400 (ServerConnection::serverConnectionDidDie): Stub for
10401 IWebScriptDebugListener
10402 (ServerConnection::QueryInterface): ditto
10403 (ServerConnection::AddRef): ditto
10404 (ServerConnection::Release): ditto
10405 (ServerConnection::didLoadMainResourceForDataSource): ditto
10406 (ServerConnection::didParseSource): ditto
10407 (ServerConnection::failedToParseSource): ditto
10408 (ServerConnection::didEnterCallFrame): ditto
10409 (ServerConnection::willExecuteStatement): ditto
10410 (ServerConnection::willLeaveCallFrame): ditto
10411 (ServerConnection::exceptionWasRaised): ditto
10412 * Drosera/win/ServerConnection.h: Stubbed out the
10413 IWebScriptDebugListener functions, and this class no longer needs to be
10414 instantiated with a server name.
10416 2007-10-24 Lars Knoll <lars@trolltech.com>
10420 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
10422 * DumpRenderTree/qt/jsobjects.h:
10424 2007-10-24 Lars Knoll <lars@trolltech.com>
10428 add another command.
10430 * DumpRenderTree/qt/jsobjects.cpp:
10431 (TextInputController::doCommand):
10433 2007-10-24 Lars Knoll <lars@trolltech.com>
10437 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
10439 * DumpRenderTree/qt/jsobjects.cpp:
10440 (EventSender::keyDown):
10441 * DumpRenderTree/qt/jsobjects.h:
10443 2007-10-24 Lars Knoll <lars@trolltech.com>
10447 implement eventSender.keyDown().
10449 * DumpRenderTree/qt/jsobjects.cpp:
10450 (EventSender::keyDown):
10452 2007-10-24 Lars Knoll <lars@trolltech.com>
10456 some smaller fixes to the editing support in DRT. Makes another few tests pass.
10458 * DumpRenderTree/qt/DumpRenderTree.cpp:
10459 (WebCore::DumpRenderTree::DumpRenderTree):
10460 (WebCore::DumpRenderTree::initJSObjects):
10461 * DumpRenderTree/qt/jsobjects.cpp:
10462 (TextInputController::doCommand):
10464 2007-10-24 Lars Knoll <lars@trolltech.com>
10468 first bit of implementation for the textinputcontroller.
10470 * DumpRenderTree/qt/DumpRenderTree.cpp:
10471 (WebCore::DumpRenderTree::DumpRenderTree):
10472 * DumpRenderTree/qt/DumpRenderTree.h:
10473 * DumpRenderTree/qt/jsobjects.cpp:
10474 (TextInputController::TextInputController):
10475 (TextInputController::doCommand):
10476 * DumpRenderTree/qt/jsobjects.h:
10478 2007-10-24 Lars Knoll <lars@trolltech.com>
10482 make the man webpage believe it has focus, so the editing tests work correctly.
10484 * DumpRenderTree/qt/DumpRenderTree.cpp:
10485 (WebCore::DumpRenderTree::DumpRenderTree):
10487 2007-10-24 Lars Knoll <lars@trolltech.com>
10491 implement layoutTestController.dumpEditingCallbacks() correctly.
10493 * DumpRenderTree/qt/DumpRenderTree.cpp:
10494 (WebCore::DumpRenderTree::DumpRenderTree):
10495 * DumpRenderTree/qt/jsobjects.cpp:
10496 (LayoutTestController::reset):
10497 (LayoutTestController::dumpEditingCallbacks):
10499 2007-10-24 Lars Knoll <lars@trolltech.com>
10503 Implement support for testing editing.
10505 * DumpRenderTree/qt/DumpRenderTree.cpp:
10506 (WebCore::DumpRenderTree::DumpRenderTree):
10508 2007-10-23 Sam Weinig <sam@webkit.org>
10510 Check for null BSTR that can be passed to the UIDelegate methods
10511 from javascript null and undefined. Fixes a failing test case on
10512 Windows (fast/dom/Window/alert-undefined.html)
10514 Reviewed by Eric Seidel.
10516 * DumpRenderTree/win/UIDelegate.cpp:
10517 (UIDelegate::runJavaScriptAlertPanelWithMessage):
10518 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
10519 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
10520 (UIDelegate::webViewAddMessageToConsole):
10522 2007-10-23 Maciej Stachowiak <mjs@apple.com>
10524 Reviewed by Darin Adler.
10526 Don't print a massive pile of setenvs from tools that automatically build testkjs.
10528 * Scripts/build-testkjs:
10530 2007-10-23 Maciej Stachowiak <mjs@apple.com>
10532 Reviewed by Darin Adler.
10534 - add wrapper that finds the right copy of testkjs
10536 * Scripts/sunspider-compare-results: Added.
10538 2007-10-23 Kevin McCullough <kmccullough@apple.com>
10542 - After talking with Steve I now see that the WebKit server must be
10543 running for DCOM to create the distributed objects, which makes sense
10544 and currently WebKit only allows one instance to be running at a time
10545 which avoids accidentally connecting to the wrong server
10546 - In light of this I have removed the code for the attach box and
10547 NotificationServer and known server names, since they are all extranious
10550 * Drosera/win/Drosera.cpp: Removed notification classes and known server
10552 (_tWinMain): Uses init instead of initUI.
10553 (droseraWndProc): No longer creats an attach dialog box.
10554 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
10555 it's not manditory to call init before doing COM stuff.
10556 (Drosera::init): calls initUI and will call attach when the
10557 functionality exists.
10558 (Drosera::initUI): Has changed very little.
10559 (Drosera::attach): Changed the signature to reflect that we no longer
10560 need the dictionary of known server names.
10561 * Drosera/win/Drosera.h: Removed notification classes and known server
10562 names. Also renamed and moved some functions.
10563 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
10564 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
10565 headers to the resources folder.
10566 * Drosera/win/resource.h: Removed the Attach box.
10568 2007-10-22 Adam Roben <aroben@apple.com>
10572 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
10574 2007-10-22 Kevin McCullough <kmccullough@apple.com>
10576 - Removed a leak that was fixed.
10578 * Scripts/run-webkit-tests:
10580 2007-10-19 Kevin McCullough <kmccullough@apple.com>
10582 Reviewed by Darin Adler.
10584 - Changed the Client so that the DebuggerDocument now own the
10585 ServerConnection. This simplifies ownership and cleanup.
10587 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
10589 (DebuggerClient::initWithServerName):
10590 (DebuggerClient::didFinishLoadForFrame):
10591 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
10593 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
10594 until after we have a server which we are attached to.
10597 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
10600 2007-10-22 Simon Hausmann <hausmann@kde.org>
10602 Reviewed by Nikolas.
10604 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
10606 * Scripts/run-javascriptcore-tests:
10608 2007-10-22 Simon Hausmann <hausmann@kde.org>
10610 Reviewed by Nikolas.
10612 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
10614 * Scripts/build-drosera:
10615 * Scripts/build-dumprendertree:
10616 * Scripts/build-testkjs:
10617 * Scripts/build-webkit:
10618 * Scripts/run-javascriptcore-tests:
10619 * Scripts/run-sunspider:
10620 * Scripts/run-webkit-tests:
10621 * Scripts/webkitdirs.pm:
10623 2007-10-22 Andrew Wellington <proton@wiretapped.net>
10625 Reviewed by Mark Rowe.
10627 Fix for local database support after r26879
10628 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
10630 * Scripts/build-webkit:
10632 2007-10-22 Holger Freyther <zecke@selfish.org>
10634 Reviewed by Simon Hausmann <hausmann@kde.org>.
10636 - Do not build testkjs as an application bundle. This is
10637 needed for run-javascriptcore-tests on OSX.
10638 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
10639 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
10640 as we do not have -rpath on OSX.
10642 * DumpRenderTree/qt/DumpRenderTree.pro:
10643 * Scripts/run-webkit-tests:
10645 2007-10-22 Simon Hausmann <hausmann@kde.org>
10647 Reviewed by aroben.
10649 Fix support for Signed-off-by detection in prepare-ChangeLog
10650 --git-commit. The Signed-off-by tag does not appear in the header
10651 but usually at the end.
10653 * Scripts/prepare-ChangeLog:
10655 2007-10-21 Mark Rowe <mrowe@apple.com>
10659 Fix run-javascriptcore-tests for Gtk.
10661 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
10663 2007-10-20 Eric Seidel <eric@webkit.org>
10665 Reviewed by aroben.
10667 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
10669 2007-10-20 Eric Seidel <eric@webkit.org>
10673 Add improved argument handling to run-sunspider, including
10674 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
10675 Also re-factor code into subroutines
10677 * Scripts/build-dumprendertree: removed bogus comments
10678 * Scripts/build-testkjs: Added.
10679 * Scripts/run-javascriptcore-tests: use build-testkjs
10680 * Scripts/run-sunspider: improved argument handling, abstraction
10681 * Scripts/run-webkit-tests: improved abstraction
10683 2007-10-20 Matt Lilek <webkit@mattlilek.com>
10685 Not reviewed, Windows build fix.
10687 * DumpRenderTree/win/EventSender.cpp:
10690 2007-10-20 Darin Adler <darin@apple.com>
10692 Reviewed by Tim Hatcher.
10694 - http://bugs.webkit.org/show_bug.cgi?id=15544
10695 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
10696 not rely on Apple-specific key codes
10698 * DumpRenderTree/mac/EventSendingController.mm:
10699 (-[EventSendingController keyDown:withModifiers:]):
10700 Added named key "rightArrow". Later we could have a whole table of these.
10701 Also tweaked modifiers code a little.
10703 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
10705 2007-10-19 Darin Adler <darin@apple.com>
10709 - http://bugs.webkit.org/show_bug.cgi?id=15566
10710 possible fix for leak seen in DumpRenderTree
10712 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
10713 Delete the item if it's not put on the queue, since the caller has
10714 no way of knowing that. Would be better to have the parameter type
10715 be auto_ptr to express the fact that we take ownership.
10719 * Drosera/mac/main.m: Add missing include.
10721 2007-10-19 Kevin McCullough <kmccullough@apple.com>
10725 - This change should be identical but for some reason was not working
10728 * Scripts/prepare-ChangeLog:
10730 2007-10-19 Kevin McCullough <kmccullough@apple.com>
10732 Reviewed by Oliver and Tim.
10734 - Made use of RetainPtr to avoid retain and release issues and moved the
10735 log function to DebuggerDocumentPlatform, which seems to be a more
10736 logical place for it to live.
10737 - Also moved knownServers from the ServerConnection to
10738 DebuggerApplication to match the Windows code and because it makes sense
10739 that a connection knows its own server but not all of them.
10741 * Drosera/mac/DebuggerClient.h: Moved the log function to
10742 DebuggerDocumentPlatform.
10743 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
10744 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
10745 call for the server name up from the ServerConnection class.
10746 (-[DebuggerClient dealloc]):
10747 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
10748 for the server name up from the ServerConnection.
10749 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
10750 (DebuggerDocument::platformPause):
10751 (DebuggerDocument::platformResume):
10752 (DebuggerDocument::platformStepInto):
10753 (DebuggerDocument::platformEvaluateScript):
10754 (DebuggerDocument::getPlatformCurrentFunctionStack):
10755 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10756 (DebuggerDocument::platformValueForScopeVariableNamed):
10757 (DebuggerDocument::platformLog): Log directly from here. No need to call
10759 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
10760 way I see it, a ServerConnection should only know about its connection
10761 and the group of all possible servers should be kept by the
10763 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
10764 currentServerName, it makes sense that the connection should know that
10766 (-[ServerConnection currentServerName]):
10768 2007-10-19 Kevin McCullough <kmccullough@apple.com>
10772 - Integrated changes from mac drosera. Recently I've encapsulated
10773 out the server connection object from the rest of Drosera because
10774 it is very platform dependent right now and RPC is not implemented on
10775 windows. This functionality, of communicating with the WebKit server
10776 is the next area I will be focusing on in Windows.
10778 - Other changes and cleanup were made to organize the code and add notes
10779 on which parts still need work. Also some mac code is added and
10780 commented out, to act as pseudocode for the logic of those parts.
10782 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
10784 * Drosera/config.h: Added whitespace.
10785 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
10786 these files got moved into Drosera.h/cpp
10787 * Drosera/win/DebuggerApplication.h: Removed.
10788 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
10789 happened here to better match the logic flow of the same code on the
10790 mac side and to use the new ServerConnection class.
10791 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
10792 (DebuggerClient::initWithServerName): Initializer that will set up the
10793 class to use a ServerConnection object. This was necessary so I could
10794 create a DebuggerClient without having to initilaize it at
10796 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
10797 will be the UIDelegate and FrameLoadDelegate.
10798 (DebuggerClient::AddRef): For IUnknown.
10799 (DebuggerClient::Release): For IUnknown.
10800 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
10801 this still needs to set the global context of the server, but
10802 IWebFrame does not have an accessor for the global context yet.
10803 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
10804 this is a pass through for the same function in the document.
10805 (DebuggerClient::didReceiveTitle): Unimplemented part of
10806 FrameLoadDelegate this would change the title of the window.
10807 (DebuggerClient::createWebViewWithRequest): Part of the
10808 FrameLoadDelegate. This is about new windows via Window.open() and
10809 how their delegates are set.
10810 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
10811 UIDelegate. Just a debug function for printing messages.
10812 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
10813 because the Client should be the UIDelegate and FrameLoadDelegate
10814 to match the delegates on mac.
10815 (DebuggerClient::webViewLoaded): Added accessor method.
10816 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
10817 forgotten to add this file before. This is where the platform
10818 dependent versions of the Documents functions live. Most of these are
10819 unimplemented because some piece of functionality does not exist on
10821 (DebuggerDocument::platformPause):
10822 (DebuggerDocument::platformResume):
10823 (DebuggerDocument::platformStepInto):
10824 (DebuggerDocument::platformEvaluateScript):
10825 (DebuggerDocument::getPlatformCurrentFunctionStack):
10826 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10827 (DebuggerDocument::platformValueForScopeVariableNamed):
10828 (DebuggerDocument::platformLog):
10829 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
10830 responsibilities becaue they belong in the Client. Also I laid the
10831 groundwork for attaching Drosera to a WebKit process
10832 (attachWndProc): Now if a server is selected the Client becomes it's
10834 (Drosera::Drosera): Added the construction of the Client and dictionary
10836 (Drosera::initUI): This is no longer the delegates, the Client is.
10837 (Drosera::webViewLoaded): Now asks the Client instead of holding local
10839 (Drosera::applicationDidFinishLaunching): Placeholder for needed
10840 notification registration when it's possible to implement.
10841 (Drosera::serverLoaded): Ditto
10842 (Drosera::serverUnloaded): Ditto
10843 (Drosera::attach): Attach Drosera to the WebKit server.
10844 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
10845 (Drosera::getInst):
10846 (Drosera::setInst):
10847 (Drosera::knownServers):
10848 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
10849 and added the ServerConnection.
10850 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
10851 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
10852 Most of the functions are completely unimlemented because they cannot
10853 connect with the WebKit server, because one does not exist on Windows
10855 (ServerConnection::initWithServerName):
10856 (ServerConnection::~ServerConnection):
10857 (ServerConnection::setGlobalContext):
10858 (ServerConnection::pause):
10859 (ServerConnection::resume):
10860 (ServerConnection::stepInto):
10861 (ServerConnection::switchToServerNamed):
10862 (ServerConnection::applicationTerminating):
10863 (ServerConnection::serverConnectionDidDie):
10864 (ServerConnection::currentFrame):
10865 * Drosera/win/ServerConnection.h: Added. Ditto.
10866 (ServerConnection::ServerConnection):
10868 2007-10-19 Alice Liu <alice.liu@apple.com>
10870 Reviewed by Darin Adler.
10872 Fix for these broken layout tests on Windows:
10874 fast/forms/focus-selection-input.html
10875 fast/forms/focus-selection-textarea.html
10876 fast/forms/select-accesskey.html
10878 * DumpRenderTree/win/EventSender.cpp:
10880 correct the VK code for alt key.
10882 2007-10-19 Eric Seidel <eric@webkit.org>
10884 Reviewed by Mark Rowe.
10886 Make the GtkLauncher code slightly more readable.
10888 * GtkLauncher/main.cpp:
10889 (setupMainMenu): Added.
10890 (setupMainWindowUI): Added.
10893 2007-10-19 Maciej Stachowiak <mjs@apple.com>
10895 Rubber stamped by Adam.
10897 - don't delay-load WebKit in DumpRenderTree.
10899 * DumpRenderTree/win/DumpRenderTree.vcproj:
10901 2007-10-18 Dan Bernstein <mitz@apple.com>
10903 Reviewed by Adam Roben.
10905 - fix <rdar://problem/5313523>
10906 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
10908 * DumpRenderTree/mac/DumpRenderTree.mm:
10909 (dump): Changed to use _responseMIMEType.
10911 2007-10-17 Adam Roben <aroben@apple.com>
10913 Make it possible to have Windows-specific tests and results
10915 When searching for tests to run and the Skipped file, we will only
10916 look in platform/win and the cross-platform directory. When looking
10917 for expected results, we will look in platform/win, then
10918 platform/mac-leopard, then platform/mac, then finally the
10919 cross-platform directory.
10923 * Scripts/run-webkit-tests:
10924 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
10925 searching in the cross-platform directory.
10926 (sub buildPlatformHierarchy): Removed some unneeded calls to
10929 2007-10-17 Adam Roben <aroben@apple.com>
10931 Add back the call to register WebKit that we had before WebKitInitializer existed
10933 This is needed to ensure that the right WebKit is used when
10934 instantiating COM objects.
10936 Reviewed by Oliver.
10938 * DumpRenderTree/win/debug_internal.vsprops: Define
10939 DEBUG_WEBKIT_HAS_SUFFIX.
10940 * DumpRenderTree/win/DumpRenderTree.cpp:
10943 2007-10-17 Adam Roben <aroben@apple.com>
10945 Import File::Basename in webkitdirs since we use it
10947 * Scripts/webkitdirs.pm:
10949 2007-10-17 Kevin McCullough <kmccullough@apple.com>
10951 - Updated the tiger leaks list to make the internal bots green.
10953 * Scripts/run-webkit-tests:
10955 2007-10-17 Adam Roben <aroben@apple.com>
10957 Build fix for VC++ Express
10959 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
10962 2007-10-16 Kevin McCullough <kmccullough@apple.com>
10966 - Minor mac improvements based on observations I made while implementing the
10969 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
10970 then hand it to the Client who will retain it, it should just be the client who
10971 creates and owns the server.
10972 (-[DebuggerApplication attach:]):
10973 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
10974 * Drosera/mac/DebuggerClient.mm: Creates the server.
10975 (-[DebuggerClient initWithServerName:]):
10976 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
10977 can instead forward declare what it needs.
10979 2007-10-16 Darin Adler <darin@apple.com>
10981 Reviewed by Geoff Garen.
10983 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
10984 want to turn failing tests into platform-specific test results. Also did a
10985 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
10986 would take the type of results into account only some of the time.
10988 2007-10-16 Adam Roben <aroben@apple.com>
10990 Add a new nightly launcher script for Windows
10992 This new script is for versions of Safari that don't delay-load
10993 WebKit. I had to make FindSafari be able to print out the nightly
10994 launcher script on stdout because Windows shell scripts can't capture
10995 the output from a command into an environment variable.
10999 * FindSafari/FindSafari.cpp:
11000 (_tmain): Added /printSafariLauncher option.
11001 * Scripts/run-webkit-nightly.cmd: Added.
11003 2007-10-16 Adam Roben <aroben@apple.com>
11005 Replace WebKitInitializer with FindSafari
11007 We now rely on setting the PATH environment variable to tell Windows
11008 where to find WebKit and its dependencies (similar to
11009 DYLD_FRAMEWORK_PATH on Mac).
11011 This change also make DumpRenderTree no longer delay-load WebKit.
11015 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
11017 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
11018 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
11019 WebKitInitializer, don't delay-load WebKit.
11020 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
11021 * Scripts/run-webkit-tests: Ditto.
11022 * Scripts/webkitdirs.pm:
11023 (sub setPathForRunningWebKitApp): Added.
11024 * WebKitInitializer/WebKitInitializer.cpp: Removed.
11025 * WebKitInitializer/WebKitInitializer.h: Removed.
11026 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
11027 * WebKitInitializer/debug.vsprops: Removed.
11028 * WebKitInitializer/debug_internal.vsprops: Removed.
11029 * WebKitInitializer/release.vsprops: Removed.
11031 2007-10-16 Adam Roben <aroben@apple.com>
11033 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
11035 http://bugs.webkit.org/show_bug.cgi?id=15532
11037 FindSafari simply prints the location of an installed Safari.exe on
11040 Reviewed by Darin Adler.
11042 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
11045 (getInstalledWebKitDirectory):
11047 * FindSafari/FindSafari.vcproj: Added.
11048 * Scripts/webkitdirs.pm:
11049 (sub installedSafariPath): Added. Calls FindSafari on Windows.
11051 2007-10-16 Adam Roben <aroben@apple.com>
11053 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
11055 Reviewed by Kevin McCullough.
11057 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
11058 when referring to WebKit.dll.
11059 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
11060 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
11061 * DumpRenderTree/win/release.vsprops: Ditto.
11062 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
11063 never have a _debug suffix on WebKit.dll.
11064 * WebKitInitializer/WebKitInitializer.cpp:
11065 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
11067 * WebKitInitializer/debug_internal.vsprops: Added
11068 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
11070 2007-10-16 Darin Adler <darin@apple.com>
11074 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
11075 Remove now-unneeded control/alt key hack; the tests have been updated.
11077 2007-10-16 Kevin McCullough <kmccullough@apple.com>
11079 - Updated leaks list because our internal bot upgraded it's version of leopard and
11080 one of the leaks was fixed between that revision and the bot's previous version of
11083 * Scripts/run-webkit-tests:
11085 2007-10-15 Kevin McCullough <kmccullough@apple.com>
11089 - I encapsulated out the server connecton functionality because it is a specific part
11090 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
11091 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
11092 Windows. So the majority of this patch is moving preexisting functionality.
11094 - Also I removed the prefix header and changed to use config.h because it is more
11095 standard on how we use config.h in windows and it didn't make much sense to keep
11096 the prefix header and the config.h
11098 * Drosera/DebuggerDocument.cpp:
11099 (DebuggerDocument::DebuggerDocument):
11100 * Drosera/DebuggerDocument.h:
11101 * Drosera/config.h:
11102 * Drosera/mac/DebuggerApplication.mm:
11103 (-[DebuggerApplication attach:]):
11104 * Drosera/mac/DebuggerClient.h:
11105 * Drosera/mac/DebuggerClient.mm:
11106 (-[DebuggerClient initWithServerConnection:]):
11107 (-[DebuggerClient dealloc]):
11108 (-[DebuggerClient windowDidLoad]):
11109 (-[DebuggerClient windowWillClose:]):
11110 (-[DebuggerClient webView:didFinishLoadForFrame:]):
11111 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
11112 * Drosera/mac/DebuggerDocumentPlatform.mm:
11113 (DebuggerDocument::platformPause):
11114 (DebuggerDocument::platformResume):
11115 (DebuggerDocument::platformStepInto):
11116 (DebuggerDocument::platformEvaluateScript):
11117 (DebuggerDocument::getPlatformCurrentFunctionStack):
11118 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
11119 (DebuggerDocument::platformValueForScopeVariableNamed):
11120 (DebuggerDocument::platformLog):
11121 * Drosera/mac/Drosera.pch: Removed.
11122 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11123 * Drosera/mac/ServerConnection.h: Added.
11124 * Drosera/mac/ServerConnection.mm: Added.
11125 (-[ServerConnection initWithServerName:]):
11126 (-[ServerConnection dealloc]):
11127 (-[ServerConnection setGlobalContext:]):
11128 (-[ServerConnection pause]):
11129 (-[ServerConnection resume]):
11130 (-[ServerConnection stepInto]):
11131 (-[ServerConnection switchToServerNamed:]):
11132 (-[ServerConnection applicationTerminating:]):
11133 (-[ServerConnection serverConnectionDidDie:]):
11134 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
11135 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
11136 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
11137 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
11138 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
11139 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
11140 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
11141 (-[ServerConnection currentFrame]):
11142 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
11143 (-[ServerConnection knownServers]):
11145 2007-10-15 David Kilzer <ddkilzer@webkit.org>
11149 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
11150 Script to automatically search nightly builds for regressions (bisect-builds)
11152 * Scripts/bisect-builds: Added.
11154 2007-10-14 Maciej Stachowiak <mjs@apple.com>
11156 Reviewed by Darin Adler.
11158 - New JavaScript benchmark
11159 http://bugs.webkit.org/show_bug.cgi?id=15515
11161 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
11162 current development or release build of JavaScriptCore.
11164 2007-10-15 Mark Rowe <mrowe@apple.com>
11168 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
11170 * Scripts/webkitdirs.pm:
11171 - Change checkArgv to remove the options from @ARGV to prevent
11172 them from interfering with further option processing.
11173 - Fix logic error in determineIsQt that would prevent it from bailing out early.
11174 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
11175 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
11176 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
11178 2007-10-15 Darin Adler <darin@apple.com>
11182 - added logging of window.prompt and window.confirm
11184 * DumpRenderTree/mac/UIDelegate.mm:
11185 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
11186 Implement the recommended delegate rather than the deprecated one.
11187 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
11189 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
11192 * DumpRenderTree/win/UIDelegate.h:
11193 * DumpRenderTree/win/UIDelegate.cpp:
11194 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
11195 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
11196 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
11197 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
11199 2007-10-15 Alice Liu <alice.liu@apple.com>
11201 Reviewed by Sam Weinig.
11203 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
11205 * DumpRenderTree/win/DumpRenderTree.cpp:
11206 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
11207 (main): allocate the global policy delegate for DRT's custom use
11208 * DumpRenderTree/win/DumpRenderTree.vcproj:
11209 Adding files to project
11210 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
11211 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11212 (LayoutTestController::setCustomPolicyDelegate):
11213 set the webview's policy delegate to DRT's custom one if the test requests it.
11214 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
11215 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
11216 (PolicyDelegate::PolicyDelegate):
11217 (PolicyDelegate::QueryInterface):
11218 (PolicyDelegate::AddRef):
11219 (PolicyDelegate::Release):
11220 (PolicyDelegate::decidePolicyForNavigationAction):
11221 * DumpRenderTree/win/PolicyDelegate.h: Added.
11222 (PolicyDelegate::decidePolicyForNewWindowAction):
11223 (PolicyDelegate::decidePolicyForMIMEType):
11224 (PolicyDelegate::unableToImplementPolicyWithError):
11226 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
11230 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
11231 when querying for QMAKE_MKSPECS.
11233 2007-10-14 Andrew Wellington <proton@wiretapped.net>
11235 Reviewed by Adam Roben.
11237 Fix run-webkit-tests is too greedy calculating platform hierarchy
11238 http://bugs.webkit.org/show_bug.cgi?id=15465
11240 Fix run-webkit-tests being too greedy in trying to split the platform name up
11241 causing it to try and find tests in every directory above the first "-" in the
11242 path to the LayoutTests
11244 * Scripts/run-webkit-tests:
11246 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
11248 Reviewed by Darin Adler.
11250 http://bugs.webkit.org/show_bug.cgi?id=15006
11251 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
11252 to reduce code duplication.
11254 * Scripts/build-webkit:
11255 * Scripts/webkitdirs.pm:
11256 buildQMakeProject() renamed to buildQMakeQtProject().
11257 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
11258 unused $colorize has been removed.
11260 === Start merge of feature-branch 2007-10-12 ===
11262 2007-10-08 Eric Seidel <eric@webkit.org>
11264 Reviewed by Mark Rowe.
11266 * Scripts/build-webkit: add --help, remove unused --color
11268 2007-10-07 Eric Seidel <eric@webkit.org>
11272 * Drosera/mac/DebuggerDocumentPlatform.mm:
11273 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
11275 2007-10-03 Rob Buis <buis@kde.org>
11277 Reviewed by Olliej.
11279 Adapt to changed location of Ahem font.
11281 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11283 2007-10-02 Eric Seidel <eric@webkit.org>
11285 Reviewed by Adam Roben.
11287 Make pixel tests more useful!
11288 Finally fix the image diff 0.00% mystery problem
11289 Highlight any image differences in the image diff.
11290 Add a link from image diffs back to original test file.
11292 * DumpRenderTree/mac/ImageDiff.m:
11293 (compareImages): highlight any differences
11294 (computePercentageDifferent): round to two decimal places
11295 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
11297 2007-10-02 Eric Seidel <eric@webkit.org>
11299 Reviewed by Alexey Proskuryakov.
11301 * Scripts/run-webkit-tests: print the % image difference on main results page
11303 2007-10-02 Mark Rowe <mrowe@apple.com>
11305 Reviewed by Oliver.
11307 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
11309 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
11310 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
11312 2007-10-01 Mark Rowe <mrowe@apple.com>
11314 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
11316 2007-09-25 Eric Seidel <eric@webkit.org>
11318 Reviewed by Mark Rowe.
11320 DerivedSources.make was finding "ENABLE_SVG" in the string
11321 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
11324 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
11326 2007-09-25 Mark Rowe <mrowe@apple.com>
11328 Rubber-stamped by Eric.
11330 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
11331 This makes it possible to automate nightly builds for the feature-branch.
11333 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
11335 Rubber stamped by Mark.
11337 Enable svg experimental features as default here in feature-branch.
11339 * Scripts/build-webkit:
11341 2007-06-29 Antti Koivisto <antti@apple.com>
11343 Reviewed by Weinig.
11345 Add VIDEO flag for timed media features
11347 * Scripts/build-webkit
11349 === End merge of feature-branch 2007-10-12 ===
11351 2007-10-11 Kevin McCullough <kmccullough@apple.com>
11353 Reviewed by Darin Adler.
11355 - Updated rational for the leaks list to be more clear.
11357 * Scripts/run-webkit-tests:
11359 2007-10-11 Kevin McCullough <kmccullough@apple.com>
11361 Rubber Stamp by Sam.
11363 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
11364 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
11366 * Scripts/run-webkit-tests:
11368 2007-10-10 Simon Hausmann <hausmann@kde.org>
11372 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
11373 includes are needed for INT_MAX, std::auto_ptr and the like.
11375 * DumpRenderTree/qt/main.cpp:
11377 2007-10-09 Lars Knoll <lars@trolltech.com>
11381 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
11383 * DumpRenderTree/qt/jsobjects.cpp:
11384 (LayoutTestController::encodeHostName):
11385 (LayoutTestController::decodeHostName):
11386 * DumpRenderTree/qt/jsobjects.h:
11388 2007-10-09 Lars Knoll <lars@trolltech.com>
11392 Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
11394 * DumpRenderTree/qt/DumpRenderTree.cpp:
11395 (WebCore::WebPage::createFrame):
11396 (WebCore::DumpRenderTree::DumpRenderTree):
11397 (WebCore::DumpRenderTree::titleChanged):
11398 * DumpRenderTree/qt/DumpRenderTree.h:
11399 * DumpRenderTree/qt/jsobjects.cpp:
11400 (LayoutTestController::reset):
11401 * DumpRenderTree/qt/jsobjects.h:
11403 2007-10-09 Lars Knoll <lars@trolltech.com>
11407 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
11409 * DumpRenderTree/qt/DumpRenderTree.h:
11410 * DumpRenderTree/qt/jsobjects.cpp:
11411 (LayoutTestController::clearBackForwardList):
11412 * DumpRenderTree/qt/jsobjects.h:
11414 2007-10-09 Lars Knoll <lars@trolltech.com>
11418 make --git-reviewer work again.
11420 * Scripts/prepare-ChangeLog:
11422 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
11424 Rubber stamped by Eric.
11426 Connect to the "hovering-over-link" signal emitted by WebKitPage and
11427 show the current link inside the statusbar.
11428 This shows how to make use of this signal and allows to easily test
11429 http://bugs.webkit.org/show_bug.cgi?id=15299.
11431 * GtkLauncher/main.cpp:
11432 (hoveringOverLink):
11435 2007-10-05 Lars Knoll <lars@trolltech.com>
11437 add proper error messages to the FrameLoaderClient.
11438 Implement ChromeClientQt::closeWindowSoon and
11439 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
11440 Some fixes in DRT to make it work correctly with multiple windows.
11442 Reviewed by Maciej.
11444 * DumpRenderTree/qt/DumpRenderTree.cpp:
11445 (WebCore::DumpRenderTree::DumpRenderTree):
11446 (WebCore::DumpRenderTree::createWindow):
11447 (WebCore::DumpRenderTree::windowCount):
11448 * DumpRenderTree/qt/DumpRenderTree.h:
11449 * DumpRenderTree/qt/jsobjects.cpp:
11450 (LayoutTestController::maybeDump):
11451 (LayoutTestController::windowCount):
11452 * DumpRenderTree/qt/jsobjects.h:
11454 2007-10-05 Lars Knoll <lars@trolltech.com>
11456 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
11457 Add support for layoutTextController.setCanOpenWindows() to DRT
11458 fixing another 2 test cases in fast/dom/Window.
11460 Reviewed by Maciej.
11462 * DumpRenderTree/qt/DumpRenderTree.cpp:
11463 (WebCore::WebPage::WebPage):
11464 (WebCore::WebPage::createWindow):
11465 (WebCore::DumpRenderTree::resetJSObjects):
11466 (WebCore::DumpRenderTree::createWindow):
11467 * DumpRenderTree/qt/DumpRenderTree.h:
11468 * DumpRenderTree/qt/DumpRenderTree.pro:
11469 * DumpRenderTree/qt/jsobjects.cpp:
11470 (LayoutTestController::LayoutTestController):
11471 (LayoutTestController::reset):
11472 * DumpRenderTree/qt/jsobjects.h:
11473 * DumpRenderTree/qt/main.cpp:
11474 * DumpRenderTree/qt/testplugin.cpp: Added.
11475 * DumpRenderTree/qt/testplugin.h: Added.
11477 2007-10-04 Sam Weinig <sam@webkit.org>
11479 Rubber stamped by Adam.
11481 Remove empty directories.
11483 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
11484 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
11486 2007-10-03 Darin Adler <darin@apple.com>
11490 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
11491 we find the internal libraries in the libraries directory. This
11492 is helpful for Safari team engineers at Apple.
11494 2007-10-03 Adam Roben <aroben@apple.com>
11496 Update the location of AHEM___.TTF after r25968
11500 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11502 2007-10-03 Alp Toker <alp@atoker.com>
11506 http://bugs.webkit.org/show_bug.cgi?id=14726
11507 [gtk] API design. Mapping the WebView delegates to signals.
11509 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
11511 * GtkLauncher/main.cpp:
11515 (menuMainBackCallback):
11516 (menuMainForwardCallback):
11519 2007-10-03 Lars Knoll <lars@trolltech.com>
11523 This fixes --strict mode in run-webkit-tests again after
11524 the platform dependent test results have been moved.
11526 * Scripts/run-webkit-tests:
11528 2007-10-03 Lars Knoll <lars@trolltech.com>
11532 remove the hack in run-webkit-tests that forced text only test
11533 to be taken from the platform independent dir. It was only left
11534 there from early days.
11536 Remove platform dependent results for tests that are text only nowadays,
11537 and add one platform dependent result for a text only test that requires it.
11539 * Scripts/run-webkit-tests:
11541 2007-10-03 Lars Knoll <lars@trolltech.com>
11543 Reviewed by olliej.
11545 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
11547 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
11548 (WebCore::WebFrame::WebFrame):
11549 (WebCore::WebPage::WebPage):
11550 (WebCore::WebPage::createFrame):
11551 (WebCore::WebPage::javaScriptAlert):
11552 (WebCore::WebPage::javaScriptConsoleMessage):
11553 (WebCore::DumpRenderTree::DumpRenderTree):
11554 (WebCore::DumpRenderTree::~DumpRenderTree):
11555 (WebCore::DumpRenderTree::open):
11556 (WebCore::DumpRenderTree::readStdin):
11557 (WebCore::DumpRenderTree::resetJSObjects):
11558 (WebCore::DumpRenderTree::initJSObjects):
11559 (WebCore::DumpRenderTree::dumpFramesAsText):
11560 (WebCore::DumpRenderTree::dump):
11561 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
11562 (WebCore::DumpRenderTree::layoutTestController):
11563 (WebCore::DumpRenderTree::eventSender):
11564 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
11565 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
11566 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
11567 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
11568 (HackWebFrame::mousePressEvent):
11569 (HackWebFrame::mouseReleaseEvent):
11570 (HackWebFrame::mouseMoveEvent):
11571 (HackWebFrame::HackWebFrame):
11572 (HackWebFrame::~HackWebFrame):
11573 (LayoutTestController::LayoutTestController):
11574 (LayoutTestController::reset):
11575 (LayoutTestController::maybeDump):
11576 (LayoutTestController::waitUntilDone):
11577 (LayoutTestController::notifyDone):
11578 (LayoutTestController::dumpEditingCallbacks):
11579 (LayoutTestController::queueReload):
11580 (LayoutTestController::provisionalLoad):
11581 (LayoutTestController::timerEvent):
11582 (EventSender::EventSender):
11583 (EventSender::mouseDown):
11584 (EventSender::mouseUp):
11585 (EventSender::mouseMoveTo):
11586 (EventSender::leapForward):
11587 (EventSender::keyDown):
11588 (EventSender::frameUnderMouse):
11589 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
11590 (LayoutTestController::isLoading):
11591 (LayoutTestController::setLoading):
11592 (LayoutTestController::shouldDumpAsText):
11593 (LayoutTestController::shouldDumpChildrenAsText):
11594 (LayoutTestController::shouldWaitUntilDone):
11595 (LayoutTestController::dumpAsText):
11596 (LayoutTestController::dumpChildFramesAsText):
11597 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
11601 * Scripts/run-webkit-tests:
11603 2007-10-03 Mark Rowe <mrowe@apple.com>
11605 Reviewed by Alp Toker.
11607 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
11608 should take precedence over QTDIR when determining which port we are working with.
11610 * Scripts/webkitdirs.pm:
11612 2007-10-02 Adam Roben <aroben@apple.com>
11614 Add keychain to the list of default packages to install
11616 Rubberstamped by Sam.
11618 * CygwinDownloader/cygwin-downloader.py:
11619 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
11621 2007-10-02 David Kilzer <ddkilzer@webkit.org>
11625 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
11626 Also makes WebCore regression test case logic work when using git.
11628 * Scripts/prepare-ChangeLog:
11629 (reviewerAndDescriptionForGitCommit): Added.
11631 2007-10-02 Lars Knoll <lars@trolltech.com>
11635 Add API to retrieve the frame name from QWebFrame.
11636 Implement support for DRT::dumpChildrenAsText.
11638 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11639 (WebCore::DumpRenderTree::dumpFramesAsText):
11640 (WebCore::DumpRenderTree::dump):
11641 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
11642 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11643 (LayoutTestController::LayoutTestController):
11644 (LayoutTestController::reset):
11645 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
11647 2007-10-02 Lars Knoll <lars@trolltech.com>
11651 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
11653 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11654 (WebCore::DumpRenderTree::readStdin):
11656 2007-10-02 Mark Rowe <mrowe@apple.com>
11658 Reviewed by Oliver.
11660 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
11662 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
11663 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
11665 2007-10-02 Mark Rowe <mrowe@apple.com>
11667 Rubber-stamped by Maciej.
11669 Configuration changes from build.webkit.org. The major change is refactoring to work
11670 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
11673 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
11674 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
11675 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
11676 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
11677 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
11678 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
11679 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
11680 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
11682 2007-10-02 Lars Knoll <lars@trolltech.com>
11684 Reviewed by Maciej.
11686 Add support for eventSender.mouseMove to DRT.
11687 Fixes fast/css/hover-affects-child.html
11689 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11690 (EventSender::mouseMoveTo):
11692 2007-10-01 Mark Rowe <mrowe@apple.com>
11694 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
11696 2007-10-01 David Kilzer <ddkilzer@webkit.org>
11700 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
11702 * Scripts/svn-apply:
11703 (gitdiff2svndiff): Ignore lines beginning with "new file".
11704 * Scripts/svn-unapply:
11705 (gitdiff2svndiff): Ditto.
11707 2007-09-30 George Staikos <staikos@kde.org>
11709 Qt build fix (Mac OS X specific)
11711 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
11713 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
11717 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
11718 Remove Bakefiles from svn.
11720 * GtkLauncher/Bakefiles.bkgen: Removed.
11721 * GtkLauncher/ENV: Removed.
11722 * GtkLauncher/gdklauncher.bkl: Removed.
11723 * GtkLauncher/mk: Removed.
11724 * Scripts/regenerate-makefiles: Removed.
11726 2007-09-25 Kevin McCullough <kmccullough@apple.com>
11730 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
11732 * Scripts/run-webkit-tests:
11734 2007-09-26 Adam Roben <aroben@apple.com>
11736 Make not finding an installed WebKit non-fatal
11738 What really matters is that we are able to load WebKit and its
11739 dependencies, not whether we think we've found an installed WebKit.
11743 * WebKitInitializer/WebKitInitializer.cpp:
11744 (getWebViewCLSID): Use new LOG_WARNING macro.
11745 (getInstalledWebKitDirectory): Ditto.
11746 (initializeWebKit): Don't die if we didn't find an installed WebKit,
11747 and use new macros.
11748 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
11750 2007-09-26 Adam Roben <aroben@apple.com>
11752 Committed this file before saving it
11754 * WebKitInitializer/debug_internal.vsprops:
11756 2007-09-26 Adam Roben <aroben@apple.com>
11758 Load WebKit and its dependencies manually so they come from DllDirectory
11760 I had to change WebKitInitializer to use malloc/free instead of
11761 new/delete to avoid pulling in WebKit (and its dependencies) early
11762 through use of fastMalloc.
11764 Reviewed by Oliver.
11766 * WebKitInitializer/WebKitInitializer.cpp:
11767 (getStringValue): Changed to use malloc/free.
11768 (getInstalledWebKitDirectory): Ditto.
11769 (initializeWebKit): Call SetDllDirectory first, then load all of
11770 WebKit's dependencies manually, finally followed by WebKit itself.
11771 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
11772 configuration to match our other projects.
11773 * WebKitInitializer/debug_internal.vsprops: Added.
11775 2007-09-25 Adam Roben <aroben@apple.com>
11777 Actually define DEBUG/NDEBUG so that we load WebKit correctly
11779 Rubberstamped by Sam.
11781 * WebKitInitializer/WebKitInitializer.vcproj:
11783 2007-09-25 Adam Roben <aroben@apple.com>
11785 Make DumpRenderTree delay-load its dependencies
11787 This lets WebKitInitializer re-route the dependencies to be loaded out
11788 of the Safari installation directory.
11790 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
11791 same thing), since we can't import the kCFAllocatorDefault symbol when
11792 delay-loading CoreFoundation.dll.
11794 Rubberstamped by Sam.
11796 * DumpRenderTree/win/DumpRenderTree.cpp:
11798 (javaScriptThreads):
11799 * DumpRenderTree/win/DumpRenderTree.vcproj:
11800 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11801 (LayoutTestController::setWaitToDump):
11803 2007-09-25 Adam Roben <aroben@apple.com>
11805 Pull ole32.lib into WebKitInitializer
11807 Rubberstamped by Sam.
11809 * WebKitInitializer/WebKitInitializer.vcproj:
11811 2007-09-25 David Kilzer <ddkilzer@webkit.org>
11815 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
11816 LGPL'ed files contain incorrect FSF address
11818 * Drosera/config.h:
11820 2007-09-25 David Kilzer <ddkilzer@webkit.org>
11824 Make svn-apply and svn-unapply work with git-diff formatted patches.
11826 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
11827 (gitdiff2svndiff): Added.
11828 * Scripts/svn-unapply: Ditto.
11829 (gitdiff2svndiff): Added.
11831 2007-09-25 Adam Roben <aroben@apple.com>
11833 Pull advapi32.lib into WebKitInitializer
11835 This is needed to get the registry functions we use.
11837 Rubberstamped by Sam.
11839 * WebKitInitializer/WebKitInitializer.vcproj:
11841 2007-09-25 Adam Roben <aroben@apple.com>
11843 Add python and rsync to cygwin-downloader
11845 Our build slaves need this, and it can't hurt for everyone else to
11850 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
11851 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
11853 2007-09-25 Adam Roben <aroben@apple.com>
11855 Add WebKitInitializer and use it in DumpRenderTree
11857 WebKitInitializer is a static library that has one function,
11858 initializeWebKit(). This registers WebKit and sets up the DLL search
11859 path so that WebKit's dependencies that are installed with Safari can
11864 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
11865 DumpRenderTree depend on it.
11866 * DumpRenderTree/win/DumpRenderTree.cpp:
11867 (initialize): Call initializeWebKit.
11868 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
11869 WebKitInitializer.lib.
11870 * WebKitInitializer/WebKitInitializer.cpp: Added.
11873 (getInstalledWebKitDirectory):
11874 (initializeWebKit):
11875 * WebKitInitializer/WebKitInitializer.h: Added.
11876 * WebKitInitializer/WebKitInitializer.vcproj: Added.
11877 * WebKitInitializer/debug.vsprops: Added.
11878 * WebKitInitializer/release.vsprops: Added.
11880 2007-09-25 Adam Roben <aroben@apple.com>
11882 Make run-webkit-tests respect set-webkit-configuration
11886 * Scripts/run-webkit-tests: Initialize $configuration to whatever
11887 set-webkit-configuration was last set to.
11889 2007-09-25 Mark Rowe <mrowe@apple.com>
11891 Rubber-stamped by Eric.
11893 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
11894 This makes it possible to automate nightly builds for the feature-branch.
11896 2007-09-25 Adam Roben <aroben@apple.com>
11898 A couple of fixes/enhancements to update-webkit-*-libs
11900 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
11901 to tell update-webkit-support-libraries where it should find the
11902 WebKitSupportLibrary.zip file you downloaded.
11904 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
11905 Windows-style path.
11909 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
11910 to $auxiliaryLibsURL and removed an irrelevant comment.
11911 * Scripts/update-webkit-support-libs:
11913 2007-09-25 Adam Treat <treat@kde.org>
11915 Reviewed by Simon and Lars.
11917 Refactors and cleans up Qt DRT member variable names, member variable
11918 initialization, style fixes and general code cleanup.
11920 Adds queueReload slot to LayoutTestController that some tests require.
11922 Subclasses QWebFrame to make sure that all frames have an associated
11923 LayoutTestController JS window object.
11925 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
11926 aren't dumped twice.
11930 Together, this patch fixes some 20+ layout tests in QtWebKit.
11932 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11933 (WebCore::WebFrame::WebFrame):
11934 (WebCore::WebPage::WebPage):
11935 (WebCore::WebPage::createFrame):
11936 (WebCore::DumpRenderTree::DumpRenderTree):
11937 (WebCore::DumpRenderTree::open):
11938 (WebCore::DumpRenderTree::readStdin):
11939 (WebCore::DumpRenderTree::initJSObjects):
11940 (WebCore::DumpRenderTree::dump):
11941 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
11942 (WebCore::DumpRenderTree::layoutTestController):
11943 (WebCore::DumpRenderTree::eventSender):
11944 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11945 (LayoutTestController::LayoutTestController):
11946 (LayoutTestController::reset):
11947 (LayoutTestController::maybeDump):
11948 (LayoutTestController::waitUntilDone):
11949 (LayoutTestController::notifyDone):
11950 (LayoutTestController::queueReload):
11951 (LayoutTestController::provisionalLoad):
11952 (EventSender::EventSender):
11953 (EventSender::mouseDown):
11954 (EventSender::mouseUp):
11955 (EventSender::mouseMoveTo):
11956 (EventSender::frameUnderMouse):
11957 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
11958 (LayoutTestController::isLoading):
11959 (LayoutTestController::setLoading):
11960 (LayoutTestController::dumpAsText):
11961 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
11964 2007-09-24 Kevin McCullough <kmccullough@apple.com>
11967 - Reverted an accidentally checked in file.
11969 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
11971 2007-09-24 Kevin McCullough <kmccullough@apple.com>
11974 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
11976 * DumpRenderTree/win/DumpRenderTree.vcproj:
11977 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
11979 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
11981 Rubber stamped by Adam.
11983 * GdkLauncher: Removed.
11984 * GdkLauncher/Bakefiles.bkgen: Removed.
11985 * GdkLauncher/ENV: Removed.
11986 * GdkLauncher/GdkLauncher.pro: Removed.
11987 * GdkLauncher/gdklauncher.bkl: Removed.
11988 * GdkLauncher/main.cpp: Removed.
11989 * GdkLauncher/mk: Removed.
11990 * GdkLauncher/simple.svg: Removed.
11991 * GdkLauncher/text.html: Removed.
11992 * GtkLauncher: Added.
11993 * GtkLauncher/GdkLauncher.pro: Removed.
11994 * GtkLauncher/GtkLauncher.pro: Added.
11995 * GtkLauncher/main.cpp:
11996 (updateWindowTitle):
11998 * Scripts/build-webkit:
11999 * Scripts/regenerate-makefiles:
12000 * Scripts/run-javascriptcore-tests:
12001 * Scripts/run-launcher:
12002 * Scripts/run-webkit-tests:
12003 * Scripts/webkitdirs.pm:
12005 2007-09-21 Timothy Hatcher <timothy@apple.com>
12007 Reviewed by Darin Adler.
12009 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
12011 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
12012 This is tested by plugins/root-object-premature-delete-crash.html.
12014 * DumpRenderTree/mac/ObjCController.m:
12015 (-[ObjCController accessStoredWebScriptObject]):
12017 2007-09-21 Kevin McCullough <kmccullough@apple.com>
12019 Reviewed by Oliver.
12021 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
12023 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
12024 (FrameLoadDelegate::FrameLoadDelegate):
12026 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
12030 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
12031 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
12033 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
12034 Now isQt() and isGdk() use global variables that are only set once.
12036 An array of all the parameters is now given to build-dumprender which includes
12037 the platform on linux.
12039 * Scripts/build-dumprendertree:
12040 * Scripts/run-webkit-tests:
12041 * Scripts/webkitdirs.pm:
12043 2007-09-19 Adam Roben <aroben@apple.com>
12045 Rubberstamped by Hyatt.
12047 * Spinneret: Removed.
12049 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
12051 Reviewed by David Kilzer.
12053 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
12055 2007-09-18 Sam Weinig <sam@webkit.org>
12057 Add JSRetainPtr.h #include to fix some builds.
12059 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
12061 2007-09-18 Mike Hommey <glandium@debian.org>
12065 * Scripts/prepare-ChangeLog:
12066 - Properly parse GECOS field.
12067 - Use git configuration for user name and email when appropriate.
12069 2007-09-17 Sam Weinig <sam@webkit.org>
12073 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12075 2007-09-17 Sam Weinig <sam@webkit.org>
12077 Reviewed by Adam Roben.
12079 Share more code between mac and windows DRT.
12080 - GCController is now shared.
12081 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
12083 * DumpRenderTree/GCController.cpp:
12084 * DumpRenderTree/win/DumpRenderTree.cpp:
12085 * DumpRenderTree/win/DumpRenderTree.vcproj:
12086 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
12087 (FrameLoadDelegate::FrameLoadDelegate):
12088 (FrameLoadDelegate::~FrameLoadDelegate):
12089 (FrameLoadDelegate::windowScriptObjectAvailable):
12090 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
12091 * DumpRenderTree/win/GCController.cpp: Removed.
12092 * DumpRenderTree/win/GCController.h: Removed.
12093 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
12094 (GCController::collect):
12095 (GCController::collectOnAlternateThread):
12096 (GCController::getJSObjectCount):
12097 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
12098 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
12100 2007-09-17 Sam Weinig <sam@webkit.org>
12102 Reviewed by Adam Roben.
12104 Begin sharing code between mac and windows DRT.
12105 - both now share LayoutTestController.h/cpp and implement platform dependant
12106 operations in LayoutTestControllerMac/Win.
12107 - DumpRenderTree.h is now shared.
12108 - WorkQueue and WorkQueueItem are also shared.
12110 * DumpRenderTree/DumpRenderTree.h:
12111 * DumpRenderTree/LayoutTestController.cpp:
12112 * DumpRenderTree/win/DumpRenderTree.cpp:
12114 (dumpFrameScrollPosition):
12115 (dumpFramesAsText):
12118 * DumpRenderTree/win/DumpRenderTree.h: Removed.
12119 * DumpRenderTree/win/DumpRenderTree.vcproj:
12120 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
12121 * DumpRenderTree/win/EditingDelegate.cpp:
12122 (EditingDelegate::shouldBeginEditingInDOMRange):
12123 (EditingDelegate::shouldEndEditingInDOMRange):
12124 (EditingDelegate::shouldInsertNode):
12125 (EditingDelegate::shouldInsertText):
12126 (EditingDelegate::shouldDeleteDOMRange):
12127 (EditingDelegate::shouldChangeSelectedDOMRange):
12128 (EditingDelegate::shouldApplyStyle):
12129 (EditingDelegate::shouldChangeTypingStyle):
12130 (EditingDelegate::doPlatformCommand):
12131 (EditingDelegate::webViewDidBeginEditing):
12132 (EditingDelegate::webViewDidChange):
12133 (EditingDelegate::webViewDidEndEditing):
12134 (EditingDelegate::webViewDidChangeTypingStyle):
12135 (EditingDelegate::webViewDidChangeSelection):
12136 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
12137 * DumpRenderTree/win/LayoutTestController.h: Removed.
12138 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
12139 (LayoutTestController::addDisallowedURL):
12140 (LayoutTestController::clearBackForwardList):
12141 (LayoutTestController::copyDecodedHostName):
12142 (LayoutTestController::copyEncodedHostName):
12143 (LayoutTestController::display):
12144 (LayoutTestController::keepWebHistory):
12145 (LayoutTestController::notifyDone):
12146 (LayoutTestController::queueBackNavigation):
12147 (LayoutTestController::queueForwardNavigation):
12148 (jsStringRefToWString):
12149 (LayoutTestController::queueLoad):
12150 (LayoutTestController::queueReload):
12151 (LayoutTestController::queueScript):
12152 (LayoutTestController::setAcceptsEditing):
12153 (LayoutTestController::setCustomPolicyDelegate):
12154 (LayoutTestController::setMainFrameIsFirstResponder):
12155 (LayoutTestController::setTabKeyCyclesThroughElements):
12156 (LayoutTestController::setUseDashboardCompatibilityMode):
12157 (LayoutTestController::setUserStyleSheetEnabled):
12158 (LayoutTestController::setUserStyleSheetLocation):
12159 (LayoutTestController::setWindowIsKey):
12160 (waitUntilDoneWatchdogFired):
12161 (LayoutTestController::setWaitToDump):
12162 (LayoutTestController::windowCount):
12163 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
12164 (FrameLoadDelegate::didReceiveTitle):
12165 (FrameLoadDelegate::processWork):
12166 (FrameLoadDelegate::locationChangeDone):
12167 (FrameLoadDelegate::windowScriptObjectAvailable):
12168 * DumpRenderTree/win/WorkQueue.cpp: Removed.
12169 * DumpRenderTree/win/WorkQueue.h: Removed.
12170 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
12171 * DumpRenderTree/win/WorkQueueItem.h: Removed.
12172 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
12173 (jsStringRefToWString):
12174 (LoadItem::invoke):
12175 (ScriptItem::invoke):
12177 2007-09-17 Sam Weinig <sam@webkit.org>
12179 Reviewed by Adam Roben.
12181 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
12183 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
12184 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
12185 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
12186 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
12187 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
12188 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
12189 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
12190 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
12191 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
12192 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
12193 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
12194 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
12195 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
12196 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
12197 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
12198 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
12199 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
12200 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
12201 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
12202 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
12203 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
12204 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
12205 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
12206 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
12207 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
12208 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
12209 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
12210 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
12211 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
12212 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
12213 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
12214 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
12215 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
12216 * DumpRenderTree/win: Added.
12217 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
12218 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
12219 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
12220 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
12221 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
12222 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
12223 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
12224 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
12225 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
12226 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
12227 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
12228 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
12229 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
12230 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
12231 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
12232 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
12233 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
12234 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
12235 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
12236 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
12237 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
12238 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
12239 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
12240 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
12241 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
12242 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
12244 2007-09-15 Mark Rowe <mrowe@apple.com>
12246 Build fix for DumpRenderTree.
12248 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
12250 2007-09-14 Sam Weinig <sam@webkit.org>
12252 Rubber stamped by Adam Roben.
12254 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
12255 - The UIDelegate was put into a new file while the FrameLoadDelegate was
12256 kept in the WaitUntilDoneDelegate file for the time being.
12258 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
12260 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
12261 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
12262 (UIDelegate::QueryInterface):
12263 (UIDelegate::AddRef):
12264 (UIDelegate::Release):
12265 (UIDelegate::hasCustomMenuImplementation):
12266 (UIDelegate::setFrame):
12267 (UIDelegate::webViewFrame):
12268 (UIDelegate::runJavaScriptAlertPanelWithMessage):
12269 (UIDelegate::webViewAddMessageToConsole):
12270 (UIDelegate::doDragDrop):
12271 (UIDelegate::webViewGetDlgCode):
12272 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
12273 (UIDelegate::UIDelegate):
12274 (UIDelegate::createWebViewWithRequest):
12275 (UIDelegate::webViewShow):
12276 (UIDelegate::webViewClose):
12277 (UIDelegate::webViewFocus):
12278 (UIDelegate::webViewUnfocus):
12279 (UIDelegate::webViewFirstResponder):
12280 (UIDelegate::makeFirstResponder):
12281 (UIDelegate::setStatusText):
12282 (UIDelegate::webViewStatusText):
12283 (UIDelegate::webViewAreToolbarsVisible):
12284 (UIDelegate::setToolbarsVisible):
12285 (UIDelegate::webViewIsStatusBarVisible):
12286 (UIDelegate::setStatusBarVisible):
12287 (UIDelegate::webViewIsResizable):
12288 (UIDelegate::setResizable):
12289 (UIDelegate::setContentRect):
12290 (UIDelegate::webViewContentRect):
12291 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
12292 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
12293 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
12294 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
12295 (UIDelegate::mouseDidMoveOverElement):
12296 (UIDelegate::contextMenuItemsForElement):
12297 (UIDelegate::validateUserInterfaceItem):
12298 (UIDelegate::shouldPerformAction):
12299 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
12300 (UIDelegate::willPerformDragDestinationAction):
12301 (UIDelegate::dragSourceActionMaskForPoint):
12302 (UIDelegate::willPerformDragSourceAction):
12303 (UIDelegate::contextMenuItemSelected):
12304 (UIDelegate::trackCustomPopupMenu):
12305 (UIDelegate::measureCustomMenuItem):
12306 (UIDelegate::drawCustomMenuItem):
12307 (UIDelegate::addCustomMenuDrawingData):
12308 (UIDelegate::cleanUpCustomMenuDrawingData):
12309 (UIDelegate::canTakeFocus):
12310 (UIDelegate::takeFocus):
12311 (UIDelegate::registerUndoWithTarget):
12312 (UIDelegate::removeAllActionsWithTarget):
12313 (UIDelegate::setActionTitle):
12314 (UIDelegate::undo):
12315 (UIDelegate::redo):
12316 (UIDelegate::canUndo):
12317 (UIDelegate::canRedo):
12318 (UIDelegate::webViewResizerRect):
12319 (UIDelegate::webViewDrawResizer):
12320 (UIDelegate::webViewScrolled):
12321 (UIDelegate::webViewShouldInterruptJavaScript):
12322 (UIDelegate::webViewReceivedFocus):
12323 (UIDelegate::webViewLostFocus):
12324 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
12325 (FrameLoadDelegate::QueryInterface):
12326 (FrameLoadDelegate::AddRef):
12327 (FrameLoadDelegate::Release):
12328 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
12329 (FrameLoadDelegate::didCommitLoadForFrame):
12330 (FrameLoadDelegate::didReceiveTitle):
12331 (FrameLoadDelegate::processWork):
12332 (processWorkTimer):
12333 (FrameLoadDelegate::locationChangeDone):
12334 (FrameLoadDelegate::didFinishLoadForFrame):
12335 (FrameLoadDelegate::didFailLoadWithError):
12336 (FrameLoadDelegate::windowScriptObjectAvailable):
12337 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
12338 (FrameLoadDelegate::FrameLoadDelegate):
12340 2007-09-14 Sam Weinig <sam@webkit.org>
12342 Reviewed by Kevin McCullough.
12344 Move mac specific globals in to mac/DumpRenderTreeMac.h
12346 * DumpRenderTree/DumpRenderTree.h:
12347 * DumpRenderTree/DumpRenderTree.mm: Removed.
12348 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12349 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
12350 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
12352 2007-09-14 Brady Eidson <beidson@apple.com>
12354 Rubberstamped by Weinig
12356 You know, Sam, some of us use case-sensitve filesystems...
12358 * DumpRenderTree/DumpRenderTree.h:
12359 * DumpRenderTree/mac/UIDelegate.mm:
12361 2007-09-14 Sam Weinig <sam@webkit.org>
12363 Rubber stamped by Adam Roben.
12365 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
12366 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
12368 * DumpRenderTree/AppleScriptController.h: Removed.
12369 * DumpRenderTree/AppleScriptController.m: Removed.
12370 * DumpRenderTree/DumpRenderTree.h:
12371 * DumpRenderTree/DumpRenderTree.mm:
12372 (startJavaScriptThreads):
12373 (stopJavaScriptThreads):
12374 (activateAhemFont):
12375 (setDefaultColorProfileToRGB):
12376 (makeLargeMallocFailSilently):
12377 (dumpFrameScrollPosition):
12378 (dumpFramesAsText):
12381 (-[DumpRenderTreeWindow isKeyWindow]):
12382 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12383 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
12384 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
12385 * DumpRenderTree/EditingDelegate.h: Removed.
12386 * DumpRenderTree/EditingDelegate.m: Removed.
12387 * DumpRenderTree/EventSendingController.h: Removed.
12388 * DumpRenderTree/EventSendingController.m: Removed.
12389 * DumpRenderTree/FrameLoadDelegate.h: Removed.
12390 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
12391 * DumpRenderTree/GCController.mm: Removed.
12392 * DumpRenderTree/ImageDiff.m: Removed.
12393 * DumpRenderTree/LayoutTestController.cpp:
12394 (LayoutTestController::LayoutTestController):
12395 (dumpAsTextCallback):
12396 (dumpBackForwardListCallback):
12397 (dumpChildFramesAsTextCallback):
12398 (dumpChildFrameScrollPositionsCallback):
12399 (dumpDOMAsWebArchiveCallback):
12400 (dumpEditingCallbacksCallback):
12401 (dumpFrameLoadCallbacksCallback):
12402 (dumpResourceLoadCallbacksCallback):
12403 (dumpSelectionRectCallback):
12404 (dumpSourceAsWebArchiveCallback):
12405 (dumpTitleChangesCallback):
12406 (repaintSweepHorizontallyCallback):
12407 (setCallCloseOnWebViewsCallback):
12408 (setCanOpenWindowsCallback):
12409 (setCloseRemainingWindowsWhenCompleteCallback):
12410 (testRepaintCallback):
12411 (addFileToPasteboardOnDragCallback):
12412 (waitUntilDoneCallback):
12413 * DumpRenderTree/LayoutTestController.h:
12414 (LayoutTestController::dumpAsText):
12415 (LayoutTestController::setDumpAsText):
12416 (LayoutTestController::dumpBackForwardList):
12417 (LayoutTestController::setDumpBackForwardList):
12418 (LayoutTestController::dumpChildFrameScrollPositions):
12419 (LayoutTestController::setDumpChildFrameScrollPositions):
12420 (LayoutTestController::dumpChildFramesAsText):
12421 (LayoutTestController::setDumpChildFramesAsText):
12422 (LayoutTestController::dumpDOMAsWebArchive):
12423 (LayoutTestController::setDumpDOMAsWebArchive):
12424 (LayoutTestController::dumpSelectionRect):
12425 (LayoutTestController::setDumpSelectionRect):
12426 (LayoutTestController::dumpSourceAsWebArchive):
12427 (LayoutTestController::setDumpSourceAsWebArchive):
12428 (LayoutTestController::dumpTitleChanges):
12429 (LayoutTestController::setDumpTitleChanges):
12430 (LayoutTestController::dumpEditingCallbacks):
12431 (LayoutTestController::setDumpEditingCallbacks):
12432 (LayoutTestController::dumpResourceLoadCallbacks):
12433 (LayoutTestController::setDumpResourceLoadCallbacks):
12434 (LayoutTestController::dumpFrameLoadCallbacks):
12435 (LayoutTestController::setDumpFrameLoadCallbacks):
12436 (LayoutTestController::addFileToPasteboardOnDrag):
12437 (LayoutTestController::setAddFileToPasteboardOnDrag):
12438 (LayoutTestController::callCloseOnWebViews):
12439 (LayoutTestController::setCallCloseOnWebViews):
12440 (LayoutTestController::canOpenWindows):
12441 (LayoutTestController::setCanOpenWindows):
12442 (LayoutTestController::closeRemainingWindowsWhenComplete):
12443 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
12444 (LayoutTestController::testRepaint):
12445 (LayoutTestController::setTestRepaint):
12446 (LayoutTestController::testRepaintSweepHorizontally):
12447 (LayoutTestController::setTestRepaintSweepHorizontally):
12448 (LayoutTestController::waitToDump):
12449 (LayoutTestController::windowIsKey):
12450 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
12451 * DumpRenderTree/NavigationController.h: Removed.
12452 * DumpRenderTree/NavigationController.m: Removed.
12453 * DumpRenderTree/ObjCController.h: Removed.
12454 * DumpRenderTree/ObjCController.m: Removed.
12455 * DumpRenderTree/ObjCPlugin.h: Removed.
12456 * DumpRenderTree/ObjCPlugin.m: Removed.
12457 * DumpRenderTree/ObjCPluginFunction.h: Removed.
12458 * DumpRenderTree/ObjCPluginFunction.m: Removed.
12459 * DumpRenderTree/PolicyDelegate.h: Removed.
12460 * DumpRenderTree/PolicyDelegate.m: Removed.
12461 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
12462 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
12463 * DumpRenderTree/TextInputController.h: Removed.
12464 * DumpRenderTree/TextInputController.m: Removed.
12465 * DumpRenderTree/UIDelegate.h: Removed.
12466 * DumpRenderTree/UIDelegate.mm: Removed.
12467 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
12468 * DumpRenderTree/mac: Added.
12469 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
12470 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
12471 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
12472 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
12473 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
12474 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
12475 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
12476 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
12477 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
12478 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
12479 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
12480 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
12481 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
12482 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
12483 (-[EditingDelegate webViewDidBeginEditing:]):
12484 (-[EditingDelegate webViewDidChange:]):
12485 (-[EditingDelegate webViewDidEndEditing:]):
12486 (-[EditingDelegate webViewDidChangeTypingStyle:]):
12487 (-[EditingDelegate webViewDidChangeSelection:]):
12488 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
12489 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
12490 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
12491 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
12492 (-[FrameLoadDelegate init]):
12493 (-[FrameLoadDelegate dealloc]):
12494 (-[FrameLoadDelegate processWork:]):
12495 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
12496 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
12497 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
12498 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
12499 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
12500 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
12501 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
12502 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12503 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
12504 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
12505 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
12506 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
12507 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
12508 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
12509 (-[FrameLoadDelegate webView:willCloseFrame:]):
12510 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
12511 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
12512 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
12513 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
12514 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
12515 (LayoutTestController::notifyDone):
12516 (LayoutTestController::setWindowIsKey):
12517 (LayoutTestController::setWaitToDump):
12518 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
12519 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
12520 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
12521 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
12522 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
12523 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
12524 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
12525 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
12526 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
12527 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
12528 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
12529 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
12530 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
12531 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
12532 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
12533 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
12534 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
12535 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
12536 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
12537 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
12538 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
12539 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
12540 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
12541 (-[UIDelegate webViewFocus:]):
12542 (-[UIDelegate webView:createWebViewWithRequest:]):
12543 (-[UIDelegate webViewClose:]):
12544 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
12546 2007-09-14 Kevin McCullough <kmccullough@apple.com>
12550 - Changing Win version of Drosera work with recent changes.
12552 * Drosera/DebuggerDocument.cpp:
12553 * Drosera/DebuggerDocument.h:
12554 * Drosera/mac/DebuggerDocumentPlatform.mm:
12555 (NSStringCreateWithJSStringRef):
12556 (JSValueRefCreateWithNSString):
12557 * Drosera/win/DebuggerClient.cpp:
12558 (DebuggerClient::stepInto):
12559 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
12561 2007-09-13 Kevin McCullough <kmccullough@apple.com>
12565 - Moved isPaused into the JS for efficiency and simplicity.
12567 * Drosera/DebuggerDocument.cpp:
12568 (DebuggerDocument::DebuggerDocument):
12569 (DebuggerDocument::pauseCallback):
12570 (DebuggerDocument::resumeCallback):
12571 (DebuggerDocument::isPaused):
12572 (DebuggerDocument::staticFunctions):
12573 * Drosera/DebuggerDocument.h:
12574 * Drosera/console.js:
12575 * Drosera/debugger.js:
12576 * Drosera/mac/DebuggerClient.mm:
12577 (-[DebuggerClient validateUserInterfaceItem:]):
12579 2007-09-13 Sam Weinig <sam@webkit.org>
12581 Rubber stamped by Darin Adler.
12583 Make DumpRenderTree more cross platform ready.
12584 - Convert GCController to use the JSCore API instead of the WebScriptObject.
12585 - Use CF types instead of NS objects.
12588 * DumpRenderTree/DumpRenderTree.h:
12589 * DumpRenderTree/DumpRenderTree.mm:
12593 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12594 * DumpRenderTree/EditingDelegate.m:
12595 * DumpRenderTree/FrameLoadDelegate.h:
12596 * DumpRenderTree/FrameLoadDelegate.mm:
12597 (-[FrameLoadDelegate init]):
12598 (-[FrameLoadDelegate dealloc]):
12599 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12600 * DumpRenderTree/GCController.cpp: Added.
12601 (GCController::GCController):
12602 (GCController::~GCController):
12604 (collectOnAlternateThreadCallback):
12605 (getJSObjectCountCallback):
12606 (GCController::makeWindowObject):
12607 (GCController::getJSClass):
12608 (GCController::staticFunctions):
12609 * DumpRenderTree/GCController.h:
12610 * DumpRenderTree/GCController.mm:
12611 (GCController::collect):
12612 (GCController::collectOnAlternateThread):
12613 (GCController::getJSObjectCount):
12614 * DumpRenderTree/LayoutTestController.cpp:
12615 (LayoutTestController::makeWindowObject):
12616 (LayoutTestController::getJSClass):
12617 * DumpRenderTree/LayoutTestController.h:
12618 * DumpRenderTree/LayoutTestControllerMac.mm:
12619 (LayoutTestController::addDisallowedURL):
12620 (waitUntilDoneWatchdogFired):
12621 (LayoutTestController::waitUntilDone):
12622 * DumpRenderTree/ResourceLoadDelegate.m:
12623 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
12625 2007-09-12 Sam Weinig <sam@webkit.org>
12627 Reviewed by Stephanie.
12629 Fix leaks in mac DumpRenderTree.
12631 * DumpRenderTree/FrameLoadDelegate.mm:
12632 (-[FrameLoadDelegate init]): Initalize in the correct order.
12633 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
12634 * DumpRenderTree/LayoutTestController.cpp:
12635 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
12636 (encodeHostNameCallback): ditto.
12637 * DumpRenderTree/LayoutTestController.h:
12638 * DumpRenderTree/LayoutTestControllerMac.mm:
12639 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
12640 (LayoutTestController::copyEncodedHostName): ditto
12641 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
12643 2007-09-12 Kevin McCullough <kmccullough@apple.com>
12647 - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on. This will allow us to get the bot green, but later we should remove it.
12649 * Scripts/run-webkit-tests:
12651 2007-09-12 Kevin McCullough <kmccullough@apple.com>
12653 Reviewed by Darin Adler.
12655 - Simplified code paths and extracted out functions to increase encapsulation.
12657 * Drosera/DebuggerDocument.cpp:
12658 (DebuggerDocument::breakpointEditorHTMLCallback):
12659 (DebuggerDocument::isPausedCallback):
12660 (DebuggerDocument::pauseCallback):
12661 (DebuggerDocument::resumeCallback):
12662 (DebuggerDocument::stepIntoCallback):
12663 (DebuggerDocument::evaluateScriptCallback):
12664 (DebuggerDocument::currentFunctionStackCallback):
12665 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
12666 (DebuggerDocument::valueForScopeVariableNamedCallback):
12667 (DebuggerDocument::logCallback):
12668 * Drosera/DebuggerDocument.h:
12669 (DebuggerDocument::getPaused):
12670 * Drosera/mac/DebuggerClient.mm:
12671 (-[DebuggerClient pause:]):
12672 (-[DebuggerClient resume:]):
12673 (-[DebuggerClient stepInto:]):
12674 (-[DebuggerClient stepOver:]):
12675 (-[DebuggerClient stepOut:]):
12676 (-[DebuggerClient showConsole:]):
12677 (-[DebuggerClient closeCurrentFile:]):
12678 (-[DebuggerClient validateUserInterfaceItem:]):
12679 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
12680 (+[NSString stringOrNilFromWebScriptResult:]):
12681 (DebuggerDocument::platformPause):
12682 (DebuggerDocument::platformResume):
12683 (DebuggerDocument::platformStepInto):
12684 (DebuggerDocument::platformEvaluateScript):
12685 (DebuggerDocument::getPlatformCurrentFunctionStack):
12686 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12687 (DebuggerDocument::platformValueForScopeVariableNamed):
12688 (DebuggerDocument::platformLog):
12689 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
12691 2007-09-12 Sam Weinig <sam@webkit.org>
12693 Build fix for Buildbot.
12695 * DumpRenderTree/DumpRenderTree.mm:
12698 2007-09-12 Kevin McCullough <kmccullough@apple.com>
12702 - Updated the leaks list for leopard to help identify regressions.
12704 * Scripts/run-webkit-tests:
12706 2007-09-12 Sam Weinig <sam@webkit.org>
12708 Rubber stamped by Darin Adler.
12710 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
12712 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
12713 * DumpRenderTree/DumpRenderTree.m: Removed.
12714 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
12715 (stopJavaScriptThreads): Fix initialization.
12716 (setDefaultColorProfileToRGB): Add explicit cast from void*.
12717 (dumpRenderTree): Ditto.
12719 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
12721 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12722 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
12723 * DumpRenderTree/FrameLoadDelegate.m: Removed.
12724 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
12725 (-[FrameLoadDelegate init]):
12726 (-[FrameLoadDelegate dealloc]):
12727 (-[FrameLoadDelegate processWork:]):
12728 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
12729 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12730 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
12732 * DumpRenderTree/LayoutTestController.cpp: Added.
12733 (LayoutTestController::LayoutTestController):
12734 (LayoutTestController::~LayoutTestController):
12735 (dumpAsTextCallback):
12736 (dumpBackForwardListCallback):
12737 (dumpChildFramesAsTextCallback):
12738 (dumpChildFrameScrollPositionsCallback):
12739 (dumpDOMAsWebArchiveCallback):
12740 (dumpEditingCallbacksCallback):
12741 (dumpFrameLoadCallbacksCallback):
12742 (dumpResourceLoadCallbacksCallback):
12743 (dumpSelectionRectCallback):
12744 (dumpSourceAsWebArchiveCallback):
12745 (dumpTitleChangesCallback):
12746 (repaintSweepHorizontallyCallback):
12747 (setCallCloseOnWebViewsCallback):
12748 (setCanOpenWindowsCallback):
12749 (setCloseRemainingWindowsWhenCompleteCallback):
12750 (testRepaintCallback):
12751 (addFileToPasteboardOnDragCallback):
12752 (addDisallowedURLCallback):
12753 (clearBackForwardListCallback):
12754 (decodeHostNameCallback):
12756 (encodeHostNameCallback):
12757 (keepWebHistoryCallback):
12758 (notifyDoneCallback):
12759 (queueBackNavigationCallback):
12760 (queueForwardNavigationCallback):
12761 (queueLoadCallback):
12762 (queueReloadCallback):
12763 (queueScriptCallback):
12764 (setAcceptsEditingCallback):
12765 (setCustomPolicyDelegateCallback):
12766 (setMainFrameIsFirstResponderCallback):
12767 (setTabKeyCyclesThroughElementsCallback):
12768 (setUseDashboardCompatibilityModeCallback):
12769 (setUserStyleSheetEnabledCallback):
12770 (setUserStyleSheetLocationCallback):
12771 (setWindowIsKeyCallback):
12772 (waitUntilDoneCallback):
12773 (windowCountCallback):
12774 (LayoutTestController::makeWindowObject):
12775 (LayoutTestController::getLayoutTestControllerJSClass):
12776 (LayoutTestController::staticFunctions):
12777 * DumpRenderTree/LayoutTestController.h: Replaced.
12778 * DumpRenderTree/LayoutTestController.m: Removed.
12779 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
12780 (LayoutTestController::dumpAsText):
12781 (LayoutTestController::dumpBackForwardList):
12782 (LayoutTestController::dumpChildFramesAsText):
12783 (LayoutTestController::dumpChildFrameScrollPositions):
12784 (LayoutTestController::dumpDOMAsWebArchive):
12785 (LayoutTestController::dumpEditingCallbacks):
12786 (LayoutTestController::dumpFrameLoadCallbacks):
12787 (LayoutTestController::dumpResourceLoadCallbacks):
12788 (LayoutTestController::dumpSelectionRect):
12789 (LayoutTestController::dumpSourceAsWebArchive):
12790 (LayoutTestController::dumpTitleChanges):
12791 (LayoutTestController::repaintSweepHorizontally):
12792 (LayoutTestController::setCallCloseOnWebViews):
12793 (LayoutTestController::setCanOpenWindows):
12794 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
12795 (LayoutTestController::testRepaint):
12796 (LayoutTestController::addFileToPasteboardOnDrag):
12797 (LayoutTestController::addDisallowedURL):
12798 (LayoutTestController::clearBackForwardList):
12799 (LayoutTestController::decodeHostName):
12800 (LayoutTestController::encodeHostName):
12801 (LayoutTestController::display):
12802 (LayoutTestController::keepWebHistory):
12803 (LayoutTestController::notifyDone):
12804 (LayoutTestController::queueBackNavigation):
12805 (LayoutTestController::queueForwardNavigation):
12806 (LayoutTestController::queueLoad):
12807 (LayoutTestController::queueReload):
12808 (LayoutTestController::queueScript):
12809 (LayoutTestController::setAcceptsEditing):
12810 (LayoutTestController::setCustomPolicyDelegate):
12811 (LayoutTestController::setMainFrameIsFirstResponder):
12812 (LayoutTestController::setTabKeyCyclesThroughElements):
12813 (LayoutTestController::setUseDashboardCompatibilityMode):
12814 (LayoutTestController::setUserStyleSheetEnabled):
12815 (LayoutTestController::setUserStyleSheetLocation):
12816 (LayoutTestController::setWindowIsKey):
12817 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
12818 (LayoutTestController::waitUntilDone):
12819 (LayoutTestController::windowCount):
12820 Use the JSCore API to implement the LayoutTestController.
12822 * DumpRenderTree/ObjCController.h:
12823 * DumpRenderTree/ObjCController.m:
12824 (+[ObjCController isSelectorExcludedFromWebScript:]):
12825 (+[ObjCController webScriptNameForSelector:]):
12826 (-[ObjCController accessStoredWebScriptObject]):
12827 (-[ObjCController storeWebScriptObject:]):
12828 (-[ObjCController dealloc]):
12829 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
12830 Move WebScriptObject tests to ObjCController.
12832 * DumpRenderTree/UIDelegate.m: Removed.
12833 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
12835 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
12836 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
12837 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
12838 (WorkQueueItem::~WorkQueueItem):
12839 (LoadItem::LoadItem):
12841 (LoadItem::target):
12842 (ScriptItem::ScriptItem):
12843 (ScriptItem::script):
12844 * DumpRenderTree/WorkQueueItemMac.mm: Added.
12845 (LoadItem::invoke):
12846 (ReloadItem::invoke):
12847 (ScriptItem::invoke):
12848 (BackForwardItem::invoke):
12849 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
12850 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
12853 2007-09-11 Kevin McCullough <kmccullough@apple.com>
12855 Reviewed by Maciej.
12857 - Updated Win side to take advantage of the platform separating changes.
12859 * Drosera/DebuggerDocument.cpp:
12860 (DebuggerDocument::localScopeVariableNamesForCallFrame):
12861 * Drosera/DebuggerDocument.h:
12862 * Drosera/win/DebuggerClient.cpp:
12863 (DebuggerClient::pause):
12864 (DebuggerClient::resume):
12865 (DebuggerClient::stepInto):
12866 (DebuggerDocument::platformPause):
12867 (DebuggerDocument::platformResume):
12868 (DebuggerDocument::platformStepInto):
12869 (DebuggerDocument::platformEvaluateScript):
12870 (DebuggerDocument::getPlatformCurrentFunctionStack):
12871 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12872 (DebuggerDocument::platformValueForScopeVariableNamed):
12873 (DebuggerDocument::platformLog):
12874 * Drosera/win/DebuggerClient.h:
12875 * Drosera/win/Drosera.cpp:
12876 (Drosera::Drosera):
12877 (Drosera::windowScriptObjectAvailable):
12878 (Drosera::initWithServerName):
12879 (Drosera::switchToServerNamed):
12880 * Drosera/win/Drosera.h:
12881 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
12883 2007-09-11 Kevin McCullough <kmccullough@apple.com>
12887 - Just doing the moves in a separate patch so the changes are easier to see.
12889 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
12890 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
12891 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
12892 * Drosera/win/DebuggerDocumentWin.h: Removed.
12893 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
12895 2007-09-11 Sven Herzberg <sven@imendio.com>
12897 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
12898 http://bugs.webkit.org/show_bug.cgi?id=15176
12900 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
12901 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
12902 other paths eg. from jhbuild)
12904 2007-09-10 Kevin McCullough <kmccullough@apple.com>
12908 - Made an order-of-deletion mistake.
12910 * Drosera/DebuggerDocument.h:
12911 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
12912 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
12913 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
12914 * Drosera/mac/DebuggerClient.mm:
12915 (DebuggerDocument::platformPause):
12916 (DebuggerDocument::platformResume):
12917 (DebuggerDocument::platformStepInto):
12918 (DebuggerDocument::platformEvaluateScript):
12919 (DebuggerDocument::getPlatformCurrentFunctionStack):
12920 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12921 (DebuggerDocument::platformValueForScopeVariableNamed):
12922 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
12924 2007-09-10 Kevin McCullough <kmccullough@apple.com>
12926 Reviewed by Darin Adler.
12928 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
12930 * Drosera/DebuggerDocument.cpp:
12931 (DebuggerDocument::DebuggerDocument):
12932 * Drosera/DebuggerDocument.h:
12933 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
12934 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
12935 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
12936 * Drosera/mac/DebuggerApplication.mm:
12937 (-[DebuggerApplication attach:]):
12938 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
12939 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
12940 (DebuggerDocument::platformPause):
12941 (DebuggerDocument::platformResume):
12942 (DebuggerDocument::platformStepInto):
12943 (DebuggerDocument::platformEvaluateScript):
12944 (DebuggerDocument::getPlatformCurrentFunctionStack):
12945 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12946 (DebuggerDocument::platformValueForScopeVariableNamed):
12947 (DebuggerDocument::platformLog):
12948 * Drosera/mac/DebuggerDocumentMac.h: Removed.
12949 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
12950 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
12952 2007-09-09 Sam Weinig <sam@webkit.org>
12954 Reviewed by Mark Rowe.
12956 Remove 'objC' prefix from methods now in the ObjCController.
12958 * DumpRenderTree/ObjCController.m:
12959 (+[ObjCController isSelectorExcludedFromWebScript:]):
12960 (+[ObjCController webScriptNameForSelector:]):
12961 (-[ObjCController classNameOf:]):
12962 (-[ObjCController objectOfClass:]):
12963 (-[ObjCController identityIsEqual::]):
12964 (-[ObjCController longLongRoundTrip:]):
12965 (-[ObjCController unsignedLongLongRoundTrip:]):
12967 2007-09-09 Sam Weinig <sam@webkit.org>
12969 Reviewed by Oliver.
12971 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
12972 - Move LayoutTestController into its own file.
12973 - Move Objective-C only functions on LayoutTestController into a new controller called the
12976 * DumpRenderTree/DumpRenderTree.h:
12977 * DumpRenderTree/DumpRenderTree.m:
12979 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12980 * DumpRenderTree/FrameLoadDelegate.m:
12981 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12982 * DumpRenderTree/LayoutTestController.h: Added.
12983 * DumpRenderTree/LayoutTestController.m: Added.
12984 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12985 (+[LayoutTestController webScriptNameForSelector:]):
12986 (-[LayoutTestController clearBackForwardList]):
12987 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
12988 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
12989 (-[LayoutTestController setCustomPolicyDelegate:]):
12990 (-[LayoutTestController keepWebHistory]):
12991 (-[LayoutTestController setCallCloseOnWebViews:]):
12992 (-[LayoutTestController setCanOpenWindows]):
12993 (-[LayoutTestController waitUntilDone]):
12994 (-[LayoutTestController waitUntilDoneWatchdogFired]):
12995 (-[LayoutTestController notifyDone]):
12996 (-[LayoutTestController dumpAsText]):
12997 (-[LayoutTestController addFileToPasteboardOnDrag]):
12998 (-[LayoutTestController addDisallowedURL:]):
12999 (-[LayoutTestController setUserStyleSheetLocation:]):
13000 (-[LayoutTestController setUserStyleSheetEnabled:]):
13001 (-[LayoutTestController dumpDOMAsWebArchive]):
13002 (-[LayoutTestController dumpSourceAsWebArchive]):
13003 (-[LayoutTestController dumpSelectionRect]):
13004 (-[LayoutTestController dumpTitleChanges]):
13005 (-[LayoutTestController dumpBackForwardList]):
13006 (-[LayoutTestController windowCount]):
13007 (-[LayoutTestController dumpChildFrameScrollPositions]):
13008 (-[LayoutTestController dumpChildFramesAsText]):
13009 (-[LayoutTestController dumpEditingCallbacks]):
13010 (-[LayoutTestController dumpResourceLoadCallbacks]):
13011 (-[LayoutTestController dumpFrameLoadCallbacks]):
13012 (-[LayoutTestController setWindowIsKey:]):
13013 (-[LayoutTestController setMainFrameIsFirstResponder:]):
13014 (-[LayoutTestController display]):
13015 (-[LayoutTestController testRepaint]):
13016 (-[LayoutTestController repaintSweepHorizontally]):
13017 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
13018 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
13019 (-[LayoutTestController _doLoad:target:]):
13020 (-[LayoutTestController _doBackOrForwardNavigation:]):
13021 (-[LayoutTestController queueBackNavigation:]):
13022 (-[LayoutTestController queueForwardNavigation:]):
13023 (-[LayoutTestController queueReload]):
13024 (-[LayoutTestController queueScript:]):
13025 (-[LayoutTestController queueLoad:target:]):
13026 (-[LayoutTestController setAcceptsEditing:]):
13027 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
13028 (-[LayoutTestController storeWebScriptObject:]):
13029 (-[LayoutTestController accessStoredWebScriptObject]):
13030 (-[LayoutTestController dealloc]):
13031 (-[LayoutTestController decodeHostName:]):
13032 (-[LayoutTestController encodeHostName:]):
13033 * DumpRenderTree/ObjCController.h: Added.
13034 * DumpRenderTree/ObjCController.m: Added.
13035 (+[ObjCController isSelectorExcludedFromWebScript:]):
13036 (+[ObjCController webScriptNameForSelector:]):
13037 (-[ObjCController objCClassNameOf:]):
13038 (-[ObjCController objCObjectOfClass:]):
13039 (-[ObjCController objCIdentityIsEqual::]):
13040 (-[ObjCController objCLongLongRoundTrip:]):
13041 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
13042 (-[ObjCController testWrapperRoundTripping:]):
13044 2007-09-07 Sam Weinig <sam@webkit.org>
13048 Strip trailing and leading space/newline characters from skiplist file names.
13050 * Scripts/run-webkit-tests:
13052 2007-09-06 Kevin McCullough <kmccullough@apple.com>
13054 Reviewed by Maciej.
13056 - Changed Drosera to take advantage of the JSRetainPtr changes.
13058 * Drosera/DebuggerDocument.cpp:
13059 (DebuggerDocument::breakpointEditorHTML):
13060 (DebuggerDocument::evaluateScript):
13061 (DebuggerDocument::valueForScopeVariableNamed):
13062 (DebuggerDocument::log):
13063 (DebuggerDocument::windowScriptObjectAvailable):
13064 (DebuggerDocument::toJSArray):
13065 (DebuggerDocument::callFunctionOnObject):
13066 (DebuggerDocument::logException):
13067 * Drosera/mac/DebuggerDocumentMac.mm:
13068 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
13069 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
13070 (DebuggerDocument::platformEvaluateScript):
13071 (DebuggerDocument::getPlatformCurrentFunctionStack):
13072 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
13073 (DebuggerDocument::platformValueForScopeVariableNamed):
13075 2007-09-05 Kevin McCullough <kmccullough@apple.com>
13077 Reviewed by Adam, Sam, Darin.
13079 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
13081 * Drosera/Debugger.h: Added.
13082 * Drosera/DebuggerDocument.cpp:
13083 (DebuggerDocument::breakpointEditorHTMLCallback):
13084 (DebuggerDocument::isPausedCallback):
13085 (DebuggerDocument::pauseCallback):
13086 (DebuggerDocument::resumeCallback):
13087 (DebuggerDocument::stepIntoCallback):
13088 (DebuggerDocument::evaluateScriptCallback):
13089 (DebuggerDocument::currentFunctionStackCallback):
13090 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
13091 (DebuggerDocument::valueForScopeVariableNamedCallback):
13092 (DebuggerDocument::logCallback):
13093 (DebuggerDocument::breakpointEditorHTML):
13094 (DebuggerDocument::isPaused):
13095 (DebuggerDocument::pause):
13096 (DebuggerDocument::resume):
13097 (DebuggerDocument::stepInto):
13098 (DebuggerDocument::evaluateScript):
13099 (DebuggerDocument::currentFunctionStack):
13100 (DebuggerDocument::localScopeVariableNamesForCallFrame):
13101 (DebuggerDocument::valueForScopeVariableNamed):
13102 (DebuggerDocument::log):
13103 (DebuggerDocument::toolbarPause):
13104 (DebuggerDocument::toolbarResume):
13105 (DebuggerDocument::toolbarStepInto):
13106 (DebuggerDocument::toolbarStepOver):
13107 (DebuggerDocument::toolbarStepOut):
13108 (DebuggerDocument::toolbarShowConsole):
13109 (DebuggerDocument::toolbarCloseCurrentFile):
13110 (DebuggerDocument::updateFileSource):
13111 (DebuggerDocument::didParseScript):
13112 (DebuggerDocument::willExecuteStatement):
13113 (DebuggerDocument::didEnterCallFrame):
13114 (DebuggerDocument::willLeaveCallFrame):
13115 (DebuggerDocument::exceptionWasRaised):
13116 (DebuggerDocument::windowScriptObjectAvailable):
13117 (DebuggerDocument::toJSArray):
13118 (DebuggerDocument::callGlobalFunction):
13119 (DebuggerDocument::callFunctionOnObject):
13120 (DebuggerDocument::getDroseraJSClass):
13121 (DebuggerDocument::staticFunctions):
13122 (DebuggerDocument::logException):
13123 * Drosera/DebuggerDocument.h:
13124 (DebuggerDocument::DebuggerDocument):
13125 * Drosera/ForwardingHeaders: Added.
13126 * Drosera/ForwardingHeaders/wtf: Added.
13127 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
13128 * Drosera/config.h:
13129 * Drosera/console.html:
13130 * Drosera/console.js:
13131 * Drosera/debugger.js:
13132 * Drosera/mac/DebuggerApplication.mm:
13133 (-[DebuggerApplication attach:]):
13134 * Drosera/mac/DebuggerDocumentMac.h:
13135 * Drosera/mac/DebuggerDocumentMac.mm:
13136 (+[NSString stringOrNilFromWebScriptResult:]):
13137 (+[DebuggerClientMac log:]):
13138 (-[DebuggerClientMac initWithServerName:]):
13139 (-[DebuggerClientMac dealloc]):
13140 (-[DebuggerClientMac pause]):
13141 (-[DebuggerClientMac resume]):
13142 (-[DebuggerClientMac pause:]):
13143 (-[DebuggerClientMac resume:]):
13144 (-[DebuggerClientMac stepInto:]):
13145 (-[DebuggerClientMac stepOver:]):
13146 (-[DebuggerClientMac stepOut:]):
13147 (-[DebuggerClientMac showConsole:]):
13148 (-[DebuggerClientMac closeCurrentFile:]):
13149 (-[DebuggerClientMac validateUserInterfaceItem:]):
13150 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
13151 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
13152 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
13153 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
13154 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
13155 (DebuggerDocument::platformPause):
13156 (DebuggerDocument::platformResume):
13157 (DebuggerDocument::platformStepInto):
13158 (DebuggerDocument::platformEvaluateScript):
13159 (DebuggerDocument::platformCurrentFunctionStack):
13160 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
13161 (DebuggerDocument::platformValueForScopeVariableNamed):
13162 (DebuggerDocument::platformLog):
13163 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
13165 2007-09-06 Sam Weinig <sam@webkit.org>
13167 Reviewed by Adam Roben.
13169 Register the WebKit DLL on initialization of the DumpRenderTree.
13171 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13174 2007-09-05 Sam Weinig <sam@webkit.org>
13176 Reviewed by Oliver.
13178 Fix many layout test failures caused by r25364.
13179 Set text size to standand size at the begining of each test matching the mac.
13181 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13184 2007-09-04 Sam Weinig <sam@webkit.org>
13188 Fix for <rdar://problem/5382277>
13189 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
13191 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
13192 (textZoomInCallback):
13193 (textZoomOutCallback):
13195 2007-08-29 David Kilzer <ddkilzer@apple.com>
13199 Added case-insensitivity to checks for adding regression tests.
13201 * Scripts/prepare-ChangeLog:
13202 (generateFileList):
13204 2007-08-28 David Kilzer <ddkilzer@apple.com>
13206 Reviewed by Maciej.
13208 Ignore files in /resources/ subdirectories when creating a list of added tests.
13210 * Scripts/prepare-ChangeLog:
13211 (generateFileList):
13213 2007-08-27 Kevin McCullough <kmccullough@apple.com>
13217 - Removed Leopard leaks list since all of those radars were fixed.
13219 * Scripts/run-webkit-tests:
13221 2007-08-27 Adam Roben <aroben@apple.com>
13223 Rubberstamped by Mark.
13225 * Scripts/pdevenv: Pass arguments along to devenv.com.
13227 2007-08-26 David Kilzer <ddkilzer@webkit.org>
13229 Reviewed by Mark Rowe.
13231 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
13233 * Scripts/prepare-ChangeLog:
13234 (changeLogDate): Added.
13236 2007-08-24 Sam Weinig <sam@webkit.org>
13238 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
13240 2007-08-24 Sam Weinig <sam@webkit.org>
13242 Rubber-stamped by Adam Roben.
13244 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
13246 Rename COM DOM bindings to use Deprecated prefix.
13248 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13249 (dumpFramesAsText):
13251 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
13254 (EditingDelegate::shouldBeginEditingInDOMRange):
13255 (EditingDelegate::shouldEndEditingInDOMRange):
13256 (EditingDelegate::shouldInsertNode):
13257 (EditingDelegate::shouldInsertText):
13258 (EditingDelegate::shouldDeleteDOMRange):
13259 (EditingDelegate::shouldChangeSelectedDOMRange):
13260 (EditingDelegate::shouldApplyStyle):
13261 (EditingDelegate::shouldChangeTypingStyle):
13262 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
13264 2007-08-24 Oliver Hunt <oliver@apple.com>
13266 Reviewed by John H.
13268 WebDataSource::response can legitimately have a null response, so we
13269 must check that case.
13271 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
13272 (queueLoadCallback):
13274 2007-08-23 Mitz Pettel <mitz@webkit.org>
13276 Reviewed by Darin and Adam.
13278 - DumpRenderTree changes to allow testing for
13279 http://bugs.webkit.org/show_bug.cgi?id=11756
13280 REGRESSION: link targeting a frame in another window does not work
13281 <rdar://problem/5286420>
13283 Use a frame group name for all WebViews created by DumpRenderTree to
13284 allow testing of cross-page frame lookup.
13286 * DumpRenderTree/DumpRenderTree.m:
13287 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
13288 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13289 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
13291 2007-08-23 David Kilzer <ddkilzer@webkit.org>
13295 Quote the $sslCertificate path in case it contains a space.
13297 * Scripts/run-webkit-httpd:
13298 * Scripts/run-webkit-tests:
13300 2007-08-22 Oliver Hunt <oliver@apple.com>
13302 Reviewed by John and Adam.
13304 WebDataSource::response can legitimately have a null response, so we
13305 must check that case.
13307 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13310 2007-08-21 Kevin McCullough <kmccullough@apple.com>
13314 - Changing the usage to be more clear.
13316 * Scripts/run-testkjs:
13318 2007-08-20 John Sullivan <sullivan@apple.com>
13320 Reviewed by Adam Roben
13322 * DumpRenderTree/DumpRenderTree.m:
13324 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
13325 in layout tests on Tiger and Leopard
13327 2007-08-20 Adam Roben <aroben@apple.com>
13329 Put LayoutTests after all other ChangeLogs in commit logs
13331 We use "~" to sort LayoutTests after all the other ChangeLogs because
13332 "~" is the last ASCII character (other than "DEL").
13336 * Scripts/commit-log-editor:
13338 2007-08-20 Adam Roben <aroben@apple.com>
13340 Detect that DRT crashed even if a crash dialog is running
13342 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
13343 process is still running at this point, so run-webkit-tests wouldn't
13344 detect that DRT had crashed. We now record the crash in our SIGPIPE
13345 handler so that we know if DRT crashed even if the crash dialog is up.
13349 * Scripts/run-webkit-tests:
13350 (sub catch_pipe): Set the crashed bit.
13351 (sub openDumpTool): Reset the crashed bit.
13352 (sub dumpToolDidCrash): Check the crashed bit.
13354 2007-08-20 Adam Roben <aroben@apple.com>
13356 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
13358 http://bugs.webkit.org/show_bug.cgi?id=15026
13360 Reviewed by David Kilzer and Darin Adler.
13362 * Scripts/prepare-ChangeLog:
13363 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
13364 (sub isAddedStatus): Ditto.
13365 (sub testListForChangeLog): Added.
13367 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
13371 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
13373 * Scripts/webkitdirs.pm:
13374 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
13376 2007-08-17 Darin Adler <darin@apple.com>
13378 Reviewed by Oliver Hunt.
13380 - don't look for Apple-style localizable strings in the GTK version of WebKit
13382 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
13383 name of subdirectories to skip.
13384 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
13387 2007-08-17 Anders Carlsson <andersca@apple.com>
13391 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13394 2007-08-17 Anders Carlsson <andersca@apple.com>
13396 Reviewed by Dave Hyatt.
13398 <rdar://problem/5379040>
13399 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
13401 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
13403 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13405 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13406 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13410 2007-08-16 Alice Liu <alice.liu@apple.com>
13412 Reviewed by Maciej.
13414 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
13416 * DumpRenderTree/DumpRenderTree.m:
13418 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
13420 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
13422 2007-08-16 Kevin McCullough <kmccullough@apple.com>
13426 - Added tests for regressions in other components. In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
13428 * Scripts/run-webkit-tests:
13430 2007-08-15 Timothy Hatcher <timothy@apple.com>
13432 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
13433 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
13435 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
13436 this prevents making "build" directories in each project folder.
13438 * Scripts/webkitdirs.pm:
13440 2007-08-14 Geoffrey Garen <ggaren@apple.com>
13442 Reviewed by Kevin Mccullough.
13444 Removed special case that didn't belong. (It would allow a global
13445 initializer to sneak into production builds, which would cause a
13446 system-wide performance regression on Mac OS X.)
13448 * Scripts/check-for-global-initializers:
13450 2007-08-14 Justin Garcia <justin.garcia@apple.com>
13454 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
13456 * DumpRenderTree/EditingDelegate.m:
13457 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
13458 only for elements with the class needsDeletionUI.
13460 2007-08-14 David Kilzer <ddkilzer@webkit.org>
13462 Reviewed by Darin Adler.
13464 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
13465 svn-create-patch uses deprecated tail switch
13467 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
13469 2007-08-13 Sam Weinig <sam@webkit.org>
13471 Reviewed by Adam Roben.
13473 Use the cygwin specific Apache config file under cygwin.
13475 * Scripts/run-webkit-httpd:
13477 2007-08-12 Adam Roben <aroben@apple.com>
13479 Generate results for new tests in a more logical location
13481 New platform-specific tests always have their results generated right
13482 next to the test. New cross-platform tests will have their results
13483 generated a) in the cross-platform directory, if they are text-only,
13484 or b) in the least-specific platform directory, if they are render
13489 * Scripts/run-webkit-tests:
13491 2007-08-12 Adam Roben <aroben@apple.com>
13493 Print the actual directory where new results are generated.
13495 Before, we were printing an unpredictable, context-specific substring
13500 * Scripts/run-webkit-tests:
13502 2007-08-12 Adam Roben <aroben@apple.com>
13504 Factor some common code into a stripExtension() subroutine.
13508 * Scripts/run-webkit-tests: Also removed some debugging output.
13510 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
13512 Reviewed over and over and over by Adam Roben.
13514 Bug 14740: Hierarchical layout tests and platform organization
13515 http://bugs.webkit.org/show_bug.cgi?id=14740
13517 Add support for platform-specific layout tests and results.
13519 * Scripts/run-webkit-tests:
13521 2007-08-11 David Kilzer <ddkilzer@webkit.org>
13525 Refactored svn-create-path to use a hash-of-hashes data structure to keep
13526 track of changed files. In the top level hash, keys are paths to files and
13527 values are 'fileData' hashes with the following keys and values:
13529 - isBinary: boolean value (set to true for non-text files like images, etc.)
13530 - isTestFile: boolean value (set to true if file exists within a known test
13532 - modificationType: string equal to one of 'addition', 'additionWithHistory',
13533 'modification' or 'deletion'
13534 - path: string equal to the path to the file (this may seem redundant, but it
13535 is required to use the second-level 'fileData' hash independent of the
13537 - sourceFile: [optional] string equal to the path of the original file that was
13539 - sourceRevision: [optional] string equal to the revision of the original file
13540 that was copied or moved
13542 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
13543 that saves the return value in $result, then checks it before printing help.
13544 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
13545 and eliminated two for() loops.
13546 (binarycmp): Added. Used with sort() to order non-binary files before binary
13548 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
13549 (findMimeType): Added optional second argument that takes a revision number.
13550 (generateDiff): Updated to take one fileData argument instead of three ($file,
13551 $modificationType, $isBinary).
13552 (generateFileList): Updated to take one hash ref argument (%diffFiles)
13553 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
13554 %diffFiles using paths for keys and fileData hashes for values.
13555 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
13557 (pathcmp): Updated to take two fileData arguments instead of two strings.
13558 (testfilecmp): Added. Used with sort() to order non-test files before test
13561 2007-08-11 Darin Adler <darin@apple.com>
13563 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
13565 2007-08-06 Nigel Tao <nigeltao@gnome.org>
13567 Reviewed by David Kilzer.
13569 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
13570 http://bugs.webkit.org/show_bug.cgi?id=14745
13572 * Scripts/run-launcher:
13573 Scrub the "--gdk" out of the command line args, if given, so that
13574 GdkLauncher doesn't try to interpret it as a URL.
13576 2007-08-03 Adam Roben <aroben@apple.com>
13578 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
13582 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
13584 2007-08-03 Sam Weinig <sam@webkit.org>
13586 Reviewed by Darin Adler.
13588 Recursively dump all frames as text using new
13589 layoutTestController.dumpChildFramesAsText() function.
13591 * DumpRenderTree/DumpRenderTree.m:
13592 (dumpFramesAsText):
13594 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13595 (-[LayoutTestController dumpChildFramesAsText]):
13597 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13598 (dumpFramesAsText):
13601 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
13602 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
13603 (dumpChildFramesAsTextCallback):
13604 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13606 2007-08-02 Adam Roben <aroben@apple.com>
13608 Fix fast/dom/Window/alert-undefined.html
13612 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
13613 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
13614 Windows translate a null BSTR into "(null)"
13616 2007-08-02 Kevin McCullough <kmccullough@apple.com>
13620 - It would help if I actually called the right function.
13622 * Drosera/DebuggerDocument.cpp:
13623 (DebuggerDocument::showConsole):
13625 2007-08-02 Adam Roben <aroben@apple.com>
13627 Don't delete the stderr file right after creating it
13629 * Scripts/run-webkit-tests:
13631 2007-08-01 Adam Roben <aroben@apple.com>
13633 When DRT crashes, record stderr and restart DRT
13635 This prevents a DRT crash from causing the next few hundred tests to
13636 "fail" because DRT is no longer running.
13638 I also changed the terminology that run-webkit-tests uses in its
13639 output a bit, so that crashing tests are referred to as "crashes"
13640 instead of "failures".
13644 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
13646 (sub openDumpTool): Use open3 so that we can access stderr.
13647 (sub dumpToolCrashed): Added.
13648 (sub printFailureMessageForTest): Added.
13649 (sub htmlForExpectedAndActualResults): Added.
13650 (sub deleteExpectedAndActualResults): Added.
13651 (sub recordActualResultsAndDiff): Added.
13653 2007-07-30 Darin Adler <darin@apple.com>
13655 Reviewed by Tim Hatcher.
13657 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
13658 characters. This turned out not to be needed for the test case that motivated me to
13659 do it, but it's nice to have this for the future.
13661 2007-07-30 Simon Hausmann <hausmann@kde.org>
13665 Link QtLauncher into $$OUTPUT_DIR/bin
13667 * Scripts/run-launcher:
13669 2007-07-27 David Kilzer <ddkilzer@apple.com>
13671 Reviewed by Geoff and Darin.
13673 Use a subroutine for validating the --skipped switch.
13675 * Scripts/run-webkit-tests:
13677 2007-07-27 Darin Adler <darin@apple.com>
13681 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
13683 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
13687 Correct the path of GdkLauncher and make checkFrameworks work on OSX
13688 when building the Qt or Gtk+ port.
13690 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
13691 * Scripts/run-launcher:
13692 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
13694 2007-07-27 Simon Hausmann <hausmann@kde.org>
13696 Done with and reviewed by Lars and Zack.
13698 Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
13700 * Scripts/webkitdirs.pm:
13702 2007-07-27 Simon Hausmann <hausmann@kde.org>
13704 Done with and reviewed by Lars and Zack.
13706 For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
13708 * Scripts/webkitdirs.pm:
13710 2007-07-26 Kevin McCullough <kmccullough@apple.com>
13712 Reviewed by Darin, Geoff, Sam.
13714 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
13716 - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
13718 * DumpRenderTree/UIDelegate.h:
13719 * DumpRenderTree/UIDelegate.m:
13720 (-[UIDelegate webView:setFrame:]):
13721 (-[UIDelegate webViewFrame:]):
13723 2007-07-26 Kevin McCullough <kmccullough@apple.com>
13727 - Lars wanted this check for Qt but it breaks platform specific layout tests.
13729 * Scripts/run-webkit-tests:
13731 2007-07-25 Kevin McCullough <kmccullough@apple.com>
13733 Reviewed by Tim, Darin, Oliver.
13735 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
13736 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
13739 * DumpRenderTree/DumpRenderTree.m:
13742 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13743 (+[LayoutTestController webScriptNameForSelector:]):
13744 (-[LayoutTestController setCustomPolicyDelegate:]):
13745 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13746 * DumpRenderTree/FrameLoadDelegate.h:
13747 * DumpRenderTree/PolicyDelegate.h: Added.
13748 * DumpRenderTree/PolicyDelegate.m: Added.
13749 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
13750 * DumpRenderTree/ResourceLoadDelegate.h:
13752 2007-07-25 Adam Treat <treat@kde.org>
13756 Fix build for some reported systems.
13758 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13760 2007-07-23 Adam Treat <treat@kde.org>
13762 Reviewed by Nikolas.
13764 Fix qt DRT to suppress js popup alerts and log instead.
13766 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13767 (WebCore::WebPage::javaScriptAlert):
13769 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
13773 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
13774 honor --qmakearg for the Gdk/Gtk build as well.
13776 * GdkLauncher/main.cpp: Switch to the new API
13777 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
13779 2007-07-22 Darin Adler <darin@apple.com>
13781 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
13782 Fix a leak by releasing the array used here.
13784 2007-07-22 David Kilzer <ddkilzer@webkit.org>
13786 Reviewed by Darin Adler.
13788 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
13789 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
13791 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
13792 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
13794 * Scripts/update-iexploder-cssproperties: Added.
13795 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
13796 Added new CSS3 property section and Moved box-sizing property to it.
13798 2007-07-22 Oliver Hunt <oliver@apple.com>
13800 Reviewed by Darin Adler.
13802 http://bugs.webkit.org/show_bug.cgi?id=14710
13804 Add preliminary support for testing Input Method/WebKit behaviour and interaction
13805 in DRT. This provides the NSTextInput API which is most of what should be necessary
13806 to mimic the event sequences Input Methods trigger.
13808 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13809 * DumpRenderTree/TextInputController.h:
13810 * DumpRenderTree/TextInputController.m:
13811 (-[WebHTMLView interpretKeyEvents:]):
13812 (+[TextInputController isSelectorExcludedFromWebScript:]):
13813 (+[TextInputController webScriptNameForSelector:]):
13814 (-[TextInputController initWithWebView:]):
13815 (-[TextInputController dealloc]):
13816 (-[TextInputController textInput]):
13817 (-[TextInputController setInputMethodHandler:]):
13818 (-[TextInputController interpretKeyEvents:withSender:]):
13820 2007-07-20 Adam Roben <aroben@apple.com>
13822 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
13823 message not count as an existing log.
13825 2007-07-19 Geoffrey Garen <ggaren@apple.com>
13827 Reviewed by Darin Adler.
13829 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
13830 value behavior of stringByEvaluatingJavaScriptFromString
13832 * DumpRenderTree/DumpRenderTree.m:
13833 (testStringByEvaluatingJavaScriptFromString):
13834 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13836 2007-07-19 Adam Roben <aroben@apple.com>
13838 Make commit-log-editor work with git
13842 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
13843 commit message template. Also removed the unused $breakPoint variable.
13845 2007-07-19 Adam Roben <aroben@apple.com>
13847 Move generally-useful VCS code into a new VCSUtils.pm module
13849 This is in preparation for making commit-log-editor git-friendly.
13853 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
13854 * Scripts/prepare-ChangeLog: Use VCSUtils.
13856 2007-07-19 Lars Knoll <lars@trolltech.com>
13858 Fix a crash on exit when running DRT against a current
13863 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13866 2007-07-18 Adam Roben <aroben@apple.com>
13868 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
13872 * Scripts/run-webkit-httpd:
13873 * Scripts/run-webkit-tests:
13875 2007-07-18 Adam Roben <aroben@apple.com>
13877 More git friendliness for prepare-ChangeLog
13879 The overall change is to remove the use of git-status and replace it
13880 with git-diff --name-status (which we were already using in the
13881 --git-commit case).
13883 This lets us respect directories specified on the command line when
13884 using git, just as we do for Subversion. It also speeds things up a
13885 bit, especially in the subdirectory case, as git-status is pretty slow.
13887 I also fixed some issues where we wouldn't detect copied files and
13888 would reverse the new filename and the original filename for renamed files.
13892 * Scripts/prepare-ChangeLog:
13893 (sub diffFromToString): Added.
13894 (sub diffCommand): Don't append the paths in the --git-commit case, as
13895 we should be operating on the entire commit.
13896 (sub statusCommand): Always use git-diff --name-status, and added an
13897 extra -C option to git-diff to make it find a few more copied files.
13898 (sub createPatchCommand): Collapsed the two git cases a bit, and added
13899 the extra -C option as above.
13900 (sub generateFileList): Remove the git-status codepath, and recognize
13901 file copies in the --name-status output.
13902 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
13904 (sub isConflictStatus): Updated the git dictionary.
13905 (sub statusDescription): Updated the git dictionary.
13907 2007-07-18 Timothy Hatcher <timothy@apple.com>
13909 * Scripts/build-drosera: Update where we look for the Xcode project.
13911 2007-07-18 Adam Treat <treat@kde.org>
13915 Use the old wording for Safari.
13917 * Scripts/build-webkit:
13918 * Scripts/webkitdirs.pm:
13920 2007-07-18 Adam Treat <treat@kde.org>
13924 Add convenience script for launching test apps for Qt and Gdk ports.
13925 Change the build-webkit script accordingly.
13927 * Scripts/build-webkit:
13928 * Scripts/run-launcher: Added.
13929 * Scripts/webkitdirs.pm:
13931 2007-07-18 Timothy Hatcher <timothy@apple.com>
13935 Make the Page with the now required InspectorClient.
13937 * GdkLauncher/main.cpp:
13940 2007-07-18 Timothy Hatcher <timothy@apple.com>
13942 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
13943 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
13945 * Drosera/Makefile: Added.
13946 * Drosera/mac/Makefile:
13947 * DumpRenderTree/Makefile:
13949 * Makefile.Drosera: Removed.
13950 * Makefile.shared: Removed.
13952 2007-07-18 Timothy Hatcher <timothy@apple.com>
13954 The console log was 20px down from the top for no reason, move it up.
13956 * Drosera/console.css:
13958 2007-07-18 Timothy Hatcher <timothy@apple.com>
13960 Use contentDocument to get the source view's iframe document.
13961 Also adds a null/undefined check for localVariableNames.
13963 * Drosera/debugger.js:
13965 2007-07-18 Lars Knoll <lars@trolltech.com>
13967 We really don't want to compare non text only tests to the
13968 Mac results if we don't have a result for Qt, as this would
13969 give a failure and not a notification that the test is new.
13973 * Scripts/run-webkit-tests:
13975 2007-07-18 Lars Knoll <lars@trolltech.com>
13977 Reviewed by Zack & Simon
13979 Adjust to changed API in QWebFrame
13981 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13982 (WebCore::DumpRenderTree::DumpRenderTree):
13984 2007-07-18 Mark Rowe <mrowe@apple.com>
13986 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
13988 * BuildSlaveSupport/build-launcher-app:
13990 2007-07-17 Geoffrey Garen <ggaren@apple.com>
13992 Reviewed by Antti Koivisto.
13994 Added watchdog timer to waitUntilDone to prevent a run-away test from
13995 hanging the test harness.
13997 * DumpRenderTree/DumpRenderTree.m:
13999 (-[LayoutTestController waitUntilDone]):
14000 (-[LayoutTestController waitUntilDoneWatchdogFired]):
14001 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14003 2007-07-17 Kevin McCullough <kmccullough@apple.com>
14007 - Implemented cross-platform code for functions calling into the JavaScript.
14009 * Drosera/DebuggerDocument.cpp:
14010 (DebuggerDocument::callAsFunction):
14011 (DebuggerDocument::pauseJS):
14012 (DebuggerDocument::resumeJS):
14013 (DebuggerDocument::stepIntoJS):
14014 (DebuggerDocument::stepOverJS):
14015 (DebuggerDocument::stepOutJS):
14016 (DebuggerDocument::showConsoleJS):
14017 (DebuggerDocument::closeCurrentFileJS):
14018 (DebuggerDocument::updateFileSource):
14019 (DebuggerDocument::didParseScript):
14020 (DebuggerDocument::willExecuteStatement):
14021 (DebuggerDocument::didEnterCallFrame):
14022 (DebuggerDocument::willLeaveCallFrame):
14023 (DebuggerDocument::exceptionWasRaised):
14024 * Drosera/DebuggerDocument.h:
14025 * Drosera/mac/DebuggerDocumentMac.mm:
14026 (-[DebuggerDocumentMac pause:]):
14027 (-[DebuggerDocumentMac resume:]):
14028 (-[DebuggerDocumentMac stepInto:]):
14029 (-[DebuggerDocumentMac stepOver:]):
14030 (-[DebuggerDocumentMac stepOut:]):
14031 (-[DebuggerDocumentMac showConsole:]):
14032 (-[DebuggerDocumentMac closeCurrentFile:]):
14033 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
14034 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
14035 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
14036 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
14037 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
14038 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
14040 2007-07-16 Kevin McCullough <kmccullough@apple.com>
14042 Reviewed by Darin Adler.
14044 - Continued x-platform modifications.
14046 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
14047 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
14048 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
14049 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
14050 * Drosera/win/Drosera.cpp:
14051 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
14052 * Drosera/win/stdafx.cpp: Removed.
14053 * Drosera/win/stdafx.h: Removed.
14055 2007-07-16 Kevin McCullough <kmccullough@apple.com>
14059 - Modified files to use cross-platform code.
14061 * Drosera/DebuggerDocument.cpp: Added.
14062 (DebuggerDocument::breakpointEditorHTML):
14063 (DebuggerDocument::isPaused):
14064 (DebuggerDocument::pause):
14065 (DebuggerDocument::resume):
14066 (DebuggerDocument::stepInto):
14067 (DebuggerDocument::evaluateScript):
14068 (DebuggerDocument::currentFunctionStack):
14069 (DebuggerDocument::localScopeVariableNamesForCallFrame):
14070 (DebuggerDocument::valueForScopeVariableNamed):
14071 * Drosera/DebuggerDocument.h: Added.
14072 (DebuggerDocument::DebuggerDocument):
14073 * Drosera/config.h: Added.
14074 * Drosera/mac/DebuggerApplication.mm:
14075 (-[DebuggerApplication attach:]):
14076 * Drosera/mac/DebuggerDocument.h: Removed.
14077 * Drosera/mac/DebuggerDocument.mm: Removed.
14078 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
14079 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
14080 (-[DebuggerDocumentMac initWithServerName:]):
14081 (-[DebuggerDocumentMac dealloc]):
14082 (-[DebuggerDocumentMac breakpointEditorHTML]):
14083 (-[DebuggerDocumentMac isPaused]):
14084 (-[DebuggerDocumentMac pause]):
14085 (-[DebuggerDocumentMac resume]):
14086 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
14087 * Drosera/win/DebuggerApplication.cpp:
14088 * Drosera/win/DebuggerObjectCallbacks.cpp:
14089 (breakpointEditorHTMLCallback):
14090 (currentFunctionStackCallback):
14091 (evaluateScript_inCallFrame_Callback):
14092 (isPausedCallback):
14093 (localScopeVariableNamesForCallFrame_Callback):
14096 (stepIntoCallback):
14097 (valueForScopeVariableNamed_inCallFrame_Callback):
14099 * Drosera/win/Drosera.cpp:
14100 * Drosera/win/DroseraPrefix.cpp: Added.
14101 * Drosera/win/DroseraPrefix.h: Added.
14103 2007-07-16 Kevin McCullough <kmccullough@apple.com>
14105 Reviewed by Adam, Sam and Tim.
14107 - Moving files to prepare for cross-platform architecture.
14109 * Drosera/DebuggerApplication.h: Removed.
14110 * Drosera/DebuggerApplication.m: Removed.
14111 * Drosera/DebuggerDocument.h: Removed.
14112 * Drosera/DebuggerDocument.m: Removed.
14113 * Drosera/Drosera.pch: Removed.
14114 * Drosera/Drosera.xcodeproj: Removed.
14115 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
14116 * Drosera/Info.plist: Removed.
14117 * Drosera/LauncherInfo.plist: Removed.
14118 * Drosera/Makefile: Removed.
14119 * Drosera/launcher.m: Removed.
14120 * Drosera/mac: Added.
14121 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
14122 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
14123 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
14124 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
14125 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
14126 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
14127 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
14128 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
14129 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
14130 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
14131 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
14132 * Drosera/mac/main.m: Copied from Drosera/main.m.
14133 * Drosera/main.m: Removed.
14135 * Makefile.Drosera: Added.
14137 2007-07-15 Mark Rowe <mrowe@apple.com>
14139 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
14141 2007-07-13 Sam Weinig <sam@webkit.org>
14143 Reviewed by Geoff Garen.
14145 Add support for running SSL tests over HTTPS.
14147 * DumpRenderTree/DumpRenderTree.m:
14149 * DumpRenderTree/FrameLoadDelegate.m:
14150 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
14151 * Scripts/run-webkit-httpd:
14152 * Scripts/run-webkit-tests:
14154 2007-07-13 David Kilzer <ddkilzer@apple.com>
14156 Reviewed by Darin Adler.
14158 Added support for -h|--help argument and verify that all command line arguments parse
14161 * Scripts/run-webkit-httpd:
14163 2007-07-12 Mark Rowe <mrowe@apple.com>
14167 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
14169 * Scripts/run-webkit-tests:
14171 2007-07-12 Geoffrey Garen <ggaren@apple.com>
14173 Reviewed by Oliver Hunt.
14175 Made the leaks tests pass on Leopard.
14177 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
14178 * Scripts/run-leaks: Updated parser for slight change in text output.
14180 2007-07-11 David Kilzer <ddkilzer@apple.com>
14182 Reviewed by Maciej.
14184 Update the iExploder list of CSS properties after box-sizing was renamed to
14185 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
14187 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
14188 -moz-box-sizing remain.
14190 2007-07-10 Darin Adler <darin@apple.com>
14192 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
14193 Foundation's multipart/mixed-replace support -- I already verified that
14194 the bug has been fixed.
14196 2007-07-10 Alice Liu <alice.liu@apple.com>
14198 rubber stamped by Maciej.
14200 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
14202 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
14203 (initializePreferences):
14204 set editable link behavior to match Mac DRT.
14206 2007-07-10 Geoffrey Garen <ggaren@apple.com>
14208 Reviewed by Tim Hatcher.
14210 Ignore Page.o in debug builds because it now has a static PageCounter
14213 * Scripts/check-for-global-initializers:
14215 2007-07-09 Darin Adler <darin@apple.com>
14217 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
14219 2007-07-09 Alice Liu <alice.liu@apple.com>
14221 Reviewed by Adam Roben.
14223 setting DOM Paste Allowed Pref
14225 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
14226 (initializePreferences):
14228 2007-07-05 Kevin McCullough <kmccullough@apple.com>
14230 Reviewed by Adam, Sam, and Ada.
14232 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
14234 * Drosera/Images/Drosera.ico: Added.
14235 * Drosera/Images/small.ico: Added.
14236 * Drosera/win: Added.
14237 * Drosera/win/BaseDelegate.h: Added.
14238 (BaseDelegate::QueryInterface):
14239 (BaseDelegate::didFinishLoadForFrame):
14240 (BaseDelegate::windowScriptObjectAvailable):
14241 (BaseDelegate::didStartProvisionalLoadForFrame):
14242 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
14243 (BaseDelegate::didFailProvisionalLoadWithError):
14244 (BaseDelegate::didCommitLoadForFrame):
14245 (BaseDelegate::didReceiveTitle):
14246 (BaseDelegate::didReceiveIcon):
14247 (BaseDelegate::didFailLoadWithError):
14248 (BaseDelegate::didChangeLocationWithinPageForFrame):
14249 (BaseDelegate::willPerformClientRedirectToURL):
14250 (BaseDelegate::didCancelClientRedirectForFrame):
14251 (BaseDelegate::willCloseFrame):
14252 (BaseDelegate::createWebViewWithRequest):
14253 (BaseDelegate::webViewShow):
14254 (BaseDelegate::webViewClose):
14255 (BaseDelegate::webViewFocus):
14256 (BaseDelegate::webViewUnfocus):
14257 (BaseDelegate::webViewFirstResponder):
14258 (BaseDelegate::makeFirstResponder):
14259 (BaseDelegate::setStatusText):
14260 (BaseDelegate::webViewStatusText):
14261 (BaseDelegate::webViewAreToolbarsVisible):
14262 (BaseDelegate::setToolbarsVisible):
14263 (BaseDelegate::webViewIsStatusBarVisible):
14264 (BaseDelegate::setStatusBarVisible):
14265 (BaseDelegate::webViewIsResizable):
14266 (BaseDelegate::setResizable):
14267 (BaseDelegate::setFrame):
14268 (BaseDelegate::webViewFrame):
14269 (BaseDelegate::setContentRect):
14270 (BaseDelegate::webViewContentRect):
14271 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
14272 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
14273 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
14274 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
14275 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
14276 (BaseDelegate::mouseDidMoveOverElement):
14277 (BaseDelegate::contextMenuItemsForElement):
14278 (BaseDelegate::validateUserInterfaceItem):
14279 (BaseDelegate::shouldPerformAction):
14280 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
14281 (BaseDelegate::willPerformDragDestinationAction):
14282 (BaseDelegate::dragSourceActionMaskForPoint):
14283 (BaseDelegate::willPerformDragSourceAction):
14284 (BaseDelegate::contextMenuItemSelected):
14285 (BaseDelegate::hasCustomMenuImplementation):
14286 (BaseDelegate::trackCustomPopupMenu):
14287 (BaseDelegate::measureCustomMenuItem):
14288 (BaseDelegate::drawCustomMenuItem):
14289 (BaseDelegate::addCustomMenuDrawingData):
14290 (BaseDelegate::cleanUpCustomMenuDrawingData):
14291 (BaseDelegate::canTakeFocus):
14292 (BaseDelegate::takeFocus):
14293 (BaseDelegate::registerUndoWithTarget):
14294 (BaseDelegate::removeAllActionsWithTarget):
14295 (BaseDelegate::setActionTitle):
14296 (BaseDelegate::undo):
14297 (BaseDelegate::redo):
14298 (BaseDelegate::canUndo):
14299 (BaseDelegate::canRedo):
14300 * Drosera/win/DebuggerApplication.cpp: Added.
14301 (DebuggerApplication::serverLoaded):
14302 (DebuggerApplication::serverUnloaded):
14303 (DebuggerApplication::attach):
14304 (DebuggerApplication::numberOfRowsInTableView):
14305 (DebuggerApplication::tableView):
14306 * Drosera/win/DebuggerApplication.h: Added.
14307 (DebuggerApplication::DebuggerApplication):
14308 (DebuggerApplication::knownServers):
14309 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
14310 (breakpointEditorHTMLCallback):
14311 (currentFunctionStackCallback):
14312 (doubleClickMillisecondsCallback):
14313 (evaluateScript_inCallFrame_Callback):
14314 (isPausedCallback):
14315 (localScopeVariableNamesForCallFrame_Callback):
14318 (stepIntoCallback):
14319 (valueForScopeVariableNamed_inCallFrame_Callback):
14321 * Drosera/win/DebuggerObjectCallbacks.h: Added.
14322 * Drosera/win/Drosera.cpp: Added.
14324 (RegisterDroseraClass):
14328 (Drosera::Drosera):
14330 (Drosera::QueryInterface):
14332 (Drosera::Release):
14333 (Drosera::didFinishLoadForFrame):
14334 (getDroseraJSClass):
14335 (Drosera::windowScriptObjectAvailable):
14336 (Drosera::webViewClose):
14337 (Drosera::validateUserInterfaceItem):
14338 (Drosera::runJavaScriptAlertPanelWithMessage):
14340 * Drosera/win/Drosera.h: Added.
14341 (Drosera::webViewLoaded):
14342 * Drosera/win/Drosera.vcproj: Added.
14343 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
14344 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
14345 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
14346 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
14347 * Drosera/win/HelperFunctions.h: Added.
14349 * Drosera/win/Info.plist: Added.
14350 * Drosera/win/resource.h: Added.
14351 * Drosera/win/stdafx.cpp: Added.
14352 * Drosera/win/stdafx.h: Added.
14354 2007-07-09 Adam Treat <adam@staikos.net>
14356 Reviewed by George Staikos.
14358 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
14361 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14362 (WebCore::DumpRenderTree::DumpRenderTree):
14364 2007-07-09 Anders Carlsson <andersca@apple.com>
14366 Reviewed by Oliver.
14368 <rdar://problem/4954319>
14369 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
14370 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
14372 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
14373 return an error from NPP_NewStream.
14375 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
14377 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
14378 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
14382 2007-07-08 Mark Rowe <mrowe@apple.com>
14384 Change name from WebKit/Qt to WebKit.
14386 * CodeCoverage/regenerate-coverage-display:
14388 2007-07-08 Rob Buis <buis@kde.org>
14392 http://bugs.webkit.org/show_bug.cgi?id=14209
14393 DRT should be able to deal with text zoom
14395 Allow increasing/decreasing text zoom using eventSender.
14397 * DumpRenderTree/DumpRenderTree.m:
14399 * DumpRenderTree/EventSendingController.m:
14400 (+[EventSendingController initialize]):
14401 (+[EventSendingController isSelectorExcludedFromWebScript:]):
14402 (-[EventSendingController textZoomIn]):
14403 (-[EventSendingController textZoomOut]):
14405 2007-07-07 Mark Rowe <mrowe@apple.com>
14407 Reviewed by Oliver.
14409 * DumpRenderTree/DumpRenderTree.m:
14410 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
14412 2007-07-06 Anders Carlsson <andersca@apple.com>
14414 Reviewed by David Kilzer.
14416 <rdar://problem/5313502>
14417 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
14419 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
14420 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
14422 * DumpRenderTree/DumpRenderTree.m:
14424 (convertWebResourceDataToString):
14425 (convertWebResourceResponseToDictionary):
14426 (serializeWebArchiveToXML):
14428 2007-07-06 Timothy Hatcher <timothy@apple.com>
14430 Reviewed by Oliver.
14432 Initialize the NSMutableAttributedString directly instead of creating
14433 a NSAttributedString first.
14435 * DumpRenderTree/TextInputController.m:
14436 (-[TextInputController attributedStringWithString:]):
14438 2007-07-06 Anders Carlsson <andersca@apple.com>
14440 Reviewed by David Kilzer.
14442 Replace "Apple Computer" with "Apple" in the DTD declaration.
14444 * DumpRenderTree/DumpRenderTree.m:
14445 (serializeWebArchiveToXML):
14447 2007-07-06 Adam Treat <adam@staikos.net>
14449 Reviewed by George Staikos.
14451 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
14453 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14454 (WebCore::DumpRenderTree::DumpRenderTree):
14456 2007-07-06 George Staikos <staikos@kde.org>
14458 Reviewed by Anders.
14460 Allow passing of additional arguments to qmake with --qmakearg=
14462 * Scripts/webkitdirs.pm:
14464 2007-07-05 George Staikos <staikos@kde.org>
14466 Reviewed by Maciej.
14468 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
14469 give a path to a specific qmake binary. Both are optional.
14471 * Scripts/webkitdirs.pm:
14473 2007-07-05 Adam Roben <aroben@apple.com>
14475 Warn about tests in the Skipped file that succeeded
14477 * Scripts/run-webkit-tests:
14479 2007-07-05 Adam Roben <aroben@apple.com>
14481 Removed unused install-win-extras script
14483 Rubberstamped by Mark.
14485 * Scripts/install-win-extras: Removed.
14487 2007-07-05 Adam Roben <aroben@apple.com>
14489 Show the test's extension in the results page
14491 * Scripts/run-webkit-tests:
14493 2007-07-05 Adam Roben <aroben@apple.com>
14495 Add more options for controlling the interpretation of the Skipped file
14499 * Scripts/run-webkit-tests:
14501 2007-07-04 Adam Roben <aroben@apple.com>
14503 Add --skipped-only option to run-webkit-tests
14505 When this option is specified, only those tests listed in the Skipped
14510 * Scripts/run-webkit-tests:
14512 2007-07-04 Adam Roben <aroben@apple.com>
14514 Clean up/alphabetize the run-webkit-tests help message
14516 * Scripts/run-webkit-tests:
14518 2007-07-04 Adam Roben <aroben@apple.com>
14520 Enable a Leopard-specific Skipped list.
14524 * Scripts/run-webkit-tests: Check for Leopard.
14525 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
14527 2007-07-03 Adam Roben <aroben@apple.com>
14529 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
14531 Got rid of extract-webkit-localizable-strings because it was trying to
14532 do update-webkit-localizable-strings' job.
14534 Rubberstamped by Darin Adler.
14536 * Scripts/extract-webkit-localizable-strings: Removed.
14537 * Scripts/update-webkit-localizable-strings: Renamed from
14538 extract-localizable-strings.
14540 2007-07-03 Adam Roben <aroben@apple.com>
14542 Modify scripts to keep Mac/Windows localized strings in sync
14544 extract-webkit-localizable-strings now handles extracting strings from
14545 both the Mac and Windows WebKit ports and updating their respective
14546 Localizable.strings files. extract-localizable-strings is now really a
14547 piece of plumbing rather than a top-level tool.
14549 Reviewed by Darin and Anders.
14551 * Scripts/extract-localizable-strings: Changed to handle multiple
14553 * Scripts/extract-webkit-localizable-strings: Added.
14555 2007-07-03 Adele Peterson <adele@apple.com>
14557 Reviewed by Darin Adler.
14559 Extended DumpRenderTree to test encoding and decoding host names.
14561 * DumpRenderTree/DumpRenderTree.m:
14562 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
14563 (+[LayoutTestController webScriptNameForSelector:]): ditto.
14564 (-[LayoutTestController decodeHostName:]): Added.
14565 (-[LayoutTestController encodeHostName:]): Added.
14567 2007-07-03 Sam Weinig <sam@webkit.org>
14569 Reviewed by Darin Adler.
14571 Eleventh round of fixes for implicit 64-32 bit conversion errors.
14572 <rdar://problem/5292262>
14574 Add functions to test long long and unsigned long long.
14576 * DumpRenderTree/DumpRenderTree.m:
14577 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14578 (+[LayoutTestController webScriptNameForSelector:]):
14579 (-[LayoutTestController objCLongLongRoundTrip:]):
14580 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
14582 2007-07-01 Adam Roben <aroben@apple.com>
14584 Fix some paths to make http tests work again on Windows
14586 Rubberstamped by Sam.
14588 * Scripts/run-webkit-tests:
14590 2007-06-28 Stephanie <slewis@apple.com>
14594 Allow tests to use pre-built roots instead of building the tests.
14596 * Scripts/run-javascriptcore-tests: added --root option
14597 * Scripts/run-webkit-tests: added --root option
14598 * Scripts/webkitdirs.pm: added support for using a root
14600 2007-06-25 Adam Roben <aroben@apple.com>
14602 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
14603 http://bugs.webkit.org/show_bug.cgi?id=14405
14605 Reviewed by Anders.
14607 * Scripts/run-webkit-tests:
14609 2007-06-25 Adam Roben <aroben@apple.com>
14611 Enable running the regression tests on Windows.
14613 These changes were developed alongside the Windows WebKit port and
14614 have been well tested.
14616 Rubberstamped by Sam.
14618 * Scripts/run-webkit-tests:
14620 2007-06-25 Adam Roben <aroben@apple.com>
14622 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
14623 http://bugs.webkit.org/show_bug.cgi?id=14403
14625 Reviewed by Mark Rowe.
14627 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
14628 (sub createPatchCommand): Generate a correct diff in the $gitCommit
14631 2007-06-25 Adam Roben <aroben@apple.com>
14633 Land pdevenv and supporting scripts/programs
14635 pdevenv is a script that will open an instance of Visual Studio that
14636 can compile multiple files in parallel, similar to make -jN. It uses
14637 the following scripts/programs to accomplish this:
14639 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
14641 parallelcl: Actually performs the parallel compilation by forking
14642 multiple instances of the Microsoft-supplied cl.exe.
14644 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
14645 Microsoft-supplied midl.exe. This avoids having to invoke perl for
14646 every invocation of midl.exe, which would be quite slow.
14648 Rubberstamped by Sam.
14650 * CLWrapper/CLWrapper.cpp: Added.
14652 * CLWrapper/CLWrapper.sln: Added.
14653 * CLWrapper/CLWrapper.vcproj: Added.
14654 * MIDLWrapper/MIDLWrapper.cpp: Added.
14656 * MIDLWrapper/MIDLWrapper.sln: Added.
14657 * MIDLWrapper/MIDLWrapper.vcproj: Added.
14658 * Scripts/parallelcl: Added.
14659 * Scripts/pdevenv: Added.
14660 * vcbin/cl.exe: Added.
14661 * vcbin/midl.exe: Added.
14663 2007-06-23 Adam Roben <aroben@apple.com>
14665 Land num-cpus for the Windows build.
14667 Reviewed by Mark Rowe.
14669 * Scripts/num-cpus: Added.
14671 2007-06-22 Simon Hausmann <hausmann@kde.org>
14673 Reviewed by Adam Roben.
14675 Added support for populating ChangeLog entries from given git commits
14676 using --git-commit=<commitish> and --git-reviewer=<name>.
14678 * Scripts/prepare-ChangeLog:
14680 2007-06-22 Timothy Hatcher <timothy@apple.com>
14682 Reviewed by Anders.
14684 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
14686 There were some changes in Leopard that made our test output inconsistent with Tiger.
14688 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
14689 on Leopard, so output our own readable string for typeType descriptors.
14691 NSArray's description also changed on Leopard to output more whitespace, so
14692 make our own string representation for typeAEList descriptors. This requires
14693 a special case typeUnicodeText too, so the output is a quoted string.
14695 * DumpRenderTree/AppleScriptController.m:
14696 (convertAEDescToObject):
14698 2007-06-21 Anders Carlsson <andersca@apple.com>
14702 Don't dump didFirstLayout callbacks, they happen intermittently.
14704 * DumpRenderTree/FrameLoadDelegate.m:
14706 2007-06-21 Lars Knoll <lars@trolltech.com>
14710 look for the Qt library in the installed location
14712 * Scripts/webkitdirs.pm:
14714 2007-06-20 Geoffrey Garen <ggaren@apple.com>
14716 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
14718 Added tests for stringByEvaluatingJavaScriptFromString.
14720 * DumpRenderTree/DumpRenderTree.m:
14721 (testStringByEvaluatingJavaScriptFromString):
14724 2007-06-19 Andrew Wellington <proton@wiretapped.net>
14726 Reviewed by Mark Rowe.
14728 Support applications with spaces or special characters in their names
14730 * Scripts/run-webkit-app:
14732 2007-06-18 Anders Carlsson <andersca@apple.com>
14734 Reviewed by John Sullivan.
14736 Assert that the frame has a dataSource.
14738 * DumpRenderTree/FrameLoadDelegate.m:
14739 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
14741 2007-06-18 Adam Treat <adam@staikos.net>
14743 Reviewed by George.
14745 Reflect the library name change.
14747 * Scripts/webkitdirs.pm:
14749 2007-06-18 Jake Helfert <jake@jakeonthenet.com>
14753 - fix http://bugs.webkit.org/show_bug.cgi?id=14154
14754 Spinneret doesn't build against the new Win32 port.
14756 * Spinneret/Spinneret/Spinneret.cpp:
14758 -Changed IWebViewExt to IWebViewPrivate
14759 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
14760 the WIN32 function RegisterDragDrop which requires the Ole* calls.
14761 * Spinneret/Spinneret/Spinneret.h:
14762 (SpinneretWebHost::didReceiveIcon): Updated method signature.
14763 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
14764 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
14766 2007-06-14 Sam Weinig <sam@webkit.org>
14770 Update set of files to download for cygwin to include
14771 diffutils and regenerate the zip file. This should fix
14772 an issue on vista where svn-create-patch doesn't work.
14774 * CygwinDownloader/cygwin-downloader.py:
14775 * CygwinDownloader/cygwin-downloader.zip:
14777 2007-06-14 Mark Rowe <mrowe@apple.com>
14779 Update script to match new nightly.webkit.org infrastructure.
14781 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
14783 2007-06-12 Adam Roben <aroben@apple.com>
14785 Land CygwinDownloader.
14787 Rubberstamped by Hyatt.
14789 * CygwinDownloader/cygwin-downloader.py: Added.
14790 * CygwinDownloader/cygwin-downloader.zip: Added.
14791 * CygwinDownloader/make-zip.sh: Added.
14792 * CygwinDownloader/setup.py: Added.
14794 2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
14796 Reviewed by Mark Rowe.
14798 Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
14799 [Drosera] Items in the file list don't get un-highlighted when
14800 files are selected from the file drop-down
14802 * Drosera/debugger.js: currentFile was getting modified before file in the file
14803 browser got un-highlighted. Changed the order in which the functions execute.
14805 2007-06-06 Mark Rowe <mrowe@apple.com>
14807 Reviewed by Maciej.
14809 http://bugs.webkit.org/show_bug.cgi?id=13988
14810 Bug 13988: Colon in file path crashes WebKit Nightly
14812 The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
14813 the bundled WebKit framework. Both of these variables are interpreted as containing a
14814 colon-delimited list of paths. There is no escaping mechanism defined, so if we detect
14815 a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
14816 when we execute Safari.
14818 * WebKitLauncher/main.m:
14821 2007-06-05 Mark Rowe <mrowe@apple.com>
14823 Reviewed by Anders.
14825 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
14827 2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
14831 Enable logging in the Gdk port.
14832 http://bugs.webkit.org/show_bug.cgi?id=13936
14834 * GdkLauncher/main.cpp:
14837 2007-05-29 Holger Freyther <zecke@selfish.org>
14839 Reviewed by Anders.
14841 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
14842 to provide ScrollBars for the FrameView.
14844 * GdkLauncher/main.cpp:
14845 (registerRenderingAreaEvents):
14846 (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
14847 (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
14850 2007-05-29 David Kilzer <ddkilzer@webkit.org>
14852 Reviewed by Darin Adler.
14854 - fix http://bugs.webkit.org/show_bug.cgi?id=13901
14855 run-pageloadtest does not obey testName on command-line
14857 * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
14858 otherwise default to "svg". Added dummy check to make sure $testName.pltsuite
14861 2007-05-29 David Kilzer <ddkilzer@webkit.org>
14863 Reviewed by Darin Adler.
14865 - fix http://bugs.webkit.org/show_bug.cgi?id=13900
14866 svnStatus($) subroutine in svn-[un]apply does not work properly with directories
14868 This patch also fixes an instance of the "broken pipe" warning that happened when
14869 a directory contained modified files that were not part of an applied or unapplied
14872 * Scripts/svn-apply:
14873 (svnStatus($)): If we're trying to get status on a directory (instead of a file),
14874 make sure we actually get the directory's status (if it has one), not the first
14875 file's status reported within the directory. Fix "broken pipe" warnings by
14876 reading all of the output from the SVN filehandle before closing it.
14877 * Scripts/svn-unapply:
14878 (svnStatus($)): Ditto.
14880 2007-05-28 David Kilzer <ddkilzer@webkit.org>
14882 Reviewed by Darin Adler.
14884 - fix http://bugs.webkit.org/show_bug.cgi?id=10342
14885 prepare-ChangeLog only shows removed files but not added files when files are moved
14886 - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
14887 prepare-ChangeLog and svn-create-patch don't show replaced files
14889 Switched method used to find list of changed files from "diff" to "status". This
14890 makes added and replaced files with history appear in the changed file list for svn.
14891 Added check for "+" in output from the svn status command to detect file history, and
14892 handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
14894 * Scripts/prepare-ChangeLog:
14895 (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
14896 (statusCommand(@)): Switched argument from array ref to array. Necessary to use
14897 the output of "keys $paths" without creating a temporary array variable.
14898 (findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($)
14899 subroutine in svn-create-patch.
14900 (generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status
14901 command using command-line arguments instead of list of changed files from the diff
14902 command. Changed svn regex to only accept file statuses that we know how to handle.
14903 Identify original file when an added/replaced status with history is present.
14904 (statusDescription($$)): Handled added/replaced statuses with history. Added
14905 fall-through return statement.
14907 2007-05-28 Holger Freyther <zecke@selfish.org>
14909 Reviewed by Mark Rowe.
14911 Add scripts and data to generate a coverage data for WebKit.
14913 * CodeCoverage/README: Added.
14914 * CodeCoverage/amber.png: Added.
14915 * CodeCoverage/cov.py: Added.
14916 * CodeCoverage/emerald.png: Added.
14917 * CodeCoverage/gcov.css: Added.
14918 * CodeCoverage/glass.png: Added.
14919 * CodeCoverage/regenerate-coverage-display: Added.
14920 * CodeCoverage/ruby.png: Added.
14921 * CodeCoverage/run-generate-coverage-data: Added.
14922 * CodeCoverage/snow.png: Added.
14923 * Scripts/build-webkit: Add --coverage by Niko
14924 * Scripts/check-for-global-initializers: Skip the check on coverage builds
14925 * Scripts/generate-coverage-data: Added.
14926 * Scripts/run-javascriptcore-tests: Add --coverage by Niko
14928 2007-05-29 Mark Rowe <mrowe@apple.com>
14930 Build fix after r21745.
14932 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
14934 2007-05-25 Anders Carlsson <andersca@apple.com>
14938 * DumpRenderTree/DumpRenderTree.m:
14939 * DumpRenderTree/FrameLoadDelegate.m:
14941 2007-05-25 Simon Hausmann <hausmann@kde.org>
14945 For the keyDown binding use QStringList instead of QList<QString>. The former is a default
14946 registered metatype. Also print out critical messages in dumprendertree's qt message handler.
14948 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14949 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
14950 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14952 2007-05-20 David Kilzer <ddkilzer@webkit.org>
14954 Reviewed by Adam Roben.
14956 - fix http://bugs.webkit.org/show_bug.cgi?id=13565
14957 Change svn-create-patch to put LayoutTests in the end
14959 In addition to reordering test files under the LayoutTests directory so that they
14960 appear after source code files, this patch fixes an issue with prepare-ChangeLog
14961 if the first argument passed to it is a file name instead of a directory name.
14963 * Scripts/prepare-ChangeLog:
14964 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
14966 * Scripts/svn-create-patch:
14967 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
14970 2007-05-18 Mark Rowe <mrowe@apple.com>
14972 Reviewed by Oliver.
14974 Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
14976 * Scripts/svn-create-patch:
14977 * Scripts/webkitdirs.pm:
14979 2007-05-18 Holger Freyther <zecke@selfish.org>
14981 Reviewed by Maciej.
14983 * GdkLauncher/main.cpp: Call setGtkWidget
14986 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
14988 Reviewed by Mark Rowe.
14990 * GdkLauncher/main.cpp:
14991 (main): Call Frame::init to catch up with Maciej's changes.
14992 * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
14993 passed to the helper scripts.
14995 2007-05-16 Brady Eidson <beidson@apple.com>
14997 Build fix for some dev configurations
14999 * DumpRenderTree/DumpRenderTree.m:
15001 2007-05-16 Maciej Stachowiak <mjs@apple.com>
15003 Reviewed by Justin.
15005 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
15007 The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
15008 that happen before the load commits.
15010 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
15011 optional logging for every FrameLoadDelegate callback, including SPI callbacks.
15013 * DumpRenderTree/DumpRenderTree.h:
15014 * DumpRenderTree/DumpRenderTree.m:
15018 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15019 (-[LayoutTestController clearBackForwardList]):
15020 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
15021 (-[LayoutTestController dumpFrameLoadCallbacks]):
15022 (-[LayoutTestController setWindowIsKey:]):
15023 (-[LayoutTestController setMainFrameIsFirstResponder:]):
15024 (-[LayoutTestController _doLoad:target:]):
15025 (-[LayoutTestController _doBackOrForwardNavigation:]):
15026 (-[LayoutTestController queueReload]):
15027 (-[LayoutTestController queueScript:]):
15028 (-[LayoutTestController queueLoad:target:]):
15029 (-[LayoutTestController setAcceptsEditing:]):
15030 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
15031 (shouldLogFrameLoadDelegates):
15034 (+[DumpRenderTreeEvent mouseLocation]):
15035 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15036 * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
15037 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
15038 * DumpRenderTree/EventSendingController.m:
15039 (-[EventSendingController mouseDown]):
15040 (-[EventSendingController mouseUp]):
15041 (-[EventSendingController mouseMoveToX:Y:]):
15042 (-[EventSendingController contextClick]):
15043 * DumpRenderTree/FrameLoadDelegate.h: Added.
15044 * DumpRenderTree/FrameLoadDelegate.m: Added.
15045 (-[WebFrame _drt_descriptionSuitableForTestResult]):
15046 (-[FrameLoadDelegate processWork:]):
15047 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
15048 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
15049 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
15050 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
15051 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
15052 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
15053 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
15054 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
15055 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
15056 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
15057 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
15058 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
15059 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
15060 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
15061 (-[FrameLoadDelegate webView:willCloseFrame:]):
15062 (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
15063 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
15064 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
15065 * DumpRenderTree/ResourceLoadDelegate.m:
15066 (-[NSURL _drt_descriptionSuitableForTestResult]):
15067 * DumpRenderTree/UIDelegate.m:
15068 (-[UIDelegate webViewFocus:]):
15070 2007-05-16 Kevin McCullough <kmccullough@apple.com>
15072 Reviewed by Darin and Geoff.
15074 - rdar://problem/4981886
15075 - Now windows opened by the DOM can be closed by JS.
15077 * DumpRenderTree/DumpRenderTree.m:
15078 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15079 (-[LayoutTestController windowCount]):
15081 2007-05-15 Adam Roben <aroben@apple.com>
15083 Reviewed by David Kilzer.
15085 http://bugs.webkit.org/show_bug.cgi?id=13732
15086 prepare-ChangeLog should work with git
15088 * Scripts/prepare-ChangeLog: Added support for Git.
15090 2007-05-15 Lars Knoll <lars@trolltech.com>
15094 Add the EventSender object to DRT. Currently it implements
15095 mouseDown, mouseUp and mouseMoveTo.
15097 Make run-webkit-tests --strict work somewhat better for form elements.
15099 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15100 (WebCore::DumpRenderTree::DumpRenderTree):
15101 (WebCore::DumpRenderTree::initJSObjects):
15102 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15103 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
15104 (HackWebFrame::mousePressEvent):
15105 (HackWebFrame::mouseReleaseEvent):
15106 (EventSender::EventSender):
15107 (EventSender::mouseDown):
15108 (EventSender::mouseUp):
15109 (EventSender::mouseMoveTo):
15110 (EventSender::leapForward):
15111 (EventSender::keyDown):
15112 (EventSender::frameUnderMouse):
15113 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
15114 * Scripts/run-webkit-tests:
15116 2007-05-12 Oliver Hunt <oliver@apple.com>
15120 Add new api to DRT to allow us to test a file being dragged
15121 onto <input type="file">
15123 * DumpRenderTree/DumpRenderTree.h:
15124 * DumpRenderTree/DumpRenderTree.m:
15125 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15126 (-[LayoutTestController addFileToPasteboardOnDrag]):
15128 * DumpRenderTree/UIDelegate.m:
15129 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
15131 2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
15133 Reviewed by Maciej.
15135 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
15136 http://bugs.webkit.org/show_bug.cgi?id=13656
15138 * GdkLauncher/main.cpp: Handle resizing the drawing area
15139 (frameResizeCallback):
15142 2007-05-11 Geoffrey Garen <ggaren@apple.com>
15144 Reviewed by Darin Adler.
15146 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
15149 * DumpRenderTree/DumpRenderTree.m:
15150 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15151 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15152 (+[LayoutTestController webScriptNameForSelector:]):
15153 (-[LayoutTestController testWrapperRoundTripping:]):
15155 2007-05-08 Maciej Stachowiak <mjs@apple.com>
15157 Reviewed by Oliver.
15159 - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
15160 since destroying a subframe can make one go away
15162 (Discovered while fixing:
15164 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
15165 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
15167 * DumpRenderTree/DumpRenderTree.m:
15168 (runTest): explicitly clear saved events after every page load
15169 * DumpRenderTree/EventSendingController.h:
15170 * DumpRenderTree/EventSendingController.m:
15171 (-[EventSendingController dealloc]): don't clear saved events here...
15172 (+[EventSendingController clearSavedEvents]): do it here
15173 * Scripts/check-for-global-initializers:
15175 2007-05-10 Mark Rowe <mrowe@apple.com>
15177 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
15179 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15181 2007-05-09 Geoffrey Garen <ggaren@apple.com>
15183 Reviewed by Maciej Stachowiak.
15185 Added support for testing ObjC/JS type bridging.
15187 Added ASSERT that -JSObject returns nil when the underlying JSObject
15188 is no longer GC protected.
15190 * DumpRenderTree/DumpRenderTree.m:
15191 (returnThisCallback):
15193 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15194 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15195 (+[LayoutTestController webScriptNameForSelector:]):
15196 (-[LayoutTestController accessStoredWebScriptObject]):
15197 (-[LayoutTestController testWrapperRoundTripping]):
15198 (-[LayoutTestController objCClassNameOf:]):
15199 (-[LayoutTestController objCObjectOfClass:]):
15200 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15202 2007-05-10 Lars Knoll <lars@trolltech.com>
15206 Move setting of the DPI value a few lines up. Should fix
15207 the last two remaining failures in the layout tests.
15209 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15212 2007-05-09 Holger Freyther <zecke@selfish.org>
15214 Reviewed by Mark Rowe.
15216 * GdkLauncher/main.cpp: Always include config.h.
15218 2007-05-08 Geoffrey Garen <ggaren@apple.com>
15220 Reviewed by Darin Adler.
15222 Added support for testing ObjC object identity.
15224 Added ASSERT to verify that you can round-trip the object passed to you
15225 in -didClearWindowObject:forFrame:.
15227 * DumpRenderTree/DumpRenderTree.m:
15228 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15229 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15230 (+[LayoutTestController webScriptNameForSelector:]):
15231 (-[LayoutTestController accessStoredWebScriptObject]):
15232 (-[LayoutTestController objCIdentityIsEqual::]):
15234 2007-05-07 Geoffrey Garen <ggaren@apple.com>
15236 Reviewed by Maciej Stachowiak.
15238 Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
15239 and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
15240 forFrame:(WebFrame *)frame, in the form of ASSERTs.
15242 * DumpRenderTree/DumpRenderTree.m:
15243 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
15246 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
15247 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15248 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15250 2007-05-08 Lars Knoll <lars@trolltech.com>
15254 Dump JavaScript console messages as well. Also requires a slight
15255 change in run-webkit-tests, so we still correctly differentiate
15256 between text only and rendertree tests.
15258 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15259 (WebCore::WebPage::WebPage):
15260 (WebCore::WebPage::javaScriptConsoleMessage):
15261 (WebCore::DumpRenderTree::DumpRenderTree):
15262 (WebCore::DumpRenderTree::dump):
15263 * Scripts/run-webkit-tests:
15265 2007-05-08 Lars Knoll <lars@trolltech.com>
15269 Specify what the serif, sans-serif and monospace aliases
15270 should map to and explicitly select the Gui style of
15271 DRT to be plastique.
15273 Fixes most of the test failures still seen on the build bot.
15275 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
15276 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15279 2007-05-07 Lars Knoll <lars@trolltech.com>
15283 Fix the default font to 9pt Sans Serif.
15285 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15288 2007-05-04 Lars Knoll <lars@trolltech.com>
15292 Revert on line of the last commit. We still want to keep the RPATH
15293 support in the pro file.
15295 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
15297 2007-05-04 Lars Knoll <lars@trolltech.com>
15301 Remove the old bitmap fonts I tried using to get reliable results from
15302 DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
15303 ghostscript. I've added a mirror to simply check them out at
15304 svn://labs.trolltech.com/svn/webkit/testfonts.
15306 Fixed DumpRenderTree to make sure these fonts are the only ones we use
15307 on X11 and added a fonts.conf file to get a well defined fontconfig
15310 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
15311 I use to find the fonts to DumpRenderTree.
15313 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
15314 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
15315 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
15316 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
15317 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
15318 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
15319 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
15320 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
15321 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
15322 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
15323 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
15324 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
15325 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
15326 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
15327 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
15328 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
15329 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
15330 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15332 * Scripts/run-webkit-tests:
15334 2007-05-03 Holger Freyther <freyther@kde.org>
15336 Reviewed by Zack, landed by Simon.
15337 This is bugzilla bug 13499.
15339 * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
15340 * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
15341 * Scripts/build-webkit: Add --gdk for the Gdk port
15342 * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
15344 2007-05-03 Geoffrey Garen <ggaren@apple.com>
15346 Build fix: Add AllInOneFile.o to the ignore list, since it includes files
15347 in the ignore list.
15349 * Scripts/check-for-global-initializers:
15351 2007-05-02 Holger Freyther <freyther@kde.org>
15353 Reviewed by Mark Rowe.
15355 * Scripts/build-webkit: Remove the CMake call.
15356 * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
15357 buildsystem for the Qt port.
15359 2007-04-27 Kevin McCullough <kmccullough@apple.com>
15361 - Removed debugging statements and took out the removal of the deletion
15362 of the symlink. This is because multiple instances of run-webkit-tests
15363 can be running at the same time.
15364 * Scripts/run-webkit-tests:
15366 2007-04-27 Adam Roben <aroben@apple.com>
15368 Reviewed by Maciej.
15370 Cleaned up prepare-ChangeLog
15372 * Scripts/prepare-ChangeLog: No code changes, but style now matches
15373 the prevalent style of our perl scripts.
15375 2007-04-27 Nazar Kulyk <schamane@myeburg.net>
15377 Reviewed by Mark Rowe.
15379 Basic auto-correction of user-entered URLs.
15381 * GdkLauncher/main.cpp:
15386 2007-04-28 Mark Rowe <mrowe@apple.com>
15388 Rubber-stamped by Anders.
15390 Rename some methods and variables to match the style guidelines.
15392 * GdkLauncher/main.cpp:
15396 (goButtonClickedCallback):
15397 (urlBarEnterCallback):
15398 (frameResizeCallback):
15399 (frameDestroyCallback):
15400 (menuMainBackCallback):
15401 (menuMainForwardCallback):
15402 (menuMainQuitCallback):
15405 2007-04-27 Holger Freyther <freyther@kde.org>
15407 Reviewed by Maciej.
15409 Remove unmaintained CMake build system.
15411 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
15412 * Scripts/build-webkit: Remove references to CMake.
15413 * Scripts/webkitdirs.pm: Remove references to CMake.
15415 2007-04-26 Alp Toker <alp@atoker.com>
15417 Reviewed by Mark Rowe.
15419 * GdkLauncher/main.cpp:
15420 (main): Avoid use of deprecated API.
15422 2007-04-26 Kevin McCullough <kmccullough@apple.com>
15424 - Changed debugging statements for more information.
15426 * Scripts/run-webkit-tests:
15428 2007-04-26 Kevin McCullough <kmccullough@apple.com>
15430 - Adding debugging statements to see why these tests fail. These will be removed.
15432 * Scripts/run-webkit-tests:
15434 2007-04-25 Anders Carlsson <andersca@apple.com>
15438 Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
15439 the dashboard compatibility mode.
15441 * DumpRenderTree/DumpRenderTree.m:
15442 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15443 (+[LayoutTestController webScriptNameForSelector:]):
15444 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
15446 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15448 2007-04-24 Timothy Hatcher <timothy@apple.com>
15450 Setting the valid architectures to 32-bit only, so these projects
15451 will ignore requests to build them 64-bit. Once they can be built 64-bit,
15452 the valid architectures can be updated.
15454 * Drosera/Drosera.xcodeproj/project.pbxproj:
15455 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15457 2007-04-23 Adam Roben <aroben@apple.com>
15459 Reviewed by Mark Rowe and David Kilzer.
15461 * Scripts/build-webkit: Print the path to the run-safari script when
15462 finished building so that users can copy-and-paste the command to
15465 2007-04-23 Darin Adler <darin@apple.com>
15469 - rename box-sizing to -webkit-box-sizing
15471 * Drosera/console.css: Here.
15472 * Drosera/debugger.css: And here.
15473 * Drosera/viewer.css: And here.
15475 2007-04-21 Mitz Pettel <mitz@webkit.org>
15477 Reviewed by Darin Adler.
15479 - http://bugs.webkit.org/show_bug.cgi?id=13350
15480 Build Ahem into DumpRenderTree
15482 * DumpRenderTree/DumpRenderTree.m:
15483 (activateAhemFont): Added. Activates the copy of Ahem included in the
15484 DumpRenderTree binary.
15485 (dumpRenderTree): Replaced the check that Ahem is available with a call
15486 to activateAhemFont().
15487 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15488 Added linker options to include Ahem in the data section of the
15489 DumpRenderTree binary.
15491 2007-04-20 Adam Roben <aroben@apple.com>
15493 Reviewed by Darin Adler.
15495 http://bugs.webkit.org/show_bug.cgi?id=13421
15496 Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
15498 * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
15500 2007-04-18 Brady Eidson <beidson@apple.com>
15504 <rdar://problem/5008925>
15505 Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
15507 * DumpRenderTree/ResourceLoadDelegate.m:
15508 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
15509 Add the willCacheResponse delegate call
15511 2007-04-18 Adam Roben <aroben@apple.com>
15513 Reviewed by David Kilzer.
15515 * Scripts/webkitdirs.pm:
15516 (sub setConfiguration): Added an optional argument to set the
15517 configuration instead of parsing it from ARGV.
15519 2007-04-17 Adam Roben <aroben@apple.com>
15521 * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
15524 2007-04-17 Adam Roben <aroben@apple.com>
15526 Added a simple shell script to find all the headers from a specified
15527 framework or frameworks that are included by files beneath the working
15530 * Scripts/find-included-framework-headers: Added.
15532 2007-04-16 Timothy Hatcher <timothy@apple.com>
15534 * Drosera/debugger.css: hide the borders for iframes
15536 2007-04-13 Adam Roben <aroben@apple.com>
15538 Rubberstamped by Anders.
15540 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
15541 stdio.h so that snprintf is defined.
15543 2007-04-13 Brady Eidson <beidson@apple.com>
15547 Add the ability to dump the back/forward history of all windows open at the end of a test
15549 * DumpRenderTree/DumpRenderTree.m:
15550 (dumpBackForwardListForWebView): Dump B/F list for the given WebView
15551 (dump): Call dumpBackForwardListForWebView for each WebView open after the test
15553 2007-04-13 Anders Carlsson <andersca@apple.com>
15557 By default, close any windows that have been opened during a test. This can be overridden by
15558 calling setCloseRemainingWindowsWhenComplete(false).
15560 Change the windows set to an array so we can gurantee the enumeration order.
15562 * DumpRenderTree/DumpRenderTree.m:
15563 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15564 (+[LayoutTestController webScriptNameForSelector:]):
15565 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
15567 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
15568 (-[DumpRenderTreeWindow dealloc]):
15570 2007-04-13 Geoffrey Garen <ggaren@apple.com>
15574 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15575 (handleCallback): Explicitly cast the void* returned by malloc.
15577 2007-04-12 Deneb Meketa <dmeketa@adobe.com>
15579 Reviewed by Darin Adler.
15581 http://bugs.webkit.org/show_bug.cgi?id=13029
15582 rdar://problem/4994849
15583 Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
15584 Changes in WebKitTools are only for the NPAPI test plugin.
15586 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
15587 (pluginInvoke): support null window argument for NPStream creation.
15588 (pluginAllocate): initialization.
15589 (pluginDeallocate): cleanup.
15590 (handleCallback): add second JS callback arg: header dump.
15591 (notifyStream): added; hook from NPP_NewStream to record headers.
15592 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
15593 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
15594 (NPP_NewStream): call new header hook.
15596 2007-04-09 Geoffrey Garen <ggaren@apple.com>
15598 Reviewed by Maciej Stachowiak.
15600 Fixed fast/forms/textarea-paste-newline.html.
15602 This failure was pretty funny. run-webkit-tests kills and respawns
15603 DumpRenderTree once every 1000 runs. Adding a few tests caused
15604 textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
15605 lifetime, before any render tree dumps had occurred. However, WebCore
15606 used a render tree dump as the hook that set a global flag to allow
15607 pasting through the DOM API, so running before any render tree dumps had
15608 occurred caused this test to fail.
15610 * DumpRenderTree/DumpRenderTree.m:
15611 (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
15612 API, instead of hoping it will read the tea leaves.
15614 2007-04-07 Mark Rowe <mrowe@apple.com>
15616 Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
15618 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
15620 2007-04-05 Anders Carlsson <andersca@apple.com>
15624 Add support for opening new windows in DumpRenderTree.
15626 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15627 (+[LayoutTestController webScriptNameForSelector:]):
15628 (-[LayoutTestController setCallCloseOnWebViews:]):
15629 (-[LayoutTestController setCanOpenWindows]):
15630 Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
15631 can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
15632 web views that are about to be closed.
15635 Make sure that only the main window is around when a test has finished running.
15637 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
15638 (-[DumpRenderTreeWindow dealloc]):
15639 Manage the set of windows.
15641 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15642 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15643 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15645 Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
15647 * DumpRenderTree/UIDelegate.m:
15648 (-[UIDelegate webView:createWebViewWithRequest:]):
15649 Create new windows.
15651 (-[UIDelegate webViewClose:]):
15654 2007-04-05 Anders Carlsson <andersca@apple.com>
15656 Reviewed by Maciej.
15658 Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
15661 * DumpRenderTree/DumpRenderTree.m:
15665 2007-04-03 Anders Carlsson <andersca@apple.com>
15667 Reviewed by Darin Adler.
15669 Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
15671 * DumpRenderTree/DumpRenderTree.h:
15672 * DumpRenderTree/DumpRenderTree.m:
15674 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15675 (+[LayoutTestController webScriptNameForSelector:]):
15676 (-[LayoutTestController addDisallowedURL:]):
15678 * DumpRenderTree/ResourceLoadDelegate.m:
15679 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
15681 2007-04-03 Mark Rowe <mrowe@apple.com>
15685 * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
15687 2007-04-02 Anders Carlsson <andersca@apple.com>
15689 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15690 Don't use #import in a header included by C files.
15692 2007-03-31 Mark Rowe <mrowe@apple.com>
15696 Fix http://bugs.webkit.org/show_bug.cgi?id=13239
15697 Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
15699 Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
15700 rather than -[WebScriptObject count].
15702 * Drosera/DebuggerDocument.m:
15703 (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
15705 2007-03-30 Anders Carlsson <andersca@apple.com>
15709 Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
15711 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15712 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15714 Look for the onstreamload attribute.
15717 Free the onstreamload attribute.
15720 Call the onstreamload handler.
15722 2007-03-30 Geoffrey Garen <ggaren@apple.com>
15724 Removing an assertion I just added because it's crashing the Leopard
15725 buildbot. The related layout test will still report a failure, so we
15726 don't really need this assertion.
15728 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15731 2007-03-30 Anders Carlsson <andersca@apple.com>
15735 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
15740 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
15741 Don't use #import, use #include.
15743 2007-03-30 Anders Carlsson <andersca@apple.com>
15745 Reviewed by Alexey.
15747 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15749 Free the identifier string.
15751 2007-03-30 Anders Carlsson <andersca@apple.com>
15755 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15756 Add TestObject.c and TestObject.h
15758 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15759 (pluginGetProperty):
15760 Implement the testObject property.
15763 Implement testEnumerate which takes an object and an array and enumerates
15764 the properties of the object and adds them to the array.
15767 Allocate the test object.
15769 (pluginDeallocate):
15770 Free the test object.
15772 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
15773 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
15774 Add a test object with two enumerable properties.
15776 2007-03-29 Geoffrey Garen <ggaren@apple.com>
15778 Reviewed by Beth Dakin.
15780 Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
15781 -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
15782 navigating away from page with DivX movie plug-in (13203)
15784 Added hasStream property and destroyStream function, used by layout test.
15786 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15787 (pluginGetProperty):
15790 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15791 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15794 2007-03-27 Anders Carlsson <acarlsson@apple.com>
15798 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15800 Add new function which takes a function and calls it using NPN_InvokeDefault.
15802 2007-03-27 Adele Peterson <adele@apple.com>
15806 * DumpRenderTree/DumpRenderTree.m:
15807 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
15809 2007-03-27 Adele Peterson <adele@apple.com>
15811 Fix svg tests by calling displayIfNeeded.
15813 * DumpRenderTree/DumpRenderTree.m:
15814 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
15816 2007-03-26 Mark Rowe <mrowe@apple.com>
15818 Reviewed by Sam Weinig.
15820 Upload crash logs from DumpRenderTree as part of the test results to ease debugging
15821 of hard-to-reproduce crashes.
15823 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
15825 2007-03-23 Adam Treat <adam@staikos.net>
15827 Reviewed and committed by George.
15829 Patch by Adam Treat. Removes hardcoded path to .pro file.
15831 2007-03-22 Adam Roben <aroben@apple.com>
15835 Removed eventSender.mouseClick because it was only useful for AppKit
15836 controls, which we don't use anymore.
15838 * DumpRenderTree/EventSendingController.m:
15839 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
15842 2007-03-22 Adam Roben <aroben@apple.com>
15846 Make eventSender.mouseClick actually send a mouse up event.
15848 * DumpRenderTree/EventSendingController.m:
15849 (-[EventSendingController mouseClick]):
15851 2007-03-19 David Hyatt <hyatt@apple.com>
15853 Update the minimum font size pref to match the actual default setting in Safari. It should have been 1
15854 all this time and not 9.
15858 * DumpRenderTree/DumpRenderTree.m:
15861 2007-03-18 Dan Waylonis <waylonis@mac.com>
15863 Reviewed by Tim Hatcher.
15865 DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
15866 Bug 13005: WebScriptObject +throwException needs NULL check.
15868 Add tests to ensure that a plugin can safely throw an exception in dealloc.
15870 * DumpRenderTree/ObjCPlugin.h:
15871 * DumpRenderTree/ObjCPlugin.m:
15872 (+[ObjCPlugin webScriptNameForKey:]):
15873 (+[ObjCPlugin isKeyExcludedFromWebScript:]):
15874 (-[ObjCPlugin dealloc]):
15876 2007-03-13 Mark Rowe <mrowe@apple.com>
15878 Reviewed by Maciej.
15880 Have the nightly launcher prefer Safari found in /Applications or ~/Applications
15881 if present, otherwise fall back on using LaunchServices to locate it elsewhere
15882 on the system. The motivation for this is to make the behaviour of the nightly
15883 builds more predictable on machines with multiple copies of Safari present.
15885 * WebKitLauncher/main.m:
15886 (locateSafariBundle):
15889 2007-03-12 Darin Adler <darin@apple.com>
15891 Reviewed by Tim Hatcher.
15893 - add a DumpRenderTree feature where you can get the Objective-C
15894 class name of a JavaScript object
15896 * DumpRenderTree/DumpRenderTree.m:
15897 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
15898 objCClassNameOf: selector.
15899 (+[LayoutTestController webScriptNameForSelector:]): Add the
15900 objCClassNameOf: selector, with the name "objCClassName".
15901 (-[LayoutTestController objCClassNameOf:]): Added.
15903 2007-03-11 Geoffrey Garen <ggaren@apple.com>
15905 Reviewed by Oliver Hunt.
15907 Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
15908 crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
15909 trying to install iLife 06 using Rosetta on an Intel Machine
15911 --threaded mode now runs a bunch of different JavaScript threads, randomly
15912 killing and respawning them. This was sufficient for reproducing the
15913 bug on my MacBook Pro.
15915 * DumpRenderTree/DumpRenderTree.m:
15916 (javaScriptThreads):
15917 (runJavaScriptThread):
15918 (startJavaScriptThreads):
15919 (stopJavaScriptThreads):
15922 2007-03-11 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15924 Reviewed by Brady Eidson.
15926 Add forward/backward/quit menus for easier testing.
15928 * GdkLauncher/main.cpp:
15930 (menuMainForwardCb):
15934 2007-03-09 Andrew Wellington <proton@wiretapped.net>
15936 Reviewed by Darin Adler.
15938 - fix http://bugs.webkit.org/show_bug.cgi?id=13007
15939 svn-create-patch doesn't handle UTF files with BOMs as text
15941 Force diff to treat files that svn-create-patch thinks are text as text.
15943 * Scripts/svn-create-patch: Added -a switch to diff command.
15945 2007-03-09 Mark Rowe <mrowe@apple.com>
15947 Unreviewed. Use the new SVN URL on the buildbot.
15949 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
15951 2007-03-08 Mark Rowe <mrowe@apple.com>
15955 Fix compiler warnings when building Drosera as 64-bit.
15957 * Drosera/DebuggerDocument.m:
15958 (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
15959 (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
15960 (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
15962 2007-03-07 Mark Rowe <mrowe@apple.com>
15964 Reviewed by Maciej.
15966 Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
15968 * Scripts/check-for-global-initializers:
15970 2007-03-07 Anders Carlsson <acarlsson@apple.com>
15974 Add some assertions.
15976 * DumpRenderTree/DumpRenderTree.m:
15977 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
15978 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
15979 (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
15980 (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
15982 2007-03-07 David Kilzer <ddkilzer@webkit.org>
15984 Reviewed by Darin Adler.
15986 - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
15987 WebArchiver - attempt to insert nil exception when archive empty iframe
15989 The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
15990 a webarchive while the dumpSourceAsWebArchive() test method uses the original
15991 dataSource (page source) to create a webarchive. Most tests currently use
15992 dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
15995 * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
15996 Added dumpSourceAsWebArchive.
15998 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15999 (-[LayoutTestController dumpDOMAsWebArchive]):
16000 (-[LayoutTestController dumpSourceAsWebArchive]):
16003 2007-03-05 Kevin McCullough <kmccullough@apple.com>
16005 Reviewed by Mark and Dave H.
16007 - rdar://problem/4922454
16008 - This fixes a security issue by making remote referrers not able to access local
16009 resources, unless they register their schemes to be treated as local. The result is
16010 that those schemes can access local resources and cannot be accessed by remote
16012 Because this behavior is new a link-on-or-after check is made to determine if the
16013 app should use the older, less safe, behavior.
16015 * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
16016 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16017 (+[LayoutTestController webScriptNameForSelector:]):
16018 (-[LayoutTestController setUserStyleSheetLocation:]):
16019 (-[LayoutTestController setUserStyleSheetEnabled:]):
16021 2007-03-05 Anders Carlsson <acarlsson@apple.com>
16023 Reviewed by Adam, Darin.
16025 <rdar://problem/5025212>
16026 In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
16028 Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
16029 to be run when the URL has finished (or failed) loading.
16031 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16034 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
16035 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
16038 2007-03-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
16040 Reviewed by Nikolas Zimmermann.
16042 Load a url given on a command line in a way that also
16043 works for local (file://) urls.
16045 * GdkLauncher/main.cpp:
16048 2007-03-02 Geoffrey Garen <ggaren@apple.com>
16050 Tweaked parse-malloc-history to work with new malloc_history output format.
16052 * Scripts/parse-malloc-history:
16054 2007-02-28 Vladimir Olexa <vladimir.olexa@gmail.com>
16058 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
16059 Bug#12887: [Drosera] Add ability to close loaded files
16061 * Drosera/DebuggerDocument.h:
16062 * Drosera/DebuggerDocument.m:
16063 (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
16064 * Drosera/Drosera.xcodeproj/project.pbxproj:
16065 * Drosera/English.lproj/MainMenu.nib/classes.nib:
16066 * Drosera/English.lproj/MainMenu.nib/info.nib:
16067 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
16068 * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
16069 * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
16071 2007-02-28 Nikolas Zimmermann <zimmermann@kde.org>
16073 Reviewed by Maciej.
16075 Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
16077 * Scripts/build-webkit:
16079 2007-02-27 Geoffrey Garen <ggaren@apple.com>
16081 Small tweak to run-webkit-tests.
16083 * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
16084 1000 MallocStackLogging tests at a time.
16086 2007-02-26 Maciej Stachowiak <mjs@apple.com>
16090 - set ENABLE_XSLT even when compiling without SVG support, since that is no
16091 longer hardcoded into config.h.
16093 * Scripts/build-webkit:
16095 2007-02-26 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
16097 Reviewed by Adam Roben.
16099 Rename *_SUPPORT defines to ENABLE_*.
16101 * GdkLauncher/gdklauncher.bkl:
16103 2007-02-24 Geoffrey Garen <ggaren@apple.com>
16105 Reviewed by Darin Adler.
16107 * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
16110 2007-02-24 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
16112 Reviewed by Adam Roben.
16114 Improve gdklauncher: add text field for entering url.
16116 * GdkLauncher/gdklauncher.bkl:
16117 * GdkLauncher/main.cpp:
16122 (goButtonClickedCb):
16124 (registerRenderingAreaEvents):
16129 2007-02-22 Vladimir Olexa <vladimir.olexa@gmail.com>
16133 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
16134 Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
16135 * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
16137 2007-02-22 Adele Peterson <adele@apple.com>
16139 Reviewed by Darin Adler.
16141 Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
16142 can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
16144 * DumpRenderTree/DumpRenderTree.m:
16145 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16146 (+[LayoutTestController webScriptNameForSelector:]):
16147 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
16149 2007-02-22 Geoffrey Garen <ggaren@apple.com>
16151 Used svn merge -r19786:19785 to roll out previous hack to work around
16152 SVG painting issue in DRT.
16154 Implemented new work-around, which makes --paint paint *after* dumping
16155 the render tree instead of before, so that painting doesn't influence
16156 the SVG render tree.
16158 This should fix the ~400 new pixel failures introduced in r19786.
16160 * DumpRenderTree/DumpRenderTree.m:
16162 * Scripts/run-webkit-tests:
16164 2007-02-22 Geoffrey Garen <ggaren@apple.com>
16166 Resetting --leaks mode default to run 1000 tests at a time because setting it
16167 to 750 didn't stop the stack logging related crashes, and running more tests
16168 at a time is faster. The crashes seem to be a real bug in stack logging,
16169 not an out of memory condition.
16171 * Scripts/run-webkit-tests:
16173 2007-02-21 Geoffrey Garen <ggaren@apple.com>
16175 Reviewed by Adam Roben.
16177 Added hack to force painting when running an SVG test. This is a work-around
16178 for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
16179 paint time instead of style resolution time.
16181 We need this so that --leaks mode, which always paints, doesn't appear to
16182 fail SVG tests. We also need this if we ever want to test style application
16183 in SVG, since many SVGs don't apply style to their renderers until they paint.
16185 * Scripts/run-webkit-tests:
16187 2007-02-21 Geoffrey Garen <ggaren@apple.com>
16189 Reduced --leaks mode to running only 750 tests at a time, in the hopes
16190 of fixing intermittent crasher that may be caused by out of memory
16193 * Scripts/run-webkit-tests:
16195 2007-02-21 Geoffrey Garen <ggaren@apple.com>
16197 Reviewed by Darin Adler.
16199 Made DRT paint when running run-webkit-tests in --leaks mode, to check
16200 for painting leaks.
16202 * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
16203 that's the default for statics.
16204 (dumpRenderTree): Added --paint command line option, which specifies that
16205 DRT should paint at the end of every test.
16206 (displayWebView): New function, called by dump() and -[LayoutTestController display].
16207 * Scripts/run-webkit-tests: Use the --paint command line option when checking
16210 * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
16211 Removed stale comment about THRD leaks -- we now ignore them reliably.
16213 2007-02-21 Geoffrey Garen <ggaren@apple.com>
16215 Tools tweak. No review necessary.
16217 * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
16218 arguments. Changed command line argument variables from special implicit
16219 no-op values to specific empty values that we test explicitly.
16221 2007-02-21 Vladimir Olexa <vladimir.olexa@gmail.com>
16225 Bug 12834: Drosera should remember scroll position of open files like Xcode
16226 http://bugs.webkit.org/show_bug.cgi?id=12834
16228 * Drosera/debugger.js: Implemented scrolling memory
16230 2007-02-20 Geoffrey Garen <ggaren@apple.com>
16232 Tools tweak. No review necessary.
16234 Made parse-malloc-history executable. (Oops!)
16236 Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
16239 Added the ability to merge callstacks by regexp, not just depth, so you
16240 can ask questions like, "How many of these allocations were due to that one
16243 * Scripts/parse-malloc-history:
16245 2007-02-20 Geoffrey Garen <ggaren@apple.com>
16247 * Scripts/parse-malloc-history: Added copyright info.
16249 2007-02-20 Geoffrey Garen <ggaren@apple.com>
16251 Reviewed by Darin Adler.
16253 New script to parse the output from malloc_history, so we can determine
16254 what's using memory in WebKit.
16256 * Scripts/parse-malloc-history: Added.
16258 2007-02-20 Graham Dennis <graham.dennis@gmail.com>
16260 Reviewed by Darin Adler.
16262 Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
16263 WebKit.framework is built with SVG_SUPPORT for No-SVG build
16265 * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
16267 2007-02-19 Geoffrey Garen <ggaren@apple.com>
16271 * Scripts/check-for-global-initializers: Ignore the global counter I added
16272 for SubresourceLoaders.
16274 2007-02-19 Darin Adler <darin@apple.com>
16276 Reviewed by Tim Hatcher.
16278 * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
16279 Without this, you only see the global initializer error once, which makes it very easy
16282 2007-02-16 Mark Rowe <mrowe@apple.com>
16286 <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
16288 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
16290 2007-02-15 Geoffrey Garen <ggaren@apple.com>
16292 Reviewed by Beth Dakin.
16294 * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
16295 leaks anymore, either, since r19486 fixed them, too.
16296 (shouldIgnoreWebCoreNodeLeaks):
16298 2007-02-15 Darin Adler <darin@apple.com>
16300 * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
16301 fixed by change 19486.
16303 2007-02-15 Geoffrey Garen <ggaren@apple.com>
16305 Reviewed by Beth Dakin.
16307 Ignore another leak, seen recently on the buildbot.
16309 * Scripts/run-webkit-tests:
16311 2007-02-14 Geoffrey Garen <ggaren@apple.com>
16313 Reviewed by Beth Dakin.
16315 Ignore another leak, seen recently on the buildbot.
16317 * Scripts/run-webkit-tests:
16319 2007-02-13 Darin Adler <darin@apple.com>
16321 * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
16324 2007-02-11 Maciej Stachowiak <mjs@apple.com>
16328 - add contextClick() operation to eventSender to be able to test this
16330 * DumpRenderTree/EventSendingController.m:
16331 (+[EventSendingController isSelectorExcludedFromWebScript:]):
16332 (-[EventSendingController contextClick]):
16334 2007-02-11 Darin Adler <darin@apple.com>
16336 * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
16337 so it doesn't give a perl exception (happens in clean builds, for example).
16339 2007-02-10 David Kilzer <ddkilzer@webkit.org>
16343 * Scripts/svn-create-patch:
16344 (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
16345 a relative path to the copied file.
16347 2007-02-10 Timothy Hatcher <timothy@apple.com>
16349 Reviewed by Sam Weinig.
16351 * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
16353 2007-02-10 David Kilzer <ddkilzer@webkit.org>
16355 Reviewed by Timothy.
16357 * Scripts/svn-apply:
16358 (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
16361 2007-02-10 Brady Eidson <beidson@apple.com>
16365 <rdar://problem/4965133> WebKit sends file:// url referrers
16367 * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
16368 on local files, but have an httpd for remote resources
16370 2007-02-08 Geoffrey Garen <ggaren@apple.com>
16372 Reviewed by Beth Dakin.
16374 Ignore another false leak report.
16376 * Scripts/run-webkit-tests:
16378 2007-02-08 Geoffrey Garen <ggaren@apple.com>
16380 Reviewed by Kevin McCullough.
16382 * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
16383 already exists, to avoid confusing error message.
16385 Also, remove /tmp/LayoutTests after running so unsupecting fools don't
16386 try to rm -rf it, only later to discover that they have completely hosed
16389 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
16391 Reviewed by Adam Roben.
16393 Linux/gdk build fixes.
16395 * GdkLauncher/main.cpp: Add -exit-after-loading and
16396 -dump-render-tree as debugging aid.
16400 2007-02-08 Geoffrey Garen <ggaren@apple.com>
16402 Minor fixup based on Maciej's review last night.
16404 * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
16405 and do a little math to make it work.
16407 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
16409 Reviewed by Adam Roben.
16411 Linux/gdk build fixes.
16413 * GdkLauncher/gdklauncher.bkl:
16415 2007-02-08 Kevin McCullough <KMcCullough@apple.com>
16417 - Fix layout test failures.
16419 * Scripts/run-webkit-tests:
16421 2007-02-08 Darin Adler <darin@apple.com>
16423 Reviewed by Anders.
16425 * Scripts/check-for-global-initializers: For speed, only check files that
16426 have been modified since the last time we linked. For tidiness, capture
16427 stderr from nm, and prevent "nm: no name list" messages from going out.
16429 2007-02-08 Geoffrey Garen <ggaren@apple.com>
16431 Reviewed by Maciej Stachowiak, Adam Roben.
16433 Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
16434 arbitrary number n.
16437 - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
16438 - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
16439 - tool => dumpTool (to match abstraction elsewhere)
16440 - httpdOpen => isHttpdOpen (to match style guidelines)
16442 Plus a few logic fixups:
16443 - Don't check isDumpToolOpen when we know we've called openDumpTool().
16444 - Use a single code path to decide when to shut down dumpTool and
16445 when to check for leaks, since the operations are coincidental.
16446 - Use a single code path for running the leaks tool, since the only
16447 thing that varies between configurations is the output file name.
16448 - Increment $count after each test finishes, instead of at the end
16449 of the loop, to help with comparing to the length of the array
16451 - Use a more robust test inside the loop to determine if we need to
16452 close dumpTool, instead of copying the closing code outside the loop.
16456 * Scripts/run-webkit-tests:
16458 2007-02-06 Geoffrey Garen <ggaren@apple.com>
16460 Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
16462 Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
16463 catch all reports of them, not just those inside pthread_create.
16465 Also, use "\\" instead of "\" because we need the actual \ to get into the
16466 regexp string if it's going to do any escaping. (Oops!)
16468 * Scripts/run-webkit-tests:
16470 2007-02-06 Geoffrey Garen <ggaren@apple.com>
16472 Reviewed by Bethany P. Dakin.
16474 The 's' is optional when the leaks tool reports 'leaks'.
16476 * Scripts/run-leaks:
16478 2007-02-06 Geoffrey Garen <ggaren@apple.com>
16480 Reviewed by Bethany P. Dakin.
16482 Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
16484 * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
16486 2007-02-06 David Smith <catfish.man@gmail.com>
16488 Reviewed by Darin Adler.
16490 Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
16491 [Drosera] Console history fixups
16493 * Drosera/console.js: assorted cleanups and fixes
16495 2007-02-05 Geoffrey Garen <ggaren@apple.com>
16497 Reviewed by Darin Adler.
16499 New script that allows you to ignore leaks by regular expression.
16501 * Scripts/run-leaks: Added.
16503 2007-02-03 Sam Weinig <sam@webkit.org>
16507 Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
16508 Drosera doesn't handle CR ( carriage returns ) well
16510 - Normalize all the line endings.
16512 * Drosera/debugger.js:
16514 2007-02-02 Geoffrey Garen <ggaren@apple.com>
16516 Reviewed by Darin Adler.
16518 Added some more known leaks to the leaks ignore list.
16520 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
16521 hate itself so much?
16522 * Scripts/run-webkit-tests:
16524 2007-02-02 Geoffrey Garen <ggaren@apple.com>
16526 Even better build fix than the last.
16529 * DumpRenderTree/DumpRenderTree.m:
16530 (shouldIgnoreWebCoreNodeLeaks):
16532 2007-02-02 Geoffrey Garen <ggaren@apple.com>
16534 Fixed build. Added work-around for GCC bug.
16536 * DumpRenderTree/DumpRenderTree.m:
16537 (shouldIgnoreWebCoreNodeLeaks):
16539 2007-02-01 Geoffrey Garen <ggaren@apple.com>
16541 Reviewed by Maciej Stachowiak.
16543 Added support for selectively ignoring WebCore::Node leaks during layout
16544 tests, so that we can ignore known leaks in other components.
16546 * DumpRenderTree/DumpRenderTree.m:
16547 (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
16548 WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
16549 confuse anyone else?
16552 2007-02-01 Anders Carlsson <acarlsson@apple.com>
16554 Reviewed by Darin Adler.
16556 * DumpRenderTree/UIDelegate.m:
16557 (-[UIDelegate webView:addMessageToConsole:]):
16558 Dump console messages.
16560 2007-01-31 Anders Carlsson <acarlsson@apple.com>
16562 * DumpRenderTree/ResourceLoadDelegate.m:
16563 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
16564 Use an NSString here so we can guarantee that -description always returns the same value.
16566 2007-01-31 Geoffrey Garen <ggaren@apple.com>
16568 Reviewed by Darin Adler.
16570 Added Selection::toRange to the leaks -exclude list, since it comes up
16571 as a false positive (Radar 4967949).
16573 Also added RangeCounter to the global initializer exclude list. I added
16574 a RangeCounter since leaks won't detect all Range leaks anymore.
16576 * Scripts/check-for-global-initializers:
16577 * Scripts/run-webkit-tests:
16579 2007-01-31 Anders Carlsson <acarlsson@apple.com>
16581 * DumpRenderTree/ResourceLoadDelegate.m:
16582 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
16583 Don't try to create an identifier if resource loads shouldn't be dumped.
16585 2007-01-31 Anders Carlsson <acarlsson@apple.com>
16589 Add dumping of resource loads. This isn't completely tweaked yet since the test results would
16590 rely on resources being delivered in the same order which might not always be true. However, it works good
16591 enough for the simple webarchive tests I want to do right now.
16593 * DumpRenderTree/DumpRenderTree.h:
16594 * DumpRenderTree/DumpRenderTree.m:
16596 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16597 (-[LayoutTestController dumpResourceLoadCallbacks]):
16600 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16601 * DumpRenderTree/ResourceLoadDelegate.h: Added.
16602 * DumpRenderTree/ResourceLoadDelegate.m: Added.
16603 Add new resource load delegate.
16605 2007-01-31 Geoffrey Garen <ggaren@apple.com>
16607 Backing out the CFRunLoopRunSpecific exclude command because it was overly
16608 broad. We'll either need to work around this leak in DRT, or do some
16609 custom grep-based leak ignoring.
16611 * Scripts/run-webkit-tests:
16613 2007-01-30 Geoffrey Garen <ggaren@apple.com>
16615 Reviewed by Beth Dakin.
16617 Filed some more Radars in other components, added some more leaks to the
16620 * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
16621 CFRunLoopRunSpecific, and NSSpellChecker.
16623 2007-01-30 David Kilzer <ddkilzer@webkit.org>
16625 Reviewed by Darin Adler.
16627 http://bugs.webkit.org/show_bug.cgi?id=11882
16628 Need a way to regression test .webarchive output files
16630 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
16631 Alters WebResourceResponse and WebResourceURL properties within WebArchive format
16632 to normalize URLs to remove path where WebKit was checked out. Also converts
16633 WebDataResource properties from data to string if the corresponding
16634 WebResourceMIMEType property starts with "text/" or equals
16635 "application/x-javascript".
16637 * DumpRenderTree/DumpRenderTree.m:
16638 (convertWebResourceDataToString): Added.
16639 (normalizeWebResourceURL): Added.
16640 (normalizeWebResourceResponse): Added.
16641 (serializeWebArchiveToXML): Added.
16643 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16644 (-[LayoutTestController dumpAsWebArchive]): Added.
16647 2007-01-30 David Kilzer <ddkilzer@webkit.org>
16649 Reviewed by Mark Rowe.
16651 http://bugs.webkit.org/show_bug.cgi?id=12470
16652 svn-create-patch creates duplicate patches for files within an added/modified directory
16654 * Scripts/svn-create-patch:
16655 (sub generateFileList($\%\%)): Ignore directories when generating the file list.
16657 2007-01-29 Geoffrey Garen <ggaren@apple.com>
16659 Reviewed by Maciej Stachowiak.
16661 Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
16663 No more mollycoddling for you, FastMalloc.o!
16665 * Scripts/check-for-global-initializers:
16667 2007-01-29 Graham Dennis <graham.dennis@gmail.com>
16669 Reviewed by Maciej.
16671 Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
16672 Image data in from RTFD clipboard data thrown away
16674 - This method is needed because NSArrays are bridged to JS Arrays,
16675 which in turn are bridged back to WebScriptObjects when passed from
16676 JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
16678 * DumpRenderTree/DumpRenderTree.m:
16679 (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
16681 2007-01-25 Geoffrey Garen <ggaren@apple.com>
16683 Reviewed by Maciej Stachowiak.
16685 Added support for test for <rdar://problem/4608404> WebScriptObject's
16686 _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
16688 * DumpRenderTree/DumpRenderTree.m:
16689 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16690 (+[LayoutTestController webScriptNameForSelector:]):
16691 (-[LayoutTestController storeWebScriptObject:]):
16692 (-[LayoutTestController accessStoredWebScriptObject]):
16693 (-[LayoutTestController dealloc]):
16695 2007-01-26 Lars Knoll <lars@trolltech.com>
16699 Small hack to ensure that our top level frame actually has the
16700 correct size. Unfortunately this means I'll have to regenerate
16703 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16704 (WebCore::DumpRenderTree::DumpRenderTree):
16706 2007-01-25 Lars Knoll <lars@trolltech.com>
16708 Reviewed by Darin and Zack
16710 Move the test results for Qt into a directory of it's own
16711 (WebKit/LayoutTestResults/qt). Leave the Mac results where
16712 they are for now and share the text only results between
16715 Add support for a LayoutTestResults/platform/Skipped file
16716 to run-webkit-tests to be able to ignore certain tests
16718 Remove the old tests-skipped.txt from Qts DumpRenderTree
16721 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16722 (WebCore::DumpRenderTree::DumpRenderTree):
16723 (WebCore::DumpRenderTree::open):
16724 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16725 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
16726 * Scripts/run-webkit-tests:
16728 2007-01-24 Darin Adler <darin@apple.com>
16730 Reviewed by Oliver.
16732 - fix crash seen in layout tests
16734 * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
16735 Add back the line of code that sets savedMouseEvents to nil. I thought it was
16736 a field of the EventSendingController, but it's actually a global.
16738 2007-01-24 Darin Adler <darin@apple.com>
16740 Reviewed by Maciej.
16742 - changed dragMode to be a property instead of a function
16744 * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
16745 * DumpRenderTree/EventSendingController.m:
16746 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
16747 (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
16748 (-[EventSendingController init]): Updated for name change.
16749 (-[EventSendingController leapForward:]): Ditto.
16750 (-[EventSendingController mouseUp]): Ditto.
16751 (-[EventSendingController mouseMoveToX:Y:]): Ditto.
16753 2007-01-24 Darin Adler <darin@apple.com>
16755 Reviewed by Maciej.
16757 - made the deferral of mouse events until drag completes conditional
16758 it's needed for drag testing, and harmful for selection testing
16760 * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
16761 * DumpRenderTree/EventSendingController.m:
16762 (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
16763 (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
16764 and remove unneeded clearKillRing name.
16765 (-[EventSendingController init]): Initialize inDragMode to true.
16766 (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
16767 not be asserting things that are dependent on the test content!
16768 (-[EventSendingController leapForward:]): Only queue events in drag mode.
16769 (-[EventSendingController setDragMode:]): Added.
16770 (-[EventSendingController mouseDown]): Removed overzealous assertion.
16771 (-[EventSendingController mouseUp]): Removed overzealous assertions.
16772 Only queue events in drag mode.
16773 (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
16775 2007-01-24 Lars Knoll <lars@trolltech.com>
16779 Add a signal handler, always dump immediately if we get an
16780 error during a page load and raise the timeout to 5 seconds
16781 (as we get a lot less such failures now)
16783 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16784 (WebCore::DumpRenderTree::DumpRenderTree):
16785 (WebCore::DumpRenderTree::maybeDump):
16786 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16787 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16788 (LayoutTestController::waitUntilDone):
16789 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
16792 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16794 2007-01-22 Darin Adler <darin@apple.com>
16798 - a couple tiny tweaks to make --reset-results work better
16800 * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
16801 Don't make a separate "new" entry while generating results when --reset-results
16802 is specified since new results are the norm in that case.
16804 2007-01-21 Sanjay Madhav <sanjay12@gmail.com>
16806 Reviewed by Darin Adler.
16808 Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
16810 This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
16812 * DumpRenderTree/GCController.h:
16813 * DumpRenderTree/GCController.mm:
16814 (+[GCController isSelectorExcludedFromWebScript:]):
16815 (-[GCController getJSObjectCount]):
16817 2007-01-20 Mark Rowe <mrowe@apple.com>
16819 Reviewed by Maciej.
16821 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
16822 catch single regressions, and don't generate tests results for new tests.
16824 2007-01-20 Adam Roben <aroben@apple.com>
16826 Rubberstamped by Maciej.
16828 * Scripts/run-webkit-tests: Change the default behavior back to
16829 generating results for new tests (this can be disabled with
16830 --no-new-test-results)
16832 2007-01-19 Lars Knoll <lars@trolltech.com>
16834 Reviewed by Adam Roben.
16836 run-webkit-tests does now not generate new results by default anymore.
16837 You'll have to pass the --new-tests flag to it to force it to do so.
16839 This is required to make it possible to have tests running on multiple
16840 platforms peacefully together.
16842 * Scripts/run-webkit-tests:
16844 2007-01-18 Darin Adler <darin@apple.com>
16846 Reviewed by John Sullivan.
16848 * Scripts/run-webkit-tests: Fix handling of configuration so it
16849 does the right thing when no explicit configuration is passed in.
16850 The old code assumed that the result of setConfiguration() was the
16851 configuration, but it's undefined when no configuration is
16852 explicitly passed in. The correct function to use is
16853 configuration(), and I also streamlined the code.
16855 2007-01-17 Lars Knoll <lars@trolltech.com>
16857 Fix my last commit to actually work in all cases.
16859 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16860 (WebCore::DumpRenderTree::readStdin):
16862 2007-01-17 Lars Knoll <lars@trolltech.com>
16866 Make sure DumpRenderTree exits when run-webkit-tests
16869 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16870 (WebCore::DumpRenderTree::readStdin):
16872 2007-01-17 Lars Knoll <lars@trolltech.com>
16876 Small fixes in DumpRenderTree, so we don't by
16877 accident dump twice for the same test.
16879 Exclude one more test as it currently causes DumpRenderTree to
16882 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16883 (WebCore::DumpRenderTree::readStdin):
16884 (WebCore::DumpRenderTree::dump):
16885 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16886 (LayoutTestController::notifyDone):
16887 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16889 2007-01-17 Lars Knoll <lars@trolltech.com>
16893 Add a message handler to DumpRenderTree that will
16894 suppress all debug output coming from qDebug() statements.
16895 Like this we can get rid of all the noise coming
16896 from the notImplemented() macro when running the
16897 layout tests. You can get it back by adding -v to
16898 DumpRenderTree's command line.
16900 Changed run-webkit-tests slightly, so we by default
16901 don't fail anymore when our output differs from what
16902 is generated on the Mac. Added a --strict option, so
16903 that we can still see this cases and fix them one by one.
16905 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
16908 * Scripts/run-webkit-tests:
16910 2007-01-16 Lars Knoll <lars@trolltech.com>
16914 Use the new public API for the Qt build, and don't rely on
16915 WebKit internals anymore.
16917 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16918 (WebCore::DumpRenderTree::DumpRenderTree):
16919 (WebCore::DumpRenderTree::~DumpRenderTree):
16920 (WebCore::DumpRenderTree::open):
16921 (WebCore::DumpRenderTree::readStdin):
16922 (WebCore::DumpRenderTree::initJSObjects):
16923 (WebCore::DumpRenderTree::dump):
16924 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16925 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
16926 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
16927 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
16928 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16929 (LayoutTestController::notifyDone):
16930 (LayoutTestController::timerEvent):
16931 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
16933 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16935 2007-01-15 Justin Garcia <justin.garcia@apple.com>
16939 <rdar://problem/4810960>
16940 Gmail Editor: window.focus() called on keyDown (9640)
16942 * DumpRenderTree/EventSendingController.m: Send the keyDown event
16943 to the firstResponder, not the event's locationInWindow. A
16944 key press's locationInWindow is meaningless and just a dummy
16947 2007-01-15 Eric Seidel <eric@webkit.org>
16951 Add a script to keep our header guards squeaky clean.
16953 * Scripts/clean-header-guards: Added.
16955 2007-01-15 Lars Knoll <lars@trolltech.com>
16959 Fix a few smaller issues in here, and update
16960 our list of skipped tests.
16962 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16963 (WebCore::DumpRenderTree::DumpRenderTree):
16964 (WebCore::DumpRenderTree::readStdin):
16965 (WebCore::DumpRenderTree::dump):
16966 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16967 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16968 (LayoutTestController::LayoutTestController):
16969 (LayoutTestController::reset):
16970 (LayoutTestController::waitUntilDone):
16971 (LayoutTestController::notifyDone):
16972 (LayoutTestController::dumpEditingCallbacks):
16973 (LayoutTestController::timerEvent):
16974 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
16975 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16977 2007-01-14 Mark Rowe <mrowe@apple.com>
16981 <rdar://problem/4908909> Need to create Leopard nightly build
16983 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK. The disk images don't mount pre-10.4 so we aren't losing anything here.
16984 * WebKitLauncher/WebKitNightlyEnabler.m:
16985 (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables. The smaller timeframe where the
16986 CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
16987 (enableWebKitNightlyBehaviour):
16988 * WebKitLauncher/main.m:
16989 (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
16990 * Drosera/launcher.m:
16993 2007-01-12 Lars Knoll <lars@trolltech.com>
16997 Get DumpRenderTree to work again for the Qt build.
16999 Make run-webkit-tests a little less verbose when testing
17000 Qt, and add an option to run DumpRenderTree inside valgrind
17001 (useful for debugging)
17003 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17004 (WebCore::DumpRenderTree::DumpRenderTree):
17005 (WebCore::DumpRenderTree::~DumpRenderTree):
17006 (WebCore::DumpRenderTree::open):
17007 (WebCore::DumpRenderTree::dump):
17008 (WebCore::DumpRenderTree::maybeDump):
17009 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
17010 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
17011 (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
17012 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
17013 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
17014 * Scripts/run-webkit-tests:
17016 2007-01-12 Zack Rusin <zack@kde.org>
17018 Add WEBKIT_FULLBUILD env variable to get the
17019 build do a make clean before make to cleanout the
17020 stale depenendencies (for buildbot mainly).
17022 * Scripts/webkitdirs.pm:
17024 2007-01-11 Mitz Pettel <mitz@webkit.org>
17028 - http://bugs.webkit.org/show_bug.cgi?id=10249
17029 Temporarily disable tests that are causing kernel panics
17031 Changed the ImageDiff tool not to use CoreImage filters.
17033 * DumpRenderTree/ImageDiff.m:
17035 (createImageFromStdin):
17037 (getDifferenceBitmap):
17039 2007-01-11 Lars Knoll <lars@trolltech.com>
17043 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17045 2007-01-11 Lars Knoll <lars@trolltech.com>
17047 Reviewed by Darin Adler.
17049 Adjust to loader changes.
17051 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17052 (WebCore::DumpRenderTree::DumpRenderTree):
17054 2007-01-06 George Staikos <staikos@kde.org>
17056 This doesn't build on all unix platforms!
17058 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17060 2007-01-05 Zack Rusin <zack@kde.org>
17064 Fix the undefined warnings and try to detect
17065 the DISPLAY properly.
17067 * Scripts/run-webkit-tests:
17069 2007-01-05 David Kilzer <ddkilzer@webkit.org>
17071 Reviewed by Mark Rowe.
17073 Speed up svn-create-patch for copied and moved files.
17075 * Scripts/svn-create-patch:
17076 (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
17077 so svn pulls original from local disk.
17079 2007-01-04 Lars Knoll <lars@trolltech.com>
17081 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17082 Link with RPATH to (hopefully) get the automatic tests working.
17084 2007-01-03 Mark Rowe <bdash@webkit.org>
17086 Reviewed by Anders.
17088 * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
17090 2007-01-02 Zack Rusin <zack@kde.org>
17092 Make it work after javascriptcore/bindings changes.
17094 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17095 (WebCore::DumpRenderTree::initJSObjects):
17096 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17098 2007-01-01 David Kilzer <ddkilzer@webkit.org>
17100 Reviewed by Darin Adler.
17102 http://bugs.webkit.org/show_bug.cgi?id=12023
17103 svn-create-patch and friends should handle moved/copied files
17105 * Scripts/svn-apply: Identify copied files and handle those before all other patches.
17106 * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
17107 (findMimeType($)): Added.
17108 (findModificationTime($)): Added.
17109 (findSourceFileAndRevision($)): Added.
17110 (generateDiff($$$)): Changed to use svn stat instead of svn diff.
17111 (isBinaryMimeType($)): Added.
17112 (manufacturePatchForAdditionWithHistory($$)): Added.
17113 * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
17115 2006-12-29 Eric Seidel <eric@webkit.org>
17117 Reviewed by olliej.
17119 Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
17121 * DumpRenderTree/DumpRenderTree.m:
17122 (dumpRenderTree): clear WebCore cache before exiting
17124 2006-12-29 David Kilzer <ddkilzer@webkit.org>
17126 Reverted last commit until WebResourceData issue is fixed.
17128 http://bugs.webkit.org/show_bug.cgi?id=11882
17129 Need a way to regression test .webarchive output files
17131 * DumpRenderTree/DumpRenderTree.m:
17132 (serializeWebArchiveToXML): Removed.
17134 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17135 (-[LayoutTestController dumpAsWebArchive]): Removed.
17138 2006-12-28 David Kilzer <ddkilzer@webkit.org>
17140 Reviewed by Darin Adler.
17142 http://bugs.webkit.org/show_bug.cgi?id=11882
17143 Need a way to regression test .webarchive output files
17145 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
17146 Saves WebArchive plist in xml format, then alters file:// URLs to remove path
17147 where WebKit was checked out.
17149 * DumpRenderTree/DumpRenderTree.m:
17150 (serializeWebArchiveToXML): Added.
17152 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17153 (-[LayoutTestController dumpAsWebArchive]): Added.
17156 2006-12-28 George Staikos <staikos@kde.org>
17158 Reviewed by Olliej.
17160 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
17162 2006-12-27 Geoffrey Garen <ggaren@apple.com>
17164 Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
17166 Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
17168 No behavior change. Layout tests pass.
17170 * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
17171 doneLoading() accessor function. This matches the rest of DRT's exports and
17172 makes it easier to search for clients who check (!done).
17174 * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
17175 it would cover both code paths for calling runTest().
17177 (dumpRenderTree): "doneLoading()" => "done"
17179 * DumpRenderTree/EditingDelegate.m: ditto
17180 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
17181 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
17182 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
17183 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
17184 (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
17185 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
17186 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
17187 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
17188 (-[EditingDelegate webViewDidBeginEditing:]): ditto
17189 (-[EditingDelegate webViewDidChange:]): ditto
17190 (-[EditingDelegate webViewDidEndEditing:]): ditto
17191 (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
17192 (-[EditingDelegate webViewDidChangeSelection:]): ditto
17193 * DumpRenderTree/UIDelegate.m: ditto
17194 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
17196 2006-12-26 Eric Seidel <eric@webkit.org>
17198 Reviewed by bradee-oh.
17200 Add very simple run-pageloadtest script for running SVG page load test.
17202 * Scripts/run-pageloadtest: Added.
17204 2006-12-26 Geoffrey Garen <ggaren@apple.com>
17206 Reviewed by Eric Seidel.
17208 Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
17209 crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
17211 (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
17213 2006-12-23 Geoffrey Garen <ggaren@apple.com>
17215 Reviewed by Maciej Stachowiak.
17217 Added --threaded support to run-webkit-tests and DumpRenderTree.
17219 In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
17220 stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
17221 interface. This is useful for tracking down bugs you might see on a system
17222 configured to use a PAC file.
17224 Ironically, I can proudly state that very few layout tests pass.
17226 * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
17227 for starting and stopping it.
17228 (runJavaScriptThread): helper function
17229 (startJavaScriptThread): helper function
17230 (stopJavaScriptThread): helper function
17232 (dumpRenderTree): Added --threaded command line argument.
17233 * Scripts/run-webkit-tests: ditto
17235 2006-12-22 Mark Rowe <bdash@webkit.org>
17239 Fix for <rdar://problem/4265976>
17240 prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
17242 * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
17244 2006-12-21 Mark Rowe <bdash@webkit.org>
17246 Reviewed by Tim Hatcher.
17248 http://bugs.webkit.org/show_bug.cgi?id=11922
17249 Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
17251 * Drosera/DebuggerDocument.m:
17252 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
17253 ensure that the properties are being retrieved from the correct scope object.
17255 2006-12-21 Lars Knoll <lars@trolltech.com>
17259 Add support for the layoutTestController JavaScript object
17260 to be able to get textOnly dumps.
17261 Added a Qt specific hack to always get the same fonts (the ones
17262 added in this submit) and the same dpi when running the layout tests.
17263 Modified the run-webkit-tests script to also do a comparison to the
17264 Mac generated outputs (by stripping out positioning information).
17266 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17267 (WebCore::DumpRenderTree::DumpRenderTree):
17268 (WebCore::DumpRenderTree::open):
17269 (WebCore::DumpRenderTree::resetJSObjects):
17270 (WebCore::DumpRenderTree::initJSObjects):
17271 (WebCore::DumpRenderTree::dump):
17272 (WebCore::DumpRenderTree::checkLoaded):
17273 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
17274 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17275 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
17276 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
17277 (WebCore::DumpRenderTreeClient::partClearedInBegin):
17278 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
17279 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
17280 (QX11Info::appDpiY):
17281 (QX11Info::appDpiX):
17282 (qt_x11ft_convert_pattern):
17283 (LayoutTestController::LayoutTestController):
17284 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
17285 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
17286 (LayoutTestController::shouldDumpAsText):
17287 (LayoutTestController::shouldWaitUntilDone):
17288 (LayoutTestController::reset):
17289 (LayoutTestController::dumpAsText):
17290 (LayoutTestController::waitUntilDone):
17291 (LayoutTestController::notifyDone):
17292 * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
17293 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
17294 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
17295 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
17296 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
17297 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
17298 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
17299 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
17300 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
17301 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
17302 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
17303 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
17304 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
17305 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
17306 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
17307 * Scripts/run-webkit-tests:
17309 2006-12-21 Mark Rowe <bdash@webkit.org>
17313 http://bugs.webkit.org/show_bug.cgi?id=11888
17314 Bug 11888: REGRESSION (r18320): Web Inspector panes broken
17316 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
17318 2006-12-18 Geoffrey Garen <ggaren@apple.com>
17320 Reviewed by Beth Dakin.
17322 Updated EventSender to be able to send mouse up events outside the WebView.
17323 This is a minor tweak to a hackish implementation. The real solution
17324 should be to use NSApplication's event sending model instead of rolling
17325 our own, but I don't have time for that right now.
17327 * DumpRenderTree/EventSendingController.m:
17328 (-[EventSendingController mouseUp]):
17330 2006-12-15 Marvin Decker <marv.decker@gmail.com>
17332 Reviewed by Darin and Alexey.
17334 Fix the Windows build, move various Client implementations out of
17335 WebCore and into WebKit.
17337 * Spinneret/Spinneret.sln:
17339 2006-12-14 Timothy Hatcher <timothy@apple.com>
17343 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
17345 2006-12-13 Zack Rusin <zack@kde.org>
17347 Reviewed by rwlbuis
17349 Use the qmake build by default with Qt - it's the one that works
17352 * Scripts/build-webkit:
17353 * Scripts/webkitdirs.pm:
17355 2006-12-10 Lars Knoll <lars@trolltech.com>
17359 Some more fixes to the dumprendertree application.
17360 Fix the run-webkit-tests script for Qt.
17362 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17363 (WebCore::DumpRenderTree::open):
17364 (WebCore::DumpRenderTree::readStdin):
17365 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
17366 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
17367 * Scripts/run-webkit-tests:
17368 * Scripts/webkitdirs.pm:
17370 2006-12-10 Rob Buis <buis@kde.org>
17372 Reviewed by Darin Adler.
17374 * DumpRenderTree/DumpRenderTree.m:
17377 2006-12-10 Lars Knoll <lars@trolltech.com>
17381 Get the DumpRenderTree app to compile again
17383 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17384 (WebCore::DumpRenderTree::DumpRenderTree):
17385 (WebCore::DumpRenderTree::open):
17386 (WebCore::DumpRenderTree::readStdin):
17387 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
17388 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
17389 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
17390 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
17391 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17394 2006-12-09 George Staikos <staikos@kde.org>
17398 Repair QMake build on OS X.
17400 * Scripts/build-webkit:
17402 2006-12-09 Zack Rusin <zack@kde.org>
17404 Fixing small mistakes in the build scripts for
17407 * Scripts/build-webkit:
17408 * Scripts/webkitdirs.pm:
17410 2006-12-09 Simon Hausmann <hausmann@kde.org>
17414 Add support for a QMake build using build-webkit --qmake
17416 * Scripts/build-webkit:
17417 * Scripts/webkitdirs.pm:
17419 2006-12-09 George Staikos <staikos@kde.org>
17423 Remove reference to Unity.
17425 * Scripts/webkitdirs.pm:
17427 2006-12-08 Zack Rusin <zack@kde.org>
17429 Reviewed by Maciej.
17431 Fix the compile after recent API changes.
17433 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17434 (WebCore::DumpRenderTree::DumpRenderTree):
17435 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17438 2006-12-08 George Staikos <staikos@kde.org>
17440 Reviewed by Maciej.
17442 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
17444 * Scripts/build-webkit:
17445 * Scripts/webkitdirs.pm:
17447 2006-12-06 Steve Falkenburg <sfalken@apple.com>
17449 Support C strings for localization
17451 * Scripts/extract-localizable-strings:
17453 2006-12-04 Steve Falkenburg <sfalken@apple.com>
17455 Reviewed by Darin Adler.
17457 Make extract-localizable-strings compatible with cpp file extensions.
17459 * Scripts/extract-localizable-strings:
17461 2006-11-21 Darin Adler <darin@apple.com>
17463 Reviewed by Maciej.
17465 - a couple changes to reduce the chance of false positives on the leakbot
17467 * DumpRenderTree/DumpRenderTree.m:
17468 (dumpRenderTree): Move the main function into a separate function so we can run
17469 a final garbage collect afterward without any stray values on the stack. Replaced
17470 the old way of closing down a WebView (setting the delegates to nil) with the new
17471 way (calling the close method), which does a more complete job of shutting
17472 everything down without waiting for the WebView object to be deallocated.
17473 (main): Put auto-release pool here and added an explicit call to garbage collect.
17474 With a separate function, we greatly reduce the chance that a stray address on the
17475 stack will keep an object alive.
17477 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
17478 because I don't have what it takes to fight the power.
17480 2006-11-17 Zack Rusin <zack@kde.org>
17482 Reviewed by Mitz. Landed by Niko.
17484 Fixing compilation.
17486 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17487 (WebCore::DumpRenderTree::DumpRenderTree): Adding
17488 ContextMenuClient to the constructor
17490 2006-11-12 Mark Rowe <bdash@webkit.org>
17494 Clean up of GdkLauncher bakefile.
17496 * GdkLauncher/gdklauncher.bkl:
17498 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
17500 Reviewed and landed by Anders.
17502 Make DRT work again on Qt/Linux.
17504 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17505 (WebCore::DumpRenderTree::DumpRenderTree):
17507 2006-11-10 Zack Rusin <zack@kde.org>
17509 Reviewed and landed by Anders.
17511 Adjusting to the recent loader changes, making it compile
17514 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17515 (WebCore::DumpRenderTree::DumpRenderTree):
17516 (WebCore::DumpRenderTree::checkLoaded):
17517 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17519 2006-11-10 Zack Rusin <zack@kde.org>
17521 Reviewed by Anders.
17523 Making the Qt code work after refactorings in WebCore.
17525 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17526 (WebCore::DumpRenderTree::DumpRenderTree):
17527 (WebCore::DumpRenderTree::checkLoaded):
17528 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17530 2006-11-08 Darin Adler <darin@apple.com>
17532 Reviewed by Anders.
17534 - same change as below, only tested this time
17536 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
17537 mode off. I think we need to do this because WebPreferences saves things
17538 for us automatically. It would be good to turn that off for DumpRenderTree,
17539 but for now lets handle this like the other preferences (set it explicitly
17542 2006-11-08 Darin Adler <darin@apple.com>
17544 Reviewed by Anders.
17546 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
17547 "tab to links" mode. No current tests depend on this, and there's a new
17548 test I want to land that depends on the default setting.
17550 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
17552 Reviewed by Maciej.
17554 Linux\gdk build fixes.
17556 * GdkLauncher/main.cpp:
17557 (LauncherFrameGdk::LauncherFrameGdk):
17560 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
17562 Build fix, approved in principle by Tim H.
17564 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17565 Disable deprecated warnings for main.c (TestNetscapePlugin),
17566 as it now uses QuickDraw to convert mouse event coordinates.
17568 2006-11-05 Timothy Hatcher <timothy@apple.com>
17570 Reviewed by Maciej.
17572 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
17573 http://bugs.webkit.org/show_bug.cgi?id=11525
17575 * Drosera/debugger.js: imporved the function name code
17577 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
17579 Reviewed by Maciej.
17581 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
17582 being attributed to the next test.
17584 * DumpRenderTree/EditingDelegate.m:
17585 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
17586 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
17587 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
17588 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
17589 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
17590 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
17591 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
17592 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
17593 (-[EditingDelegate webViewDidBeginEditing:]):
17594 (-[EditingDelegate webViewDidChange:]):
17595 (-[EditingDelegate webViewDidEndEditing:]):
17596 (-[EditingDelegate webViewDidChangeTypingStyle:]):
17597 (-[EditingDelegate webViewDidChangeSelection:]):
17598 * DumpRenderTree/UIDelegate.m:
17599 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
17601 2006-11-06 Mark Rowe <bdash@webkit.org>
17603 Reviewed by Alexey.
17605 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
17607 * Scripts/run-webkit-tests: import the POSIX module.
17609 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
17611 Reviewed by Maciej.
17613 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
17614 REGRESSION: Flash clicks/interactivity not working properly
17616 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
17618 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
17620 plg.eventLoggingEnabled = true;
17621 // use eventSender to simulate events...
17624 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17625 (pluginGetProperty):
17626 (pluginSetProperty):
17628 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
17629 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
17632 2006-11-04 David Smith <catfish.man@gmail.com>
17636 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
17637 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
17639 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
17641 2006-11-04 David Smith <catfish.man@gmail.com>
17645 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
17646 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
17648 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
17650 2006-11-04 David Smith <catfish.man@gmail.com>
17654 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
17655 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
17657 * Drosera/debugger.js: blur() the function popup when we're done with it.
17659 2006-11-04 Mark Rowe <bdash@webkit.org>
17661 Reviewed by Darin Adler.
17663 Fix use of uninitialized value in pattern match.
17665 * Scripts/webkitdirs.pm:
17667 2006-11-04 Darin Adler <darin@apple.com>
17669 Reviewed by Tim Hatcher.
17671 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
17673 2006-11-03 David Smith <catfish.man@gmail.com>
17677 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
17678 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
17680 * Drosera/DebuggerApplication.m:
17681 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
17683 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
17687 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
17688 Bug 9596: [Drosera] add a function popup to the source pane
17690 * Drosera/debugger.css: Added styles for function popup
17691 * Drosera/debugger.html: Added function popup button and select
17692 * Drosera/debugger.js: Added function popup functionality
17694 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
17696 Reviewed by Maciej.
17698 http://bugs.webkit.org/show_bug.cgi?id=9671
17701 Adds astyle sed script formats according to most of the style guidelines.
17703 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
17707 http://bugs.webkit.org/show_bug.cgi?id=7323
17708 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
17710 When dragging, do not send EventSendingController's events immediately. Dragging
17711 is supposed to be modal, so we need to perform it from within the delegate, without
17712 returning to JS to make the next mouse movement.
17714 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
17716 * DumpRenderTree/EventSendingController.h:
17717 * DumpRenderTree/EventSendingController.m:
17718 (-[EventSendingController dealloc]):
17719 (-[EventSendingController leapForward:]):
17720 (-[EventSendingController mouseDown]):
17721 (-[EventSendingController mouseUp]):
17722 (-[EventSendingController mouseMoveToX:Y:]):
17723 (+[EventSendingController saveEvent:]):
17724 (+[EventSendingController replaySavedEvents]):
17725 * DumpRenderTree/UIDelegate.m:
17726 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
17728 2006-11-02 Geoffrey Garen <ggaren@apple.com>
17730 Reviewed by Justin Garcia.
17732 Made dumping of editing callbacks opt-in, so that editing spew doesn't
17733 cloud non-editing tests.
17735 * DumpRenderTree/DumpRenderTree.m:
17736 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17737 (-[LayoutTestController shouldDumpEditingCallbacks]):
17739 * DumpRenderTree/EditingDelegate.m:
17740 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
17741 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
17742 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
17743 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
17744 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
17745 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
17746 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
17747 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
17748 (-[EditingDelegate webViewDidBeginEditing:]):
17749 (-[EditingDelegate webViewDidChange:]):
17750 (-[EditingDelegate webViewDidEndEditing:]):
17751 (-[EditingDelegate webViewDidChangeTypingStyle:]):
17752 (-[EditingDelegate webViewDidChangeSelection:]):
17754 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
17756 Reviewed by Maciej, landed by Anders.
17758 - http://bugs.webkit.org/show_bug.cgi?id=7802
17759 devenv.com not available in VC++ Express installations
17761 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
17762 * Scripts/install-win-extras: Make setx.exe actually run.
17764 2006-11-01 Stephanie Lewis <slewis@apple.com>
17768 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
17769 Since testkjs is being built before the tests are run, we don't need
17770 to build it with webkit.
17773 http://bugs.webkit.org/show_bug.cgi?id=11462
17774 http://bugs.webkit.org/show_bug.cgi?id=6168
17776 * Scripts/build-webkit:
17777 * Scripts/run-javascriptcore-tests:
17779 2006-11-01 Brady Eidson <beidson@apple.com>
17781 Reviewed by Tim Hatcher
17783 Added accessor to get the source directory for use in client scripts
17785 * Scripts/webkitdirs.pm:
17787 2006-11-01 Mark Rowe <bdash@webkit.org>
17791 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
17793 * Spinneret/Spinneret/Spinneret.cpp:
17795 * WebKitLauncher/WebKitNightlyEnabler.m:
17796 (cleanUpAfterOurselves):
17798 2006-10-31 Mark Rowe <bdash@webkit.org>
17800 Reviewed by Stephanie.
17802 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
17804 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
17805 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
17807 2006-10-31 Darin Adler <darin@apple.com>
17809 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
17810 pasteboard, allocate any number of local pasteboards.
17811 (main): Allocate the dictionary of pasteboards.
17812 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
17814 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
17815 explicitly elsewhere.
17816 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
17817 to the selector rather than calling unconditionally.
17819 2006-10-30 Darin Adler <darin@apple.com>
17823 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
17824 Don't use CFPasteboard.
17826 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
17830 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
17832 * Drosera/debugger.js: ParsedURL() object now recognizes local files
17834 2006-10-30 Darin Adler <darin@apple.com>
17836 Reviewed by Tim Hatcher.
17838 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
17839 This should make our buildbot tests no longer need a pasteboard server.
17841 2006-10-30 Geoffrey Garen <ggaren@apple.com>
17845 Reorganized project file into Delegates and Controllers groups, and split
17846 UIDelegate stuff into a UIDelegate class.
17848 A little birdy told me that I might end up adding some UIDelegate methods
17851 * DumpRenderTree/DumpRenderTree.m:
17854 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17856 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
17858 Reviewed by Oliver.
17860 Add new platform/graphics include directory.
17862 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
17864 2006-10-30 Timothy Hatcher <timothy@apple.com>
17866 Reviewed by Stephanie.
17868 Add a special case for the Internal makefiles, so it can find the OepnSource.
17870 * Scripts/webkitdirs.pm:
17872 2006-10-30 Stephanie Lewis <slewis@apple.com>
17874 Reviewed by Darin Adler.
17876 Change Makefiles to return non-zero when module make fails.
17877 Fix bug where if xcode options are not set, modules can build in the
17881 * Scripts/webkitdirs.pm:
17883 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
17887 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
17888 [Drosera] The Console toolbar button should bring the console window to the front.
17890 The console now gets focus when its activated but already open. Command + L also
17891 now activates/focuses the console.
17893 * Drosera/English.lproj/MainMenu.nib/classes.nib:
17894 * Drosera/English.lproj/MainMenu.nib/info.nib:
17895 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
17896 * Drosera/debugger.js:
17898 2006-10-29 Darin Adler <darin@apple.com>
17900 * Scripts/do-file-rename: Renames done, ready for the next round.
17901 * Scripts/do-webcore-rename: Ditto.
17903 2006-10-29 Darin Adler <darin@apple.com>
17905 * Scripts/do-file-rename: And again.
17907 2006-10-29 Darin Adler <darin@apple.com>
17909 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
17911 2006-10-29 Darin Adler <darin@apple.com>
17915 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
17916 Added. Does nothing, which prevents a beep.
17918 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
17920 2006-10-27 Brady Eidson <beidson@apple.com>
17922 Rubber stamped by Tim Hatcher
17924 Added "make universal" to build universal binaries
17929 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
17933 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
17934 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
17935 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
17937 * DumpRenderTree/EventSendingController.m:
17938 (-[EventSendingController mouseMoveToX:Y:]):
17940 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
17942 Reviewed by Darin Adler.
17944 Fix Qt/Linux build.
17946 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17947 (WebCore::DumpRenderTree::open):
17949 2006-10-24 Stephanie Lewis <slewis@apple.com>
17951 Reviewed by Maciej.
17953 - Changed run-javascriptcore tests to build testkjs before running.
17955 * Scripts/run-javascriptcore-tests:
17957 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
17959 Reviewed by Maciej.
17961 Fix Qt/Linux build.
17963 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
17964 - Fix CMakeLists.txt to include platform/network.
17966 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
17968 2006-10-24 David Smith <catfish.man@gmail.com>
17972 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
17973 http://bugs.webkit.org/show_bug.cgi?id=11382
17975 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
17977 2006-10-21 Darin Adler <darin@apple.com>
17979 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
17980 This was still using "symroots" so it almost never worked!
17982 2006-10-21 Darin Adler <darin@apple.com>
17984 * Makefile: Build DumpRenderTree too.
17985 * Scripts/do-webcore-rename: Removed bogus comment.
17987 2006-10-20 David Smith <catfish.man@gmail.com>
17991 Bug 11367: Inline Breakpoint Editor Improvements: Act III
17992 http://bugs.webkit.org/show_bug.cgi?id=11367
17994 Major breakpoint editor changes:
17995 * Breakpoints can now either pause or log to console
17996 * Code cleanup through use of XPath and converting breakpoints to objects
17997 * Breakpoints now track how many times they've been reached
17999 * The breakpoint editor now saves changes as they're entered
18000 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
18001 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
18003 * Drosera/DebuggerDocument.m:
18004 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
18005 * Drosera/Drosera.xcodeproj/project.pbxproj:
18006 * Drosera/Images/close.tif: Added.
18007 * Drosera/Images/close_active.tif: Added.
18008 * Drosera/Images/close_hover.tif: Added.
18009 * Drosera/breakpointEditor.html: Added.
18010 * Drosera/console.js: Added a way to append messages from outside the console window.
18011 * Drosera/debugger.js:
18012 * Drosera/viewer.css:
18013 * Drosera/viewer.html:
18015 2006-10-18 David Smith <catfish.man@gmail.com>
18019 Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
18021 * Drosera/DebuggerDocument.m:
18022 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
18023 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
18024 * Drosera/debugger.js:
18026 2006-10-18 Timothy Hatcher <timothy@apple.com>
18028 Reviewed by Anders.
18030 Bug 10851: Crash with Drosera
18031 http://bugs.webkit.org/show_bug.cgi?id=10851
18033 This crash results in an assert in debug builds.
18035 assert(implementsCall());
18037 The __drosera_introspection propery was not callable. Now we just assign
18038 this.__drosera_introspection in the evaluateWebScript call.
18039 This change also removes one DO message.
18041 * Drosera/DebuggerDocument.m:
18042 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
18044 2006-10-18 Mark Rowe <bdash@webkit.org>
18048 http://bugs.webkit.org/show_bug.cgi?id=11304
18049 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
18051 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
18052 when they are not part of the WebKit umbrella framework.
18054 2006-10-18 Adam Roben <aroben@apple.com>
18056 fixo el buildo II: Release's Pride.
18058 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18060 2006-10-18 Geoffrey Garen <ggaren@apple.com>
18064 Work around #import of <PDFKit/PDFView.h>.
18066 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18068 2006-10-18 David Smith <catfish.man@gmail.com>
18072 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
18074 * Drosera/Drosera.xcodeproj/project.pbxproj:
18075 * Drosera/Images/breakpointeditor.png: Added.
18076 * Drosera/breakpointEditor.css: Removed.
18077 * Drosera/breakpointEditor.html: Removed.
18078 * Drosera/breakpointEditor.js: Removed.
18079 * Drosera/debugger.js:
18080 * Drosera/viewer.css:
18082 2006-10-18 David Harrison <harrison@apple.com>
18086 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
18087 http://bugs.webkit.org/show_bug.cgi?id=11341
18089 Link editing behavior became a preference. DumpRenderTree needs to specify the
18090 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
18092 * DumpRenderTree/DumpRenderTree.m:
18095 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
18097 Reviewed by Anders.
18099 Make compiler not complain about unused gk. SpinneretWebHost was not setting
18100 initial refcount upon creation, so it is completely bogus.
18102 * GdkLauncher/main.cpp:
18104 * Spinneret/Spinneret/Spinneret.h:
18105 (SpinneretWebHost::SpinneretWebHost):
18107 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
18109 Reviewed by Oliver.
18111 Add another hanging test, to the "to be skipped" list.
18113 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
18115 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
18117 Reviewed by Anders.
18119 Some fixes to get the Qt BuildSlave to run the LayoutTests.
18121 * Scripts/build-dumprendertree: No need to call cmake again.
18122 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
18124 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
18128 Force --no-http on Qt/Linux.
18130 * Scripts/run-webkit-tests:
18132 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
18136 Gets JavaScripCore tests running on windows.
18138 * Scripts/run-javascriptcore-tests:
18139 * Scripts/webkitdirs.pm:
18141 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
18143 Reviewed by Maciej.
18145 Exclude some tests which crash or hang from Qt/Linux DRT.
18146 These are known to fail, and will be fixed at some point :-)
18148 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18149 (WebCore::DumpRenderTree::DumpRenderTree):
18150 (WebCore::DumpRenderTree::open):
18151 (WebCore::DumpRenderTree::readStdin):
18152 (WebCore::DumpRenderTree::readSkipFile):
18153 (WebCore::DumpRenderTree::checkLoaded):
18154 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18155 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
18157 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
18159 Reviewed by Maciej.
18161 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
18163 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
18164 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
18165 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
18167 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
18169 Reviewed by Maciej.
18171 Also regenerate GdkLauncher makefiles, since not doing that might
18172 lead to mismatch between WebCore and GdkLauncher compiler settings.
18174 * Scripts/regenerate-makefiles:
18176 2006-10-10 David Smith <catfish.man@gmail.com>
18180 Bug 11246: Minor Drosera code cleanup
18181 http://bugs.webkit.org/show_bug.cgi?id=11246
18183 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
18185 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
18189 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
18191 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
18192 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
18193 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
18194 * Drosera/Images/SourceArrowOpen.png: Added.
18195 * Drosera/Images/fileIcon.jpg: Added.
18196 * Drosera/Images/siteCollapsed.tif: Added.
18197 * Drosera/Images/siteExpanded.tif: Added.
18198 * Drosera/Images/siteIcon.tif: Added.
18199 * Drosera/debugger.css: Added File Browser styles
18200 * Drosera/debugger.html: Added File Browser UI
18201 * Drosera/debugger.js: Added File Browser functionality
18203 2006-10-10 Darin Adler <darin@apple.com>
18205 * Scripts/do-file-rename: Added.
18207 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
18211 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
18212 a page. This allows automatic testing via e.g. valgrind.
18214 * GdkLauncher/gdklauncher.bkl:
18215 * GdkLauncher/main.cpp:
18216 (LauncherFrameGdk::LauncherFrameGdk):
18217 (LauncherFrameGdk::setExitAfterLoading):
18218 (LauncherFrameGdk::handledOnloadEvents):
18222 2006-10-06 David Smith <catfish.man@gmail.com>
18224 Reviewed by Timothy.
18226 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
18228 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
18229 * Drosera/breakpointEditor.css: Added.
18230 * Drosera/breakpointEditor.html: Added.
18231 * Drosera/breakpointEditor.js: Added.
18232 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
18234 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
18238 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
18240 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18241 (WebCore::DumpRenderTree::DumpRenderTree):
18243 2006-10-05 Oliver Hunt <ohunt@apple.com>
18245 Reviewed by Anders.
18247 * Scripts/run-webkit-tests:
18250 2006-10-04 Anders Carlsson <acarlsson@apple.com>
18252 Reviewed by Darin Adler.
18254 * Scripts/run-webkit-tests:
18255 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
18258 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
18260 Reviewed and landed by ap.
18262 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
18263 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
18265 * Scripts/webkitdirs.pm:
18267 2006-10-04 Mark Rowe <bdash@webkit.org>
18269 Reviewed by Stephanie.
18271 Switch the Qt buildbot to the standard set of build steps.
18272 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
18273 see if any regressions were spotted, and fail the test if so.
18275 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
18276 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
18277 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
18279 2006-10-04 Timothy Hatcher <timothy@apple.com>
18281 Reviewed by Mitz Pettel!
18283 Bug 10708: [Drosera] Make the console input plaintext-only
18284 http://bugs.webkit.org/show_bug.cgi?id=10708
18286 Change the console input -webkit-user-modify property to
18287 read-write-plaintext-only.
18289 * Drosera/console.css:
18291 2006-10-04 David Smith <catfish.man@gmail.com>
18295 Bug 10473: [Drosera] Overlapping text in JavaScript Console
18296 http://bugs.webkit.org/show_bug.cgi?id=10473
18298 Using min-height instead of height to avoid overlapping text.
18300 * Drosera/console.css:
18302 2006-10-04 David Smith <catfish.man@gmail.com>
18306 Added a bash-style command history.
18308 * Drosera/console.js:
18310 2006-10-03 Anders Carlsson <acarlsson@apple.com>
18312 Reviewed by Adam and Brady.
18314 * DumpRenderTree/DumpRenderTree.m:
18316 Update URL to Ahem.ttf
18318 2006-10-03 Darin Adler <darin@apple.com>
18320 * Scripts/commit-log-editor: Added missing "close" call. Oops!
18322 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
18324 Reviewed by eseidel. Landed by eseidel.
18326 Offer a way for BuildBot to not colorize the cmake output, when building
18327 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
18329 Default is colorize output, though only Qt platform handles this for now.
18331 * Scripts/build-dumprendertree:
18332 * Scripts/build-webkit:
18333 * Scripts/webkitdirs.pm:
18335 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
18337 Reviewed by eseidel. Landed by eseidel.
18339 Make all important scripts work with Qt/Linux.
18341 You can safely use this now:
18342 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
18344 * Scripts/build-dumprendertree:
18345 * Scripts/run-javascriptcore-tests:
18346 * Scripts/run-webkit-tests:
18347 * Scripts/webkitdirs.pm:
18349 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
18353 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
18355 * Scripts/webkitdirs.pm:
18357 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
18359 Reviewed/landed by Adam.
18361 Proper build-webkit support for Qt/Linux.
18363 Compilation process is similar to OSX now, aka.
18364 the build directory is RootCheckoutDir/WebKitBuild now.
18366 * Scripts/build-webkit: Recognize Qt.
18367 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
18369 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
18371 Reviewed by Maciej.
18373 Add QT build slave to Buildbot.
18375 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
18376 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
18377 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead.
18378 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
18380 2006-09-28 David Harrison <harrison@apple.com>
18382 Suggested by Darin Adler.
18384 Moved an extern declaration from inside a method to the top of the file.
18386 * DumpRenderTree/EventSendingController.m:
18387 (-[EventSendingController clearKillRing]):
18389 2006-09-28 David Harrison <harrison@apple.com>
18391 Reviewed by Justin.
18393 Add clearKillRing so we can test emacs support with empty kill ring.
18395 * DumpRenderTree/EventSendingController.m:
18396 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18397 (+[EventSendingController webScriptNameForSelector:]):
18398 (-[EventSendingController clearKillRing]):
18400 2006-09-27 MorganL <morganl.webkit@yahoo.com>
18402 Reviewed by Maciej, landed by Brady
18404 Fix URL bar updating.
18406 * Spinneret/Spinneret/Spinneret.h:
18407 (SpinneretWebHost::didStartProvisionalLoadForFrame):
18408 (SpinneretWebHost::didCommitLoadForFrame):
18409 (SpinneretWebHost::didFinishLoadForFrame):
18411 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
18417 * DumpRenderTree/EventSendingController.m:
18418 (-[EventSendingController enableDOMUIEventLogging:]):
18420 2006-09-22 Justin Garcia <justin.garcia@apple.com>
18424 * Scripts/do-webcore-rename:
18426 2006-09-21 Timothy Hatcher <timothy@apple.com>
18430 Bug 10923: Frame scroll layout test failures on the buildbot
18431 http://bugs.webkit.org/show_bug.cgi?id=10923
18433 Added a new method that will toggle on the recursive dump of
18434 child frame scroll positions.
18436 * DumpRenderTree/DumpRenderTree.m:
18437 (dumpFrameScrollPosition):
18438 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18439 (-[LayoutTestController dumpChildFrameScrollPositions]):
18441 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
18443 Reviewed by eseidel. Landed by eseidel.
18445 Detect that close button was pressed and exit cleanly.
18447 * GdkLauncher/main.cpp:
18451 2006-09-17 Adam Roben <aroben@apple.com>
18453 Reviewed by hyatt, sfalken.
18455 Get DumpRenderTree compiling and limping along on Windows.
18457 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18458 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
18459 (main): Add NULL argument to Page constructor.
18460 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
18461 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
18463 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
18467 http://bugs.webkit.org/show_bug.cgi?id=10635
18468 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
18470 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
18471 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
18472 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
18474 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
18478 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
18479 Even More Objective-C DOM auto-generation cleanup
18481 - Change to use new, more Objectice-C'ish version of
18482 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
18483 regression test for fast/events/dblclick-addEventListener.html.
18485 * DumpRenderTree/EventSendingController.m:
18486 (-[EventSendingController fireKeyboardEventsToElement:]):
18488 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
18492 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
18493 Move QtLauncher down to WebKitQt.
18495 * QtLauncher/CMakeLists.txt: Removed.
18496 * QtLauncher/main.cpp: Removed.
18498 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
18500 Reviewed by Darin Adler.
18502 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
18503 Adjust DumpRenderTree to the FrameQtClient changes.
18505 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
18506 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18507 (WebCore::DumpRenderTree::DumpRenderTree):
18508 (WebCore::DumpRenderTree::~DumpRenderTree):
18509 (WebCore::DumpRenderTree::frame):
18510 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18511 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
18512 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
18513 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
18514 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
18516 2006-09-03 Darin Adler <darin@apple.com>
18518 * Scripts/do-webcore-rename: More renaming plans.
18520 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
18524 http://bugs.webkit.org/show_bug.cgi?id=10693
18525 Convert JavaScript arrays to AppleScript lists
18527 * DumpRenderTree/AppleScriptController.m:
18528 (convertAEDescToObject):
18529 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
18531 2006-08-31 Darin Adler <darin@apple.com>
18533 * Scripts/do-webcore-rename: Prepare for another round of renaming.
18535 2006-08-29 Dan Waylonis <waylonis@google.com>
18537 Reviewed by ggaren.
18539 - Verification of exceptions thrown in a plugin. Test for bug 10114.
18540 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18541 * DumpRenderTree/ObjCPlugin.m:
18542 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
18543 (+[ObjCPlugin webScriptNameForSelector:]):
18544 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
18546 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
18550 Commit KDE related tweaks, to be able to
18551 differentiate between a Qt-only or a KDE build.
18553 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
18554 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
18556 2006-08-29 Darin Adler <darin@apple.com>
18558 Reviewed by Tim Hatcher.
18560 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
18561 to work around what seems to be a bug in some versions of gdb.
18563 2006-08-16 Tim Omernick <timo@apple.com>
18565 Reviewed by John Sullivan.
18567 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
18568 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
18571 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
18573 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
18574 are expected to be retained by the plug-in, and released by the caller.
18576 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
18578 Reviewed by Tim Hatcher.
18580 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
18582 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18583 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
18584 Qt's DumpRenderTree.
18586 * Scripts/run-webkit-tests:
18587 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
18589 2006-08-28 Darin Adler <darin@apple.com>
18591 Reviewed by Tim Hatcher.
18593 * Scripts/build-drosera: Fix behavior when there are multiple options.
18595 2006-08-27 Timothy Hatcher <timothy@apple.com>
18597 Reviewed by Anders.
18599 Drosera will be built when you type make.
18601 * Drosera/Makefile: Added.
18603 * Makefile.shared: Added.
18605 2006-08-27 Anders Carlsson <acarlsson@apple.com>
18607 Forgot to add these.
18609 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
18610 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
18611 (WebCore::DumpRenderTree::DumpRenderTree):
18612 (WebCore::DumpRenderTree::~DumpRenderTree):
18613 (WebCore::DumpRenderTree::open):
18614 (WebCore::DumpRenderTree::readStdin):
18615 (WebCore::DumpRenderTree::checkLoaded):
18616 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
18617 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
18620 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
18622 Reviewed by Eric, landed by Anders.
18624 Add DumpRenderTree support for Qt/Linux.
18626 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
18627 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
18628 (WebCore::DumpRenderTree::DumpRenderTree):
18629 (WebCore::DumpRenderTree::~DumpRenderTree):
18630 (WebCore::DumpRenderTree::open):
18631 (WebCore::DumpRenderTree::readStdin):
18632 (WebCore::DumpRenderTree::checkLoaded):
18633 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
18634 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
18636 * Scripts/build-dumprendertree:
18637 * Scripts/run-webkit-tests:
18638 * Scripts/webkitdirs.pm:
18640 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
18642 Reviewed by Eric. Landed by rwlbuis.
18644 Add QtLauncher (was testunity before), which provides a
18645 standalone "browser" to test the Qt platform stuff.
18647 * QtLauncher/CMakeLists.txt: Added.
18648 * QtLauncher/main.cpp: Added.
18651 2006-08-22 Trey Matteson <trey@usa.net>
18653 Reviewed by ggaren.
18655 Added support for a new set of browser navigation tests. The main feature
18656 is the ability for a test to queue up a set of future actions that will
18657 happen after that first page is loaded. This is used to simulate a sequence
18658 of user actions such as filling out forms, loading additional pages or
18659 going back. In addition we can now dump out the state of the back/forward
18660 list, and the scroll position is dumped if not at 0,0.
18662 * DumpRenderTree/DumpRenderTree.m:
18663 (main): Init new state
18664 (compareHistoryItems): New utility to support sorting.
18665 (dumpHistoryItem): Write out a WebHistoryItem and kids.
18666 (dumpFrameScrollPosition): Write out the scroll position.
18667 (dump): Optionally write b/f list or scroll position.
18668 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
18669 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
18670 Kick off any queued actions. Fixed for the case of loads started in
18671 a subframe instead of the root frame.
18672 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
18673 Grab the topmost frame that is being loaded. Do this as early as possible,
18674 instead of in didCommitLoadForFrame.
18675 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
18676 Noting a load has started now happens in previous method.
18677 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
18678 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
18679 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
18681 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
18682 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
18683 Add new work to the queue.
18684 (-[LayoutTestController _doLoad:target:]): Do a queued load.
18685 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
18686 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
18687 (-[LayoutTestController scheduleForwardNav:]):
18688 (-[LayoutTestController scheduleReload]):
18689 (-[LayoutTestController scheduleScript:]):
18690 (-[LayoutTestController scheduleLoad:target:]):
18691 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
18692 since it's not one of the functions that does any dumping.
18694 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
18696 Reviewed by Darin Adler.
18698 - added a function to create a few DOMKeyboardEvents and dispatch
18699 them to a specified HTML element
18700 http://bugs.webkit.org/show_bug.cgi?id=9736
18702 * DumpRenderTree/EventSendingController.m:
18703 (+[EventSendingController isSelectorExcludedFromWebScript:]):
18704 (+[EventSendingController webScriptNameForSelector:]):
18705 (-[EventSendingController fireKeyboardEventsToElement:]):
18707 2006-08-15 Duncan Wilcox <duncan@mclink.it>
18709 Reviewed and tweaked by Darin Adler.
18711 - added DumpRenderTree support so editing delegate can be made to refuse edits
18712 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
18714 * DumpRenderTree/DumpRenderTree.m:
18715 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
18716 to the list of methods.
18717 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
18718 without the colon, for the JavaScript name.
18719 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
18721 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
18723 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
18724 setter methods to the class.
18725 * DumpRenderTree/EditingDelegate.m:
18726 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
18727 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
18728 return the value of acceptsEditing.
18729 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
18730 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
18731 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
18732 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
18733 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
18735 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
18736 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
18737 (-[EditingDelegate setAcceptsEditing:]): Added.
18739 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
18741 Reviewed by Darin Adler.
18743 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
18744 http://bugs.webkit.org/show_bug.cgi?id=10224
18746 * Drosera/Drosera.xcodeproj/project.pbxproj:
18747 * Drosera/LauncherInfo.plist:
18749 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
18751 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
18752 when a test performs an unsuccessful drag and drop operation.
18754 * DumpRenderTree/EventSendingController.m:
18755 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
18756 drag operation for the mouse release is NSDragOperationNone.
18758 2006-08-02 Timothy Hatcher <timothy@apple.com>
18760 Reviewed by Darin Adler.
18762 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
18763 http://bugs.webkit.org/show_bug.cgi?id=9632
18765 Do not change the file source when normalizing the line endings.
18766 We use this file source to compare against new versions of the source
18767 as it comes in, so we can skip re-syntax highlighting if they are the same.
18768 The problem is apparent on yahoo.com since they have mixed line endings and
18769 once we normalize them the source will always be different. This was
18770 compounded by the fact that yahoo has around 40 inline scripts. Each
18771 inline script causes us to check if the main document has more loaded,
18772 that is when we compare the source strings. Since they are always different
18773 we would syntax highlight yahoo.com 40 times! We do check source length before
18774 doing a more expensive string comparison, but the lengths were the same.
18776 * Drosera/debugger.js:
18778 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
18780 Reviewed by Timothy.
18782 Bug 9931: [Drosera] Needs a cool icon
18783 http://bugs.webkit.org/show_bug.cgi?id=9931
18785 * Drosera/Drosera.icns: Added.
18786 * Drosera/Drosera.xcodeproj/project.pbxproj:
18787 * Drosera/Info.plist:
18789 2006-08-01 Darin Adler <darin@apple.com>
18791 - fix a bug in my recent change where the mouse position at the end of
18792 the last test would affect the results of the next test
18794 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
18796 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
18798 Reviewed by Maciej.
18800 http://bugs.webkit.org/show_bug.cgi?id=10182
18801 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
18803 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
18804 Correct the logic to not reload local variable list unless an '=' character is in the expression.
18806 2006-07-31 Darin Adler <darin@apple.com>
18808 Reviewed by Maciej.
18810 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
18811 REGRESSION: failing layout test: fast/events/objc-event-api.html
18813 * DumpRenderTree/DumpRenderTree.m:
18814 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
18815 location in flipped coordinates, since those are the coordinates that we use.
18816 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
18817 inside WebHTMLView.
18819 * DumpRenderTree/EventSendingController.m:
18820 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
18821 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
18822 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
18823 probably worked OK, but this is needed to be correct.
18824 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
18825 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
18826 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
18827 dump the screenY as-is.
18829 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
18831 Reviewed by Darin Adler.
18833 http://bugs.webkit.org/show_bug.cgi?id=10178
18834 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
18836 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
18837 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
18839 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
18841 Reviewed by Darin Adler.
18843 http://bugs.webkit.org/show_bug.cgi?id=10175
18844 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
18846 * Drosera/DebuggerDocument.m:
18847 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
18849 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
18851 Reviewed by Darin Adler.
18853 http://bugs.webkit.org/show_bug.cgi?id=10167
18854 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
18856 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
18857 in keyDown handler.
18859 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
18861 Reviewed by Maciej.
18863 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
18864 http://bugs.webkit.org/show_bug.cgi?id=9686
18866 * Drosera/DebuggerDocument.m:
18867 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
18868 ensure that the server does not try and notify us of events related to the resumption.
18869 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
18870 call through to JavaScript.
18871 * Drosera/debugger.js: Pause debugger when exception is raised.
18873 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
18875 Reviewed by Darin Adler.
18877 - fixes for Linux build
18879 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
18880 * GdkLauncher/gdklauncher.bkl: Tweak comment.
18882 2006-07-24 Dan Waylonis <waylonis@google.com>
18884 Reviewed and tweaked a bit by Darin Adler.
18886 * DumpRenderTree/ObjCPlugin.m:
18887 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
18888 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
18889 "echo:" so it's nice to call from JavaScript.
18890 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
18891 to test a round trip through Objective-C types.
18893 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
18895 Reviewed by Darin Adler.
18897 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
18898 Improve iExploder results parsing
18900 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
18901 in random mode, too.
18903 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
18905 Reviewed by Timothy.
18907 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
18908 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
18910 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
18912 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
18914 Reviewed by Darin Adler.
18916 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
18917 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
18919 Removed "Property changes" that snuck in as part of the "apply patch" process.
18921 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
18923 Reviewed by Darin Adler.
18925 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
18926 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
18928 * Scripts/svn-apply:
18929 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
18931 (patch): Use patch(1) for non-binary additions and deletions.
18932 * Scripts/svn-unapply:
18934 (patch): Use patch(1) for reverting non-binary additions and deletions.
18935 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
18937 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
18939 Reviewed by Timothy.
18941 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
18942 http://bugs.webkit.org/show_bug.cgi?id=9889
18944 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
18945 so, have stepOut pause on the next call to willExecuteStatement rather than second.
18947 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
18949 Reviewed by Darin Adler.
18951 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
18952 Teach svn-create-patch and friends to fix ChangeLog patches
18954 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
18955 * Scripts/svn-create-patch: Ditto.
18956 * Scripts/svn-unapply: Ditto.
18958 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
18960 Reviewed by ggaren.
18962 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
18963 http://bugs.webkit.org/show_bug.cgi?id=9869
18965 * Drosera/DebuggerDocument.m:
18966 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
18968 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
18970 Reviewed by ggaren.
18972 Bug 9863: Drosera needs to show something at launch
18973 http://bugs.webkit.org/show_bug.cgi?id=9863
18975 * Drosera/DebuggerApplication.m:
18976 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
18978 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
18980 Reviewed by Timothy.
18982 Lets Drosera build universal for the nightlies. Right now it is not
18983 possible to build a universal binary on a PPC machine because of a
18984 conflict with the universal SDK.
18986 * BuildSlaveSupport/build-launcher-app:
18987 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
18989 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
18993 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
18994 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
18996 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18997 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
18998 should open a new stream and deliver the data to the current instance.
19000 2006-07-11 Timothy Hatcher <timothy@apple.com>
19002 Reviewed by Darin Adler.
19004 Bug 9598: [Drosera] add a JavaScript evaluator console
19005 http://bugs.webkit.org/show_bug.cgi?id=9598
19007 * Drosera/DebuggerApplication.h:
19008 * Drosera/DebuggerApplication.m:
19009 (-[DebuggerApplication knownServers]):
19010 * Drosera/DebuggerDocument.h:
19011 * Drosera/DebuggerDocument.m:
19012 (-[WebScriptObject evaluateScript:inCallFrame:]):
19013 (-[WebScriptObject showConsole:]):
19014 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
19015 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
19016 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
19017 (-[WebScriptObject webView:createWebViewWithRequest:]):
19018 (-[WebScriptObject webViewShow:]):
19019 (-[WebScriptObject webViewAreToolbarsVisible:]):
19020 (-[WebScriptObject webView:setToolbarsVisible:]):
19021 (-[WebScriptObject webView:setResizable:]):
19022 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
19023 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
19024 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
19025 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
19026 (-[WebScriptObject webView:didFinishLoadForFrame:]):
19027 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
19028 * Drosera/Drosera.xcodeproj/project.pbxproj:
19029 * Drosera/Images/console.png: Added.
19030 * Drosera/console.css: Added.
19031 * Drosera/console.html: Added.
19032 * Drosera/console.js: Added.
19034 2006-07-11 Timothy Hatcher <timothy@apple.com>
19036 Reviewed by a tired Geoff.
19038 Bug 9597: [Drosera] hook up the variables table to show stack variables
19039 http://bugs.webkit.org/show_bug.cgi?id=9597
19041 * Drosera/DebuggerDocument.m:
19042 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
19043 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
19044 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
19045 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
19046 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
19047 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
19048 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
19049 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
19050 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
19051 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
19052 * Drosera/debugger.css:
19053 * Drosera/debugger.html:
19054 * Drosera/debugger.js:
19056 2006-07-10 Tim Omernick <timo@apple.com>
19058 Reviewed by Beth Dakin.
19060 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
19061 Add DOM access test to DumpRenderTree's Netscape plug-in
19063 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
19067 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
19069 Reviewed by Darin Adler.
19071 - http://bugs.webkit.org/show_bug.cgi?id=9839
19072 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
19074 Now track three states: initializing, running, and closed. If we are launched and the previous
19075 state was initializing then we likely just experienced a crash on launch.
19077 * WebKitLauncher/WebKitNightlyEnabler.m:
19078 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
19079 (myApplicationWillTerminate): Update to use new states.
19080 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
19081 initializing as early as practical.
19082 (symbol_lookup): Bring code up to speed with formatting guidelines.
19083 (GDSymbolLookup): Ditto.
19085 2006-07-10 Darin Adler <darin@apple.com>
19087 - try to fix Windows build
19089 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
19090 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
19092 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
19096 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
19097 devenv.com not available in VC++ Express installations
19099 * Scripts/webkitdirs.pm: Backed out previous change.
19101 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
19103 Reviewed by Darin Adler.
19105 - http://bugs.webkit.org/show_bug.cgi?id=9693
19106 svn-apply should set ChangeLog date correctly when applying patches
19108 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
19109 before applying the patch.
19110 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
19112 2006-07-09 Darin Adler <darin@apple.com>
19114 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
19116 2006-07-09 Darin Adler <darin@apple.com>
19118 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
19120 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
19122 - http://bugs.webkit.org/show_bug.cgi?id=7802
19123 devenv.com not available in VC++ Express installations
19125 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
19126 work again. Add VC++ Express check as the fallback.
19128 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
19130 Reviewed by Timothy Hatcher.
19132 - http://bugs.webkit.org/show_bug.cgi?id=7802
19133 devenv.com not available in VC++ Express installations
19135 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
19137 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
19141 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
19142 Patch by coldwinter@katamail.com.
19144 In the congratulations message, "capatibilies" should be "capabilities".
19146 * Scripts/build-webkit:
19148 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
19150 Reviewed by Timothy Hatcher.
19152 - http://bugs.webkit.org/show_bug.cgi?id=9794
19153 Teach run-webkit-tests how to ignore tests with performance improvements
19155 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
19156 feature, and minor clean up.
19158 2006-07-08 Darin Adler <darin@apple.com>
19160 Reviewed by Geoff (well, half of it at least).
19162 - http://bugs.webkit.org/show_bug.cgi?id=9788
19163 storage leaks in Objective-C tests
19165 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
19166 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
19167 Add a release to fix a storage leak.
19169 2006-07-08 Darin Adler <darin@apple.com>
19171 * Scripts/do-webcore-rename: A few more.
19173 2006-07-08 Darin Adler <darin@apple.com>
19175 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
19177 2006-07-04 Maciej Stachowiak <mjs@apple.com>
19179 Reviewed by Darin Adler.
19181 http://bugs.webkit.org/show_bug.cgi?id=9734
19182 - add support for dumping non-HTML as text - in this case use textContent
19183 instead of innerText
19185 * DumpRenderTree/DumpRenderTree.m:
19188 2006-07-02 Timothy Hatcher <timothy@apple.com>
19192 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
19193 http://bugs.webkit.org/show_bug.cgi?id=9631
19195 Adds step over and step out. Along with a little code cleanup
19196 that was minor enough to piggyback on this fix.
19198 * Drosera/DebuggerDocument.h:
19199 * Drosera/DebuggerDocument.m:
19200 (-[DebuggerDocument stepOver:]):
19201 (-[DebuggerDocument stepOut:]):
19202 (-[DebuggerDocument windowDidLoad]):
19203 (-[DebuggerDocument windowWillClose:]):
19204 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
19205 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
19206 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
19207 (-[DebuggerDocument validateUserInterfaceItem:]):
19208 * Drosera/Drosera.xcodeproj/project.pbxproj:
19209 * Drosera/debugger.html:
19210 * Drosera/debugger.js:
19211 * Drosera/viewer.css:
19213 2006-07-02 Timothy Hatcher <timothy@apple.com>
19217 Bug 9628: [Drosera] Split Views acting oddly
19218 http://bugs.webkit.org/show_bug.cgi?id=9628
19220 Only update the last X or Y coordinate if the new
19221 size was not constrained. Also adds the resize cursor to
19222 the body during the drag incase there is a constrained
19223 over drag off of the resizer element.
19225 * Drosera/debugger.js:
19227 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
19229 Reviewed by Alexey Proskuryakov.
19231 Bug 9692: Warning about Safari extensions on every launch is obnoxious
19232 http://bugs.webkit.org/show_bug.cgi?id=9692
19234 * WebKitLauncher/WebKitNightlyEnabler.m:
19235 (myApplicationWillTerminate): Note that we are exiting cleanly.
19236 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
19237 to exit cleanly on our last invocation. This doesn't play nicely with
19238 multiple concurrent instances of WebKit.app so it can be disabled via
19239 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
19241 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
19243 Reviewed by Alexey Proskuryakov.
19245 Bug 9654: Refresh Loop when accessing feed URLs
19246 http://bugs.webkit.org/show_bug.cgi?id=9654
19248 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
19250 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
19252 Reviewed by Timothy Hatcher.
19254 Bug 9689: Nightly builds should warn a user about potential problems when using
19255 "Safari extensions"
19256 http://bugs.webkit.org/show_bug.cgi?id=9689
19258 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
19259 * WebKitLauncher/WebKitNightlyEnabler.m:
19260 (myBundleDidLoad): Keep track of if any bundles that are loaded.
19261 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
19262 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
19263 NSApplicationWillFinishLaunchingNotification notifications so that we can
19264 track bundle loads and notify the user at launch completion.
19266 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
19268 Reviewed by Darin Adler.
19270 - first check-in of a Gdk shell for testing WebKit
19272 * GdkLauncher: Added.
19274 2006-06-29 Timothy Hatcher <timothy@apple.com>
19276 Reviewed by Darin Adler.
19278 Need to call window close so WebView tears-down completly.
19280 * DumpRenderTree/DumpRenderTree.m:
19281 (main): call [window close]
19283 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
19285 Reviewed by Darin Adler.
19287 Bug 9615: Buildbot configuration should be in SVN repository
19288 http://bugs.webkit.org/show_bug.cgi?id=9615
19290 Import BuildBot configuration files as used by build.webkit.org.
19291 auth.py has been stubbed out so that slave passwords are not disclosed.
19293 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
19294 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
19295 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
19296 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
19297 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
19298 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
19299 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
19300 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
19301 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
19302 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
19303 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
19304 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
19306 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
19308 Reviewed by Darin Adler.
19310 Bug 9614: Nightly builds should notify user if a newer build is available
19311 http://bugs.webkit.org/show_bug.cgi?id=9614
19313 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
19314 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
19315 script so it can keep track of the latest revision.
19316 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
19317 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
19318 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
19319 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
19320 the nightly start page.
19322 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
19324 Reviewed by Darin Adler.
19326 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
19327 http://bugs.webkit.org/show_bug.cgi?id=9579
19329 Report screenY values as (height of zero screen - screenY)
19331 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
19333 2006-06-25 Timothy Hatcher <timothy@apple.com>
19337 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
19338 http://bugs.webkit.org/show_bug.cgi?id=9591
19340 Makes breakpoints dragable. If dragged off the gutter they are deleted.
19342 * Drosera/debugger.js:
19343 * Drosera/viewer.css:
19345 2006-06-25 Timothy Hatcher <timothy@apple.com>
19347 Reviewed by Darin Adler.
19349 Bug 9568: assertion failure in Safari after quitting Drosera
19350 http://bugs.webkit.org/show_bug.cgi?id=9568
19352 Call switchToServerNamed:nil and not removeLister to make sure
19353 the server object is set to nil to prevent further removeListener calls.
19355 * Drosera/DebuggerDocument.m:
19356 (-[DebuggerDocument applicationTerminating:]):
19358 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
19360 Reviewed by Darin Adler.
19362 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
19363 that the directory is not empty instead of reading in every single file and directory first,
19364 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
19367 2006-06-25 Darin Adler <darin@apple.com>
19369 * Scripts/svn-apply: Tweak comments.
19370 * Scripts/svn-create-patch: Ditto.
19371 * Scripts/svn-unapply: Ditto.
19373 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
19375 Formatting fix per Bug 9571 Comment #2.
19377 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
19379 * Scripts/svn-apply: Formatting fix.
19381 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
19383 Reviewed by Darin Adler.
19385 http://bugs.webkit.org/show_bug.cgi?id=9571
19386 Teach svn-apply and svn-unapply to handle directory adds and removes better
19388 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
19389 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
19391 2006-06-25 Timothy Hatcher <timothy@apple.com>
19393 Reviewed by Darin Adler.
19395 Bug 9574: Drosera should show inline scripts within the original HTML
19396 http://bugs.webkit.org/show_bug.cgi?id=9574
19398 Refactor the JavaScript code to have a distinction between files
19399 and scripts. Show the script in the context of the HTML file if
19400 it's URL is the same as the frame's main resource. At the time of
19401 the disParseScript callback the main resource might not be completely
19402 loaded, but Drosera needs to show whatever we have at the time. Once
19403 the main resource is finished, update the file source and reload the file.
19405 * Drosera/DebuggerDocument.m:
19406 (-[DebuggerDocument pause]):
19407 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
19408 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
19409 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
19410 * Drosera/debugger.css:
19411 * Drosera/debugger.js:
19413 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
19415 Reviewed by Darin Adler.
19417 http://bugs.webkit.org/show_bug.cgi?id=9570
19418 Teach prepare-ChangeLog to operate on a list of files or directories
19420 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
19421 * Scripts/svn-create-patch: Code refactoring.
19423 2006-06-24 James G. Speth <speth@end.com>
19425 Reviewed by Darin Adler.
19427 - http://bugs.webkit.org/show_bug.cgi?id=8843
19428 add a way to build Objective-C test cases in HTML
19430 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
19431 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
19432 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
19435 * DumpRenderTree/ObjCPlugin.h:
19436 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
19437 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
19438 (+[ObjCPlugin webScriptNameForSelector:]):
19439 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
19440 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
19441 (+[NSObject allowsScriptsFullAccess]):
19442 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
19443 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
19444 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
19445 (+[JSObjC webScriptNameForSelector:]):
19446 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
19447 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
19448 (-[JSObjC log:]): access to NSLog function
19449 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
19450 (-[JSObjC classOfObject:]):
19451 (-[JSObjC classNameOfObject:]):
19453 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
19455 Reviewed by Timothy.
19457 * DrawTest/Info.plist: Added copyright statement.
19458 * Drosera/Info.plist: Ditto.
19459 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
19460 * WebKitLauncher/Info.plist: Ditto.
19462 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
19466 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
19467 devenv.com not available in VC++ Express installations
19469 * Scripts/webkitdirs.pm: Backed out previous change.
19471 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
19473 Reviewed by Maciej.
19475 - http://bugs.webkit.org/show_bug.cgi?id=7802
19476 devenv.com not available in VC++ Express installations
19478 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
19480 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
19482 Reviewed by Darin Adler.
19484 - http://bugs.webkit.org/show_bug.cgi?id=9564
19485 A bunch of fixes to run-webkit-httpd
19487 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
19488 127.0.0.1. Useful for testing with WinIE running on another machine;
19489 - don't call checkFrameworks() - we do not need a built WebKit here;
19490 - changed tabs to spaces;
19491 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
19492 interactive mode, they were a hassle when testing with several browsers, as one
19493 had to wait for connection to expire);
19494 - remove httpd.pid when done, so that Apache doesn't complain next time.
19496 * Scripts/run-webkit-httpd:
19498 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
19500 Reviewed by ggaren, landed by ap.
19502 - http://bugs.webkit.org/show_bug.cgi?id=9181
19503 Complete DOMUIEvent Obj-C API to reflect UIEvent
19505 Add function to enable logging of all events of one DOM node to stdout.
19507 * DumpRenderTree/EventSendingController.h:
19508 * DumpRenderTree/EventSendingController.m:
19509 (+[EventSendingController initialize]):
19510 (+[EventSendingController isSelectorExcludedFromWebScript:]):
19511 (+[EventSendingController webScriptNameForSelector:]):
19512 (-[EventSendingController enableDOMUIEventLogging:]):
19513 (-[EventSendingController handleEvent:]):
19515 2006-06-23 Kevin Decker <kdecker@apple.com>
19517 Reviewed by Tim Hatcher.
19519 - Made column headers in Drosera resizable.
19521 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
19523 Reviewed by ggaren.
19525 - see http://bugs.webkit.org/show_bug.cgi?id=9539
19526 Another case error preventing build
19528 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
19530 2006-06-22 Timothy Hatcher <timothy@apple.com>
19534 Adds a native toolbar to Drosera to be a good citizen.
19535 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
19536 Fixes a dragging bug from an earlier fix to the divider code.
19537 Fixes some poor indenting in debugger.js.
19539 * Drosera/DebuggerDocument.h:
19540 * Drosera/DebuggerDocument.m:
19541 (-[DebuggerDocument stepInto]):
19542 (-[DebuggerDocument pause:]):
19543 (-[DebuggerDocument resume:]):
19544 (-[DebuggerDocument stepInto:]):
19545 (-[DebuggerDocument windowDidLoad]):
19546 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
19547 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
19548 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
19549 (-[DebuggerDocument validateUserInterfaceItem:]):
19550 * Drosera/English.lproj/MainMenu.nib/classes.nib:
19551 * Drosera/English.lproj/MainMenu.nib/info.nib:
19552 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
19553 * Drosera/debugger.css:
19554 * Drosera/debugger.html:
19555 * Drosera/debugger.js:
19556 * Drosera/viewer.html:
19558 2006-06-22 Kevin Decker <kdecker@apple.com>
19560 Reviewed by Anders.
19562 - Added pressed column header image.
19563 - Made column headers behave more like Xcode.
19565 2006-06-22 Timothy Hatcher <timothy@apple.com>
19567 Reviewed by Kevin Decker.
19569 Code clean up. Adds the stackframe and makes only the body
19570 of the tables scrollable keeping the header visible.
19571 Shows the current function stack when paused or stepping.
19573 * Drosera/DebuggerApplication.m:
19574 (-[DebuggerApplication awakeFromNib]):
19575 (-[DebuggerApplication numberOfRowsInTableView:]):
19576 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
19577 * Drosera/DebuggerDocument.h:
19578 * Drosera/DebuggerDocument.m:
19579 (-[DebuggerDocument dealloc]):
19580 (-[DebuggerDocument currentFrame]):
19581 (-[DebuggerDocument currentFrameFunctionName]):
19582 (-[DebuggerDocument currentFunctionStack]):
19583 (-[DebuggerDocument log:]):
19584 (-[DebuggerDocument windowWillClose:]):
19585 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
19586 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
19587 * Drosera/Drosera.xcodeproj/project.pbxproj:
19588 * Drosera/debugger.css:
19589 * Drosera/debugger.html:
19590 * Drosera/debugger.js:
19592 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
19594 Reviewed by Anders.
19596 Teach run-webkit-httpd to properly look for webkitdirs.pm.
19598 * Scripts/run-webkit-httpd:
19600 2006-06-22 Kevin Decker <kdecker@apple.com>
19602 Reviewed by Tim Hatcher.
19604 - More progress toward Javascript Debugger.
19605 - Added some new images to the project.
19607 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
19609 Reviewed by Anders.
19611 - http://bugs.webkit.org/show_bug.cgi?id=9516
19612 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
19614 * Scripts/run-webkit-httpd: Added.
19616 2006-06-20 Timothy Hatcher <timothy@apple.com>
19620 Builds Drosera and a launcher to include with the nightly.
19622 * BuildSlaveSupport/build-launcher-app:
19623 * BuildSlaveSupport/build-launcher-dmg:
19624 * Drosera/Drosera.xcodeproj/project.pbxproj:
19625 * Drosera/Info.plist:
19626 * Drosera/LauncherInfo.plist: Added.
19627 * Drosera/launcher.m: Added.
19628 (displayErrorAndQuit):
19629 (checkMacOSXVersion):
19632 * Scripts/build-drosera
19633 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
19634 * WebKitLauncher/main.m:
19637 2006-06-20 Timothy Hatcher <timothy@apple.com>
19639 Reviewed by Darin Adler.
19641 Adds a JavaScript debugger, called Drosera. Named after
19642 a genus of bug eating plants.
19644 * Drosera/DebuggerApplication.h: Added.
19645 * Drosera/DebuggerApplication.m: Added.
19646 (-[DebuggerApplication applicationDidFinishLaunching:]):
19647 (-[DebuggerApplication serverLoaded:]):
19648 (-[DebuggerApplication serverUnloaded:]):
19649 (-[DebuggerApplication awakeFromNib]):
19650 (-[DebuggerApplication showAttachPanel:]):
19651 (-[DebuggerApplication attach:]):
19652 (-[DebuggerApplication numberOfRowsInTableView:]):
19653 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
19654 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
19655 (-[DebuggerApplication tableViewSelectionDidChange:]):
19656 * Drosera/DebuggerDocument.h: Added.
19657 * Drosera/DebuggerDocument.m: Added.
19658 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
19659 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
19660 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
19661 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
19662 (-[DebuggerDocument initWithServerName:]):
19663 (-[DebuggerDocument windowWillClose:]):
19664 (-[DebuggerDocument dealloc]):
19665 (-[DebuggerDocument isPaused]):
19666 (-[DebuggerDocument pause]):
19667 (-[DebuggerDocument resume]):
19668 (-[DebuggerDocument step]):
19669 (-[DebuggerDocument windowNibName]):
19670 (-[DebuggerDocument windowDidLoad]):
19671 (-[DebuggerDocument switchToServerNamed:]):
19672 (-[DebuggerDocument applicationTerminating:]):
19673 (-[DebuggerDocument serverConnectionDidDie:]):
19674 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
19675 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
19676 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
19677 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
19678 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
19679 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
19680 * Drosera/Drosera.pch: Added.
19681 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
19682 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
19683 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
19684 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
19685 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
19686 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
19687 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
19688 * Drosera/Images/breakPoint.tif: Added.
19689 * Drosera/Images/breakPointDisabled.tif: Added.
19690 * Drosera/Images/continue.tif: Added.
19691 * Drosera/Images/finishFunction.tif: Added.
19692 * Drosera/Images/glossyFooterFill.tif: Added.
19693 * Drosera/Images/glossyHeader.png: Added.
19694 * Drosera/Images/gradientBackground.png: Added.
19695 * Drosera/Images/gutter.png: Added.
19696 * Drosera/Images/navLeftDisabled.png: Added.
19697 * Drosera/Images/navLeftNormal.png: Added.
19698 * Drosera/Images/navLeftPressed.png: Added.
19699 * Drosera/Images/navRightDisabled.png: Added.
19700 * Drosera/Images/navRightNormal.png: Added.
19701 * Drosera/Images/navRightPressed.png: Added.
19702 * Drosera/Images/pause.tif: Added.
19703 * Drosera/Images/popUpArrows.png: Added.
19704 * Drosera/Images/programCounter.tif: Added.
19705 * Drosera/Images/programCounterBreakPoint.tif: Added.
19706 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
19707 * Drosera/Images/run.tif: Added.
19708 * Drosera/Images/splitterBar.tif: Added.
19709 * Drosera/Images/splitterDimple.tif: Added.
19710 * Drosera/Images/step.tif: Added.
19711 * Drosera/Images/stepOver.tif: Added.
19712 * Drosera/Images/stop.tif: Added.
19713 * Drosera/Images/toolbarBackground.png: Added.
19714 * Drosera/Info.plist: Added.
19715 * Drosera/debugger.css: Added.
19716 * Drosera/debugger.html: Added.
19717 * Drosera/debugger.js: Added.
19718 * Drosera/main.m: Added.
19720 * Drosera/viewer.css: Added.
19721 * Drosera/viewer.html: Added.
19723 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
19727 http://bugs.webkit.org/show_bug.cgi?id=9485
19728 Teach svn-apply and svn-unapply to use full path names
19730 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
19731 * Scripts/svn-unapply: Ditto.
19733 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
19735 Reviewed by ggaren.
19737 - http://bugs.webkit.org/show_bug.cgi?id=9150
19738 DumpRenderTree should be able to keep URL history during runs
19740 Test: LayoutTests/fast/history/clicked-link-is-visited.html
19742 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
19743 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
19744 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
19745 it is currently nil since keepWebHistory() might be called more than once incidentally
19747 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
19748 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
19750 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
19754 http://bugs.webkit.org/show_bug.cgi?id=9395
19755 Make prepare-ChangeLog faster
19757 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
19758 then save the diff output for reuse. Keep a status variable if changes are made to
19759 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
19760 WebCore is updated. Added -h|--help command-line switch and help message. Move test
19761 for no changed files closer to the beginning of the program.
19763 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
19765 Reviewed and landed by ap.
19767 - make DumpRenderTree build
19769 * DumpRenderTree/DumpRenderTree.m:
19770 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
19771 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
19772 (-[LayoutTestController setWindowIsKey:]): Ditto.
19773 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
19775 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
19777 Reviewed by Darin, landed by Geoff.
19779 http://bugs.webkit.org/show_bug.cgi?id=9350
19780 Use pathcmp() when sorting paths in svn-create-patch
19782 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
19783 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
19784 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
19785 switch and printUsage() subroutine.
19787 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
19791 http://bugs.webkit.org/show_bug.cgi?id=9322
19792 Teach svn-create-patch to sort its output
19794 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
19795 by text files first, then by binary files.
19797 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
19801 http://bugs.webkit.org/show_bug.cgi?id=9299
19802 Teach svn-create-patch and friends to work with binary files
19804 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
19805 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
19806 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
19808 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
19810 Reviewed by Maciej.
19812 http://bugs.webkit.org/show_bug.cgi?id=9296
19813 Performance improvement for svn-create-patch
19815 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
19817 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
19821 http://bugs.webkit.org/show_bug.cgi?id=9290
19822 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
19824 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
19825 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
19827 2006-06-03 Steve Falkenburg <sfalken@apple.com>
19831 Switch Spinneret to new hosting mechanism
19833 * Spinneret/Spinneret.sln:
19834 * Spinneret/Spinneret/Spinneret.cpp:
19835 (SpinneretWebHost::updateAddressBar):
19836 (SpinneretWebHost::QueryInterface):
19837 (SpinneretWebHost::AddRef):
19838 (SpinneretWebHost::Release):
19845 * Spinneret/Spinneret/Spinneret.h:
19846 (SpinneretWebHost::didStartProvisionalLoadForFrame):
19847 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
19848 (SpinneretWebHost::didFailProvisionalLoadWithError):
19849 (SpinneretWebHost::didCommitLoadForFrame):
19850 (SpinneretWebHost::didReceiveTitle):
19851 (SpinneretWebHost::didReceiveIcon):
19852 (SpinneretWebHost::didFinishLoadForFrame):
19853 (SpinneretWebHost::didFailLoadWithError):
19854 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
19855 (SpinneretWebHost::willPerformClientRedirectToURL):
19856 (SpinneretWebHost::didCancelClientRedirectForFrame):
19857 (SpinneretWebHost::willCloseFrame):
19858 (SpinneretWebHost::windowScriptObjectAvailable):
19859 * Spinneret/Spinneret/Spinneret.vcproj:
19861 2006-06-02 Steve Falkenburg <sfalken@apple.com>
19865 Updated build script
19867 * Scripts/build-webkit:
19869 2006-06-01 Anders Carlsson <acarlsson@apple.com>
19871 Reviewed by Darin Adler.
19873 * DumpRenderTree/DumpRenderTree.m:
19874 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19875 (-[LayoutTestController clearBackForwardList]):
19876 Add clearBackForwardList function to layoutTestController
19878 2006-06-01 Anders Carlsson <acarlsson@apple.com>
19880 Reviewed by Darin Adler.
19882 http://bugs.webkit.org/show_bug.cgi?id=8996
19883 slow-utf8-text layout test case failing (no longer deterministic?)
19885 * DumpRenderTree/DumpRenderTree.m:
19887 Dump as text when the response MIME type is text/plain
19889 2006-05-26 Steve Falkenburg <sfalken@apple.com>
19893 * Spinneret/Spinneret.sln:
19894 * Spinneret/Spinneret/Spinneret.vcproj:
19896 2006-05-24 Geoffrey Garen <ggaren@apple.com>
19900 Added 'GCController' to DRT to support garbage collection layout tests.
19902 GCController.collect() and GCController.collectOnAlternateThread() do
19903 what you would expect. The latter takes a boolean argument sepcifying
19904 whether to wait for garbage collection to finish before continuing to
19907 * DumpRenderTree/DumpRenderTree.m:
19908 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19909 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19910 * DumpRenderTree/GCController.h: Added.
19911 * DumpRenderTree/GCController.mm: Added.
19912 (+[GCController isSelectorExcludedFromWebScript:]):
19913 (+[GCController webScriptNameForSelector:]):
19914 (-[GCController collect]):
19915 (-[GCController collectOnAlternateThread:]):
19917 2006-05-23 John Sullivan <sullivan@apple.com>
19919 Reviewed by Maciej.
19921 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19922 Newer Xcode removed some obsolete cruft
19924 * DumpRenderTree/TextInputController.m:
19925 (-[TextInputController textInput]):
19926 added (id) cast to make newer compiler happy
19928 2006-05-22 Steve Falkenburg <sfalken@apple.com>
19934 * Spinneret/Spinneret.sln:
19936 2006-05-18 Darin Adler <darin@apple.com>
19938 - try to fix no-SVG, no-XPATH build, again
19940 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
19942 2006-05-18 Darin Adler <darin@apple.com>
19944 - try to fix no-SVG, no-XPATH build
19946 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
19947 since the former is what's used in the WebCore project now.
19949 2006-05-17 Darin Adler <darin@apple.com>
19951 * Scripts/do-webcore-rename: Some more future renames.
19953 2006-05-16 Adele Peterson <adele@apple.com>
19957 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
19958 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
19960 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
19962 * Scripts/install-unix-extras: Changed to be executable and removed
19963 text in the file generated by "svn diff".
19964 * Scripts/regenerate-makefiles: Ditto.
19966 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
19968 Reviewed by Darin, landed by ap.
19970 - http://bugs.webkit.org/show_bug.cgi?id=8528
19971 Bakefiles (and generated Makefiles) for wx and gdk ports
19973 * Scripts/install-unix-extras: Added.
19974 * Scripts/regenerate-makefiles: Added.
19976 2006-05-10 Steve Falkenburg <sfalken@apple.com>
19978 Reviewed by Maciej.
19980 Fix registry usage from perl script. Turns out libwin32's
19981 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
19983 * Scripts/install-win-extras:
19985 2006-05-09 Steve Falkenburg <sfalken@apple.com>
19988 Add load ended callback.
19992 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
19993 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
19994 * Spinneret/Spinneret/Spinneret.cpp:
19995 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
19996 (_tWinMain): Load built-in test content here instead of in lower-level code.
19997 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
19999 2006-05-08 Maciej Stachowiak <mjs@apple.com>
20001 Reviewed by Anders.
20003 * Scripts/extract-localizable-strings: Update for correct names of log macros.
20005 2006-05-09 Anders Carlsson <acarlsson@apple.com>
20007 Reviewed by Maciej.
20009 * Scripts/check-dom-results:
20010 Add XPath to the list of results.
20012 2006-05-08 Darin Adler <darin@apple.com>
20014 * Scripts/do-webcore-rename: Add another rename.
20016 2006-05-01 Steve Falkenburg <sfalken@apple.com>
20020 Spinneret now links against the new separate lib.
20022 * Spinneret/Spinneret.sln:
20023 * Spinneret/Spinneret/Spinneret.cpp:
20024 (SpinneretWebHost::updateLocationBar):
20026 * Spinneret/Spinneret/Spinneret.h:
20027 * Spinneret/Spinneret/Spinneret.vcproj:
20028 * Spinneret/Spinneret/WebFrame.cpp: Removed.
20029 * Spinneret/Spinneret/WebFrame.h: Removed.
20030 * Spinneret/Spinneret/WebView.cpp: Removed.
20031 * Spinneret/Spinneret/WebView.h: Removed.
20033 2006-04-28 Steve Falkenburg <sfalken@apple.com>
20035 Reviewed by kdecker
20037 Modify error reporting registry keys to disable Dr. Watson.
20038 This allows Javascript test cases to complete without blocking UI.
20040 * Scripts/install-win-extras:
20041 - Use Perl Win32 registry functions to disable blocking UI
20044 2006-04-28 Steve Falkenburg <sfalken@apple.com>
20048 Turned off C++ exceptions, fixed memory leaks
20050 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
20051 * Spinneret/Spinneret.sln:
20052 * Spinneret/Spinneret/Spinneret.cpp:
20054 * Spinneret/Spinneret/Spinneret.vcproj:
20055 * Spinneret/Spinneret/WebFrame.cpp:
20056 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
20057 (WebKit::WebFrame::WebFrame):
20058 (WebKit::WebFrame::~WebFrame):
20059 (WebKit::WebFrame::impl):
20060 * Spinneret/Spinneret/WebFrame.h:
20061 * Spinneret/Spinneret/WebView.cpp:
20062 * Spinneret/Spinneret/stdafx.h:
20064 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
20066 Reviewed by Darin Adler.
20068 - http://bugs.webkit.org/show_bug.cgi?id=8633
20069 DumpRenderTree should reset the URL cache
20071 * DumpRenderTree/DumpRenderTree.m:
20072 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
20074 2006-04-28 Eric Seidel <eseidel@apple.com>
20076 Reviewed by andersca.
20078 * Scripts/do-webcore-rename: rename KCanvasContainer too
20079 * Scripts/run-webkit-tests: output total time
20081 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
20083 Reviewed by hyatt. Landed by eseidel.
20085 - http://bugs.webkit.org/show_bug.cgi?id=8549
20086 Enable detection of excessive repainting with DumpRenderTree
20088 * DumpRenderTree/DumpRenderTree.m:
20089 (-[LayoutTestController display]):
20091 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
20093 Reviewed by Darin Adler.
20095 - http://bugs.webkit.org/show_bug.cgi?id=6905
20096 DumpRenderTree needs a way to force painting (to allow invalidation tests)
20098 * DumpRenderTree/DumpRenderTree.m:
20099 (dump): If display() has been called during the test, grab the pixels from
20100 the view, after letting it repaint invalidated rects.
20101 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
20102 (-[LayoutTestController display]): Added. Calls -display on the view
20103 and changes the subsequent behavior of dump().
20106 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
20108 Reviewed by Maciej.
20110 - http://bugs.webkit.org/show_bug.cgi?id=8532
20111 Update iExploder to 1.3.2
20113 Test case numbers are not compatible with iExploder 1.2.
20115 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
20117 * iExploder/CHANGELOG.txt: Added.
20118 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
20119 * iExploder/README.txt: Added some performance hints.
20121 * iExploder/htdocs/config.rb: Added.
20122 * iExploder/htdocs/cssproperties.in:
20123 * iExploder/htdocs/cssvalues.in:
20124 * iExploder/htdocs/htmlattrs.in:
20125 * iExploder/htdocs/htmltags.in:
20126 * iExploder/htdocs/iexploder.cgi:
20127 - Updated to support the latest HTML & CSS tags, properties, and values from both
20128 the WebKit and Mozilla CVS tree
20129 - cssproperties.in cleanup
20130 - Modularized the code a little bit.
20131 - Fix subtest bug that was causing last 5 tags to be missed
20132 - new subtest algorithm to deal better with larger tag counts
20133 - default HTML_MAX_TAGS increased from 32 to 96
20135 * iExploder/htdocs/index.html: Updated version to 1.3.2.
20136 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
20137 alternative to our run-iexploder-tests.
20138 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
20139 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
20140 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
20142 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
20144 - commit Scripts/run-mangleme-tests (missed it the previous time).
20146 2006-04-18 Darin Adler <darin@apple.com>
20148 - attempt to fix Windows buildbot
20150 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
20151 We need a better long-term solution for this.
20153 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
20155 Reviewed by Darin Adler.
20157 - http://bugs.webkit.org/show_bug.cgi?id=8444
20158 Integrate mangleme test script.
20160 Works in a similar way to run-iexploder-tests.
20162 * Scripts/run-mangleme-tests: Added.
20164 * mangleme/Makefile: Added.
20165 * mangleme/README: Added.
20166 * mangleme/mangle.cgi.c: Added.
20167 * mangleme/remangle.cgi.c: Added.
20168 * mangleme/tags.h: Added.
20170 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
20172 Reviewed by Darin Adler.
20174 - http://bugs.webkit.org/show_bug.cgi?id=8443
20175 An easier way to save iExploder tests.
20177 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
20179 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
20181 Reviewed by Darin Adler.
20183 - http://bugs.webkit.org/show_bug.cgi?id=8421
20184 Integrate iExploder test script.
20186 This script generates artificially mangled HTML documents, to test that the browser
20187 doesn't crash when handling ill-formed code.
20190 run-iexploder-tests Open an interactive test page in Safari+ToT.
20191 run-iexploder-tests nnnnn Open test #nnnnn.
20193 Command line options:
20194 --guard-malloc (-g) Use Guard Malloc.
20195 --port=nnnn Run Apache on port nnnn (default is 8000).
20197 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
20198 (thus, Apache is still running), e.g.:
20199 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
20201 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
20203 * Scripts/run-iexploder-tests: Added.
20204 * iExploder: Added.
20205 * iExploder/LICENSE.txt: Added.
20206 * iExploder/README.txt: Added.
20207 * iExploder/htdocs: Added.
20208 * iExploder/htdocs/cssproperties.in: Added.
20209 * iExploder/htdocs/cssvalues.in: Added.
20210 * iExploder/htdocs/htmlattrs.in: Added.
20211 * iExploder/htdocs/htmltags.in: Added.
20212 * iExploder/htdocs/htmlvalues.in: Added.
20213 * iExploder/htdocs/iexploder.cgi: Added.
20214 * iExploder/htdocs/index.html: Added.
20215 * iExploder/tools: Added.
20216 * iExploder/tools/lasthit.rb: Added.
20217 * iExploder/tools/osx_last_crash.rb: Added.
20219 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
20221 Reviewed by Darin Adler.
20223 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
20224 Restore color profile after a crash
20226 * DumpRenderTree/DumpRenderTree.m:
20227 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
20228 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
20229 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
20230 and this code may change significantly.
20232 (main): Install crashHandler.
20234 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
20235 (CFStringGetCStringPtr should NEVER EVER be used!).
20237 2006-04-15 Darin Adler <darin@apple.com>
20241 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
20242 Seems xmlsoft.org's HTTP no longer has what we need.
20244 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
20246 Rubber-stamped by Darin Adler.
20248 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
20249 upload-disk-image stage on buildslaves fail with "No space left on device"
20251 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
20252 'hdiutil create'. This creates the initial disk image based on the size of
20253 the source folder, and copies the contents to the new disk image. The file
20254 extension on the temporary uncompressed disk image has also been altered from
20255 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
20256 the extension is not ".dmg".
20258 2006-04-12 Eric Seidel <eseidel@apple.com>
20262 * Scripts/update-webkit: Make this return non-zero when svn fails.
20264 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
20266 Reviewed by Darin Adler.
20268 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
20269 Make HTTP tests using Perl use .pl extension
20271 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
20272 removed support for .text. Reduced the number of places that explicitly list supported
20273 extensions. Some of the changes come from bug 8121, the patch for which got landed only
20276 2006-04-06 Darin Adler <darin@apple.com>
20278 Changes requested by Mark Rowe.
20280 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
20281 trash at the end of the file.
20282 * BuildSlaveSupport/build-launcher-dmg: Ditto.
20284 * WebKitLauncher/main.m: Removed trash at end of file.
20286 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
20287 to make name match.
20289 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
20291 Reviewed by Darin, landed by Maciej.
20293 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
20294 and bundles the WebKit frameworks inside it.
20295 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
20296 containing WebKit.app.
20297 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
20298 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
20299 number of the SVN working copy.
20300 * WebKitLauncher: Added.
20301 * WebKitLauncher/Info.plist: Added.
20302 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
20303 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
20304 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
20305 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
20306 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
20307 the nightly launcher.
20308 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
20309 It sets up the environment to have Safari use the bundled frameworks
20310 and load the WebKitNightlyEnabler dylib before exec'ing Safari
20311 * WebKitLauncher/start.html: Added.
20312 * WebKitLauncher/webkit.icns: Added.
20314 2006-04-05 Darin Adler <darin@apple.com>
20316 Reviewed by Maciej.
20318 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
20319 are allowed to have global initializers.
20321 2006-04-05 Geoffrey Garen <ggaren@apple.com>
20323 Reviewed by OMG BETH
20325 * Scripts/run-testkjs:
20326 - pipe STDERR to /dev/null by default; new --verbose option overrides
20328 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
20329 - output run command in a format that can be copied and pasted into the
20330 terminal to run manually
20332 2006-04-03 Justin Garcia <justin.garcia@apple.com>
20334 Reviewed by harrison
20336 <http://bugs.webkit.org/show_bug.cgi?id=7567>
20337 A drag and drop in DumpRenderTree copies the source, instead of cutting it
20339 Tell the source that the drag is over after the drag is performed, not before.
20341 * DumpRenderTree/EventSendingController.m:
20342 (-[EventSendingController mouseUp]):
20344 2006-04-01 Darin Adler <darin@apple.com>
20346 Reviewed by Justin.
20348 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
20349 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
20350 elements in that array are not strings.
20352 2006-03-31 Darin Adler <darin@apple.com>
20354 Reviewed by John Sullivan.
20356 - added a "--reset-results" option to run-webkit-tests so you can reset
20357 the results without first deleting expected results
20358 - <rdar://problem/4185878> add scroll position to dumpRenderTree
20360 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
20361 more logical. Moved all the subroutines to the end of the file. Added a
20364 * DumpRenderTree/DumpRenderTree.m:
20365 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
20366 to generate new output for all tests it runs.
20367 (dump): Dump the scroll position if it's non-zero. Always dump the image when
20368 the --dump-all-pixels option is passed. Also tightened up the image dumping
20369 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
20370 with code to save and restore the context.
20372 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
20373 * DumpRenderTree/EventSendingController.m: Added now-needed include.
20375 2006-03-30 Tim Omernick <timo@apple.com>
20377 * DumpRenderTree/ObjCPlugin.h:
20379 * DumpRenderTree/ObjCPlugin.m: ditto
20380 * DumpRenderTree/ObjCPluginFunction.h: ditto
20381 * DumpRenderTree/ObjCPluginFunction.m: ditto
20383 2006-03-30 Tim Omernick <timo@apple.com>
20387 * DumpRenderTree/DumpRenderTree.m:
20388 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
20389 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
20390 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
20391 exposed to JS as a callable object.
20393 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20394 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
20396 * DumpRenderTree/ObjCPlugin.h: Added.
20397 * DumpRenderTree/ObjCPlugin.m: Added.
20398 * DumpRenderTree/ObjCPluginFunction.h: Added.
20399 * DumpRenderTree/ObjCPluginFunction.m: Added.
20401 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
20402 Added a new method, "removeDefaultMethod", which removes the default method from the
20403 plugin object's class. The effect is that the plugin object is mutated from a callable
20404 function to a simple object.
20406 Handle "removeDefaultMethod".
20407 (pluginInvokeDefault):
20408 Made the default method actually do something (return 1).
20410 2006-03-30 Eric Seidel <eseidel@apple.com>
20412 Reviewed by ggaren.
20414 Remove WebFrame::viewImpl(), setMainFrame on page.
20416 * Spinneret/Spinneret/WebFrame.cpp:
20417 (WebKit::WebFrame::WebFrame):
20418 * Spinneret/Spinneret/WebFrame.h:
20419 * Spinneret/Spinneret/WebView.cpp:
20420 (WebKit::WebView::mouseMoved):
20421 (WebKit::WebView::mouseDown):
20422 (WebKit::WebView::mouseUp):
20423 (WebKit::WebView::mouseDoubleClick):
20424 (WebKit::WebViewWndProc):
20426 2006-03-30 Eric Seidel <eseidel@apple.com>
20430 Fix html editing input & basic form submission.
20432 * Spinneret/Spinneret/WebFrame.cpp:
20433 (WebKit::WebFrame::submitForm):
20434 (WebKit::WebFrame::loadURL):
20435 * Spinneret/Spinneret/WebFrame.h:
20436 * Spinneret/Spinneret/WebView.cpp:
20437 (WebKit::WebView::keyPress):
20438 (WebKit::WebViewWndProc):
20440 2006-03-28 Justin Garcia <justin.garcia@apple.com>
20444 <rdar://problem/4402375>
20445 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
20447 Added an option to draw the selectionRect.
20449 * DumpRenderTree/DumpRenderTree.m:
20451 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
20452 (-[LayoutTestController dumpSelectionRect]):
20455 2006-03-29 Darin Adler <darin@apple.com>
20457 Reviewed by Tim Hatcher.
20459 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
20461 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
20463 2006-03-28 Eric Seidel <eseidel@apple.com>
20467 * Scripts/check-for-global-initializers: remove svg exceptions.
20469 2006-03-28 Timothy Hatcher <timothy@apple.com>
20471 Reviewed by Darin Adler.
20473 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
20475 * Scripts/check-for-global-initializers:
20477 2006-03-28 Timothy Hatcher <timothy@apple.com>
20479 Build fix. Turn off uninitialized warnings for the first block of code.
20481 * Scripts/check-for-global-initializers:
20483 2006-03-28 Darin Adler <darin@apple.com>
20487 * Scripts/check-for-global-initializers: Added.
20489 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
20491 Reviewed by darin. Landed by eseidel.
20493 - http://bugs.webkit.org/show_bug.cgi?id=7947
20494 Add repaint testing support to run-webkit-tests
20496 * DumpRenderTree/DumpRenderTree.m:
20497 (main): Added --repaint and --horizontal-sweep options.
20498 (dump): Repaint line-by-line or column-by-column when the appropriate option
20500 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
20501 and repaintSweepHorizontally() methods to layoutTestController.
20502 (-[LayoutTestController testRepaint]):
20503 (-[LayoutTestController repaintSweepHorizontally]):
20505 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
20506 to force these settings on tests that do not ask for them.
20508 2006-03-24 Eric Seidel <eseidel@apple.com>
20514 * Spinneret/Spinneret/WebFrame.cpp:
20515 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
20517 2006-03-21 Beth Dakin <bdakin@apple.com>
20521 Add support for keyDown() to DumpRenderTree.
20523 * DumpRenderTree/DumpRenderTree.m:
20524 (main): Set the preference for tabbing to links.
20525 * DumpRenderTree/EventSendingController.m:
20526 (+[EventSendingController isSelectorExcludedFromWebScript:]):
20527 (+[EventSendingController webScriptNameForSelector:]):
20528 (-[EventSendingController keyDown:withModifiers:]):
20530 2006-03-20 Eric Seidel <eseidel@apple.com>
20536 * Spinneret/Spinneret/Spinneret.vcproj:
20537 * Spinneret/Spinneret/WebFrame.h:
20538 * Spinneret/Spinneret/WebView.cpp:
20539 (WebKit::WebView::mouseMoved):
20540 (WebKit::WebView::mouseDown):
20541 (WebKit::WebView::mouseUp):
20542 (WebKit::WebView::mouseDoubleClick):
20543 (WebKit::WebView::keyPress):
20544 (WebKit::WebViewWndProc):
20546 2006-03-19 Darin Adler <darin@apple.com>
20548 Reviewed by Anders.
20550 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
20551 we can test it in layout tests. We don't really need tests that run with
20552 pop-up blocking off at the moment. If we do some day, we can add some
20553 API for turning it off in the layout test controller.
20555 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
20556 don't ignore the leak; it should no longer show up.
20558 2006-03-17 Anders Carlsson <andersca@mac.com>
20562 * Scripts/install-win-extras:
20563 Fetch "Program Files" location from the environment.
20565 2006-03-17 Eric Seidel <eseidel@apple.com>
20567 Reviewed by ggaren.
20569 Fix Spinneret to pass Events as const & not as pointers.
20571 * Spinneret/Spinneret/WebView.cpp:
20572 (WebKit::WebView::mouseMoved):
20573 (WebKit::WebView::mouseDown):
20574 (WebKit::WebView::mouseUp):
20575 (WebKit::WebView::mouseDoubleClick):
20576 (WebKit::WebView::keyPress):
20578 2006-03-17 Eric Seidel <eseidel@apple.com>
20580 Reviewed by justing.
20582 Add support for basic HTML editing.
20584 * Spinneret/Spinneret/WebView.cpp:
20585 (WebKit::WebView::WebView):
20586 (WebKit::WebView::keyPress):
20588 2006-03-17 Eric Seidel <eseidel@apple.com>
20590 Rubber-stamped by ggaren.
20592 Break DumpRenderTree.m up into several files to make the code more readable.
20594 * DumpRenderTree/DumpRenderTree.h: Added.
20595 * DumpRenderTree/DumpRenderTree.m:
20596 (doneLoading): new accessor function for "done" global.
20597 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20598 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
20599 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
20600 * DumpRenderTree/EditingDelegate.h: Added.
20601 * DumpRenderTree/EditingDelegate.m: Added.
20602 (-[EditingDelegate webViewDidChangeSelection:]):
20603 * DumpRenderTree/EventSendingController.h: Added.
20604 * DumpRenderTree/EventSendingController.m: Added.
20606 2006-03-16 Eric Seidel <eseidel@apple.com>
20610 Add resize, scroll event support.
20612 * Spinneret/Spinneret/WebView.cpp:
20613 (WebKit::WebView::mouseMoved):
20614 (WebKit::WebView::mouseDown):
20615 (WebKit::WebView::mouseUp):
20616 (WebKit::WebView::mouseDoubleClick):
20617 (WebKit::WebView::keyPress):
20618 (WebKit::WebViewWndProc):
20619 * Spinneret/Spinneret/WebView.h:
20621 2006-03-16 Eric Seidel <eseidel@apple.com>
20625 Make build-webkit print correctly to stdout on windows.
20627 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
20629 2006-03-15 Eric Seidel <eseidel@apple.com>
20633 Fix eventSender.mouseClick() to update lastClick timestamp.
20635 * DumpRenderTree/DumpRenderTree.m:
20636 (-[EventSendingController mouseClick]):
20638 2006-03-15 Darin Adler <darin@apple.com>
20640 Reviewed by Maciej.
20642 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
20643 that had a lowercase "i" in it so this builds on case-sensitive
20646 2006-03-15 Geoffrey Garen <ggaren@apple.com>
20650 Added run-testkjs and compare-timing-files scripts, to support super
20651 accurate JS iBench.
20653 * Scripts/compare-timing-files: Added.
20654 * Scripts/run-testkjs: Added.
20656 2006-03-14 Eric Seidel <eseidel@apple.com>
20660 Make the URL bar relinquish focus on page load.
20662 * Spinneret/Spinneret/Spinneret.cpp:
20665 2006-03-14 Eric Seidel <eseidel@apple.com>
20669 Fix WebView to allow KeyFocus.
20670 Add handling of space and shift-space for scrolling.
20672 * Spinneret/Spinneret/WebView.cpp:
20673 (WebKit::scrollMessageForKey):
20674 (WebKit::WebViewWndProc):
20676 2006-03-10 Eric Seidel <eseidel@apple.com>
20680 Add scrolling support into Spinneret.
20682 * Spinneret/Spinneret/WebFrame.cpp:
20683 (WebKit::WebFrame::paint):
20684 * Spinneret/Spinneret/WebView.cpp:
20685 (WebKit::WebView::createWebView):
20686 (WebKit::calculateScrollDelta):
20687 (WebKit::scrollMessageForKey):
20688 (WebKit::WebViewWndProc):
20690 2006-03-13 Eric Seidel <eseidel@apple.com>
20694 Fix checksum generation on Intel machines.
20695 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
20696 give a small speed boost now that it uses a shared buffer.
20698 * DumpRenderTree/DumpRenderTree.m:
20701 (md5HashStringForBitmap):
20702 * DumpRenderTree/ImageDiff.m:
20703 (computePercentageDifferent):
20705 2006-03-13 Darin Adler <darin@apple.com>
20707 Reviewed by Tim Hatcher.
20709 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
20710 have it named httpd-1.3 instead.
20712 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
20714 Fix proposed by Mitz Pettel, reviewed by Darin Adler.
20716 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
20717 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
20719 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
20720 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
20723 2006-03-09 Darin Adler <darin@apple.com>
20725 Reviewed by John Sullivan.
20727 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
20728 memory leak in the plug-in tests
20730 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
20731 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
20732 (NPP_SetWindow): Remove unneeded code to store the window pointer.
20734 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
20735 Moved the browser global in here since it's declared in this file's header.
20736 Changed the code to set up the pluginClass structure to not use function
20737 pointer casts. Those are dangerous because they can hide many types of mismatch.
20738 And indeed when I did this I discovered that many functions were missing their
20739 boolean return values or had parameter declarations with the wrong types.
20740 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
20741 clarity. Added boolean return value: return true when successful and false when not.
20742 (pluginSetProperty): Added boolean return value, return false since we have no
20743 properties we can set.
20744 (pluginInvoke): Added boolean return value. Return true when successful and false
20745 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
20746 return value from calling the browser. Changed code to put the strings in malloc
20747 buffers instead of relying on GCC's extension that allows variable-sized arrays
20749 (pluginInvokeDefault): Added boolean return value, return false since we have no
20750 default function to call.
20751 (pluginInvalidate): Added missing parameter. Removed comment.
20752 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
20753 to cast the result of malloc.
20754 (pluginDeallocate): Removed uneeded cast.
20756 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
20757 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
20758 that match NPObject's fields. Removed unused NPWindow pointer.
20760 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
20762 Test: fast/events/event-sender-mouse-click.html
20764 Reviewed by Darin Adler.
20766 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
20767 DRT hangs when doing eventSender.mouseDown on native widgets
20769 * DumpRenderTree/DumpRenderTree.m:
20770 (+[EventSendingController isSelectorExcludedFromWebScript:]):
20771 (-[EventSendingController mouseClick]): Simulates a click in a native
20772 widget by queueing a mouseUp before sending the mouseDown, so that
20773 the widget's mouse tracking event loop doesn't hang indefinitely.
20775 2006-03-09 Maciej Stachowiak <mjs@apple.com>
20779 - make link clicks work by handling link click requests
20782 * Spinneret/Spinneret/Spinneret.cpp:
20783 (updateLocationBar):
20784 * Spinneret/Spinneret/Spinneret.h:
20785 * Spinneret/Spinneret/WebFrame.cpp:
20786 (WebKit::WebFrame::WebFrame):
20787 (WebKit::WebFrame::openURL):
20788 (WebKit::WebFrame::loadURL):
20789 * Spinneret/Spinneret/WebFrame.h:
20791 2006-03-08 Eric Seidel <eseidel@apple.com>
20795 Focus URL bar on Spinneret launch, remove border from WebView.
20796 Stop WebFrame from deleting the job (prevent crash).
20798 * Spinneret/Spinneret/Spinneret.cpp:
20800 * Spinneret/Spinneret/WebFrame.cpp:
20801 (WebKit::WebFrame::receivedAllData):
20802 (WebKit::WebFrame::paint):
20803 * Spinneret/Spinneret/WebView.cpp:
20804 (WebKit::WebView::createWebView):
20806 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
20808 Reviewed by Darin Adler.
20810 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
20811 (pluginInvoke): Added a method to test getURL.
20813 2006-03-08 Maciej Stachowiak <mjs@apple.com>
20817 - load URLs, not file paths, in Spinneret
20819 * Spinneret/Spinneret/Spinneret.cpp:
20821 * Spinneret/Spinneret/Spinneret.vcproj:
20822 * Spinneret/Spinneret/WebFrame.cpp:
20823 (WebKit::WebFrame::loadURL):
20824 (WebKit::WebFrame::receivedData):
20825 (WebKit::WebFrame::receivedAllData):
20826 * Spinneret/Spinneret/WebFrame.h:
20827 * Spinneret/Spinneret/WebView.cpp:
20828 (WebKit::WebView::WebView):
20830 2006-03-08 Darin Adler <darin@apple.com>
20834 - fixed AppleScript layout test results to not be endian-dependent
20835 (Hyatt complained to me about this one)
20837 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
20838 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
20839 (which are endian-dependent).
20841 2006-03-07 Darin Adler <darin@apple.com>
20843 Reviewed by Anders.
20845 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
20846 unwanted output while running layout tests
20848 * DumpRenderTree/DumpRenderTree.m:
20849 (checkedMalloc): Added.
20850 (checkedRealloc): Added.
20851 (makeLargeMallocFailSilently): Added.
20852 (main): Call makeLargeMallocFailSilently.
20854 2006-03-06 Darin Adler <darin@apple.com>
20856 * Scripts/do-webcore-rename: Add some more planned renaming.
20858 2006-03-06 Eric Seidel <eseidel@apple.com>
20862 * Spinneret/Spinneret/WebFrame.cpp:
20863 (WebKit::WebFrame::paint): force layout before painting
20865 2006-03-06 Justin Garcia <justin.garcia@apple.com>
20869 Sent the windowNumber when sending events.
20870 Added leapForward so that we don't have to spend time waiting
20871 in layout tests that do mouse operations that require delays.
20873 * DumpRenderTree/DumpRenderTree.m:
20874 (+[EventSendingController isSelectorExcludedFromWebScript:]):
20875 (+[EventSendingController webScriptNameForSelector:]):
20876 (-[EventSendingController currentEventTime]):
20877 (-[EventSendingController leapForward:]):
20878 (-[EventSendingController mouseDown]):
20879 (-[EventSendingController mouseUp]):
20880 (-[EventSendingController mouseMoveToX:Y:]):
20882 2006-03-05 Darin Adler <darin@apple.com>
20884 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
20885 Script now works (after landing my two pending patches).
20887 2006-03-05 Darin Adler <darin@apple.com>
20889 - check in a script to do a "big" rename in WebCore
20890 (can be run whenever we're ready to do it)
20892 * Scripts/do-webcore-rename: Added.
20894 2006-03-05 Maciej Stachowiak <mjs@apple.com>
20898 * Spinneret/Spinneret/WebFrame.cpp:
20899 (WebKit::WebFrame::loadFilePath): Close file when done.
20901 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
20903 Reviewed by Darin, landed by ap.
20905 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
20906 Mouse moved events do not work in DumpRenderTree
20908 Test: fast/events/event-sender-mouse-moved.html
20910 * DumpRenderTree/DumpRenderTree.m:
20911 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
20913 2006-03-04 Eric Seidel <eseidel@apple.com>
20917 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
20918 Disable background erase to avoid tearing.
20919 Fix potential memory smasher from extra long urls.
20921 * Spinneret/Spinneret/Spinneret.cpp:
20923 * Spinneret/Spinneret/Spinneret.vcproj:
20924 * Spinneret/Spinneret/WebFrame.cpp:
20925 (WebKit::WebFrame::loadFilePath):
20926 (WebKit::WebFrame::paint):
20927 * Spinneret/Spinneret/WebView.cpp:
20928 (WebKit::registerWebViewWithInstance):
20930 2006-03-04 Eric Seidel <eseidel@apple.com>
20932 Reviewed by ggaren.
20934 Hang WebView pointer off of HWND (gets rid of global hack).
20935 Remove MessageBox displayed on url change.
20937 * Spinneret/Spinneret/Spinneret.cpp:
20940 * Spinneret/Spinneret/WebView.cpp:
20941 (WebKit::registerWebViewWithInstance):
20942 (WebKit::WebView::createWebView):
20943 (WebKit::WebViewWndProc):
20945 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
20949 Automatically kill httpd if it appears to be already running.
20951 * Scripts/run-webkit-tests:
20953 2006-03-04 Maciej Stachowiak <mjs@apple.com>
20957 * Spinneret/Spinneret/WebFrame.cpp:
20958 (WebKit::WebFrame::loadFilePath): Improved local file loading.
20960 2006-03-03 Eric Seidel <eseidel@apple.com>
20964 A few more fixes to make run-webkit-tests really work on win32.
20966 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
20968 * Scripts/run-webkit-tests:
20970 2006-03-03 Eric Seidel <eseidel@apple.com>
20974 Make run-webkit-tests work on win32.
20976 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
20978 (dumpRenderTreeMain):
20979 (dumpRenderTreeToStdOut):
20980 (serializeToStdOut):
20982 * Scripts/run-webkit-tests:
20983 * Scripts/webkitdirs.pm:
20984 * Spinneret/Spinneret/WebView.cpp:
20985 (WebKit::WebView::WebView):
20987 2006-03-03 Eric Seidel <eseidel@apple.com>
20991 Add WebFrame class (to hold Frame and FrameView).
20992 Add Location bar support to Spinneret.
20994 * Spinneret/Spinneret/Spinneret.cpp:
20999 * Spinneret/Spinneret/Spinneret.vcproj:
21000 * Spinneret/Spinneret/WebFrame.cpp: Added.
21001 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
21002 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
21003 (WebKit::WebFrame::WebFrame):
21004 (WebKit::WebFrame::loadFilePath):
21005 (WebKit::WebFrame::loadHTMLString):
21006 (WebKit::WebFrame::paint):
21007 (WebKit::WebFrame::impl):
21008 (WebKit::WebFrame::viewImpl):
21009 * Spinneret/Spinneret/WebFrame.h: Added.
21010 * Spinneret/Spinneret/WebView.cpp:
21011 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
21012 (WebKit::WebView::WebView):
21013 (WebKit::WebView::windowHandle):
21014 (WebKit::WebView::mainFrame):
21015 (WebKit::WebView::mouseMoved):
21016 (WebKit::WebView::mouseDown):
21017 (WebKit::WebView::mouseUp):
21018 (WebKit::WebView::mouseDoubleClick):
21019 (WebKit::WebViewWndProc):
21020 * Spinneret/Spinneret/WebView.h:
21022 2006-03-02 Eric Seidel <eseidel@apple.com>
21024 Reviewed by ggaren.
21026 * Spinneret/Spinneret/WebView.cpp:
21027 (WebKit::registerWebViewWithInstance):
21028 (WebKit::WebView::WebView):
21029 (WebKit::WebView::mouseMoved):
21030 (WebKit::WebView::mouseDown):
21031 (WebKit::WebView::mouseUp):
21032 (WebKit::WebView::mouseDoubleClick):
21033 (WebKit::WebViewWndProc):
21034 * Spinneret/Spinneret/WebView.h:
21036 2006-03-01 Eric Seidel <eseidel@apple.com>
21038 Reviewed by andersca.
21040 Make spinneret take advantage of the new GraphicsContextCairo.
21042 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
21043 (main): updated to match style guidelines.
21044 * Spinneret/Spinneret/Spinneret.cpp:
21046 * Spinneret/Spinneret/WebView.cpp:
21047 (WebKit::registerWebViewWithInstance):
21048 (WebKit::WebView::WebView):
21049 (WebKit::WebView::~WebView):
21050 (WebKit::WebView::drawRect):
21052 * Spinneret/Spinneret/WebView.h:
21054 2006-03-01 Justin Garcia <justin.garcia@apple.com>
21058 Give the events that eventSender sends a unique eventNumber
21060 * DumpRenderTree/DumpRenderTree.m:
21061 (-[EventSendingController mouseDown]):
21062 (-[EventSendingController mouseUp]):
21063 (-[EventSendingController mouseMoveToX:Y:]):
21065 2006-03-01 Eric Seidel <eseidel@apple.com>
21069 Add a stub win32 application to test WebCore drawing on windows.
21071 * Spinneret: Added.
21072 * Spinneret/Spinneret: Added.
21073 * Spinneret/Spinneret.sln: Added.
21074 * Spinneret/Spinneret/Resource.h: Added.
21075 * Spinneret/Spinneret/Spinneret.cpp: Added.
21081 * Spinneret/Spinneret/Spinneret.h: Added.
21082 * Spinneret/Spinneret/Spinneret.ico: Added.
21083 * Spinneret/Spinneret/Spinneret.rc: Added.
21084 * Spinneret/Spinneret/Spinneret.vcproj: Added.
21085 * Spinneret/Spinneret/WebView.cpp: Added.
21086 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
21087 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
21088 (WebKit::registerWebViewWithInstance):
21089 (WebKit::WebView::createWebView):
21090 (WebKit::WebView::WebView):
21091 (WebKit::WebView::~WebView):
21092 (WebKit::WebView::drawRect):
21093 (WebKit::WebView::windowHandle):
21095 * Spinneret/Spinneret/WebView.h: Added.
21096 * Spinneret/Spinneret/small.ico: Added.
21097 * Spinneret/Spinneret/stdafx.cpp: Added.
21098 * Spinneret/Spinneret/stdafx.h: Added.
21100 2006-02-28 Eric Seidel <eseidel@apple.com>
21104 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
21105 (main): add ability to dump render tree and read from a local file.
21107 2006-02-27 Eric Seidel <eseidel@apple.com>
21111 * Scripts/install-win-extras: fix dll permissions & download zlib too.
21113 2006-02-27 Eric Seidel <eseidel@apple.com>
21115 Reviewed by ggaren.
21117 Test new KConfig -> PlugInInfoStore change.
21118 http://bugs.webkit.org/show_bug.cgi?id=7498
21120 * DumpRenderTree/DumpRenderTree.m:
21121 (main): load test netscape plugin
21122 * Scripts/run-webkit-tests: style update
21124 2006-02-24 Eric Seidel <eseidel@apple.com>
21128 Make DumpRenderTree link against icu.
21130 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
21132 2006-02-24 Eric Seidel <eseidel@apple.com>
21136 Make DumpRenderTree link against libxml, etc.
21138 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
21140 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
21142 Reviewed and landed by Anders.
21144 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
21145 getting called from the run loop, making the view render each test and thus slowing
21148 * DumpRenderTree/DumpRenderTree.m:
21149 (main): Set the offscreen window to not autodisplay.
21151 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
21153 Reviewed by Darin Adler.
21155 - Turn http tests back on by default.
21156 - Wait for Apache to actually start serving requests.
21157 - Get user id from a built-in variable rather than an external command;
21158 don't pass the group.
21160 * Scripts/run-webkit-tests:
21162 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
21164 Suggested by Mitz Pettel, reviewed by Darin Adler.
21166 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
21167 can run CGIs even if the permissions are 700 or 600.
21169 2006-02-23 Darin Adler <darin@apple.com>
21171 Collaborating with Alexey.
21173 - turn off http tests by default until we figure out how to get them
21174 to run even when permissions on CGI files are 700 instead of 755
21176 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
21178 2006-02-23 Eric Seidel <eseidel@apple.com>
21180 Add *.user to ignore list.
21182 2006-02-23 Eric Seidel <eseidel@apple.com>
21184 Remove binary file which shouldn't have been commited (and add to ignore list).
21186 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
21187 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
21189 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
21193 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
21195 2006-02-22 Eric Seidel <eseidel@apple.com>
21197 Reviewed by Tim Hatcher.
21199 Fix install-win-extras to not try to re-install setx if installed.
21201 * Scripts/install-win-extras:
21203 2006-02-22 Eric Seidel <eseidel@apple.com>
21205 One more file possibly missing from previous commit?
21207 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
21208 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
21210 2006-02-22 Eric Seidel <eseidel@apple.com>
21212 Reviewed by justing.
21214 Files missing from previous commit.
21216 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
21217 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
21219 2006-02-22 Eric Seidel <eseidel@apple.com>
21221 Rubber-stamped by justing.
21223 Corrected path for DumpRenderTree.intermediate files
21225 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
21227 2006-02-22 Eric Seidel <eseidel@apple.com>
21229 Reviewed by justing.
21231 Fixed build-dumprendertree to exit with correct error codes.
21233 * Scripts/build-dumprendertree:
21235 2006-02-22 Eric Seidel <eseidel@apple.com>
21237 Reviewed by justing.
21239 Update build scripts to generalize building on Win32, and allow
21240 building of DumpRenderTree on Win32 from build-dumprendertree.
21242 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
21244 * Scripts/build-dumprendertree:
21245 * Scripts/build-webkit:
21246 * Scripts/webkitdirs.pm:
21248 2006-02-22 Eric Seidel <eseidel@apple.com>
21252 * DumpRenderTree/DumpRenderTree.vcproj: Added.
21253 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
21254 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
21255 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
21256 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
21257 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
21259 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
21260 * Scripts/build-webkit: make build-webkit cleanup after itself
21262 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
21264 Reviewed by Darin Adler.
21266 - http://bugs.webkit.org/show_bug.cgi?id=7409
21267 Some minor fixes to http tests.
21269 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
21271 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
21273 Reviewed by Darin Adler.
21275 - http://bugs.webkit.org/show_bug.cgi?id=6197
21276 Would like to use locally installed Apache for testing.
21278 Added two run-webkit-tests options:
21279 --http (--nohttp) - whether to launch Apache (defaults to yes);
21280 --port - which port to listen on (defaults to 8000).
21282 Tests in LayoutTests/http are not run directly, and Apache is used instead.
21283 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
21284 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
21286 Also added support for .shtml and .text files. Text files give an empty
21287 *-expected.txt, but a correct image.
21289 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
21291 * Scripts/run-webkit-tests:
21293 2006-02-21 Darin Adler <darin@apple.com>
21295 Suggested by Mark Rowe.
21297 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
21298 reporting leak counts.
21300 2006-02-18 Maciej Stachowiak <mjs@apple.com>
21302 Reviewed by Darin Adler.
21304 - Added install-win-extras script which installs some extra
21305 programs and libraries, and does Windows first-time setup.
21307 * Scripts/build-webkit: Add a newline between build results.
21308 * Scripts/install-win-extras: Added.
21310 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
21312 Reviewed by Darin Adler.
21314 - http://bugs.webkit.org/show_bug.cgi?id=7308
21315 DumpRenderTree should be able to load files via HTTP
21317 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
21318 Handle tests starting with "http://" as real URLs, not file system paths.
21320 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
21322 Reviewed by Maciej.
21324 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
21325 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
21327 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
21329 2006-02-18 Darin Adler <darin@apple.com>
21331 * Scripts/commit-log-editor: Added.
21333 2006-02-17 Eric Seidel <eseidel@apple.com>
21337 Make Win32 have the same default "WebKitBuild" directory behavior.
21339 * Scripts/build-webkit:
21340 * Scripts/webkitdirs.pm:
21342 2006-02-17 Eric Seidel <eseidel@apple.com>
21346 * Scripts/build-webkit: make win32 actually report errors
21348 2006-02-17 Eric Seidel <eseidel@apple.com>
21352 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
21354 2006-02-17 Eric Seidel <eseidel@apple.com>
21358 * Scripts/run-webkit-tests: Ignore flash leaks
21360 2006-02-15 Justin Garcia <justin.garcia@apple.com>
21364 <http://bugs.webkit.org/show_bug.cgi?id=7148>
21365 Add drag and drop support to DumpRenderTree
21367 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
21368 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
21370 * DumpRenderTree/DumpRenderTree.m:
21372 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
21373 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
21374 (-[WaitUntilDoneDelegate webViewFocus:]):
21375 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
21376 (+[LayoutTestController webScriptNameForSelector:]):
21377 (-[LayoutTestController setWindowIsKey:]):
21378 (-[LayoutTestController setMainFrameIsFirstResponder:]):
21379 (-[EventSendingController init]):
21380 (-[EventSendingController mouseDown]):
21381 (-[EventSendingController mouseUp]):
21382 (-[EventSendingController mouseMoveToX:Y:]):
21384 (-[DumpRenderTreeWindow isKeyWindow]):
21385 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
21386 (-[DumpRenderTreeDraggingInfo dealloc]):
21387 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
21388 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
21389 (-[DumpRenderTreeDraggingInfo draggingLocation]):
21390 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
21391 (-[DumpRenderTreeDraggingInfo draggedImage]):
21392 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
21393 (-[DumpRenderTreeDraggingInfo draggingSource]):
21394 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
21395 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
21396 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
21397 * DumpRenderTree/TextInputController.m:
21398 (-[TextInputController firstRectForCharactersFrom:length:]):
21399 (-[TextInputController characterIndexForPointX:Y:]):
21401 2006-02-15 Geoffrey Garen <ggaren@apple.com>
21405 * DumpRenderTree/DumpRenderTree.m:
21406 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
21407 Added a dummy method for the sake of LayoutTests/plugins/
21408 undefined-property-crash.html. (It tests a crash due to fallback
21409 object use. WebCore won't create a fallback object if the method is
21412 2006-02-14 Eric Seidel <eseidel@apple.com>
21416 * Scripts/run-webkit-tests: added --results-directory (-o) option
21418 2006-02-09 Eric Seidel <eseidel@apple.com>
21420 Rubber-stamped by mjs.
21422 Renamed split-class to split-file-by-class.
21424 * Scripts/build-webkit: Updated copyright.
21425 * Scripts/split-class: Removed.
21426 * Scripts/split-file-by-class: Added.
21428 2006-02-08 Eric Seidel <eseidel@apple.com>
21430 Rubber-stamped by mjs.
21432 Adding new script for splitting multi-class files.
21433 Also adding supporting perl module with space removing heuristics.
21435 * Scripts/SpacingHeuristics.pm: Added.
21436 * Scripts/build-drawtest: updated copyright header
21437 * Scripts/split-class: Added.
21439 2006-02-08 Justin Garcia <justin.garcia@apple.com>
21441 Reviewed by thatcher
21443 Changes to test fix for:
21444 <http://bugs.webkit.org/show_bug.cgi?id=3982>
21445 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
21447 * DumpRenderTree/DumpRenderTree.m:
21448 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
21449 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
21450 (+[LayoutTestController webScriptNameForSelector:]):
21451 (-[LayoutTestController setWindowHasFocus:]):
21452 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
21454 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
21456 Reviewed by Timothy.
21458 Support automated testing of AppleScript "do JavaScript" command
21459 http://bugs.webkit.org/show_bug.cgi?id=7012
21461 * DumpRenderTree/AppleScriptController.h: Added.
21462 * DumpRenderTree/AppleScriptController.m: Added.
21463 * DumpRenderTree/DumpRenderTree.m:
21464 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
21465 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21467 2006-02-06 Eric Seidel <eseidel@apple.com>
21471 Fix build-webkit for use on win32 (unblocks buildbot usage).
21472 http://bugs.webkit.org/show_bug.cgi?id=7122
21474 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
21475 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
21477 2006-02-06 Eric Seidel <eseidel@apple.com>
21479 Rubber-stamped by darin & mjs.
21481 Added new support directory for build slave scripts.
21482 Committing the first script, for use by the PLT's build slave.
21483 This script is used to kick of the PLT (Page Load Test) slave.
21485 * BuildSlaveSupport: Added.
21486 * BuildSlaveSupport/run-performance-tests: Added.
21488 2006-02-06 Eric Seidel <eseidel@apple.com>
21490 Rubber-stamped by darin.
21492 Adding setSourceDir for scripts stored in non-standard locations.
21494 * Scripts/webkitdirs.pm:
21496 2006-02-04 Darin Adler <darin@apple.com>
21498 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
21499 Configuration files that say Development or Deployment in them.
21501 2006-02-04 Darin Adler <darin@apple.com>
21503 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
21504 wrapper already in the directory.
21505 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
21506 these haven't been working at all.
21507 * Scripts/svn-unapply: Ditto.
21509 2006-02-03 Timothy Hatcher <timothy@apple.com>
21511 Reviewed by Justin.
21513 Renamed configuration names to Debug, Release and Production.
21515 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
21516 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21517 * Scripts/set-webkit-configuration:
21518 * Scripts/webkitdirs.pm:
21520 2006-02-02 Justin Garcia <justin.garcia@apple.com>
21522 Reviewed by thatcher
21524 Enabled spell checking for layout tests.
21526 * DumpRenderTree/DumpRenderTree.m:
21529 2006-01-29 Darin Adler <darin@apple.com>
21531 * Scripts/svn-apply: Added comments about things we should do to improve.
21532 * Scripts/svn-create-patch: Ditto.
21533 * Scripts/svn-unapply: Ditto.
21535 2006-01-28 Darin Adler <darin@apple.com>
21537 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
21538 already there, even if the checksum is correct.
21540 2006-01-27 Eric Seidel <eseidel@apple.com>
21544 * Scripts/run-webkit-tests: make new tests use absolute urls
21546 2006-01-27 Eric Seidel <eseidel@apple.com>
21550 make run-webkit-tests output total leaks count
21552 * Scripts/run-webkit-tests:
21554 2006-01-27 Eric Seidel <eseidel@apple.com>
21558 run-webkit-test --leaks crashes (malloc logging runs out of memory)
21559 http://bugs.webkit.org/show_bug.cgi?id=6869
21561 * Scripts/run-webkit-tests: fix --leaks to not crash
21563 2006-01-26 Eric Seidel <eseidel@apple.com>
21567 run-webkit-tests should produce a self-contained results directory
21568 http://bugs.webkit.org/show_bug.cgi?id=6864
21570 * Scripts/run-webkit-tests: copy failing items to results dir.
21572 2006-01-23 Darin Adler <darin@apple.com>
21574 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
21575 need script to update localizable strings file in WebKit
21577 * Scripts/update-webkit-localizable-strings: Added.
21579 2006-01-23 Darin Adler <darin@apple.com>
21581 - added a couple of scripts -- more about these two soon
21583 * Scripts/extract-localizable-strings: Added.
21584 * Scripts/merge-changelog: Added.
21586 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
21588 Reviewed by Anders.
21590 Build fix. build-webkit dies with "invalid build action: (empty string)"
21592 * Scripts/build-webkit:
21593 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
21595 2006-01-22 Eric Seidel <eseidel@apple.com>
21597 Reviewed by anders.
21599 Fix --no-svg option to use XCode flags instead of gcc flags.
21601 * Scripts/build-webkit:
21603 2006-01-22 Eric Seidel <eseidel@apple.com>
21605 Reviewed by anders.
21607 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
21609 * Scripts/build-webkit:
21611 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
21613 Reviewed by eseidel.
21615 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
21616 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
21618 * Scripts/build-drawtest: Changed bareword 'true' to 1.
21619 * Scripts/run-drawtest: Changed bareword 'true' to 1.
21621 2006-01-19 Darin Adler <darin@apple.com>
21623 * Scripts/report-include-statistics: Added a new script.
21625 2006-01-19 Timothy Hatcher <timothy@apple.com>
21627 * Scripts/build-webkit: include JavaScriptGlue in the build
21629 2006-01-19 Darin Adler <darin@apple.com>
21631 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
21632 spaces in it by using the form of open that treats each argument as a string
21633 rather than backtick syntax for reading the output of the nm tool.
21635 2006-01-12 Maciej Stachowiak <mjs@apple.com>
21637 Reviewed by Darin Adler.
21639 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
21640 detect if there are any new tests
21642 * Scripts/prepare-ChangeLog:
21644 2006-01-12 Darin Adler <darin@apple.com>
21646 - removed some of the cvs-specific scripts -- not needed for this project any more
21648 * Scripts/cvs-abandon: Removed.
21649 * Scripts/cvs-apply: Removed.
21650 * Scripts/cvs-create-patch: Removed.
21651 * Scripts/cvs-unapply: Removed.
21653 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
21655 Reviewed by eseidel. Committed by eseidel.
21657 - run-webkit-tests always launches Safari when tests fail
21658 http://bugs.webkit.org/show_bug.cgi?id=6456
21660 * Scripts/run-webkit-tests:
21661 Add a command-line flag to prevent Safari being launched to display failed
21662 tests. Always exit with non-zero status when tests have failed.
21664 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
21666 Reviewed by eseidel. Committed by eseidel.
21668 - build-webkit should exit with non-zero status when build fails
21669 http://bugs.webkit.org/show_bug.cgi?id=6459
21671 * Scripts/build-webkit:
21672 Use correct bits of subprocess exit code when passing back through
21673 as build-webkit's exit code.
21675 2006-01-10 Eric Seidel <eseidel@apple.com>
21677 Restored corrupted nibs from TOT CVS.
21679 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
21680 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
21681 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
21682 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
21683 * DrawTest/English.lproj/Inspector.nib: Replaced.
21684 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
21685 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
21686 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
21687 * DrawTest/English.lproj/MainMenu.nib: Replaced.
21688 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
21689 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
21690 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
21691 * DrawTest/English.lproj/TestViewer.nib: Replaced.
21692 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
21693 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
21694 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
21696 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
21698 Reviewed by eseidel. Committed by eseidel.
21700 DrawTestView now subclasses WebView instead of DrawView.
21702 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
21703 * DrawTest/DrawTestDocument.h:
21704 * DrawTest/DrawTestDocument.m:
21705 (-[DrawTestDocument dealloc]):
21706 (-[DrawTestDocument readFromFile:ofType:]):
21707 (-[DrawTestDocument windowControllerDidLoadNib:]):
21708 (-[DrawTestDocument dumpSVGToConsole:]):
21709 (-[DrawTestDocument openSourceForSelection:]):
21710 (-[DrawTestDocument dataRepresentationOfType:]):
21711 * DrawTest/DrawTestToolbarController.h:
21712 * DrawTest/DrawTestToolbarController.m:
21713 (-[DrawTestToolbarController initWithDrawView:]):
21714 (-[DrawTestToolbarController clickedToolbarItem:]):
21715 (-[DrawTestToolbarController validateToolbarItem:]):
21716 * DrawTest/DrawTestView.h:
21717 * DrawTest/DrawTestView.m:
21718 (-[DrawTestView initWithFrame:]):
21719 (-[DrawTestView setDocument:]):
21720 * DrawTest/SVGTest.h:
21721 * DrawTest/SVGTest.m:
21722 (+[SVGTest sharedDrawView]):
21723 (-[SVGTest generateCompositeIfNecessary]):
21724 * DrawTest/TestController.h:
21725 * DrawTest/TestController.m:
21726 (-[TestController awakeFromNib]):
21727 (-[TestController setSelectedTest:]):
21728 (-[TestController openTestViewerForSelection:]):
21729 (-[TestController toggleViewersScaleRule:]):
21730 * DrawTest/TestViewerSplitView.m:
21731 (-[TestViewerSplitView drawRect:]):
21733 2006-01-10 Anders Carlsson <andersca@mac.com>
21735 Reviewed by Timothy.
21737 * DumpRenderTree/DumpRenderTree.m:
21738 (main): Set the default language to "en", so language tests will work.
21740 2006-01-08 Maciej Stachowiak <mjs@apple.com>
21744 - script to generate HTML wrappers for JS tests
21745 http://bugs.webkit.org/show_bug.cgi?id=6441
21747 * Scripts/make-js-test-wrappers: Added.
21749 2006-01-08 Maciej Stachowiak <mjs@apple.com>
21753 * Scripts/svn-create-patch: Fix to work when passed directory names.
21755 2006-01-08 Geoffrey Garen <ggaren@apple.com>
21759 - Added back/forward navigation support to DumpRenderTree. Hopefully we
21760 can start writing automated loader tests now. I have one in the works.
21762 * DumpRenderTree/DumpRenderTree.m:
21763 (main): Construct global navigationController on entry, destroy on exit.
21764 Set frame to nil on exit too, to match all the other global objects.
21765 (Probably academic, since the process is exiting, anyway.)
21766 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
21767 navigationController, in case it wants to kick off a load.
21768 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
21769 the navigationController to scripting.
21771 New class, should be straightforward:
21773 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21774 * DumpRenderTree/NavigationController.h: Added.
21775 * DumpRenderTree/NavigationController.m: Added.
21777 (+[NavigationController isSelectorExcludedFromWebScript:]):
21778 (+[NavigationController webScriptNameForSelector:]):
21779 (-[NavigationController setPendingScript:]):
21780 (-[NavigationController setPendingRequest:]):
21781 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
21782 (-[NavigationController webView:didFinishLoadForFrame:]):
21783 (-[NavigationController dealloc]):
21785 2006-01-08 Timothy Hatcher <timothy@apple.com>
21787 Removed this script, no longer needs with the Subversion switch.
21789 * checkout: Removed.
21791 2006-01-08 Timothy Hatcher <timothy@apple.com>
21793 Removes some stray tabs.
21795 * Scripts/update-webkit:
21797 2005-01-07 Eric Seidel <eseidel@apple.com>
21801 build-webkit should pass on build arguments from command line
21802 http://bugs.webkit.org/show_bug.cgi?id=5854
21804 * Scripts/build-webkit:
21806 2006-01-07 Eric Seidel <eseidel@apple.com>
21808 Reviewed by mjs & xenon.
21810 * Scripts/update-webkit: support Internal updates as well
21812 2006-01-06 Geoffrey Garen <ggaren@apple.com>
21814 Temporarily rolling out plugin support from DumpRenderTree because it
21815 caused lots of layout test regressions.
21817 * DumpRenderTree/DumpRenderTree.m:
21818 (main): Remove invisible window added to support plugins.
21820 2006-01-06 Geoffrey Garen <ggaren@apple.com>
21824 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
21825 Add plugin support to DumpRenderTree
21827 Also wrote first test plugin.
21829 * DumpRenderTree/DumpRenderTree.m:
21831 (1) Put the WebView in an invisible window, because PlugIns are
21832 optimized not to load if there's no parent window.
21833 (2) Tell WebKit to load any PlugIns in the directory from which we
21834 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
21835 and they'll load automagically during layout testing, but they won't be
21836 added to the user's system, hosing apps like Safari.
21838 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
21839 test PlugIn to project.
21841 PlugIn added to project:
21843 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
21844 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
21846 (initializeIdentifiers):
21847 (pluginHasProperty):
21849 (pluginGetProperty):
21850 (pluginSetProperty):
21852 (pluginInvokeDefault):
21853 (pluginInvalidate):
21855 (pluginDeallocate):
21856 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
21857 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
21859 (NP_GetEntryPoints):
21865 (NPP_DestroyStream):
21868 (NPP_StreamAsFile):
21875 2006-01-04 Timothy Hatcher <timothy@apple.com>
21877 Reviewed by Darin Adler.
21879 Tweaked and tested by me.
21881 New scripts to work with Subversion when the switch happens.
21882 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
21884 * Scripts/svn-apply: Added.
21885 * Scripts/svn-create-patch: Added.
21886 * Scripts/svn-unapply: Added.
21888 2005-12-30 Eric Seidel <eseidel@apple.com>
21892 Move WebView width/height logic into DumpRenderTree to support
21893 running the W3C SVG 1.1 tests along side other tests. The W3C
21894 SVG 1.1 tests require a 480x360 view.
21896 * DumpRenderTree/DumpRenderTree.m:
21897 (main): don't accept width/height
21898 (dump): override width/height for SVG/W3C
21899 * Scripts/run-webkit-tests: don't pass width/height
21901 2005-12-30 Eric Seidel <eseidel@apple.com>
21903 No review, only removing dead code.
21905 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
21906 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
21908 2005-12-30 Eric Seidel <eseidel@apple.com>
21912 DumpRenderTree should set a consistent color profile while running
21913 http://bugs.webkit.org/show_bug.cgi?id=6155
21915 Creates consistent colormatched renderings on every test machine
21916 using the only way possible with Tiger APIs: by setting the
21917 system color profile on the test machine for the duration of the
21918 tests. This will (unfortunately) cause colors to change while
21919 running DumpRenderTree. This can also cause "permanent" color
21920 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
21921 This is far from ideal, but it's be best way we've found to deal
21922 with the issue for now.
21924 * DumpRenderTree/DumpRenderTree.m:
21925 (restoreColorSpace):
21926 (setDefaultColorProfileToRGB):
21929 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
21931 Reviewed by Darin Adler.
21933 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
21934 cvs-create-patch --include produces incorrect paths
21936 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
21938 2005-12-19 Eric Seidel <eseidel@apple.com>
21942 * Scripts/run-webkit-tests: stop /etc/catalog warnings
21944 2005-12-19 Darin Adler <darin@apple.com>
21946 Reviewed by Eric Seidel.
21948 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
21949 WebKit needs to use a local pasteboard during testing
21951 * DumpRenderTree/DumpRenderTree.m:
21952 (main): Call poseAs to substitute our NSPasteboard class for the default one.
21953 Create a local pasteboard (really a global one with a unique name) and release
21954 it when exiting from the function so we don't leave it in the pasteboard server.
21955 (dumpRenderTree): Added an autorelease pool around one small bit of code that
21956 ddn't have one. Fixed a leak in an unlikely error case.
21957 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
21958 of this method to return our local pasteboard.
21960 2005-12-15 Eric Seidel <eseidel@apple.com>
21962 Reviewed by Tim Hatcher.
21964 * Scripts/build-webkit: --svg is now default!
21966 2005-12-15 Eric Seidel <eseidel@apple.com>
21970 Don't run svg test automatically if +SVG is built (yet).
21972 * Scripts/run-webkit-tests:
21974 2005-12-15 Darin Adler <darin@apple.com>
21976 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
21977 support is not compiled in. Report the 10 slowest tests if "--slowest" is
21978 passed on the command line.
21980 2005-12-06 John Sullivan <sullivan@apple.com>
21982 Reviewed by Darin Adler.
21984 * Scripts/prepare-ChangeLog:
21985 Remove special-case handling for nib files. This avoided trouble with cvs diff
21986 when we were using wrappers for nib files. Now that we aren't using wrappers,
21987 there's no reason to avoid adding the modified nib files to the file list that
21990 2005-12-05 Eric Seidel <eseidel@apple.com>
21994 Script updates for SVG files move (remove references to SVGSupport)
21996 * Scripts/build-webkit: remove SVGSupport
21997 * Scripts/run-webkit-tests: Resources -> resources for --svg
21998 * Scripts/update-webkit: remove SVGSupport
22000 2005-12-05 Eric Seidel <eseidel@apple.com>
22004 * checkout: remove --svg support, SVG is now checked out by default
22006 2005-11-29 Eric Seidel <eseidel@apple.com>
22010 Update scripts to run SVG tests automatically (w/o --svg) if
22011 WebCore is built with SVG support.
22013 * Scripts/build-drawtest: SVG support required
22014 * Scripts/build-dumpkcanvastree: Removed.
22015 * Scripts/run-drawtest: SVG support required to run
22016 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
22017 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
22019 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
22021 Reviewed by Darin Adler. Committed by Maciej.
22023 - fixed "DumpRenderTree should test for Ahem before doing anything else"
22024 (http://bugs.webkit.org/show_bug.cgi?id=5838)
22026 * DumpRenderTree/DumpRenderTree.m:
22029 2005-11-28 Eric Seidel <eseidel@apple.com>
22031 Reviewed by sullivan and GGAREN.
22033 Minor additions to make error messages more clear from cvs-apply.
22035 * Scripts/cvs-apply: make errors more clear
22037 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
22039 Reviewed and committed by Maciej.
22041 - fixed cvs-create-patch --include produces incorrect paths
22042 (http://bugs.webkit.org/show_bug.cgi?id=5846)
22044 * Scripts/cvs-create-patch: produce proper paths for new files.
22046 2005-11-21 Eric Seidel <eseidel@apple.com>
22050 Some simple fixes to the build/test scripts now that SVG uses the
22051 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
22052 or symlinks for KDOM.
22054 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
22055 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
22056 * Scripts/run-webkit-tests: now runs SVG tests using DRT
22057 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
22058 * checkout: no longer symlink kdom
22060 2005-11-10 Eric Seidel <eseidel@apple.com>
22062 Reviewed by ggaren.
22064 * Scripts/build-webkit: Pass through options to xcodebuild
22066 2005-11-07 Darin Adler <darin@apple.com>
22068 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
22070 2005-11-03 John Sullivan <sullivan@apple.com>
22072 Reviewed by Darin Adler.
22074 * Scripts/run-safari:
22075 changed message to say "Starting Safari" instead of odd "Start Safari"
22076 * Scripts/run-webkit-tests:
22077 changed the way we pass the file parameter to use -NSOpen rather than relying on
22078 unlabeled arguments being treated as files. This was failing on some machines that
22079 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
22081 2005-10-27 Geoffrey Garen <ggaren@apple.com>
22083 Patch by Alexey Proskuryakov.
22085 Reviewed by Maciej.
22087 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
22088 TextInputController should support attributed strings
22090 * DumpRenderTree/TextInputController.m:
22091 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
22092 (+[NSMutableAttributedString webScriptNameForSelector:]):
22093 (-[NSMutableAttributedString getLength]):
22094 (-[NSMutableAttributedString attributeNamesAtIndex:]):
22095 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
22096 (-[NSMutableAttributedString addAttribute:value:]):
22097 (-[NSMutableAttributedString addAttribute:value:from:length:]):
22098 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
22099 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
22100 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
22101 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
22102 (+[TextInputController isSelectorExcludedFromWebScript:]):
22103 (+[TextInputController webScriptNameForSelector:]):
22104 (-[TextInputController insertText:]):
22105 (-[TextInputController attributedSubstringFrom:length:]):
22106 (-[TextInputController attributedStringWithString:]):
22108 2005-10-11 Eric Seidel <eseidel@apple.com>
22112 Checks for leaks in ImageDiff too.
22114 * Scripts/run-webkit-tests:
22116 2005-10-09 Darin Adler <darin@apple.com>
22118 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
22119 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
22120 * Scripts/cvs-unapply: Ditto.
22121 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
22123 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
22125 Reviewed, rearranged and landed by Darin Adler.
22127 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
22128 Need a way to automatically test for regressions in NSTextInput implementation
22130 * DumpRenderTree/DumpRenderTree.m:
22131 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
22132 Create a text input controller and put it in a property of the window object.
22134 * DumpRenderTree/TextInputController.h: Added.
22135 * DumpRenderTree/TextInputController.m: Added.
22136 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
22138 2005-10-06 Darin Adler <darin@apple.com>
22140 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
22141 are controlled by cvs, or when changes cross multiple repositories.
22142 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
22144 2005-10-03 Eric Seidel <eseidel@apple.com>
22148 Make mouseDown and mouseUp force layout before acting.
22149 This is used by a new test case for 4233558.
22151 * DumpRenderTree/DumpRenderTree.m:
22152 (-[EventSendingController mouseDown]): force layout
22153 (-[EventSendingController mouseUp]): force layout
22155 2005-09-30 Eric Seidel <eseidel@apple.com>
22159 Updated all the scripts for the move:
22160 WebCore/layout-tests -> LayoutTests
22162 * Scripts/check-dom-results:
22163 * Scripts/prepare-ChangeLog:
22164 * Scripts/run-webkit-tests:
22165 * Scripts/update-webkit: added --no-tests
22166 * checkout: added --no-tests
22168 2005-09-28 Darin Adler <darin@apple.com>
22170 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
22171 pixel test should run even if render trees differ
22173 * Scripts/run-webkit-tests: Don't check if the text dump matches.
22175 2005-09-27 Eric Seidel <eseidel@apple.com>
22177 No review needed, SVG build fix only.
22179 * DumpKCanvasTree/DumpKCanvasTree.m:
22180 Missed one in my previous checkin.
22181 http://bugs.webkit.org/show_bug.cgi?id=5141
22183 2005-09-26 Eric Seidel <eseidel@apple.com>
22185 No review needed, SVG build fix only.
22187 * DrawTest/DrawTestDocument.m:
22188 * DrawTest/DrawTestToolbarController.m:
22189 * DrawTest/DrawTestView.h:
22190 * DrawTest/DrawTestView.m:
22191 * DrawTest/SVGTest.m:
22192 * DrawTest/TestController.m:
22193 Updated for WebCore+SVG -> WebCore rename.
22194 http://bugs.webkit.org/show_bug.cgi?id=5141
22196 2005-09-26 Eric Seidel <eseidel@apple.com>
22200 * DumpRenderTree/DumpRenderTree.m:
22201 (dump): updated error message
22202 * Scripts/check-dom-results: now includes xhtml
22203 Tool updates for xhtml.
22204 http://bugs.webkit.org/show_bug.cgi?id=4907
22206 2005-09-22 Duncan Wilcox <duncan@mclink.it>
22208 Reviewed by Maciej.
22209 Landed by Darin Adler.
22211 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
22212 "Would like to simulate human interaction with webview"
22214 * DumpRenderTree/DumpRenderTree.m:
22215 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
22216 (+[EventSendingController isSelectorExcludedFromWebScript:]):
22217 (+[EventSendingController webScriptNameForSelector:]):
22218 (-[EventSendingController init]):
22219 (-[EventSendingController mouseDown]):
22220 (-[EventSendingController mouseUp]):
22221 (-[EventSendingController mouseMoveToX:Y:]):
22222 Add eventSender javascript object, that sends fake mouse events to the webview.
22224 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22225 link with Carbon.framework
22227 2005-09-22 Eric Seidel <eseidel@apple.com>
22231 Update tools for WebCore+SVG -> WebCore rename.
22232 Also fold several SVG specific tools into their original
22233 WebCore counterparts.
22234 http://bugs.webkit.org/show_bug.cgi?id=5003
22236 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
22237 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
22238 * Scripts/build-drawtest:
22239 * Scripts/build-dumpkcanvastree:
22240 * Scripts/build-webcore-svg: Removed.
22241 * Scripts/build-webkit: added --svg option
22242 * Scripts/run-drawtest:
22243 * Scripts/run-webkit-tests:
22244 * Scripts/webkitdirs.pm: various additions.
22245 * checkout: added --svg option
22246 * checkout-svg: Removed.
22248 2005-09-19 Eric Seidel <eseidel@apple.com>
22252 * Scripts/run-webkit-tests: added --guard-malloc option
22253 http://bugs.webkit.org/show_bug.cgi?id=4613
22255 2005-09-16 Justin Garcia <justin.garcia@apple.com>
22259 Removed a script that is only used by apple internal developers
22261 * Scripts/update-webkitsysteminterface: Removed.
22263 2005-09-16 Adele Peterson <adele@apple.com>
22265 Reviewed by Maciej.
22267 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
22269 2005-09-14 Darin Adler <darin@apple.com>
22271 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
22272 dumpAsText doesn't work with XHTML documents
22274 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
22275 rather than of the body element. This works with typical XHTML documents. We can probably
22276 do something even better in the long run, but this fixes the immediate issue.
22280 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
22281 run-safari instead of just using "open", which often runs another copy of Safari instead.
22283 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
22285 Reviewed, tweaked, and landed by Darin Adler.
22287 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
22288 .Mac prefpane crashes when Safari using CVS WebKit is running
22290 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
22291 * Scripts/run-webkit-app: Ditto.
22293 2005-09-11 Darin Adler <darin@apple.com>
22295 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
22297 2005-09-11 Darin Adler <darin@apple.com>
22301 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
22302 two ways: 1) puts all files in a directory before any files in a subdirectory, and
22303 2) sort file names with numeric digits in them in a logical way, so test-33 will come
22306 2005-09-08 Justin Garcia <justin.garcia@apple.com>
22310 * Scripts/update-webkitsysteminterface: Added.
22311 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
22313 2005-09-01 John Sullivan <sullivan@apple.com>
22315 * Scripts/run-webkit-tests:
22316 Excluded a known system leak to reduce noise; added comments about which leaks
22317 are being excluded.
22319 2005-09-01 Tim Omernick <tomernick@apple.com>
22321 Change made by Darin, reviewed by John and myself.
22323 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
22325 * Scripts/prepare-ChangeLog:
22327 2005-08-31 Maciej Stachowiak <mjs@apple.com>
22329 Reviewed by Darin Adler.
22331 - set color variant and font settings to a consistent value.
22332 (http://bugs.webkit.org/show_bug.cgi?id=4769)
22334 * DumpRenderTree/DumpRenderTree.m:
22337 2005-08-30 Eric Seidel <eseidel@apple.com>
22341 * Scripts/build-svg2png: Removed.
22342 * svg2png/ImageDiff.h: Removed.
22343 * svg2png/ImageDiff.m: Removed.
22344 * svg2png/svg2png.m: Removed.
22345 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
22346 * svg2png/svg2png_Prefix.pch: Removed.
22347 svg2png is no longer needed.
22349 2005-08-30 Darin Adler <darin@apple.com>
22351 * Scripts/check-dom-results: Special case 100% to say something nice.
22352 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
22353 applying the patch (need a better name).
22354 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
22356 2005-08-30 Darin Adler <darin@apple.com>
22358 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
22360 2005-08-29 Maciej Stachowiak <mjs@apple.com>
22362 Reviewed by Darin Adler.
22364 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
22365 (some pixel tests fail when AA settings are changed)
22367 * DumpRenderTree/DumpRenderTree.m:
22368 (main): set AA settings to the default values
22370 2005-08-29 Darin Adler <darin@apple.com>
22372 Reviewed by John Sullivan.
22374 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
22375 executable -- much slower but can help pinpoint leaks. Changed formatting of some
22378 2005-08-28 Maciej Stachowiak <mjs@apple.com>
22382 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
22383 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
22385 * DumpRenderTree/DumpRenderTree.m:
22386 (main): set scrollbar arrow setting to a consistent value
22388 2005-08-27 Jussi Hagman <juhagman@abo.fi>
22390 Reviewed and landed by Darin Adler.
22392 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
22393 output of update-webkit is too verbose
22395 * Scripts/update-webkit:
22396 Added option --quiet (-q) to decrease the amount of output.
22398 2005-08-27 Darin Adler <darin@apple.com>
22400 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
22401 cvs-create-patch --include-unknowns should ignore hidden files
22403 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
22405 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
22407 Reviewed, tweaked, and landed by Darin Adler.
22409 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
22410 update-webkit doesn't notice when you have SVGSupport and update properly
22412 * Scripts/update-webkit: Build SVGSupport directory if it's present.
22414 2005-08-25 Anders Carlsson <andersca@mac.com>
22416 Reviewed and landed by Darin Adler.
22418 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
22419 layout test machinery can't handle tests with applets that have code attributes
22421 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
22423 2005-08-24 Darin Adler <darin@apple.com>
22425 Reviewed by Maciej.
22427 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
22428 DumpRenderTree --pixel-tests crash
22429 - landed some other small changes I had sitting in my tree
22431 * DumpRenderTree/DumpRenderTree.m:
22432 (main): Don't bother saving and restoring the preferences. Not sure
22433 why this was ever done since the preferences are specific to DumpRenderTree.
22434 Clear delegates before releasing the WebView, because you can't count on the
22435 order of object deallocation.
22436 (dumpRenderTree): Fix code that releases a string before storing it in a
22439 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
22440 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
22442 2005-08-23 Eric Seidel <eseidel@apple.com>
22446 * Scripts/run-webkit-tests:
22447 Made --leaks option more readable by printing to a file.
22448 http://bugs.webkit.org/show_bug.cgi?id=4590
22450 2005-08-22 Eric Seidel <eseidel@apple.com>
22451 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
22455 * Scripts/run-webkit-tests: hides "expected actual diffs" links
22456 when they are not needed (for pixel-only failures)
22457 http://bugs.webkit.org/show_bug.cgi?id=4584
22459 2005-08-22 Eric Seidel <eseidel@apple.com>
22463 * Scripts/run-webkit-tests: Added the ability to display more than
22464 just two images as part of the image-diff "slideshow".
22465 Added display of "-w3c.png" baseline images for SVG.
22466 http://bugs.webkit.org/show_bug.cgi?id=4581
22468 2005-08-20 Eric Seidel <eseidel@apple.com>
22470 * Scripts/run-webkit-tests:
22471 "build" fix after committing incorrect version.
22473 2005-08-20 Eric Seidel <eseidel@apple.com>
22477 * DumpRenderTree/DumpRenderTree.m:
22478 (main): cleans up delegates
22479 (dumpRenderTree): closes CFString/CFURL leak
22480 * Scripts/run-webkit-tests:
22481 Adds --leaks option to run-webkit-tests
22482 http://bugs.webkit.org/show_bug.cgi?id=4542
22484 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
22486 Reviewed by Darin Adler.
22488 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
22489 new files to be included in the patch even without "cvs add".
22491 2005-08-19 Darin Adler <darin@apple.com>
22493 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
22494 non-cvs-generated patches. Anders has been creating these, so it's bad that
22495 the script can't handle them.
22496 * Scripts/cvs-unapply: Ditto.
22498 2005-08-18 Darin Adler <darin@apple.com>
22500 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
22501 "." in them -- based on complaint by someone here at Apple.
22503 2005-08-18 Eric Seidel <eseidel@apple.com>
22507 * Scripts/run-webkit-tests:
22508 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
22510 2005-08-17 Maciej Stachowiak <mjs@apple.com>
22512 - add file that I forgot in the last checkin
22514 * DumpRenderTree/ImageDiff.m: Added.
22516 (getImageFromStdin):
22518 (getDifferenceBitmap):
22519 (computePercentageDifferent):
22521 2005-08-17 Maciej Stachowiak <mjs@apple.com>
22523 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
22524 somewhat by me, and also tweaked by me a little bit.
22526 - better support for pixel-dumping
22527 - use checksums of the images so the tests are fast
22528 - change output format to make the tests run faster
22529 - don't dump pixel results for tests that dump as text
22531 * DumpKCanvasTree/DumpKCanvasTree.m:
22534 (md5HashStringForBitmap):
22536 (constrainSizeToMaximum):
22537 (getBitmapImageRepForSVGDocument):
22538 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
22539 * DumpRenderTree/DumpRenderTree.m:
22543 (md5HashStringForBitmap):
22544 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22545 * Scripts/run-webkit-tests:
22547 2005-08-17 Maciej Stachowiak <mjs@apple.com>
22549 Reviewed by Darin Adler.
22551 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
22553 * DumpRenderTree/DumpRenderTree.m:
22556 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
22558 Reviewed and landed by Darin Adler.
22560 - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
22561 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
22563 * Scripts/run-safari: Pass arguments through to Safari on command line.
22564 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
22566 2005-08-11 Eric Seidel <eseidel@apple.com>
22567 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
22569 Reviewed by eseidel.
22571 * DrawTest/TestController.m:
22572 (-[TestController imagePathForSVGPath:]):
22573 Fixed support for using TextViewer with the layout-tests.
22574 http://bugs.webkit.org/show_bug.cgi?id=4385
22576 2005-08-11 Maciej Stachowiak <mjs@apple.com>
22578 At Least Roughly Glanced At by Anders.
22580 - fix change with totally breaks the layout tests.
22582 * DumpRenderTree/DumpRenderTree.m:
22583 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
22584 load, to avoid dumping twice accidentally.
22586 2005-08-10 Eric Seidel <eseidel@apple.com>
22587 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
22591 * DumpRenderTree/DumpRenderTree.m:
22592 Added support for rendering to a PNG file.
22593 http://bugs.webkit.org/show_bug.cgi?id=3840
22595 2005-08-07 Eric Seidel <eseidel@apple.com>
22599 * Scripts/run-webkit-tests: added --svg option
22600 * Scripts/run-webkit-tests-svg: Removed.
22601 http://bugs.webkit.org/show_bug.cgi?id=4300
22603 2005-08-07 Eric Seidel <eseidel@apple.com>
22604 Changes by Ben La Monica <ben.lamonica@gmail.com>
22608 * svg2png/ImageDiff.h: Added.
22609 * svg2png/ImageDiff.m: Added.
22610 (getDifferenceBitmap):
22611 (computePercentageDifferent):
22612 (saveAnimatedGIFToFile):
22613 * svg2png/svg2png.m:
22614 (usage): added several new options
22615 (getBitmapForSVG): added NSBitmapImageRep generation
22616 (main): various argument changes.
22617 * svg2png/svg2png.xcodeproj/project.pbxproj:
22618 Several additions to provide image differencing functionality.
22619 http://bugs.webkit.org/show_bug.cgi?id=4193
22621 2005-08-07 Eric Seidel <eseidel@apple.com>
22625 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
22626 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
22627 Adding the first SVG layout tests:
22628 http://bugs.webkit.org/show_bug.cgi?id=4303
22630 2005-08-07 Darin Adler <darin@apple.com>
22632 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
22634 2005-08-06 Eric Seidel <eseidel@apple.com>
22638 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
22639 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
22640 * Scripts/build-dumpkcanvastree: Added.
22641 * Scripts/run-webkit-tests-svg: Added.
22642 Adds a DumpRenderTree-like tool for SVG which allows us to do
22643 text-based layout regression testing. This (like most of the
22644 SVG specific stuff) is temporary and will be replaced by
22645 DumpRenderTree once the DOMs and RenderTrees merge.
22646 http://bugs.webkit.org/show_bug.cgi?id=3917
22648 2005-08-06 Eric Seidel <eseidel@apple.com>
22652 * DrawTest/DrawTestView.m:
22653 (-[DrawTestView toggleFilterSupport:]): missing negation.
22654 One half of fix for toggling filter support.
22655 http://bugs.webkit.org/show_bug.cgi?id=4252
22657 2005-08-04 Eric Seidel <eseidel@apple.com>
22661 * Scripts/build-drawtest:
22662 * Scripts/build-dumprendertree:
22663 * Scripts/build-svg2png:
22664 * Scripts/build-webcore-svg:
22665 * Scripts/build-webkit:
22666 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
22667 Added checkRequiredSystemConfig and made all the build-* scripts
22668 use it to print a pretty warning when trying to compile on an
22669 unsupported system (less than 10.4, Xcode 2.1).
22670 http://bugs.webkit.org/show_bug.cgi?id=4280
22672 2005-08-04 Darin Adler <darin@apple.com>
22674 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
22675 the dead. It was removed by accident when someone was trying to work on the branch.
22677 2005-07-31 Darin Adler <darin@apple.com>
22679 - a little tools cleanup
22681 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
22682 project as a whole. Removed unused Default configuration.
22684 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
22686 2005-07-31 Duncan Wilcox <duncan@mclink.it>
22688 Reviewed and landed by Darin Adler.
22690 Add logging of editing delegate calls for regression checking.
22692 * DumpRenderTree/DumpRenderTree.m:
22694 setup editing delegate
22696 (-[DOMNode dumpPath]):
22697 (-[DOMRange dump]):
22698 utility for editing delegate logging
22700 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
22701 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
22702 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
22703 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
22704 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
22705 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
22706 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
22707 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
22708 (-[EditingDelegate webViewDidBeginEditing:]):
22709 (-[EditingDelegate webViewDidChange:]):
22710 (-[EditingDelegate webViewDidEndEditing:]):
22711 (-[EditingDelegate webViewDidChangeTypingStyle:]):
22712 log corresponding editing delegate methods
22714 (-[EditingDelegate webViewDidChangeSelection:]):
22715 log selection except when clearing selection after end of test (uses existing "done" flag)
22718 added clearing of selection after test
22720 2005-07-31 Eric Seidel <eseidel@apple.com>
22724 * Scripts/build-drawtest: Added.
22725 * Scripts/build-svg2png: Added.
22726 * Scripts/build-webcore-svg: Added.
22727 * Scripts/run-drawtest: Added.
22728 * Scripts/webkitdirs.pm: added checkSVGFrameworks
22729 Made it much easier to build WebCore+SVG.
22730 http://bugs.webkit.org/show_bug.cgi?id=4208
22732 2005-07-29 Eric Seidel <eseidel@apple.com>
22736 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
22737 Build fix. Removed bad path.
22739 2005-07-29 Eric Seidel <eseidel@apple.com>
22741 Reviewed by sullivan.
22743 * DrawTest/AppDelegate.h: Added.
22744 * DrawTest/AppDelegate.m: Added.
22745 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
22746 * DrawTest/DrawTestDocument.h: Added.
22747 * DrawTest/DrawTestDocument.m: Added.
22748 * DrawTest/DrawTestInspectorController.h: Added.
22749 * DrawTest/DrawTestInspectorController.m: Added.
22750 * DrawTest/DrawTestToolbarController.h: Added.
22751 * DrawTest/DrawTestToolbarController.m: Added.
22752 * DrawTest/DrawTestView.h: Added.
22753 * DrawTest/DrawTestView.m: Added.
22754 * DrawTest/DrawTest_Prefix.pch: Added.
22755 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
22756 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
22757 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
22758 * DrawTest/English.lproj/InfoPlist.strings: Added.
22759 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
22760 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
22761 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
22762 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
22763 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
22764 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
22765 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
22766 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
22767 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
22768 * DrawTest/Info.plist: Added.
22769 * DrawTest/SVGTest.h: Added.
22770 * DrawTest/SVGTest.m: Added.
22771 * DrawTest/ScalingImageView.h: Added.
22772 * DrawTest/ScalingImageView.m: Added.
22773 * DrawTest/TestController.h: Added.
22774 * DrawTest/TestController.m: Added.
22775 * DrawTest/TestViewerSplitView.h: Added.
22776 * DrawTest/TestViewerSplitView.m: Added.
22777 * DrawTest/main.m: Added.
22778 Adding simple cocoa app for testing SVG rendering, interaction.
22779 http://bugs.webkit.org/show_bug.cgi?id=4157
22781 2005-07-28 Eric Seidel <eseidel@apple.com>
22783 Reviewed by ggaren.
22785 * svg2png/svg2png.m: Added.
22786 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
22787 * svg2png/svg2png_Prefix.pch: Added.
22788 Added a simple test tool which dumps a PNG from an SVG using
22789 WebCore+SVG's SVG rendering support.
22790 http://bugs.webkit.org/show_bug.cgi?id=4156
22792 2005-07-26 Maciej Stachowiak <mjs@apple.com>
22794 Reviewed by Darin Adler.
22796 - new script to review the DOM layout test results and see where we stand
22797 on actual success and failure
22799 * Scripts/check-dom-results: Added.
22801 2005-07-25 Darin Adler <darin@apple.com>
22803 * Scripts/webkitdirs.pm: Check in missing line of code.
22805 2005-07-25 Darin Adler <darin@apple.com>
22807 - fixed problem that was causing JavaScriptCore test to fail
22808 (except for people who had set DYLD_FRAMEWORK_PATH)
22810 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
22811 Add code to parse configuration parameter so you can pass --deployment if you like.
22812 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
22814 * Scripts/update-javascriptcore-test-results: Add license header.
22816 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
22817 from @ARGV. This lets us use this option in commands that take other options and
22818 pass them along to a subsequent tool.
22820 2005-07-25 Darin Adler <darin@apple.com>
22822 Reviewed by Geoff Garen.
22824 - Fixed run-safari and gdb-safari to use the Safari application in the build results
22825 directory, if any, falling back to the one in the Applications directory otherwise.
22826 Does no harm for open source contributors who don't build Safari, and helps out the
22827 Safari team, since we do build Safari.
22829 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
22830 variable, and if that's not present, looks in either the build results directory or
22831 /Applications; factors code that was in both scripts before into a shared function.
22832 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
22833 now in Xcode 2.1 format and incompatible with older versions of Xcode.
22835 * Scripts/gdb-safari: Use safariPath.
22836 * Scripts/run-safari: Use safariPath.
22838 2005-07-22 Geoffrey Garen <ggaren@apple.com>
22840 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
22841 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
22843 Moved Tools/Scripts/update-mozilla-js-test-results to
22844 WebKitTools/Scripts/update-javascriptcore-test-results.
22848 * Scripts/run-javascriptcore-tests: Added.
22850 2005-07-21 Geoffrey Garen <ggaren@apple.com>
22852 Reviewed by Darin Adler.
22854 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
22856 2005-07-21 Geoffrey Garen <ggaren@apple.com>
22858 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
22860 2005-07-21 Geoffrey Garen <ggaren@apple.com>
22862 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
22864 2005-07-21 Geoffrey Garen <ggaren@apple.com>
22866 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
22868 2005-07-21 Geoffrey Garen <ggaren@apple.com>
22870 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
22872 2005-07-21 Geoffrey Garen <ggaren@apple.com>
22874 * Scripts/build-webkit:
22876 2005-07-12 Eric Seidel <eseidel@apple.com>
22880 * checkout-svg: Fixed error with symlink creation.
22882 2005-07-12 Eric Seidel <eseidel@apple.com>
22886 * checkout-svg: Added.
22887 Script to check out WebCore+SVG
22889 2005-06-30 Darin Adler <darin@apple.com>
22891 Changes based on input from Michael Kahl.
22893 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
22894 specify different style of "diff".
22895 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
22896 determineConfigurationProductDir works in all cases.
22898 2005-06-29 Darin Adler <darin@apple.com>
22900 - fixed bug which would result in multiple unwanted dumps in a single layout test
22902 * DumpRenderTree/DumpRenderTree.m:
22903 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
22904 "readyToDump" flag.
22905 (-[LayoutTestController waitUntilDone]): Update for name change.
22906 (-[LayoutTestController notifyDone]): Dump only if ready.
22907 (dumpRenderTree): Set up new boolean and update for name change.
22909 2005-06-29 Darin Adler <darin@apple.com>
22911 Changes by Timothy Hatcher.
22914 * Scripts/run-webkit-app: Added script to open an arbritrary application with
22915 a CVS built WebKit. Example: ./run-webkit-app Colloquy
22917 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
22918 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
22919 * Scripts/run-safari: Ditto.
22921 2005-06-26 Darin Adler <darin@apple.com>
22923 * Scripts/build-dumprendertree: Pass -project option so that having a second
22924 copy of the project (like the one Xcode 2.1 offers to make for you) that's
22925 out of date won't screw you up.
22926 * Scripts/build-webkit: Ditto.
22928 2005-06-23 Darin Adler <darin@apple.com>
22930 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
22932 2005-06-23 Darin Adler <darin@apple.com>
22934 Changes based on input from Michael Kahl.
22936 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
22937 directory passed in.
22939 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
22940 getcwd() in the code to find the base product dir. Added code to handle unusual
22941 base product directory values that use SRCROOT.
22943 2005-06-22 Darin Adler <darin@apple.com>
22945 Change by Anders Carlsson.
22947 - added support for dumping title changes
22949 * DumpRenderTree/DumpRenderTree.m:
22950 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
22951 if requested by JavaScript.
22952 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
22953 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
22954 (dumpRenderTree): Start flag as NO.
22956 2005-06-20 Darin Adler <darin@apple.com>
22958 Reviewed by Justin Garcia.
22960 * Scripts/run-webkit-tests: Report number of tests when they succeed.
22962 2005-06-18 Darin Adler <darin@apple.com>
22964 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
22965 in the hope of making the tool use less memory and run faster.
22967 2005-06-18 Darin Adler <darin@apple.com>
22969 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
22970 * Scripts/cvs-unapply: Ditto.
22972 2005-06-17 Maciej Stachowiak <mjs@apple.com>
22974 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
22975 benefit of all WebKit hackerdom
22977 * Scripts/prepare-ChangeLog: Added.
22979 2005-06-16 Darin Adler <darin@apple.com>
22981 - recent changes to XcodeOptions made it depend on the current directory
22982 The intent was to have the WebKitBuild directory be next to WebKitTools,
22983 not inside the various build directories. Workaround for now is to call
22984 XcodeOptions when the directory is set to the WebKit directory.
22986 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
22987 at the start of the script.
22988 * Scripts/build-webkit: Ditto.
22990 2005-06-15 Darin Adler <darin@apple.com>
22992 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
22994 2005-06-14 Darin Adler <darin@apple.com>
22996 Changes by Anders Carlsson.
22999 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
23000 Add gdb-safari script to launch Safari under gdb
23002 * Scripts/gdb-safari: Added.
23004 2005-06-12 Darin Adler <darin@apple.com>
23006 Changes by Stuart Morgan.
23009 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
23010 * Scripts/cvs-apply: Ditto.
23011 * Scripts/cvs-create-patch: Ditto.
23012 * Scripts/cvs-unapply: Ditto.
23013 * Scripts/run-webkit-tests: Ditto.
23014 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
23016 2005-06-12 Darin Adler <darin@apple.com>
23018 * Scripts/cvs-apply: Handle case of an empty patch better.
23019 * Scripts/cvs-unapply: Ditto.
23021 2005-06-12 Darin Adler <darin@apple.com>
23023 Changes by Michael Gaiman.
23026 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
23027 WebKit no longer builds after configuration supporting build changes
23029 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
23031 2005-06-12 Darin Adler <darin@apple.com>
23033 * Scripts/update-webkit: Make this script work when called from any directory.
23035 2005-06-12 Darin Adler <darin@apple.com>
23037 Reviewed by Maciej.
23038 Includes changes by Stuart Morgan as well as my own.
23040 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
23041 symrootXcodeOptions to set the -buildstyle option.
23042 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
23043 The new --development option does the same thing.
23044 * Scripts/run-safari: Ditto.
23045 * Scripts/run-webkit-tests: Ditto.
23046 * Scripts/update-webkit: Ditto.
23047 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
23049 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
23050 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
23051 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
23052 product directory. Read the default configuration from a file, overridable by a passed-in command-line
23055 2005-06-11 Darin Adler <darin@apple.com>
23057 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
23058 to execute the cvs diff commands.
23060 2005-06-11 Darin Adler <darin@apple.com>
23062 - added first cuts at some cvs scripts
23064 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
23065 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
23066 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
23067 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
23069 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
23071 * Scripts/cvs-abandon: Added.
23072 * Scripts/cvs-apply: Added.
23073 * Scripts/cvs-create-patch: Added.
23074 * Scripts/cvs-unapply: Added.
23076 2005-06-09 Darin Adler <darin@apple.com>
23078 Reviewed by Maciej.
23080 - fixed http://bugs.webkit.org/show_bug.cgi?id=3397
23081 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
23083 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
23084 for Foundation.framework. How was it ever wrong?
23086 - finally, I tested making the default build directory work; it works now
23088 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
23089 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
23090 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
23091 * Scripts/build-dumprendertree: Ditto.
23093 2005-06-09 Darin Adler <darin@apple.com>
23095 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
23096 work. Someone should try building without setting the Xcode build product directory now,
23097 and let me know if it works.
23099 2005-06-08 Darin Adler <darin@apple.com>
23101 - quick fix to try to get build scripts working again
23103 * Scripts/build-dumprendertree: Add FindBin.
23104 * Scripts/build-webkit: Ditto.
23105 * Scripts/run-safari: Ditto.
23106 * Scripts/run-webkit-tests: Ditto.
23107 * Scripts/update-webkit: Ditto.
23109 2005-06-08 Darin Adler <darin@apple.com>
23111 Reviewed by Maciej.
23113 - some build script enhancements
23115 * Scripts/build-dumprendertree: Changed to use webkitdirs.
23116 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
23118 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
23119 before Deplyment in that case.
23120 * Scripts/run-webkit-tests: Changed to use webkitdirs.
23121 * Scripts/update-webkit: Changed to use webkitdirs.
23123 * Scripts/webkitdirs.pm: Added.
23125 2005-06-08 Maciej Stachowiak <mjs@apple.com>
23127 Code change by Toby Peterson <toby@opendarwin.org>
23130 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
23131 get confused because build-webkit now makes even 2.0 build directories look
23134 2005-06-07 Darin Adler <darin@apple.com>
23136 Reviewed by Adele Peterson.
23138 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
23139 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
23140 so we can run tests with Xcode 2.1.
23142 2005-06-07 Darin Adler <darin@apple.com>
23144 Reviewed by Adele Peterson.
23146 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
23147 layout-tests directory to include additional sets of tests.
23149 2005-06-07 Darin Adler <darin@apple.com>
23151 * checkout: Added license.
23152 * Scripts/build-dumprendertree: Ditto.
23153 * Scripts/run-webkit-tests: Ditto.
23154 * Scripts/update-webkit: Ditto.
23156 2005-06-07 Darin Adler <darin@apple.com>
23158 Change by Toby Peterson <toby@opendarwin.org>.
23161 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
23162 * Scripts/run-safari: Ditto.
23164 2005-06-06 Maciej Stachowiak <mjs@apple.com>
23166 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
23168 2005-06-06 Maciej Stachowiak <mjs@apple.com>
23170 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
23172 2005-06-06 Maciej Stachowiak <mjs@apple.com>
23174 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
23176 2005-06-05 Darin Adler <darin@apple.com>
23178 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
23179 * Scripts/build-dumprendertree: Added.
23180 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
23181 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
23183 2005-06-05 Darin Adler <darin@apple.com>
23185 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
23187 2005-06-05 Darin Adler <darin@apple.com>
23189 - add run-webkit-tests script; not working yet but the pieces are there
23191 * Scripts/run-webkit-tests: Added.
23193 * DumpRenderTree/DumpRenderTree.m: Added.
23194 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
23195 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
23196 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
23198 2005-06-05 Darin Adler <darin@apple.com>
23200 - created module, first cut at Web Kit Open Source Project scripts
23202 * ChangeLog: Added.
23203 * Scripts/build-webkit: Added.
23204 * Scripts/run-safari: Added.
23205 * Scripts/update-webkit: Added.
23208 === creation of WebKitTools module ===