Rubber-stamped by Brady Eidson.
[webbrowser.git] / WebKitTools / ChangeLog-2009-06-16
blob534b2e6c608393d994adf3987e2c45155e1b9466
1 2009-06-15  Mark Rowe  <mrowe@apple.com>
3         Reviewed by Oliver Hunt.
5         Add a script to automate the rolling over of ChangeLog files when they grow too large.
7         * Scripts/roll-over-ChangeLogs: Added.
9 2009-06-15  Simon Fraser  <simon.fraser@apple.com>
11         Reviewed by Mark Rowe.
12         
13         <rdar://problem/6974857>
14         
15         Build with ENABLE_3D_RENDERING turned on by default on SnowLeopard.
17         * Scripts/build-webkit:
19 2009-06-12  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
21         Reviewed by Mark Rowe.
22         Reviewed by Simon Hausmann.
24         Refactor handling of options in the build-webkit script
25         
26         Options are now defined in one place, and then reused when creating
27         the usage help text, the arguments to GetOptions(), and when passing
28         the options on to the underlying port-dependent build systems.
29         
30         This allows the Qt port to read the defaults for the options from the
31         pro file (dynamically), and to pass the options on to qmake at build.
33         * Scripts/build-webkit:
34         * Scripts/webkitdirs.pm:
36 2009-06-15  Mark Rowe  <mrowe@apple.com>
38         Reviewed by Cameron Zwarich.
40         Fix <https://bugs.webkit.org/show_bug.cgi?id=26312>.
41         Bug 26312: Multiple copies of Safari opened with WebKit nightly and Safari 3.2.3
43         Skip the trampoline detection for versions of Safari < 4.0 as they don't play these
44         tricks, and having WebKitNightlyEnabler assume that we were in the trampoline was
45         preventing our LaunchServices trickery from being run.  This led to fresh copies of
46         WebKit.app being launched when a URL or file was opened from an external application
47         rather than the existing instance being reused.
49         * WebKitLauncher/WebKitNightlyEnabler.m:
50         (insideSafari4OnTigerTrampoline):
51         (enableWebKitNightlyBehaviour):
53 2009-06-13  Sam Weinig  <sam@webkit.org>
55         Rubber-stamped by Mark "Snowy" Rowe.
57         Update iExploder/htdocs/cssproperties.in by running update-iexploder-cssproperties.
59         * iExploder/htdocs/cssproperties.in:
61 2009-06-13  John Abd-El-Malek  <jam@chromium.org>
63         Reviewed by Eric Seidel.  Landed by Adam Barth.
65         Removed dead file.
66         https://bugs.webkit.org/show_bug.cgi?id=26308
68         * DumpRenderTree/win/TestNetscapePlugin/main.c: Removed.
70 2009-06-12  Jan Michael Alonzo  <jmalonzo@webkit.org>
72         Reviewed by Gustavo Noronha.
74         [Gtk] use strlen instead of g_utf8_strlen so we can enable more tests.
76         * DumpRenderTree/gtk/DumpRenderTree.cpp:
77         (dumpHistoryItem):
79 2009-06-12  Gustavo Noronha Silva  <gns@gnome.org>
81         Reviewed by Jan Alonzo.
83         https://bugs.webkit.org/show_bug.cgi?id=25599
84         [GTK] Enable more tests
86         Implement dumping of status callback.
88         * DumpRenderTree/gtk/DumpRenderTree.cpp:
89         (webViewStatusBarTextChanged):
90         (main):
92 2009-06-11  John Abd-El-Malek  <jam@chromium.org>
94         Reviewed by Steve Falkenburg.
96         https://bugs.webkit.org/show_bug.cgi?id=26306
98         Revert 42565 as it leads to DumpRenderTree crashing on startup because
99         Windows can't find CFURLCacheCopySharedURLCache in CoreNetwork.dll.
101         * DumpRenderTree/win/DumpRenderTree.cpp:
103 2009-06-10  Holger Hans Peter Freyther  <zecke@selfish.org>
105         Reviewed by Jan Alonzo.
107         [gtk] Change DumpRenderTree to use a GtkScrolledWindow instead of GtkFixed
109         Change the code to use GtkScrolledWindow and resize the GtkScrolledWindow
110         to pass more tests. Make sure the content is bigger than a thumbnail.
112         * DumpRenderTree/gtk/DumpRenderTree.cpp:
113         (runTest):
114         (main):
116 2009-06-10  Jan Michael Alonzo  <jmalonzo@webkit.org>
118         Reviewed by Gustavo Noronha.
120         Clear the frame name before we run each tests so we don't get
121         "someFloaString" or "3" in the target frame name.
123         * DumpRenderTree/gtk/DumpRenderTree.cpp:
124         (resetWebViewToConsistentStateBeforeTesting):
126 2009-06-10  Dan Bernstein  <mitz@apple.com>
128         Reviewed by Adele Peterson.
130         - add a LayoutTestController method for temporarily changing the WebKit
131           cache model
133         * DumpRenderTree/LayoutTestController.cpp:
134         (setCacheModelCallback): Added. Calls
135         LayoutTestController::setCacheModel() with the first argument as an
136         integer.
137         (LayoutTestController::staticFunctions): Added setCacheModel.
138         * DumpRenderTree/LayoutTestController.h:
139         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
140         (LayoutTestController::setCacheModel):
141         * DumpRenderTree/mac/DumpRenderTree.mm:
142         (setDefaultsToConsistentValuesForTesting): Reset the cache model to
143         WebCacheModelDocumentBrowser.
144         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
145         (LayoutTestController::setCacheModel): Added. Calls -[WebPreferences
146         setCacheModel:].
147         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
148         (LayoutTestController::setCacheModel):
149         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
150         (LayoutTestController::setCacheModel):
152 2009-06-09  Mark Rowe  <mrowe@apple.com>
154         Reviewed by Sam Weinig.
156         Have sunspider-compare-results use the system version of the jsc
157         command line binary as there's no good reason to rebuild from source
158         to simply compare results.
160         * Scripts/sunspider-compare-results:
162 2009-06-09  Simon Hausmann  <simon.hausmann@nokia.com>
164         Reviewed by Ariya Hidayat.
166         Removed setUseFixedLayout and renamed setFixedLayoutSize to
167         setFixedContentsSize.
169         * DumpRenderTree/qt/jsobjects.cpp:
170         (LayoutTestController::setFixedContentsSize):
171         * DumpRenderTree/qt/jsobjects.h:
173 2009-06-09  Simon Hausmann  <simon.hausmann@nokia.com>
175         Fix the Qt build, add missing function declaration.
177         * DumpRenderTree/qt/jsobjects.h:
179 2009-06-09  Mark Rowe  <mrowe@apple.com>
181         Reviewed by Dan Bernstein.
183         Fix <https://bugs.webkit.org/show_bug.cgi?id=24642>.
184         Bug 24642: REGRESSION: Nightly builds sometimes erroneously display a message about failing to launch successfully
186         Safari 4 on Tiger plays some shenanigans during launch that can confuse the nightly launcher application
187         in to running its initialization code too soon.
189         * WebKitLauncher/WebKitNightlyEnabler.m:
190         (insideSafariOnTigerTrampoline): Detect these shenanigans.
191         (enableWebKitNightlyBehaviour): Delay initialization when needed.
193 2009-06-08  Brady Eidson  <beidson@apple.com>
195         Reviewed by Antti Koivisto
197         Add dispatchPendingLoadRequests() to test fix for <rdar://problem/6727495>
199         * DumpRenderTree/LayoutTestController.cpp:
200         (dispatchPendingLoadRequestsCallback):
201         (LayoutTestController::staticFunctions):
202         * DumpRenderTree/LayoutTestController.h:
204         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
205         (LayoutTestController::dispatchPendingLoadRequests): Implement using [WebView _dispatchPendingLoadRequests] SPI
207         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
208         (LayoutTestController::dispatchPendingLoadRequests): Need implementations.
209         * DumpRenderTree/qt/jsobjects.cpp:
210         (LayoutTestController::dispatchPendingLoadRequests): Ditto.
211         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
212         (LayoutTestController::dispatchPendingLoadRequests): Ditto.
213         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
214         (LayoutTestController::dispatchPendingLoadRequests): Ditto.
216 2009-06-07  Mark Rowe  <mrowe@apple.com>
218         Rubber-stamped by Cameron Zwarich.
220         Delete the AccessibilityController that we allocated in -init.
222         * DumpRenderTree/mac/FrameLoadDelegate.mm:
223         (-[FrameLoadDelegate dealloc]):
225 2009-06-06  Mark Rowe  <mrowe@apple.com>
227         Reviewed by Dan Bernstein.
229         Factor out the code to check whether a library contains a given symbol in to a helper function.
231         * Scripts/webkitdirs.pm:
233 2009-06-06  Mark Rowe  <mrowe@apple.com>
235         Reviewed by Sam Weinig.
237         Detect when XHTML MP and WCSS are disabled and skip their associated regression tests.
239         * Scripts/run-webkit-tests:
240         * Scripts/webkitdirs.pm:
242 2009-06-06  Mark Rowe  <mrowe@apple.com>
244         Reviewed by Brady Eidson.
246         <rdar://problem/6778101> Four SSL-related test failures
248         With newer versions of CFNetwork we receive a NSURLErrorServerCertificateUntrusted error
249         code rather than the more specific NSURLErrorServerCertificateHasUnknownRoot that DumpRenderTree
250         was looking for.  Update DumpRenderTree to accommodate the different error code.
252         * DumpRenderTree/mac/FrameLoadDelegate.mm:
253         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
255 2009-06-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
257         Rubber-stamped by Simon Hausmann.
259         [Qt] Fix Perl warning when calling chdir with an empty/undefined path
260         
261         This happened when the included makespec was in the same directory as
262         the parent makespec, so the relative path between the two was empty.
264         * Scripts/webkitdirs.pm:
266 2009-06-04  Darin Adler  <darin@apple.com>
268         Reviewed by Tim Hatcher.
270         Fix crashes due to unbalanced start/stop observer calls.
272         * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added observingWebView.
273         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
274         (-[DumpRenderTreeWindow startObservingWebView]): Call stopObservingWebView
275         in case we're already observing some other WebView. Set observingWebView.
276         (-[DumpRenderTreeWindow stopObservingWebView]): Do nothing if
277         observingWebView is already NO. Clear observingWebView.
279 2009-06-03  David Hyatt  <hyatt@apple.com>
281         Reviewed by Sam Weinig.
283         * DumpRenderTree/mac/FrameLoadDelegate.mm:
284         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
285         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
286         (LayoutTestController::setMainFrameIsFirstResponder):
287         Remove explicit calls to _updateFocusedActiveState when the view is made first responder.
288         Focused state already properly updates when views become first responders, so these calls
289         are unnecessary.
291         (LayoutTestController::setWindowIsKey):
292         Explicitly call _updateActiveState when our window becomes key, since we're just faking it
293         and the notification won't be sent.
295 2009-06-02  Jessie Berlin  <jberlin@apple.com>
297         Reviewed by Mark Rowe.
298         
299         Add "replace" behavior so that it shows the addition part of the
300         replacement of the file first, and then shows the changes.
301         
302         Future: Add in showing the removal part of the replacement.
304         * Scripts/svn-create-patch:
306 2009-06-02  Brent Fulgham  <bfulgham@webkit.org>
308         Reviewed by Adam Roben.
310         Update WinLauncher for WebKitCreateInstance.
311         https://bugs.webkit.org/show_bug.cgi?id=26136
313         * WinLauncher/WinLauncher.cpp: Revise implementation to
314           use WebKitCreateInstance (rather than CoCreateInstance).
315         * WinLauncher/WinLauncher.h: Modify include path for
316           WebKit.h to match DumpRenderTree style.
317         * WinLauncher/WinLauncher.vcproj: Remove unnecessary
318           WebKit.tlb and EmbeddedIDL flags from build.
320 2009-06-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
322         Rubber-stamped by Adam Roben.
324         [Qt] Fix Perl warning about uninitialized value (passedConfiguration())
326         * Scripts/webkitdirs.pm:
328 2009-06-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
330         Rubber-stamped by Simon Hausmann.
332         Use File::Spec->tmpdir instead of hardcoded paths for tempfile() dir
333         
334         This fixes the Windows-build if the user does not have a /tmp directory.
336         * Scripts/bisect-builds:
338 2009-06-01  Yongjun Zhang  <yongjun.zhang@nokia.com>>
340         Reviewed by Holger Freyther.  Landed by Adam Barth.
342         <https://bugs.webkit.org/show_bug.cgi?id=26070>
344         [Qt] EventSender.keyDown doesn't support Arrow Up and Down keys.
345         Add Down and Up key support.
346         
347         * DumpRenderTree/qt/jsobjects.cpp:
348         (EventSender::keyDown):
350 2009-06-01  Mark Rowe  <mrowe@apple.com>
352         Reviewed by Sam Weinig.
354         svn-create-patch displays confusing "Broken pipe" errors from Subversion
355         when files have been renamed in local working copy.  This was happening
356         because we invoke 'svn info' to determine the URL that the file was copied
357         from, but we were closing the pipe to the subprocess before SVN had finished
358         writing its output.
360         * Scripts/prepare-ChangeLog: Consume all 'svn info' output before closing the file handle.
361         * Scripts/svn-create-patch: Ditto.
363 2009-05-31  Sam Weinig  <sam@webkit.org>
365         Reviewed by Dan Bernstein.
367         - implement LayoutTestController::clearAllDatabases() on
368           Windows.
370         Needed for storage/transaction-error-callback.html.
372         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
373         (LayoutTestController::clearAllDatabases):
375 2009-05-28  Dirk Schulze  <krit@webkit.org>
377         Reviewed by Nikolas Zimmermann.
379         Added new build flag --filters. More details in WebCore/ChangeLog.
381         * Scripts/build-webkit:
383 2009-05-28  Olivier DOLE  <odole@pleyo.com>
385         Reviewed by Maciej.
387         Add options to sunspider-compare-results to know which test suite to
388         compare (see bug #15941).
390         * Scripts/sunspider-compare-results:
392 2009-05-27  Mark Rowe  <mrowe@apple.com>
394         Rubber-stamped by Dan Bernstein.
396         Update build-webkit to handle a new version of WebKitSystemInterface.
398         * Scripts/build-webkit:
400 2009-05-27  Fridrich Strba  <fridrich.strba@bluewin.ch>
402         Reviewed by Maciej Stachowiak.
404         When building with MinGW, don't use the __declspec(dl{import,export})
405         decorations and rely on the linker to use its nifty auto-import feature.
406         It is extremely hard to get the decorations right with MinGW in general
407         and impossible in WebKit, where the resulting shared library is linking
408         together some static libraries.
410         * DumpRenderTree/config.h:
412 2009-05-23  Mark Rowe  <mrowe@apple.com>
414         Reviewed by Oliver Hunt.
416         Land the updated version of WebKitLauncher that the nightly builds have been using.
418         Changes include:
419         1) Support for self-updating via Sparkle.
420         2) Now respects the "Open using Rosetta" preference.
421         3) Passes environment variables through to the spawned Safari process.
422         4) Logs a list of extensions that are detected to the system console.
423         5) Disables extensions that are known to cause crashes too early in the
424            launch process to be detected by the extension-detection code.
426         * WebKitLauncher/Configurations/Base.xcconfig: Added.
427         * WebKitLauncher/Configurations/WebKitLauncher.xcconfig: Added.
428         * WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig: Added.
429         * WebKitLauncher/Info.plist:
430         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
431         * WebKitLauncher/WebKitNightlyEnabler.h: Added.
432         * WebKitLauncher/WebKitNightlyEnabler.m:
433         (myBundleDidLoad):
434         (myApplicationWillFinishLaunching):
435         (poseAsWebKitApp):
436         (webKitLauncherBundle):
437         (enableWebKitNightlyBehaviour):
438         * WebKitLauncher/WebKitNightlyEnablerSparkle.h: Added.
439         * WebKitLauncher/WebKitNightlyEnablerSparkle.m: Added.
440         (initializeSparkle):
441         (updatePermissionPromptDescription):
442         (skipSignatureVerificationInDownloadDidFinish):
443         (updateAlertPanel):
444         (updateAlertInitForAlertPanel):
445         (-[NSAlert webKitHandleButtonPress:]):
446         (setMethodImplementation):
447         * WebKitLauncher/main.m:
448         (displayErrorAndQuit):
449         (getLastVersionShown):
450         (saveLastVersionShown):
451         (getPathForStartPage):
452         (getCurrentVersion):
453         (getShowStartPageVersion):
454         (startPageDisabled):
455         (addStartPageToArgumentsIfNeeded):
456         (preferredArchitecture):
457         (myExecve):
458         (locateSafariBundle):
459         (currentMacOSXVersion):
460         (checkFrameworkPath):
461         (main):
463 2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>
465         Reviewed by Gustavo Noronha and Xan Lopez.
467         [Gtk] Enable database and localStorage support
468         https://bugs.webkit.org/show_bug.cgi?id=25629
470         Enable database and localStorage for running the storage/ tests.
472         * DumpRenderTree/gtk/DumpRenderTree.cpp:
473         (resetWebViewToConsistentStateBeforeTesting):
475 2009-05-23  David Kilzer  <ddkilzer@apple.com>
477         Part 1 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
479         <https://bugs.webkit.org/show_bug.cgi?id=25495>
481         Reviewed by Oliver Hunt.
483         * DumpRenderTree/ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
484         * DumpRenderTree/ForwardingHeaders/wtf/PassOwnPtr.h: Added.
486 2009-05-23  David Kilzer  <ddkilzer@apple.com>
488         resolve-ChangeLogs: Add missing newline to status message
490         * Scripts/resolve-ChangeLogs: Added newline to status message
491         that is printed when the -c|--continue switch is used but there
492         are unmerged files remaining in the git working directory.
494 2009-05-23  Eric Seidel  <eric@webkit.org>
496         Reviewed by Mark Rowe.
498         Add an error message to a die statement in run-webkit-tests
499         I hit this die when two users tried to run-webkit-tests at the same time. :(
501         * Scripts/run-webkit-tests:
503 2009-05-22  Andre Pedralho  <andre.pedralho@openbossa.org>
505         Reviewed by Simon Hausmann.
507         Fixed --makeargs usage in Qt build.
509         * Scripts/build-webkit:
511 2009-05-22  Zoltan Horvath  <horvath.zoltan.6@stud.u-szeged.hu>
513         Reviewed by Simon Hausmann.
515         Correcting error message on missing WEBKIT_TESTFONTS
516         environment varible in Qt-port.
518         * DumpRenderTree/qt/main.cpp:
519         (main):
521 2009-05-21  Eric Seidel  <eric@webkit.org>
523         Rubber-stamped by Antti Koivisto.
525         Make it possible to write js-only http tests by exposing a /js-test-resources alias.
526         https://bugs.webkit.org/show_bug.cgi?id=25915
528         Second attempt at landing, now using -c instead of -C to make sure
529         that mod_alias is loaded on Apache 1.x instances before using Alias.
531         * Scripts/run-webkit-httpd:
532         * Scripts/run-webkit-tests:
534 2009-05-21  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
536         Reviewed by Xan Lopez.
538         Default to running HTTP tests for GTK+.
540         * Scripts/run-webkit-tests:
542 2009-05-21  Darin Adler  <darin@apple.com>
544         Rolled the httpd changes out, since many machines (including the bots)
545         have an older version of Apache that does not support the Alias command.
546         Or maybe it's something else, but the bots are failing.
548         * Scripts/run-webkit-httpd: Rolled back.
549         * Scripts/run-webkit-tests: Ditto.
551 2009-05-21  Eric Seidel  <eric@webkit.org>
553         Reviewed by Geoffrey Garen.
555         Make it possible to write js-only http tests by exposing a /js-test-resources alias.
556         https://bugs.webkit.org/show_bug.cgi?id=25915
558         * Scripts/run-webkit-httpd:
559         * Scripts/run-webkit-tests:
561 2009-05-21  Andre Pedralho  <andre.pedralho@openbossa.org>
563         Reviewed by Gustavo Noronha.
565         Added --makeargs flag to the build script.
567         * Scripts/build-webkit:
568         * Scripts/webkitdirs.pm:
570 2009-05-14  Holger Hans Peter Freyther  <zecke@selfish.org>
572         Reviewed by Anders Carlsson.
574         https://bugs.webkit.org/show_bug.cgi?id=24510 where
576         Add testHasProperty and testHasMethod to the existing functions
577         of the PluginObject to be able to test the browser hasproperty
578         and hasmethod implementation. Invoke them from pluginInvoke.
580         Change the defines to an enum to avoid manually updating
581         NUM_METHOD_IDENTIFIERS and assigning numbers.
583         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
584         (testHasProperty): test hasproperty
585         (testHasMethod): test hasmethod
586         (pluginInvoke): invoke the two
588 2009-05-20  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
590         Reviewed by George Staikos.
592         BUG 25843: [Qt] Remove qt-port build flag
593         <https://bugs.webkit.org/show_bug.cgi?id=25843>
595         * DumpRenderTree/qt/DumpRenderTree.pro:
596         * Scripts/webkitdirs.pm:
598 2009-05-18  Eric Seidel  <eric@webkit.org>
600         Reviewed by Oliver Hunt.
602         Remove layoutTestController.addFileToPasteboardOnDrag and add eventSender.beginDragWithFiles
603         https://bugs.webkit.org/show_bug.cgi?id=25852
605         This allows us to now test multi-file file drags in DumpRenderTree per:
606         https://bugs.webkit.org/show_bug.cgi?id=25862
608         I removed the existing tests using addFileToPasteboardOnDrag()
609         and replaced them with a new test (editing/pasteboard/file-input-files-access)
610         which covers several more drag-drop cases.
612         I added a DumpRenderTreeFileDraggingSource class to avoid
613         the hack of if (!draggingSource) in [DumpRenderTreeDraggingInfo draggingSourceOperationMask]
615         New Test: editing/pasteboard/file-input-files-access.html
617         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
618         * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: Added.
619         * DumpRenderTree/DumpRenderTreeFileDraggingSource.m: Added.
620         (-[DumpRenderTreeFileDraggingSource draggingSourceOperationMaskForLocal:]):
621         * DumpRenderTree/LayoutTestController.cpp:
622         (LayoutTestController::LayoutTestController):
623         (LayoutTestController::staticValues): removed addFileToPasteboardOnDrag support
624         (LayoutTestController::staticFunctions): removed addFileToPasteboardOnDrag support
625         * DumpRenderTree/LayoutTestController.h:
626         * DumpRenderTree/mac/DumpRenderTree.mm:
627         (runTest): ASSERT that draggingInfo has been cleared
628         * DumpRenderTree/mac/EventSendingController.mm:
629         (+[EventSendingController isSelectorExcludedFromWebScript:]): Sorted selectors.
630         (+[EventSendingController webScriptNameForSelector:]): Sorted selectors.
631         (-[EventSendingController beginDragWithFiles:]):
632         (-[EventSendingController mouseMoveToX:Y:]):
633         (-[EventSendingController keyDown:withModifiers:]):
634         (-[EventSendingController fireKeyboardEventsToElement:]): removed spurious { }
635         * DumpRenderTree/mac/UIDelegate.mm:
636         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): removed addFileToPasteboardOnDrag support
638 2009-05-19  Kevin Ollivier  <kevino@theolliviers.com>
640         wxMSW build fixes for DRT.
642         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
643         (runTest):
644         * DumpRenderTree/wx/WorkQueueItemWx.cpp:
645         (LoadItem::invoke):
646         (ReloadItem::invoke):
647         (ScriptItem::invoke):
648         (BackForwardItem::invoke):
650 2009-05-18  Julien Chaffraix  <jchaffraix@webkit.org>
652         Bug 24569: Add some cookies tests
654         <https://bugs.webkit.org/show_bug.cgi?id=24569>
656         Patch by David Kilzer.
658         * Scripts/make-js-test-wrappers: Added regex to skip
659         cookies-test-(post|pre).js files.
661 2009-05-18  Kevin Ollivier  <kevino@theolliviers.com>
663         wx build fix. Use python-config to get Python linking info on Unix OSes. 
665         * wx/build-wxwebkit:
667 2009-05-18  Kevin Ollivier  <kevino@theolliviers.com>
669         wx build fix, initialize variable that doesn't get set on Windows.
671         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
672         (MyApp::OnInit):
674 2009-05-18  Jan Michael Alonzo  <jmalonzo@webkit.org>
676         Reviewed by Xan Lopez.
678         [Gtk] Various autotools build refactoring and fixes
679         https://bugs.webkit.org/show_bug.cgi?id=25286
681         Add -no-install and -no-fast-install to programs and tests that we
682         don't install. Also remove -O2 since this is already handled at
683         configure time.
685         * GNUmakefile.am:
687 2009-05-18  Julie Parent  <jparent@google.com>
689         Reviewed by Oliver Hunt.
691         https://bugs.webkit.org/show_bug.cgi?id=25846
692         Make eventSender dispatch a drag over event.
694         * DumpRenderTree/mac/UIDelegate.mm:
695         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
697 2009-05-18  Julie Parent  <jparent@google.com>
699         Reviewed by Eric Seidel.
701         https://bugs.webkit.org/show_bug.cgi?id=25716
703         * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
705 2009-05-18  Julie Parent  <jparent@google.com>
707         Reviewed by Eric Seidel.
709         https://bugs.webkit.org/show_bug.cgi?id=25716
711         * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
713 2009-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
715         Reviewed by Jan Michael Alonzo.
717         https://bugs.webkit.org/show_bug.cgi?id=25787
719         Merge r41819 into Gtk. Do not use printf but send messages
720         through the log command.
722         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
723         (log):
724         (webkit_test_plugin_new_instance):
725         (webkit_test_plugin_destroy_instance):
726         (webkit_test_plugin_set_window):
727         (webkit_test_plugin_handle_event):
729 2009-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
731         Reviewed by Jan Michael Alonzo.
733         https://bugs.webkit.org/show_bug.cgi?id=25787
735         Forward port r39877 from main.c of OSX to TestNetscapePlugin
736         of Gtk.
738         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
739         (webkit_test_plugin_new_instance):
741 2009-05-15  Kevin Ollivier  <kevino@theolliviers.com>
743         wx build fix. Don't parse args using getopt since it isn't available on Windows.
745         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
746         (MyApp::OnInit):
748 2009-05-15  Jan Michael Alonzo  <jmalonzo@webkit.org>
750         Reviewed by Holger Freyther.
752         [GTK] Implement layoutTestController.waitForPolicyDelegate
753         https://bugs.webkit.org/show_bug.cgi?id=25036
755         Connect to 'navigation-policy-decision-requested' and handle
756         waitForPolicy in the callback.
758         * DumpRenderTree/gtk/DumpRenderTree.cpp:
759         (invalidateAnyPreviousWaitToDumpWatchdog):
760         (webViewNavigationPolicyDecisionRequested):
761         (main):
762         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
763         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
764         (LayoutTestController::notifyDone):
765         (LayoutTestController::waitForPolicyDelegate):
767 2009-05-14  David Levin  <levin@chromium.org>
769         Reviewed by Eric Seidel.
771         https://bugs.webkit.org/show_bug.cgi?id=24704
773         Make paths where data is saved be scoped to the ~ directory,
774         so that one can run independent instances by setting CFFIXED_USER_HOME.
776         * DumpRenderTree/mac/DumpRenderTree.mm:
777         (libraryPath):
778         (setDefaultsToConsistentValuesForTesting):
779         (dumpFrameAsPDF):
781 2009-05-13  David Kilzer  <ddkilzer@apple.com>
783         Fix resolve-ChangeLogs when used with Subversion
785         Reviewed by Darin Adler.
787         Fixes the following issue when run on a Subversion repository:
789             $ ./WebKitTools/Scripts/resolve-ChangeLogs
790             ERROR: --continue may only be used with a git repository
792         * Scripts/resolve-ChangeLogs: Check for the boolean value of
793         $gitRebaseContinue, not whether it's defined, when validating
794         command-line switches.
796 2009-05-12  David Kilzer  <ddkilzer@apple.com>
798         Bug 21418: resolve-ChangeLogs should have a --continue option which does git rebase --continue
800         <https://bugs.webkit.org/show_bug.cgi?id=21418>
802         Reviewed by Darin Adler.
804         * Scripts/resolve-ChangeLogs: Added -c|--continue switch that
805         runs "git rebase --continue" before exiting the script.
806         (hasGitUnmergedFiles): Added.  Returns true if there are
807         unmerged files in the git repository.
809 2009-05-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
811         Reviewed by Holger Freyther.
813         [Qt] Make sure that public APIs are properly exported on all Qt platforms
814         https://bugs.webkit.org/show_bug.cgi?id=25601
816         * Scripts/webkitdirs.pm: Remove QT_SHARED define from Qt builds, define QT_MAKEDLL in WebCore.pro instead
818 2009-05-07  Kevin Ollivier  <kevino@theolliviers.com>
820         wx build fixes for Python extension and DRT.
822         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
823         (MyApp::OnInit):
824         * wx/build-wxwebkit:
826 2009-05-07  Steve Falkenburg  <sfalken@apple.com>
828         Remove manifest fixup from r42729 to fix clean builds.
830         * DumpRenderTree/win/DumpRenderTree.vcproj:
832 2009-05-06  Kevin Ollivier  <kevino@theolliviers.com>
834         wx build fix, fixes for wx trunk builds.
836         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
837         (MyApp::OnInit):
838         * wx/build-wxwebkit:
840 2009-05-06  Steve Falkenburg  <sfalken@apple.com>
842         Explicitly set WebKitPaintNativeControls to false to allow Windows results to match Mac.
844         Reviewed by Adam Roben.
846         * DumpRenderTree/win/DumpRenderTree.cpp:
847         (resetWebViewToConsistentStateBeforeTesting):
849 2009-05-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
851         Reviewed by Simon Hausmann.
853         Build QtWebKit as a framework on Mac
855         This implies both debug and release build by default, unless
856         one of the --debug or --release config options are passed to
857         the build-webkit script.
859         Frameworks can be disabled by passing CONFIG+=webkit_no_framework
860         to the build-webkit script.
862         To be able to build both debug and release targets in parallel
863         we have to use separate output directories for the generated
864         sources, which is not optimal, but required to avoid race conditions.
866         An optimization would be to only require this spit-up on Mac.
868         * Scripts/webkitdirs.pm:
870 2009-05-05  Darin Adler  <darin@apple.com>
872         Try to fix Mac build.
874         * DumpRenderTree/AccessibilityUIElement.cpp: (elementAtPointCallback): Initialize x and y.
876 2009-05-05  Maclolm MacLeod  <mmacleod@webmail.co.za>
878         Reviewed by Kevin Ollivier.
880         Have wxWebkit make use of gcc(4 and greater) hidden visibility feature
881         
882         https://bugs.webkit.org/show_bug.cgi?id=24345
884         * wx/build-wxwebkit:
886 2009-05-05  Chris Fleizach  <cfleizach@apple.com>
888         Reviewed by Beth Dakin.
890         Bug 25574: AXImageMap children links don't respond properly to accessibilityHitTest:
891         https://bugs.webkit.org/show_bug.cgi?id=25574
893         * DumpRenderTree/AccessibilityUIElement.cpp:
894         (elementAtPointCallback):
895         (getXCallback):
896         (getYCallback):
897         (AccessibilityUIElement::getJSClass):
898         * DumpRenderTree/AccessibilityUIElement.h:
899         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
900         (descriptionOfValue):
901         (AccessibilityUIElement::elementAtPoint):
902         (AccessibilityUIElement::role):
903         (AccessibilityUIElement::title):
904         (AccessibilityUIElement::description):
905         (AccessibilityUIElement::x):
906         (AccessibilityUIElement::y):
907         (AccessibilityUIElement::width):
908         (AccessibilityUIElement::height):
909         (AccessibilityUIElement::intValue):
910         (AccessibilityUIElement::minValue):
911         (AccessibilityUIElement::maxValue):
912         (AccessibilityUIElement::insertionPointLineNumber):
913         (AccessibilityUIElement::supportsPressAction):
914         (AccessibilityUIElement::lineForIndex):
915         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
916         (AccessibilityUIElement::elementAtPoint):
917         (AccessibilityUIElement::x):
918         (AccessibilityUIElement::y):
920 2009-05-06  Christian Dywan  <christian@twotoasts.de>
922         Reviewed by Gustavo Noronha.
924         http://bugs.webkit.org/show_bug.cgi?id=17066
925         [GTK] Improve frameloader signals
927         Update GtkLauncher to use the new load-status and progress properties
928         instead of the previous loading signals.
930         * GtkLauncher/main.c:
931         (update_title):
932         (notify_load_status_cb):
933         (notify_progress_cb):
934         (create_browser):
935         (create_window):
937 2009-05-05  Adam Roben  <aroben@apple.com>
939         Don't use pdevenv when building with VC++ Express
941         Fixes Bug 25308: REGRESSION (r42182): Build fails after following
942         build instructions on webkit.org fail when using VC++ Express
943         <https://bugs.webkit.org/show_bug.cgi?id=25308>
945         Reviewed by Eric Seidel.
947         * Scripts/webkitdirs.pm:
948         (setupCygwinEnv): When Visual Studio is installed, set $vcBuildPath to
949         point to pdevenv. When VC++ Express is installed, set $vcBuildPath to
950         point to VC++ Express, as before.
951         (buildVisualStudioProject): Use $vcBuildPath to build instead of
952         hard-coding pdevenv.
954 2009-05-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
956         Rubber-stamped by Simon Hausmann.
958         Mention --qt as an option in the build-webkit help
960         * Scripts/build-webkit:
962 2009-05-04  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
964         Reviewed by Alexey Proskuryakov.
966         Enable spell-checking in DumpRenderTree.
968         * DumpRenderTree/gtk/DumpRenderTree.cpp:
969         (resetWebViewToConsistentStateBeforeTesting):
971 2009-05-04  Kevin Ollivier  <kevino@theolliviers.com>
973         Reviewed by Eric Seidel.
974         
975         Initial DRT implementation for wx.
977         * DumpRenderTree/DumpRenderTree.h:
978         * DumpRenderTree/wx: Added.
979         * DumpRenderTree/wx/DumpRenderTree.bkl: Added.
980         * DumpRenderTree/wx/DumpRenderTreeWx.cpp: Added.
981         (LayoutWebViewEventHandler::LayoutWebViewEventHandler):
982         (LayoutWebViewEventHandler::bindEvents):
983         (LayoutWebViewEventHandler::OnLoadEvent):
984         (LayoutWebViewEventHandler::OnAlertEvent):
985         (LayoutWebViewEventHandler::OnConfirmEvent):
986         (LayoutWebViewEventHandler::OnPromptEvent):
987         (LayoutWebViewEventHandler::OnConsoleMessageEvent):
988         (LayoutWebViewEventHandler::OnReceivedTitleEvent):
989         (LayoutWebViewEventHandler::OnWindowObjectClearedEvent):
990         (notifyDoneFired):
991         (dumpFramesAsText):
992         (dump):
993         (runTest):
994         (MyApp::OnInit):
995         * DumpRenderTree/wx/DumpRenderTreeWx.h: Added.
996         * DumpRenderTree/wx/GCControllerWx.cpp: Added.
997         (GCController::collect):
998         (GCController::collectOnAlternateThread):
999         (GCController::getJSObjectCount):
1000         * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added.
1001         (LayoutTestController::~LayoutTestController):
1002         (LayoutTestController::addDisallowedURL):
1003         (LayoutTestController::clearBackForwardList):
1004         (LayoutTestController::copyDecodedHostName):
1005         (LayoutTestController::copyEncodedHostName):
1006         (LayoutTestController::display):
1007         (LayoutTestController::keepWebHistory):
1008         (LayoutTestController::notifyDone):
1009         (LayoutTestController::pathToLocalResource):
1010         (LayoutTestController::queueLoad):
1011         (LayoutTestController::setAcceptsEditing):
1012         (LayoutTestController::setCustomPolicyDelegate):
1013         (LayoutTestController::setMainFrameIsFirstResponder):
1014         (LayoutTestController::setTabKeyCyclesThroughElements):
1015         (LayoutTestController::setUseDashboardCompatibilityMode):
1016         (LayoutTestController::setUserStyleSheetEnabled):
1017         (LayoutTestController::setUserStyleSheetLocation):
1018         (LayoutTestController::setWindowIsKey):
1019         (LayoutTestController::setSmartInsertDeleteEnabled):
1020         (LayoutTestController::setJavaScriptProfilingEnabled):
1021         (LayoutTestController::setWaitToDump):
1022         (LayoutTestController::windowCount):
1023         (LayoutTestController::setPrivateBrowsingEnabled):
1024         (LayoutTestController::setAuthorAndUserStylesEnabled):
1025         (LayoutTestController::setPopupBlockingEnabled):
1026         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
1027         (LayoutTestController::execCommand):
1028         (LayoutTestController::setPersistentUserStyleSheetLocation):
1029         (LayoutTestController::clearPersistentUserStyleSheet):
1030         (LayoutTestController::clearAllDatabases):
1031         (LayoutTestController::setDatabaseQuota):
1032         (LayoutTestController::numberOfActiveAnimations):
1033         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1034         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1035         (LayoutTestController::setIconDatabaseEnabled):
1036         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1037         (LayoutTestController::isCommandEnabled):
1038         (LayoutTestController::webHistoryItemCount):
1039         (LayoutTestController::waitForPolicyDelegate):
1040         * DumpRenderTree/wx/WorkQueueItemWx.cpp: Added.
1041         (LoadItem::invoke):
1042         (ReloadItem::invoke):
1043         (ScriptItem::invoke):
1044         (BackForwardItem::invoke):
1045         * Scripts/build-dumprendertree:
1046         * Scripts/run-webkit-tests:
1047         * Scripts/webkitdirs.pm:
1048         * wx/build-wxwebkit:
1050 2009-05-03  Sam Weinig  <sam@webkit.org>
1052         Reviewed by Geoffrey Garen.
1054         Don't pass an exception parameter if we don't care about the value.
1056         * DumpRenderTree/win/EventSender.cpp:
1057         (keyDownCallback):
1059 2009-05-02  Darin Adler  <darin@apple.com>
1061         Reviewed by Sam Weinig.
1063         Another cut at getting tests passing on Windows again.
1065         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1066         (FrameLoadDelegate::didStartProvisionalLoadForFrame): Tweak formatting.
1067         (FrameLoadDelegate::didFailProvisionalLoadWithError): Ditto.
1068         (FrameLoadDelegate::didCommitLoadForFrame): Ditto.
1069         (FrameLoadDelegate::didFinishLoadForFrame): Ditto.
1070         (FrameLoadDelegate::didFailLoadWithError): Added missing logging.
1072 2009-05-02  Darin Adler  <darin@apple.com>
1074         Reviewed by Sam Weinig.
1076         Try to get tests passing on Windows again.
1078         * DumpRenderTree/win/DumpRenderTree.cpp:
1079         (shouldLogFrameLoadDelegates): Allow either "/" or "\" as a path
1080         separator. Also require separator before as well as after path name.
1082 2009-04-30  Kevin Ollivier  <kevino@theolliviers.com>
1084         wx build fix, define ENABLE_JAVASCRIPT_DEBUGGER.
1086         * wx/build-wxwebkit:
1088 2009-04-30  Dimitri Glazkov  <dglazkov@chromium.org>
1090         Reviewed by Timothy Hatcher.
1092         https://bugs.webkit.org/show_bug.cgi?id=25470
1093         Extend the cover of ENABLE_JAVASCRIPT_DEBUGGER to profiler.
1095         * Scripts/build-webkit: Added ENABLE_JAVASCRIPT_DEBUGGER define.
1097 2009-04-29  Mark Rowe  <mrowe@apple.com>
1099         Update build.webkit.org configuration for the addition of the new GTK buildbot.
1101         * BuildSlaveSupport/build.webkit.org-config/config.json:
1103 2009-04-29  Mark Rowe  <mrowe@apple.com>
1105         Ignore the --use-remote-links-to-tests option for GTK as it leads to
1106         perl errors being spewed at the end of run-webkit-tests.
1108         * Scripts/run-webkit-tests:
1110 2009-04-29  Mark Rowe  <mrowe@apple.com>
1112         Implement test-result-archive for GTK.
1114         * BuildSlaveSupport/test-result-archive:
1116 2009-04-28  Pierre d'Herbemont  <pdherbemont@apple.com>
1118         Reviewed by David Kilzer.
1120         https://bugs.webkit.org/show_bug.cgi?id=25462
1122         Make sure "--pixel --add-platform-exceptions" produces platform
1123         specific pixel test results.
1125         * Scripts/run-webkit-tests: Support "--pixel
1126         --add-platform-exceptions"
1128 2009-04-28  Steve Falkenburg  <sfalken@apple.com>
1130         Fix link warnings building TestNetscapePlugin on Windows due to mismatched
1131         DLL name vs. LIBRARY directive name.
1132         
1133         Reviewed by Jon Honeycutt.
1135         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def:
1136         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1137         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added.
1139 2009-04-28  Steve Falkenburg  <sfalken@apple.com>
1141         Fix warnings about PRODUCTION and ARCHIVE_BUILD on Windows builds
1142         of ImageDiff and DumpRenderTree.
1143         
1144         Rubber stamped by Adam Roben.
1146         * DumpRenderTree/win/DumpRenderTree.vcproj:
1147         * DumpRenderTree/win/ImageDiff.vcproj:
1149 2009-04-28  Chris Fleizach  <cfleizach@apple.com>
1151         Reviewed by Darin Adler.
1153         Add ability to get the children count of an AX element.
1155         * DumpRenderTree/AccessibilityUIElement.cpp:
1156         (getChildrenCountCallback):
1157         (AccessibilityUIElement::getJSClass):
1158         * DumpRenderTree/AccessibilityUIElement.h:
1159         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1160         (AccessibilityUIElement::childrenCount):
1161         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1162         (AccessibilityUIElement::childrenCount):
1164 2009-04-27  Jan Michael Alonzo  <jmalonzo@webkit.org>
1166         Reviewed by Gustavo Noronha.
1168         [GTK] Make layout tests / jsc tests usable without build-webkit
1169         https://bugs.webkit.org/show_bug.cgi?id=21784
1171         This requires WEBKITOUTPUTDIR to be set to the build directory.
1172         Set the location of the product dir to the location pointed to by
1173         WEBKITOUTPUTDIR.
1175         * Scripts/webkitdirs.pm:
1177 2009-04-27  Gustavo Noronha Silva  <gns@gnome.org>
1179         Reviewed by Adam Roben.
1181         Use libsoup's facilities to resolve relative URLs, instead, since
1182         it is a more robust method.
1184         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1185         (LayoutTestController::queueLoad):
1187 2009-04-26  Gustavo Noronha Silva  <gns@gnome.org>
1189         Reviewed by Xan Lopez.
1191         Resolve relative URLs when queueing loads. This fixes
1192         post-goback-same-url.html timing out.
1194         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1195         (LayoutTestController::queueLoad):
1197 2009-04-24  Kevin Ollivier  <kevino@theolliviers.com>
1199         wx build fix. Switching JSCore from a static lib to a dynamic lib
1200         to match the Apple build and fix symbol exports.
1202         * wx/build-wxwebkit:
1204 2009-04-24  Eric Seidel  <eric@webkit.org>
1206         Reviewed by Adam Roben.
1208         Add PrettyPatch support to run-webkit-tests
1210         * Scripts/run-webkit-tests:
1212 2009-04-24  Steve Falkenburg  <sfalken@apple.com>
1214         Fix nightly for Windows x64 users.
1215         Installed browser location is written to a slightly different registry key in that case.
1216         
1217         * FindSafari/FindSafari.cpp:
1218         (getInstalledWebKitDirectory):
1220 2009-04-23  Mark Rowe  <mrowe@apple.com>
1222         Fix the Windows DRT build.
1224         * DumpRenderTree/win/PolicyDelegate.h:
1226 2009-04-23  Brady Eidson  <beidson@apple.com>
1228         Fix Windows DRT build.
1230         * DumpRenderTree/win/PolicyDelegate.cpp:
1231         (PolicyDelegate::unableToImplementPolicyWithError):
1233 2009-04-22  Brady Eidson  <beidson@apple.com>
1235         Reviewed by Maciej Stachowiak
1237         Add additional support for test:
1238         <rdar://problem/5689748> - Cannot redirect to protocols handled by external applications.
1240         * DumpRenderTree/mac/PolicyDelegate.mm:
1241         (-[PolicyDelegate webView:unableToImplementPolicyWithError:frame:]): Dump formatted information when
1242           a policy cannot be implemented.
1244         * DumpRenderTree/win/PolicyDelegate.cpp:
1245         (PolicyDelegate::unableToImplementPolicyWithError): Ditto.
1246         * DumpRenderTree/win/PolicyDelegate.h:
1248 2009-04-22  Sam Weinig  <sam@webkit.org>
1250         Rubber-stamped by Darin Adler.
1252         Fix for <rdar://problem/6816957>
1253         Turn off Geolocation by default
1255         * Scripts/build-webkit:
1257 2009-04-21  Dan Bernstein  <mitz@apple.com>
1259         Reviewed by Jon Honeycutt.
1261         - dump the node in the element dictionary in the action information
1262           passed to the policy delegate
1264         * DumpRenderTree/mac/PolicyDelegate.mm:
1265         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1266         * DumpRenderTree/win/PolicyDelegate.cpp:
1267         (dumpPath):
1268         (PolicyDelegate::decidePolicyForNavigationAction):
1270 2009-04-21  Adam Roben  <aroben@apple.com>
1272         Windows build fix after r42726
1274         * DumpRenderTree/win/DumpRenderTree.cpp: Touched to force a rebuild.
1275         * DumpRenderTree/win/DumpRenderTree.vcproj: Delete any pre-r42726
1276         manifest files during the pre-build event.
1278 2009-04-21  Steve Falkenburg  <sfalken@apple.com>
1280         Use new WebKitCreateInstance API instead of CoCreateInstance
1281         or COMPtr's createInstance to instantiate WebKit COM objects.
1283         Reviewed by Adam Roben.
1285         * DumpRenderTree/win/DumpRenderTree.cpp:
1286         (initialize):
1287         (runTest):
1288         (createWebViewAndOffscreenWindow):
1289         (main):
1290         * DumpRenderTree/win/DumpRenderTree.vcproj:
1291         * DumpRenderTree/win/GCControllerWin.cpp:
1292         (GCController::collect):
1293         (GCController::collectOnAlternateThread):
1294         (GCController::getJSObjectCount):
1295         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1296         (LayoutTestController::keepWebHistory):
1297         (LayoutTestController::webHistoryItemCount):
1298         (LayoutTestController::setIconDatabaseEnabled):
1299         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1300         (LoadItem::invoke):
1302 2009-04-20  Timothy Hatcher  <timothy@apple.com>
1304         Stop using the fullDocumentTeardownEnabled WebPreference methods.
1305         Just set the WebKitEnableFullDocumentTeardownPreferenceKey default.
1307         Reviewed by Darin Adler.
1309         * DumpRenderTree/mac/DumpRenderTree.mm:
1310         (setDefaultsToConsistentValuesForTesting):
1311         (resetWebViewToConsistentStateBeforeTesting):
1313 2009-04-21  Geoffrey Garen  <ggaren@apple.com>
1315         Rubber-stamped by Adam Roben.
1316         
1317         Disabled one more Mozilla JS test because it fails intermittently on Windows.
1318         (See https://bugs.webkit.org/show_bug.cgi?id=25160.)
1320         * Scripts/run-javascriptcore-tests:
1322 2009-04-21  Adam Roben  <aroben@apple.com>
1324         Fix running run-safari and run-webkit-tests from the paths recommended
1325         on webkit.org
1327         Reviewed by Steve Falkenburg and Sam Weinig.
1329         * Scripts/run-webkit-nightly.cmd: Moved quotes from variable
1330         definitions to variable uses. Otherwise cmd.exe can get confused about
1331         the quoting.
1332         * Scripts/run-webkit-tests: Changed to use an absolute path to
1333         execAppWithEnv so that run-webkit-tests will work when run from
1334         outside the source tree.
1336 2009-04-21  Adam Roben  <aroben@apple.com>
1338         Rename JavaScriptCore_debug.dll to JavaScriptCore.dll in the Debug
1339         configuration
1341         This matches the naming scheme for WebKit.dll, and will be necessary
1342         once Safari links against JavaScriptCore.dll. This change also causes
1343         run-safari not to fail (because the launcher printed by FindSafari was
1344         always looking for JavaScriptCore.dll, never
1345         JavaScriptCore_debug.dll).
1347         Part of Bug 25305: can't run safari or drt on windows
1348         <https://bugs.webkit.org/show_bug.cgi?id=25305>
1350         Reviewed by Steve Falkenburg and Sam Weinig.
1352         * DumpRenderTree/win/DumpRenderTree.vcproj: Use
1353         $(WebKitDLLConfigSuffix) for naming JavaScriptCore.{dll,lib}.
1355 2009-04-21  Steve Falkenburg  <sfalken@apple.com>
1357         Update FindSafari for JavaScriptCore DLL changes.
1358         Also removed code previously needed to support running nightlies against Safari 3 on Windows.
1359         
1360         Reviewed by Mark Rowe.
1362         * FindSafari/FindSafari.cpp:
1363         (getStringValue):
1364         (getInstalledWebKitDirectory):
1365         (_tmain):
1367 2009-04-20  Darin Adler  <darin@apple.com>
1369         Reviewed by Sam Weinig.
1371         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added PlainTextController.h
1372         and PlainTextController.mm.
1374         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1375         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): Added PlainTextController
1376         as "window.plainText".
1378         * DumpRenderTree/mac/PlainTextController.h: Added.
1379         * DumpRenderTree/mac/PlainTextController.mm: Added.
1381 2009-04-20  Steve Falkenburg  <sfalken@apple.com>
1383         Separate JavaScriptCore.dll from WebKit.dll.
1384         Slight performance improvement or no change on benchmarks.
1385         
1386         Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
1387         and simplifies standalone JavaScriptCore builds.
1389         Reviewed by Oliver Hunt.
1391         * DumpRenderTree/config.h: Specify JS, WebKit exported data as __declspec(dllimport)
1392         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against JavaScriptCore.dll
1394 2009-04-20  Sam Weinig  <sam@webkit.org>
1396         Rubber-stamped by Tim Hatcher.
1398         Add licenses for xcconfig files.
1400         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1401         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1402         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1403         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
1404         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
1406 2009-04-19  David Kilzer  <ddkilzer@apple.com>
1408         Make FEATURE_DEFINES completely dynamic
1410         Reviewed by Darin Adler.
1412         Make FEATURE_DEFINES depend on individual ENABLE_FEATURE_NAME
1413         variables for each feature, making it possible to remove all
1414         knowledge of FEATURE_DEFINES from build-webkit.
1416         * Scripts/build-webkit: Define individual ENABLE_FEATURE_NAME
1417         variables instead of the whole FEATURE_DEFINES string when
1418         building with Xcode.  Miscellaneous clean up:
1419         - Reordered/sorted command-line switch variables.
1420         - Reordered/sorted command-line switches in $usage.
1421         - Reordered/sorted command-line switches in GetOptions().
1422         - Defined $svgSupport to true if any --svg-feature switch is
1423           set in order to match "Implies SVG Support" claim.
1424         - Build JavaScriptGlue after JavaScriptCore again!
1425         - Fixed --[no-]geolocation for GTK+ port and sorted GTK+
1426           command-line switches.
1427         - Added "exit 0" statement at the end of the script.
1429 2009-04-17  David Kilzer  <ddkilzer@apple.com>
1431         Simplify FEATURE_DEFINES definition
1433         Reviewed by Darin Adler.
1435         This moves FEATURE_DEFINES and its related ENABLE_FEATURE_NAME
1436         variables to their own FeatureDefines.xcconfig file.  It also
1437         extracts a new ENABLE_GEOLOCATION variable so that
1438         FEATURE_DEFINES only needs to be defined once.
1440         * Scripts/build-webkit: Realphabetized code related to enabling
1441         Geolation features for WebKit.  Also set ENABLE_GEOLOCATION
1442         variable for xcodebuild.
1444 2009-04-16  Darin Fisher  <darin@chromium.org>
1446         Reviewed by Darin Adler.
1448         https://bugs.webkit.org/show_bug.cgi?id=25223
1449         REGRESSION: Back button after form submission to the same URL fails to navigate.
1451         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1452         (-[FrameLoadDelegate processWork:]): Need to defer processing the work
1453         queue if a navigation started between locationChangeDone and our
1454         delayed processWork call.  This can happen when using queueLoadingScript
1455         to load script that simulates a click on a link or submit button since
1456         those clicks happen asynchronously.
1457         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1458         (FrameLoadDelegate::processWork): Same as above.
1460 2009-04-16  Geoffrey Garen  <ggaren@apple.com>
1462         Build fix: updated check-for-global-initializers to account for code motion.
1464         * Scripts/check-for-global-initializers:
1466 2009-04-16  Zan Dobersek  <zandobersek@gmail.com>
1468         Reviewed by Adam Roben.
1470         Compare test's response mime type and dump test as text properly.
1472         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1473         (dump):
1476 2009-04-16  Adam Roben  <aroben@apple.com>
1478         Skip yet another JavaScriptCore test that sometimes fails on Windows
1480         See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1481         not Mac)
1482         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1484         * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-6.js.
1486 2009-04-15  Steve Falkenburg  <sfalken@apple.com>
1488         Redo last build fix in a more straightforward way.
1490         * DumpRenderTree/win/DumpRenderTree.cpp:
1491         (sharedCFURLCache):
1493 2009-04-15  Steve Falkenburg  <sfalken@apple.com>
1495         Fix Windows build of DumpRenderTree.
1497         * DumpRenderTree/win/DumpRenderTree.cpp:
1498         (sharedCFURLCache):
1499         (main):
1501 2009-04-15  Adam Roben  <aroben@apple.com>
1503         Skip yet another JavaScriptCore test that sometimes fails on Windows
1505         See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1506         not Mac)
1507         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1509         * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-2.js (who
1510         didn't see it coming?).
1512 2009-04-14  Adam Roben  <aroben@apple.com>
1514         Skip another JavaScriptCore test that sometimes fails on Windows
1516         See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
1517         not Mac)
1518         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1520         Rubber-stamped by Geoff Garen.
1522         * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-3.js.
1524 2009-04-14  Kevin Ollivier  <kevino@theolliviers.com>
1526         wx build fix. Move the DerivedSources.make calls into build-wxwebkit so that
1527         the FEATURE_DEFINES are parsed properly.
1529         * wx/build-wxwebkit:
1531 2009-04-14  Adam Roben  <aroben@apple.com>
1533         Small run-javascriptcore-tests cleanup
1535         Reviewed by Cameron Zwarich.
1537         * Scripts/run-javascriptcore-tests: Move the list of tests to skip
1538         into its own variable, annotated with the bugs that are filed about
1539         the various failures.
1541 2009-04-14  Adam Roben  <aroben@apple.com>
1543         Skip another sometimes-failing ecma/Date test on Windows
1545         These failing tests are covered by Bug 25160: Various ecma/Date tests
1546         sometimes fail on Windows (but not Mac)
1547         <https://bugs.webkit.org/show_bug.cgi?id=25160>
1549         Reviewed by Cameron Zwarich.
1551         * Scripts/run-javascriptcore-tests: Added ecma/Date/15.9.2.1.js to the
1552         list of tests to skip.
1554 2009-04-14  Jan Michael Alonzo  <jmalonzo@webkit.org>
1556         Reviewed by Holger Freyther.
1558         [Gtk] disable soup auth dialog when running DRT
1559         https://bugs.webkit.org/show_bug.cgi?id=24598
1561         Disable soup's auth dialog when running the tests.
1563         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1564         (setDefaultsToConsistentStateValuesForTesting):
1565         * GNUmakefile.am:
1567 2009-04-13  Darin Adler  <darin@apple.com>
1569         Reviewed by Mark Rowe.
1571         * Scripts/check-for-exit-time-destructors: Add ERROR: and WARNING: prefixes to
1572         make these scripts work better with the build window in new versions of Xcode.
1573         * Scripts/check-for-global-initializers: Ditto.
1574         * Scripts/check-for-weak-vtables: Ditto.
1576 2009-04-13  Geoffrey Garen  <ggaren@apple.com>
1578         Reviewed by Sam Weinig.
1580         Disabled another JavaScriptCore test because it fails on Windows but
1581         not Mac, so it makes the bots red.
1583         * Scripts/run-javascriptcore-tests:
1585 2009-04-13  Geoffrey Garen  <ggaren@apple.com>
1587         Reviewed by Sam Weinig.
1589         Disabled two JavaScriptCore tests because they fail on Window or Mac but
1590         not both, so they make the bots red.
1592         * Scripts/run-javascriptcore-tests:
1594 2009-04-13  Darin Adler  <darin@apple.com>
1596         * Scripts/make-js-test-wrappers: Added another exception.
1598 2009-04-10  Adam Roben  <aroben@apple.com>
1600         Add our new test font to the list that DRT knows about
1602         Reviewed by Dan Bernstein.
1604         * DumpRenderTree/win/DumpRenderTree.cpp:
1605         (initialize): Added WebKit Layout Tests 2.ttf.
1607 2009-04-09  Jan Michael Alonzo  <jmalonzo@webkit.org>
1609         Unreviewed Gtk build fix for undefined reference: g_thread_init.
1610         Add GLIB_LIBS to DRT and GtkLauncher build config.
1612         * GNUmakefile.am:
1614 2009-04-09  David Kilzer  <ddkilzer@apple.com>
1616         Reinstating <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
1618         Rolled r42345 back in.  The build failure was caused by an
1619         internal script which had not been updated the same way that
1620         build-webkit was updated.
1622         * Scripts/build-webkit:
1624 2009-04-09  David Levin  <levin@chromium.org>
1626         Reviewed by David Kilzer.
1628         https://bugs.webkit.org/show_bug.cgi?id=25101
1630         Launch DumpRenderTree and the image diff tool in a way that will work from perl threads.
1631         This is a workaround due to a perl limitation. When perl does open* calls on a thread, it ignores
1632         the environment of the current thread and simply uses the environment of the main thread instead.
1634         * Scripts/execAppWithEnv: Added.
1635         * Scripts/run-webkit-tests:
1637 2009-04-09  Alexey Proskuryakov  <ap@webkit.org>
1639         Reverting <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings.
1640         It broke Mac build, and I don't know how to fix it.
1642         * Scripts/build-webkit:
1644 2009-04-08  David Kilzer  <ddkilzer@apple.com>
1646         <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
1648         Reviewed by Darin Adler and Maciej Stachowiak.
1650         Introduce the ENABLE_SVG_DOM_OBJC_BINDINGS feature define so
1651         that SVG DOM Objective-C bindings may be optionally disabled.
1653         * Scripts/build-webkit: Added --[no-]svg-dom-objc-bindings
1654         command-line argument.  Set special ENABLE_SVG_DOM_OBJC_BINDINGS
1655         Xcode variable required by WebCore.xcconfig.
1657 2009-04-07  Adam Roben  <aroben@apple.com>
1659         Print the number of files being compiled when using pdevenv
1661         * Scripts/parallelcl:
1663 2009-04-07  Mark Rowe  <mrowe@apple.com>
1665         Land the current build.webkit.org configuration for safekeeping.
1667         * BuildSlaveSupport/build.webkit.org-config/README: Added.
1668         * BuildSlaveSupport/build.webkit.org-config/Makefile:
1669         * BuildSlaveSupport/build.webkit.org-config/buildbot.tac:
1670         * BuildSlaveSupport/build.webkit.org-config/config.json: Added.
1671         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1672         * BuildSlaveSupport/build.webkit.org-config/public_html/buildbot.css: Renamed from BuildSlaveSupport/build.webkit.org-config/buildbot.css.
1673         * BuildSlaveSupport/build.webkit.org-config/public_html/index.html: Added.
1674         * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt: Added.
1675         * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Removed.
1676         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Removed.
1677         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Removed.
1678         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Removed.
1679         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Removed.
1680         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Removed.
1681         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Removed.
1682         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Removed.
1684 2009-04-07  Mark Rowe  <mrowe@apple.com>
1686         Ignore the mysterious exception that Cygwin's Python is throwing when attempting
1687         to remove the layout-test-results directory.
1689         * BuildSlaveSupport/test-result-archive:
1691 2009-04-07  Mark Rowe  <mrowe@apple.com>
1693         Change the working directory before removing the test result directory
1694         in the hopes of making the Windows build slaves happier.
1696         * BuildSlaveSupport/test-result-archive:
1698 2009-04-07  Mark Rowe  <mrowe@apple.com>
1700         Reviewed by Adam Roben.
1702         Make the links to tests in the uploaded results.html files on build.webkit.org point to the test files.
1704         * Scripts/VCSUtils.pm: Add a function that will return the location of a file relative to the root of the working copy.
1705         * Scripts/run-webkit-tests: Convert the path in to a remote URL if the path is below the layout tests directory.
1707 2009-04-07  Mark Rowe  <mrowe@apple.com>
1709         Remove the layout-test-results directory after we have archived it so that
1710         log files and results are reset between runs of the tests.
1712         * BuildSlaveSupport/test-result-archive:
1714 2009-04-07  Mark Rowe  <mrowe@apple.com>
1716         Helper script for uploading layout test results for display on build.webkit.org.
1718         * BuildSlaveSupport/test-result-archive: Copied from WebKitTools/BuildSlaveSupport/built-product-archive.
1720 2009-04-11  Brian Weinstein  <bweinstein@gmail.com>
1722         Reviewed by Darin Adler.
1724         https://bugs.webkit.org/show_bug.cgi?id=24908
1726         Allows timeout to be set in run-webkit-tests as a command line argument.
1728         * Scripts/run-webkit-tests:
1730 2009-04-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1732         Rubber-stamped by Tor Arne Vestbø.
1734         Add /Programs to the productDir for GTK+, instead of adding
1735         /JavaScriptCore, when running jsc.
1737         * Scripts/run-sunspider:
1739 2009-04-04  Kevin Ollivier  <kevino@theolliviers.com>
1741         Build fixes for wxMac/Tiger and PPC builds.
1743         * wx/build-wxwebkit:
1745 2009-04-04  Kevin Ollivier  <kevino@theolliviers.com>
1747         wx build fix. Update the version of ICU dlls.
1749         * wx/build-wxwebkit:
1751 2009-04-03  Stephanie Lewis  <slewis@apple.com>
1753         Reviewed by Mark Rowe.
1755         Fix running DumpRenderTree with a root.
1757         * Scripts/run-webkit-tests:
1759 2009-04-02  Adam Roben  <aroben@apple.com>
1761         Build fix for Windows machines that don't have WebKitTools/Scipts in
1762         their PATH
1764         * Scripts/pdevenv: Add WebKitTools/Scripts to PATH when launching
1765         Visual Studio/VC++ Express.
1767 2009-04-02  Adam Roben  <aroben@apple.com>
1769         Use pdevenv when building .vcproj files via our scripts
1771         Reviewed by Mark Rowe.
1773         * Scripts/webkitdirs.pm:
1774         (sub buildVisualStudioProject): Use pdevenv instead of invoking Visual
1775         Studio/VC++ Express directly.
1777 2009-04-01  Mark Rowe  <mrowe@apple.com>
1779         Windows support for built-product-archive.
1781         * BuildSlaveSupport/built-product-archive:
1783 2009-03-31  Adam Roben  <aroben@apple.com>
1785         Make resolve-ChangeLogs -f work when the working tree has spaces in
1786         its path
1788         Reviewed by Mark Rowe and David Kilzer.
1790         * Scripts/resolve-ChangeLogs:
1791         (sub fixMergedChangeLogs): Quote the path to resolve-ChangeLogs in
1792         case it contains spaces.
1794 2009-03-31  Alexey Proskuryakov  <ap@webkit.org>
1796         Reviewed by Darin Adler.
1798         https://bugs.webkit.org/show_bug.cgi?id=24777
1799         WebKit tools are broken on Tiger
1801         * Scripts/webkitdirs.pm: Don't use arch command with options on Tiger.
1803 2009-03-31  Darin Adler  <darin@apple.com>
1805         * Scripts/add-include: Added.
1807 2009-03-31  Mark Rowe  <mrowe@apple.com>
1809         Fix use of incorrect constant.
1811         * BuildSlaveSupport/built-product-archive:
1813 2009-03-30  Mark Rowe  <mrowe@apple.com>
1815         Rubber-stamped by Stephanie Lewis.
1817         Add a script in support of the new build.webkit.org configuration.
1819         * BuildSlaveSupport/built-product-archive: Added.
1821 2009-03-30  Darin Adler  <darin@apple.com>
1823         Reviewed by Sam Weinig.
1825         Make policy-delegate logging work even for local files by processing the URLs as we
1826         do for other delegates.
1828         * DumpRenderTree/mac/PolicyDelegate.mm:
1829         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1830         Use _drt_descriptionSuitableForTestResult on the URL.
1832         * DumpRenderTree/win/PolicyDelegate.cpp:
1833         (PolicyDelegate::decidePolicyForNavigationAction): Use urlSuitableForTestResult on the URL.
1835 2009-03-30  Adam Roben  <aroben@apple.com>
1837         Windows build fix
1839         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1840         (LayoutTestController::waitForPolicyDelegate): Added this empty stub.
1842         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1843         (LoadItem::invoke):
1844         (ScriptItem::invoke):
1845         Changed to use data members instead of removed member functions.
1847 2009-03-30  Jan Michael Alonzo  <jmalonzo@webkit.org>
1849         Gtk DRT build fix per changeset
1850         http://trac.webkit.org/changeset/42082. Not reviewed.
1852         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1853         (LoadItem::invoke):
1854         (ScriptItem::invoke):
1856 2009-03-29  Darin Adler  <darin@apple.com>
1858         * DumpRenderTree/qt/jsobjects.cpp: Rolled out changes to this file. Maybe this will fix
1859         Qt building of DumpRenderTree.
1861 2009-03-29  Darin Adler  <darin@apple.com>
1863         Reviewed by Cameron Zwarich.
1865         Bug 24922: change WorkQueue-based navigation tests to not depend on synchronous form submission
1866         https://bugs.webkit.org/show_bug.cgi?id=24922
1868         Don't rely on delegate methods to guess whether a queued step starts a load or not, because
1869         script-triggered loads can't be detected that way. Instead have the steps themselves indicate
1870         whether or not a load was triggered.
1872         * DumpRenderTree/LayoutTestController.cpp:
1873         (queueLoadingScriptCallback): Added. Version for scripts that perform loads.
1874         (queueNonLoadingScriptCallback): Added. Version for scripts that do not perform loads.
1875         (LayoutTestController::staticFunctions): Replaced queueScript with queueLoadingScript and
1876         queueNonLoadingScript.
1877         (LayoutTestController::queueBackNavigation): Moved here since it's platform-independent now.
1878         (LayoutTestController::queueForwardNavigation): Ditto.
1879         (LayoutTestController::queueLoadingScript): Replacement for queueScript. Here since it's
1880         platform-independent.
1881         (LayoutTestController::queueNonLoadingScript): Ditto.
1882         (LayoutTestController::queueReload): Moved here since it's platform-independent now.
1883         * DumpRenderTree/LayoutTestController.h: Ditto.
1885         * DumpRenderTree/WorkQueue.cpp:
1886         (WorkQueue::processWork): Added. Shared by the different platform's work queue implementations.
1887         * DumpRenderTree/WorkQueue.h: Ditto.
1889         * DumpRenderTree/WorkQueueItem.h: Changed the invoke function to return true if the item
1890         started a load. Removed unused getter functions. Made invoke functions private.
1891         Added LoadingScriptItem and NonLoadingScriptItem, making ScriptItem an abstract base.
1893         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1894         (processWork): Use the new WorkQueue::processWork function to implement the new rule.
1895         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Removed queue functions that are now
1896         platform-independent and in LayoutTestController.cpp.
1897         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1898         (LoadItem::invoke): Return true.
1899         (ReloadItem::invoke): Ditto.
1900         (ScriptItem::invoke): Ditto.
1901         (BackForwardItem::invoke): Ditto.
1903         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1904         (-[FrameLoadDelegate processWork:]): Use the new WorkQueue::processWork function to implement
1905         the new rule.
1906         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Removed queue functions that are now
1907         platform-independent and in LayoutTestController.cpp.
1908         * DumpRenderTree/mac/WorkQueueItemMac.mm:
1909         (LoadItem::invoke): Return true.
1910         (ReloadItem::invoke): Ditto.
1911         (ScriptItem::invoke): Ditto.
1912         (BackForwardItem::invoke): Ditto.
1914         * DumpRenderTree/qt/jsobjects.cpp:
1915         (LayoutTestController::processWork): Use the new WorkQueue::processWork function to implement
1916         the new rule. Removed queue functions that are now platform-independent and in
1917         LayoutTestController.cpp.
1919         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1920         (FrameLoadDelegate::processWork): Use the new WorkQueue::processWork function to implement
1921         the new rule.
1922         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Removed queue functions that are now
1923         platform-independent and in LayoutTestController.cpp.
1924         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1925         (LoadItem::invoke): Return false when we fail, true when we succeed.
1926         (ReloadItem::invoke): Ditto.
1927         (ScriptItem::invoke): Ditto.
1928         (BackForwardItem::invoke): Ditto.
1930 2009-03-28  Kevin Ollivier  <kevino@theolliviers.com>
1932         Reviewed by Eric Seidel.
1933         
1934         Always use wxGraphicsContext on Mac to ensure path, matrix, etc. support.
1936         * wx/build-wxwebkit:
1938 2009-03-27  Darin Adler  <darin@apple.com>
1940         Reviewed by Sam Weinig.
1942         * Scripts/extract-localizable-strings: Fixed version check for perl 5.10 compatibility.
1944 2009-03-27  Darin Adler  <darin@apple.com>
1946         Reviewed by Sam Weinig.
1948         Added waitForPolicyDelegate, a more-reliable way to make our mailto form submission
1949         tests work.
1951         * DumpRenderTree/AccessibilityController.cpp:
1952         (getFocusedElementCallback): Use static_cast instead of reinterpret_cast because there's
1953         no reason to use reinterpret_cast just to get from void* to a specific type.
1954         (getRootElementCallback): Ditto.
1955         * DumpRenderTree/AccessibilityUIElement.cpp:
1956         (toAXElement): Ditto.
1957         * DumpRenderTree/GCController.cpp:
1958         (collectCallback): Ditto.
1959         (collectOnAlternateThreadCallback): Ditto.
1960         (getJSObjectCountCallback): Ditto.
1961         * DumpRenderTree/LayoutTestController.cpp:
1962         (many functions):  Ditto.
1963         (waitForPolicyDelegateCallback): Added.
1964         (LayoutTestController::staticFunctions): Sorted functions by name.
1965         Added waitForPolicyDelegate.
1967         * DumpRenderTree/LayoutTestController.h: Sorted functions by name.
1968         Added waitForPolicyDelegate.
1970         * DumpRenderTree/mac/DumpRenderTree.mm:
1971         (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
1972         policy delegate.
1973         (runTest): Added an additional call to resetWebViewToConsistentStateBeforeTesting just
1974         before loading an empty page. This prevents extra policy delegate calls from being logged.
1976         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1977         (LayoutTestController::waitForPolicyDelegate): Added. Puts us into wait mode, and then
1978         tells the policy delegate to notify when done, then points the web view at the policy delegate.
1980         * DumpRenderTree/mac/PolicyDelegate.h: Added setControllerToNotifyDone: method.
1982         * DumpRenderTree/mac/PolicyDelegate.mm:
1983         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1984         Added code to do notifyDone if controllerToNotifyDone is set.
1985         (-[PolicyDelegate setControllerToNotifyDone:]): Added.
1987         * DumpRenderTree/win/DumpRenderTree.cpp:
1988         (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
1989         policy delegate. Also moved the call to resetUndoManager in here.
1990         (runTest): Removed the call to resetUndoManager (see above). Added an additional call to
1991         resetWebViewToConsistentStateBeforeTesting to match the Mac code.
1993         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1994         (LayoutTestController::setCustomPolicyDelegate): 0, not NULL.
1996         * DumpRenderTree/win/PolicyDelegate.cpp:
1997         (PolicyDelegate::PolicyDelegate): Initialize m_controllerToNotifyDone to 0.
1998         (PolicyDelegate::decidePolicyForNavigationAction): Added code to do notifyDone if
1999         m_controllerToNotifyDone is set.
2001         * DumpRenderTree/win/PolicyDelegate.h: Added setControllerToNotifyDone and
2002         m_controllerToNotifyDone.
2004 2009-03-27  Sam Weinig  <sam@webkit.org>
2006         Reviewed by Gavin Barraclough.
2008         Fix for https://bugs.webkit.org/show_bug.cgi?id=24765
2009         prepare-ChangeLog and svn-create-patch doesn't work with svn 1.6
2011         * Scripts/prepare-ChangeLog:
2012         * Scripts/svn-create-patch:
2014 2009-03-26  Darin Adler  <darin@apple.com>
2016         Reviewed by Geoff Garen.
2018         * Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to
2019         JSEventListener.
2021 2009-03-26  Darin Adler  <darin@apple.com>
2023         Reviewed by Geoff Garen.
2025         * Scripts/do-webcore-rename: Update for rename of JSEventListener to
2026         JSProtectedEventListener. This includes all the related renames, but
2027         not that one because that one renames the file.
2029 2009-03-26  Adam Roben  <aroben@apple.com>
2031         Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes
2032         under GuardMalloc)
2034         The previous limit was 60 seconds (or 10 minutes under GuardMalloc).
2035         There's no evidence that we need the limit to be this long, and having
2036         it be so long just makes timed-out tests take forever to complete.
2037         DRT's watchdog timer is 10 seconds, so still has time to fire before
2038         run-webkit-tests will cut it off.
2040         Reviewed by Simon Fraser.
2042         * Scripts/run-webkit-tests:
2043         (sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or
2044         2.5 mintues under GuardMalloc).
2046 2009-03-26  Adam Roben  <aroben@apple.com>
2048         Make DRT's watchdog timer actually work on Windows
2050         We were previously trying to use a CFRunLoopTimer for the watchdog
2051         timer on Windows. This doesn't work because we don't use a CFRunLoop
2052         on the main thread on Windows.
2054         This patch changes the watchdog timer on Windows be a normal Windows
2055         timer.
2057         Reviewed by Simon Fraser.
2059         * DumpRenderTree/DumpRenderTree.h: Moved declaration of
2060         waitToDumpWatchdog from here...
2061         * DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here.
2063         * DumpRenderTree/win/DumpRenderTree.cpp:
2064         (invalidateAnyPreviousWaitToDumpWatchdog): Added. This function
2065         cancels an existing watchdog timer.
2066         (dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will
2067         prevent watchdogs from previous tests firing during subsequent ones.
2068         This matches Mac's behavior.
2070         * DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of
2071         waitToDumpWatchdog.
2073         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2074         (waitUntilDoneWatchdogFired): Converted this to be a Windows
2075         TIMERPROC.
2076         (LayoutTestController::setWaitToDump): Changed to use SetTimer instead
2077         of CFRunLoopAddTimer.
2079 2009-03-25  Mark Rowe  <mrowe@apple.com>
2081         Rubber-stamped by Steve Falkenburg.
2083         Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends.
2085         * Scripts/run-webkit-tests:
2087 2009-03-24  Mark Rowe  <mrowe@apple.com>
2089         Fix the Tiger build some more.
2091         * DumpRenderTree/mac/TextInputController.m:
2093 2009-03-24  Mark Rowe  <mrowe@apple.com>
2095         Fix the Tiger build.
2097         * DumpRenderTree/mac/TextInputController.m:
2099 2009-03-24  Mark Rowe  <mrowe@apple.com>
2101         Reviewed by Jon "The Most Boring Man in the World" Honeycutt.
2103         Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does
2104         not differ between 32- and 64-bit.
2106         * DumpRenderTree/mac/TextInputController.m:
2107         (-[TextInputController characterIndexForPointX:Y:]):
2109 2009-03-24  Mark Rowe  <mrowe@apple.com>
2111         Reviewed by Sam Weinig.
2113         Use a different platform search path for tests and skip lists, so that Tiger doesn't end up
2114         using the Leopard skip list.  Tests and skip lists are now looked for in the directory for
2115         the current OS and the generic "mac" directory.  Tests and skip lists for newer OS versions are
2116         ignored.
2118         * Scripts/run-webkit-tests:
2120 2009-03-23  Stephanie  <slewis@apple.com>
2122         Fix root build.
2124         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2126 2009-03-23  Stephanie Lewis  <slewis@apple.com>
2128         Reviewed by Mark Rowe.
2130         Add production configuration for creating roots of WebKitTools.
2132         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2134 2009-03-23  Oliver Hunt  <oliver@apple.com>
2136         Reviewed by Geoff Garen.
2138         Make testapi run as part of the standard JavaScriptCore tests.
2140         We only run testapi on the mac as currently windows webkit doesn't
2141         place all the necessary files for testapi, and we also test the
2142         JSC/CF APIs as well.
2144         * Scripts/run-javascriptcore-tests:
2146 2009-03-21  Oliver Hunt  <oliver@apple.com>
2148         Reviewed by Mark Rowe.
2150         Make build-jsc build testapi and minidom in addition to jsc itself.
2152         * Scripts/build-jsc:
2154 2009-03-20  Anders Carlsson  <andersca@apple.com>
2156         Reviewed by Darin Adler.
2158         Only release the result NPVariant if the call to NPN_Invoke was successful.
2159         
2160         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2161         (testNPRuntime):
2163 2009-03-19  Gustavo Noronha Silva  <gns@gnome.org>
2165         Reviewed by Mark Rowe.
2167         Make determinePassedArchitecture always consume the --32-bit
2168         option, also in non-AppleMacWebkit platforms. Solution pointed out
2169         by Mark Rowe.
2171         * Scripts/webkitdirs.pm:
2173 2009-03-19  Mark Rowe  <mrowe@apple.com>
2175         Reviewed by Oliver Hunt.
2177         Work around <rdar://problem/6698023> by activating fonts from disk.
2179         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
2180         in the built products directory.
2181         * DumpRenderTree/mac/DumpRenderTree.mm:
2182         (activateFonts): Activate the fonts from disk.
2184 2009-03-18  Mark Rowe  <mrowe@apple.com>
2186         Reviewed by Dan Bernstein.
2188         <rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
2190         Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
2191         in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
2193         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2194         (log): Invoke console.log via the NPAPI.
2195         (NPP_Destroy): Call log instead of printf.
2196         (NPP_SetWindow): Ditto.
2197         (handleEventCarbon): Ditto.
2198         (handleEventCocoa): Ditto.
2199         (NPP_HandleEvent): Pass the instance in to the event handler.
2201 2009-03-17  Mark Rowe  <mrowe@apple.com>
2203         Reviewed by Oliver Hunt.
2205         Use the normal search rules for tests inside the platform directory.
2207         This allows tests inside the platform directory to have different results
2208         on different versions of Mac OS X.
2210         * Scripts/run-webkit-tests:
2212 2009-03-17  David Kilzer  <ddkilzer@apple.com>
2214         resolve-ChangeLogs should not die on unmerged non-ChangeLog files
2216         Reviewed by Adam Roben.
2218         Fixes the following bug in resolve-ChangeLogs:
2220             Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
2221             Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
2223         * Scripts/resolve-ChangeLogs:
2224         (findUnmergedChangeLogs): Check the result of findChangeLog() to
2225         make sure we don't add undef values to the list of files being
2226         returned.
2228 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
2230         Reviewed by Simon Fraser.
2232         Fix the usage of the $architecture variable for non-Apple-Mac
2233         ports.
2235         * Scripts/webkitdirs.pm:
2237 2009-03-17  David Kilzer  <ddkilzer@apple.com>
2239         Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
2241         <https://bugs.webkit.org/show_bug.cgi?id=24645>
2243         Reviewed by Mark Rowe.
2245         * Scripts/bisect-builds:
2246         (makeNightlyList): Added checks for Safari 4 Public Beta on
2247         Tiger and Leopard.
2249 2009-03-17  Simon Fraser  <simon.fraser@apple.com>
2251         Reviewed by Darin Adler
2253         https://bugs.webkit.org/show_bug.cgi?id=24396
2255         Change the terminology from '3D transforms' to '3D rendering'.
2257         * Scripts/build-webkit:
2258         * Scripts/run-webkit-tests:
2259         * Scripts/webkitdirs.pm:
2261 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
2263         Reviewed by Mark Rowe.
2265         Enable HTML5 media elements support by default also for the GTK+
2266         port.
2268         * Scripts/build-webkit:
2270 2009-03-17  Kevin Ollivier  <kevino@theolliviers.com>
2272         Reviewed by Mark Rowe.
2273         
2274         Tweak the BUILDING_ON_* defines so that they work with the default values set by
2275         AvailabilityMacros.h.
2276         
2277         https://bugs.webkit.org/show_bug.cgi?id=24630
2279         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2281 2009-03-17  Oliver Hunt  <oliver@apple.com>
2283         Reviewed by Alexey Proskuryakov.
2285         Make coverage testing more reliable by ensuring --coverage does not
2286         clobber configuration settings, and by removing the unnecessary 
2287         dependency on matplotlib.
2289         * CodeCoverage/regenerate-coverage-display:
2290         * Scripts/webkitdirs.pm:
2292 2009-03-16  Anders Carlsson  <andersca@apple.com>
2294         Reviewed by Darin Adler and John Sullivan.
2296         When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
2297         Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
2298         
2299         Instead, just zero out the member variable in invalidate.
2300         
2301         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2302         (pluginInvalidate):
2303         (pluginDeallocate):
2305 2009-03-16  Eric Seidel  <eric@webkit.org>
2307         Reviewed by Sam Weinig.
2308         
2309         REGRESSION: undo-iframe-location-change.html is failing on the buildbots
2310         https://bugs.webkit.org/show_bug.cgi?id=24626
2311         
2312         Added a call to [[webview undoManager] removeAllActions]
2313         to make sure anything left on the undo stack after one test
2314         will not affect any later test.
2316         * DumpRenderTree/mac/DumpRenderTree.mm:
2317         (resetWebViewToConsistentStateBeforeTesting):
2319 2009-03-14  Mark Rowe  <mrowe@apple.com>
2321         Reviewed by Dan Bernstein.
2323         Change the layout test result search policy for Mac OS X to fit better with the idea of
2324         newer OS versions improving on previous OS versions.
2326         The results for the latest version of Mac OS X are placed in the "mac" directory.  The
2327         results for older versions of Mac OS X are structured as a series of overlays.  When
2328         running on Leopard, the results in "mac-leopard" are searched before those in "mac".
2329         When running on Tiger, the results in "mac-tiger" are searched before those in
2330         "mac-leopard" and "mac".
2332         * Scripts/run-webkit-tests:
2334 2009-03-13  Mark Rowe  <mrowe@apple.com>
2336         Rubber-stamped by Dan Bernstein.
2338         Take advantage of the ability of recent versions of Xcode to easily switch the active
2339         architecture.
2341         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2343 2009-03-13  Mark Rowe  <mrowe@apple.com>
2345         Reviewed by Timothy Hatcher.
2347         Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
2349         The scripts will automatically target 64-bit if the system and hardware support it.  This can be
2350         overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
2351         to make the override persistent.
2353         * Scripts/build-webkit: Remove architecture-related code.
2354         * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
2355         * Scripts/run-javascriptcore-tests: Remove architecture-related code.
2356         * Scripts/run-safari: Ditto.
2357         * Scripts/run-webkit-tests: Ditto.
2358         * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments.  The --32-bit argument will set the
2359         architecture preference to the 32-bit architecture of the machine.  The --64-bit argument will remove any architecture
2360         override that is in effect so that 64-bit support will be automatically detected.
2361         * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
2362         auto-detection.
2364 2009-03-13  Anders Carlsson  <andersca@apple.com>
2366         Reviewed by Dan Bernstein.
2368         <rdar://problem/6610666> Revise the Cocoa event model text API
2370         Add a case statement for NPCocoaEventTextInput.
2371         
2372         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2373         (handleEventCocoa):
2375 2009-03-12  Kevin Ollivier  <kevino@theolliviers.com>
2377         wx build fix. Let DerivedSources.make know we want database APIs.
2379         * wx/build-wxwebkit:
2381 2009-03-12  David Kilzer  <ddkilzer@apple.com>
2383         Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
2385         <https://bugs.webkit.org/show_bug.cgi?id=24378>
2387         Reviewed by Adam Roben.
2389         * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
2390         and no file or directory names are specified on the command-line
2391         then try to find unmerged ChangeLog files based on 'svn stat' or
2392         'git diff'.  Added global $isGit and $isSVN variables so that
2393         isGit() and isSVN() only have to be called once.
2394         (findUnmergedChangeLogs): Added.
2396 2009-03-11  David Kilzer  <ddkilzer@apple.com>
2398         Clarify comments regarding order of FEATURE_DEFINES
2400         Rubber-stamped by Mark Rowe.
2402         * Scripts/build-webkit: Added warning about keeping
2403         FEATURE_DEFINES in order and the consequences when they are not.
2405 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
2407         Reviewed by Holger Freyther.
2409         Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
2410         https://bugs.webkit.org/show_bug.cgi?id=24487
2412         Also reset WebSettings to its default state for JavaScript
2413         profiling, Developer Extras and Private Browsing before running
2414         the test (can be after each test but we want to be consistent with
2415         other ports in this regard)
2417         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2418         (resetWebViewToConsistentStateBeforeTesting):
2419         (runTest):
2420         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2421         (LayoutTestController::setPrivateBrowsingEnabled):
2423 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
2425         Reviewed by Holger Freyther.
2427         [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
2428         https://bugs.webkit.org/show_bug.cgi?id=2260
2430         Add plugin support only for X11 builds
2432         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2433         (setDefaultsToConsistentStateValuesForTesting):
2434         * GNUmakefile.am:
2436 2009-03-08  Holger Hans Peter Freyther  <zecke@selfish.org>
2438         Reviewed by Mark Rowe.
2440         Implement setJavaScriptProfilingEnabled by enabling the Developer
2441         Extras and the JavaScript profiling on the WebKitWebInspector. After
2442         this change we pass the three enabled tests in fast/profiler.
2444         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2445         (runTest): Reset setJavaScriptProfilingEnabled after each test run
2446         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2447         (LayoutTestController::setJavaScriptProfilingEnabled):
2449 2009-03-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
2451         Reviewed by Holger Freyther.
2453         [Gtk] Enable http history tests
2454         https://bugs.webkit.org/show_bug.cgi?id=24394
2456         Get the index of the current item from the list of (history) items
2457         to print before adding the back history items to the list. This
2458         will make the 'curr' pointer point to the correct item in the
2459         actual results, therefore, passing some of the http/tests/history
2460         tests.
2462         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2463         (dumpBackForwardListForWebView):
2465 2009-03-06  Adam Treat  <adam.treat@torchmobile.com>
2467         Reviewed by George Staikos.
2469         When building QtWebKit in release mode make sure that QT_SHARED is defined
2470         otherwise none of the public API will be exported.  This leads to missing
2471         symbols and link errors if hidden-visibility is used.
2473         * Scripts/webkitdirs.pm:
2475 2009-03-06  Adam Roben  <aroben@apple.com>
2477         Change the isCygwin check in update-webkit to isAppleWinWebKit
2479         This matches a similar check in build-webkit, and is more correct.
2481         Reviewed by Alexey Proskuryakov.
2483         * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
2484         isAppleWinWebKit is true.
2486 2009-03-06  Adam Roben  <aroben@apple.com>
2488         Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
2489         present but out of date
2491         Reviewed by Alexey Proskuryakov.
2493         * Scripts/update-webkit-support-libs: Changed to use
2494         dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
2495         check to make sure the file is up-to-date. If it is out of date, print
2496         an error message and quit.
2497         (sub dieAndInstructToDownload): Added. Prints an error message and
2498         quits with an error.
2500 2009-03-03  Anders Carlsson  <andersca@apple.com>
2502         Reviewed by John Sullivan.
2504         https://bugs.webkit.org/show_bug.cgi?id=22884
2505         <rdar://problem/6449783>
2506         modified layout test crashes Safari
2508         Add destroyNullStream test function to the test plug-in.
2509         
2510         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2511         (destroyNullStream):
2512         (pluginInvoke):
2514 2009-03-03  Brady Eidson  <beidson@apple.com>
2516         Reviewed by Darin Adler
2518         Support layout test covering <rdar://problem/6616664>
2520         Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
2522         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2523         (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the 
2524           mainDocumentURL.
2525         
2526         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2527         (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
2529 2009-03-02  Sam Weinig  <sam@webkit.org>
2531         Reviewed by Mark Rowe.
2533         Enable Geolocation (except on Tiger and Leopard).
2535         * Scripts/build-webkit:
2537 2009-03-02  Kevin Ollivier  <kevino@theolliviers.com>
2539         Build fixes for wxWidgets Mac trunk build.
2541         * wx/build-wxwebkit:
2543 2009-03-02  Timothy Hatcher  <timothy@apple.com>
2545         Allow for multiline quoted text in JavaScript files when looking for function names.
2547         https://bugs.webkit.org/show_bug.cgi?id=24296
2549         Reviewed by David Kilzer.
2551         * Scripts/prepare-ChangeLog:
2553 2009-03-02  Adam Treat  <adam.treat@torchmobile.com>
2555         Reviewed by Eric Seidel.
2557         Add three new drt helper functions that enable all of the tests in
2558         LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
2560         * DumpRenderTree/qt/jsobjects.cpp:
2561         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2562         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2563         (LayoutTestController::numberOfActiveAnimations):
2564         * DumpRenderTree/qt/jsobjects.h:
2566 2009-03-02  Adam Roben  <aroben@apple.com>
2568         Windows build fix after r41349
2570         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2571         (AccessibilityUIElement::getChildrenWithRange):
2573 2009-03-01  Chris Fleizach  <cfleizach@apple.com>
2575         Reviewed by Oliver Hunt.
2577         Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
2579         Change getChildAtIndex() to get a range of children instead of all the children.
2580         This exercises code in WebCore that returns elements when asked for from a range.
2582         * DumpRenderTree/AccessibilityUIElement.h:
2583         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2584         (AccessibilityUIElement::getChildrenWithRange):
2585         (AccessibilityUIElement::getChildAtIndex):
2586         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2587         (AccessibilityUIElement::getChildrenWithRange):
2589 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
2591         Reviewed by Holger Freyther.
2593          [Gtk] get the HTTP layout tests going
2594          https://bugs.webkit.org/show_bug.cgi?id=24259
2596         Determine the frame's response and decide whether to dump as text
2597         or the render tree
2599         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2600         (dump):
2602 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
2604         Reviewed by Holger Freyther.
2606         [Gtk] get the HTTP layout tests going
2607         https://bugs.webkit.org/show_bug.cgi?id=24259
2609          Implement dumping of WebKitWebBackForwardList and its history
2610          items.
2612         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2613         (compareHistoryItems):
2614         (dumpHistoryItem):
2615         (dumpBackForwardListForWebView):
2616         (dump):
2617         (runTest):
2618         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2619         (LayoutTestController::clearBackForwardList):
2620         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2621         (BackForwardItem::invoke):
2623 2009-02-28  Zan Dobersek  <zandobersek@gmail.com>
2625          Reviewed by Holger Freyther.
2627          Set the resolution for the default screen to 72.0.
2628          This way, setting font sizes results in expected values.
2630          * DumpRenderTree/gtk/DumpRenderTree.cpp:
2631          (setDefaultsToConsistentStateValuesForTesting):
2633 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
2635         Reviewed by Holger Freyther.
2637         Adds a WebKitMakeArguments environment variable to enable passing
2638         of arguments such as '-j2' to make for the autotools build.
2640         * Scripts/webkitdirs.pm:
2642 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
2644         Reviewed by Holger Freyther.
2646         Add a GTK+-only option to enable GNOME Keyring when building.
2648         * Scripts/build-webkit:
2650 2009-02-28  Jan Michael Alonzo  <jmalonzo@webkit.org>
2652         Reviewed by Holger Freyther.
2654         [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
2655         https://bugs.webkit.org/show_bug.cgi?id=24076
2657         Refactor gtk lib detection and put it in builtDylibPathForName
2659         * Scripts/webkitdirs.pm:
2661 2009-02-28  Christian Dywan  <christian@twotoasts.de>
2663         Rubber-stamped by Holger Freyther.
2665         * GtkLauncher/main.c:
2666         (activate_uri_entry_cb):
2667         (main): Use the new webkit_web_view_load_uri to open URIs.
2669 2009-02-27  Xan Lopez  <xan@gnome.org>
2671         Rubber-stamped by Alexey Proskuryakov.
2673         https://bugs.webkit.org/show_bug.cgi?id=24222
2674         [GTK] Remove checks for old glib versions
2676         libsoup, which is a hard dependency, needs at least glib 2.15.3,
2677         so remove all glib checks for versions older than that.
2679         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2680         (LayoutTestController::setWaitToDump):
2682 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
2684         Reviewed by Eric Seidel
2686         Fix spew about a WebView being deallocated while key value observers are
2687         still registered with it by making sure that we always stop observing
2688         _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
2689         
2690         * DumpRenderTree/mac/DumpRenderTree.mm:
2691         (dumpRenderTree):
2692         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2693         (-[DumpRenderTreeWindow close]):
2695 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
2697         Reviewed by Alexey Proskuryakov.
2699         Do not queue the calls to 'DumpRenderTree::dump()' as this can result
2700         in more than one call as a test that calls 'notifyDone()' can then be
2701         subsequently fully loaded and initiate a second dump.  Also make sure
2702         to stop any existing page load that is happening before running the next
2703         test.  Combined this serves to produce 217 more passing tests for the
2704         Qt port or roughly 5% at this point.
2706         * DumpRenderTree/qt/DumpRenderTree.cpp:
2707         (WebCore::DumpRenderTree::DumpRenderTree):
2708         (WebCore::DumpRenderTree::open):
2710 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
2712         Reviewed by Dan Bernstein
2714         https://bugs.webkit.org/show_bug.cgi?id=23854
2716         Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
2717         property of the WebView, and use that to turn -autodisplay on and off.
2718         This is necessary so that accelerated animations start correctly.
2719         We can thus remove the -display hack in createBitmapContextFromWebView().
2721         * DumpRenderTree/mac/DumpRenderTree.mm:
2722         (createWebViewAndOffscreenWindow):
2723         (dumpRenderTree):
2724         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2725         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2726         (-[DumpRenderTreeWindow close]):
2727         (-[DumpRenderTreeWindow webView]):
2728         (-[DumpRenderTreeWindow startObservingWebView]):
2729         (-[DumpRenderTreeWindow stopObservingWebView]):
2730         (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
2731         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2732         (createBitmapContextFromWebView):
2734 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
2736         Reviewed by Zack Rusin.
2738         https://bugs.webkit.org/show_bug.cgi?id=24158
2739         Implement the queue*() methods of the layoutTestController and begin
2740         implementing the dump of the back/forward list.  This results in 2% more
2741         tests passing as well as 23 currently skipped tests now passing.
2743         * DumpRenderTree/qt/DumpRenderTree.cpp:
2744         (WebCore::DumpRenderTree::dumpBackForwardList):
2745         (WebCore::DumpRenderTree::dump):
2746         * DumpRenderTree/qt/DumpRenderTree.h:
2747         * DumpRenderTree/qt/DumpRenderTree.pro:
2748         * DumpRenderTree/qt/jsobjects.cpp:
2749         (findFrameNamed):
2750         (LoadItem::invoke):
2751         (ReloadItem::invoke):
2752         (ScriptItem::invoke):
2753         (BackForwardItem::invoke):
2754         (LayoutTestController::reset):
2755         (LayoutTestController::processWork):
2756         (LayoutTestController::maybeDump):
2757         (LayoutTestController::queueBackNavigation):
2758         (LayoutTestController::queueForwardNavigation):
2759         (LayoutTestController::queueLoad):
2760         (LayoutTestController::queueReload):
2761         (LayoutTestController::queueScript):
2762         * DumpRenderTree/qt/jsobjects.h:
2763         (LayoutTestController::shouldDumpBackForwardList):
2764         (LayoutTestController::dumpBackForwardList):
2766 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
2768         Reviewed by Alexey Proskuryakov.
2770         Don't print out that you are generating new results if you are not in fact
2771         generating new results and disable generating new results by default for
2772         the all ports other than the canonical Apple Mac port since this can litter
2773         the source directory with hundreds of new results since other ports
2774         are not as up to date.
2776         * Scripts/run-webkit-tests:
2778 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
2780         Reviewed by Cameron Zwarich.
2782         The Qt port does not support these yet nor does the nm check work with
2783         QMake based build.
2785         * Scripts/webkitdirs.pm:
2787 2009-02-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
2789         Reviewed by Alexey Proskuryakov.
2791         [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
2792         https://bugs.webkit.org/show_bug.cgi?id=24072
2794         Allow toggling of 3D transforms and HTML5 channel messaging
2795         support for the Autotools (Gtk) build.
2797         Also add '--gtk' in the build-webkit help doc and fix autotools
2798         option for web-workers support.
2800         * Scripts/build-webkit:
2802 2009-02-23  Xan Lopez  <xan@gnome.org>
2804         Reviewed by Alexey Proskuryakov.
2806         https://bugs.webkit.org/show_bug.cgi?id=22624
2807         [SOUP][GTK] Need API to get SoupSession from WebKit.
2809         Add soup flags now that dependency is explicit.
2811         * GNUmakefile.am:
2813 2009-02-22  Mark Rowe  <mrowe@apple.com>
2815         Reviewed by Oliver Hunt.
2817         Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
2819         * DumpRenderTree/mac/DumpRenderTree.mm:
2820         (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
2821         than of an arbitrary existing method on the class.
2823 2009-02-13  Eric Seidel  <eric@webkit.org>
2825         Rubber-stamped by Alexey Proskuryakov.
2827         Add a few ignores to make-js-test-wrappers.
2829         * Scripts/make-js-test-wrappers:
2831 2009-02-17  Holger Hans Peter Freyther  <zecke@selfish.org>
2833         Reviewed by Alexey Proskuryakov.
2835         Prepend file:// to the test result filename to make
2836         GtkLauncher display the result page.
2838         * Scripts/run-webkit-tests:
2840 2009-02-16  Gustavo Noronha Silva  <gns@gnome.org>
2842         Reviewed by Adam Roben
2844         Actually use the installation prefix defined in WebKitInstallationPrefix,
2845         in autotools builds.
2847         * Scripts/webkitdirs.pm:
2849 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
2851         No review.
2853         Remove debugging code which was committed by mistake.
2855         * Scripts/run-webkit-tests:
2857 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
2859         Reviewed by Adam Roben
2861         https://bugs.webkit.org/show_bug.cgi?id=23928
2863         Add detection of accelerated compositing and 3d transforms,
2864         and add various directories to $ignoredDirectories when these
2865         features are off.
2867         * Scripts/run-webkit-tests:
2868         * Scripts/webkitdirs.pm:
2870 2009-02-12  Adam Roben  <aroben@apple.com>
2872         Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
2873         contains non-existent tests is confusing and is given for disabled
2874         tests
2876         <https://bugs.webkit.org/show_bug.cgi?id=23922>
2878         We now no longer warn about disabled tests. The warning now reads:
2880         Skipped list contained '$item', but no file of that name could be
2881         found
2883         Reviewed by John Sullivan.
2885         * Scripts/run-webkit-tests:
2886         (top level): Pass the list name to processIgnoreTests so it can print
2887         out a reasonable warning message.
2888         (processIgnoreTests): Take a list name as a second parameter and use
2889         it to display a better warning message. Also check for a "-disabled"
2890         version of the test before warning about it not existing.
2892 2009-02-11  Adam Roben  <aroben@apple.com>
2894         Windows fix for Bug 22239: Implement missing animation & transition
2895         APIs on LayoutTestController for non-mac platforms
2897         <https://bugs.webkit.org/show_bug.cgi?id=22239>
2899         Reviewed by Simon Fraser.
2901         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2902         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2903         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2904         (LayoutTestController::numberOfActiveAnimations):
2905         Implemented these by calling through to IWebFramePrivate.
2907 2009-02-10  Chris Marrin  <cmarrin@apple.com>
2909         Reviewed by Simon Fraser.
2911         * Scripts/build-webkit:
2913         https://bugs.webkit.org/show_bug.cgi?id=23883
2915         Added support --3d-transforms. Defaults to off
2917 2009-02-11  Adam Roben  <aroben@apple.com>
2919         Fix crashes in http/tests/history/redirect-301.pl and friends on
2920         Windows
2922         Reviewed by Alexey Proskuryakov.
2924         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2925         (LayoutTestController::webHistoryItemCount): Null-check the shared
2926         WebHistory instance before dereferencing it.
2928 2009-02-10  Adam Roben  <aroben@apple.com>
2930         Fix Bug 23869: Pixel tests can't be run on Windows
2932         <https://bugs.webkit.org/show_bug.cgi?id=23869>
2934         This patch gets the pixel tests limping along on Windows again.
2936         Reviewed by Dan Bernstein.
2938         * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
2939         Debug_Internal configuration of ImageDiff in the Debug_Internal
2940         configuration of this solution.
2942         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2943         (printPNG): Changed to call fwrite in a loop, since this call was
2944         failing due to the buffer being too large on Windows.
2945         (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
2946         #if PLATFORM(MAC)/#endif.
2948         * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
2949         configuration that matches the Debug configuration but also references
2950         debug_internal.vsprops.
2952         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2953         (createBitmapContextFromWebView): Renamed from
2954         getBitmapContextFromWebView to match the name used in the
2955         cross-platform code.
2957 2009-02-10  Adam Roben  <aroben@apple.com>
2959         Robustify DumpRenderTree/win a little
2961         DumpRenderTree was previously not holding a ref to the WebViews it
2962         created via window.open. It was getting away with this because
2963         WebViews get reffed by being preference notification observers and by
2964         registering for drag-n-drop messages. Now DRT does hold a ref, in case
2965         this situation changes in the future.
2967         Reviewed by Alexey Proskuryakov.
2969         * DumpRenderTree/win/DumpRenderTree.cpp:
2970         (dumpBackForwardListForAllWindows): Added a .get().
2971         (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
2972         * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
2973         windowToWebViewMap() to hold a ref to the WebViews it contains.
2975 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
2977         Fix the #include file order, per review comments.
2979         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2981 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
2983         Reviewed by Dan Bernstein
2985         https://bugs.webkit.org/show_bug.cgi?id=23362
2987         If the WebHTMLView uses accelerated compositing, we need for force
2988         the on-screen capture path and also force animations to start with -display
2989         since the DRT window has autodisplay disabled.
2991         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2992         (createBitmapContextFromWebView):
2994 2009-02-03  miggilin  <mr.diggilin@gmail.com>
2996         Reviewed by Darin Adler.
2998         Change the way wxWidgets build gets arguments.
2999         Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
3000         argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
3001         removed when --wx is checked for).
3003         https://bugs.webkit.org/show_bug.cgi?id=23701
3005         * Scripts/build-webkit:
3006         * Scripts/webkitdirs.pm:
3008 2009-01-30  Chris Fleizach  <cfleizach@apple.com>
3010         Reviewed by Oliver Hunt.
3012         Catch exceptions thrown by AppKit when accessing an attribute than an element
3013         doesn't return.
3015         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3016         (attributesOfElement):
3018 2009-01-29  David Kilzer  <ddkilzer@apple.com>
3020         Remove semi-colons from the end of ObjC method implementations
3022         Rubber-stamped by Adam Roben.
3024         $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
3026         * DumpRenderTree/mac/FrameLoadDelegate.mm:
3027         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3028         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3029         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3030         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3031         * DumpRenderTree/mac/UIDelegate.mm:
3032         (-[UIDelegate webViewFrame:]):
3034 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
3036         Build fix for GTK.
3038         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3039         (LayoutTestController::webHistoryItemCount):
3041 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
3043         Reviewed by Sam Weinig.
3045         Added support for querying how many history items were created during a
3046         layout test.
3048         * DumpRenderTree/LayoutTestController.cpp:
3049         (getWebHistoryItemCountCallback):
3050         (LayoutTestController::staticValues):
3051         * DumpRenderTree/LayoutTestController.h:
3052         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3053         (LayoutTestController::webHistoryItemCount):
3054         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3055         (LayoutTestController::webHistoryItemCount):
3057 2009-01-26  Pierre-Olivier Latour  <pol@apple.com>
3059         Tweaked again earlier fix, this time just to print a warning and not abort if
3060         attempting to generate pixel results and Perian is installed.
3062         https://bugs.webkit.org/show_bug.cgi?id=22615
3064         * Scripts/run-webkit-tests:
3066 2009-01-26  Christian Dywan  <christian@twotoasts.de>
3068         Rubber stamped by Holger Freyther.
3070         * GtkLauncher/main.c:
3071         (main): Initialize threads, which is required for libSoup.
3073 2009-01-23  David Kilzer  <ddkilzer@apple.com>
3075         * Scripts/do-webcore-rename: Removed 10 header guard renames that
3076         had already been fixed, and updated 4 renames whose original values
3077         had changed.
3079 2009-01-22  Anders Carlsson  <andersca@apple.com>
3081         Fix Windows build.
3083         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3085 2009-01-22  Anders Carlsson  <andersca@apple.com>
3087         Reviewed by Sam Weinig.
3089         Clean up the test plug-in code. We now always use the CG drawing model and the
3090         Cocoa event model. It is however possible to revert to the old Carbon event model by
3091         specifying forcecarbon=true in the embed/object tag.
3093         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3094         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3095         (NPP_New):
3096         (handleEventCarbon):
3097         (handleEventCocoa):
3098         (NPP_HandleEvent):
3100 2009-01-21  Pierre-Olivier Latour  <pol@apple.com>
3102         Tweaked earlier fix to only print a warning when Perian is installed,
3103         and fail completely only if attempting to generate new pixel test results.
3105         https://bugs.webkit.org/show_bug.cgi?id=23392
3107         * Scripts/run-webkit-tests:
3109 2009-01-20  Darin Adler  <darin@apple.com>
3111         Reviewed by Alexey Proskuryakov.
3113         Bug 23450: string leaks seen in DumpRenderTree accessibility test code
3114         https://bugs.webkit.org/show_bug.cgi?id=23450
3116         * DumpRenderTree/AccessibilityUIElement.cpp:
3117         (isAttributeSettableCallback): Add the missing JSStringRelease call.
3118         (attributeValueCallback): Ditto.
3120 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
3122         Reviewed by Darin Adler.
3124         Print warning regarding display color profile change in run-webkit-tests instead of DRT.
3126         https://bugs.webkit.org/show_bug.cgi?id=23392
3128         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3129         (setupMainDisplayColorProfile):
3130         * Scripts/run-webkit-tests:
3132 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
3134         Reviewed by Darin Adler.
3136         Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
3137         in order to avoid result differences in some media tests.
3139         https://bugs.webkit.org/show_bug.cgi?id=22615
3141         * Scripts/run-webkit-tests:
3142         * Scripts/webkitdirs.pm:
3144 2009-01-19  Sam Weinig  <sam@webkit.org>
3146         * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
3148 2009-01-16  Gabor Loki  <loki@inf.u-szeged.hu>
3150         Reviewed by Darin Adler.
3152         * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
3153         parameters to make command in QMake projects.
3155 2009-01-16  Chris Fleizach  <cfleizach@apple.com>
3157         Reviewed by Beth Dakin.
3159         Add AX methods to retrieve the parent of an element.
3161         * DumpRenderTree/AccessibilityUIElement.cpp:
3162         (parentElementCallback):
3163         (AccessibilityUIElement::getJSClass):
3164         * DumpRenderTree/AccessibilityUIElement.h:
3165         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3166         (AccessibilityUIElement::parentElement):
3167         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3168         (AccessibilityUIElement::parentElement):
3170 2009-01-16  Anders Carlsson  <andersca@apple.com>
3172         Reviewed by Adam Roben.
3174         Set the count to the right number of elements.
3176         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
3177         (testEnumerate):
3179 2009-01-14  David Kilzer  <ddkilzer@apple.com>
3181         BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
3183         Rubber-stamped by Alice Liu.
3185         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3186         (LayoutTestController::setIconDatabaseEnabled): Use COM API
3187         to get the shared WebIconDatabase.
3189 2009-01-14  Jeremy Moskovich  <jeremy@chromium.org>
3191         Reviewed by Eric Seidel.
3193         <https://bugs.webkit.org/show_bug.cgi?id=16829>
3194         Implement NPN_SetException()
3196         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3197         (pluginInvoke):
3198         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
3199         (initializeIdentifiers):
3200         (testHasMethod):
3201         (testInvoke):
3203 2009-01-13  Dmitry Titov  <dimich@chromium.org>
3205         Reviewed by David Kilzer.
3207         https://bugs.webkit.org/show_bug.cgi?id=23304
3208         Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
3210         * Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
3212 2009-01-14  David Kilzer  <ddkilzer@apple.com>
3214         BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
3216         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3217         (runTest): Added call to reset the icon database to match Mac
3218         and Windows ports.
3219         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3220         (LayoutTestController::setIconDatabaseEnabled): Implemented
3221         stub method.
3223 2009-01-14  David Kilzer  <ddkilzer@apple.com>
3225         Bug 22795: favicons should be saved to webarchives
3227         <https://bugs.webkit.org/show_bug.cgi?id=22795>
3229         Reviewed by Darin Adler.
3231         * DumpRenderTree/LayoutTestController.cpp:
3232         (setIconDatabaseEnabledCallback): Added.
3233         (setJavaScriptProfilingEnabledCallback): Realphabetized.
3234         (LayoutTestController::staticFunctions): Added entry for calling
3235         LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
3236         * DumpRenderTree/LayoutTestController.h:
3237         (setIconDatabaseEnabledCallback): Added declaration.
3238         (setJavaScriptProfilingEnabledCallback): Realphabetized.
3240         * DumpRenderTree/mac/DumpRenderTree.mm:
3241         (runTest): Disable the icon database before each test.
3242         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3243         (LayoutTestController::setIconDatabaseEnabled): Added.
3244         (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
3246         * DumpRenderTree/win/DumpRenderTree.cpp:
3247         (runTest): Disable the icon database before each test.
3248         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3249         (LayoutTestController::setIconDatabaseEnabled): Added.
3251 2009-01-14  Steve Falkenburg  <sfalken@apple.com>
3253         Update copyright year in version resources.
3255         Reviewed by Adam Roben.
3257         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
3259 2009-01-14  Dan Bernstein  <mitz@apple.com>
3261         Reviewed by John Sullivan.
3263         - update copyright
3265         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
3266         * WebKitLauncher/Info.plist:
3268 2009-01-13  Anders Carlsson  <andersca@apple.com>
3270         Reviewed by Sam Weinig.
3272         Add NPRuntime test.
3274         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3275         (testNPRuntime):
3276         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3277         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3278         (NPP_New):
3279         (NPP_GetValue):
3281 2009-01-12  Mark Rowe  <mrowe@apple.com>
3283         Use the modern spelling of WebKit.
3285         * Scripts/find-extra-includes:
3286         * Scripts/report-include-statistics:
3287         * Scripts/run-webkit-app:
3288         * Scripts/svn-unapply:
3289         * Scripts/update-webkit:
3291 2009-01-11  Darin Adler  <darin@apple.com>
3293         * Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom
3294         directory that aren't using standard wrappers.
3296 2009-01-11  Robert Blaut  <webkit@blaut.biz>
3298         Reviewed by Eric Seidel.
3300         <https://bugs.webkit.org/show_bug.cgi?id=23134>
3301         Update bisect-builds for Safari 3.2 to prevent crashes
3303         * Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348.
3305 2009-01-08  Adam Treat  <adam.treat@torchmobile.com>
3307         Reviewed by Simon Hausmann.
3309         Explicitly set these so that the layout tests do not break.
3311         * DumpRenderTree/qt/DumpRenderTree.cpp:
3312         (WebCore::WebPage::WebPage):
3314 2009-01-07  Glenn Wilson  <gwilson@chromium.org>
3316         Reviewed by Eric Seidel.
3318         Changed DumpRenderTree to re-enable Javascript in web preferences on every test.
3319         This fixes the case when a user mistakenly disables Javascript, and all layout tests crash.
3321         * DumpRenderTree/mac/DumpRenderTree.mm:
3322         (testStringByEvaluatingJavaScriptFromString):
3323         (setDefaultsToConsistentValuesForTesting):
3325 2009-01-07  Holger Hans Peter Freyther  <zecke@selfish.org>
3327         Reviewed by Maciej Stachowiak.
3329         Implement numberOfActiveAnimations to fix the build
3331         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3332         (LayoutTestController::numberOfActiveAnimations):
3334 2009-01-07  Adam Treat  <adam.treat@torchmobile.com>
3336         Reviewed by George Staikos.
3338         Fix unused variable warnings
3340         * DumpRenderTree/qt/DumpRenderTree.cpp:
3341         (WebCore::WebPage::javaScriptAlert):
3342         (WebCore::WebPage::javaScriptConfirm):
3343         (WebCore::WebPage::javaScriptPrompt):
3344         * DumpRenderTree/qt/jsobjects.cpp:
3345         (LayoutTestController::maybeDump):
3346         * DumpRenderTree/qt/main.cpp:
3347         (get_backtrace):
3348         * DumpRenderTree/qt/testplugin.cpp:
3349         (TestPlugin::create):
3351 2009-01-06  Pierre-Olivier Latour  <pol@apple.com>
3353         Reviewed by Darin Adler.
3355         Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations.
3356         This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore.
3358         https://bugs.webkit.org/show_bug.cgi?id=23126
3360         * DumpRenderTree/LayoutTestController.cpp:
3361         (numberOfActiveAnimationsCallback):
3362         (LayoutTestController::staticFunctions):
3363         * DumpRenderTree/LayoutTestController.h:
3364         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3365         (LayoutTestController::numberOfActiveAnimations):
3366         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3367         (LayoutTestController::numberOfActiveAnimations):
3369 2009-01-04  David Kilzer  <ddkilzer@apple.com>
3371         Don't install internal headers in WebKit framework
3373         Reviewed by Darin Adler.
3375         Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are
3376         no longer installed in WebKit.framework/PrivateHeaders, use the
3377         special relationship of DumpRenderTree within the WebKit source
3378         tree to include the internal headers through relative paths.
3379         Created the concept of mac/InternalHeaders to hide the ugly
3380         paths.
3382         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added
3383         mac/InternalHeaders to HEADER_SEARCH_PATHS.
3384         * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added.
3385         * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added.
3387 2009-01-02  Adam Treat  <treat@kde.org>
3389         Reviewed by George Staikos.
3391         Add support for fixedLayoutSize to the qt DRT
3393         * DumpRenderTree/qt/jsobjects.cpp:
3394         (LayoutTestController::setFixedLayoutSize):
3395         (LayoutTestController::setUseFixedLayout):
3396         * DumpRenderTree/qt/jsobjects.h:
3398 2009-01-03  David D. Kilzer  <ddkilzer@webkit.org>
3400         Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences
3402         <https://bugs.webkit.org/show_bug.cgi?id=23091>
3404         Reviewed by Darin Adler.
3406         * DumpRenderTree/mac/DumpRenderTree.mm:
3407         (normalizeHTTPResponseHeaderFields): Remove Keep-Alive and
3408         Connection headers from webarchive results.
3410 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
3412         Reviewed by Holger Freyther.
3414         https://bugs.webkit.org/show_bug.cgi?id=22812
3416         Prevent TestNetscapePlugin from installing system-wide.
3418         * GNUmakefile.am:
3420 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
3422         Reviewed by Holger Freyther.
3424         https://bugs.webkit.org/show_bug.cgi?id=22842
3426         Move WebKitWebView's size allocation into a proper place.
3428         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3429         (dump):
3430         (runTest):
3432 2008-12-24  Mark Rowe  <mrowe@apple.com>
3434         Reviewed by Timothy Hatcher.
3436         Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory,
3437         and make it work for git too.
3439         * Scripts/VCSUtils.pm:
3440         * Scripts/webkitdirs.pm:
3442 2008-12-22  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
3444         Reviewed by George Staikos.
3446         Ignore http/tests/wml, if no WML support is present.
3447         Add http/tests/wml to list of HTTP tests, allowed to access local resources.
3449         * Scripts/run-webkit-tests:
3451 2008-12-19  David Levin  <levin@chromium.org>
3453         Reviewed by Mark Rowe.
3455         https://bugs.webkit.org/show_bug.cgi?id=22930
3457         Make the git diff command used for preparing the change log avoid using any external diff tools.
3459         * Scripts/prepare-ChangeLog:
3461 2008-12-19  Gustavo Noronha Silva  <gns@gnome.org>
3463         Reviewed by Holger Freyther.
3465         https://bugs.webkit.org/show_bug.cgi?id=22686
3467         Added files which were missing from the TestNetscapePlugin
3468         directory to the SOURCES variable, so that they will be
3469         distributed in a make dist.
3471         * GNUMakefile.am:
3473 2008-12-18  Cameron Zwarich  <zwarich@apple.com>
3475         Reviewed by Geoff Garen.
3477         Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link
3478         <https://bugs.webkit.org/show_bug.cgi?id=21855>
3479         <rdar://problem/6278244>
3481         Add support for scheduling asynchronous clicks to DumpRenderTree, but
3482         only on the Mac.
3484         * DumpRenderTree/mac/EventSendingController.h:
3485         * DumpRenderTree/mac/EventSendingController.mm:
3486         (+[EventSendingController isSelectorExcludedFromWebScript:]): Expose
3487         scheduleAsynchronousClick to JavaScript.
3488         (-[EventSendingController scheduleAsynchronousClick]): Add.
3490 2008-12-15  Darin Adler  <darin@apple.com>
3492         * Scripts/make-js-test-wrappers: Added another exception to avoid overwriting
3493         a custom-written test.
3495 2008-12-15  Simon Hausmann  <hausmann@webkit.org>
3497         Reviewed by Holger Freyther.
3499         Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
3501         * DumpRenderTree/qt/jsobjects.cpp:
3502         (LayoutTestController::setJavaScriptProfilingEnabled):
3503         * DumpRenderTree/qt/jsobjects.h:
3505 2008-12-13  Zan Dobersek  <zandobersek@gmail.com>
3507         Reviewed by Darin Adler.
3509         https://bugs.webkit.org/show_bug.cgi?id=22039
3511         Implement animation and transition pausing.
3513         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3514         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
3515         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
3517 2008-12-12  Brent Fulgham  <bfulgham@gmail.com>
3519         Reviewed by Adam Roben.
3521         https://bugs.webkit.org/show_bug.cgi?id=22809
3523         Increase timeout in call to initWithURL so that people actually see
3524         new web pages when they type URLs rather than a blank screen.
3526         * WinLauncher/WinLauncher.cpp:
3527         (loadURL):  Increase timeout in initWithURL from 0 to 60 seconds.
3529 2008-12-12  Darin Adler  <darin@apple.com>
3531         * Scripts/do-webcore-rename: Add a renaming idea.
3533 2008-12-12  Holger Hans Peter Freyther  <zecke@selfish.org>
3535         Reviewed by Simon Hausmann.
3537         Update the WebKit.qrc and add a script to automatically generate the file.
3539         With the way rcc and qmake work this can not be done at build time
3540         as the WebKit.qrc must sit inside the directory that contains the files
3541         and at build time we may not change the content of the source directory.
3543         * Scripts/generate-qt-inspector-resource: Added.
3545 2008-12-11  Cameron Zwarich  <zwarich@apple.com>
3547         Rubber-stamped by Mark Rowe.
3549         Roll out r39212 due to assertion failures during layout tests, multiple
3550         layout test failures, memory leaks, and obvious incorrectness.
3552         * DumpRenderTree/LayoutTestController.cpp:
3553         (LayoutTestController::staticFunctions):
3554         * DumpRenderTree/LayoutTestController.h:
3555         * DumpRenderTree/mac/DumpRenderTree.mm:
3556         (resetWebViewToConsistentStateBeforeTesting):
3557         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3558         * DumpRenderTree/win/DumpRenderTree.cpp:
3559         (resetWebViewToConsistentStateBeforeTesting):
3560         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3561         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
3563 2008-12-10  Glenn Wilson  <gwilson@google.com>
3565         Reviewed by Adam Roben.
3567         Changed LayoutTestController and DumpRenderTree to allow for manual
3568         overriding of default preferences at test time.  Also added support for
3569         resetting the preferences after each test.
3570         https://bugs.webkit.org/show_bug.cgi?id=20534
3572         * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
3573         * DumpRenderTree/LayoutTestController.h: Added signature for callback
3574         * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
3575         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
3576         * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
3577         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
3579 2008-12-10  Brady Eidson  <beidson@apple.com>
3581         Reviewed by Darin Adler.
3583         Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
3585         * DumpRenderTree/win/DumpRenderTree.cpp:
3586         * DumpRenderTree/win/DumpRenderTreeWin.h:
3588         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3589         (LayoutTestController::setCustomPolicyDelegate):
3591         * DumpRenderTree/win/PolicyDelegate.cpp:
3592         (PolicyDelegate::PolicyDelegate):
3593         (PolicyDelegate::decidePolicyForNavigationAction):
3594         * DumpRenderTree/win/PolicyDelegate.h:
3595         (PolicyDelegate::setPermissive):
3597 2008-12-10  Brady Eidson  <beidson@apple.com>
3599         Reviewed by Darin
3601         Change the custom policy delegate to actually allow navigation for tests that need it.
3602         The new behavior is opt-in and doesn't require any changes in old tests.
3604         * DumpRenderTree/LayoutTestController.cpp:
3605         (setCustomPolicyDelegateCallback):  Allow for a second boolean argument to set the permissive flag on the custom
3606           policy delegate, which will be false by default to maintain original behavior.
3607         * DumpRenderTree/LayoutTestController.h:
3608         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3609         (LayoutTestController::setCustomPolicyDelegate):
3611         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3612         (LayoutTestController::setCustomPolicyDelegate):  Partially stubbed out for now.
3613         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3614         (LayoutTestController::setCustomPolicyDelegate):  Still stubbed out, but with new param.
3616         * DumpRenderTree/mac/PolicyDelegate.h:
3617         * DumpRenderTree/mac/PolicyDelegate.mm:
3618         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):  If the permissive flag
3619           is set, allow the navigation.
3620         (-[PolicyDelegate setPermissive:]):  Change the behavior between "use" and "ignore" - allowing navigation or not.
3622 2008-12-09  Mark Rowe  <mrowe@apple.com>
3624         Rubber-stamped by Ada Chan.
3626         Fix gdb-safari on Tiger.
3628         gdb on Tiger does not take the -arch flag, so do not pass it.
3630         * Scripts/gdb-safari:
3632 2008-12-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
3634         Reviewed by Alexey Proskuryakov.
3636         Ignore WML tests, if no WML support available.
3638         * Scripts/run-webkit-tests:
3640 2008-12-08  Geoffrey Garen  <ggaren@apple.com>
3642         Reviewed by Oliver Hunt.
3644         Added a shortcut for --jsDriver-args, which I use a lot.
3646         * Scripts/run-javascriptcore-tests:
3648 2008-12-08  Stephanie Lewis  <slewis@apple.com>
3650         Fix Tiger build.
3652         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3654 2008-12-08  Darin Adler  <darin@apple.com>
3656         Reviewed by John Sullivan.
3658         - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
3659           REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
3661         * DumpRenderTree/LayoutTestController.cpp:
3662         (isCommandEnabledCallback): Added.
3663         (LayoutTestController::staticFunctions): Added "isCommandEnabled".
3664         * DumpRenderTree/LayoutTestController.h: Ditto.
3665         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3666         (LayoutTestController::isCommandEnabled): Ditto.
3667         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3668         (-[CommandValidationTarget initWithAction:]): Added. Used to get the
3669         command validation system to tell us if a comment is enabled.
3670         (-[CommandValidationTarget action]): Ditto.
3671         (-[CommandValidationTarget tag]): Ditto.
3672         (LayoutTestController::isCommandEnabled): Ditto.
3673         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3674         (LayoutTestController::isCommandEnabled): Ditto.
3676 2008-12-08  David Kilzer  <ddkilzer@apple.com>
3678         Bug 22555: Sort "children" sections in Xcode project files
3680         <https://bugs.webkit.org/show_bug.cgi?id=22555>
3682         Reviewed by Eric Seidel.
3684         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
3685         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
3686         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
3688 2008-12-08  David Kilzer  <ddkilzer@apple.com>
3690         Bug 22555: Sort "children" sections in Xcode project files
3692         <https://bugs.webkit.org/show_bug.cgi?id=22555>
3694         Reviewed by Timothy Hatcher.
3696         * Scripts/sort-Xcode-project-file: By popular request, don't sort
3697         the mainGroup in the project (the list of items below the top-level
3698         project file).
3700 2008-12-05  David Kilzer  <ddkilzer@apple.com>
3702         Bug 22555: Sort "children" sections in Xcode project files
3704         <https://bugs.webkit.org/show_bug.cgi?id=22555>
3706         Reviewed by Darin Adler.
3708         Sort "children" sections alphabetically, moving groups (folders) to
3709         the top of each of the lists.  Files are assumed to have extensions,
3710         so %isFile is used to override this behavior.
3712         * Scripts/sort-Xcode-project-file:
3713         (sortChildrenByFileName): Added.
3714         (sortFilesByFileName): Renamed from sortByFileName().
3716 2008-12-05  Eric Seidel  <eric@webkit.org>
3718         Reviewed by Geoff Garen.
3720         https://bugs.webkit.org/show_bug.cgi?id=22683
3721         Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
3722         Add a new argumentsForConfiguration() function and clean up some old code to use it.
3723         Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
3725         * Scripts/run-javascriptcore-tests:
3726         * Scripts/run-launcher:
3727         * Scripts/run-webkit-tests:
3728         * Scripts/webkitdirs.pm:
3730 2008-12-03  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
3732         Reviewed by Cameron Zwarich.
3734         Further preparations for WML layout tests.
3735         Ignore WMLTestCase.js, that's going to be in trunk soon.
3737         * Scripts/make-js-test-wrappers:
3739 2008-12-03  Eric Seidel  <eric@webkit.org>
3741         Build fix for --gtk and --chromium, no review.
3743         Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
3744         through to build-jsc.
3746         * Scripts/build-jsc:
3747         * Scripts/webkitdirs.pm:
3749 2008-12-03  Eric Seidel  <eric@webkit.org>
3751         Build fix only, no review.
3753         Remove support for build-webkit --svg-experimental.
3754         All of the "experimental" svg features have their own toggles anyway.
3755         I broke --svg-experimental in my last commit (which then broke clean builds)
3756         I can't find any use of --svg-experimental in our source tree, so removing it.
3758         * Scripts/build-webkit:
3760 2008-12-02  Eric Seidel  <eric@webkit.org>
3762         Reviewed by David Hyatt (and Mark Rowe).
3764         Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
3765         Move --coverage support out of run-javascriptcore-tests and into build-jsc
3767         Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
3768         there from build-webkit (to allow future sharing with other build-* scripts)
3770         Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
3771         picking through ARGV with a blacklist of what arguments weren't jsDriver args
3772         this makes run-javascriptcore-tests transparently support all arguments which
3773         webkitdirs.pm gives it support for.
3775         Make run-javascriptcore-tests actually print what commands it's running before running them.
3777         Add --help support to build-jsc and run-javascriptcore-tests!
3779         Make code to support --svg-experimental defaults take up half as many lines.
3781         * Scripts/build-jsc:
3782         * Scripts/build-webkit:
3783         * Scripts/run-javascriptcore-tests:
3784         * Scripts/webkitdirs.pm:
3786 2008-12-03  Adam Roben  <aroben@apple.com>
3788         Fix a leak in WinLauncher shutdown
3790         Reviewed by Sam Weinig.
3792         * WinLauncher/WinLauncher.cpp:
3793         (_tWinMain): Replaced a delete with a Release. We can't delete the
3794         WebView properly since we only have a pointer to one of its
3795         interfaces. We also shouldn't be deleting COM objects directly anyway,
3796         for a number of reasons.
3798 2008-12-03  Adam Roben  <aroben@apple.com>
3800         Fix a crash on exit in WinLauncher
3802         Reviewed by Sam Weinig.
3804         * WinLauncher/WinLauncher.cpp:
3805         (_tWinMain): Call shutDownWebKit before exiting.
3807 2008-12-03  Adam Roben  <aroben@apple.com>
3809         Add a Debug_Internal configuration to WinLauncher
3811         This matches our other projects.
3813         Reviewed by Sam Weinig.
3815         * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
3816         configuration, which is identical to Debug except that it also
3817         references debug_internal.vsprops. Also removed some settings that we
3818         should be picking up from the .vsprops files.
3820 2008-12-02  Eric Seidel  <eric@webkit.org>
3822         Reviewed by David Kilzer.
3824         Hack build-webkit --chromium to use Win32 python instead
3825         of using the default cygwin python.  Scons + CYGWIN tries
3826         to build with GCC by default, we force MSVC in our file
3827         but that just results in errors from Scons.  Until we can fix
3828         this latest round of errors, at least make build-webkit --chromium
3829         actually "work" under CYGWIN instead of forcing users to use
3830         a cmd shell directly.
3832         This is working around a Scons bug:
3833         http://scons.tigris.org/issues/show_bug.cgi?id=2266
3835         * Scripts/webkitdirs.pm:
3837 2008-12-01  David Kilzer  <ddkilzer@apple.com>
3839         Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
3841         <https://bugs.webkit.org/show_bug.cgi?id=22466>
3842         <rdar://problem/6403593>
3844         Reviewed by Brady Eidson.
3846         * DumpRenderTree/mac/DumpRenderTree.mm:
3847         (normalizeHTTPResponseHeaderFields): Added.  Normalizes Date, Etag,
3848         Keep-Alive, Last-Modified and Server header fields to prevent false
3849         positive test failures.
3850         (convertWebResourceResponseToDictionary): Call
3851         normalizeHTTPResponseHeaderFields() to noramlize HTTP response
3852         header fields.
3854 2008-12-01  David D. Kilzer  <ddkilzer@webkit.org>
3856         Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
3858         <https://bugs.webkit.org/show_bug.cgi?id=22559>
3860         Reviewed by Adam Roben.
3862         * Scripts/bisect-builds: Updated status message to report the
3863         maximum number of builds left to test after the current one.
3864         (max): Added.
3866 2008-11-27  Alp Toker  <alp@nuanti.com>
3868         Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
3869         API header breakage at build time.
3871         * GNUmakefile.am:
3873 2008-11-26  Eric Seidel  <eric@webkit.org>
3875         Reviewed by Nikolas Zimmermann and Mark Rowe.
3877         Add support for build-webkit --chromium
3878         https://bugs.webkit.org/show_bug.cgi?id=22515
3879         More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
3881         * Scripts/build-dumprendertree:
3882         * Scripts/build-jsc:
3883         * Scripts/build-webkit:
3884         * Scripts/gdb-safari:
3885         * Scripts/run-webkit-tests:
3886         * Scripts/webkitdirs.pm:
3888 2008-11-26  Eric Seidel  <eric@webkit.org>
3890         Reviewed by Nikolas Zimmermann.
3892         Add support for build-webkit --chromium (tested on mac)
3893         https://bugs.webkit.org/show_bug.cgi?id=22515
3894         Also simplified some code using checkArgv
3896         * Scripts/build-webkit:
3897         * Scripts/webkitdirs.pm:
3899 2008-11-26  Eric Seidel  <eric@webkit.org>
3901         Reviewed by Nikolas Zimmermann.
3903         More pre-work for adding a build-webkit --chromium which works on Mac and Windows
3904         https://bugs.webkit.org/show_bug.cgi?id=22515
3905         Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
3906         in preparation for having a chromium cygwin and chromium mac build
3908         * Scripts/build-webkit:
3909         * Scripts/webkitdirs.pm:
3911 2008-11-26  Eric Seidel  <eric@webkit.org>
3913         Reviewed by Nikolas Zimmermann.
3915         Pre-work for getting build-webkit --chromium to work
3916         https://bugs.webkit.org/show_bug.cgi?id=22515
3917         Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
3919         * Scripts/build-dumprendertree:
3920         * Scripts/build-jsc:
3921         * Scripts/build-webkit:
3922         * Scripts/gdb-safari:
3923         * Scripts/run-javascriptcore-tests:
3924         * Scripts/run-webkit-tests:
3925         * Scripts/webkitdirs.pm:
3927 2008-11-26  David Kilzer  <ddkilzer@apple.com>
3929         Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
3931         <https://bugs.webkit.org/show_bug.cgi?id=22488>
3933         Reviewed by Brady Eidson.
3935         * DumpRenderTree/mac/DumpRenderTree.mm:
3936         (convertWebResourceDataToString): If an IANA charset encoding string
3937         is provided, convert it to a CFStringEncoding value and then to an
3938         NSStringEncoding value, else fall back to NSUTF8StringEncoding.  We
3939         also nil-check dataAsString, so the worst-case scenario is that the
3940         data won't be decoded to a string (versus crashing DumpRenderTree).
3942 2008-11-26  Jan Michael Alonzo  <jmalonzo@webkit.org>
3944         Reviewed by Holger Freyther.
3946         [Gtk] add/remove tests from Skipped and fix netscape plugin test
3947         https://bugs.webkit.org/show_bug.cgi?id=22484
3949         Remove print'ing to stderr
3951         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
3952         (NP_Initialize):
3953         (NP_Shutdown):
3955 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
3957         Windows build fix.
3959         * DumpRenderTree/cg/PixelDumpSupportCG.h:
3961 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
3963         Windows build fix.
3965         * DumpRenderTree/cg/ImageDiffCG.cpp:
3967 2008-11-24  Darin Fisher  <darin@chromium.org>
3969         Fix bustage.
3971         https://bugs.webkit.org/show_bug.cgi?id=15643
3973         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3974         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
3976 2008-11-24  Glenn Wilson  <gwilson@chromium.org>
3978         Reviewed by Alexey Proskuryakov.
3980         http://bugs.webkit.org/show_bug.cgi?id=15643
3982         Added support for changing the "trailing whitespace" work-around
3983         in LayoutTestController (so layout tests can verify this functionality)
3985         * DumpRenderTree/LayoutTestController.cpp:
3986         (setSelectTrailingWhitespaceEnabledCallback):
3987         (LayoutTestController::staticFunctions):
3988         * DumpRenderTree/LayoutTestController.h:
3989         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3990         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
3991         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3992         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
3994 2008-11-24  Simon Fraser  <simon.fraser@apple.com>
3996         Reviewed by Darin Adler
3998         https://bugs.webkit.org/show_bug.cgi?id=22433
4000         Add script that attempts to detect virtual methods
4001         whose signatures differ only by constness (which can
4002         indicate a programming error).
4004         * Scripts/detect-mismatched-virtual-const: Added.
4006 2008-11-24  Zan Dobersek  <zandobersek@gmail.com>
4008         Reviewed by Holger Freyther.
4010         https://bugs.webkit.org/show_bug.cgi?id=22039
4012         [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
4013         build.
4015         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4016         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
4017         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4018         (setDefaultsToConsistentStateValuesForTesting):
4019         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
4020         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
4021         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
4022         * GNUmakefile.am:
4024 2008-11-24  Holger Hans Peter Freyther  <zecke@selfish.org>
4026         Reviewed by Mark Rowe.
4028         [Gtk+] Add configure option to enable Web Workers and enable it by default
4030         Add --enable-workers to the buildsystem (used by build-webkit) add
4031         the to be build files to the GNUmakefile.am and change build-webkit
4032         to enable Web Workers by default.
4034         * Scripts/build-webkit:
4036 2008-11-24  Mark Rowe  <mrowe@apple.com>
4038         Reviewed by Alexey Proskuryakov.
4040         Let gdb-safari accept the --debug and --release options once more.
4042         * Scripts/gdb-safari:
4044 2008-11-23  Zan Dobersek  <zandobersek@gmail.com>
4046         Reviewed by Holger Freyther. Landed by Jan Alonzo.
4048         Get SVG tests tested on GTK port.
4050         * Scripts/webkitdirs.pm:
4052 2008-11-19  Greg Bolsinga  <bolsinga@apple.com>
4054         Reviewed by Darin Adler.
4056         https://bugs.webkit.org/show_bug.cgi?id=21810
4057         Remove use of static C++ objects that are destroyed at exit time (destructors)
4059         All static C++ objects that create atexit calls are gone. Update script
4060         to indicate how to fix the problem should a new one appear.
4062         * Scripts/check-for-exit-time-destructors:
4064 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
4066         Reviewed by Darin Adler.
4068         https://bugs.webkit.org/show_bug.cgi?id=22337
4069         Enable workers by default
4071         * Scripts/build-webkit: Changed the default to enabled.
4073 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
4075         Rubber-stamped by Darin Adler.
4077         https://bugs.webkit.org/show_bug.cgi?id=22306
4078         Disable channel messaging support
4080         * Scripts/build-webkit: Add an option to enable channel messaging.
4082 2008-11-17  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
4084         Reviewed by George Staikos.
4086         Add --(no-)wml build flags.
4088         * Scripts/build-webkit:
4089         * Scripts/run-webkit-tests:
4090         * Scripts/webkitdirs.pm:
4092 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
4094         Not reviewed.
4096         Try to fix gtk build.
4098         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4099         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
4100         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
4102 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
4104         Reviewed by Maciej.
4106         Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
4107         on Tiger.
4109         https://bugs.webkit.org/show_bug.cgi?id=22271
4111         * Scripts/run-webkit-tests:
4113 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
4115         Reviewed by Sam Weinig.
4117         Added new JavaScript API on LayoutController to pause a running
4118         CSS transition or animation at a given time.
4120         https://bugs.webkit.org/show_bug.cgi?id=21261
4122         * DumpRenderTree/LayoutTestController.cpp:
4123         (pauseAnimationAtTimeOnElementWithIdCallback):
4124         (pauseTransitionAtTimeOnElementWithIdCallback):
4125         (LayoutTestController::staticFunctions):
4126         * DumpRenderTree/LayoutTestController.h:
4127         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4128         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
4129         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
4130         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4131         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
4132         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
4134 2008-11-17  Gabor Loki  <loki@inf.u-szeged.hu>
4136         Reviewed by Darin Adler.
4138         <https://bugs.webkit.org/show_bug.cgi?id=22309>
4139         Pass the remaining options to build system on Qt-port
4141         * Scripts/build-webkit:
4142         * Scripts/webkitdirs.pm:
4144 2008-11-16  Greg Bolsinga  <bolsinga@apple.com>
4146         Reviewed by Darin Adler.
4148         https://bugs.webkit.org/show_bug.cgi?id=21810
4149         Remove use of static C++ objects that are destroyed at exit time (destructors)
4151         Remove .o files from the exclude list that have had their exit-time destructors removed.
4152         Handle case when there is no current symbol.
4154         * Scripts/check-for-exit-time-destructors:
4156 2008-11-16  Sam Weinig  <sam@webkit.org>
4158         * Scripts/do-webcore-rename: Remove now fixed renames.
4160 2008-11-16  Darin Adler  <darin@apple.com>
4162         * Scripts/do-webcore-rename: Plan some future renames.
4164 2008-11-15  Darin Adler  <darin@apple.com>
4166         Rubber stamped by Geoff Garen.
4168         - do the long-planned StructureID -> Structure rename
4170         * Scripts/check-for-global-initializers: Update name of StructureID.o.
4171         * Scripts/do-webcore-rename: Renaming script that I used.
4173 2008-11-15  Greg Bolsinga  <bolsinga@apple.com>
4175         Reviewed by Darin Adler.
4177         https://bugs.webkit.org/show_bug.cgi?id=21810
4178         Remove use of static C++ objects that are destroyed at exit time (destructors)
4180         Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
4181         exit-time destructor. Update code that was changed to fix this issue that ran
4182         into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
4183         in gcc build 5465). Also typdefs for template types needed to be added in some
4184         cases so the type could make it through the macro successfully.
4186         Basically code of the form:
4187         static T m;
4188         becomes:
4189         DEFINE_STATIC_LOCAL(T, m, ());
4191         Also any code of the form:
4192         static T& m = *new T;
4193         also becomes:
4194         DEFINE_STATIC_LOCAL(T, m, ());
4196         Remove .o files from the exclude list that have had their exit-time destructors removed.
4198         * Scripts/check-for-exit-time-destructors:
4200 2008-11-14  Kevin Ollivier  <kevino@theolliviers.com>
4202         wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
4204         * wx/install-unix-extras:
4206 2008-11-14  Alp Toker  <alp@nuanti.com>
4208         GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
4210         Fixes Debian bug #505723
4211         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
4213         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4215 2008-11-14  Krishna <krishnamurty.podipireddy@nokia.com>
4217         Reviewed by Simon Hausmann.
4219         Fix hanging DRT with Qt.
4221         https://bugs.webkit.org/show_bug.cgi?id=22209
4223         * DumpRenderTree/qt/DumpRenderTree.cpp:
4224         (WebCore::DumpRenderTree::dump):
4225         Send empty pixel test data 'block', which is now
4226         expected by run-layout-tests.
4228 2008-11-12  Dmitry Titov  <dimich@chromium.org>
4230         Reviewed by Alexey Proskuryakov.
4232         https://bugs.webkit.org/show_bug.cgi?id=22216
4234         * Scripts/build-webkit:
4235         Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
4237 2008-11-06  David Kilzer  <ddkilzer@apple.com>
4239         BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
4241         Apparently older versions of gcc have issues with this patch.
4242         Backing out a second time until the issues are resolved.
4244 2008-11-06  David Kilzer  <ddkilzer@apple.com>
4246         BUILD WAS NOT BROKEN: Rolling r38189 back in.
4248         Please perform a clean build if you see crashes.
4250 2008-11-06  David Kilzer  <ddkilzer@apple.com>
4252         BUILD FIX: Backed out r38189 since it apparently broke the world.
4254 2008-11-06  Chris Fleizach  <cfleizach@apple.com>
4256         Reviewed by Beth Dakin.
4258         Add ability to query an attribute's settable status and the
4259         ability to retrieve a single attribute from an AXObject
4261         * DumpRenderTree/AccessibilityUIElement.cpp:
4262         (isAttributeSettableCallback):
4263         (attributeValueCallback):
4264         (AccessibilityUIElement::getJSClass):
4265         * DumpRenderTree/AccessibilityUIElement.h:
4266         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4267         (+[NSString stringWithJSStringRef:]):
4268         (AccessibilityUIElement::attributeValue):
4269         (AccessibilityUIElement::isAttributeSettable):
4270         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
4271         (AccessibilityUIElement::attributeValue):
4272         (AccessibilityUIElement::isAttributeSettable):
4274 2008-11-06  Greg Bolsinga  <bolsinga@apple.com>
4276         Reviewed by Darin Adler.
4278         Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
4279         https://bugs.webkit.org/show_bug.cgi?id=21810
4281         Remove .o files from the exclude list that have had their exit-time destructors removed.
4283         * Scripts/check-for-exit-time-destructors:
4285 2008-11-05  Alp Toker  <alp@nuanti.com>
4287         GTK build script tweak.
4289         Make the path relative since it will appear in all -I compiler flags.
4290         Long argument lists cause bizarre slowdowns in libtool and result
4291         in huge build logs.
4293         * Scripts/webkitdirs.pm:
4295 2008-11-05  Anders Carlsson  <andersca@apple.com>
4297         Fix 64-bit build.
4299         * DumpRenderTree/mac/DumpRenderTree.mm:
4300         (setDefaultsToConsistentValuesForTesting):
4302 2008-11-04  Simon Fraser  <simon.fraser@apple.com>
4304         Add AccessibilityObject.o to the exclude list for the
4305         check for global destructors.
4307         * Scripts/check-for-exit-time-destructors:
4309 2008-11-04  Darin Adler  <darin@apple.com>
4311         * Scripts/check-for-exit-time-destructors: Fix failures seen on the
4312         bot, but for some reason not on my computer.
4314 2008-11-03  Darin Adler  <darin@apple.com>
4316         Reviewed by Tim Hatcher.
4318         - https://bugs.webkit.org/show_bug.cgi?id=22061
4319           create script to check for exit-time destructors
4321         * Scripts/check-for-exit-time-destructors: Added.
4322         Started as a copy of check-for-global-initializers.
4324         * Scripts/check-for-global-initializers: Added code to make
4325         this script rerun any time it's modified, and also to properly
4326         run again after the first time it reports an error.
4328 2008-11-03  Pierre-Olivier Latour  <pol@apple.com>
4330         Reviewed by Dan Bernstein.
4332         Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
4334         https://bugs.webkit.org/show_bug.cgi?id=22054
4336         * DumpRenderTree/mac/DumpRenderTree.mm:
4337         (setDefaultsToConsistentValuesForTesting):
4339 2008-10-31  Cameron Zwarich  <zwarich@apple.com>
4341         Not reviewed.
4343         * Scripts/do-webcore-rename:
4345         Add some renames to contemplate for the future.
4347 2008-10-31  Darin Adler  <darin@apple.com>
4349         Requested by Mark Rowe.
4351         * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
4353 2008-10-31  David Kilzer  <ddkilzer@apple.com>
4355         Bug 21997: prepare-ChangeLog should filter out ChangeLog files
4357         <https://bugs.webkit.org/show_bug.cgi?id=21997>
4359         Reviewed by Darin Adler.
4361         * Scripts/prepare-ChangeLog:
4362         (generateFileList): Don't add ChangeLog files to %{$functionLists}.
4363         This prevents them from showing up in the new ChangeLog entry.  They
4364         were already excluded from @{$changedFiles}.
4366 2008-10-30  Mark Rowe  <mrowe@apple.com>
4368         Reviewed by Jon Homeycutt.
4370         Explicitly default to building for only the native architecture in debug and release builds.
4372         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
4374 2008-10-30  Pierre-Olivier Latour  <pol@apple.com>
4376         Reviewed by Dan Bernstein.
4378         Fixed 64 bit build failure.
4380         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
4381         (setupMainDisplayColorProfile):
4382         (createBitmapContextFromWebView):
4384 2008-10-28  Alp Toker  <alp@nuanti.com>
4386         Fix GTK DRT following build breakage in r37928.
4388         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4389         (dump):
4390         (runTest):
4391         (main):
4393 2008-10-28  Alp Toker  <alp@nuanti.com>
4395         Reviewed by Mark Rowe.
4397         Fix recently introduced double-free crashes in GTK DRT.
4399         LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
4400         were updated to call ->deref() but GTK DRT was still deleting
4401         gLayoutTestController manually. This patch updates GTK to match the
4402         other ports and resolves the memory allocation issues.
4404         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4405         (runTest):
4407 2008-10-28  Alp Toker  <alp@nuanti.com>
4409         Reviewed by Mark Rowe.
4411         Fix GTK DRT hang when running the tests.
4413         Update output from the DRT tool to print an additional '#EOF' to match
4414         breaking changes that were made in r37434.
4416         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4417         (dump):
4419 2008-10-28  Adele Peterson  <adele@apple.com>
4421         Reviewed by Sam Weinig.
4423         Specify which Localizable.strings to update since we don't always want to update the file in the same
4424         directory where we're searching for the strings to localize.
4426         * Scripts/extract-localizable-strings:
4427         * Scripts/update-webkit-localizable-strings:
4429 2008-10-28  Timothy Hatcher  <timothy@apple.com>
4431         Add support for enabling the profiler, so the profiling tests can continue
4432         work now that the profiler is not always enabled.
4434         https://bugs.webkit.org/show_bug.cgi?id=21927
4436         <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
4437         not slow down JavaScript all the time
4439         Reviewed by Darin Adler and Kevin McCullough.
4441         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
4442         * DumpRenderTree/LayoutTestController.cpp:
4443         (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
4444         (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
4445         * DumpRenderTree/LayoutTestController.h:
4446         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4447         (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
4448         * DumpRenderTree/mac/DumpRenderTree.mm:
4449         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
4450         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4451         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
4452         * DumpRenderTree/win/DumpRenderTree.cpp:
4453         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
4454         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4455         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
4457 2008-10-28  Pierre-Olivier Latour  <pol@apple.com>
4459         Reviewed by Dan Bernstein
4461         Primary changes in DumpRenderTree:
4462         - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
4463         is different from regular font CG anti-aliasing) as font-smoothing settings
4464         depends on the display and can also be changed by the user
4465         - Use a new cleared buffer for each test instead of the reusing same one to
4466         avoid potential result corruption across tests
4467         - Can now receive the expected pixel hash as a suffix to the test path or
4468         url as "path'hash"
4469         - Make sure hash is computed in a endian-independent way
4470         - Improve the code that sets/restores the screen color profile
4471         - Make the code more cross-platformy with std::string goodness
4472         - Added an "on-screen" mode where the snapshot will take into account surfaces
4473         on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
4474         reading from the display framebuffer on 10.4. This mode is not active by
4475         default for performance reason, but must be explicitly activated from the test
4476         file using the new "testOnscreen()" JS API.
4478         Primary changes in ImageDiff:
4479         - Provide a new comparison algorithm that is more tolerant to "acceptable"
4480         failures (i.e. very small differences in font rendering, which --threshold is
4481         not really good at handling)
4482         - Generate normalized intensity-only diff images
4484         Primary changes in run-webkit-tests:
4485         - Take advantage of hashes for pixel tests which makes them much faster by
4486         minimizing image comparisons
4487         - Removed repaint options as these should be set from within test files using
4488         JS API
4489         - Replaced "threshold" option in  by "tolerance" expressed in percents
4490         - Added more logging when in "verbose" mode
4492         https://bugs.webkit.org/show_bug.cgi?id=21322
4493         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4494         * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
4495         * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
4496         * DumpRenderTree/LayoutTestController.cpp:
4497         (LayoutTestController::LayoutTestController):
4498         (testOnscreenCallback):
4499         (LayoutTestController::staticFunctions):
4500         * DumpRenderTree/LayoutTestController.h:
4501         (LayoutTestController::testOnscreen):
4502         (LayoutTestController::setTestOnscreen):
4503         (LayoutTestController::testPathOrURL):
4504         (LayoutTestController::expectedPixelHash):
4505         * DumpRenderTree/PixelDumpSupport.h:
4506         * DumpRenderTree/cg/ImageDiffCG.cpp:
4507         (strtof):
4508         (releaseMallocBuffer):
4509         (createDifferenceImage):
4510         (imageHasAlpha):
4511         (main):
4512         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4513         (computeMD5HashStringForBitmapContext):
4514         (dumpWebViewAsPixelsAndCompareWithExpected):
4515         * DumpRenderTree/cg/PixelDumpSupportCG.h:
4516         (BitmapContext::createByAdoptingBitmapAndContext):
4517         (BitmapContext::~BitmapContext):
4518         (BitmapContext::cgContext):
4519         (BitmapContext::BitmapContext):
4520         * DumpRenderTree/mac/DumpRenderTree.mm:
4521         (shouldIgnoreWebCoreNodeLeaks):
4522         (setDefaultsToConsistentValuesForTesting):
4523         (crashHandler):
4524         (initializeGlobalsFromCommandLineOptions):
4525         (prepareConsistentTestingEnvironment):
4526         (dumpRenderTree):
4527         (sizeWebViewForCurrentTest):
4528         (dump):
4529         (runTest):
4530         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
4531         (restoreMainDisplayColorProfile):
4532         (setupMainDisplayColorProfile):
4533         (createBitmapContextFromWebView):
4534         * DumpRenderTree/win/DumpRenderTree.cpp:
4535         (dump):
4536         (runTest):
4537         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
4538         (getBitmapContextFromWebView):
4539         * Scripts/run-webkit-tests:
4541 2008-10-27  Kevin Ollivier  <kevino@theolliviers.com>
4543         wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
4545         * wx/build-wxwebkit:
4547 2008-10-24  Anders Carlsson  <andersca@apple.com>
4549         Try fixing the 64-bit build.
4551         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
4552         (testGetProperty):
4554 2008-10-24  Anders Carlsson  <andersca@apple.com>
4556         Reviewed by Sam Weinig.
4558         <rdar://problem/5440917> Support NPN_Construct
4560         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4561         (testCallback):
4562         Fix a memory leak.
4564         (testConstruct):
4565         New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
4567         (pluginInvoke):
4568         Handle testConstruct.
4570         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
4571         (testGetProperty):
4572         Add objectPointer property.
4574         (testEnumerate):
4575         Only enumerate the two first properties.
4577         (testConstruct):
4578         Add a simple construct implementation that just returns the test object.
4580 2008-10-24  David Kilzer  <ddkilzer@apple.com>
4582         Bug 21850: svn-apply and svn-unapply should preserve patch line endings
4584         <https://bugs.webkit.org/show_bug.cgi?id=21850>
4586         Reviewed by Adam Roben.
4588         * Scripts/svn-apply: Save end-of-line characters when stripping them
4589         off each line of a patch so that they may be restored after
4590         processing the line.
4591         * Scripts/svn-unapply: Ditto.
4593 2008-10-23  David Kilzer  <ddkilzer@apple.com>
4595         Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
4597         <https://bugs.webkit.org/show_bug.cgi?id=21832>
4599         Reviewed by Sam Weinig.
4601         * Scripts/bisect-builds: Use imported tempfile() from File::Temp
4602         instead of 'new File::Temp' to make the script work with Perl 5.10.
4603         * Scripts/sort-Xcode-project-file: Ditto.
4605 2008-10-22  Brady Eidson  <beidson@apple.com>
4607         Reviewed by Adam Roben
4609         <rdar://6261773> - autocomplete="off" doesn't work on Windows
4611         Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
4613         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4615 2008-10-22  Darin Adler  <darin@apple.com>
4617         * Scripts/do-webcore-rename: More renaming plans.
4619 2008-10-21  Steve Falkenburg  <sfalken@apple.com>
4621         Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
4623         * Scripts/extract-localizable-strings:
4625 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
4627         Reviewed by Mark Rowe.
4629         - default to 1000 tests per dump tool instance again, now that CTI no longer causes
4630         excess different stack logs.
4632         (Also fix a small bug in my last change.)
4634         * Scripts/run-webkit-tests:
4636 2008-10-17  Stephanie Lewis  <slewis@apple.com>
4638         Reviewed by Mark Rowe.
4640         Fix layout tests that use prologues and epilogues.
4642         * Scripts/run-webkit-tests:
4644 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
4646         Reviewed by Mark Rowe.
4648         - make sure MallocStackLogging is only on for tools we want to
4649         leak check, not other random stuff as well.
4651         * Scripts/run-webkit-tests:
4653 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
4655         Reviewed by Stephanie Lewis.
4657         - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
4659         This should reduce or eliminate crashes on the buildbot due to
4660         running out of memory while stack logging.
4662         * Scripts/run-webkit-tests:
4664 2008-10-16  Jan Michael Alonzo  <jmalonzo@webkit.org>
4666         Gtk build fix. Not reviewed.
4668         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4669         (LayoutTestController::setSmartInsertDeleteEnabled):
4671 2008-10-15  Glenn Wilson  <gwilson@google.com>
4673         Added new method to allow tests to disable smart editing in the course of a test.
4674         This is a possible solution to bug .20655
4676         Reviewed by Tim Hatcher.
4678         * DumpRenderTree/LayoutTestController.cpp:
4679         (setSmartInsertDeleteEnabledCallback): new method
4680         (LayoutTestController::staticFunctions): added new method to static list of callbacks
4681         * DumpRenderTree/LayoutTestController.h: added signature of new method
4682         * DumpRenderTree/mac/DumpRenderTree.mm:
4683         (resetWebViewToConsistentStateBeforeTesting): added state resetting
4684         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4685         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
4686         * DumpRenderTree/win/DumpRenderTree.cpp:
4687         (resetWebViewToConsistentStateBeforeTesting): added state resetting
4688         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4689         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
4691 2008-10-14  Ada Chan  <adachan@apple.com>
4693         Fix windows build.
4695         Reviewed by Sam Weinig.
4697         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4698         * DumpRenderTree/config.h:
4699         * DumpRenderTree/win/DumpRenderTreeWin.h:
4700         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4701         * DumpRenderTree/win/UIDelegate.cpp:
4703 2008-10-13  Timothy Hatcher  <timothy@apple.com>
4705         Make prepare-ChangeLog populate the changed functions for JavaScript files.
4707         https://bugs.webkit.org/show_bug.cgi?id=21567
4709         Reviewed by David Kilzer.
4711         * Scripts/prepare-ChangeLog:
4712         (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
4713         files that end with ".js".
4714         (get_function_line_ranges_for_javascript): Find functions, anonymous functions
4715         and getters/setters.
4717 2008-10-14  Alp Toker  <alp@nuanti.com>
4719         Reviewed by Sam Weinig.
4721         https://bugs.webkit.org/show_bug.cgi?id=16299
4722         Add a config.h file to DRT
4724         Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
4725         an ad-hoc config header.
4727         * DumpRenderTree/AccessibilityController.cpp:
4728         * DumpRenderTree/AccessibilityUIElement.cpp:
4729         * DumpRenderTree/AccessibilityUIElement.h:
4730         * DumpRenderTree/DumpRenderTree.h:
4731         * DumpRenderTree/GCController.cpp:
4732         * DumpRenderTree/LayoutTestController.cpp:
4733         * DumpRenderTree/WorkQueue.cpp:
4734         * DumpRenderTree/config.h: Added.
4735         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4736         * DumpRenderTree/gtk/GCControllerGtk.cpp:
4737         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4738         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
4739         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
4740         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
4741         * DumpRenderTree/win/DumpRenderTree.cpp:
4742         * DumpRenderTree/win/DumpRenderTreeWin.h:
4743         * DumpRenderTree/win/EditingDelegate.cpp:
4744         * DumpRenderTree/win/EventSender.cpp:
4745         * DumpRenderTree/win/FrameLoadDelegate.cpp:
4746         * DumpRenderTree/win/GCControllerWin.cpp:
4747         * DumpRenderTree/win/MD5.cpp:
4748         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
4749         * DumpRenderTree/win/PolicyDelegate.cpp:
4750         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
4751         * DumpRenderTree/win/WorkQueueItemWin.cpp:
4752         * GNUmakefile.am:
4754 2008-10-13  Chris Fleizach  <cfleizach@apple.com>
4756         Reviewed by Beth Dakin.
4758         Added a method to get the links in a webpage
4760         * DumpRenderTree/AccessibilityUIElement.cpp:
4761         (attributesOfDocumentLinksCallback):
4762         (AccessibilityUIElement::getJSClass):
4763         * DumpRenderTree/AccessibilityUIElement.h:
4764         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4765         (AccessibilityUIElement::getDocumentLinks):
4766         (AccessibilityUIElement::attributesOfDocumentLinks):
4767         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
4768         (AccessibilityUIElement::getDocumentLinks):
4769         (AccessibilityUIElement::attributesOfDocumentLinks):
4771 2008-10-13  David Kilzer  <ddkilzer@apple.com>
4773         Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
4775         <https://bugs.webkit.org/show_bug.cgi?id=21457>
4777         Reviewed by Adam.
4779         * Scripts/resolve-ChangeLogs: Added optional parameter to
4780         -f|--fix-merged switch to run the script on a revision range.
4781         Updated command-line validation checks.
4782         (findChangeLog): Fixed long-standing bug that should have used
4783         $_[0] instead of $_.
4784         (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($).  Updated
4785         to work when called from git filter-branch.  It always restores a
4786         copy of the previous revision before reapplying the patch.
4787         (fixMergedChangeLogs): Added.  Calls itself through git filter-branch
4788         to re-merge ChangeLog files across a revision range.  Removes
4789         .git/refs/original directory on success.
4790         (parseFixMerged): Added.  Custom method to parse the -f|--fix-merged
4791         switch.
4792         (removeChangeLogArguments): Added.  Removes items from @ARGV when
4793         they are ChangeLog paths, and return a list of paths.  This makes it
4794         easier to validate the command-line.
4795         (resolveChangeLog): Added.  Extracted from main code block.  Runs
4796         the traditional single-file merge algorithm.
4797         (usageAndExit): Added.  Extracted from main code block.  Prints
4798         usage statement and exits with error status.
4800 2008-10-12  Darin Adler  <darin@apple.com>
4802         * Scripts/make-js-test-wrappers: Update exceptions list so the script
4803         won't overwrite files and mangle tests.
4805 2008-10-11  Dan Bernstein  <mitz@apple.com>
4807         Reviewed by Sam Weinig and Anders Carlsson.
4809         - update Mac DumpRenderTree to use the new WebView SPI for forcing the
4810           complex text code path
4811         - add --complex-text support to Windows DumpRenderTree
4813         * DumpRenderTree/mac/DumpRenderTree.mm:
4814         (dumpRenderTree):
4815         * DumpRenderTree/win/DumpRenderTree.cpp:
4816         (createWebViewAndOffscreenWindow):
4817         (main):
4818         * Scripts/run-webkit-tests:
4820 2008-10-09  Eric Seidel  <eric@webkit.org>
4822         Reviewed by Oliver Hunt.
4824         https://bugs.webkit.org/show_bug.cgi?id=21498
4826         * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
4828 2008-10-09  Cameron Zwarich  <zwarich@apple.com>
4830         Not reviewed.
4832         Add StructureID.o to the exclusion list in the global initializers
4833         script to fix the Debug build.
4835         * Scripts/check-for-global-initializers:
4837 2008-10-08  Mark Rowe  <mrowe@apple.com>
4839         Fix the Windows build after r37434.
4841         * DumpRenderTree/win/DumpRenderTree.cpp:
4842         (dump): Update code to approximate valid C++ syntax.
4844 2008-10-08  Timothy Hatcher  <timothy@apple.com>
4846         Add SVGElementInstance to the list of exceptions that have
4847         global initializers in debug builds.
4849         Rubber-stamped by Mark Rowe.
4851         * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
4853 2008-10-08  Simon Fraser  <simon.fraser@apple.com>
4855         Reviewed by Dan Bernstein
4857         Avoid disconnect between DRT and run-webkit-tests
4858         about whether to expect PNG dumps by having DRT always
4859         print two blocks terminated by #EOF, the second of which
4860         may be empty.
4862         https://bugs.webkit.org/show_bug.cgi?id=21483
4864         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4865         (printPNG):
4866         (dumpWebViewAsPixelsAndCompareWithExpected):
4867         * DumpRenderTree/mac/DumpRenderTree.mm:
4868         (dump):
4869         * DumpRenderTree/win/DumpRenderTree.cpp:
4870         (dump):
4871         * Scripts/run-webkit-tests:
4873 2008-10-07  Adam Roben  <aroben@apple.com>
4875         Make sure short functions get included in ChangeLog output for git
4876         repositories
4878         Reviewed by Dave Kilzer.
4880         * Scripts/prepare-ChangeLog:
4881         (sub diffCommand): Pass -U0 to git diff so that each contiguous change
4882         will get its own chunk without any surrounding context.
4883         (sub extractLineRange): Use the line numbers from the chunk header
4884         without modifying them now that they're accurate.
4886 2008-10-04  Mark Rowe  <mrowe@apple.com>
4888         Reviewed by Tim Hatcher.
4890         Update check-for-weak-vtables to check only the final linked image for weak vtables.
4891         This gives more useful results than checking each object file independently.
4893         * Scripts/check-for-weak-vtables:
4895 2008-10-03  Pierre-Olivier Latour <pol@apple.com>
4897         Reviewed by Darin Adler
4899         Render images to RGBA8 bitmaps independently of platform endianness.
4901         Create image difference bitmap in reference image colorspace instead of device colorspace
4902         (which depends on the main display profile), so that no color matching happens.
4904         https://bugs.webkit.org/show_bug.cgi?id=21336
4906         * DumpRenderTree/cg/ImageDiffCG.cpp:
4907         (createDifferenceBitmap):
4908         (computePercentageDifferent):
4909         (compareImages):
4911 2008-10-02  Simon Fraser  <simon.fraser@apple.com>
4913         Reviewed by Darin Adler
4915         Fix hang when running with --pixel --reset, which occurs
4916         because DRT spews PNG data when the script does not expect it.
4918         https://bugs.webkit.org/show_bug.cgi?id=21323
4920         * Scripts/run-webkit-tests:
4922 2008-09-30  Mark Rowe  <mrowe@apple.com>
4924         Reviewed by Dan Bernstein.
4926         Add a leak counter for CachedResources since we've had two recent leaks involving them.
4928         * Scripts/check-for-global-initializers:
4930 2008-09-30  Mark Rowe  <mrowe@apple.com>
4932         Rubber-stamped by Dan Bernstein.
4934         Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
4936         JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
4937         being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
4938         We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
4939         any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
4940         torn down before we exit.
4942         * DumpRenderTree/mac/DumpRenderTree.mm:
4943         (dumpRenderTree):
4944         (main):
4946 2008-09-30  Simon Fraser  <simon.fraser@apple.com>
4948         Reviewed by Dan Bernstein
4950         Don't run pixel comparison for text-only tests.
4951         https://bugs.webkit.org/show_bug.cgi?id=21124
4953         * DumpRenderTree/mac/DumpRenderTree.mm:
4954         (dump):
4955         * Scripts/run-webkit-tests:
4957 2008-09-29  Thiago Macieira  <thiago.macieira@nokia.com>
4959         Reviewed by Simon.
4961         Changed copyright from Trolltech ASA to Nokia.
4963         Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
4966         * DumpRenderTree/qt/DumpRenderTree.cpp:
4967         * DumpRenderTree/qt/jsobjects.cpp:
4968         * DumpRenderTree/qt/jsobjects.h:
4969         * DumpRenderTree/qt/main.cpp:
4970         * DumpRenderTree/qt/testplugin.cpp:
4971         * DumpRenderTree/qt/testplugin.h:
4973 2008-09-28  David Kilzer  <ddkilzer@apple.com>
4975         Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
4977         <https://bugs.webkit.org/show_bug.cgi?id=21185>
4979         Reviewed by Adam.
4981         * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
4982         will attempt to reapply the last commit to a ChangeLog file such
4983         that the ChangeLog entry appears at the top of the file.
4984         (findChangeLog): Added prototype and moved method below the exit
4985         statement.
4986         (fixMergedChangeLog): Added.  Method to fix incorrectly merged
4987         ChangeLog entries.
4989 2008-09-27  Anders Carlsson  <andersca@apple.com>
4991         Reviewed by Sam Weinig.
4993         https://bugs.webkit.org/show_bug.cgi?id=21178
4994         <rdar://problem/6248651>
4996         Return the result value from getURL.
4998         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4999         (getURL):
5001 2008-09-26  Matt Lilek  <webkit@mattlilek.com>
5003         Reviewed by Tim Hatcher.
5005         Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
5007         * Scripts/build-webkit:
5009 2008-09-26  Alice Liu  <alice.liu@apple.com>
5011         Remove usage of atlstr.h and CString for VCExpress compatibility
5013         Reviewed by Stephanie Lewis.
5015         * record-memory-win/main.cpp:
5016         (ProcessArgs):
5017         (UseImage):
5018         (QueryContinuously):
5019         (OneQuery):
5020         (OneQueryMP):
5022 2008-09-26  Kevin Ollivier  <kevino@theolliviers.com>
5024         wx build fix. Update the version of libpng.
5026         * wx/install-unix-extras:
5028 2008-09-24  Sam Weinig  <sam@webkit.org>
5030         Reviewed by Darin Adler.
5032         Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
5033         <rdar://problem/6243534>
5034         Crash below Function.apply when using a runtime array as the argument list
5036         Add method to ObjCController to return a runtime array.
5038         * DumpRenderTree/mac/ObjCController.m:
5039         (+[ObjCController isSelectorExcludedFromWebScript:]):
5040         (+[ObjCController webScriptNameForSelector:]):
5041         (-[ObjCController testArray]):
5043 2008-09-24  Beth Dakin  <bdakin@apple.com>
5045         Reviewed by Sam Weinig.
5047         Speculative build fix.
5049         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
5050         (AccessibilityUIElement::supportsPressAction):
5052 2008-09-23  Beth Dakin  <bdakin@apple.com>
5054         Reviewed by Sam Weinig.
5056         This patch extends DumpRenderTree's AccessibilityController to ask
5057         if the focused element supports the press action.
5059         * DumpRenderTree/AccessibilityUIElement.cpp:
5060         (getSupportsPressActionCallback):
5061         (AccessibilityUIElement::getJSClass):
5062         * DumpRenderTree/AccessibilityUIElement.h:
5063         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5064         (AccessibilityUIElement::supportsPressAction):
5066 2008-09-22  Alice Liu  <alice.liu@apple.com>
5068         Adding a stand-alone Windows console application to record a process's memory usage
5070         Reviewed by Steve Falkenburg.
5072         * record-memory-win: Added.
5073         * record-memory-win/main.cpp: Added.
5074         * record-memory-win/record-memory-win.vcproj: Added.
5076 2008-09-22  Chris Fleizach  <cfleizach@apple.com>
5078         Reviewed by Darin Adler.
5080         Support ability to get/set selected text ranges for text controls through AX.
5082         * DumpRenderTree/AccessibilityUIElement.cpp:
5083         (setSelectedTextRangeCallback):
5084         (getSelectedTextRangeCallback):
5085         (AccessibilityUIElement::getJSClass):
5086         * DumpRenderTree/AccessibilityUIElement.h:
5087         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5088         (AccessibilityUIElement::attributesOfRowHeaders):
5089         (AccessibilityUIElement::attributesOfVisibleCells):
5090         (AccessibilityUIElement::rowIndexRange):
5091         (AccessibilityUIElement::columnIndexRange):
5092         (AccessibilityUIElement::cellForColumnAndRow):
5093         (AccessibilityUIElement::selectedTextRange):
5094         (AccessibilityUIElement::setSelectedTextRange):
5095         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
5096         (AccessibilityUIElement::selectedTextRange):
5097         (AccessibilityUIElement::setSelectedTextRange):
5099 2008-09-20  Darin Adler  <darin@apple.com>
5101         * DumpRenderTree/mac/DumpRenderTree.mm:
5102         (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
5104 2008-09-19  Alp Toker  <alp@nuanti.com>
5106         Build fix for the 'gold' linker and recent binutils. New behaviour
5107         requires that we link to used libraries explicitly.
5109         * GNUmakefile.am:
5111 2008-09-19  Stephanie Lewis  <slewis@apple.com>
5113         Reviewed by Oliver Hunt.
5115         Implement a workaround for an incorrect mime-type on machines with
5116         Dashcode 2.0.1.  Dashcode is overriding the UTI type for .js files.
5117         See radar <rdar://problem/6234318>.
5119         * DumpRenderTree/mac/DumpRenderTree.mm:
5120         (convertMIMEType):
5122 2008-09-19  Chris Fleizach  <cfleizach@apple.com>
5124         Fixed Windows bustage
5126         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
5127         (AccessibilityUIElement::titleUIElement):
5129 2008-09-18  Chris Fleizach  <cfleizach@apple.com>
5131         Reviewed by Darin Adler.
5133         Expose titleUIElement call for DumpRenderTree
5135         * ChangeLog:
5136         * DumpRenderTree/AccessibilityUIElement.cpp:
5137         (titleUIElementCallback):
5138         (AccessibilityUIElement::getJSClass):
5139         * DumpRenderTree/AccessibilityUIElement.h:
5140         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5141         (AccessibilityUIElement::titleUIElement):
5143 2008-09-18  Darin Adler  <darin@apple.com>
5145         * Scripts/do-webcore-rename: More renaming plans.
5147 2008-09-18  Mark Rowe  <mrowe@apple.com>
5149         Reviewed by Dan Bernstein.
5151         Clear the main frame's name between tests to get more consistent test results
5152         when running the WebKit tests with --nthly.
5154         * DumpRenderTree/mac/DumpRenderTree.mm:
5155         (resetWebViewToConsistentStateBeforeTesting):
5156         * DumpRenderTree/win/DumpRenderTree.cpp:
5157         (resetWebViewToConsistentStateBeforeTesting):
5159 2008-09-18  Stephanie Lewis  <slewis@apple.com>
5161         Really fix tiger jsc tests.
5163         * Scripts/run-javascriptcore-tests:
5165 2008-09-18  Stephanie Lewis  <slewis@apple.com>
5167         Reviewed by Maciej Stachowiak.
5169         Fix jsc tests on Tiger.  Make jsc tests smarter about when to use the arch flag.
5171         * Scripts/run-javascriptcore-tests:
5172         * Scripts/webkitdirs.pm:
5174 2008-09-18  Mark Rowe  <mrowe@apple.com>
5176         Rubber-stamped by Sam Weinig.
5178         Print warning to stdout rather than stderr when a test attempts to access a remote resource.
5179         This should make it more obvious when a test does this, as stderr output tends to be obscured
5180         by noise in the test results.
5182         Also fixes some coding style issues in ResourceLoadDelegate.mm.
5184         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
5185         (-[NSError _drt_descriptionSuitableForTestResult]):
5186         (-[NSURL _drt_descriptionSuitableForTestResult]):
5187         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
5188         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
5189         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
5190         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
5191         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
5192         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
5194 2008-09-18  Stephanie Lewis  <slewis@apple.com>
5196         Reviewed by Mark Rowe and Maciej Stachowiak..
5198         add a --64-bit option and specify which architecture to run on Mac.
5200         * Scripts/run-javascriptcore-tests:
5202 2008-09-17  Mark Rowe  <mrowe@apple.com>
5204         Reviewed by Sam Weinig.
5206         Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
5208         The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
5209         attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
5210         LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
5212         * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
5213         * DumpRenderTree/LayoutTestController.cpp:
5214         (LayoutTestController::LayoutTestController):
5215         (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
5216         (layoutTestControllerObjectFinalize): Deref the wrapped object.
5217         (LayoutTestController::makeWindowObject): Ref the wrapped object.
5218         * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
5219         * DumpRenderTree/mac/DumpRenderTree.mm:
5220         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
5221         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
5222         * DumpRenderTree/win/DumpRenderTree.cpp:
5223         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
5225 2008-09-16  Sam Weinig  <sam@webkit.org>
5227         Reviewed by Mark Rowe.
5229         Add flag to disable running sample on tests that timeout.
5231         * Scripts/run-webkit-tests:
5233 2008-09-16  Adam Roben  <aroben@apple.com>
5235         Windows build fix after r36511
5237         Update for rename of layoutTestController to gLayoutTestController.
5239         * DumpRenderTree/LayoutTestController.cpp:
5240         * DumpRenderTree/win/EditingDelegate.cpp:
5241         * DumpRenderTree/win/FrameLoadDelegate.cpp:
5242         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
5243         * DumpRenderTree/win/UIDelegate.cpp:
5245 2008-09-16  Adam Roben  <aroben@apple.com>
5247         Add a script to print out the dependency tree of a Visual Studio
5248         solution file
5250         * Scripts/print-msvc-project-dependencies: Added.
5252 2008-09-16  Mark Rowe  <mrowe@apple.com>
5254         Fix the build.
5256         * DumpRenderTree/LayoutTestController.cpp:
5257         (notifyDoneCallback): Call fprintf in a safer manner.
5259 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
5261         Reviewed by Eric Seidel
5263         Protect against tests that call layoutTestController.notifyDone()
5264         more than once, which would lead to memory corruption, by nulling
5265         out the LayoutTestController on the JSObjectRef on destruction. Also
5266         add a finalize callback on the class so that if the LTC outlives
5267         the JSObjectRef, the JSObjectRef backpointer on the LTC can be
5268         nulled out.
5270         https://bugs.webkit.org/show_bug.cgi?id=20875
5272         * DumpRenderTree/LayoutTestController.cpp:
5273         (LayoutTestController::LayoutTestController):
5274         (notifyDoneCallback):
5275         (layoutTestControllerObjectFinalize):
5276         (LayoutTestController::makeWindowObject):
5277         (LayoutTestController::getJSClass):
5278         * DumpRenderTree/LayoutTestController.h:
5279         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5280         (LayoutTestController::~LayoutTestController):
5282 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
5284         Reviewed by Eric Seidel
5286         Step 1 patch: rename global variable for clarity.
5287         https://bugs.webkit.org/show_bug.cgi?id=20875
5289         * DumpRenderTree/DumpRenderTree.h:
5290         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
5291         (dumpWebViewAsPixelsAndCompareWithExpected):
5292         * DumpRenderTree/gtk/DumpRenderTree.cpp:
5293         (dumpFramesAsText):
5294         (dump):
5295         (runTest):
5296         (processWork):
5297         (webViewLoadFinished):
5298         (webViewWindowObjectCleared):
5299         * DumpRenderTree/mac/DumpRenderTree.mm:
5300         (allocateGlobalControllers):
5301         (dumpFrameScrollPosition):
5302         (dumpFramesAsText):
5303         (methodNameStringForFailedTest):
5304         (dump):
5305         (runTest):
5306         * DumpRenderTree/mac/DumpRenderTreeMac.h:
5307         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
5308         * DumpRenderTree/mac/EditingDelegate.mm:
5309         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
5310         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
5311         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
5312         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
5313         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
5314         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
5315         (-[EditingDelegate webViewDidBeginEditing:]):
5316         (-[EditingDelegate webViewDidChange:]):
5317         (-[EditingDelegate webViewDidEndEditing:]):
5318         (-[EditingDelegate webViewDidChangeTypingStyle:]):
5319         * DumpRenderTree/mac/FrameLoadDelegate.mm:
5320         (-[FrameLoadDelegate processWork:]):
5321         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
5322         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
5323         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
5324         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
5325         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
5326         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
5327         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
5328         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
5329         * DumpRenderTree/mac/UIDelegate.mm:
5330         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
5331         (-[UIDelegate webViewFocus:]):
5332         (-[UIDelegate webViewUnfocus:]):
5333         (-[UIDelegate webView:createWebViewWithRequest:]):
5334         (-[UIDelegate webViewClose:]):
5335         * DumpRenderTree/win/DumpRenderTree.cpp:
5336         (dumpFrameScrollPosition):
5337         (dumpFramesAsText):
5338         (dump):
5339         (runTest):
5341 2008-09-15  Alice Liu  <alice.liu@apple.com>
5343         A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
5345         Reviewed by Stephanie Lewis.
5347         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5348         Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
5349         but not Intel.  Add a check for nil before calling.
5350         (AccessibilityUIElement::rowIndexRange):
5351         (AccessibilityUIElement::columnIndexRange):
5353 2008-09-14  Mark Rowe  <mrowe@apple.com>
5355         Build fix.
5357         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5358         (waitUntilDoneWatchdogFired):
5359         * DumpRenderTree/mac/ObjCPlugin.m:
5361 2008-09-08  Dan Bernstein  <mitz@apple.com>
5363         Reviewed by Mark Rowe.
5365         - add an option to run-webkit-tests to always use the complex text code path
5367         * DumpRenderTree/mac/DumpRenderTree.mm:
5368         (initializeGlobalsFromCommandLineOptions):
5369         (dumpRenderTree):
5370         * Scripts/run-webkit-tests:
5372 2008-09-08  Steve Falkenburg  <sfalken@apple.com>
5374         Another Windows nightly build fix.
5376         Reviewed by Sam Weinig.
5378         * FindSafari/FindSafari.cpp:
5379         (_tmain): Delete existing WebKitNightly directory in temp.
5380         * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
5382 2008-09-07  Stephanie Lewis  <slewis@apple.com>
5384         Reviewed by Mark Rowe.
5386         Fix DRT build
5388         * DumpRenderTree/DumpRenderTreePrefix.h:
5389         * DumpRenderTree/win/DumpRenderTree.vcproj:
5391 2008-09-06  Steve Falkenburg  <sfalken@apple.com>
5393         Fix Windows nightlies.
5395         Copy WebKit.dll alongside application so registry-free COM can find it.
5396         Update embedded manifest to force use registry-free COM.
5398         Reviewed by Dave Hyatt.
5400         * FindSafari/FindSafari.cpp:
5401         (copyManifest):
5402         (replaceManifest):
5403         (_tmain):
5404         * FindSafari/FindSafari.rc: Added.
5405         * FindSafari/FindSafari.vcproj:
5406         * FindSafari/Safari.exe.manifest: Added.
5407         * FindSafari/resource.h: Added.
5409 === End merge of squirrelfish-extreme ===
5411 2008-08-31  Mark Rowe  <mrowe@apple.com>
5413         Reviewed by Maciej Stachowiak.
5415         Add a --profile flag to run-sunspider.
5417         * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
5418         to build scripts as indicating that we should use the "Profiling" configuration.  At present
5419         this is only supported by JavaScriptCore, so using this argument to build any other project
5420         will likely result in unexpected behaviour.
5422 2008-08-27  Mark Rowe  <mrowe@apple.com>
5424         Reviewed by Oliver Hunt.
5426         Fix run-webkit-tests to handle DRT exiting early.
5428         * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
5430 === Start merge of squirrelfish-extreme ===
5432 2008-09-04  Mark Rowe  <mrowe@apple.com>
5434         Reviewed by Eric Seidel.
5436         Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
5437         Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
5439         * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
5441 2008-09-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
5443         Reviewed by Oliver Hunt.
5445         Bug 20616: Incorporate V8 benchmarks in testing
5446         <https://bugs.webkit.org/show_bug.cgi?id=20616>
5448         Add support for the --v8 option to run-sunspider.
5450         * Scripts/run-sunspider:
5452 2008-09-04  Kevin Ollivier  <kevino@theolliviers.com>
5454         wx buildbot fix. More robust handling of clean when makefiles are not built or
5455         are not completely made.
5457         * wx/build-wxwebkit:
5459 2008-09-03  Mark Rowe  <mrowe@apple.com>
5461         More Mac build fixes.
5463         Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
5464         Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
5465         default configuration specified in the .xcconfig files.
5467         * Scripts/build-webkit:
5469 2008-09-03  Mark Rowe  <mrowe@apple.com>
5471         Mac build fix.  Ensure that dashboard support is enabled.
5473         * DumpRenderTree/mac/Configurations/Base.xcconfig:
5475 2008-08-25  Steve Falkenburg  <sfalken@apple.com>
5477         Build fix. Copy correct version of ICU.
5479         * DumpRenderTree/win/DumpRenderTree.vcproj:
5481 2008-08-25  Holger Hans Peter Freyther  <zecke@selfish.org>
5483         Reviewed by Simon.
5485         [run-webkit-tests] Use QtLauncher to show the results of the tests
5486         konqueror might not be installed, xdg-open might not be installed but the
5487         QtLauncher should be present.
5489         * Scripts/run-webkit-tests:
5491 2008-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
5493         Initial support for accessibility layout tests on Windows.
5494         https://bugs.webkit.org/show_bug.cgi?id=20497
5496         Reviewed by Sam Weinig.
5498         * DumpRenderTree/AccessibilityController.h: Fix typos.
5499         * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
5500         * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
5501         prevent oleacc.h, which includes windows.h, from including winsock.h.
5502         Fixed typos.
5503         * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
5504         (AccessibilityController::AccessibilityController):
5505         (AccessibilityController::~AccessibilityController):
5506         (AccessibilityController::focusedElement): Get the root element, and
5507         request its focused object.
5508         (AccessibilityController::rootElement): Query Windows for the
5509         accessible client object for the WebView's window.
5510         * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
5511         (AccessibilityUIElement::AccessibilityUIElement):
5512         (AccessibilityUIElement::~AccessibilityUIElement):
5513         (AccessibilityUIElement::getLinkedUIElements): Not implemented.
5514         (AccessibilityUIElement::getChildren): Get the child count, and append
5515         each child.
5516         (AccessibilityUIElement::getChildAtIndex): Get the child at the given
5517         index offset by 1. In MSAA, child 0 is the object itself.
5518         (AccessibilityUIElement::allAttributes): Not implemented.
5519         (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
5520         (AccessibilityUIElement::attributesOfChildren): Same.
5521         (AccessibilityUIElement::parameterizedAttributeNames): Same.
5522         (self): Return a VARIANT representing the "self" object. This is used
5523         when calling methods that require a child variant.
5524         (AccessibilityUIElement::role): Get the MSAA role, a long value, and
5525         convert it into a string with GetRoleText().
5526         (AccessibilityUIElement::title): Get the element's title, and convert
5527         it to a JS String.
5528         (AccessibilityUIElement::description): Same, for description.
5529         (AccessibilityUIElement::width):
5530         (AccessibilityUIElement::height):
5531         (AccessibilityUIElement::intValue): Get the object's value as a string,
5532         and convert the string to a double.
5533         (AccessibilityUIElement::minValue): Not implemented.
5534         (AccessibilityUIElement::maxValue): Same.
5535         (AccessibilityUIElement::insertionPointLineNumber): Same.
5536         (AccessibilityUIElement::attributesOfColumnHeaders): Same.
5537         (AccessibilityUIElement::attributesOfRowHeaders): Same.
5538         (AccessibilityUIElement::attributesOfColumns): Same.
5539         (AccessibilityUIElement::attributesOfRows): Same.
5540         (AccessibilityUIElement::attributesOfVisibleCells): Same.
5541         (AccessibilityUIElement::attributesOfHeader): Same.
5542         (AccessibilityUIElement::indexInTable): Same.
5543         (AccessibilityUIElement::rowIndexRange): Same.
5544         (AccessibilityUIElement::columnIndexRange): Same.
5545         (AccessibilityUIElement::lineForIndex): Same.
5546         (AccessibilityUIElement::boundsForRange): Same.
5547         (AccessibilityUIElement::cellForColumnAndRow): Same.
5548         * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
5549         project.  Link to oleacc.lib, the MSAA library.
5550         * DumpRenderTree/win/FrameLoadDelegate.cpp:
5551         (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
5552         controller.
5553         (FrameLoadDelegate::didClearWindowObject): Create a new window object
5554         for the accessibility controller.
5555         * DumpRenderTree/win/FrameLoadDelegate.h:
5557 2008-08-21  Simon Fraser  <simon.fraser@apple.com>
5559         Reviewed by Mark Rowe
5561         Make build-launcher-app work when run from a git repository.
5562         https://bugs.webkit.org/show_bug.cgi?id=20478
5564         * BuildSlaveSupport/build-launcher-app:
5566 2008-08-20  Maxime Britto  <britto@apple.com>
5568         Reviewed by Ada Chan.
5570          rdar://5259746
5571         Mouse events are sent to page while resizing window (affects Gmail)
5573         * DumpRenderTree/win/UIDelegate.h:
5574         (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
5576 2008-08-19  Chris Fleizach  <cfleizach@apple.com>
5578         Reviewed by Beth Dakin.
5580         Add snowleopard platform in layout tests
5582         Added support for accessing the attributes of
5583         accessibility tables through the accessibility controller
5584         in DumpRenderTree
5586         * DumpRenderTree/AccessibilityUIElement.cpp:
5587         (attributesOfColumnHeadersCallback):
5588         (attributesOfRowHeadersCallback):
5589         (attributesOfColumnsCallback):
5590         (attributesOfRowsCallback):
5591         (attributesOfVisibleCellsCallback):
5592         (attributesOfHeaderCallback):
5593         (indexInTableCallback):
5594         (rowIndexRangeCallback):
5595         (columnIndexRangeCallback):
5596         (childAtIndexCallback):
5597         (cellForColumnAndRowCallback):
5598         (AccessibilityUIElement::getJSClass):
5599         * DumpRenderTree/AccessibilityUIElement.h:
5600         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5601         (convertNSArrayToVector):
5602         (descriptionOfElements):
5603         (AccessibilityUIElement::getLinkedUIElements):
5604         (AccessibilityUIElement::getChildren):
5605         (AccessibilityUIElement::attributesOfLinkedUIElements):
5606         (AccessibilityUIElement::attributesOfChildren):
5607         (AccessibilityUIElement::attributesOfColumnHeaders):
5608         (AccessibilityUIElement::attributesOfRowHeaders):
5609         (AccessibilityUIElement::attributesOfColumns):
5610         (AccessibilityUIElement::attributesOfRows):
5611         (AccessibilityUIElement::attributesOfVisibleCells):
5612         (AccessibilityUIElement::attributesOfHeader):
5613         (AccessibilityUIElement::indexInTable):
5614         (AccessibilityUIElement::rowIndexRange):
5615         (AccessibilityUIElement::columnIndexRange):
5616         (AccessibilityUIElement::cellForColumnAndRow):
5617         * Scripts/run-webkit-tests:
5619 2008-08-19  Alexey Proskuryakov  <ap@webkit.org>
5621         Reviewed by Darin Adler.
5623         Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
5624         is waiting for crash reporter to let it exit.
5626         The fix does not work on Tiger, because the state of the process is indistinguishable from
5627         other waiting processes, at least not with this technique.
5629         * Scripts/run-webkit-tests:
5631 2008-08-18  Alp Toker  <alp@nuanti.com>
5633         Reviewed by Holger Freyther.
5635         https://bugs.webkit.org/show_bug.cgi?id=20350
5636         [GTK] Get DumpRenderTree working
5638         Fixes and enhancements to DumpRenderTree. With these changes, the test
5639         suite can now complete a run producing text and render tree dumps.
5641         * DumpRenderTree/gtk/DumpRenderTree.cpp:
5642         (dumpFramesAsText):
5643         (dump):
5644         (runTest):
5645         (webViewLoadFinished):
5646         (webViewWindowObjectCleared):
5647         (webViewConsoleMessage):
5648         (webViewScriptAlert):
5649         (webViewScriptPrompt):
5650         (webViewScriptConfirm):
5651         (webViewTitleChanged):
5652         (main):
5653         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
5654         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5655         (LayoutTestController::clearBackForwardList):
5656         (LayoutTestController::pathToLocalResource):
5657         (LayoutTestController::setAcceptsEditing):
5658         (LayoutTestController::setUserStyleSheetEnabled):
5659         (LayoutTestController::setUserStyleSheetLocation):
5660         (waitToDumpWatchdogFired):
5661         (LayoutTestController::windowCount):
5662         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
5663         (JSStringCopyUTF8CString):
5664         (ScriptItem::invoke):
5666 2008-08-17  Geoffrey Garen  <ggaren@apple.com>
5668         Reviewed by Cameron Zwarich.
5670         Updated project files to XCode 3.1.
5672         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
5673         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
5675 2008-08-15  Mark Rowe  <mrowe@apple.com>
5677         Rubber-stamped by Geoff Garen.
5679         <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
5681         * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
5683 2008-08-13  Simon Hausmann  <hausmann@webkit.org>
5685         Rubber-stamped by Holger.
5687         Revert r31585 and disable http tests for the Qt build again unless
5688         explicitly enabled.
5690         Running the http tests unfortunately currently still triggers
5691         failures in non-http tests due to side-effects. Disable them by default for
5692         now, for more reliable results.
5694         * Scripts/run-webkit-tests:
5696 2008-08-10  Jan Michael Alonzo  <jmalonzo@webkit.org>
5698         Reviewed (and updated) by Alp Toker.
5700         https://bugs.webkit.org/show_bug.cgi?id=16620
5701         [GTK] Autotools make dist and make check support
5703         Get make dist working.
5705         Note that not all possible configurations have been tested yet.
5707         * GNUmakefile.am:
5709 2008-08-10  Alp Toker  <alp@nuanti.com>
5711         Remove leftover qmake/GTK+ build files.
5713         * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
5714         * GtkLauncher/GtkLauncher.pro: Removed.
5716 2008-08-06  Chris Fleizach  <cfleizach@apple.com>
5718         Reviewed by Beth Dakin
5720         AX functions shouldn't return position information because it changes
5721         based on the platform
5723         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5724         (AccessibilityUIElement::boundsForRange):
5726 2008-08-06  Eric Seidel  <eric@webkit.org>
5728         Reviewed by darin.
5730         Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
5731         <https://bugs.webkit.org/show_bug.cgi?id=20297>
5732         <rdar://problem/6093153>
5734         I've made AccessibilityUIElement a stack object for now.  It could be
5735         made RefCounted, but I figured that might be overkill for the moment.
5736         Essentially it's just a RefPtr itself. :)
5738         I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
5739         which was causing additional leaks. :)
5741         I added toAXElement to remove a bunch of copy/paste code.
5743         * DumpRenderTree/AccessibilityController.h:
5744         * DumpRenderTree/AccessibilityUIElement.cpp:
5745         (toAXElement):
5746         (allAttributesCallback):
5747         (attributesOfLinkedUIElementsCallback):
5748         (attributesOfChildrenCallback):
5749         (lineForIndexCallback):
5750         (boundsForRangeCallback):
5751         (childAtIndexCallback):
5752         (getRoleCallback):
5753         (getTitleCallback):
5754         (getDescriptionCallback):
5755         (getWidthCallback):
5756         (getHeightCallback):
5757         (getIntValueCallback):
5758         (getMinValueCallback):
5759         (getMaxValueCallback):
5760         (getInsertionPointLineNumberCallback):
5761         (finalize):
5762         * DumpRenderTree/AccessibilityUIElement.h:
5763         (AccessibilityUIElement::platformUIElement):
5764         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
5765         (AccessibilityController::focusedElement):
5766         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5767         (AccessibilityUIElement::AccessibilityUIElement):
5768         (AccessibilityUIElement::getLinkedUIElements):
5769         (AccessibilityUIElement::getChildren):
5770         (AccessibilityUIElement::getChildAtIndex):
5771         (AccessibilityUIElement::attributesOfLinkedUIElements):
5772         (AccessibilityUIElement::attributesOfChildren):
5774 2008-08-06  Eric Seidel  <eric@webkit.org>
5776         Reviewed by Cameron Zwarich.
5778         Speculative fix for an error I keep seeing in my Cygwin build
5780         * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
5782 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
5784         Forgot to commit licensing correction in last commit.
5786         * wx/packaging/wxWebKitInstaller.iss.in:
5788 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
5790         Reviewed by Eric Seidel.
5792         Scripts for building a wxWebKit installer for wxPython on Win, eventually will
5793         be used for nightlies.
5795         https://bugs.webkit.org/show_bug.cgi?id=20036
5797         * wx/packaging: Added.
5798         * wx/packaging/build-win-installer.py: Added.
5799         * wx/packaging/wxWebKitInstaller.iss.in: Added.
5801 2008-07-31  Adam Roben  <aroben@apple.com>
5803         Follow-up to r35500
5805         * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
5806         Release configuration, too.
5808 2008-07-31  Stefan Landvogt <stefan.landvogt@gmail.com>
5810         Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
5811         the box
5813         <https://bugs.webkit.org/show_bug.cgi?id=20245>
5815         Reviewed by Adam Roben.
5817         * WinLauncher/WinLauncher.vcproj: adding the following properties to
5818         WinLauncher > Properties > Manifest Tool > Isolated COM
5819         Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
5820         Component File Name: WebKit$(WebKitDLLConfigSuffix)
5821         Doing the change on "All Configurations"
5823 2008-07-31  Adam Roben  <aroben@apple.com>
5825         Windows build bot fix
5827         * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
5828         exist for people at Apple can't be found. Also updated the ICU version
5829         to 3.8.
5831 2008-07-31  David Kilzer  <ddkilzer@apple.com>
5833         Fix layout test results for webarchive/test-xml-stylesheet.xml
5835         Reviewed by Darin Adler.
5837         * DumpRenderTree/mac/DumpRenderTree.mm:
5838         (convertMIMEType): Work around the "text/xml" local file type
5839         regression in Leopard using the BUILDING_ON_LEOPARD macro.  Also
5840         stop mangling "application/x-javascript" into "text/javascript".
5841         (convertWebResourceDataToString): When checking whether to dump a
5842         resource as text, also check to see if the MIME type is in the
5843         -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
5844         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
5845         macro.
5847 2008-07-31  Chris Fleizach  <cfleizach@apple.com>
5849         Reviewed by Alice Liu
5851         Add AX support to get the bounds for a range of text
5852         Add AX support to get the child of an element
5853         Add AX support to get all the parameterized attribute names of an element
5855         * DumpRenderTree/AccessibilityUIElement.cpp:
5856         (parameterizedAttributeNamesCallback):
5857         (boundsForRangeCallback):
5858         (childAtIndexCallback):
5859         (AccessibilityUIElement::getJSClass):
5860         * DumpRenderTree/AccessibilityUIElement.h:
5861         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5862         (AccessibilityUIElement::getChildAtIndex):
5863         (AccessibilityUIElement::parameterizedAttributeNames):
5864         (AccessibilityUIElement::boundsForRange):
5866 2008-07-31  Erik Bunce  <elbunce@thehive.com>
5868         Reviewed by Simon.
5870         Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
5872         * Scripts/run-launcher:
5874 2008-07-30  Jessica Kahn  <jess@apple.com>
5876         Reviewed by Adam Roben.
5878         Slightly stricter checking for previous change, suggested by Adam.
5880         * Scripts/extract-localizable-strings:
5882 2008-07-30  Jessica Kahn  <jess@apple.com>
5884         Reviewed by Darin Adler.
5886         Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
5888         * Scripts/extract-localizable-strings:
5890 2008-07-30  Anders Carlsson  <andersca@apple.com>
5892         Reviewed by Adam.
5894         Copy icu38* files instead of icu36* files.
5896         * DumpRenderTree/win/DumpRenderTree.vcproj:
5898 2008-07-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
5900         DRT/Gtk build fix for r35362
5902         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5903         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
5905 2008-07-25  Brady Eidson  <beidson@apple.com>
5907         Reviewed by Sam
5909         Add the ability to dump whether-or-not an element should have autocomplete enabled,
5910         from the perspective of the WebKit API
5912         * DumpRenderTree/LayoutTestController.cpp:
5913         (elementDoesAutoCompleteForElementWithIdCallback):
5914         (LayoutTestController::staticFunctions):
5916         * DumpRenderTree/LayoutTestController.h:
5917         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5918         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
5919         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5920         (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
5922 2008-07-25  Chris Fleizach  <cfleizach@apple.com>
5924         Reviewed by Beth Dakin
5926         Add support for AXLineForIndex and AXInsertionPointIndex through the
5927         accessibility controller
5929         * DumpRenderTree/AccessibilityUIElement.cpp:
5930         (lineForIndexCallback):
5931         (getInsertionPointLineNumberCallback):
5932         (AccessibilityUIElement::getJSClass):
5933         * DumpRenderTree/AccessibilityUIElement.h:
5934         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
5935         (AccessibilityUIElement::insertionPointLineNumber):
5936         (AccessibilityUIElement::lineForIndex):
5938 2008-07-25  Adam Roben  <aroben@apple.com>
5940         Try to fix the Windows build bot
5942         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
5943         that don't exist for people outside of Apple.
5945 2008-07-18  Landry Breuil  <landry@openbsd.org>
5947         Bug 19975: [OpenBSD] Patches to enable build of WebKit
5949         <https://bugs.webkit.org/show_bug.cgi?id=19975>
5951         Reviewed by David Kilzer.
5953         * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
5955 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
5957         CygwinDownloader fails to install necessary packages
5958         https://bugs.webkit.org/show_bug.cgi?id=20075
5960         Reviewed by Mark Rowe.
5962         * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
5963         mirrors removed in r34116. Set MIME type to application/octet-stream.
5965 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
5967         CygwinDownloader's make-zip.sh script fails
5968         https://bugs.webkit.org/show_bug.cgi?id=20074
5970         Reviewed by Mark Rowe.
5972         * CygwinDownloader/cygwin-downloader.py:
5974 2008-07-15  Sam Weinig  <sam@webkit.org>
5976         Reviewed by Anders Carlsson.
5978         Refactor accessibility testing code.
5980         We now have:
5981         - AccessibilityController
5982           Controller which has access to the WebView and can provide the focused element, root element
5983           and in the future, elementAtPoint.
5985         - AccessibilityUIElement
5986           Object which provides access to the data provided by the Accessibility APIs.
5988         * DumpRenderTree/AccessibilityController.cpp:
5989         (getFocusedElementCallback):
5990         (getRootElementCallback):
5991         (AccessibilityController::getJSClass):
5992         * DumpRenderTree/AccessibilityController.h:
5993         * DumpRenderTree/AccessibilityUIElement.cpp: Added.
5994         (allAttributesCallback):
5995         (attributesOfLinkedUIElementsCallback):
5996         (attributesOfChildrenCallback):
5997         (getRoleCallback):
5998         (getTitleCallback):
5999         (getDescriptionCallback):
6000         (getWidthCallback):
6001         (getHeightCallback):
6002         (getIntValueCallback):
6003         (getMinValueCallback):
6004         (getMaxValueCallback):
6005         (finalize):
6006         (AccessibilityUIElement::makeJSAccessibilityUIElement):
6007         (AccessibilityUIElement::getJSClass):
6008         * DumpRenderTree/AccessibilityUIElement.h: Added.
6009         (AccessibilityUIElement::platformUIElement):
6010         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6011         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6012         (AccessibilityController::AccessibilityController):
6013         (AccessibilityController::~AccessibilityController):
6014         (AccessibilityController::focusedElement):
6015         (AccessibilityController::rootElement):
6016         * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
6017         (AccessibilityUIElement::AccessibilityUIElement):
6018         (descriptionOfValue):
6019         (attributesOfElement):
6020         (nsStringToJSStringRef):
6021         (concatenateAttributeAndValue):
6022         (AccessibilityUIElement::getLinkedUIElements):
6023         (AccessibilityUIElement::getChildren):
6024         (AccessibilityUIElement::attributesOfLinkedUIElements):
6025         (AccessibilityUIElement::attributesOfChildren):
6026         (AccessibilityUIElement::allAttributes):
6027         (AccessibilityUIElement::role):
6028         (AccessibilityUIElement::title):
6029         (AccessibilityUIElement::description):
6030         (AccessibilityUIElement::width):
6031         (AccessibilityUIElement::height):
6032         (AccessibilityUIElement::intValue):
6033         (AccessibilityUIElement::minValue):
6034         (AccessibilityUIElement::maxValue):
6036 2008-07-14  Chris Fleizach  <cfleizach@apple.com>
6038         Reviewed by Beth Dakin
6040         Add support to get attributes of the AXChildren of an objecty
6042         * DumpRenderTree/AccessibilityController.cpp:
6043         (attributesOfChildrenForFocusedElementCallback):
6044         (AccessibilityController::staticFunctions):
6045         * DumpRenderTree/AccessibilityController.h:
6046         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6047         (descriptionOfValue):
6048         (AccessibilityController::attributesOfChildrenForFocusedElement):
6050 2008-07-14  Steve Falkenburg  <sfalken@apple.com>
6052         Build fix.
6054         * DumpRenderTree/win/DumpRenderTree.vcproj:
6056 2008-07-14  Adam Roben  <aroben@apple.com>
6058         Attempted Windows build fix
6060         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
6061         CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
6062         include path.
6064 2008-07-14  Alexey Proskuryakov  <ap@webkit.org>
6066         Reviewed by Geoff Garen.
6068         Eliminate per-thread JavaScript global data instance support and make arbitrary
6069         global data/global object combinations possible.
6071         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
6072         (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
6073         In this scenario, it was causing crashes after each 10-20 tests, because there was a large
6074         chance for a different thread to cause GC after the context was released.
6076 2008-07-11  Stephanie Lewis  <slewis@apple.com>
6078         Reviewed by Darin Adler.
6080         Make sure we read WebCore Leak messages.  Force full document teardown for DumpRenderTree.
6082         Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
6084         * DumpRenderTree/mac/DumpRenderTree.mm:
6085         (setDefaultsToConsistentValuesForTesting):
6086         (resetWebViewToConsistentStateBeforeTesting):
6087         * Scripts/run-webkit-tests:
6089 2008-07-10  Steve Falkenburg  <sfalken@apple.com>
6091         Build fix.
6093         * DumpRenderTree/win/DumpRenderTree.vcproj:
6095 2008-07-09  Eric Seidel  <eric@webkit.org>
6097         Reviewed by Mark Rowe.
6099         Print <div> backgrounds when printing from DRT.
6101         * DumpRenderTree/mac/DumpRenderTree.mm:
6102         (setDefaultsToConsistentValuesForTesting):
6104 2008-07-09  Eric Seidel  <eric@webkit.org>
6106         Reviewed by Mark Rowe.
6108         Fix copying of expected results to correct location
6110         * Scripts/run-webkit-tests:
6112 2008-07-09  Eric Seidel  <eric@webkit.org>
6114         Reviewed by aroben.
6116         * DumpRenderTree/LayoutTestController.cpp:
6117         (LayoutTestController::LayoutTestController):
6118         (dumpAsPDFCallback):
6119         (LayoutTestController::staticFunctions):
6120         * DumpRenderTree/LayoutTestController.h:
6121         (LayoutTestController::dumpAsPDF):
6122         (LayoutTestController::setDumpAsPDF):
6123         * DumpRenderTree/mac/DumpRenderTree.mm:
6124         (dumpFrameAsPDF):
6125         (dump):
6127 2008-07-09  Eric Seidel  <eric@webkit.org>
6129         Reviewed by weinig.
6131         Add Content-Type support to DumpRenderTree and run-webkit-tests
6132         and move expected.txt files to expected.webarchive
6134         https://bugs.webkit.org/show_bug.cgi?id=15565
6136         * DumpRenderTree/cg/ImageDiffCG.cpp:
6137         (compareImages):
6138         (main):
6139         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
6140         (printPNG):
6141         * DumpRenderTree/mac/DumpRenderTree.mm:
6142         (dump):
6143         * Scripts/run-webkit-tests:
6145 2008-07-08  Jon Honeycutt  <jhoneycutt@apple.com>
6147         Reviewed by Anders.
6149         Port r34988 to Mac: allow tests to define JavaScript to execute when
6150         NPP_DestroyStream or NPP_URLNotify is called.
6152         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
6153         (NPP_New): Remove initialization that happens in pluginAllocate. Look
6154         for new arguments onStreamDestroy and onURLNotify.
6155         (NPP_Destroy): Free onStreamDestroy and onURLNotify.
6156         (executeScript): Code moved from onStreamLoad.
6157         (NPP_NewStream): Call executeScript.
6158         (NPP_DestroyStream): Same.
6159         (NPP_URLNotify): Same.
6161 2008-07-07  Beth Dakin  <bdakin@apple.com>
6163         Reviewed by Anders.
6165         This patch extends DRT accessibility tests to add the ability to
6166         query the intValue, minValue, and maxValue of the focused element.
6168         * DumpRenderTree/AccessibilityController.cpp:
6169         (intValueOfFocusedElementCallback):
6170         (minValueOfFocusedElementCallback):
6171         (maxValueOfFocusedElementCallback):
6172         (AccessibilityController::staticFunctions):
6173         * DumpRenderTree/AccessibilityController.h:
6174         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6175         (AccessibilityController::intValueOfFocusedElement):
6176         (AccessibilityController::minValueOfFocusedElement):
6177         (AccessibilityController::maxValueOfFocusedElement):
6179 2008-07-07  Steve Falkenburg  <sfalken@apple.com>
6181         Fix build.
6183         * DumpRenderTree/win/ImageDiff.vcproj:
6185 2008-07-02  Jon Honeycutt  <jhoneycutt@apple.com>
6187         Allow tests to define JavaScript to execute when NPP_DestroyStream or
6188         NPP_URLNotify is called.
6190         Reviewed by Anders.
6192         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
6193         property, "returnErrorFromNewStream." This is to support the test for
6194         <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
6195         caused by WebKit calling NPP_DestroyStream after a plug-in returns an
6196         error from NPP_NewStream.
6197         (pluginGetProperty):
6198         (pluginSetProperty):
6199         (pluginAllocate):
6200         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
6201         members, onStreamDestroy and onURLNotify.
6202         * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
6203         (NPP_New): Remove initialization of onStreamLoad; this was moved to
6204         pluginAllocate. Look for new arguments onStreamDestroy and
6205         onURLNotify, and store their values.
6206         (NPP_Destroy): Free new members.
6207         (executeScript): Code moved from onStreamLoad
6208         (NPP_NewStream): If returnErrorFromNewStream has been set to true,
6209         return a generic error code. If onStreamLoad is set, execute it as
6210         JavaScript.
6211         (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
6212         (NPP_URLNotify): Same, for onURLNotify.
6214 2008-07-02  Brady Eidson  <beidson@apple.com>
6216         Reviewed by Mitz Pettel and John Sullivan
6218         Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
6219         load delegate.
6221         Required to add a layout test for the fix for <rdar://problem/5549871>
6223         * DumpRenderTree/mac/FrameLoadDelegate.mm:
6224         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
6225           [WebFrame stopLoading] to test for the crash reflected in 5549871
6227         All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
6228         * DumpRenderTree/LayoutTestController.cpp:
6229         (LayoutTestController::LayoutTestController):
6230         (setStopProvisionalFrameLoadsCallback):
6231         (LayoutTestController::staticFunctions):
6232         * DumpRenderTree/LayoutTestController.h:
6233         (LayoutTestController::stopProvisionalFrameLoads):
6234         (LayoutTestController::setStopProvisionalFrameLoads):
6236 2008-07-01  Chris Fleizach  <cfleizach@apple.com>
6238         Reviewed by Beth Dakin
6240         Support ability to get width and height of an element through accessibility
6242         * DumpRenderTree/AccessibilityController.cpp:
6243         (widthOfFocusedElementCallback):
6244         (heightOfFocusedElementCallback):
6245         (AccessibilityController::staticFunctions):
6246         * DumpRenderTree/AccessibilityController.h:
6247         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6248         (AccessibilityController::widthOfFocusedElement):
6249         (AccessibilityController::heightOfFocusedElement):
6251 2008-06-30  Chris Fleizach  <cfleizach@apple.com>
6253         Reviewed by Beth Dakin
6255         Support the ability to get the linked ui elements of an object
6257         * DumpRenderTree/AccessibilityController.cpp:
6258         (attributesOfLinkedUIElementsForFocusedElementCallback):
6259         (AccessibilityController::staticFunctions):
6260         * DumpRenderTree/AccessibilityController.h:
6261         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6262         (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
6263         (AccessibilityController::allAttributesOfFocusedElement):
6264         (attributesOfElement):
6265         (nsStringToJSStringRef):
6267 2008-06-29  Sam Weinig  <sam@webkit.org>
6269         Fix Tiger build.
6271         * DumpRenderTree/mac/EventSendingController.mm:
6272         (eventTypeForMouseButtonAndAction):
6274 2008-06-27  Eric Seidel  <eric@webkit.org>
6276         Reviewed by darin.
6278         Add multi-button mouseevent support to DRT
6279         https://bugs.webkit.org/show_bug.cgi?id=15173
6281         It's now possible to specify the mouse button with:
6282         eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
6284         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6285         * DumpRenderTree/mac/EventSendingController.h:
6286         * DumpRenderTree/mac/EventSendingController.mm:
6287         (+[EventSendingController isSelectorExcludedFromWebScript:]):
6288         (+[EventSendingController webScriptNameForSelector:]):
6289         (eventTypeForMouseButtonAndAction):
6290         (-[EventSendingController updateClickCountForButton:]):
6291         (-[EventSendingController mouseDown:]):
6292         (-[EventSendingController mouseUp:]):
6293         (-[EventSendingController mouseMoveToX:Y:]):
6294         (-[EventSendingController contextClick]):
6296 2008-06-28  Nikolas Zimmermann  <zimmermann@kde.org>
6298         Reviewed by Oliver.
6300         Copy <test>-expected.png from the right location to /tmp/layout-test-results.
6301         Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
6303         * Scripts/run-webkit-tests:
6305 2008-06-27  Jan Michael Alonzo  <jmalonzo@webkit.org>
6307         Reviewed by Christian Dywan.
6309         [Gtk] Initialize webview settings before running DRT tests
6310         http://bugs.webkit.org/show_bug.cgi?id=19778
6312         * DumpRenderTree/gtk/DumpRenderTree.cpp:
6313         (setDefaultsToConsistentStateValuesForTesting):
6314         (main):
6316 2008-06-26  Darin Adler  <darin@apple.com>
6318         * Scripts/check-for-weak-vtables: Fixed comment.
6320 2008-06-26  Darin Adler  <darin@apple.com>
6322         * Scripts/check-for-weak-vtables: Added.
6324 2008-06-26  Beth Dakin  <bdakin@apple.com>
6326         Reviewed by Sam.
6328         Do not include AXPosition in the dump of all of the accessibility
6329         attributes since it is screen-specific.
6331         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6332         (AccessibilityController::allAttributesOfFocusedElement):
6334 2008-06-26  Beth Dakin  <bdakin@apple.com>
6336         Reviewed by Anders.
6338         This is a speculative fix for the failing layout test on the build
6339         bot. It seems that the problem that the Build Bot is having is
6340         Tiger-specific. On Tiger, [NSValue description] was not very smart.
6341         So I replaced our call to description with a hand-rolled equivalent
6342         that will match on both platforms.
6344         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6345         (descriptionOfValue):
6347 2008-06-25  Beth Dakin  <bdakin@apple.com>
6349         Reviewed by Sam Weinig.
6351         This patch adds support to the AccessibilityController to query the
6352         following attributes specifically, without a full attribute dump:
6353         AXRole, AXTitle, and AXDescription.
6355         * DumpRenderTree/AccessibilityController.cpp:
6356         (allAttributesForFocusedElementCallback):
6357         (roleOfFocusedElementCallback):
6358         (titleOfFocusedElementCallback):
6359         (descriptionOfFocusedElementCallback):
6360         (AccessibilityController::staticFunctions):
6361         * DumpRenderTree/AccessibilityController.h:
6362         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6363         (AccessibilityController::allAttributesForFocusedElement):
6364         (concatenateAttributeAndValue):
6365         (AccessibilityController::roleOfFocusedElement):
6366         (AccessibilityController::titleOfFocusedElement):
6367         (AccessibilityController::descriptionOfFocusedElement):
6369 2008-06-24  Dan Bernstein  <mitz@apple.com>
6371         Reviewed by Stephanie Lewis.
6373         - move the linker flags from the debug configuration in the project
6374           to the shared configuration
6376         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6377         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
6379 2008-06-24  Dan Bernstein  <mitz@apple.com>
6381         - try to fix the Tiger build
6383         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
6385 2008-06-24  Sam Weinig and Beth Dakin  <bdakin@apple.com and sam@webkit.org>
6387         Reviewed by Darin Adler.
6389         Fix for <rdar://problem/5884881> Make DumpRenderTree support
6390         accessibility tests
6392         This patch adds some basic support for accessibility layout tests
6393         on the Mac.
6395         * DumpRenderTree/AccessibilityController.cpp: Added.
6396         (AccessibilityController::AccessibilityController):
6397         (AccessibilityController::~AccessibilityController):
6398         (dumpCurrentAttributesCallback):
6399         (AccessibilityController::makeWindowObject):
6400         (AccessibilityController::getJSClass):
6401         (AccessibilityController::staticFunctions):
6402         * DumpRenderTree/AccessibilityController.h: Added.
6403         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6404         * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
6405         (descriptionOfValue):
6406         (AccessibilityController::dumpCurrentAttributes):
6407         * DumpRenderTree/mac/DumpRenderTree.mm:
6408         * DumpRenderTree/mac/FrameLoadDelegate.h:
6409         * DumpRenderTree/mac/FrameLoadDelegate.mm:
6410         (-[FrameLoadDelegate init]):
6411         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
6413 2008-06-24  John Sullivan  <sullivan@apple.com>
6415         Reviewed by Dan Bernstein
6417         * Scripts/extract-localizable-strings:
6418         add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
6419         list of debugging macros, to avoid noise when keeping the list of localized string
6420         exceptions up to date
6422 2008-06-24  Dan Bernstein  <mitz@apple.com>
6424         Rubber-stamped by Darin Adler.
6426         - add a font family for testing font-weight
6428         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
6429         flags to create data sections for the WeightWatcher fonts.
6430         * DumpRenderTree/fonts: Added.
6431         * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
6432         * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
6433         * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
6434         * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
6435         * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
6436         * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
6437         * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
6438         * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
6439         * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
6440         * DumpRenderTree/mac/DumpRenderTree.mm:
6441         (activateFonts): Renamed activateAhemFont to this and made it activate
6442         the WeightWatcher fonts in addition to Ahem.
6443         (prepareConsistentTestingEnvironment): Adjusted for the name change.
6444         * DumpRenderTree/win/DumpRenderTree.cpp:
6445         (initialize): Added the WeightWatcher fonts.
6447 2008-06-20  Brent Fulgham  <bfulgham@gmail.com>
6449         Reviewed by Darin Adler.
6451         Extend the build-webkit (and set-webkit-configuration) script to
6452         support Cairo-based webkit builds.  (see http://bugs.webkit.org/show_bug.cgi?17952)
6454         * Scripts/build-webkit:  Add --cairo-win32 to the help message
6455         * Scripts/webkitdirs.pm:  Extend the 'determinePassedConfiguration
6456           subroutine to recognize the --cairo-win32 flag.  When present,
6457           the build configuration is changed from Debug/Release to
6458           Debug_Cairo/Release_Cairo.  This flag is only active when the
6459           isCygwin() test is true.
6461 2008-06-17  Dan Bernstein  <mitz@apple.com>
6463         Reviewed by Justin Garcia.
6465         - prefer Leopard results when running on Snow Leopard.
6467         * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
6468           mac-leopard.
6469         * Scripts/webkitdirs.pm: Added isSnowLeopard().
6471 2008-06-15  Darin Adler  <darin@apple.com>
6473         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
6475 2008-06-15  Darin Adler  <darin@apple.com>
6477         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
6479 2008-06-15  Darin Adler  <darin@apple.com>
6481         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
6483 2008-06-15  Darin Adler  <darin@apple.com>
6485         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
6487 2008-06-15  Darin Adler  <darin@apple.com>
6489         * Scripts/do-file-rename: Updated.
6490         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
6492 2008-06-15  Darin Adler  <darin@apple.com>
6494         * Scripts/do-file-rename: Updated for the latest round of renaming.
6495         * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
6497 2008-06-15  Darin Adler  <darin@apple.com>
6499         * Scripts/create-exports: Added.
6500         * Scripts/do-file-rename: Added some planned renames.
6501         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
6503 2008-06-15  Darin Adler  <darin@apple.com>
6505         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
6507 2008-06-15  Maciej Stachowiak  <mjs@apple.com>
6509         Reviewed by Oliver.
6511         - rename testkjs to jsc
6513         * Scripts/build-jsc: Copied from Scripts/build-testkjs.
6514         * Scripts/build-testkjs: Removed.
6515         * Scripts/run-javascriptcore-tests:
6516         * Scripts/run-jsc: Copied from Scripts/run-testkjs.
6517         * Scripts/run-sunspider:
6518         * Scripts/run-testkjs: Removed.
6519         * Scripts/sunspider-compare-results:
6521 2008-06-14  Darin Adler  <darin@apple.com>
6523         * Scripts/do-webcore-rename: Moved planned renames into a separate hash
6524         from the actual renames. Removed many renames that are either done or
6525         no longer planned.
6527 2008-06-14  Darin Adler  <darin@apple.com>
6529         * Scripts/do-webcore-rename: Fixed obvious typo.
6531 2008-06-13  Darin Adler  <darin@apple.com>
6533         * Scripts/make-js-test-wrappers: Added three more exceptions.
6535 2008-06-10  Joerg Bornemann  <joerg.bornemann@trolltech.com>
6537         Reviewed by Simon.
6539         For the qmake based build make it possible to build against makespecs where
6540         QMAKE_CC is defined in a configuration file included from qmake.conf.
6542         * Scripts/webkitdirs.pm: Added support for include() statements in
6543         qmake.conf.
6545 2008-06-09  Alp Toker  <alp@nuanti.com>
6547         gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
6548         each of the tools since these are no longer set globally.
6550         * GNUmakefile.am:
6552 2008-06-08  Darin Adler  <darin@apple.com>
6554         * Scripts/make-js-test-wrappers: Added another exception.
6556 2008-06-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
6558         Reviewed by Timothy.
6560         Remove the --squirrelfish option from SunSpider, as it is no longer needed.
6562         * Scripts/run-sunspider:
6564 2008-06-05  Alp Toker  <alp@nuanti.com>
6566         Build fix for r34387.
6568         * GNUmakefile.am:
6570 2008-06-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
6572         Reviewed by Oliver.
6574         Add an exception for Opcode.o to the global initializers check so that
6575         we can dump instruction statistics in the JavaScript virtual machine.
6577         * Scripts/check-for-global-initializers:
6579 2008-05-30  Steve Falkenburg  <sfalken@apple.com>
6581         Generate an isolated COM manifest for registry free COM.
6583         * DumpRenderTree/win/DumpRenderTree.vcproj:
6585 2008-06-02  Anders Carlsson  <andersca@apple.com>
6587         Reviewed by David Hyatt and Mitz.
6589         <rdar://problem/5704119>
6590         repro crash in WebCore::RenderPart::setWidget (plugin-related?)
6592         Call -[WebView display] in the "plug-in" failed delegate method, simulating
6593         the sheet that Safari puts up.
6595         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
6596         (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
6598 2008-05-30  Timothy Hatcher  <timothy@apple.com>
6600         Made the starting line number of scripts be 1-based throughout the engine.
6601         This cleans up script line numbers so they are all consistent now.
6603         Reviewed by Oliver Hunt.
6605         * DumpRenderTree/mac/ObjCController.m:
6606         (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
6607         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
6608         (runJavaScriptThread): Ditto.
6609         * DumpRenderTree/win/DumpRenderTree.cpp:
6610         (runJavaScriptThread): Ditto.
6612 2008-05-29  Geoffrey Garen  <ggaren@apple.com>
6614         Reviewed by Adam Roben.
6616         Fixed VCSUtils.pm to work with git repositories inside symlinks.
6618         * Scripts/VCSUtils.pm: Compute a relative path from the git repository
6619         root, instead of the root of the filesystem, to work around a bug in
6620         abs2rel when traversing symlinked home directories.
6622 2008-05-29  Kevin Ollivier  <kevino@theolliviers.com>
6624         Reviewed by Darin Adler.
6626         Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
6628         https://bugs.webkit.org/show_bug.cgi?id=19311
6630         * Scripts/webkitdirs.pm:
6632 2008-05-29  Alexey Proskuryakov  <ap@webkit.org>
6634         Reviewed by Adam Roben.
6636         Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
6637         configuration files.
6639         * Scripts/run-iexploder-tests:
6640         * Scripts/run-mangleme-tests:
6641         Renamed runSafari to not conflict with the one in webkitdirs.
6642         Added SSLCertificateFile option for httpd, as now needed.
6644 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
6646         wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
6648         * wx/browser/browser.cpp:
6649         (MyApp::OnInit):
6651 2008-05-24  Andreia Gaita  <shana@isninja.com>
6653         Reviewed by Alp Toker.
6655         cygwin-downloader.py fixes.
6657         Remove two non-working mirrors. Add a check for missing dependency
6658         packages to avoid bailing out on an inconsistent Cygwin package list.
6660         * CygwinDownloader/cygwin-downloader.py:
6662 2008-05-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
6664         Reviewed by Darin Adler.
6666         Remove useQmake usage. QMake build doesn't support Gtk port
6667         anymore.
6669         Also fix 2 occurences of "Web Kit". Should be WebKit.
6671         * Scripts/build-webkit:
6672         * Scripts/run-javascriptcore-tests:
6673         * Scripts/run-launcher:
6674         * Scripts/run-webkit-tests:
6675         * Scripts/webkitdirs.pm:
6677 2008-05-22  Stephanie Lewis  <slewis@apple.com>
6679         Reviewed by Dan.
6681         implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
6683         * DumpRenderTree/mac/UIDelegate.mm:
6684         (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
6685         * DumpRenderTree/win/UIDelegate.cpp:
6686         (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
6688 2008-05-21  Adele Peterson  <adele@apple.com>
6690         Reviewed by Adam.
6692         DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
6694         * DumpRenderTree/win/UIDelegate.cpp:
6695         (UIDelegate::webViewFocus): Added.
6696         (UIDelegate::webViewUnfocus): Added.
6697         * DumpRenderTree/win/UIDelegate.h:
6699 2008-05-21  Mark Rowe  <mrowe@apple.com>
6701         Rubber-stamped by Stephanie Lewis.
6703         Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
6704         rather than trigger an unknown argument message.  This allows run-webkit-tests to display results
6705         once more.
6707         * Scripts/run-safari:
6709 2008-05-21  Stephanie Lewis  <slewis@apple.com>
6711         Reviewed by Maciej, Mark.
6713         arch doesn't take arguments on tiger.  expand DRT timeout for guardMalloc.
6715         * Scripts/run-webkit-tests:
6716         * Scripts/webkitdirs.pm:
6718 2008-05-20  Mark Rowe  <mrowe@apple.com>
6720         Reviewed by Stephanie Lewis.
6722         Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
6724         If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
6725         This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
6726         can be manually overridden by passing --64-bit or --no-64-bit.  This removes the need to always
6727         pass an argument to run-webkit-tests after having built with "make x86_64".
6729         * Scripts/gdb-safari:
6730         * Scripts/run-safari:
6731         * Scripts/run-webkit-tests:
6732         * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
6733         preferred architecture, and exporting of the environment variables for 'arch' out into
6734         separate subroutines.
6736 2008-05-20  Mark Rowe  <mrowe@apple.com>
6738         Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
6740         * Makefile:
6742 === End merge of squirrelfish ===
6744 2008-04-14  Maciej Stachowiak  <mjs@apple.com>
6746         Reviewed by Oliver.
6748         - added support for --ubench mode
6750         * Scripts/run-sunspider:
6752 2008-03-26  Geoffrey Garen  <ggaren@apple.com>
6754         Reviewed by Oliver Hunt.
6756         --squirrelfish mode: pared down tests for squirrelfish to chew on.
6758         * Scripts/run-sunspider:
6760 === Start merge of squirrelfish ===
6762 2008-05-21  Darin Adler  <darin@apple.com>
6764         * Scripts/make-js-test-wrappers: Added another exception.
6766 2008-05-19  Stephanie Lewis  <slewis@apple.com>
6768         Reviewed by Adam.
6770         Explicitly set run mode to 32bit unless overridden to avoid
6771         confusion when running tests
6773         * Scripts/build-dumprendertree:
6774         * Scripts/gdb-safari:
6775         * Scripts/run-webkit-tests:
6776         * Scripts/webkitdirs.pm:
6778 2008-05-16  Stephanie Lewis  <slewis@apple.com>
6780         Reviewed by Steve.
6782         Print out pending unload event count. Also print out main frame name to match Mac.
6784         * DumpRenderTree/win/FrameLoadDelegate.cpp:
6785         (descriptionSuitableForTestResult):
6786         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
6788 2008-05-16  Timothy Hatcher  <timothy@apple.com>
6790         Remove the Drosera project, code and resources since it has been
6791         replaced with the Web Inspector's debugger. Removes references to
6792         Drosera in various scripts and makefiles.
6794         Rubber-stamped by Mark Rowe.
6796         * BuildSlaveSupport/build-launcher-app:
6797         * Drosera/DebuggerDocument.cpp: Removed.
6798         * Drosera/DebuggerDocument.h: Removed.
6799         * Drosera/Drosera.icns: Removed.
6800         * Drosera/DroseraWin.make: Removed.
6801         * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
6802         * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
6803         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
6804         * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
6805         * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
6806         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
6807         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
6808         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
6809         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
6810         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
6811         * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
6812         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
6813         * Drosera/Images/Drosera.ico: Removed.
6814         * Drosera/Images/SourceArrow.png: Removed.
6815         * Drosera/Images/SourceArrowBlank.png: Removed.
6816         * Drosera/Images/SourceArrowOpen.png: Removed.
6817         * Drosera/Images/background_stripe.png: Removed.
6818         * Drosera/Images/breakPoint.tif: Removed.
6819         * Drosera/Images/breakPointDisabled.tif: Removed.
6820         * Drosera/Images/breakpointeditor.png: Removed.
6821         * Drosera/Images/close.tif: Removed.
6822         * Drosera/Images/close_active.tif: Removed.
6823         * Drosera/Images/close_hover.tif: Removed.
6824         * Drosera/Images/console.png: Removed.
6825         * Drosera/Images/continue.tif: Removed.
6826         * Drosera/Images/fileIcon.jpg: Removed.
6827         * Drosera/Images/finishFunction.tif: Removed.
6828         * Drosera/Images/glossyFooterFill.tif: Removed.
6829         * Drosera/Images/glossyHeader.png: Removed.
6830         * Drosera/Images/glossyHeaderPressed.png: Removed.
6831         * Drosera/Images/gradientBackground.png: Removed.
6832         * Drosera/Images/gutter.png: Removed.
6833         * Drosera/Images/navLeftDisabled.png: Removed.
6834         * Drosera/Images/navLeftNormal.png: Removed.
6835         * Drosera/Images/navLeftPressed.png: Removed.
6836         * Drosera/Images/navRightDisabled.png: Removed.
6837         * Drosera/Images/navRightNormal.png: Removed.
6838         * Drosera/Images/navRightPressed.png: Removed.
6839         * Drosera/Images/pause.tif: Removed.
6840         * Drosera/Images/popUpArrows.png: Removed.
6841         * Drosera/Images/programCounter.tif: Removed.
6842         * Drosera/Images/programCounterBreakPoint.tif: Removed.
6843         * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
6844         * Drosera/Images/run.tif: Removed.
6845         * Drosera/Images/siteCollapsed.tif: Removed.
6846         * Drosera/Images/siteExpanded.tif: Removed.
6847         * Drosera/Images/siteIcon.tif: Removed.
6848         * Drosera/Images/small.ico: Removed.
6849         * Drosera/Images/splitterBar.tif: Removed.
6850         * Drosera/Images/splitterDimple.tif: Removed.
6851         * Drosera/Images/step.tif: Removed.
6852         * Drosera/Images/stepOut.tif: Removed.
6853         * Drosera/Images/stepOver.tif: Removed.
6854         * Drosera/Images/stop.tif: Removed.
6855         * Drosera/Images/toolbarBackground.png: Removed.
6856         * Drosera/Images/verticalSplitterBar.tiff: Removed.
6857         * Drosera/Images/verticalSplitterDimple.tiff: Removed.
6858         * Drosera/Makefile: Removed.
6859         * Drosera/breakpointEditor.html: Removed.
6860         * Drosera/config.h: Removed.
6861         * Drosera/console.css: Removed.
6862         * Drosera/console.html: Removed.
6863         * Drosera/console.js: Removed.
6864         * Drosera/debugger.css: Removed.
6865         * Drosera/debugger.html: Removed.
6866         * Drosera/debugger.js: Removed.
6867         * Drosera/mac/DebuggerApplication.h: Removed.
6868         * Drosera/mac/DebuggerApplication.mm: Removed.
6869         * Drosera/mac/DebuggerClient.h: Removed.
6870         * Drosera/mac/DebuggerClient.mm: Removed.
6871         * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
6872         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
6873         * Drosera/mac/Info.plist: Removed.
6874         * Drosera/mac/LauncherInfo.plist: Removed.
6875         * Drosera/mac/Makefile: Removed.
6876         * Drosera/mac/ServerConnection.h: Removed.
6877         * Drosera/mac/ServerConnection.mm: Removed.
6878         * Drosera/mac/launcher.m: Removed.
6879         * Drosera/mac/main.m: Removed.
6880         * Drosera/viewer.css: Removed.
6881         * Drosera/viewer.html: Removed.
6882         * Drosera/win/BaseDelegate.h: Removed.
6883         * Drosera/win/DebuggerClient.cpp: Removed.
6884         * Drosera/win/DebuggerClient.h: Removed.
6885         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
6886         * Drosera/win/Drosera.cpp: Removed.
6887         * Drosera/win/Drosera.h: Removed.
6888         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
6889         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
6890         * Drosera/win/DroseraPrefix.cpp: Removed.
6891         * Drosera/win/DroseraPrefix.h: Removed.
6892         * Drosera/win/Info.plist: Removed.
6893         * Drosera/win/ServerConnection.cpp: Removed.
6894         * Drosera/win/ServerConnection.h: Removed.
6895         * Drosera/win/resource.h: Removed.
6896         * Makefile:
6897         * Scripts/build-drosera: Removed.
6898         * Scripts/gdb-drosera: Removed.
6899         * Scripts/run-drosera: Removed.
6900         * Scripts/run-drosera-nightly.cmd: Removed.
6901         * Scripts/run-drosera.cmd: Removed.
6902         * Scripts/webkitdirs.pm:
6904 2008-05-15  Stephanie Lewis  <slewis@apple.com>
6906         Reviewed by Anders.
6908         Dump the unload count for a frame after parsing is finished.
6910         * DumpRenderTree/mac/FrameLoadDelegate.mm:
6911         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
6913 2008-05-15  Alexey Proskuryakov  <ap@webkit.org>
6915         Reviewed by Dan Bernstein.
6917         https://bugs.webkit.org/show_bug.cgi?id=10707
6918         DumpRenderTree should not be able to access non-local resources
6920         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
6921         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
6922         Block them, and complain.
6924 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
6926         wx build fix. Update the version of libpng to download and instsall.
6928         * wx/install-unix-extras:
6930 2008-05-14  Julien Chaffraix  <jchaffraix@webkit.org>
6932         Reviewed by Eric.
6934         - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
6935           We now force the return value to be numeric.
6937         - Removed platform checks as it was a work around the previous issue.
6939         - Replaced isDarwin() by isOSX() as they have now the same behaviour.
6941         * Scripts/build-webkit:
6942         * Scripts/webkitdirs.pm:
6944 2008-05-12  Adam Roben  <aroben@apple.com>
6946         Support for testing NPN_PostURL
6948         Reviewed by Anders Carlsson.
6950         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
6951         (toCString): Added this helper function.
6952         (testPostURLFile): Added. Writes the passed-in content to the
6953         passed-in file and calls NPN_PostURL with the passed-in URL and
6954         target.
6955         (pluginInvoke): Added a case for testPostURLFile.
6956         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6957         (followShortcuts): Changed to allow paths that don't yet exist.
6959 2008-05-12  Mark Rowe  <mrowe@apple.com>
6961         Reviewed by Sam Weinig.
6963         Minor cleanup of the DRT Xcode project.
6965         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Use GCC_OPTIMIZATION_LEVEL rather than
6966         OPTIMIZATION_CFLAGS.  Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
6967         not need to be there.
6969 2008-05-12  Anders Carlsson  <andersca@apple.com>
6971         Reviewed by Adam.
6973         Add support for testing application caches.
6975         * DumpRenderTree/mac/DumpRenderTree.mm:
6976         (dumpRenderTree):
6977         Empty the cache.
6979         (resetWebViewToConsistentStateBeforeTesting):
6980         Turn on support for the application cache.
6982 2008-05-09  Mark Rowe  <mrowe@apple.com>
6984         Reviewed by Anders Carlsson.
6986         Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
6988         It currently does not attempt to print events which means that plugins/mouse-events.html
6989         will fail when run 64-bit.  All other tests that use this plugin pass.
6991         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
6992         (testGetIntIdentifier):
6993         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
6994         (NPP_New):
6995         (NPP_HandleEvent):
6997 2008-05-09  Brady Eidson  <beidson@apple.com>
6999         Reviewed by Adam Roben
7001         Explicitly call shutDownWebKit() before quitting.
7003         * Drosera/win/Drosera.cpp:
7004         (_tWinMain):
7006         * DumpRenderTree/win/DumpRenderTree.cpp:
7007         (main):
7009 2008-05-09  Mark Rowe  <mrowe@apple.com>
7011         Fix the Tiger build of Drosera.
7013         * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
7015 2008-05-09  Sam Weinig  <sam@webkit.org>
7017         Rubber-stamped by Mark Rowe.
7019         Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
7021         * Scripts/build-webkit:
7023 2008-05-08  Mark Rowe  <mrowe@apple.com>
7025         Another attempt at a Tiger build fix.
7027         Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
7029         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
7031 2008-05-08  Mark Rowe  <mrowe@apple.com>
7033         Tiger build fix.  Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
7035         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
7037 2008-05-08  Mark Rowe  <mrowe@apple.com>
7039         Reviewed by Oliver Hunt and Dan Bernstein.
7041         Update DumpRenderTree to build 64-bit.
7043         The three major changes here are:
7044         1) Use NSInteger in the appropriate places.
7045         2) Use ColorSync API that is available in 64-bit to switch display profiles.
7046         3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
7048         The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
7049         needs updated to successfully build.
7051         * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
7052         * DumpRenderTree/mac/DumpRenderTree.mm:
7053         (swizzleAllMethods):
7054         (poseAsClass):
7055         (prepareConsistentTestingEnvironment):
7056         * DumpRenderTree/mac/DumpRenderTreeMac.h:
7057         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
7058         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
7059         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
7060         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
7061         (restoreColorSpace):
7062         (failedGettingCurrentProfile):
7063         (setDefaultColorProfileToRGB):
7065 2008-05-08  Mark Rowe  <mrowe@apple.com>
7067         Reviewed by Darin Adler.
7069         Clean up Drosera so that it will build 64-bit.
7071         * Drosera/mac/DebuggerApplication.mm:
7072         (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
7073         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
7074         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
7076 2008-05-07  David Kilzer  <ddkilzer@apple.com>
7078         Use File::Find and Getopt::Long in make-js-test-wrappers
7080         Reviewed by Darin Adler.
7082         * Scripts/make-js-test-wrappers:
7083         - Updated Apple copyright statement.
7084         - Added command-line switch parsing and -h|--help switch.
7085         - Allowed user to pass list of files/directories on which to do
7086           a restricted search for TEMPLATE.html files.  The default
7087           behavior is still to search the entire LayoutTests directory.
7088         - Removed duplicate 'use strict' statement.
7089         - Replaced use of `find` statements with File::Find::find().
7090         - Remove unneeded chomp() calls now that we use File::Find.
7091         (directoryFilter): Added.  Filters .svn directories when used
7092         with File::Find::find().
7093         (findTemplateFiles): Added.  Returns a list of TEMPLATE.html
7094         files found.
7096 2008-05-05  Steve Falkenburg  <sfalken@apple.com>
7098         Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
7100         * DumpRenderTree/win/DumpRenderTree.vcproj:
7101         * DumpRenderTree/win/ImageDiff.vcproj:
7103 2008-05-05  Adele Peterson  <adele@apple.com>
7105         Reviewed by Adam.
7107         Look for the right ImageDiff executable for debug builds.
7109         * Scripts/run-webkit-tests:
7111 2008-05-05  Darin Adler  <darin@apple.com>
7113         * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
7114         leak tests.
7116 2008-05-05  Ariya Hidayat  <ariya.hidayat@trolltech.com>
7118         Reviewed by Simon.
7120         In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
7121         tests expect to be 480x360)
7123         * DumpRenderTree/qt/DumpRenderTree.cpp:
7124         (WebCore::DumpRenderTree::open):
7126 2008-05-02  Dan Bernstein  <mitz@apple.com>
7128         Reviewed by Adam Roben.
7130         - add an option to svn-apply to set the reviewer name in change logs
7132         * Scripts/svn-apply: Added a [-r|--reviewer name] option.
7134 2008-05-01  David Kilzer  <ddkilzer@apple.com>
7136         Clean up configuration usage in run-webkit-tests
7138         Reviewed by Adam.
7140         * Scripts/run-webkit-tests: Parse configuration switches using
7141         passedConfiguration() from webkitdirs.pm like every other script.
7142         Note that we must still call setConfiguration() afterwards in
7143         case the --configuration switch was used.  Use $configurationOption
7144         when running build-dumprendertree instead of recreating the switch.
7146 2008-04-29  Adam Roben  <aroben@apple.com>
7148         Restore the beloved COMPtr::operator&
7150 2008-04-29  Adam Roben  <aroben@apple.com>
7152         Windows build fixes
7154         Replace COMPtr::operator& with COMPtr::adoptionPointer.
7156 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
7158         Reviewed by Darin Adler.
7160         Fix run-webkit-tests --threading
7161         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
7162         Proxy server issue in Sunday's Nightly
7164         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
7165         (runJavaScriptThread):
7166         (startJavaScriptThreads):
7167         (stopJavaScriptThreads):
7168         Spawned threads were immediately detached, unlike the original ones, so joining them
7169         made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
7170         waits for them all to exit.
7172 2008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
7174         Reviewed by Simon.
7176         Reset dumping resource load callbacks to false for the next test
7179         * DumpRenderTree/qt/jsobjects.cpp:
7180         (LayoutTestController::reset):
7182 2008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
7184         Reviewed by Simon.
7186         Adapt to the latest API changes in WebKit/qt/Api.
7188         * DumpRenderTree/qt/DumpRenderTree.cpp:
7189         (WebCore::DumpRenderTree::DumpRenderTree):
7190         * DumpRenderTree/qt/jsobjects.cpp:
7192 2008-04-26  Robin Dunn  <robin@alldunn.com>
7194         Reviewed by Kevin Ollivier.
7196         Delete the DerivedSources after make clean has been done so that the DerivedSources
7197         don't get re-created. Also, use the proper extension for the Win wxPython extension.
7199         https://bugs.webkit.org/show_bug.cgi?id=18756
7201         * wx/build-wxwebkit:
7203 2008-04-26  Adam Barth <hk9565@gmail.com>
7205         Reviewed by Adam Roben and Sam Weinig.
7207         Updates LayoutTestController to use host instead of domain.
7209         Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
7211         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7212         (LayoutTestController::setDatabaseQuota):
7213         * DumpRenderTree/mac/UIDelegate.mm:
7214         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
7216 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
7218         wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
7220         * wx/install-unix-extras:
7222 2008-04-26  Robin Dunn  <robin@alldunn.com>
7224         Reviewed by Kevin Ollivier.
7226         Allow the user to set the path to SWIG using an environment variable.
7228         https://bugs.webkit.org/show_bug.cgi?id=18660
7230         * wx/build-wxwebkit:
7232 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
7234         wx build fix. Download the latest libpng version for building the
7235         dependencies.
7237         * wx/install-unix-extras:
7239 2008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
7241         Reviewed by Simon.
7243         Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
7245         Similar to Editing and Frameloading we do the dumping within WebCore
7248         * DumpRenderTree/qt/jsobjects.cpp:
7249         (LayoutTestController::dumpResourceLoadCallbacks):
7250         * DumpRenderTree/qt/jsobjects.h:
7252 2008-04-24  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
7254         Reviewed by Maciej Stachowiak.
7256         http://bugs.webkit.org/show_bug.cgi?id=18485
7257         Typo and documentation fix for build-webkit
7259         * Scripts/build-webkit:
7261 2008-04-24  Anders Carlsson  <andersca@apple.com>
7263         Reviewed by Sam.
7265         Don't call fprintf from the signal handler.
7267         * DumpRenderTree/mac/DumpRenderTree.mm:
7268         (crashHandler):
7270 2008-04-23  Adam Roben  <aroben@apple.com>
7272         Make crashes be reported as crashes, not hangs
7274         Reviewed by David Kilzer.
7276         * Scripts/run-webkit-tests:
7277         (top level): Use the new status field of the output from
7278         readFromDumpToolWithTimer to determine if the test crashed or hung.
7279         (sub readFromDumpToolWithTimer):
7280           - If we fail to read a line and $! is not EAGAIN, then we've crashed
7281             and should not try to read any more.
7282           - Changed the timedout field to a more general status field.
7284 2008-04-22  David Kilzer  <ddkilzer@apple.com>
7286         Bug 18683: update-webkit returns 0 even if it fails
7288         <https://bugs.webkit.org/show_bug.cgi?id=18683>
7290         Reviewed by Mitz Pettel.
7292         * Scripts/update-webkit:
7293         (runSvnUpdate): Die if close() fails.
7295 2008-04-21  Adam Roben  <aroben@apple.com>
7297         Flush stdout/stderr after printing every #EOF separator
7299         This fixes a hang when running the pixel tests on Windows
7301         Reviewed by Mitz Pettel.
7303         * DumpRenderTree/win/DumpRenderTree.cpp:
7304         (dump):
7305         (main): We don't have to flush stdout/stderr in the arguments loop
7306         anymore, as runTest flushes for us.
7308 2008-04-21  Adam Roben  <aroben@apple.com>
7310         Fix pixel tests
7312         * Scripts/run-webkit-tests:
7313         (sub readFromDumpToolWithTimer): Use readline instead of read to
7314         ensure that we don't read past the #EOF marker.
7316 2008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7318         Reviewed by Simon.
7320         Build fix for Qt 4.3
7322         * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
7323         always defined. Do this by adding defines to the compiler line
7325         * DumpRenderTree/qt/DumpRenderTree.pro:
7327 2008-04-19  Mike Hommey  <glandium@debian.org>
7329         Reviewed by Alp Toker.
7331         Don't build GtkLauncher and DumpRenderTree with rpath.
7333         * GNUmakefile.am:
7335 2008-04-18  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
7337         Reviewed by Alp Toker.
7339         http://bugs.webkit.org/show_bug.cgi?id=16620
7340         [GTK] Autotools make dist and make check support
7342         Cleanups.
7344         * GNUmakefile.am:
7346 2008-04-18  Adam Roben  <aroben@apple.com>
7348         Drop the hang timer to 30 seconds
7350         This matches what DRT/mac was using.
7352         Reviewed by Mitz Pettel.
7354         * Scripts/run-webkit-tests:
7356 2008-04-18  Adam Roben  <aroben@apple.com>
7358         Get rid of DRT's Watchdog
7360         run-webkit-tests now detects hangs and samples DRT as needed.
7362         Reviewed by Mitz Pettel.
7364         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
7365         Watchdog* files from the project.
7366         * DumpRenderTree/Watchdog.cpp: Removed.
7367         * DumpRenderTree/Watchdog.h: Removed.
7368         * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
7369         (dumpRenderTree):
7370         (runTest):
7371         * DumpRenderTree/mac/WatchdogMac.h: Removed.
7372         * DumpRenderTree/mac/WatchdogMac.mm: Removed.
7373         * Scripts/run-webkit-tests:
7374         (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
7375         (sub sampleDumpTool): Added. Writes a sample report to
7376         ~/Library/Logs/DumpRenderTree/HangReport.txt.
7378 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
7380         Reviewed by Holger.
7382         Adapt to the API changes in WebKit/qt
7384         * DumpRenderTree/qt/DumpRenderTree.cpp:
7385         (WebCore::WebPage::WebPage):
7386         (WebCore::DumpRenderTree::DumpRenderTree):
7387         (WebCore::DumpRenderTree::initJSObjects):
7388         (WebCore::DumpRenderTree::dumpFramesAsText):
7389         (WebCore::DumpRenderTree::dump):
7391 2008-04-17  Adam Roben  <aroben@apple.com>
7393         Fix many tests on Windows
7395         * Scripts/run-webkit-tests:
7396         (readFromDumpToolWithTimer):
7397          - Use read instead of sysread to ensure that we don't interfere with
7398            other uses of buffered IO in this script.
7399         (setFileHandleNonBlocking): Actually set the filehandle to blocking
7400         when specified.
7402 2008-04-17  Adam Roben  <aroben@apple.com>
7404         Fix ~10 tests
7406         * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
7407         whatever newline happens to be at the end of what we've read.
7409 2008-04-17  Adam Roben  <aroben@apple.com>
7411         Remove DRT/win's hang timer
7413         run-webkit-tests takes care of this for us now
7415         Reviewed by Anders Carlsson.
7417         * DumpRenderTree/win/DumpRenderTree.cpp:
7419 2008-04-17  Adam Roben  <aroben@apple.com>
7421         Don't wait for the hang timer twice in the case of a hang
7423         Previously we'd wait for a hang while reading both stdout and stderr
7424         from DRT. Now we'll only wait for one or the other.
7426         Reviewed by Anders Carlsson.
7428         * Scripts/run-webkit-tests:
7429         (top level): Don't wait for stderr to time out if stdout already timed
7430         out.
7431         (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
7432         after the first read that returns no data.
7434 2008-04-17  Adam Roben  <aroben@apple.com>
7436         Don't throw away the output from timed out tests
7438         Reviewed by Anders Carlsson.
7440         * Scripts/run-webkit-tests:
7441         (top level): Updated for changes to readFromDumpToolWithTimer.
7442         (readFromDumpToolWithTimer): Return a hash that contains both the
7443         output and whether or not the test timed out.
7445 2008-04-17  Adam Roben  <aroben@apple.com>
7447         Make the hang timer 60 seconds
7449         * Scripts/run-webkit-tests:
7451 2008-04-17  Adam Roben  <aroben@apple.com>
7453         Get rid of carriage returns in DRT/win's stderr
7455         Reviewed by Eric Seidel.
7457         * DumpRenderTree/win/DumpRenderTree.cpp:
7458         (main): Mark stderr as binary like we already do for stdout.
7460 2008-04-17  Adam Roben  <aroben@apple.com>
7462         Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
7463         timeout long tests)
7465         <https://bugs.webkit.org/show_bug.cgi?id=17678>
7467         We now abort tests that take longer than 60 seconds to produce output.
7468         This matches the watchdog timer in DRT/mac and DRT/win (which we can
7469         now remove).
7471         Reviewed by Eric Seidel.
7473         * Scripts/run-webkit-tests:
7474         (top level): Read DRT's output using the new readFromDumpToolWithTimer
7475         subroutine. If readFromDumpToolWithTimer returns undefined it means
7476         the test timed out, so we register the test as a hang and move on.
7477         (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
7478         both crashed and timed out tests. If the test timed out, we kill DRT
7479         before returning.
7480         (sub linksForTimedOutTest): Added. We don't have any output to link to for
7481         tests that timed out.
7482         (sub recordActualResultsAndDiff): Don't call length on undefined.
7483         (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
7484         from a filehandle until an #EOF is reached or
7485         $maximumSecondsWithoutOutput have elapsed.
7486         (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
7487         non-blocking.
7489 2008-04-17  Adam Roben  <aroben@apple.com>
7491         Refactor test results page generation
7493         Reviewed by Eric Seidel.
7495         * Scripts/run-webkit-tests:
7496         (sub htmlForResultsSection): Added. Takes a set of tests, a
7497         description, and a subroutine to generate the links for each test, and
7498         creates a HTML string containing a table of the tests and their
7499         links.
7500         (sub linksForExpectedAndActualResults): Added. Replaces the
7501         htmlForExpectedAndActualResults subroutine.
7502         (sub linksForMismatchTest): Added.
7503         (sub linksForCrashOrErrorTest): Added.
7504         (sub linksForNewTest): Added.
7506 2008-04-17  Adam Roben  <aroben@apple.com>
7508         Print the extension for all tests in the test results page
7510         Reviewed by Eric Seidel.
7512         * Scripts/run-webkit-tests:
7514 2008-04-17  Adam Roben  <aroben@apple.com>
7516         Move code that counts finished tests into a subroutine
7518         Reviewed by Eric Seidel.
7520         * Scripts/run-webkit-tests:
7521         (sub countFinishedTest): Added.
7523 2008-04-17  Adam Roben  <aroben@apple.com>
7525         Move code that handles a crash into a subroutine
7527         Reviewed by Eric Seidel.
7529         * Scripts/run-webkit-tests:
7530         (sub testCrashed): Added.
7532 2008-04-17  Eric Seidel  <eric@webkit.org>
7534         Reviewed by hyatt.
7536         Rename RenderView to RenderViewport in the next rename patch.
7538         * Scripts/do-webcore-rename:
7540 2008-04-17  Mario Bensi  <mbensi@pleyo.com>
7542         Reviewed by Alp Toker.
7544         http://bugs.webkit.org/show_bug.cgi?id=18543
7545         DumpRenderTree gtk freeze
7547         fix DumpRenderTree gtk freeze
7549         * DumpRenderTree/gtk/DumpRenderTree.cpp:
7550         (dump):
7552 2008-04-15  Anders Carlsson  <andersca@apple.com>
7554         Add missing ;
7556         * Scripts/build-webkit:
7558 2008-04-15  Anders Carlsson  <andersca@apple.com>
7560         Reviewed by Adam.
7562         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
7564         * Scripts/build-webkit:
7566 2008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
7568         Reviewed by Simon.
7570         Fix compilation with Qt namespaces
7572         Qt can be configured to have all of its classes inside a specified namespaces.
7573         This is for example used in plugin/component environments like Eclipse.
7575         This change makes it possible to let the Qt port compile against a namespaced
7576         Qt by the use of macros Qt provides to properly forward declare Qt classes in
7577         the namespace.
7579         * DumpRenderTree/qt/DumpRenderTree.h:
7581 2008-04-08  Kevin Ollivier  <kevino@theolliviers.com>
7583         Reviewed by Darin Adler.
7585         Add a script that propagates any file changes made to the Bakefiles
7586         over to GTK and Qt build systems. Still needs to be wired into
7587         those ports though.
7589         * Scripts/update-sources-list.py: Added.
7591 2008-04-08  Mark Rowe  <mrowe@apple.com>
7593         Clean up after Brady.
7595         * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
7597 2008-04-08  Brady Eidson  <beidson@apple.com>
7599         Reviewed by Mitzpettel
7601         Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
7602         -WebArchive subresources dump in random order, intermittent failures
7604         * DumpRenderTree/mac/DumpRenderTree.mm:
7605         (compareResourceURLs): Sorting function based on the resource URLs
7606         (serializeWebArchiveToXML): Sort the subresource array
7608 2008-04-07  Brady Eidson  <beidson@apple.com>
7610         OMG, BUILD - please!
7612         * Scripts/build-webkit:
7614 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7616         Reviewed by Simon.
7618         * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
7619         * Running these tests on windows and other platforms might need some work.
7621         * Scripts/run-webkit-tests:
7623 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7625         Reviewed by Simon.
7627         * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
7628         is not exporting enough to create the output in DRT itself. Settle with the approach
7629         Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
7630         * run-webkit-tests http/tests(/loading) can now be executed.
7631         * For tests in loading/ directories we are going to throw away the dirty
7632         QWebPage to start with something clean.
7635         * DumpRenderTree/qt/DumpRenderTree.cpp:
7637 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7639         Reviewed by Simon.
7641         * Treat http and https as special URLs as well. Change the main.cpp and
7642         DumpRenderTree.cpp to handle http and https URIs as input.
7643         * I'm not doing the clean up and merging of these two checks now.
7646         * DumpRenderTree/qt/DumpRenderTree.cpp:
7647         (WebCore::DumpRenderTree::readStdin):
7648         * DumpRenderTree/qt/main.cpp:
7649         (main):
7651 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7653         Reviewed by Simon.
7655         * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
7656         located in a directory with the name "loading". And this will autoamtically
7657         enable dumping.
7658         * Remove this method from the LayoutTestController as it is unused now and this
7659         avoids adding it to the DRT of the Qt port.
7662         * DumpRenderTree/LayoutTestController.cpp:
7663         (setPrivateBrowsingEnabledCallback):
7665 2008-04-01  Christian Dywan  <christian@imendio.com>
7667         Build fix for GCC 4.3.
7669         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
7671 2008-04-01  Simon Hausmann  <hausmann@webkit.org>
7673         Reviewed by Holger.
7675         Fix Qt DRT run by also printing EOF on stderr, as expected by
7676         run-webkit-tests.
7678         * DumpRenderTree/qt/DumpRenderTree.cpp:
7679         (WebCore::DumpRenderTree::dump):
7681 2008-03-31  Julien Chaffraix  <julien.chaffraix@gmail.com>
7683         Reviewed by Darin Adler.
7685         Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
7687         Remove trailing '/' in $sourceDir in determineSourceDir().
7689         Fix suggested by Dmitriy Kazachkov.
7691         * Scripts/webkitdirs.pm:
7693 2008-03-29  Adam Roben  <aroben@apple.com>
7695         Update for rename of an IWebViewPrivate method
7697         Reviewed by Mitz Pettel.
7699         * DumpRenderTree/win/DumpRenderTree.cpp:
7700         (createWebViewAndOffscreenWindow):
7702 2008-03-26  Antti Koivisto  <antti@apple.com>
7704         Reviewed by Anders.
7706         Enable SVG animation support by default.
7708         * Scripts/build-webkit:
7710 2008-03-25  Adam Roben  <aroben@apple.com>
7712         Windows build fix
7714         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7715         Add $(WebKitLibrariesDir)\include to the include path so we can find
7716         stdint.h there.
7718 2008-03-24  Eric Seidel  <eric@webkit.org>
7720         Reviewed by Mark.
7722         Clean up SVG features message to be less confusing.
7724         * Scripts/build-webkit:
7726 2008-03-24  Sam Weinig  <sam@webkit.org>
7728         Reviewed by Dave Hyatt.
7730         Add EventSender.zoomPageIn/zoomPageOut support to DRT.
7732         * DumpRenderTree/mac/DumpRenderTree.mm:
7733         (resetWebViewToConsistentStateBeforeTesting):
7734         * DumpRenderTree/mac/EventSendingController.mm:
7735         (+[EventSendingController isSelectorExcludedFromWebScript:]):
7736         (-[EventSendingController zoomPageIn]):
7737         (-[EventSendingController zoomPageOut]):
7738         * DumpRenderTree/win/DumpRenderTree.cpp:
7739         (resetWebViewToConsistentStateBeforeTesting):
7740         * DumpRenderTree/win/EventSender.cpp:
7741         (textZoomInCallback):
7742         (textZoomOutCallback):
7743         (zoomPageInCallback):
7744         (zoomPageOutCallback):
7746 2008-03-24  Dan Bernstein  <mitz@apple.com>
7748         Reviewed by Mark Rowe.
7750         - update bisect-builds for Safari 3.1
7752         * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
7753         revision, r29711.
7755 2008-03-21  Rodney Dawes  <dobey@wayofthemonkey.com>
7757         Reviewed by Holger.
7759         http://bugs.webkit.org/show_bug.cgi?id=17981
7761         Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
7763         * GNUmakefile.am:
7765 2008-03-21  Adam Roben  <aroben@apple.com>
7767         Remove a non-working mirror from cygwin-downloader and add the ruby package
7769         * CygwinDownloader/cygwin-downloader.py:
7770         * CygwinDownloader/cygwin-downloader.zip: Updated.
7772 2008-03-20  Mark Rowe  <mrowe@apple.com>
7774         Reviewed by Sam Weinig.
7776         Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
7777         This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
7778         command-line.
7780         * Scripts/build-webkit:
7782 2008-03-17  Eric Seidel  <eric@webkit.org>
7784         Reviewed by Dan Bernstein.
7786         Fix bogus argCount check breaking plugin test.
7788         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
7790 2008-03-17  Eric Seidel  <eric@webkit.org>
7792         Reviewed by darin.
7794         Cleanup PluginObject.cpp and add support for testing
7795         converting from int -> identifier -> string
7796         and from string -> identifier -> int
7797         as well as round-tripping ints and stings through identifiers
7799         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
7800         (pluginGetProperty):
7801         (pluginSetProperty):
7802         (testDOMAccess):
7803         (stringVariantToIdentifier):
7804         (int32VariantToIdentifier):
7805         (doubleVariantToIdentifier):
7806         (variantToIdentifier):
7807         (testIdentifierToString):
7808         (testIdentifierToInt):
7809         (testCallback):
7810         (getURL):
7811         (removeDefaultMethod):
7812         (getURLNotify):
7813         (testInvokeDefault):
7814         (destroyStream):
7815         (testEnumerate):
7816         (testGetIntIdentifier):
7817         (testGetProperty):
7818         (testEvaluate):
7819         (testGetPropertyReturnValue):
7820         (pluginInvoke):
7821         (pluginInvokeDefault):
7822         (pluginInvalidate):
7823         (pluginAllocate):
7824         (pluginDeallocate):
7825         (handleCallback):
7827 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
7829         Rubber stamped by Darin Adler.
7831         Add set-webkit-configuration support for wx port, and centralize
7832         build dir location setting.
7834         http://bugs.webkit.org/show_bug.cgi?id=17790
7836         * wx/browser/browser.bkl:
7837         * wx/build-wxwebkit:
7839 2008-03-15  Darin Adler  <darin@apple.com>
7841         * Scripts/commit-log-editor: Include the name line of the change log entry.
7842         A long time ago I designed this script to not include the name because I
7843         thought it was redundant (same as the name of the person checking in), but
7844         nowadays it's more common for someone to check something in done by someone
7845         else.
7847         * Scripts/do-webcore-rename: Added some more planned renames and removed
7848         some that were already done "by hand".
7850 2008-03-13  Brent Fulgham  <bfulgham@gmail.com>
7852         Reviewed by Darin Adler.
7854         Correct paths to vsprops files so they use the environment
7855         variable, rather than hard-coded path.
7856         http://bugs.webkit.org/show_bug.cgi?id=17797.
7858         * WinLauncher/WinLauncher.vcproj:  Correct paths to vsprops.
7860 2008-03-12  Steve Falkenburg  <sfalken@apple.com>
7862         VSExpress build fix
7864         * WinLauncher/WinLauncher.vcproj:
7866 2008-03-12  Holger Hans Peter Freyther  <zecke@selfish.org>
7868         Reviewed by Alp Toker.
7870         Run testkjs in the correct productsDir in the GTK+ port.
7872         * Scripts/run-javascriptcore-tests:
7874 2008-03-11  Brent Fulgham  <bfulgham@gmail.com>
7876         Reviewed by Adam Roben.
7878         Enabled WinLauncher as part of normal Windows build.
7879         http://bugs.webkit.org/show_bug.cgi?id=17715.
7881         * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
7882           it can find the proper libraries to link against.
7884 2008-03-10  Julien Chaffraix  <julien.chaffraix@gmail.com>
7886         Reviewed and landed by Darin Adler.
7888         http://bugs.webkit.org/show_bug.cgi?id=17581
7889         Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
7891         Remove the previous warning which occurs when the --random option is used.
7893         * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
7894         its inequality
7896 2008-03-07  Simon Hausmann  <hausmann@webkit.org>
7898         Reviewed by Darin Adler.
7900         Done with Lars.
7902         Ported the netscape test plugin to QWebPluginFactory.
7904         * DumpRenderTree/qt/DumpRenderTree.cpp:
7905         (WebCore::WebPage::WebPage):
7906         * DumpRenderTree/qt/main.cpp:
7907         * DumpRenderTree/qt/testplugin.cpp:
7908         (TestPlugin::plugins):
7909         (TestPlugin::create):
7910         * DumpRenderTree/qt/testplugin.h:
7912 2008-03-09  Steve Falkenburg  <sfalken@apple.com>
7914         Stop Windows build if an error occurs in a prior project.
7916         Rubber stamped by Darin Adler.
7918         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7919         * DumpRenderTree/win/DumpRenderTree.vcproj:
7920         * DumpRenderTree/win/ImageDiff.vcproj:
7921         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7923 2008-03-08  Julien Chaffraix  <julien.chaffraix@gmail.com>
7925         Reviewed by Mark Rowe.
7927         DRT build fix for Tiger.
7929         * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
7931 2008-03-07  Mark Rowe  <mrowe@apple.com>
7933         Reviewed by Oliver Hunt.
7935         Fix WebKit build with GCC 4.2.
7937         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
7939 2008-03-07  Stephanie Lewis <slewis@apple.com>
7941         Reviewed by Oliver.
7943         Add Windows part of <rdar://problem/5693690>
7945         * DumpRenderTree/win/DumpRenderTree.cpp:
7946         (dump):
7947         (main):
7949 2008-03-07  Alp Toker  <alp@atoker.com>
7951         Back out the r30818, r30819 build fix attempts now the GTK+ build
7952         server has been upgraded.
7954         * Scripts/webkitdirs.pm:
7956 2008-03-07  Stephanie Lewis <slewis@apple.com>
7958         Reviewed by Geoff.
7960         <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
7962         * DumpRenderTree/mac/DumpRenderTree.mm:
7963         (dump): push EOF to stderr after every test
7964         * Scripts/run-webkit-tests: collect stderr output and print it
7966 2008-03-07  Steve Falkenburg  <sfalken@apple.com>
7968         Get pdevenv working with Visual Studio Express.
7970         Reviewed by Adam.
7972         * Scripts/pdevenv:
7974 2008-03-06  Adele Peterson  <adele@apple.com>
7976         Reviewed by Darin Adler.
7978         Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
7980         * DumpRenderTree/mac/UIDelegate.mm:
7981         (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
7982         (-[UIDelegate webViewUnfocus:]): Added.  In Safari, the default is to focus another window if there is one.
7983          To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
7985 2008-03-06  Matt Lilek  <webkit@mattlilek.com>
7987         Reviewed by Adam Roben.
7989         Bug 17691: REGRESSION: FindSafari doesn't work
7990         http://bugs.webkit.org/show_bug.cgi?id=17691
7992         Swap my change from r30394 to use the Release libraries instead of Debug
7993         since some machines don't have the Debug version.
7995         * FindSafari/FindSafari.vcproj:
7997 2008-03-06  Kevin McCullough  <kmccullough@apple.com>
7999         Reviewed by Sam and Tim.
8001         <rdar://5631450> Drosera: breakpoint indicators disappear after the
8002         script is finished running.
8003         - If there is a pre-existing breakpoint on a line when the file is
8004         updated we need to redraw it.
8006         * Drosera/debugger.js:
8008 2008-03-06  Brady Eidson  <beidson@apple.com>
8010         Tiger build fix...?
8012         * DumpRenderTree/mac/WatchdogMac.mm:
8014 2008-03-06  Brady Eidson  <beidson@apple.com>
8016         Reviewed by Darin
8018         Added a cross-platform Watchdog thread to DRT.
8020         The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
8021         main thread hangs still affect DRT.
8023         By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
8024         and true deadlocks can be caught.
8026         There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
8027         `sample` available, the Mac implementation of this hook samples the process before it is killed.
8029         I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
8031         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8032         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
8034         * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
8035         * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
8037         * DumpRenderTree/Watchdog.cpp: Added.
8038         (Watchdog::Watchdog):
8039         (Watchdog::~Watchdog):
8040         (Watchdog::start):
8041         (Watchdog::stop):
8042         (Watchdog::checkIn):
8043         (Watchdog::setWatchdogInterval):
8044         (Watchdog::handleHang):
8045         (Watchdog::watchdogThreadStart):
8046         (Watchdog::watchdogThread):
8047         * DumpRenderTree/Watchdog.h: Added.
8049         * DumpRenderTree/mac/WatchdogMac.h: Added.
8050         * DumpRenderTree/mac/WatchdogMac.mm: Added.
8051         (WatchdogMac::handleHang): Sample the process and write it out to a file
8053         * DumpRenderTree/mac/DumpRenderTree.mm:
8054         (dumpRenderTree): Setup and start the watchdog before running any tests
8055         (runTest): Checkin with the watchdog after each test
8057 2008-03-05  Alp Toker  <alp@atoker.com>
8059         Attempt to get the autotools build working again on the bot with
8060         build-webkit.
8062         Force the use of /bin/bash since we seem to have bash-isms in the
8063         configure script right now.
8065         * Scripts/webkitdirs.pm:
8067 2008-03-05  Alp Toker  <alp@atoker.com>
8069         Re-attempt to switch to the autotools build system for GTK+.
8071         Change scripts to continue when distclean fails.
8073         * Scripts/webkitdirs.pm:
8075 2008-03-05  Alp Toker  <alp@atoker.com>
8077         Force qmake for the GTK+ build until we get the build bot to succeed
8078         with autotools (currently dies at make distclean)
8080         * Scripts/webkitdirs.pm:
8082 2008-03-04  Alp Toker  <alp@atoker.com>
8084         Reviewed by Mark Rowe.
8086         Switch the default GTK+ build system from qmake to autotools.
8088         qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
8090         * Scripts/build-webkit:
8091         * Scripts/run-launcher:
8092         * Scripts/run-webkit-tests:
8093         * Scripts/webkitdirs.pm:
8095 2008-03-04  Sam Weinig  <sam@webkit.org>
8097         Reviewed by Darin Adler.
8099         * Scripts/do-webcore-rename: Update renaming plan.
8101 2008-03-02  Brent Fulgham  <bfulgham@gmail.com>
8103         Reviewed by Alp Toker.
8105         Remove some needless LIBS.
8107         * GNUmakefile.am:
8109 2008-03-02  Alp Toker  <alp@atoker.com>
8111         Reviewed by Mark Rowe.
8113         Split the WebKit GTK+ build out of the WebCore build and change the
8114         shared object name to match the package name.
8116         * GNUmakefile.am:
8118 2008-03-01  Mark Rowe  <mrowe@apple.com>
8120         Reviewed by Tim Hatcher.
8122         Update Xcode configuration to support building debug and release from the mysterious future.
8124         * DumpRenderTree/mac/Configurations/Base.xcconfig:
8126 2008-02-29  David Kilzer  <ddkilzer@apple.com>
8128         Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
8130         Reviewed by Dan.
8132         Originally broken in r26838.
8134         * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
8135         not local, unused @args variable.
8137 2008-02-29  David Kilzer  <ddkilzer@apple.com>
8139         Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
8141         <http://bugs.webkit.org/show_bug.cgi?id=15754>
8143         Reviewed by Geoff and Darin.
8145         We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
8146         then removing that path from all file:/// URLs in the WebArchive output so these tests
8147         would pass no matter where they were run.
8149         The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
8150         current working directory, but the WebArchive does not.  This left the current working
8151         directory in all file:/// URLs in the test output, and thus all tests failed, for any
8152         developer that used symlinks to get to their WebKit source directory.
8154         The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
8155         remove the current working directory path (no matter what it is) after "file://" but
8156         before "/LayoutTests/".
8158         * DumpRenderTree/mac/DumpRenderTree.mm:
8159         (normalizeWebResourceURL): Removed unused oldURLBase argument.  We now replace the
8160         current working directory as described above.
8161         (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument.  Update
8162         calls to normalizeWebResourceURL().
8163         (serializeWebArchiveToXML): Removed now unused cwdURL variable.  Update calls to
8164         normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
8166 2008-02-26  Robin Dunn <robin@alldunn.com>
8168         Reviewed by Kevin Ollivier.
8170         Improvements to the wx build script.
8172         http://bugs.webkit.org/show_bug.cgi?id=17492
8174         * wx/build-wxwebkit:
8175         - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
8176         - Allow the build script to properly find wxPython includes under different setups
8177         - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
8179 2008-02-26  Timothy Hatcher  <timothy@apple.com>
8181         Reviewed by Darin Adler.
8183         * Scripts/build-webkit: Add --universal and --64-bit flags to make building
8184         64-bit architectures easy. Combine the two flags to build 4-way universal.
8185         * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
8186         non-zero when the build failes.
8188 2008-02-26  Jessica Kahn  <jess@apple.com>
8190         Reviewed by Darin Adler.
8192         * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
8193         so that Safari inherits it when launched. Preexisting code in WebKit checks this
8194         environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
8195         launched by Safari continue to use the standard system WebKit.
8197 2008-02-25  Adam Roben  <aroben@apple.com>
8199         Fix run-webkit-tests after r30394
8201         * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
8202         executable name.
8204 2008-02-24  Darin Adler  <darin@apple.com>
8206         * Scripts/do-webcore-rename: Make some updates based on a trial run of
8207         the renaming script.
8209 2008-02-24  Darin Adler  <darin@apple.com>
8211         * Scripts/do-webcore-rename: More renaming plans.
8213 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
8215         Rubber stamped by Darin Adler.
8217         Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
8218         whitespaces introduced in the previous commit.
8220         * GNUmakefile.am:
8222 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
8224         Rubber-stamped by Darin Adler.
8226         * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
8228 2008-02-23  David Kilzer  <ddkilzer@apple.com>
8230         Please clarify licensing for some files
8231         <http://bugs.webkit.org/show_bug.cgi?id=14970>
8233         Reviewed by Darin Adler.
8235         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
8236         copyright statement.  Replaced license with newer Apple BSD-style license.
8237         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
8238         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
8239         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
8240         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
8241         * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
8242         * mangleme/LICENSE: Added (LGPL).
8244 2008-02-22  Anders Carlsson  <andersca@apple.com>
8246         Reviewed by Adam.
8248         <rdar://problem/5748781>
8249         https://bugs.webkit.org/show_bug.cgi?id=17413
8250         REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
8252         Copy the Java plug-in over to the new location.
8254         * FindSafari/FindSafari.cpp:
8255         (_tmain):
8257 2008-02-22  Anders Carlsson  <andersca@apple.com>
8259         Reviewed by Adam.
8261         <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
8263         * DumpRenderTree/win/DumpRenderTree.cpp:
8264         (runTest):
8265         Init the URL request with the correct timeout.
8267 2008-02-21  Mike Auty  <mike.auty@gmail.com>
8269         Reviewed by Alp Toker.
8271         http://bugs.webkit.org/show_bug.cgi?id=17445
8272         [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
8274         GTK+/autotools build system improvements
8276         The GNUmakefile.am files make use of the LDFLAGS variable to include library
8277         additions such as -ljpeg etc.  Unfortunately, if these inclusions aren't made
8278         in LIBADD/LDADD variables, then they are mis-ordered during the linking.
8280         The as-needed flag discards libraries whose functions have not been needed by
8281         earlier libraries, which therefore makes the ordering important.
8283         This moves all -l library inclusion statements from LDFLAGS variables to
8284         LIBADD/LDADD variables.
8286         * GNUmakefile.am:
8288 2008-02-20  Brent Fulgham  <bfulgham@gmail.com>
8290         Reviewed by Alp.
8292         - http://bugs.webkit.org/show_bug.cgi?id=17428
8293           Reenable a Windows-based launcher
8295         This patch reenables the venerable Spinneret application,
8296         changing its name to match the other lanch applications.
8298         * WinLauncher: Added.
8299         * WinLauncher/WinLauncher.cpp: Added.
8300         (WinLauncherWebHost::updateAddressBar):
8301         (WinLauncherWebHost::QueryInterface):
8302         (WinLauncherWebHost::AddRef):
8303         (WinLauncherWebHost::Release):
8304         (resizeSubViews):
8305         (_tWinMain):
8306         (MyRegisterClass):
8307         (InitInstance):
8308         (WndProc):
8309         (MyEditProc):
8310         (About):
8311         (loadURL):
8312         * WinLauncher/WinLauncher.h: Added.
8313         (WinLauncherWebHost::WinLauncherWebHost):
8314         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
8315         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
8316         (WinLauncherWebHost::didFailProvisionalLoadWithError):
8317         (WinLauncherWebHost::didCommitLoadForFrame):
8318         (WinLauncherWebHost::didReceiveTitle):
8319         (WinLauncherWebHost::didReceiveIcon):
8320         (WinLauncherWebHost::didFinishLoadForFrame):
8321         (WinLauncherWebHost::didFailLoadWithError):
8322         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
8323         (WinLauncherWebHost::willPerformClientRedirectToURL):
8324         (WinLauncherWebHost::didCancelClientRedirectForFrame):
8325         (WinLauncherWebHost::willCloseFrame):
8326         (WinLauncherWebHost::windowScriptObjectAvailable):
8327         * WinLauncher/WinLauncher.ico: Added.
8328         * WinLauncher/WinLauncher.rc: Added.
8329         * WinLauncher/WinLauncher.vcproj: Added.
8330         * WinLauncher/resource.h: Added.
8331         * WinLauncher/small.ico: Added.
8332         * WinLauncher/stdafx.cpp: Added.
8333         * WinLauncher/stdafx.h: Added.
8335 2008-02-19  Brady Eidson  <beidson@apple.com>
8337         Reviewed by Geoff
8339         Fixed a bug in DRT --threaded mode
8341         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
8342         (startJavaScriptThreads): Don't detach the newly created thread.  The later call to stopJavaScriptThreads() tries
8343           to pthread_join() each thread that had been created, but you can't join a detached thread!
8345 2008-02-18  Brady Eidson  <beidson@apple.com>
8347         Changes by Geoff Garen, Reviewed by Darin
8349         Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
8351         DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
8353         [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
8354         This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread.  If the lock has leaked,
8355         this series of method calls will deadlock.  If things are good, it will complete successfully.
8357         * DumpRenderTree/mac/ObjCController.m:
8358         (runJavaScriptThread):
8359         (+[ObjCController isSelectorExcludedFromWebScript:]):
8360         (+[ObjCController webScriptNameForSelector:]):
8361         (-[ObjCController testValueForKey]):
8363 2008-02-18  Matt Lilek  <webkit@mattlilek.com>
8365         Reviewed by Adam.
8367         Remove FindSafari's Release configuration.
8369         * FindSafari/FindSafari.vcproj:
8371 2008-02-15  Adam Roben  <aroben@apple.com>
8373         Fix a typo that broke the Mac build
8375         Reviewed by Mark.
8377         * Scripts/build-webkit:
8379 2008-02-14  Adam Roben  <aroben@apple.com>
8381         Turn on cross-document messaging support by default
8383         Reviewed by Darin Adler.
8385         * Scripts/build-webkit:
8387 2008-02-14  Adam Roben  <aroben@apple.com>
8389         Conditionalize cross-document messaging support
8391         The cross-document messaging parts of HTML 5 are in flux and we want
8392         ports to be able to turn off the support as needed.
8394         Note that the support is turned off by default right now. A subsequent
8395         commit will turn it on by default.
8397         Reviewed by Darin Adler.
8399         * Scripts/build-webkit:
8401 2008-02-14  Darin Adler  <darin@apple.com>
8403        - fix Windows build
8405         * DumpRenderTree/win/UIDelegate.cpp:
8406         (UIDelegate::setStatusText): Update parameter types to match declaration.
8408 2008-02-14  Oliver Hunt  <oliver@apple.com>
8410         Reviewed by Geoff G and Weinig.
8412         Add ability for DRT to report tests setting the status text.
8414         * DumpRenderTree/LayoutTestController.cpp:
8415         (LayoutTestController::LayoutTestController):
8416         (dumpStatusCallbacksCallback):
8417         (LayoutTestController::staticFunctions):
8418         * DumpRenderTree/LayoutTestController.h:
8419         * DumpRenderTree/mac/UIDelegate.mm:
8420         (-[UIDelegate webView:setStatusText:]):
8421         * DumpRenderTree/win/UIDelegate.cpp:
8422         * DumpRenderTree/win/UIDelegate.h:
8424 2008-02-13  Adam Roben  <aroben@apple.com>
8426         Windows build fix
8428         * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
8430 2008-02-13  Adam Roben  <aroben@apple.com>
8432         Windows/GTK+ build fix
8434         * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
8435         get isnan.
8437 2008-02-13  Brady Eidson  <beidson@apple.com>
8439         Reviewed by Darin Adler
8441         Add some much needed Database support to DRT
8443         * DumpRenderTree/LayoutTestController.cpp:
8444         (LayoutTestController::LayoutTestController):
8445         (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
8446           databases are called
8447         (clearAllDatabasesCallback): Allow a test to delete all databases
8448         (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
8449         (LayoutTestController::staticFunctions):
8451         * DumpRenderTree/LayoutTestController.h:
8452         (LayoutTestController::dumpDatabaseCallbacks):
8453         (LayoutTestController::setDumpDatabaseCallbacks):
8455         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8456         (LayoutTestController::clearAllDatabases):
8457         (LayoutTestController::setDatabaseQuota):
8459         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8460         (LayoutTestController::clearAllDatabases): Stubbed out
8461         (LayoutTestController::setDatabaseQuota): Ditto
8462         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8463         (LayoutTestController::clearAllDatabases): Stubbed out with error message
8464         (LayoutTestController::setDatabaseQuota): Ditto
8466         * DumpRenderTree/mac/UIDelegate.mm:
8467         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
8468           message with details about the event then return a 5mb quota like before
8471 2008-02-12  Steve Falkenburg  <sfalken@apple.com>
8473         Changes to support merged MIDL output.
8475         All COM interfaces are now generated to WebKit.h.
8477         Reviewed by Sam, Ada.
8479         * Drosera/win/BaseDelegate.h:
8480         * Drosera/win/DebuggerClient.cpp:
8481         * Drosera/win/DebuggerDocumentPlatform.cpp:
8482         * Drosera/win/Drosera.cpp:
8483         * Drosera/win/ServerConnection.cpp:
8484         * Drosera/win/ServerConnection.h:
8485         * DumpRenderTree/win/DumpRenderTree.cpp:
8486         * DumpRenderTree/win/EditingDelegate.h:
8487         * DumpRenderTree/win/EventSender.cpp:
8488         * DumpRenderTree/win/FrameLoadDelegate.cpp:
8489         * DumpRenderTree/win/FrameLoadDelegate.h:
8490         * DumpRenderTree/win/GCControllerWin.cpp:
8491         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8492         * DumpRenderTree/win/PolicyDelegate.h:
8493         * DumpRenderTree/win/ResourceLoadDelegate.h:
8494         * DumpRenderTree/win/UIDelegate.cpp:
8495         * DumpRenderTree/win/UIDelegate.h:
8496         * DumpRenderTree/win/WorkQueueItemWin.cpp:
8498 2008-02-10  Dan Bernstein  <mitz@apple.com>
8500         Reviewed by Oliver Hunt.
8502         - fix a memory leak
8504         * DumpRenderTree/cg/ImageDiffCG.cpp:
8505         (getDifferenceBitmap): Use a static CFMutableData instead of allocating
8506         and leaking the buffer each time.
8508 2008-02-07  Adam Roben  <aroben@apple.com>
8510         Fix error in bisect-builds when responding "broken" for the first
8511         build
8513         Reviewed by Dave Kilzer.
8515         * Scripts/bisect-builds: Only try to test the build if the nightly
8516         info for the current index has not been deleted.
8518 2008-02-07  Geoffrey Garen  <ggaren@apple.com>
8520         Reviewed by Alexey Proskuryakov.
8522         Fixed two minor typos in the --root option, to get it working.
8524         * Scripts/run-sunspider:
8525             1. Actually assign the function argument to our local variable.
8526             2. Actually set the $root variable, so we don't try to build later.
8528 2008-02-05  Oliver Hunt  <oliver@apple.com>
8530         RS=Eric.
8532         Re-enable foreignObject by default as it is needed for a number of non-fO
8533         related SVG tests and none of the old known crashes occur anymore.
8535         * Scripts/build-webkit:
8537 2008-02-05  Steve Falkenburg  <sfalken@apple.com>
8539         Build fix.  Don't override intermediate directory.
8541         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8543 2008-02-05  Holger Hans Peter Freyther  <zecke@selfish.org>
8545         Build fix for Windows. willCloseFrame is a pure virtual and we are
8546         forced to have an implementation.
8548         This partially reverts r30014.
8550         * DumpRenderTree/win/FrameLoadDelegate.cpp:
8551         (FrameLoadDelegate::willCloseFrame):
8552         * DumpRenderTree/win/FrameLoadDelegate.h:
8554 2008-02-05  Nikolas Zimmermann  <zimmermann@kde.org>
8556         Reviewed by Holger.
8558         Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
8560         * Scripts/make-js-test-wrappers:
8562 2008-02-05  Holger Freyther  <zecke@selfish.org>
8564         Reviewed by Darin Adler.
8566         In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
8567         the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
8568         depends on the order the tests are executed.
8570         Propose to remove willCloseFrame and didlCearWindowObject output from the
8571         FrameLoadDelegate and update the test results. The output of didClearWindowObject
8572         is not interesting for any of the current tests and we have other ways to find
8573         out if a frame was closed or not.
8575         * DumpRenderTree/mac/FrameLoadDelegate.mm:
8576         * DumpRenderTree/win/FrameLoadDelegate.cpp:
8577         (FrameLoadDelegate::didClearWindowObject):
8578         * DumpRenderTree/win/FrameLoadDelegate.h:
8580 2008-02-04  Mark Rowe  <mrowe@apple.com>
8582         Reviewed by Oliver Hunt.
8584         Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
8585         Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
8587         Don't install the signal handler unless we are running the pixel tests.
8588         It is currently only used to restore the color profile, but by catching
8589         signals we can trigger a deadlock in DRT while running leak tests.
8590         The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
8591         and a more complete fix will need to be developed to address this for
8592         pixel tests as well.
8594         * DumpRenderTree/mac/DumpRenderTree.mm:
8595         (dumpRenderTree):
8597 2008-02-04  Mark Rowe  <mrowe@apple.com>
8599        Gtk qmake build fix.
8601         * Scripts/webkitdirs.pm:  Fix perl's complaint about an odd number of elements in anonymous hash.
8603 2008-02-04  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
8605         Reviewed by Alp Toker and Mark Rowe.
8607         http://bugs.webkit.org/show_bug.cgi?id=16618
8608         [GTK] build-webkit and run-webkit-tests autootools support
8610         * Scripts/build-webkit: added --database and --icon-database options
8611         * Scripts/run-launcher:
8612         * Scripts/run-webkit-tests:
8613         * Scripts/webkitdirs.pm:
8615 2008-02-04  Oliver Hunt  <oliver@apple.com>
8617         Reviewed by Steve F.
8619         Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
8621         Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
8622         Issues include:
8623           * Uses Sleep() to implement leapForward reliably.
8624           * 3 DND tests still fail for reasons that i have not yet determined
8625           * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
8627         * DumpRenderTree/win/EventSender.cpp:
8628         (leapForwardCallback):
8629         (mouseDownCallback):
8630         (doMouseUp):
8631         (mouseUpCallback):
8632         (doMouseMove):
8633         (mouseMoveToCallback):
8634           Minor updates to these functions to handle the different message queue structure.
8636         (replaySavedEvents):
8637           More complicated now.  Where possible we just use the old while-loop model of execution,
8638           but when leapForward has been used we have to jump through some hoops and set up an
8639           inner event loop so that we can ensure messages get the correct time stamp.
8641         * DumpRenderTree/win/UIDelegate.cpp:
8642         (UIDelegate::doDragDrop):
8643           Call replaySavedEvents directly to force synchronous handling of drag and drop.
8645 2008-02-04  Rodney Dawes  <dobey@wayofthemonkey.com>
8647         Reviewed by Alp Toker and Mark Rowe.
8649         Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
8650         Bug 17175: Use of C++ compiler flags in CFLAGS
8652         * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
8654 2008-02-04  Darin Adler  <darin@apple.com>
8656         Reviewed by Geoff.
8658         * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
8659         and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
8660         subdirectory.
8662 2008-02-04  Adam Roben  <aroben@apple.com>
8664         Windows Apple-only build fix
8666         * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
8667         directory.
8669 2008-02-04  Alp Toker  <alp@atoker.com>
8671         Rubber-stamped by Mark Rowe.
8673         Remove all trailing whitespace in the GTK+ port and related
8674         components.
8676         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
8677         * DumpRenderTree/gtk/GCControllerGtk.cpp:
8678         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8679         * GNUmakefile.am:
8681 2008-02-01  Eric Seidel  <eric@webkit.org>
8683         Reviewed by Oliver.
8685         Also search LayoutTests/svg for js-based tests.
8687         * Scripts/make-js-test-wrappers:
8689 2008-01-31  Alp Toker  <alp@atoker.com>
8691         Rubber-stamped by Adam Roben.
8693         http://bugs.webkit.org/show_bug.cgi?id=17006
8694         [GTK] Header path should be webkit/webkit.h
8696         Move the GTK+ API sources as needed and update the build systems.
8698         * DumpRenderTree/gtk/DumpRenderTree.cpp:
8699         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
8700         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
8701         * GNUmakefile.am:
8702         * GtkLauncher/main.c:
8704 2008-01-30  Stephanie  <slewis@apple.com>
8706         Reviewed by Geoff.
8708         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.
8710         * Scripts/run-webkit-tests:
8712 2008-01-30  Alexey Proskuryakov  <ap@webkit.org>
8714         Reviewed by Adam Roben.
8716         One more debug (external) fix.
8718         * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
8719         and Debug configurations.
8721 2008-01-29  Geoffrey Garen  <ggaren@apple.com>
8723         Reviewed by Sam Weinig. Sam Weinig.
8725         Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
8726         fails when run after fast/dom/Window/window-property-shadowing.html (16902)
8728         Modified our policy delegates not to output window.name. Since a
8729         previous test may have explicitly set window.name, we can't rely on its
8730         implicit value in test results.
8732         * DumpRenderTree/mac/PolicyDelegate.mm:
8733         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
8735         * DumpRenderTree/win/PolicyDelegate.cpp:
8736         (PolicyDelegate::decidePolicyForNavigationAction):
8738 2008-01-29  Mark Rowe  <mrowe@apple.com>
8740         Reviewed by Tim Hatcher.
8742         <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).
8744         * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
8746 2008-01-29  David Kilzer  <ddkilzer@apple.com>
8748         Refactor ChangeLog path code
8750         Reviewed by Adam.
8752         * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
8753         duplicate code in another foreach() loop.
8755 2008-01-29  Alexey Proskuryakov  <ap@webkit.org>
8757         Reviewed by Darin Adler.
8759         <rdar://problem/5710692> All storage tests fail/crash
8761         * DumpRenderTree/mac/UIDelegate.mm:
8762         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
8763         arbitrary quota of 5 megabytes.
8765         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
8766         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
8767         Removed unused (I think) code.
8769         * DumpRenderTree/win/UIDelegate.cpp:
8770         (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
8771         (UIDelegate::webViewPainted): A stub implementation.
8772         (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
8773         * DumpRenderTree/win/UIDelegate.h:
8775 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
8777         GTK+ DRT build fix for breakage introduced in r29822.
8779         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8780         (LayoutTestController::setPersistentUserStyleSheetLocation):
8781         (LayoutTestController::clearPersistentUserStyleSheet):
8783 2008-01-27  Dan Bernstein  <mitz@apple.com>
8785         Reviewed by Darin Adler.
8787         - add support for directory prologues and epilogues to run-webkit-tests
8788         - allow setting a persistent user style sheet in DumpRenderTree
8789         - activate the WebKit Layout Tests font in Windows DumpRenderTree
8791         * DumpRenderTree/LayoutTestController.cpp:
8792         (clearPersistentUserStyleSheetCallback): Added.
8793         (setPersistentUserStyleSheetLocationCallback): Added.
8794         (LayoutTestController::staticFunctions): Added.
8795         clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
8796         * DumpRenderTree/LayoutTestController.h:
8797         * DumpRenderTree/mac/DumpRenderTree.mm:
8798         (setPersistentUserStyleSheetLocation): Added.
8799         (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
8800         to the set of things this function resets. Now it either disables the
8801         user style sheet or sets it to the persistent user style sheet and
8802         enables it.
8803         * DumpRenderTree/mac/DumpRenderTreeMac.h:
8804         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8805         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
8806         (LayoutTestController::clearPersistentUserStyleSheet): Added.
8807         * DumpRenderTree/win/DumpRenderTree.cpp:
8808         (setPersistentUserStyleSheetLocation): Added.
8809         (initialize): Added the WebKit Layout Tests font to the set of fonts to
8810         install.
8811         (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
8812         * DumpRenderTree/win/DumpRenderTreeWin.h:
8813         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8814         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
8815         (LayoutTestController::clearPersistentUserStyleSheet): Added.
8816         * Scripts/run-webkit-tests: Changed to look for, and if found process in
8817         DumpRenderTree, files named run-webkit-tests-prologue.html and
8818         run-webkit-tests-epilogue.html in the resources subdirectory of any
8819         test directory and platform test results directory. The prologues are
8820         processed before the first test from the directory (and its
8821         subdirectories) is run, and the epilogues are processed after the last
8822         test from the directory is run. Platform-specific prologues and
8823         epilogues are processed in order of specificity.
8825 2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
8827         Reviewed by Mark Rowe.
8829         <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
8831         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
8832         (matching Mac DRT).
8833         * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
8835 2008-01-24  Sam Weinig  <sam@webkit.org>
8837         Reviewed by Ada Chan.
8839         Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
8841         - Adds simplified UndoManager to windows DRT to allow testing the
8842           undo/redo code paths in WebCore and WebKit.  This is a temporary
8843           solution to an issue that should eventually be solved by having a
8844           shared UndoManager in WebKit.
8846         * DumpRenderTree/win/DumpRenderTree.cpp:
8847         (runTest):
8848         * DumpRenderTree/win/UIDelegate.cpp:
8849         (DRTUndoObject::DRTUndoObject):
8850         (DRTUndoObject::invoke):
8851         (DRTUndoStack::~DRTUndoStack):
8852         (DRTUndoStack::isEmpty):
8853         (DRTUndoStack::clear):
8854         (DRTUndoStack::push):
8855         (DRTUndoStack::pop):
8856         (DRTUndoManager::canRedo):
8857         (DRTUndoManager::canUndo):
8858         (DRTUndoManager::DRTUndoManager):
8859         (DRTUndoManager::removeAllActions):
8860         (DRTUndoManager::registerUndoWithTarget):
8861         (DRTUndoManager::redo):
8862         (DRTUndoManager::undo):
8863         (UIDelegate::UIDelegate):
8864         (UIDelegate::resetUndoManager):
8865         (UIDelegate::registerUndoWithTarget):
8866         (UIDelegate::removeAllActionsWithTarget):
8867         (UIDelegate::setActionTitle):
8868         (UIDelegate::undo):
8869         (UIDelegate::redo):
8870         (UIDelegate::canUndo):
8871         (UIDelegate::canRedo):
8872         * DumpRenderTree/win/UIDelegate.h:
8874 2008-01-23  Adam Roben  <aroben@apple.com>
8876         Allow directories containing ChangeLogs to be passed to
8877         resolve-ChangeLogs
8879         Reviewed by David Kilzer.
8881         * Scripts/resolve-ChangeLogs:
8882         (sub findChangeLog): Return a ChangeLog contained within the specified
8883         directory if one exists.
8885 2008-01-23  Steve Falkenburg  <sfalken@apple.com>
8887         <rdar://problem/5698732> Copyright strings should include 2008
8889         Reviewed by Sam.
8891         * Drosera/win/Drosera.vcproj/Drosera.rc:
8892         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
8894 2008-01-23  Alp Toker  <alp@atoker.com>
8896         Rubber-stamped by Mark Rowe.
8898         Remove whitespace after -I in automake include lists.
8900         * GNUmakefile.am:
8902 2008-01-23  Michael Goddard <michael.goddard@trolltech.com>
8904         Reviewed by Lars Knoll <lars@trolltech.com>.
8906         Reworked the JavaScriptCore Qt bindings:
8908         * Update JS DRT controller for Qt JS binding changes.
8909         There were two functions that needed some changes
8910         so that the layout tests would work, so this makes
8911         a few tests pass again.
8913         * Bump the timeout for layout tests up to 11s.
8914         At least some tests have an internal timeout of
8915         10 seconds, so make the waitUntilDone approach
8916         wait at least 11s.  fast/dom/open-and-close-by-DOM.html
8917         is one of these - now the failure message is more
8918         accurate.
8921         * DumpRenderTree/qt/jsobjects.cpp:
8922         (LayoutTestController::waitUntilDone):
8923         * DumpRenderTree/qt/jsobjects.h:
8925 2008-01-22  Anders Carlsson  <andersca@apple.com>
8927         Reviewed by Darin and Adam.
8929         <rdar://problem/5688975>
8930         div element on microsoft site has wrong left offset.
8932         Add new method for testing the return vale of NPN_GetProperty.
8934         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
8935         (pluginInvoke):
8937 2008-01-22  Alexey Proskuryakov  <ap@webkit.org>
8939         Reviewed by Adam Roben.
8941         <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
8943         * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
8945 2008-01-21  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
8947         Reviewed by Alp Toker.
8949         http://bugs.webkit.org/show_bug.cgi?id=16955
8950         Get errors when cross-compile webkit-gtk
8952         * GNUmakefile.am: Removed ICU_CFLAGS
8954 2008-01-21  Darin Adler  <darin@apple.com>
8956         Reviewed by Mitz and Adam.
8958         * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
8959         sorting speed by doing all sort criteria in a single pass instead of three sorts.
8961 2008-01-21  Simon Hausmann  <hausmann@webkit.org>
8963         Reviewed by Holger.
8965         Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
8967         * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
8968         * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
8969         and make the return value depend on whether we successfully determined a focusable
8970         node or not.
8971         * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
8972         if we could not handle the focus chain ourselves.
8973         * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
8974         * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
8975         used to control the situation of stepping out of the focus chain inside the page.
8976         * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
8977         The layout tests expect this to be disabled but for the user it seems sensible to have it
8978         on by default, hence the default in qwebsettings.cpp
8981         * DumpRenderTree/qt/DumpRenderTree.cpp:
8982         (WebCore::WebPage::WebPage):
8984 2008-01-19  Mark Rowe  <mrowe@apple.com>
8986         Reviewed by Alp Toker.
8988         Allow the --http flag to run-webkit-tests to override
8989         the default behaviour of disabling HTTP tests for Qt,
8990         Gtk and Wx.
8992         * Scripts/run-webkit-tests:
8994 2008-01-19  David Kilzer  <ddkilzer@apple.com>
8996         <rdar://problem/5695344> check-for-global-initializers script never checks any object files
8998         Reviewed by Darin Adler.
9000         We now touch a check-for-global-initializers.timestamp file in
9001         the TARGET_TEMP_DIR directory to determine when new object files
9002         have been compiled and thus need to be checked.  If the timestamp
9003         file doesn't exist, all object files will be checked.
9005         Previously the modification time of the "executable" (the
9006         framework binary, e.g., WebKit.framework/WebKit) was used, but
9007         since this was the last file modified at the end of the compile
9008         phase, no object files would ever get checked!
9010         Also added JSCustomSQLTransactionCallback.o to the list of files
9011         since it has static initializers in Debug builds of WebCore.
9013         * Scripts/check-for-global-initializers:
9015 2008-01-18  Adam Roben  <aroben@apple.com>
9017         Build fix
9019         * Scripts/build-webkit:
9021 2008-01-18  Beth Dakin  <bdakin@apple.com>
9023         Reviewed by Oliver.
9025         Update build-webkit to account for foreign-object being disabled by
9026         default.
9028         * Scripts/build-webkit:
9030 2008-01-18  Adam Roben  <aroben@apple.com>
9032         Updated for method renames
9034         Reviewed by Adele.
9036         * DumpRenderTree/mac/FrameLoadDelegate.mm:
9037         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
9038         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9039         (LayoutTestController::setMainFrameIsFirstResponder):
9040         (LayoutTestController::setWindowIsKey):
9041         * DumpRenderTree/mac/UIDelegate.mm:
9042         (-[UIDelegate webViewFocus:]):
9043         * DumpRenderTree/win/FrameLoadDelegate.cpp:
9044         (FrameLoadDelegate::didCommitLoadForFrame):
9046 2008-01-18  Alexey Proskuryakov  <ap@webkit.org>
9048         Reviewed by Adam Roben.
9050         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
9051         between DRT and TestNetscapePlugin.
9053         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
9054         * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
9056 2008-01-18  Simon Hausmann  <hausmann@webkit.org>
9058         Reviewed by Holger.
9060         Fix fast/dom/Window/window-resize.html
9062         In DRT connect the page's geometryChangeRequest signal to a slot that
9063         sets the geometry of the view widget.
9066         * DumpRenderTree/qt/DumpRenderTree.cpp:
9067         (WebCore::WebPage::setViewGeometry):
9068         (WebCore::WebPage::WebPage):
9070 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
9072         Build fix.
9074         * Drosera/DroseraWin.make:
9076 2008-01-17  Darin Adler  <darin@apple.com>
9078         * Scripts/run-webkit-tests: Fixed a bug number.
9080 2008-01-17  Alexey Proskuryakov  <ap@webkit.org>
9082         Reviewed by Adam Roben.
9084         http://bugs.webkit.org/show_bug.cgi?id=16908
9085         run-webkit-tests complains about missing FindSafari.exe
9087         * Scripts/webkitdirs.pm: Append _debug as appropriate.
9089 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
9091         Re-add DEBUG_WEBKIT_HAS_SUFFIX.
9093         Rubber-stamped by Jon Honeycutt.
9095         * DumpRenderTree/win/DumpRenderTree.vcproj:
9097 2008-01-16  Alp Toker  <alp@atoker.com>
9099         Reviewed by Mark Rowe.
9101         http://bugs.webkit.org/show_bug.cgi?id=16218
9102         [GTK] API: Should this entry point be called go_back rather than go_backward?
9104         Track back/forward API changes in the tools.
9106         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
9107         (BackForwardItem::invoke):
9108         * GtkLauncher/main.c:
9109         (go_back_cb):
9111 2008-01-16  Adam Roben  <aroben@apple.com>
9113         Windows build fix after r29488
9115         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9116         Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
9117         expects to find the plugin.
9119 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
9121         Reviewed by Sam Weinig.
9123         Fixed the waitUntilDone watchdog timer -- the old code never added the
9124         timer to the run loop, so it didn't do anything.
9126         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9127         (LayoutTestController::setWaitToDump):
9128         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9129         (LayoutTestController::setWaitToDump):
9131 2008-01-14  Steve Falkenburg  <sfalken@apple.com>
9133         Use shared vsprops for most vcproj properties.
9135         Reviewed by Darin Adler.
9137         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9138         * DumpRenderTree/win/DumpRenderTree.vcproj:
9139         * DumpRenderTree/win/ImageDiff.vcproj:
9140         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9141         * FindSafari/FindSafari.vcproj:
9143 2008-01-14  Stephanie  <slewis@apple.com>
9145        Reviewed by NOBODY.
9147        revert accidental character.
9149        * Scripts/run-webkit-tests:
9151 2008-01-14  Stephanie  <slewis@apple.com>
9153         RS=Oliver
9155         add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
9157         * Scripts/run-webkit-tests:
9159 2008-01-14  Darin Adler  <darin@apple.com>
9161         * Scripts/do-webcore-rename: Queue up another rename.
9163 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
9165         Reviewed by Darin Adler.
9167         * Allow to run the tests in reverse order to spot test cases where the result depends on the order
9168         the tests were ran.
9169         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
9171         * Scripts/run-webkit-tests:
9173 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
9175         Reviewed by Darin Adler.
9177         * Randomize tests array to spot test cases where the results depends on the order
9178         the tests are ran.
9179         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
9181         * Scripts/run-webkit-tests:
9183 2008-01-14  Darin Adler  <darin@apple.com>
9185         * Scripts/run-webkit-tests: More ignore list tweaking.
9187 2008-01-14  Darin Adler  <darin@apple.com>
9189         * Scripts/run-webkit-tests: Add another leak to the ignore list.
9191 2008-01-14  Dan Bernstein  <mitz@apple.com>
9193         Reviewed by Adam Roben.
9195         - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
9196           build bots
9198         * DumpRenderTree/win/DumpRenderTree.cpp:
9199         (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
9201 2008-01-13  Steve Falkenburg  <sfalken@apple.com>
9203         Share common files across projects.
9205         Unify vsprops files
9206         Debug:          common.vsprops, debug.vsprops
9207         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
9208         Release:        common.vsprops, release.vsprops
9210         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
9211         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
9213         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
9215         Reviewed by Adam Roben.
9217         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9218         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
9219         * Drosera/win/Drosera.vcproj/VERSION: Removed.
9220         * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
9221         * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
9222         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
9223         * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
9224         * DumpRenderTree/win/DumpRenderTree.vcproj:
9225         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9226         * DumpRenderTree/win/debug.vsprops: Removed.
9227         * DumpRenderTree/win/debug_internal.vsprops: Removed.
9228         * DumpRenderTree/win/release.vsprops: Removed.
9230 2008-01-13  Brent Fulgham  <bfulgham@gmail.com>
9232         Reviewed by Maciej.
9234         - http://bugs.webkit.org/show_bug.cgi?id=16314
9235           Script to launch Drosera
9237         * Scripts/gdb-drosera: Added.
9238         * Scripts/run-drosera: Added.
9239         * Scripts/run-drosera-nightly.cmd: Added.
9240         * Scripts/webkitdirs.pm: Added runDrosera function.
9242 2008-01-13  Dan Bernstein  <mitz@apple.com>
9244         - fix breakage due to last-minute change
9246         * DumpRenderTree/win/DumpRenderTree.cpp:
9247         (runTest): Declare the loop variable.
9249 2008-01-13  Dan Bernstein  <mitz@apple.com>
9251         Reviewed by Adam Roben.
9253         - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
9255         * DumpRenderTree/win/DumpRenderTree.cpp:
9256         (DumpRenderTreeWndProc):
9257         (initialize):
9258         (dumpBackForwardList):
9259         (dumpBackForwardListForAllWindows):
9260         (dump):
9261         (resetWebViewToConsistentStateBeforeTesting): Factored out of
9262         runTest().
9263         (runTest):
9264         (allWindows): Added. Returns a vector of all open windows.
9265         (windowToWebViewMap): Added. Returns a map from open windows to their
9266         WebViews.
9267         (createWebViewAndOffscreenWindow): Factored out of main() to be
9268         reusable for creating extra windows.
9269         (main):
9270         * DumpRenderTree/win/DumpRenderTreeWin.h:
9271         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9272         (LayoutTestController::windowCount): Implemented.
9273         * DumpRenderTree/win/UIDelegate.cpp:
9274         (UIDelegate::createWebViewWithRequest): Implemented.
9275         (UIDelegate::webViewClose): Implemented.
9276         * DumpRenderTree/win/UIDelegate.h:
9278 2008-01-12  Alp Toker  <alp@atoker.com>
9280         Reviewed by Mark Rowe.
9282         Hide non-public symbols in GTK+/autotools release builds.
9284         * GNUmakefile.am:
9286 2008-01-12  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
9288         Reviewed by Ap.
9290         * Make launching of the WebKit httpd work on GNU/Debian/Linux
9292         The configuration of Apache2 and installation does not depend on
9293         the kernel but on the distribution policy. Make launching of httpd
9294         work for Debian derived distributions.
9296         * Scripts/run-webkit-httpd:
9297         * Scripts/run-webkit-tests:
9298         * Scripts/webkitdirs.pm:
9300 2008-01-12  Mark Rowe  <mrowe@apple.com>
9302         Reviewed by Maciej Stachowiak.
9304         Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
9306         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
9307         match the callers expectations that it can take ownership of the string.
9309 2008-01-11  Alexey Proskuryakov  <ap@webkit.org>
9311         Reviewed by Adam Roben.
9313         <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
9315         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
9316         as these are only posted because the test window is not a normal visible one, and
9317         they confuse drag&drop machinery.
9319 2008-01-11  Adam Roben  <aroben@apple.com>
9321         Fix a crash when pathToLocalResource fails and a leak
9323         Reviewed by Darin Adler.
9325         * DumpRenderTree/LayoutTestController.cpp:
9326         (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
9327         sure not to pass null to JSValueMakeString.
9328         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9329         (LayoutTestController::pathToLocalResource): Print an error message if
9330         the conversion fails so it's clear what happened.
9332 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
9334         Reviewed by John Sullivan.
9336         * DumpRenderTree/mac/GCControllerMac.mm:
9337         (GCController::collectOnAlternateThread): Updated for name change.
9339 2008-01-10  Kevin Ollivier  <kevino@theolliviers.com>
9341         wx build fix. Don't build dftables any longer since it's now a Perl
9342         script.
9344         * wx/build-wxwebkit:
9346 2008-01-10  Sam Weinig  <sam@webkit.org>
9348         Reviewed by Anders Carlsson.
9350         Make DRT track open windows instead of allocated windows so that
9351         we can avoid ASSERTION due to late deallocs out of our control.
9353         * DumpRenderTree/mac/DumpRenderTree.mm:
9354         (dumpBackForwardListForAllWindows):
9355         (runTest):
9356         * DumpRenderTree/mac/DumpRenderTreeMac.h:
9357         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
9358         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
9359         (+[DumpRenderTreeWindow openWindows]):
9360         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
9361         (-[DumpRenderTreeWindow close]):
9362         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9363         (LayoutTestController::windowCount):
9365 2008-01-10  Ada Chan  <adachan@apple.com>
9367         Meta key is not the same as Alt key on windows.
9369         Reviewed by Darin Adler.
9371         * DumpRenderTree/win/EventSender.cpp:
9372         (keyDownCallback):
9374 2008-01-09  Kevin McCullough  <kmccullough@apple.com>
9376         Reviewed by Darin, Sam and Adam.
9378         -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
9379         link in gmail message displays JavaScript alert falsely complaining
9380         about pop-up blocking.
9381         - Added the ability to enable the pop-up blocker via the
9382         LayoutTestController.
9384         * DumpRenderTree/LayoutTestController.cpp:
9385         (setPopupBlockingEnabledCallback):
9386         (LayoutTestController::staticFunctions):
9387         * DumpRenderTree/LayoutTestController.h:
9388         * DumpRenderTree/mac/DumpRenderTree.mm:
9389         (setDefaultsToConsistentValuesForTesting):
9390         (resetWebViewToConsistentStateBeforeTesting):
9391         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9392         (LayoutTestController::setPopupBlockingEnabled):
9394 2008-01-10  Lars Knoll  <lars@trolltech.com>
9396         Reviewed by Simon.
9398         rename QWebPageHistory to QWebHistory.
9401         * DumpRenderTree/qt/jsobjects.cpp:
9403 2008-01-09  Maciej Stachowiak  <mjs@apple.com>
9405         Reviewed by Darin Adler.
9407         - add some more renames, adjust some
9409         * Scripts/do-webcore-rename:
9411 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
9413         Reviewed by Oliver.
9415         Enable SVG Fonts support by default.
9417         * Scripts/build-webkit:
9419 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
9421         Reviewed by Adam.
9423         Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
9424         DRT doesn't handle platform specific pixel test results correctly.
9426         <test>-expected.txt files and <test>-expected.png files may now live
9427         in different directories (ie. a cross-platform <test>-expected.txt file
9428         and a platform-specific <test>-expected.png file).
9430         * Scripts/run-webkit-tests:
9432 2008-01-04  Kevin McCullough  <kmccullough@apple.com>
9434         Reviewed by Darin Adler.
9436         - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
9437         DRT did not correctly handle printing the '\0' char.  Now it does.
9439         * DumpRenderTree/win/DumpRenderTree.cpp:
9440         (dumpFramesAsText):
9441         (dump):
9443 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
9445         Reviewed by Lars.
9447         Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
9450         * DumpRenderTree/qt/main.cpp:
9451         * DumpRenderTree/qt/testplugin.cpp:
9452         * DumpRenderTree/qt/testplugin.h:
9454 2008-01-05  Mark Rowe  <mrowe@apple.com>
9456         Reviewed by Alp Toker.
9458         Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
9460         * DumpRenderTree/gtk/DumpRenderTree.cpp:
9461         (processWork): Process pending work.
9462         (webViewLoadFinished): Schedule processing of pending work.
9463         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
9465 2008-01-05  Darin Adler  <darin@apple.com>
9467         * Scripts/do-webcore-rename: Some more renaming plans.
9469 2008-01-04  Alice Liu  <alice.liu@apple.com>
9471         Reviewed by Alexey and Darin.
9473         Adding "home" and "end" to DRT's keydown since
9474         DOM key events can't handle keyIdentifiers at this point.
9476         * DumpRenderTree/mac/EventSendingController.mm:
9477         (-[EventSendingController keyDown:withModifiers:]):
9478         * DumpRenderTree/win/EventSender.cpp:
9479         (keyDownCallback):
9481 2008-01-04  Lars Knoll  <lars@trolltech.com>
9483         Reviewed by Simon.
9485         fix DRT after the changes to QWebPage.
9487         The great thing is that we actually don't have
9488         any regressions from the QWebPage change :)
9491         * DumpRenderTree/qt/DumpRenderTree.cpp:
9492         (WebCore::DumpRenderTree::DumpRenderTree):
9494 2008-01-04  Lars Knoll  <lars@trolltech.com>
9496         Reviewed by Simon.
9498         make QWebPage a QObject and get things to compile.
9500         Nothing works currently though.
9503         * DumpRenderTree/qt/DumpRenderTree.cpp:
9504         (WebCore::DumpRenderTree::DumpRenderTree):
9506 2008-01-04  Lars Knoll  <lars@trolltech.com>
9508         Reviewed by Simon.
9510         take a QString as identifier in QWebFrame::addToJSWindowObject.
9512         * DumpRenderTree/qt/DumpRenderTree.cpp:
9513         (WebCore::DumpRenderTree::initJSObjects):
9515 2008-01-04  Alp Toker  <alp@atoker.com>
9517         GTK+ DRT build fix for breakage introduced in r29149.
9519         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
9520         (LayoutTestController::execCommand):
9522 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
9524         Reviewed by Darin Adler.
9526         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
9528         Added layoutTestController.execCommand to access editor commands that are not available
9529         via document.execCommand.
9531         * DumpRenderTree/LayoutTestController.cpp:
9532         (execCommandCallback):
9533         (LayoutTestController::staticFunctions):
9534         * DumpRenderTree/LayoutTestController.h:
9535         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9536         (LayoutTestController::execCommand):
9537         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9538         (LayoutTestController::queueLoad):
9539         (LayoutTestController::execCommand):
9541 2008-01-03  Alice Liu  <alice.liu@apple.com>
9543         Reviewed by Darin, Mitz.
9545         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
9547         the clickcount should not increase if the last click was at a different location.  it's a new click.
9549         * DumpRenderTree/mac/DumpRenderTree.mm:
9550         (runTest):
9551         * DumpRenderTree/mac/EventSendingController.h:
9552         * DumpRenderTree/mac/EventSendingController.mm:
9553         (-[EventSendingController mouseDown]):
9554         (-[EventSendingController mouseUp]):
9556 2008-01-03  Darin Adler  <darin@apple.com>
9558         Reviewed by Adam.
9560         * Scripts/update-webkit: Make this work a little better for the people at Apple
9561         who have a directory named Internal.
9563 2008-01-03  Adam Roben  <aroben@apple.com>
9565         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
9567         Rubberstamped by Mark.
9569         * Scripts/update-webkit-auxiliary-libs:
9571 2008-01-03  Adam Roben  <aroben@apple.com>
9573         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
9575         http://bugs.webkit.org/show_bug.cgi?id=15663
9577         Added a fuzz factor into the Last-Modified comparison for downloading
9578         WebKitAuxiliaryLibrary.zip.
9580         The zip file is served from a set of mirrors who give Last-Modified
9581         times that are off by 1-3 seconds from each other. This was causing
9582         the build bots to redownload WebKitAuxiliaryLibrary for every build,
9583         which would then cause all of WebCore to rebuild each time.
9585         Reviewed by Mark.
9587         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
9588         at least 30 seconds newer than the old one -- otherwise we assume that
9589         the difference in time is due to the mirrors being slightly offset
9590         from each other.
9591         (sub lastModifiedToUnixTime): Added.
9593 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
9595         Windows build fix.
9597         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
9599 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
9601         Reviewed by Lars.
9603         Moved QWebPage::open to QWebFrame::load and added setHtml.
9606         * DumpRenderTree/qt/DumpRenderTree.cpp:
9607         (WebCore::DumpRenderTree::open):
9609 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
9611         Reviewed by Lars.
9613         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
9616         * DumpRenderTree/qt/DumpRenderTree.cpp:
9617         (WebCore::DumpRenderTree::DumpRenderTree):
9619 2008-01-02  Sam Weinig  <sam@webkit.org>
9621         * Scripts/do-webcore-rename: Yet more renaming ideas.
9623 2008-01-02  Darin Adler  <darin@apple.com>
9625         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
9627 2008-01-02  Alice Liu  <alice.liu@apple.com>
9629         Reviewed by Sam Weinig.
9631         fixing assertion hit with editing/selection/move-begin-end.html
9633         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
9634         * DumpRenderTree/win/DumpRenderTree.vcproj:
9635         * DumpRenderTree/win/EventSender.cpp:
9636         (keyDownCallback):
9637         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
9639 2008-01-02  Darin Adler  <darin@apple.com>
9641         * Scripts/do-webcore-rename: Some more name change plans.
9643 2008-01-02  Alice Liu  <alice.liu@apple.com>
9645         Reviewed by Maciej.
9647         Added handling for page up and page down in EventSender
9649         * DumpRenderTree/mac/EventSendingController.mm:
9650         (-[EventSendingController keyDown:withModifiers:]):
9651         * DumpRenderTree/win/EventSender.cpp:
9652         (keyDownCallback):
9654 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
9656         Reviewed by Darin Adler.
9658         Fix fast/events/arrow-keys-on-body.html for real.
9660         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
9662 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
9664         Reviewed by Darin Adler.
9666         http://bugs.webkit.org/show_bug.cgi?id=16674
9667         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
9669         * Scripts/run-launcher:
9671 2007-12-31  Darin Adler  <darin@apple.com>
9673         Suggested by Antti.
9675         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
9676         we get it installed on the build bots.
9678 2007-12-30  Eric Seidel  <eric@webkit.org>
9680         Reviewed by Sam.
9682         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
9684 2007-12-29  Darin Adler  <darin@apple.com>
9686         Reviewed by Oliver.
9688         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
9689           leak bot shows createCStringFromNPVariant result leaking
9691         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
9692         (pluginInvoke): Added a missing free.
9694 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
9696         Reviewed by Alp Toker.
9698         http://bugs.webkit.org/show_bug.cgi?id=16390
9699         Use autotools or GNU make as the build system for the GTK port
9701         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
9702         * GNUmakefile.am: Added.
9704 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
9706         Reviewed by Oliver.
9708         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
9710         * DumpRenderTree/win/EventSender.cpp:
9711         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
9712         of 1, even though WebKit currently ignores it.
9714 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
9716         wx buildbot fix. Update libpng dl script to the latest version.
9718         * wx/install-unix-extras:
9720 2007-12-22  Antti Koivisto  <antti@apple.com>
9722         Fix a typo.
9724         * Scripts/webkitdirs.pm:
9726 2007-12-21  Sam Weinig  <sam@webkit.org>
9728         Reviewed by Mark Rowe.
9730         - Disable the back/forward cache using the new WebPreferences API
9731           instead of through the BackForwardList.  This makes us match what
9732           we do on Windows.
9734         * DumpRenderTree/mac/DumpRenderTree.mm:
9735         (createWebViewAndOffscreenWindow):
9736         (setDefaultsToConsistentValuesForTesting):
9738 2007-12-21  Dan Bernstein  <mitz@apple.com>
9740         Reviewed by Mark Rowe.
9742         - disable the back/forward cache in Windows DumpRenderTree. It is
9743           already disabled in Mac DumpRenderTree.
9745         * DumpRenderTree/win/DumpRenderTree.cpp:
9746         (initializePreferences):
9748 2007-12-13  Antti Koivisto  <antti@apple.com>
9750         Reviewed by Darin and Steve.
9752         - check for QuickTime SDK on Windows.
9753         - build media support on Windows by default
9755         * Scripts/build-webkit:
9756         * Scripts/webkitdirs.pm:
9758 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
9760         Build script fix for buildbot.
9762         * wx/build-wxwebkit:
9764 2007-12-20  Eric Seidel  <eric@webkit.org>
9766         Reviewed by mjs.
9768         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
9770 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
9772         Reviewed by Steve.
9774         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
9775         WebKit.
9777         - Drosera and Safari need to use the same ProgIDs in order for
9778         CoCreateInstance to work properly.  The most robust way to do this is
9779         for WebKit to dynamically publish those ProgIDs.
9781         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
9782         (DebuggerClient::createWebViewWithRequest):
9783         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
9784         statics.
9785         (Drosera::initUI):
9786         (Drosera::attach):
9787         (Drosera::attemptToCreateServerConnection):
9788         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
9789         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
9790         make use of the published ProgIDs.
9791         (ServerConnection::attemptToCreateServerConnection):
9793 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
9795         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
9796         - Build bot and leak fix.
9798         * DumpRenderTree/LayoutTestController.cpp:
9799         (pathToLocalResourceCallback):
9801 2007-12-19  David Kilzer  <ddkilzer@apple.com>
9803         Make svn-apply/svn-unapply work with patches from git-format-patch.
9805         Reviewed by Darin Adler.
9807         * Scripts/svn-apply:
9808         (patch): If 'Index:' can't be found in the text passed in, print it
9809         out with a warning and return early.
9810         * Scripts/svn-unapply:
9811         (patch): Ditto.
9813 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
9815         Reviewed by Alp Toker.
9817         Build related fixes.
9819         * wx/build-wxwebkit:
9820         - Check to make sure the user is running a supported wx port
9821         - More robust checks for Cygwin
9822         - Only run install-unix-extras on Mac, it's not the right solution
9823           for Linux distros.
9824         - Remove outdated Linux instructions after successful build
9825         - Clean Bakefile-generated files during a clean operation
9827 2007-12-18  Darin Adler  <darin@apple.com>
9829         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
9831 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
9833         Add script to run Drosera as part of the nightly.
9835         Reviewed by Kevin M.
9837         * Scripts/run-drosera.cmd: Added.
9839 2007-12-18  Darin Adler  <darin@apple.com>
9841         * Scripts/do-webcore-rename: Remove a stray K.
9843 2007-12-18  Darin Adler  <darin@apple.com>
9845         * Scripts/do-webcore-rename: Plan more renaming.
9847 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
9849         Reviewed by Alp Toker.
9851         http://bugs.webkit.org/show_bug.cgi?id=16042
9852         [GTK] Eliminate webkit_init()
9854         Moving webkit initialization to WebView class init.
9856         * DumpRenderTree/gtk/DumpRenderTree.cpp:
9857         (main):
9858         * GtkLauncher/main.c:
9859         (main):
9861 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
9863         Reviewed by Alp Toker.
9865         http://bugs.webkit.org/show_bug.cgi?id=13542
9866         gdklauncher doesnt change URL in adress GTKEntry.
9868         * GtkLauncher/main.c:
9869         (load_commit_cb): added
9870         (title_change_cb):
9871         (create_browser):
9873 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
9875         Reviewed by Adam Roben.
9877         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
9879         * FindSafari/FindSafari.cpp:
9880         (_tmain):
9882 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
9884         Reviewed by Adam Roben.
9886         http://bugs.webkit.org/show_bug.cgi?id=16315
9887         FindSafari needs a path-only option.
9889         * FindSafari/FindSafari.cpp:
9890         (_tmain):
9892 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
9894         Reviewed by Darin Adler.
9896         http://bugs.webkit.org/show_bug.cgi?id=16462
9897         REGRESSION: access keys broken on Windows
9899         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
9900         if Alt is pressed.
9902 2007-12-15  Sam Weinig  <sam@webkit.org>
9904         Reviewed by Mark Rowe.
9906         Fix urlSuitableForTestResult to correctly identify wstring::npos as
9907         the case when wstring.find doesn't find anything.
9909         * DumpRenderTree/win/DumpRenderTree.cpp:
9910         (urlSuitableForTestResult):
9912 2007-12-15  Alp Toker  <alp@atoker.com>
9914         GTK+ DRT build fix for GLib < 2.14.
9916         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
9917         (LayoutTestController::setWaitToDump):
9919 2007-12-05  Mark Rowe  <mrowe@apple.com>
9921         Reviewed by Alp Toker.
9923         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
9924         many layout tests from hanging while waiting on user responses to dialogs.
9926         * DumpRenderTree/gtk/DumpRenderTree.cpp:
9927         (invalidateAnyPreviousWaitToDumpWatchdog):
9928         (webViewScriptAlert):
9929         (webViewScriptPrompt):
9930         (webViewScriptConfirm):
9931         (main):
9932         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
9933         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
9934         (waitToDumpWatchdogFired):
9935         (LayoutTestController::setWaitToDump):
9937 2007-12-05  Mark Rowe  <mrowe@apple.com>
9939         Reviewed by Alp Toker.
9941         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
9943         * DumpRenderTree/gtk/DumpRenderTree.cpp:
9944         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
9945         (dump):
9946         (runTest):
9947         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
9948         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
9949         work queue is empty.
9950         (webViewWindowObjectCleared): Set up window.layoutTestController.
9951         (webViewConsoleMessage): Match the console message format expected by the layout test results.
9952         (main): Hook up the new signals.
9953         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
9954         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
9955         dumping multiple times.
9956         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
9957         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
9959 2007-12-14  Anders Carlsson  <andersca@apple.com>
9961         Reviewed by Brady.
9963         Assert that a web frame that's loading a resource always has either a data source or
9964         a provisional data source.
9966         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
9967         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
9969 2007-12-14  Darin Adler  <darin@apple.com>
9971         - fix mistake causing nearly all tests to fail on Windows
9973         * DumpRenderTree/win/UIDelegate.cpp:
9974         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
9975         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
9977         * DumpRenderTree/mac/UIDelegate.mm:
9978         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
9979         than passing the entire message.
9981 2007-12-14  Darin Adler  <darin@apple.com>
9983         - fix Tiger build
9985         * DumpRenderTree/mac/UIDelegate.mm:
9986         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
9987         new-to-Leopard methods.
9989 2007-12-14  Darin Adler  <darin@apple.com>
9991         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
9992         since it now triggers unwanted icon loading. We only had it because we implemented "all"
9993         delegate methods here.
9995 2007-12-14  Anders Carlsson  <andersca@apple.com>
9997         Reviewed by Darin and Geoff.
9999         <rdar://problem/5619295>
10000         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
10002         Add property getting methods to the plug-in.
10004         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
10005         (pluginInvoke):
10007 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
10009         Reviewed by Darin Adler.
10011         - Layout test fix for mac. When dumped to the console local file paths
10012         now only show the name of the resource not the whole path.  This is to
10013         make the results machine and OS independent.
10015         * DumpRenderTree/mac/UIDelegate.mm:
10016         (-[UIDelegate webView:addMessageToConsole:]):
10018 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
10020         Reviewed by Adam.
10022         - Layout tests fix.  We need a way to remove machine-dependent
10023         information from paths in layout test results. The UIDelegate now does
10024         this.
10026         * DumpRenderTree/DumpRenderTree.h:
10027         * DumpRenderTree/win/DumpRenderTree.cpp:
10028         (urlSuitableForTestResult):
10029         * DumpRenderTree/win/DumpRenderTreeWin.h:
10030         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
10031         * DumpRenderTree/win/UIDelegate.cpp:
10032         (UIDelegate::webViewAddMessageToConsole):
10034 2007-12-13  Alp Toker  <alp@atoker.com>
10036         Build fix for DRT breakage introduced in r28690.
10038         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
10039         (LayoutTestController::pathToLocalResource):
10041 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
10043         Reviewed by Alice and Sam.
10045         - <rdar://5621435> Need a way to specify local resources (being loaded
10046         from HTTP tests) on Windows.
10047         - Implemented pathToLocalResource which exposes the functionality of
10048         converting a given unix path to the correct location on Windows.
10050         * DumpRenderTree/LayoutTestController.cpp:
10051         (pathToLocalResourceCallback):
10052         (LayoutTestController::staticFunctions):
10053         * DumpRenderTree/LayoutTestController.h:
10054         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10055         (LayoutTestController::pathToLocalResource):
10056         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
10057         (LayoutTestController::pathToLocalResource):
10059 2007-12-12  Anders Carlsson  <andersca@apple.com>
10061         Reviewed by Sam.
10063         <rdar://problem/5132003>
10064         dumpResourceLoadCallbacks is not implemented in DRT on Windows.
10066         * DumpRenderTree/win/DumpRenderTree.cpp:
10067         (main):
10068         Set the resource load delegate.
10070         * DumpRenderTree/win/DumpRenderTree.vcproj:
10072         * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
10073         * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
10075 2007-12-12  Alexey Proskuryakov  <ap@webkit.org>
10077         Reviewed by Adam Roben.
10079         Fix conversion from double to LPARAM in dispatchMessage().
10081         * DumpRenderTree/win/EventSender.cpp:
10082         (dispatchMessageCallback):
10084 2007-12-11  Dan Bernstein  <mitz@apple.com>
10086         Reviewed by Mark Rowe and Sam Weinig too!
10088         - added Helvetica Oblique and Helvetica Bold Oblique to the list of
10089           fonts DumpRenderTree registers.
10091         * DumpRenderTree/win/DumpRenderTree.cpp:
10092         (initialize):
10094 2007-12-11  Brady Eidson  <beidson@apple.com>
10096         Reviewed by Anders
10098         Make DumpRenderTree on mac use its own path for Databases testing
10100         * DumpRenderTree/mac/DumpRenderTree.mm:
10101         (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
10102           for future DRT-only use, then use it to construct the Databases path and set that default
10104 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
10106         Reviewed by Darin Adler.
10108         <rdar://problem/5535636>
10109         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
10111         http://bugs.webkit.org/show_bug.cgi?id=13916
10112         JavaScript detects Tab as a character input on a textfield validation
10114         * DumpRenderTree/mac/EventSendingController.mm:
10115         (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
10116         Dispatch a keyup to better match what happens when a key is physically pressed.
10118         * DumpRenderTree/win/EventSender.cpp:
10119         (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
10120         returning from keyDown().
10121         (getConstantCallback): Fixed a couple copy/paste mistakes.
10123 2007-12-07  Kevin McCullough  <kmccullough@apple.com>
10125         Reviewed by Oliver.
10127         - <rdar://5599845> Drosera: Does not show loal files in the file list
10128         on the left side.
10130         * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
10131         * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
10132         so the open source community can build.
10134 2007-12-10  Brady Eidson  <beidson@apple.com>
10136         Rubberstamped by Sam Weinig
10138         Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
10140         * DumpRenderTree/mac/UIDelegate.mm:
10141         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
10142         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
10144 2007-12-08  Oliver Hunt  <oliver@apple.com>
10146         Reviewed by Sam W.
10148         Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
10150         Fixes <rdar://problem/5620249> Must disable SVG animation
10151         <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
10153         In order to allow finer grained control over the set of SVG features
10154         this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
10155         distinct flags:
10156         ENABLE_SVG_ANIMATION
10157         ENABLE_SVG_FILTERS
10158         ENABLE_SVG_FONTS
10159         ENABLE_SVG_AS_IMAGE
10160         ENABLE_SVG_USE
10162         by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
10164         Script handles all the new build flags, and allows --svg-experimental
10165         to automatically enable all features.
10167         * Scripts/build-webkit:
10169 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
10171         Fix version parsing.
10173         Rubber-stamped by Oliver.
10175         * Drosera/win/Drosera.vcproj/auto-version.sh:
10177 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
10179         Build modifications for Drosera.
10181         Reviewed by Adam.
10183         * Drosera/DroseraWin.make: Added.
10184         * Drosera/win/Drosera.vcproj/Drosera.rc:
10185         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10186         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
10187         * Drosera/win/Drosera.vcproj/VERSION: Added.
10188         * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
10190 2007-12-06  Adam Roben  <aroben@apple.com>
10192         Explicitly turn on the Mac font ascent hack on Windows
10194         This keeps our font metrics matching those from Mac.
10196         Reviewed by Hyatt.
10198         * DumpRenderTree/win/DumpRenderTree.cpp:
10199         (main):
10201 2007-12-06  Anders Carlsson  <andersca@apple.com>
10203         Rename main.c to main.cpp here too.
10205         * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
10207 2007-12-06  Sam Weinig  <sam@webkit.org>
10209         Rubber stamped by Geoff.
10211         * Scripts/do-webcore-rename: Don't rename kjs_css twice.
10213 2007-12-06  Darin Adler  <darin@apple.com>
10215         * Scripts/do-webcore-rename: Some more renaming plans.
10217 2007-12-06  Anders Carlsson  <andersca@apple.com>
10219         Restore implementation of testGetIntIdentifier that was accidentally
10220         removed somehow (possibly when I made PluginObject be a cpp file).
10222         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
10223         (pluginInvoke):
10225 2007-12-05  Anders Carlsson  <andersca@apple.com>
10227         Make the entry points extern "C".
10228         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
10230 2007-12-05  Anders Carlsson  <andersca@apple.com>
10232         C++ warning fixes.
10234         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
10235         (NPP_New):
10236         (NPP_Destroy):
10237         (NPP_SetWindow):
10238         (NPP_NewStream):
10239         (NPP_HandleEvent):
10240         (NPP_URLNotify):
10241         (NPP_GetValue):
10243 2007-12-05  Anders Carlsson  <andersca@apple.com>
10245         Add the .cpp files to the TestNetscapePlugIn target.
10247         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10249 2007-12-05  Anders Carlsson  <andersca@apple.com>
10251         Reviewed by Geoff.
10253         Rename the TestNetscapePlugIn .c files to be .cpp.
10255         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10256         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
10257         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
10258         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
10259         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
10260         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
10261         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
10262         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
10264 2007-12-05  Adam Roben  <aroben@apple.com>
10266         Fix case of keypresses from the Windows implementation of eventSender.keyDown
10268         This fixes several regression tests.
10270         Reviewed by Alice.
10272         * DumpRenderTree/win/EventSender.cpp:
10273         (keyDownCallback): Virtual keycodes for ASCII characters are always
10274         uppercase, so we need to check the case of the original character
10275         passed in to eventSender.keyDown.
10277 2007-12-05  Adam Roben  <aroben@apple.com>
10279         Learn from Tim's mistakes
10281         * DumpRenderTree/win/DumpRenderTree.cpp:
10282         (runTest): Reset the authorAndUserStylesEnabled preference for each
10283         test.
10285 2007-12-05  Alp Toker  <alp@atoker.com>
10287         Reviewed by Mark Rowe.
10289         Initialize GTK+ and WebKit so the tests can run.
10291         Reorganize the headers a little.
10293         * DumpRenderTree/gtk/DumpRenderTree.cpp:
10294         (main):
10296 2007-12-04  Anders Carlsson  <andersca@apple.com>
10298         Remove IWebScriptScope include.
10300         * Drosera/win/DebuggerDocumentPlatform.cpp:
10302 2007-12-04  Sam Weinig  <sam@webkit.org>
10304         Rubber stamped by Mark Rowe.
10306         Define CF as platform for mac and revert r28409
10308         * DumpRenderTree/DumpRenderTree.h:
10309         * DumpRenderTree/mac/DumpRenderTreeMac.h:
10311 2007-12-04  Sam Weinig  <sam@webkit.org>
10313         Define CF as platform for windows.
10315         Reviewed by Adam Roben.
10317         * DumpRenderTree/win/DumpRenderTreeWin.h:
10319 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
10321         Reviewed by Adam and Darin.
10323         - Removed a needless BSTR cleanup.
10325         * Drosera/win/DebuggerDocumentPlatform.cpp:
10326         (DebuggerDocument::getPlatformCurrentFunctionStack):
10328 2007-11-27  Adam Roben  <aroben@apple.com>
10330         Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
10332         Reviewed by Maciej.
10334         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
10335         (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
10337 2007-12-04  Alp Toker  <alp@atoker.com>
10339         Prospective Win DRT build fix.
10341         * DumpRenderTree/DumpRenderTree.h:
10343 2007-12-04  Alp Toker  <alp@atoker.com>
10345         Fix a clobbered copyright header.
10347         * DumpRenderTree/gtk/DumpRenderTree.cpp:
10349 2007-12-04  Xan Lopez  <xan@gnome.org>
10351         Reviewed by Alp Toker.
10353         http://bugs.webkit.org/show_bug.cgi?id=15561
10354         GTK port needs DumpRenderTree implementation
10356         Start work on the GTK+ DRT.
10358         This does not work yet, and there are a few lingering style issues
10359         (nothing major) but this patch has been stuck in the bug tracker for
10360         too long already.
10362         * DumpRenderTree/DumpRenderTree.h:
10363         * DumpRenderTree/gtk: Added.
10364         * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
10365         (autocorrectURL):
10366         (shouldLogFrameLoadDelegates):
10367         (dumpFrameScrollPosition):
10368         (displayWebView):
10369         (appendString):
10370         (dumpFramesAsText):
10371         (dumpRenderTreeAsText):
10372         (dump):
10373         (runTest):
10374         (main):
10375         * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
10376         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
10377         * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
10378         (GCController::collect):
10379         (GCController::collectOnAlternateThread):
10380         (GCController::getJSObjectCount):
10381         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
10382         (LayoutTestController::~LayoutTestController):
10383         (LayoutTestController::addDisallowedURL):
10384         (LayoutTestController::clearBackForwardList):
10385         (LayoutTestController::copyDecodedHostName):
10386         (LayoutTestController::copyEncodedHostName):
10387         (LayoutTestController::display):
10388         (LayoutTestController::keepWebHistory):
10389         (LayoutTestController::notifyDone):
10390         (LayoutTestController::queueBackNavigation):
10391         (LayoutTestController::queueForwardNavigation):
10392         (LayoutTestController::queueLoad):
10393         (LayoutTestController::queueReload):
10394         (LayoutTestController::queueScript):
10395         (LayoutTestController::setAcceptsEditing):
10396         (LayoutTestController::setCustomPolicyDelegate):
10397         (LayoutTestController::setMainFrameIsFirstResponder):
10398         (LayoutTestController::setTabKeyCyclesThroughElements):
10399         (LayoutTestController::setUseDashboardCompatibilityMode):
10400         (LayoutTestController::setUserStyleSheetEnabled):
10401         (LayoutTestController::setUserStyleSheetLocation):
10402         (LayoutTestController::setWindowIsKey):
10403         (LayoutTestController::setWaitToDump):
10404         (LayoutTestController::windowCount):
10405         (LayoutTestController::setPrivateBrowsingEnabled):
10406         (LayoutTestController::setAuthorAndUserStylesEnabled):
10407         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
10408         (JSStringCopyUTF8CString):
10409         (LoadItem::invoke):
10410         (ReloadItem::invoke):
10411         (ScriptItem::invoke):
10412         (BackForwardItem::invoke):
10414 2007-12-03  Sam Weinig  <sam@webkit.org>
10416         Move JavaScriptCore thread testing code to pthread specific directory
10417         and remove the dependance on CoreFoundation by using WTF::HashSet.
10419         Reviewed by Geoff and Oliver.
10421         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10422         * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
10423         * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
10424         * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
10425         * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
10426         * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
10427         * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
10428         * DumpRenderTree/pthreads: Added.
10429         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
10430         (javaScriptThreads):
10431         (runJavaScriptThread):
10432         (startJavaScriptThreads):
10433         (stopJavaScriptThreads):
10435 2007-12-03  Andrew Bonventre  <andybons@google.com>
10437         Reviewed by Darin Adler.
10439         - fix http://bugs.webkit.org/show_bug.cgi?id=16267
10440         Symbol lookup menu broken in debugger view
10442         * Drosera/debugger.js: Fixed javascript error where document property
10443         should have been used instead of contentDocument in switchFunction that
10444         was breaking the select symbol dropdown menu.  This is because
10445         window.frames will return a Window object and not a frame object like
10446         the author was originally expecting.
10448 2007-12-03  Kevin McCullough  <kmccullough@apple.com>
10450         Reviewed by Adam.
10452         - <rdar://5618942> Drosera: Console window does not process everything
10453         correctly.
10454         - <rdar://5619005> Drosera: could be sped up by moving the
10455         WebScriptScope stuff into the WebScriptCallFrame.
10456         - Now the console can correctly process objects and does not receive
10457         notifications from JavaScriptCore about the JavaScript in Drosera's
10458         own process.
10460         * Drosera/win/DebuggerDocumentPlatform.cpp:
10461         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10462         (DebuggerDocument::platformValueForScopeVariableNamed):
10464 2007-12-03  Stephanie  <slewis@apple.com>
10466         Reviewed by Darin Adler.
10468         Check to see if we are building a debug root
10470         * Scripts/check-for-global-initializers:
10472 2007-12-03  Dan Bernstein  <mitz@apple.com>
10474         Reviewed by Darin Adler.
10476         - added a testGetIntIdentifier() method to TestNetscapePlugIn
10478         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
10479         (pluginInvoke):
10481 2007-12-03  Alexey Proskuryakov  <ap@webkit.org>
10483         Reviewed by Oliver.
10485         Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
10486         in a more fine-grained manner than eventSender.keyDown().
10488         * DumpRenderTree/win/EventSender.cpp:
10489         (getConstantCallback):
10490         (dispatchMessageCallback):
10492 2007-12-02  Darin Adler  <darin@apple.com>
10494         * Scripts/do-webcore-rename: More planned renaming.
10496 2007-12-02  Sam Weinig  <sam@webkit.org>
10498         Rubber stamped by Anders.
10500         Use [NSURL absoluteString] instead of [NSURL description] in order to get
10501         more uniform results cross platform.
10503         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
10504         (-[NSURL _drt_descriptionSuitableForTestResult]):
10506 2007-12-02  Sam Weinig  <sam@webkit.org>
10508         Rubber stamped by Niko.
10510         Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
10512         * DumpRenderTree/win/DumpRenderTree.cpp:
10513         * DumpRenderTree/win/DumpRenderTree.vcproj:
10514         * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
10515         * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
10516         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
10517         * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
10519 2007-12-01  Alp Toker  <alp@atoker.com>
10521         Reviewed by Adam Roben.
10523         Make use of the newly introduced webkit.h convenience header.
10525         * GtkLauncher/main.c:
10527 2007-12-01  Adam Treat  <treat@kde.org>
10529         Reviewed by Simon.
10531         * Check to see if the directory exists and exit if not.
10533         * DumpRenderTree/qt/main.cpp:
10534         (main):
10536 2007-12-01  Adam Treat  <treat@kde.org>
10538         Reviewed by Simon.
10540         * Don't hide symbols when in Debug mode
10541         * On Linux (glibc) provide a backtrace in the test output for debugging purposes
10544         * DumpRenderTree/qt/main.cpp:
10545         (messageHandler):
10547 2007-11-30  Alp Toker  <alp@atoker.com>
10549         Reviewed by Adam Roben.
10551         http://bugs.webkit.org/show_bug.cgi?id=15691
10552         [GTK] Public API does not follow GTK+ conventions
10554         Refactor the WebKit/GTK+ public API. Changes:
10555           WebKitPage -> WebKitWebView
10556           WebKitFrame -> WebKitWebFrame
10558         Public API source and header names have been updated to mirror the API
10559         changes.
10561         The API is now kept in WebKit/gtk/WebView to match other ports in the
10562         same class such as Mac and Win.
10564         * GtkLauncher/main.c:
10565         (activate_uri_entry_cb):
10566         (link_hover_cb):
10567         (title_change_cb):
10568         (progress_change_cb):
10569         (go_back_cb):
10570         (go_forward_cb):
10571         (create_browser):
10572         (main):
10574 2007-11-30  Adam Roben  <aroben@apple.com>
10576         Hopefully the final build fix
10578         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
10579         pull in WTF's assertion/logging functions.
10581 2007-11-30  Adam Roben  <aroben@apple.com>
10583         Another build fix
10585         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
10586         WebKit.lib.
10588 2007-11-30  Adam Roben  <aroben@apple.com>
10590         Debug build fix
10592         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
10593         configuration.
10594         * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
10595         projects.
10596         * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
10597         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
10598         WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
10600 2007-11-30  Sam Weinig  <sam@webkit.org>
10602         Reviewed by Adam Roben.
10604         Fix drawSelectionRect to actually draw the selection rect.
10606         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
10607         (drawSelectionRect):
10609 2007-11-30  Darin Adler  <darin@apple.com>
10611         * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
10613 2007-11-30  Darin Adler  <darin@apple.com>
10615         * Scripts/do-webcore-rename: Get ready for some future renaming.
10617 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
10619         Reviewed by Adam.
10621         - Removed some unnecessary functions and changed an unused return type.
10623         * Drosera/win/DebuggerClient.cpp:
10624         (registerConsoleClass):
10625         * Drosera/win/DebuggerClient.h:
10626         * Drosera/win/Drosera.cpp:
10627         (registerDroseraClass):
10629 2007-11-28  Alp Toker  <alp@atoker.com>
10631         Reviewed by Timothy Hatcher.
10633         http://bugs.webkit.org/show_bug.cgi?id=16174
10634         [GTK] Use "URI" not "URL" in public API
10636         Replace use of the term "URL" with "URI" in public headers,
10637         documentation and some internal code to match GLib/GTK+ convention.
10639         This is now mentioned in the API guidelines:
10640           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
10642         * GtkLauncher/main.c:
10643         (activate_uri_entry_cb):
10644         (title_change_cb):
10645         (create_toolbar):
10646         (main):
10648 2007-11-29  Anders Carlsson  <andersca@apple.com>
10650         Reviewed by Sam.
10652         <rdar://problem/5230478>
10653         FrameLoadDelegate callbacks are not dumped in DRT.
10655         * DumpRenderTree/win/DumpRenderTree.cpp:
10656         (shouldLogFrameLoadDelegates):
10657         (runTest):
10658         (main):
10659         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
10660         (BSTRtoString):
10661         (descriptionSuitableForTestResult):
10662         (FrameLoadDelegate::QueryInterface):
10663         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
10664         (FrameLoadDelegate::didFailProvisionalLoadWithError):
10665         (FrameLoadDelegate::didCommitLoadForFrame):
10666         (FrameLoadDelegate::didFinishLoadForFrame):
10667         (FrameLoadDelegate::willCloseFrame):
10668         (FrameLoadDelegate::didClearWindowObject):
10669         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
10670         (FrameLoadDelegate::didHandleOnloadEventsForFrame):
10671         * DumpRenderTree/win/FrameLoaderDelegate.h:
10672         (FrameLoadDelegate::windowScriptObjectAvailable):
10673         (FrameLoadDelegate::didFirstLayoutInFrame):
10675 2007-11-29  Sam Weinig  <sam@webkit.org>
10677         Reviewed by Anders.
10679         Add database quota UIDelegates methods to DRT UIDelegate.
10681         * DumpRenderTree/mac/UIDelegate.mm:
10682         (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
10683         (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
10685 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
10687         Reviewed by Sam.
10689         - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
10690         dying and vice versa.
10691         - This fix will allow Drosera and Safari to reconnect if either of them
10692         closes correctly, but does not fix the case where one of them dies
10693         silently.
10695         * Drosera/win/ServerConnection.cpp:
10696         (ServerConnection::attemptToCreateServerConnection): Added a safety
10697         check, because it's possilbe to try to connect to a server that's dying.
10698         (ServerConnection::serverDidDie): Implemented. This resets Drosera when
10699         the server has died.
10700         * Drosera/win/ServerConnection.h: Added the new function and removed
10701         an unnecessary member.
10703 2007-11-29  Anders Carlsson  <andersca@apple.com>
10705         * DumpRenderTree/win/DumpRenderTree.vcproj:
10706         Add shlwapi.lib to all configurations.
10708 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
10710         - Build fix.  Added additional includes for VS Express to the Release
10711         project.
10713         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10715 2007-11-29  Anders Carlsson  <andersca@apple.com>
10717         Reviewed by Adam.
10719         <rdar://problem/5132005>
10720         setUserStyleSheetEnabled is not fully implemented in Windows DRT.
10722         * DumpRenderTree/win/DumpRenderTree.vcproj:
10723         Add shlwapi.lib
10725         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
10726         (LayoutTestController::setUserStyleSheetEnabled):
10727         Implement this.
10729         (appendComponentToPath):
10730         New method which wraps the Win32 API PathAppend.
10732         (followShortcuts):
10733         New method which checks if a file points to a shortcut and
10734         follows the shortcut.
10736         (resolveCygwinPath):
10737         New method that takes a cygwin unix-style path and returns the Win32 path.
10739         (cfStringRefToWString):
10741         (LayoutTestController::setUserStyleSheetLocation):
10742         Implement this.
10744 2007-11-29  Alice Liu  <alice.liu@apple.com>
10746         Reviewed by Adam.
10748         Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
10750         * DumpRenderTree/win/EventSender.cpp:
10751         (keyDownCallback):
10752         uppercase letters were being sent as lowercase letters without the shift key down.
10754 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
10756         - Windows build fix. VS express needs some love.
10758         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
10760 2007-11-28  Darin Adler  <darin@apple.com>
10762         Reviewed by Adam Roben.
10764         * DumpRenderTree/mac/EventSendingController.mm:
10765         (-[EventSendingController keyDown:withModifiers:]):
10766         Send capital letters through as lowercase letters with the shift key down
10767         rather than sending them as if they were highly unusual "capital letter keys".
10769         * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
10770         where you need to update results and more tests are failing than before.
10772 2007-11-28  Anders Carlsson  <andersca@apple.com>
10774         Reviewed by Darin Adler.
10776         <rdar://problem/5132001>
10777         contextClick is not implemented in DRT on Windows.
10779         * DumpRenderTree/win/EventSender.cpp:
10780         (contextClickCallback):
10781         Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
10782         by a WM_RBUTTONUP message.
10784         * DumpRenderTree/win/UIDelegate.cpp:
10785         (UIDelegate::hasCustomMenuImplementation):
10786         (UIDelegate::trackCustomPopupMenu):
10787         * DumpRenderTree/win/UIDelegate.h:
10788         Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
10789         menu from being shown (and causing the DRT to hang).
10791 2007-11-27  Maciej Stachowiak  <mjs@apple.com>
10793         Reviewed by Darin Adler.
10795         Fix DumpRenderTree ObjC bug comparing strings.
10797         * DumpRenderTree/mac/ObjCController.m:
10798         (-[ObjCController identityIsEqual::]): Compare strings with string
10799         equality instead of identiy equality.
10801 2007-11-27  Timothy Hatcher  <timothy@apple.com>
10803         Reviewed by Sam.
10805         Reset the authorAndUserStylesEnabled preference
10806         back to YES for each test. Fixes the broken tests.
10808         * DumpRenderTree/mac/DumpRenderTree.mm:
10809         (resetWebViewToConsistentStateBeforeTesting):
10811 2007-11-27  Kevin McCullough  <kmccullough@apple.com>
10813         Reviewed by Adam.
10815         - Drosera now displays the console window, although it cannot currently
10816         process JavaScript.
10818         * Drosera/win/DebuggerClient.cpp: Shows the console window.
10819         (registerConsoleClass): Implemented.
10820         (consoleWndProc): Implemented.
10821         (DebuggerClient::onSize): Implemented.
10822         (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
10823         new window.
10824         * Drosera/win/DebuggerClient.h: Added needed method and members for
10825         creating and maintaining a new window.
10826         * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
10827         lines of code to more appropriate places.
10828         (Drosera::handleCommand):
10829         (Drosera::initUI):
10830         (Drosera::onSize):
10831         (Drosera::attach):
10833 2007-11-27  Timothy Hatcher  <timothy@apple.com>
10835         Reviewed by Dave Hyatt.
10837         <rdar://problem/5569233> Add the ability to disable author and user CSS styles
10839         Add support for disabling author and user styles for testing.
10841         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10842         * DumpRenderTree/LayoutTestController.cpp:
10843         (setAuthorAndUserStylesEnabledCallback):
10844         (LayoutTestController::staticFunctions):
10845         * DumpRenderTree/LayoutTestController.h:
10846         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10847         (LayoutTestController::setAuthorAndUserStylesEnabled):
10848         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
10849         (LayoutTestController::setAuthorAndUserStylesEnabled):
10851 2007-11-26  Dan Bernstein  <mitz@apple.com>
10853         - Tiger build fix.
10855         * DumpRenderTree/mac/Configurations/Base.xcconfig:
10857 2007-11-26  Kevin McCullough  <kmccullough@apple.com>
10859         Reviewed by Maciej.
10861         - Implemented displaying variables for Drosera on Win.
10863         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
10864         that retrieve variables to not hold onto the return value since it's
10865         not returned.  Also changed to use the new signatures of the retrieval
10866         functions.
10867         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10868         (DebuggerDocument::platformValueForScopeVariableNamed):
10869         * Drosera/win/Drosera.cpp: Removed a needless TODO.
10870         (droseraWndProc):
10872 2007-11-26  Sam Weinig  <sam@webkit.org>
10874         Cleanup names of painting and repainting functions.
10876         Reviewed by Adam Roben.
10878         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
10879         (drawSelectionRect): was drawSelectionRectIntoContext.
10880         (dumpWebViewAsPixelsAndCompareWithExpected):
10881         * DumpRenderTree/cg/PixelDumpSupportCG.h:
10882         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
10883         (paintWebView): was drawWebViewIntoContext.
10884         (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
10886 2007-11-26  Sam Weinig  <sam@webkit.org>
10888         Reviewed by Dan Bernstein.
10890         - Leopard build fix
10892         * DumpRenderTree/mac/Configurations/Base.xcconfig:
10894 2007-11-26  Sam Weinig  <sam@webkit.org>
10896         Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
10897         Use shared PixelDumpSupport for Mac DRT
10899         Reviewed by Adam Roben.
10901         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10902         * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
10903         * DumpRenderTree/cg/ImageDiffCG.cpp:
10904         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
10905         (drawSelectionRectIntoContext):
10906         (dumpWebViewAsPixelsAndCompareWithExpected):
10907         * DumpRenderTree/cg/PixelDumpSupportCG.h:
10908         * DumpRenderTree/mac/Configurations/Base.xcconfig:
10909         * DumpRenderTree/mac/DumpRenderTree.mm:
10910         (dump):
10911         * DumpRenderTree/mac/ImageDiff.m: Removed.
10912         * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
10913         * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
10914         * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
10915         (setDefaultColorProfileToRGB):
10916         (getBitmapContextFromWebView):
10917         (drawWebViewIntoContext):
10918         (repaintWithVerticalSweep):
10919         (repaintWithHorizontalSweep):
10920         (getSelectionRect):
10921         * DumpRenderTree/win/PixelDumpSupport.h: Removed.
10923 2007-11-25  David D. Kilzer  <ddkilzer@webkit.org>
10925         Bug 16052: prepare-ChangeLog doesn't report deleted files
10926         <http://bugs.webkit.org/show_bug.cgi?id=16052>
10928         Reviewed by Sam.
10930         * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
10932 2007-11-25  David Kilzer  <ddkilzer@webkit.org>
10934         Bug 15864: Replace merge-changelog with resolve-ChangeLogs
10935         <http://bugs.webkit.org/show_bug.cgi?id=15864>
10937         Reviewed by Adam.
10939         Roll functionality of merge-changelog into resolve-ChangeLogs
10940         script.  The script now checks for ChangeLog.rej and
10941         ChangeLog.orig files first.  If it finds them, it uses the
10942         ChangeLog.rej file as a patch (in old contextual diff format) to
10943         apply with --fuzz=3.
10945         * Scripts/merge-changelog: Removed.
10946         * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
10948 2007-11-25  Sam Weinig  <sam@webkit.org>
10950         Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
10952         Reviewed by Mark Rowe.
10954         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10955         * DumpRenderTree/mac/Configurations/Base.xcconfig:
10956         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
10957         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
10958         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
10960 2007-11-25  Sam Weinig  <sam@webkit.org>
10962         Convert DumpRenderTree to ues .xcconfig files.
10964         Reviewed by Mark Rowe.
10966         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10967         * DumpRenderTree/mac/Configurations: Added.
10968         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
10969         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
10970         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
10972 2007-11-25  Sam Weinig  <sam@webkit.org>
10974         Add ForwardingHeaders to wtf for DumpRenderTree.
10976         Reviewed by Mark Rowe.
10978         * DumpRenderTree/DumpRenderTree.h:
10979         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10980         * DumpRenderTree/ForwardingHeaders: Added.
10981         * DumpRenderTree/ForwardingHeaders/wtf: Added.
10982         * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
10983         * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
10984         * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
10985         * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
10986         * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
10987         * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
10988         * DumpRenderTree/LayoutTestController.cpp:
10989         * DumpRenderTree/WorkQueue.cpp:
10990         * DumpRenderTree/mac/DumpRenderTree.mm:
10991         * DumpRenderTree/mac/FrameLoadDelegate.mm:
10992         * DumpRenderTree/mac/JavaScriptThreading.cpp:
10993         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10994         * DumpRenderTree/mac/ObjCController.m:
10995         * DumpRenderTree/mac/UIDelegate.mm:
10996         * DumpRenderTree/mac/WorkQueueItemMac.mm:
10998 2007-11-25  Adam Roben  <aroben@apple.com>
11000         Fix some test failures caused by r28019
11002         Now that stdout is in binary mode, we need to always use printf
11003         instead of wprintf. Otherwise we'll end up with UTF-16 characters in
11004         the output.
11006         Reviewed by Sam.
11008         * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
11009         printf.
11010         (UIDelegate::runJavaScriptAlertPanelWithMessage):
11011         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
11012         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
11013         (UIDelegate::webViewAddMessageToConsole):
11015 2007-11-25  Adam Roben  <aroben@apple.com>
11017         Set the font smoothing preference in DRT
11019         This makes the pixel results on Windows closer to the Mac results.
11021         Reviewed by Mitz.
11023         * DumpRenderTree/win/DumpRenderTree.cpp:
11024         (initializePreferences):
11026 2007-11-25  Adam Roben  <aroben@apple.com>
11028         Port ImageDiff to CG and C++
11030         Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
11031         <rdar://5071708>
11033         Reviewed by Sam.
11035         * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
11036         * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
11037         (main):
11038         (createImageFromStdin):
11039         (compareImages):
11040         (getDifferenceBitmap):
11041         (computePercentageDifferent):
11042         * DumpRenderTree/win/ImageDiff.vcproj: Added.
11044 2007-11-25  Adam Roben  <aroben@apple.com>
11046         Fix image diff link generation on Windows
11048         Reviewed by Sam.
11050         * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
11051         to toURL.
11053 2007-11-25  Adam Roben  <aroben@apple.com>
11055         Implement pixel dumping in Windows DRT
11057         Part of http://bugs.webkit.org/show_bug.cgi?id=16133
11058         <rdar://5071708>
11060         Reviewed by Sam.
11062         * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
11063         (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
11064         Content-Length header.
11065         (getMD5HashStringForBitmap):
11066         (dumpWebViewAsPixelsAndCompareWithExpected):
11067         * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
11068         * DumpRenderTree/win/DumpRenderTree.cpp:
11069         (dump): Do a pixel dump if requested.
11070         (main): Parse pixel test options.
11071         * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
11072         the cg/ subdirectory to the include path.
11073         * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
11074         available in a header or import library, so we have to go through this
11075         LoadLibrary/GetProcAddress dance to use them.
11076         (cryptDLL):
11077         (init):
11078         (update):
11079         (final):
11080         (MD5_Init):
11081         (MD5_Update):
11082         (MD5_Final):
11083         * DumpRenderTree/win/MD5.h: Added.
11084         * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
11085         moved up to the top level to share it with Mac eventually.
11086         * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
11087         (getBitmapContextFromWebView): Forces the WebView to paint using a
11088         WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
11090 2007-11-25  Adam Roben  <aroben@apple.com>
11092         Clean up Windows DRT's option parsing a little bit
11094         Reviewed by Sam.
11096         * DumpRenderTree/win/DumpRenderTree.cpp:
11097         (main): Put non-option arguments into a Vector.
11099 2007-11-25  Adam Roben  <aroben@apple.com>
11101         Make Windows DRT stop changing LF into CRLF
11103         Reviewed by Sam.
11105         * DumpRenderTree/win/DumpRenderTree.cpp:
11106         (main): Put stdout in binary mode.
11107         * Scripts/run-webkit-tests: Remove the CRLF hack.
11109 2007-11-24  David Kilzer  <ddkilzer@webkit.org>
11111         Removed empty directory.
11113         * Scripts/resources: Removed.
11115 2007-11-23  David D. Kilzer  <ddkilzer@webkit.org>
11117         Fix bisect-builds to work with recent WebKit nightly builds.
11119         Reviewed by Dan.
11121         * Scripts/bisect-builds: Check for the
11122         WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
11123         it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
11124         to WebKit.app/Contents/Resources.
11126 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
11128         Reviewed by Maciej.
11130         <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
11131         not closed (affects digg.com)
11133         * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
11134         one after finishing with a test to avoid having its delayed onload handler firing when
11135         replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
11136         but it helps somewhat.
11138 2007-11-22  Mark Rowe  <mrowe@apple.com>
11140         Reviewed by Alp Toker.
11142         Fix build-webkit to propagate make's exit status if it fails.
11144         * Scripts/webkitdirs.pm:
11146 2007-11-22  Dan Bernstein  <mitz@apple.com>
11148         Reviewed by Mark Rowe.
11150         - fix crash when running pixel tests
11152         * DumpRenderTree/mac/DumpRenderTree.mm:
11153         (dumpRenderTree): Parse the command line options before setting up the
11154         environment so that we know if we need to set up the pixel dump
11155         machinery.
11157 2007-11-21  Eric Seidel  <eric@webkit.org>
11159         Speculative build fix for Tiger.
11161         * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
11163 2007-11-21  Eric Seidel  <eric@webkit.org>
11165         Reviewed by Tim Hatcher.
11167         Break out more of DumpRenderTree.mm into individual files
11169         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11170         * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
11171         (checkedMalloc):
11172         (checkedRealloc):
11173         (makeLargeMallocFailSilently):
11174         * DumpRenderTree/mac/CheckedMalloc.h: Added.
11175         * DumpRenderTree/mac/DumpRenderTree.mm:
11176         (crashHandler):
11177         (dump):
11178         * DumpRenderTree/mac/DumpRenderTreeMac.h:
11179         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
11180         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
11181         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
11182         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
11183         * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
11184         (javaScriptThreads):
11185         (runJavaScriptThread):
11186         (startJavaScriptThreads):
11187         (stopJavaScriptThreads):
11188         * DumpRenderTree/mac/JavaScriptThreading.h: Added.
11189         * DumpRenderTree/mac/PixelDumpSupport.h: Added.
11190         * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
11191         (restoreColorSpace):
11192         (setDefaultColorProfileToRGB):
11193         (initializeColorSpaceAndScreeBufferForPixelTests):
11194         (md5HashStringForBitmap):
11195         (dumpWebViewAsPixelsAndCompareWithExpected):
11197 2007-11-21  Kevin Ollivier  <kevino@theolliviers.com>
11199         Move install-unix-extras to wx directory as it seems only to be used by that
11200         port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
11201         Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
11202         have install-unix-extras install into WebKitLibraries as per
11203         convention.
11205         Reviewed by Mark Rowe.
11207         * Scripts/install-unix-extras: Removed.
11208         * wx/build-wxwebkit:
11209         * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
11211 2007-11-21  Eric Seidel  <eric@webkit.org>
11213         Reviewed by Adam.
11215         More refactoring for greater code readability
11217         * DumpRenderTree/mac/DumpRenderTree.mm:
11218         (initializeGlobalsFromCommandLineOptions):
11219         (initializeColorSpaceAndScreeBufferForPixelTests):
11220         (addTestPluginsToPluginSearchPath):
11221         (useLongRunningServerMode):
11222         (runTestingServerLoop):
11223         (prepareConsistentTestingEnvironment):
11224         (dumpRenderTree):
11225         (main):
11226         (dumpFramesAsText):
11227         (dumpBackForwardListForWebView):
11228         (sizeWebViewForCurrentTest):
11229         (methodNameStringForFailedTest):
11230         (dumpBackForwardListForAllWindows):
11231         (dumpWebViewAsPixelsAndCompareWithExpected):
11232         (invalidateAnyPreviousWaitToDumpWatchdog):
11233         (dump):
11234         * DumpRenderTree/mac/DumpRenderTreeMac.h:
11235         * DumpRenderTree/mac/UIDelegate.mm:
11236         (-[UIDelegate webView:createWebViewWithRequest:]):
11238 2007-11-21  Eric Seidel  <eric@webkit.org>
11240         Reviewed by Tim Hatcher.
11242         Abstract more of DRT into static methods
11244         * DumpRenderTree/mac/DumpRenderTree.mm:
11245         (setDefaultsToConsistentValuesForTesting):
11246         (setupSignalHandlers):
11247         (allocateGlobalControllers):
11248         (releaseAndZero):
11249         (releaseGlobalControllers):
11250         (dumpRenderTree):
11251         (shouldLogFrameLoadDelegates):
11252         (createCFURLFromPathOrURL):
11253         (resetWebViewToConsistentStateBeforeTesting):
11254         (runTest):
11256 2007-11-21  Eric Seidel  <eric@webkit.org>
11258         Reviewed by Tim Hatcher.
11260         Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
11262         * DumpRenderTree/DumpRenderTree.h:
11263         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11264         * DumpRenderTree/mac/DumpRenderTree.mm:
11265         (dumpRenderTree):
11266         (dump):
11267         (runTest):
11268         * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
11269         * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
11270         (+[DumpRenderTreePasteboard _pasteboardWithName:]):
11271         (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
11272         (-[DumpRenderTreePasteboard declareType:owner:]):
11273         (+[LocalPasteboard alloc]):
11274         (-[LocalPasteboard init]):
11275         (-[LocalPasteboard dealloc]):
11276         (-[LocalPasteboard name]):
11277         (-[LocalPasteboard releaseGlobally]):
11278         (-[LocalPasteboard declareTypes:owner:]):
11279         (-[LocalPasteboard addTypes:owner:]):
11280         (-[LocalPasteboard changeCount]):
11281         (-[LocalPasteboard types]):
11282         (-[LocalPasteboard availableTypeFromArray:]):
11283         (-[LocalPasteboard setData:forType:]):
11284         (-[LocalPasteboard dataForType:]):
11285         (-[LocalPasteboard setPropertyList:forType:]):
11286         (-[LocalPasteboard setString:forType:]):
11287         * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
11288         * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
11289         (+[DumpRenderTreeWindow allWindows]):
11290         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
11291         (-[DumpRenderTreeWindow dealloc]):
11292         (-[DumpRenderTreeWindow isKeyWindow]):
11293         (-[DumpRenderTreeWindow keyDown:]):
11295 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
11297         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
11298         it indiscriminately copies any headers inside JavaScriptCore,
11299         which includes Tiger ICU headers.
11301         * wx/build-wxwebkit:
11302         Don't run WebCore/move-js-headers.sh any longer.
11304 2007-11-20  Adam Treat  <treat@kde.org>
11306         Reviewed by David Kilzer.
11308         * Prepend git branch name to $baseProductDir
11310         * Scripts/VCSUtils.pm:
11311         * Scripts/webkitdirs.pm:
11313 2007-11-20  Mark Rowe  <mrowe@apple.com>
11315         Reviewed by Simon Hausmann.
11317         * Scripts/build-webkit:  Pass "clean" flag down into buildQMakeProject.
11318         * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
11319         Have it trigger a "make distclean" rather than "make clean" to ensure that the
11320         built product and generated Makefile's are removed.
11322 2007-11-19  Alp Toker  <alp@atoker.com>
11324         Reviewed by Mark Rowe.
11326         http://bugs.webkit.org/show_bug.cgi?id=16040
11327         [GTK] GtkLauncher should be written in C
11329         Port GtkLauncher to plain C.
11331         Use a more conventional GTK+ coding style.
11333         Use a toolbar instead of menus.
11335         Various signature fixes and cleanups.
11337         Add a license header. Assume all previous modifications were copyright
11338         assigned to Apple Inc. by default.
11340         * GtkLauncher/GtkLauncher.pro:
11341         * GtkLauncher/main.c: Added.
11342         (activate_url_entry_cb):
11343         (update_title):
11344         (link_hover_cb):
11345         (title_change_cb):
11346         (progress_change_cb):
11347         (destroy_cb):
11348         (go_back_cb):
11349         (go_forward_cb):
11350         (create_browser):
11351         (create_statusbar):
11352         (create_toolbar):
11353         (create_window):
11354         (main):
11355         * GtkLauncher/main.cpp: Removed.
11357 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
11359         Build script fixes to ensure they do the right thing for the
11360         wx port, and update build-wxwebkit to reflect the way the
11361         build scripts now work.
11363         Reviewed by Adam.
11365         * Scripts/build-testkjs:
11366         * Scripts/build-webkit:
11367         * Scripts/run-javascriptcore-tests:
11368         * Scripts/webkitdirs.pm:
11369         * wx/build-wxwebkit:
11371 2007-11-18  Eric Seidel  <eric@webkit.org>
11373         Reviewed by Anders.
11375         Make run-javascriptcore-tests report failures on exit (to support git bisect)
11377         * Scripts/run-javascriptcore-tests:
11379 2007-11-18  Alexey Proskuryakov  <ap@webkit.org>
11381         Reviewed by Adam Roben.
11383         Make run-webkit-tests work with Windows debug build.
11385         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
11386         * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
11387         as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
11388         symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
11389         and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
11391 2007-11-18  Kevin Ollivier  <kevino@theolliviers.com>
11393         Add wxWebKit sample and build script, and integrate it with
11394         build-webkit. Also make build-webkit --clean work for all
11395         ports.
11397         Reviewed by Darin Adler.
11399         * Scripts/build-webkit:
11400         * Scripts/webkitdirs.pm:
11401         * wx: Added.
11402         * wx/browser: Added.
11403         * wx/browser/browser.bkl: Added.
11404         * wx/browser/browser.cpp: Added.
11405         * wx/build-wxwebkit: Added.
11407 2007-11-17  Adam Roben  <aroben@apple.com>
11409         Make it easy to run Safari in the debugger on Windows
11411         I've added a new script, debug-safari, which launches Safari in the
11412         debugger. On OS X it just calls gdb-safari.
11414         Reviewed by Mark Rowe.
11416         * FindSafari/FindSafari.cpp:
11417         (_tmain): Added a /debugger flag, which in combination with
11418         /printSafariLauncher will print a script that launches Safari in the
11419         debugger.
11420         * Scripts/debug-safari: Added.
11421         * Scripts/run-safari: Changed to call runSafari().
11422         * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
11423         vsvars32.bat, which will let us find VS/VC++ Express, and passes the
11424         first argument along to FindSafari.
11425         * Scripts/webkitdirs.pm:
11426         (sub runSafari): Added.
11428 2007-11-16  Alexey Proskuryakov  <ap@webkit.org>
11430         Reviewed by Adam Roben.
11432         * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
11434 2007-11-16  Ryan Leavengood  <leavengood@gmail.com>
11436         Reviewed by David Kilzer.
11438         The git config command was renamed to repo-config at some point. This
11439         change tries git config and then git repo-config if the first fails.
11441         * Scripts/prepare-ChangeLog:
11442         (gitConfig):
11444 2007-11-16  Dan Bernstein  <mitz@apple.com>
11446         Reviewed by Darin Adler and Sam Weinig.
11448         - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
11450         * DumpRenderTree/win/EventSender.cpp:
11451         (keyDownCallback): For characters that cannot be entered on the active
11452         keyboard layout, send a WM_CHAR message with the character along with
11453         a WM_KEYDOWN message with a virtual key code of 255.
11455 2007-11-16  Mark Rowe  <mrowe@apple.com>
11457         Reviewed by Tim Hatcher.
11459         Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
11461         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11462         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11464 2007-11-15  Adam Roben  <aroben@apple.com>
11466         Make run-safari actually work on Windows
11468         * Scripts/run-safari: Fixed the order of arguments to cp, and added a
11469         chdir call.
11471 2007-11-14  Adam Roben  <aroben@apple.com>
11473         Updates to Safari launching now that 3.0.4 is released
11475         Reviewed by Sam.
11477         * FindSafari/FindSafari.cpp:
11478         (getWebViewCLSID): Use version-independent ProgID.
11479         * Scripts/run-safari: Use run-webkit-nightly.cmd.
11481 2007-11-14  Anders Carlsson  <andersca@apple.com>
11483         Reviewed by Adam.
11485         <rdar://problem/5309081>
11486         In DRT, "plugin.logDestroy = true" not working on Windows.
11488         * DumpRenderTree/win/TestNetscapePlugin/main.c:
11489         (NPP_Destroy):
11491 2007-11-14  Eric Seidel  <eric@webkit.org>
11493         Reviewed by Sam.
11495         * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
11497 2007-11-14  Anders Carlsson  <andersca@apple.com>
11499         Reviewed by Adam.
11501         <rdar://problem/5141186>
11502         window.layoutTestController.setWindowIsKey is not implemented in DRT.
11504         Implement setWindowIsKey.
11506         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11507         (LayoutTestController::setWindowIsKey):
11509 2007-11-13  Sam Weinig  <sam@webkit.org>
11511         Reviewed by Adam Roben.
11513         Fix for <rdar://problem/5382579>
11514         http/tests/security/cross-frame-access-put.html reports large
11515         negative numbers for screenLeft and screenTop (Mac reports "0")
11517         * DumpRenderTree/win/UIDelegate.cpp:
11518         (UIDelegate::UIDelegate): Initialize the RECT.
11519         (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
11520         (UIDelegate::webViewFrame): ditto.
11521         * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
11523 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
11525         Reviewed by Adam.
11527         - Make Drosera show source, source URLs, and function stack on Windows,
11528         and some minor fixes.
11530         * Drosera/DebuggerDocument.cpp: Force source to always update display.
11531         (DebuggerDocument::updateFileSource):
11532         * Drosera/debugger.js: Force source to always update display.
11533         * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
11534         menu controls.
11535         (DebuggerClient::resume):
11536         (DebuggerClient::pause):
11537         (DebuggerClient::stepInto):
11538         (DebuggerClient::stepOver):
11539         (DebuggerClient::stepOut):
11540         (DebuggerClient::showConsole):
11541         (DebuggerClient::closeCurrentFile):
11542         * Drosera/win/DebuggerClient.h: Ditto.
11543         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
11544         getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
11545         removed two bugs.  1) caller could be in a bad state when asked to
11546         assign into it. 2) BSTRs were not created correctly.
11547         (DebuggerDocument::getPlatformCurrentFunctionStack):
11548         * Drosera/win/Drosera.cpp: Hook up the menu controls.
11549         (droseraWndProc):
11550         (handleCommand):
11551         (Drosera::resume):
11552         (Drosera::pause):
11553         (Drosera::stepInto):
11554         (Drosera::stepOver):
11555         (Drosera::stepOut):
11556         (Drosera::showConsole):
11557         (Drosera::closeCurrentFile):
11558         * Drosera/win/Drosera.h: Hook up the menu controls.
11559         * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
11560         functions, added a null check, and fixed another bug where caller could
11561         be in a bad state when asked to assign into it.
11562         (ServerConnection::didLoadMainResourceForDataSource):
11563         (ServerConnection::getCallerFrame):
11564         * Drosera/win/ServerConnection.h: Safety first.
11566 2007-11-13  Dan Bernstein  <mitz@apple.com>
11568         Reviewed by Darin Adler.
11570         - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
11571           DumpRenderTree --pixel-tests renders each test twice
11573         * DumpRenderTree/mac/DumpRenderTree.mm:
11574         (dumpRenderTree): Removed the --paint option because the painting code
11575         is always exercised as a result of
11576         -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
11577         calling -displayIfNeeded.
11578         (dump): Changed to always grab the image from the window since the view
11579         is always displayed.
11580         (runTest):
11581         (displayWebView):
11582         * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
11583         because it always paints.
11585 2007-11-12  Antti Koivisto  <antti@apple.com>
11587         Reviewed by Adele.
11589         Add support for http media tests
11591         * Scripts/run-webkit-tests:
11593 2007-11-12  Sam Weinig  <sam@webkit.org>
11595         Reviewed by Adam Roben.
11597         Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
11599         * DumpRenderTree/win/DumpRenderTree.cpp:
11600         (runTest):
11601         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11602         (LayoutTestController::setPrivateBrowsingEnabled):
11604 2007-11-12  Adam Roben  <aroben@apple.com>
11606         * Scripts/update-webkit-localizable-strings: Changed to only scan the
11607         mac and win subdirectories.
11609 2007-11-11  Adam Roben  <aroben@apple.com>
11611         Fix <rdar://5133816> keepWebHistory is not implemented
11613         Fixes fast/history/clicked-link-is-visited.html.
11615         Reviewed by Darin Adler.
11617         * DumpRenderTree/win/DumpRenderTree.cpp:
11618         (runTest): Clear the optionalSharedHistory.
11619         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11620         (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
11622 2007-11-10  Sam Weinig  <sam@webkit.org>
11624         Reviewed by Tim Hatcher.
11626         Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
11627         attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
11628         is turned on)
11630         - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
11632         Added test: http/tests/security/cross-frame-access-private-browsing.html
11634         * DumpRenderTree/LayoutTestController.cpp:
11635         (setPrivateBrowsingEnabledCallback):
11636         (LayoutTestController::staticFunctions):
11637         * DumpRenderTree/LayoutTestController.h:
11638         * DumpRenderTree/mac/DumpRenderTree.mm:
11639         (runTest): Default to private browsing disabled.
11640         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
11641         (LayoutTestController::setPrivateBrowsingEnabled):
11642         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11643         (LayoutTestController::setPrivateBrowsingEnabled):
11645 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
11647         Reviewed by Adam.
11649         - Changed the vcproj file to use Drosera's ForwardingHeaders and not
11650         WebCore's!
11652         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
11653         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
11654         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
11655         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
11656         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
11657         * Drosera/win/Drosera.cpp:
11658         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
11660 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
11662         Reviewed by Sam.
11664         - Use the new IWebFrame [local] function signature and get the shared
11665         server correctly.
11667         * Drosera/win/DebuggerClient.cpp:
11668         (DebuggerClient::didFinishLoadForFrame):
11669         * Drosera/win/ServerConnection.cpp:
11670         (ServerConnection::attemptToCreateServerConnection):
11672 2007-11-07  Dan Bernstein  <mitz@apple.com>
11674         Reviewed by Darin Adler.
11676         - add an option to run-webkit-tests to ignore pixel test failures where
11677           all pixels differ by no more than a specified threshold
11679         * DumpRenderTree/mac/ImageDiff.m:
11680         (main):
11681         (compareImages):
11682         (computePercentageDifferent):
11683         * Scripts/run-webkit-tests:
11685 2007-11-07  Simon Hausmann  <hausmann@kde.org>
11687         Reviewed by Lars.
11689         Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
11691         * DumpRenderTree/qt/DumpRenderTree.cpp:
11693 2007-11-07  Simon Hausmann  <hausmann@kde.org>
11695         Reviewed by Lars.
11697         Reworked the QWebSettings API.
11698         QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
11700         * DumpRenderTree/qt/DumpRenderTree.cpp:
11702 2007-11-07  Simon Hausmann  <hausmann@kde.org>
11704         Reviewed by Lars.
11706         Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
11708         * DumpRenderTree/qt/jsobjects.cpp:
11710 2007-11-07  Simon Hausmann  <hausmann@kde.org>
11712         Reviewed by Lars Knoll <lars@trolltech.com>.
11714         Add a QWebPage::frameCreated() signal and fix DRT
11716         The removal of createFrame in QWebPage broke the re-implementation
11717         in DumpRenderTree. Instead emit a frameCreated() signal and
11718         connect to it in DumpRenderTree.
11721         * DumpRenderTree/qt/DumpRenderTree.cpp:
11722         (WebCore::WebPage::WebPage):
11723         (WebCore::DumpRenderTree::dump):
11724         (WebCore::DumpRenderTree::connectFrame):
11725         * DumpRenderTree/qt/DumpRenderTree.h:
11727 2007-11-07  Simon Hausmann  <hausmann@kde.org>
11729         Reviewed by Lars Knoll <lars@trolltech.com>.
11731         Moved all the event handlers from QWebFrame into QWebPage.
11733         This cleans up the public API and allows us to remove the
11734         HackWebFrame hack in DumpRenderTree.
11737         * DumpRenderTree/qt/jsobjects.cpp:
11738         (EventSender::mouseDown):
11739         (EventSender::mouseUp):
11740         (EventSender::mouseMoveTo):
11742 2007-11-07  Simon Hausmann  <hausmann@kde.org>
11744         Reviewed by Mark.
11746         Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
11747         to prevent the default implementation from popping up messageboxes.
11749         * DumpRenderTree/qt/DumpRenderTree.cpp:
11750         (WebCore::WebPage::javaScriptConfirm):
11751         (WebCore::WebPage::javaScriptPrompt):
11753 2007-11-06  Eric Seidel  <eric@webkit.org>
11755         * Scripts/build-testkjs: build fix... too many $$
11757 2007-11-06  Eric Seidel  <eric@webkit.org>
11759         Reviewed by Mark Rowe.
11761         * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
11763 2007-11-05  Adam Roben  <aroben@apple.com>
11765         Add support on Windows for WEBKIT_TESTFONTS
11767         This environment variable lets you specify where the fonts to be used
11768         by DumpRenderTree reside. The Qt port is already using this, so I'm
11769         just following their lead.
11771         Reviewed by Darin Adler.
11773         * DumpRenderTree/win/DumpRenderTree.cpp:
11774         (exePath): Refactored code out of initialize().
11775         (fontsPath): Returns either $WEBKIT_TESTFONTS or
11776         DumpRenderTree.resources.
11777         (initialize): Use the new fontsPath function.
11778         (main): Use the new exePath function.
11779         * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
11780         variable to DRT, like Qt does.
11782 2007-11-05  Mark Rowe  <mrowe@apple.com>
11784         Rubber-stamped by Alp Toker.
11786         Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
11788         * GtkLauncher/main.cpp:
11789         (goToURLBarText):
11790         (main):
11792 2007-11-04  David D. Kilzer  <ddkilzer@webkit.org>
11794         bisect-builds doesn't work with nightly build r19992 or newer on Leopard
11795         <http://bugs.webkit.org/show_bug.cgi?id=15830>
11797         Reviewed by Timothy.
11799         Restrict the range of nightly builds used by the bisect-builds script
11800         based on the version of Safari and the version of Mac OS X being used.
11802         Mac OS X 10.4: Safari 2.0: r11976 or newer
11803         Mac OS X 10.4: Safari 3.0: r19992 or newer
11805         Mac OS X 10.5: Safari 2.0: r19594 or newer
11806         Mac OS X 10.5: Safari 3.0: r25124 or newer
11808         * Scripts/bisect-builds:
11809         (findMacOSXVersion): Added.
11810         (makeNightlyList): Added argument to provide version of Mac OS X.
11811         Restrict range of nightly builds based on Safari and Mac OS X versions.
11813 2007-11-04  Kevin McCullough  <kmccullough@apple.com>
11815         Reviewed by Maciej.
11817         - This patch involves several changes, all of them were noticed that
11818         they were needed by the work being done in WebKit to get Drosera and
11819         WebKit working together on Windows.
11820         - The changes are:
11821         1) Added a debugger console for output messages.
11822         2) Drosera now listens for the WebKit server (before, the server would
11823         have to be running before Drosera was started.)
11824         3) Fixed a bug where the WebView started out as 0x0 pixels.
11825         4) Fixed a bug when there is no scope.
11826         5) Added the HTML, JS, and CSS to the project file to make them easy to
11827         find.
11828         6) Made the ServerConnection functions virtual.
11830         * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
11831         for the WebKit server.
11832         (DebuggerClient::DebuggerClient):
11833         (DebuggerClient::~DebuggerClient):
11834         (DebuggerClient::didFinishLoadForFrame):
11835         (DebuggerClient::serverConnected):
11836         (DebuggerClient::attemptToCreateServerConnection):
11837         * Drosera/win/DebuggerClient.h: Ditto.
11838         * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
11839         scope.
11840         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
11841         (DebuggerDocument::platformValueForScopeVariableNamed):
11842         * Drosera/win/Drosera.cpp:
11843         (_tWinMain): Added a console in debug for output messages.
11844         (Drosera::Drosera): Listen for server.
11845         (Drosera::initUI): The server now Initializes COM.
11846         (Drosera::serverConnected): Part of the listening for the server.
11847         (Drosera::attemptToCreateServerConnection): Ditto.
11848         * Drosera/win/Drosera.h: New interface for listening for the server.
11849         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
11850         files to the VS project.
11851         * Drosera/win/ServerConnection.cpp: Part of listening for the server
11852         connection.
11853         (ServerConnection::ServerConnection):
11854         (ServerConnection::attemptToCreateServerConnection):
11855         * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
11856         methods.
11857         (ServerConnection::serverConnected):
11859 2007-11-04  Alexey Proskuryakov  <ap@webkit.org>
11861         Reviewed by Maciej.
11863         http://bugs.webkit.org/show_bug.cgi?id=15832
11864         fast/dom/gc-10.html crashes when run alone
11866         Check for !done before using objects that can be already deallocated.
11868         * DumpRenderTree/mac/EditingDelegate.mm:
11869         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
11870         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
11871         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
11872         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
11873         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
11874         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
11875         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
11876         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
11877         (-[EditingDelegate webViewDidBeginEditing:]):
11878         (-[EditingDelegate webViewDidChange:]):
11879         (-[EditingDelegate webViewDidEndEditing:]):
11880         (-[EditingDelegate webViewDidChangeTypingStyle:]):
11881         (-[EditingDelegate webViewDidChangeSelection:]):
11882         * DumpRenderTree/mac/FrameLoadDelegate.mm:
11883         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
11884         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
11885         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
11886         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
11887         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
11888         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
11889         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
11890         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
11891         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
11892         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
11893         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
11894         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
11895         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
11896         (-[FrameLoadDelegate webView:willCloseFrame:]):
11897         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
11898         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
11899         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
11900         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
11901         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
11902         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
11903         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
11904         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
11905         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
11907 2007-11-04  Mark Rowe  <mrowe@apple.com>
11909         Build fix.  Don't use Carbon.h as the prefix header as it triggers
11910         warnings that would otherwise be suppressed due to it being a system header.
11912         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11914 2007-11-03  Maciej Stachowiak  <mjs@apple.com>
11916         Rubber stamped by Adam.
11918         - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
11920         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11922 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
11924         Sort files(...); sections of Xcode project files.
11926         Rubber-stamped by Darin Adler.
11928         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
11929         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11930         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11931         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
11933 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
11935         Script to sort "files(...);" sections in Xcode project.pbxproj files.
11937         Reviewed by Darin Adler.
11939         * Scripts/sort-Xcode-project-file: Added.
11941 2007-11-02  Darin Adler  <darin@apple.com>
11943         * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
11945 2007-11-02  Darin Adler  <darin@apple.com>
11947         Reviewed by Maciej.
11949         * Scripts/run-sunspider: Pass the "--base" option through.
11951         * Scripts/sunspider-compare-results: Don't check the number of parameters; let
11952         the real script do that. Default configuration to Release to match run-sunspider
11953         so we don't end up building Debug just to compare results.
11955 2007-11-01  Adam Roben  <aroben@apple.com>
11957         Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
11959         Reviewed by Sam.
11961         * Scripts/commit-log-editor: Show all the directories beneath the
11962         source root, instead of just the last one.
11964 2007-11-01  Kevin Ollivier  <kevino@theolliviers.com>
11966         Reviewed by Adam Roben.
11968         Print out an error message when the Windows build fails
11969         and provide guidance on how to find out what went wrong.
11971         * Scripts/build-webkit:
11972         * Scripts/webkitdirs.pm:
11974 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
11976         Rubber-stamped by Adam Roben.
11978         Rolled out r27326 - debug CRT seems to cause no problems after all.
11980         * DumpRenderTree/win/DumpRenderTree.vcproj:
11982 2007-10-31  Adam Roben  <aroben@apple.com>
11984         Switch the Debug configuration to using the non-debug CRT
11986         This matches WebKit.
11988         Reviewed by Steve.
11990         * DumpRenderTree/win/DumpRenderTree.vcproj:
11992 2007-10-31  Antti Koivisto  <antti@apple.com>
11994         Reviewed by bdash.
11996         Disable media tests when doing leak checking on Tiger.
11997         They crash in QuickTime (rdar://problem/5537157).
11999         * Scripts/run-webkit-tests:
12001 2007-10-29  Antti Koivisto  <antti@apple.com>
12003         Reviewed by Maciej.
12005         Build media support by default on OSX only.
12007         * Scripts/build-webkit:
12009 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
12011         - Made Adam the reviewer for a previous checkin. Not sure how it didn't
12012         get caught by the pre-commit hooks.
12014 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
12016         Reviewed by Adam.
12018         - This is a collection of relatively unrelated changes and cleanups
12019         to Drosera to prepare it for interacting with WebKit.  A lot of these
12020         changes are just correcting mistakes, for example removing included
12021         headers that are no longer needed.
12023         * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
12024         this will be needed by the DebuggerClient.
12025         (DebuggerDocument::server):
12026         * Drosera/win/BaseDelegate.h: Removed unnecessary include.
12027         * Drosera/win/DebuggerClient.cpp:
12028         (DebuggerClient::didFinishLoadForFrame): Finished implementing.
12029         (DebuggerClient::didReceiveTitle): Added comment about its purpose.
12030         (DebuggerClient::createWebViewWithRequest): Added comment about its
12031         purpose.
12032         * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
12033         declarations.
12034         (DebuggerClient::webViewLoaded): Moved.
12035         * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
12036         file, since this was the only place it was used.
12037         (cfStringToBSTR):
12038         * Drosera/win/Drosera.h: Cleaned up the includes.
12039         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
12040         * Drosera/win/HelperFunctions.h: Removed.
12042 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
12044         Reviewed by Adam.
12046         - Small cleanup in the ServerConnection class.
12048         * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
12049         and added an include.
12050         (ServerConnection::currentFrame):
12051         (ServerConnection::getCallerFrame):
12052         * Drosera/win/ServerConnection.h: Added comments, moved some functions,
12053         made a pointer into a COMPtr, and cleaned up the includes.
12055 2007-10-29  Timothy Hatcher  <timothy@apple.com>
12057         Reviewed by John Sullivan.
12059         - Place the Localizable.strings file in mac or win directories
12060           if that location exists.
12061         - Also look for UI_STRING in .c files.
12063         * Scripts/extract-localizable-strings:
12065 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
12067         Reviewed by Adam.
12069         - Set the eol-style to native and made all the line endings the same
12070         so that I avoid messy diffs that show eol changes.
12072         * Drosera/win/ServerConnection.cpp:
12073         (ServerConnection::didParseSource):
12074         (ServerConnection::didEnterCallFrame):
12075         (ServerConnection::willExecuteStatement):
12076         (ServerConnection::willLeaveCallFrame):
12077         (ServerConnection::exceptionWasRaised):
12079 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
12081         Reviewed by Adam.
12083         * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
12084         functionality that could not have existed previously without the new
12085         interfaces.
12086         (JSValueRefCreateWithBSTR): Added a helper function to easily convert
12087         from a BSTR to a JSValueRef.
12088         (DebuggerDocument::platformEvaluateScript): Implemented.
12089         (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
12090         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12091         Implemented.
12092         (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
12093         * Drosera/win/HelperFunctions.h: Cleaned up some comments.
12094         * Drosera/win/ServerConnection.cpp: Added a helper function.
12095         (ServerConnection::getCallerFrame):
12096         * Drosera/win/ServerConnection.h: Added a helper function.
12098 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
12100         updated reviewers for my previous changelog.
12102 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
12103         Reviewed by Maciej and Adam and Geoff.
12105         - Minor mac-side improvements including moving a function to a more
12106         appropriate location, fixing a warning, and correctly checking
12107         exceptions.
12109         * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
12110         (DebuggerDocument::willExecuteStatement):
12111         (DebuggerDocument::didEnterCallFrame):
12112         (DebuggerDocument::willLeaveCallFrame):
12113         (DebuggerDocument::windowScriptObjectAvailable):
12114         (DebuggerDocument::callFunctionOnObject):
12115         * Drosera/mac/DebuggerClient.mm: Fixes a warning.
12116         * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
12117         webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
12118         because it doesn't require the ServerConnection at all.
12119         (NSStringCreateWithJSStringRef): Made an argument const.
12120         (JSValueRefCreateWithNSString): Made an argument const.
12121         (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
12122         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12123         * Drosera/mac/ServerConnection.h: Moved aforementioned function.
12124         * Drosera/mac/ServerConnection.mm: Ditto.
12125         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
12127 2007-10-29  Sam Weinig  <sam@webkit.org>
12129         Reviewed by Adam Roben.
12131         Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
12133         * DumpRenderTree/LayoutTestController.cpp:
12134         (LayoutTestController::LayoutTestController):
12135         (getGlobalFlagCallback):
12136         (setGlobalFlagCallback):
12137         (LayoutTestController::getJSClass):
12138         (LayoutTestController::staticValues):
12139         * DumpRenderTree/LayoutTestController.h:
12140         (LayoutTestController::globalFlag):
12141         (LayoutTestController::setGlobalFlag):
12143 2007-10-29  Darin Adler  <darin@apple.com>
12145         Reviewed by Maciej.
12147         * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
12148         resolution instead of its default.
12150 2007-10-29  David Kilzer  <ddkilzer@webkit.org>
12152         Fixed showStatus() to print status for successfully resolved conflicts when using git.
12154         Reviewed by Mark Rowe.
12156         Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
12157         was successfully resolved, but this would not show any status because the change had
12158         already been cached in the index using "git add".  The solution is to add an optional
12159         second argument to showStatus() which adds the "--cached" switch to the command.
12161         * Scripts/resolve-ChangeLogs:
12162         (showStatus):
12164 2007-10-28  Eric Seidel  <eric@webkit.org>
12166         Reviewed by Maciej and Geoff, in unison.
12168         * Scripts/run-webkit-tests: remove broken --svg option
12170 2007-10-28  Darin Adler  <darin@apple.com>
12172         Reviewed by Adam.
12174         * Scripts/run-sunspider: Default to "Release" configuration rather than
12175         defaulting to the last configuration used as other scripts do. This can
12176         still be overriden on the command line with "--debug" if there's some
12177         reason to do so. Also fix a typo.
12179         * Scripts/sunspider-compare-results: Fix a typo.
12181 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
12183         Reviewed by Adam.
12185         - Implemented the WebScriptDebugListener functions now that the
12186         WebScriptDebugServer exists
12188         * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
12189         functions.
12190         (ServerConnection::currentFrame):
12191         (ServerConnection::didLoadMainResourceForDataSource):
12192         (ServerConnection::didParseSource):
12193         (ServerConnection::failedToParseSource):
12194         (ServerConnection::didEnterCallFrame):
12195         (ServerConnection::willExecuteStatement):
12196         (ServerConnection::willLeaveCallFrame):
12197         (ServerConnection::exceptionWasRaised):
12198         * Drosera/win/ServerConnection.h: Removed unused arguments from the
12199         members arguments list.
12201 2007-10-26  David Kilzer  <ddkilzer@webkit.org>
12203         prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
12204         <http://bugs.webkit.org/show_bug.cgi?id=15600>
12206         Reviewed by Darin Adler.
12208         The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
12209         a patch of the local changes and applying it with a fuzz level of 3 to the new file.
12210         If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
12211         file.  Note that it may also be used as a stand-alone script.
12213         * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
12214         * Scripts/resolve-ChangeLogs: Added.
12215         * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
12217 2007-10-26  Mark Rowe  <mrowe@apple.com>
12219         Qt build fix.  r27084 added a destructor implementation for LayoutTestController
12220         to the Qt port on the assumption that it was an implementation of the cross-platform
12221         LayoutTestController class.  It is not, so it did not need to be changed.
12223         * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
12225 2007-10-25  Mark Rowe  <mrowe@apple.com>
12227         Reviewed by Maciej.
12229         Fix builds with code coverage enabled.
12231         * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
12233 2007-10-25  Darin Adler  <darin@apple.com>
12235         Reviewed by Mark Rowe.
12237         * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
12238         * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
12240 2007-10-25  Stephanie  <slewis@apple.com>
12242         build Fix
12244         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12246 2007-10-25  Stephanie  <slewis@apple.com>
12248         Reviewed by Mark Rowe, Adam Roben.
12250         Weak link against WebCore so DumpRenderTree can be bundled with production roots.
12252         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12254 2007-10-25  Alice Liu  <alice.liu@apple.com>
12256         Reviewed by Adam.
12258         Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
12260         Moving destructor into platform-specific files
12261         * DumpRenderTree/LayoutTestController.cpp:
12262         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
12263         (LayoutTestController::~LayoutTestController):
12264         * DumpRenderTree/qt/jsobjects.cpp:
12265         (LayoutTestController::~LayoutTestController):
12267         LayoutTestController wasn't being destroyed
12268         * DumpRenderTree/win/DumpRenderTree.cpp:
12269         (runTest):
12271         Added declspec
12272         * DumpRenderTree/win/EditingDelegate.h:
12274         Reset certain values on the webview (or related delegate) that might
12275         have changed while running a test
12276         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
12277         (LayoutTestController::~LayoutTestController):
12279 2007-10-25  Adam Roben  <aroben@apple.com>
12281         Make sunspider-compare-results work with relative paths
12283         Reviewed by Sam.
12285         * Scripts/sunspider-compare-results: Convert arguments to absolute
12286         paths before we chdir.
12288 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
12290         Reviewed by Sam.
12292         - Implemented server calls now the WebScriptDebugServer exists.
12293         - Also removed no longer needed call to initialize CG.
12295         * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
12296         automatically now.
12297         (_tWinMain):
12298         * Drosera/win/ServerConnection.cpp: Now uses the COM class.
12299         (ServerConnection::ServerConnection):
12300         (ServerConnection::~ServerConnection):
12301         (ServerConnection::pause):
12302         (ServerConnection::resume):
12303         (ServerConnection::stepInto):
12304         (ServerConnection::applicationTerminating):
12305         (ServerConnection::serverConnectionDidDie):
12306         * Drosera/win/ServerConnection.h: Now uses the COM class.
12308 2007-10-24  George Staikos  <staikos@kde.org>
12310         Unbreak Qt build.
12312         * Scripts/build-webkit:
12314 2007-10-24  Adam Roben  <aroben@apple.com>
12316         Remove now-unnecessary call to InitializeCoreGraphics
12318         WebKit takes care of this now.
12320         Reviewed by Ada.
12322         * DumpRenderTree/win/DumpRenderTree.cpp:
12323         (initialize):
12325 2007-10-24  Adam Roben  <aroben@apple.com>
12327         Use WebTextRenderer in DRT
12329         Reviewed by Ada.
12331         * DumpRenderTree/win/DumpRenderTree.cpp:
12332         (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
12334 2007-10-24  Sven Herzberg  <sven@imendio.com>
12336         Reviewed by Mark Rowe.
12338         Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
12339         Bug 15614: [GTK] qmake based backends don't build on OS X
12341         * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
12342         GTK backend on a Mac
12343         * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
12344         isDarwin() to make it reusable in other places (like the workaround-
12345         for-prebuilt-qmake in build-webkit)
12347 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
12349         Refurbish update-webkit script.
12351         Reviewed by Adam.
12353         * Scripts/update-webkit: Add -h|--help switch and usage statement.  Check result of
12354         GetOptions() call.  Fix -q|--quiet switch to be passed to svn command properly.  Use
12355         multi-argument version of system() for flexibility and security.  Check for existence
12356         of Internal directory using -d test instead of -x.
12358 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
12360         Minor clean-up of prepare-ChangeLog script.
12362         Reviewed by Adam.
12364         * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
12365         of a string.  Use multi-argument versions of open() and system() for flexibility and
12366         security.
12368 2007-10-24  Alice Liu  <alice.liu@apple.com>
12370         Reviewed by Oliver.
12372         Fix <rdar://5410959>  editing/selection/drag-to-contenteditable-iframe.html fails on Windows
12374         Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
12375         replay the saved events when we're still processing the mousedown that starts the drag
12376         * DumpRenderTree/win/EventSender.cpp:
12377         (doMouseMove):
12378         * DumpRenderTree/win/UIDelegate.cpp:
12379         (UIDelegate::doDragDrop):
12381 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
12383         Reviewed by Sam, Steve and Darin.
12385         - Stubbed out the WebScriptDebugListener functionality in the Server
12386         Connection class to prepare it for receiving those callbacks.
12387         - Also I changed the instantiation of DebuggerClient, DebuggerDocument
12388         and the ServerConnection to not need to be initialized with a server
12389         name, since that is not the way we connect to the WebKit server.
12391         * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
12392         no exception.  Now it only loggs when there is an exception
12393         (DebuggerDocument::willExecuteStatement):
12394         (DebuggerDocument::didEnterCallFrame):
12395         (DebuggerDocument::willLeaveCallFrame):
12396         (DebuggerDocument::windowScriptObjectAvailable):
12397         (DebuggerDocument::callFunctionOnObject):
12398         * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
12399         to be instantiated with a server's name.
12400         (DebuggerClient::DebuggerClient):
12401         (DebuggerClient::didFinishLoadForFrame):
12402         * Drosera/win/DebuggerClient.h: Removed unsued variable.
12403         * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
12404         a server name.
12405         (Drosera::init):
12406         (Drosera::initServer):
12407         * Drosera/win/Drosera.h: No longer need the ServerConnection to be
12408         instantiated with a server's name.
12409         * Drosera/win/ServerConnection.cpp:
12410         (ServerConnection::ServerConnection): No longer needs a server name
12411         (ServerConnection::~ServerConnection): Only release the global context
12412         if there is one.
12413         (ServerConnection::serverConnectionDidDie): Stub for
12414         IWebScriptDebugListener
12415         (ServerConnection::QueryInterface): ditto
12416         (ServerConnection::AddRef): ditto
12417         (ServerConnection::Release): ditto
12418         (ServerConnection::didLoadMainResourceForDataSource): ditto
12419         (ServerConnection::didParseSource): ditto
12420         (ServerConnection::failedToParseSource): ditto
12421         (ServerConnection::didEnterCallFrame): ditto
12422         (ServerConnection::willExecuteStatement): ditto
12423         (ServerConnection::willLeaveCallFrame): ditto
12424         (ServerConnection::exceptionWasRaised): ditto
12425         * Drosera/win/ServerConnection.h: Stubbed out the
12426         IWebScriptDebugListener functions, and this class no longer needs to be
12427         instantiated with a server name.
12429 2007-10-24  Lars Knoll  <lars@trolltech.com>
12431         Reviewed by Simon.
12433         add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
12435         * DumpRenderTree/qt/jsobjects.h:
12437 2007-10-24  Lars Knoll  <lars@trolltech.com>
12439         Reviewed by Simon.
12441         add another command.
12443         * DumpRenderTree/qt/jsobjects.cpp:
12444         (TextInputController::doCommand):
12446 2007-10-24  Lars Knoll  <lars@trolltech.com>
12448         Reviewed by Simon.
12450         add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
12452         * DumpRenderTree/qt/jsobjects.cpp:
12453         (EventSender::keyDown):
12454         * DumpRenderTree/qt/jsobjects.h:
12456 2007-10-24  Lars Knoll  <lars@trolltech.com>
12458         Reviewed by Simon.
12460         implement eventSender.keyDown().
12462         * DumpRenderTree/qt/jsobjects.cpp:
12463         (EventSender::keyDown):
12465 2007-10-24  Lars Knoll  <lars@trolltech.com>
12467         Reviewed by Simon.
12469         some smaller fixes to the editing support in DRT. Makes another few tests pass.
12471         * DumpRenderTree/qt/DumpRenderTree.cpp:
12472         (WebCore::DumpRenderTree::DumpRenderTree):
12473         (WebCore::DumpRenderTree::initJSObjects):
12474         * DumpRenderTree/qt/jsobjects.cpp:
12475         (TextInputController::doCommand):
12477 2007-10-24  Lars Knoll  <lars@trolltech.com>
12479         Reviewed by Simon.
12481         first bit of implementation for the textinputcontroller.
12483         * DumpRenderTree/qt/DumpRenderTree.cpp:
12484         (WebCore::DumpRenderTree::DumpRenderTree):
12485         * DumpRenderTree/qt/DumpRenderTree.h:
12486         * DumpRenderTree/qt/jsobjects.cpp:
12487         (TextInputController::TextInputController):
12488         (TextInputController::doCommand):
12489         * DumpRenderTree/qt/jsobjects.h:
12491 2007-10-24  Lars Knoll  <lars@trolltech.com>
12493         Reviewed by Simon.
12495         make the man webpage believe it has focus, so the editing tests work correctly.
12497         * DumpRenderTree/qt/DumpRenderTree.cpp:
12498         (WebCore::DumpRenderTree::DumpRenderTree):
12500 2007-10-24  Lars Knoll  <lars@trolltech.com>
12502         Reviewed by Simon.
12504         implement layoutTestController.dumpEditingCallbacks() correctly.
12506         * DumpRenderTree/qt/DumpRenderTree.cpp:
12507         (WebCore::DumpRenderTree::DumpRenderTree):
12508         * DumpRenderTree/qt/jsobjects.cpp:
12509         (LayoutTestController::reset):
12510         (LayoutTestController::dumpEditingCallbacks):
12512 2007-10-24  Lars Knoll  <lars@trolltech.com>
12514         Reviewed by Simon.
12516         Implement support for testing editing.
12518         * DumpRenderTree/qt/DumpRenderTree.cpp:
12519         (WebCore::DumpRenderTree::DumpRenderTree):
12521 2007-10-23  Sam Weinig  <sam@webkit.org>
12523         Check for null BSTR that can be passed to the UIDelegate methods
12524         from javascript null and undefined.  Fixes a failing test case on
12525         Windows (fast/dom/Window/alert-undefined.html)
12527         Reviewed by Eric Seidel.
12529         * DumpRenderTree/win/UIDelegate.cpp:
12530         (UIDelegate::runJavaScriptAlertPanelWithMessage):
12531         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
12532         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
12533         (UIDelegate::webViewAddMessageToConsole):
12535 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
12537         Reviewed by Darin Adler.
12539         Don't print a massive pile of setenvs from tools that automatically build testkjs.
12541         * Scripts/build-testkjs:
12543 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
12545         Reviewed by Darin Adler.
12547         - add wrapper that finds the right copy of testkjs
12549         * Scripts/sunspider-compare-results: Added.
12551 2007-10-23  Kevin McCullough  <kmccullough@apple.com>
12553         Reviewed by Sam.
12555         - After talking with Steve I now see that the WebKit server must be
12556         running for DCOM to create the distributed objects, which makes sense
12557         and currently WebKit only allows one instance to be running at a time
12558         which avoids accidentally connecting to the wrong server
12559         - In light of this I have removed the code for the attach box and
12560         NotificationServer and known server names, since they are all extranious
12561         now.
12563         * Drosera/win/Drosera.cpp: Removed notification classes and known server
12564         names.
12565         (_tWinMain): Uses init instead of initUI.
12566         (droseraWndProc): No longer creats an attach dialog box.
12567         (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
12568         it's not manditory to call init before doing COM stuff.
12569         (Drosera::init): calls initUI and will call attach when the
12570         functionality exists.
12571         (Drosera::initUI): Has changed very little.
12572         (Drosera::attach): Changed the signature to reflect that we no longer
12573         need the dictionary of known server names.
12574         * Drosera/win/Drosera.h: Removed notification classes and known server
12575         names.  Also renamed and moved some functions.
12576         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
12577         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
12578         headers to the resources folder.
12579         * Drosera/win/resource.h: Removed the Attach box.
12581 2007-10-22  Adam Roben  <aroben@apple.com>
12583         Windows build fix
12585         * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
12587 2007-10-22  Kevin McCullough  <kmccullough@apple.com>
12589         - Removed a leak that was fixed.
12591         * Scripts/run-webkit-tests:
12593 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
12595         Reviewed by Darin Adler.
12597         - Changed the Client so that the DebuggerDocument now own the
12598         ServerConnection.  This simplifies ownership and cleanup.
12600         * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
12601         ServerConnection.
12602         (DebuggerClient::initWithServerName):
12603         (DebuggerClient::didFinishLoadForFrame):
12604         * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
12605         ServerConnection.
12606         * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
12607         until after we have a server which we are attached to.
12608         (Drosera::initUI):
12609         (Drosera::attach):
12610         * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
12611         out previously.
12613 2007-10-22  Simon Hausmann  <hausmann@kde.org>
12615         Reviewed by Nikolas.
12617         When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
12619         * Scripts/run-javascriptcore-tests:
12621 2007-10-22  Simon Hausmann  <hausmann@kde.org>
12623         Reviewed by Nikolas.
12625         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.
12627         * Scripts/build-drosera:
12628         * Scripts/build-dumprendertree:
12629         * Scripts/build-testkjs:
12630         * Scripts/build-webkit:
12631         * Scripts/run-javascriptcore-tests:
12632         * Scripts/run-sunspider:
12633         * Scripts/run-webkit-tests:
12634         * Scripts/webkitdirs.pm:
12636 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
12638         Reviewed by Mark Rowe.
12640         Fix for local database support after r26879
12641         Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
12643         * Scripts/build-webkit:
12645 2007-10-22  Holger Freyther  <zecke@selfish.org>
12647         Reviewed by Simon Hausmann <hausmann@kde.org>.
12649         - Do not build testkjs as an application bundle. This is
12650         needed for run-javascriptcore-tests on OSX.
12651         - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
12652         - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
12653         as we do not have -rpath on OSX.
12655         * DumpRenderTree/qt/DumpRenderTree.pro:
12656         * Scripts/run-webkit-tests:
12658 2007-10-22  Simon Hausmann  <hausmann@kde.org>
12660         Reviewed by aroben.
12662         Fix support for Signed-off-by detection in prepare-ChangeLog
12663         --git-commit. The Signed-off-by tag does not appear in the header
12664         but usually at the end.
12666         * Scripts/prepare-ChangeLog:
12668 2007-10-21  Mark Rowe  <mrowe@apple.com>
12670         Reviewed by Eric.
12672         Fix run-javascriptcore-tests for Gtk.
12674         * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
12676 2007-10-20  Eric Seidel  <eric@webkit.org>
12678         Reviewed by aroben.
12680         * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
12682 2007-10-20  Eric Seidel  <eric@webkit.org>
12684         Reviewed by darin.
12686         Add improved argument handling to run-sunspider, including
12687         --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
12688         Also re-factor code into subroutines
12690         * Scripts/build-dumprendertree: removed bogus comments
12691         * Scripts/build-testkjs: Added.
12692         * Scripts/run-javascriptcore-tests: use build-testkjs
12693         * Scripts/run-sunspider: improved argument handling, abstraction
12694         * Scripts/run-webkit-tests: improved abstraction
12696 2007-10-20  Matt Lilek  <webkit@mattlilek.com>
12698         Not reviewed, Windows build fix.
12700         * DumpRenderTree/win/EventSender.cpp:
12701         (keyDownCallback):
12703 2007-10-20  Darin Adler  <darin@apple.com>
12705         Reviewed by Tim Hatcher.
12707         - http://bugs.webkit.org/show_bug.cgi?id=15544
12708           <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
12709           not rely on Apple-specific key codes
12711         * DumpRenderTree/mac/EventSendingController.mm:
12712         (-[EventSendingController keyDown:withModifiers:]):
12713         Added named key "rightArrow". Later we could have a whole table of these.
12714         Also tweaked modifiers code a little.
12716         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
12718 2007-10-19  Darin Adler  <darin@apple.com>
12720         Reviewed by Eric.
12722         - http://bugs.webkit.org/show_bug.cgi?id=15566
12723           possible fix for leak seen in DumpRenderTree
12725         * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
12726         Delete the item if it's not put on the queue, since the caller has
12727         no way of knowing that. Would be better to have the parameter type
12728         be auto_ptr to express the fact that we take ownership.
12730         - unrelated change
12732         * Drosera/mac/main.m: Add missing include.
12734 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
12736         Reviewed by Adam.
12738         - This change should be identical but for some reason was not working
12739         on my machine.
12741         * Scripts/prepare-ChangeLog:
12743 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
12745         Reviewed by Oliver and Tim.
12747         - Made use of RetainPtr to avoid retain and release issues and moved the
12748         log function to DebuggerDocumentPlatform, which seems to be a more
12749         logical place for it to live.
12750         - Also moved knownServers from the ServerConnection to
12751         DebuggerApplication to match the Windows code and because it makes sense
12752         that a connection knows its own server but not all of them.
12754         * Drosera/mac/DebuggerClient.h: Moved the log function to
12755           DebuggerDocumentPlatform.
12756         * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
12757           Because it's owned by an own Ptr in DebuggerDocument.  Also moved the
12758           call for the server name up from the ServerConnection class.
12759         (-[DebuggerClient dealloc]):
12760         (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
12761           for the server name up from the ServerConnection.
12762         * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
12763         (DebuggerDocument::platformPause):
12764         (DebuggerDocument::platformResume):
12765         (DebuggerDocument::platformStepInto):
12766         (DebuggerDocument::platformEvaluateScript):
12767         (DebuggerDocument::getPlatformCurrentFunctionStack):
12768         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12769         (DebuggerDocument::platformValueForScopeVariableNamed):
12770         (DebuggerDocument::platformLog): Log directly from here. No need to call
12771           DebuggerClient.
12772         * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
12773           way I see it, a ServerConnection should only know about its connection
12774           and the group of all possible servers should be kept by the
12775           application.
12776         * Drosera/mac/ServerConnection.mm: Removed knownServer but added
12777           currentServerName, it makes sense that the connection should know that
12778           name.
12779         (-[ServerConnection currentServerName]):
12781 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
12783         Reviewed by Adam.
12785         - Integrated changes from mac drosera.  Recently I've encapsulated
12786         out the server connection object from the rest of Drosera because
12787         it is very platform dependent right now and RPC is not implemented on
12788         windows.  This functionality, of communicating with the WebKit server
12789         is the next area I will be focusing on in Windows.
12791         - Other changes and cleanup were made to organize the code and add notes
12792         on which parts still need work.  Also some mac code is added and
12793         commented out, to act as pseudocode for the logic of those parts.
12795         * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
12796           pointer.
12797         * Drosera/config.h: Added whitespace.
12798         * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
12799           these files got moved into Drosera.h/cpp
12800         * Drosera/win/DebuggerApplication.h: Removed.
12801         * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
12802           happened here to better match the logic flow of the same code on the
12803           mac side and to use the new ServerConnection class.
12804         (DebuggerClient::DebuggerClient): Constructor that takes a server name.
12805         (DebuggerClient::initWithServerName): Initializer that will set up the
12806           class to use a ServerConnection object.  This was necessary so I could
12807           create a DebuggerClient without having to initilaize it at
12808           construction.
12809         (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
12810           will be the UIDelegate and FrameLoadDelegate.
12811         (DebuggerClient::AddRef): For IUnknown.
12812         (DebuggerClient::Release): For IUnknown.
12813         (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
12814           this still needs to set the global context of the server, but
12815           IWebFrame does not have an accessor for the global context yet.
12816         (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
12817           this is a pass through for the same function in the document.
12818         (DebuggerClient::didReceiveTitle): Unimplemented part of
12819           FrameLoadDelegate this would change the title of the window.
12820         (DebuggerClient::createWebViewWithRequest): Part of the
12821           FrameLoadDelegate.  This is about new windows via Window.open() and
12822           how their delegates are set.
12823         (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
12824           UIDelegate.  Just a debug function for printing messages.
12825         * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
12826           because the Client should be the UIDelegate and FrameLoadDelegate
12827           to match the delegates on mac.
12828         (DebuggerClient::webViewLoaded): Added accessor method.
12829         * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
12830           forgotten to add this file before.  This is where the platform
12831           dependent versions of the Documents functions live. Most of these are
12832           unimplemented because some piece of functionality does not exist on
12833           Windows yet.
12834         (DebuggerDocument::platformPause):
12835         (DebuggerDocument::platformResume):
12836         (DebuggerDocument::platformStepInto):
12837         (DebuggerDocument::platformEvaluateScript):
12838         (DebuggerDocument::getPlatformCurrentFunctionStack):
12839         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12840         (DebuggerDocument::platformValueForScopeVariableNamed):
12841         (DebuggerDocument::platformLog):
12842         * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
12843           responsibilities becaue they belong in the Client. Also I laid the
12844           groundwork for attaching Drosera to a WebKit process
12845         (attachWndProc): Now if a server is selected the Client becomes it's
12846           delegate.
12847         (Drosera::Drosera): Added the construction of the Client and dictionary
12848           of server names.
12849         (Drosera::initUI): This is no longer the delegates, the Client is.
12850         (Drosera::webViewLoaded): Now asks the Client instead of holding local
12851           state.
12852         (Drosera::applicationDidFinishLaunching): Placeholder for needed
12853           notification registration when it's possible to implement.
12854         (Drosera::serverLoaded): Ditto
12855         (Drosera::serverUnloaded): Ditto
12856         (Drosera::attach): Attach Drosera to the WebKit server.
12857         * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
12858         (Drosera::getInst):
12859         (Drosera::setInst):
12860         (Drosera::knownServers):
12861         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
12862           and added the ServerConnection.
12863         * Drosera/win/DroseraPrefix.h: Added an ifndef check.
12864         * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
12865           Most of the functions are completely unimlemented because they cannot
12866           connect with the WebKit server, because one does not exist on Windows
12867           yet.
12868         (ServerConnection::initWithServerName):
12869         (ServerConnection::~ServerConnection):
12870         (ServerConnection::setGlobalContext):
12871         (ServerConnection::pause):
12872         (ServerConnection::resume):
12873         (ServerConnection::stepInto):
12874         (ServerConnection::switchToServerNamed):
12875         (ServerConnection::applicationTerminating):
12876         (ServerConnection::serverConnectionDidDie):
12877         (ServerConnection::currentFrame):
12878         * Drosera/win/ServerConnection.h: Added. Ditto.
12879         (ServerConnection::ServerConnection):
12881 2007-10-19  Alice Liu  <alice.liu@apple.com>
12883         Reviewed by Darin Adler.
12885         Fix for these broken layout tests on Windows:
12887         fast/forms/focus-selection-input.html
12888         fast/forms/focus-selection-textarea.html
12889         fast/forms/select-accesskey.html
12891         * DumpRenderTree/win/EventSender.cpp:
12892         (keyDownCallback):
12893         correct the VK code for alt key.
12895 2007-10-19  Eric Seidel  <eric@webkit.org>
12897         Reviewed by Mark Rowe.
12899         Make the GtkLauncher code slightly more readable.
12901         * GtkLauncher/main.cpp:
12902         (setupMainMenu): Added.
12903         (setupMainWindowUI): Added.
12904         (main):
12906 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
12908         Rubber stamped by Adam.
12910         - don't delay-load WebKit in DumpRenderTree.
12912         * DumpRenderTree/win/DumpRenderTree.vcproj:
12914 2007-10-18  Dan Bernstein  <mitz@apple.com>
12916         Reviewed by Adam Roben.
12918         - fix <rdar://problem/5313523>
12919         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
12921         * DumpRenderTree/mac/DumpRenderTree.mm:
12922         (dump): Changed to use _responseMIMEType.
12924 2007-10-17  Adam Roben  <aroben@apple.com>
12926         Make it possible to have Windows-specific tests and results
12928         When searching for tests to run and the Skipped file, we will only
12929         look in platform/win and the cross-platform directory. When looking
12930         for expected results, we will look in platform/win, then
12931         platform/mac-leopard, then platform/mac, then finally the
12932         cross-platform directory.
12934         Reviewed by Sam.
12936         * Scripts/run-webkit-tests:
12937         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
12938         searching in the cross-platform directory.
12939         (sub buildPlatformHierarchy): Removed some unneeded calls to
12940         dirname/basename.
12942 2007-10-17  Adam Roben  <aroben@apple.com>
12944         Add back the call to register WebKit that we had before WebKitInitializer existed
12946         This is needed to ensure that the right WebKit is used when
12947         instantiating COM objects.
12949         Reviewed by Oliver.
12951         * DumpRenderTree/win/debug_internal.vsprops: Define
12952         DEBUG_WEBKIT_HAS_SUFFIX.
12953         * DumpRenderTree/win/DumpRenderTree.cpp:
12954         (initialize):
12956 2007-10-17  Adam Roben  <aroben@apple.com>
12958         Import File::Basename in webkitdirs since we use it
12960         * Scripts/webkitdirs.pm:
12962 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
12964         - Updated the tiger leaks list to make the internal bots green.
12966         * Scripts/run-webkit-tests:
12968 2007-10-17  Adam Roben  <aroben@apple.com>
12970         Build fix for VC++ Express
12972         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
12973         and ole32.lib.
12975 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
12977         Reviewed by Sam.
12979         - Minor mac improvements based on observations I made while implementing the
12980         Windows code.
12982         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
12983         then hand it to the Client who will retain it, it should just be the client who
12984         creates and owns the server.
12985         (-[DebuggerApplication attach:]):
12986         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
12987         * Drosera/mac/DebuggerClient.mm: Creates the server.
12988         (-[DebuggerClient initWithServerName:]):
12989         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
12990         can instead forward declare what it needs.
12992 2007-10-16  Darin Adler  <darin@apple.com>
12994         Reviewed by Geoff Garen.
12996         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
12997         want to turn failing tests into platform-specific test results. Also did a
12998         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
12999         would take the type of results into account only some of the time.
13001 2007-10-16  Adam Roben  <aroben@apple.com>
13003         Add a new nightly launcher script for Windows
13005         This new script is for versions of Safari that don't delay-load
13006         WebKit. I had to make FindSafari be able to print out the nightly
13007         launcher script on stdout because Windows shell scripts can't capture
13008         the output from a command into an environment variable.
13010         Reviewed by Steve.
13012         * FindSafari/FindSafari.cpp:
13013         (_tmain): Added /printSafariLauncher option.
13014         * Scripts/run-webkit-nightly.cmd: Added.
13016 2007-10-16  Adam Roben  <aroben@apple.com>
13018         Replace WebKitInitializer with FindSafari
13020         We now rely on setting the PATH environment variable to tell Windows
13021         where to find WebKit and its dependencies (similar to
13022         DYLD_FRAMEWORK_PATH on Mac).
13024         This change also make DumpRenderTree no longer delay-load WebKit.
13026         Reviewed by Sam.
13028         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
13029         FindSafari.
13030         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
13031         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
13032         WebKitInitializer, don't delay-load WebKit.
13033         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
13034         * Scripts/run-webkit-tests: Ditto.
13035         * Scripts/webkitdirs.pm:
13036         (sub setPathForRunningWebKitApp): Added.
13037         * WebKitInitializer/WebKitInitializer.cpp: Removed.
13038         * WebKitInitializer/WebKitInitializer.h: Removed.
13039         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
13040         * WebKitInitializer/debug.vsprops: Removed.
13041         * WebKitInitializer/debug_internal.vsprops: Removed.
13042         * WebKitInitializer/release.vsprops: Removed.
13044 2007-10-16  Adam Roben  <aroben@apple.com>
13046         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
13048         http://bugs.webkit.org/show_bug.cgi?id=15532
13050         FindSafari simply prints the location of an installed Safari.exe on
13051         stdout.
13053         Reviewed by Darin Adler.
13055         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
13056         (getStringValue):
13057         (getWebViewCLSID):
13058         (getInstalledWebKitDirectory):
13059         (_tmain):
13060         * FindSafari/FindSafari.vcproj: Added.
13061         * Scripts/webkitdirs.pm:
13062         (sub installedSafariPath): Added. Calls FindSafari on Windows.
13064 2007-10-16  Adam Roben  <aroben@apple.com>
13066         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
13068         Reviewed by Kevin McCullough.
13070         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
13071         when referring to WebKit.dll.
13072         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
13073         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
13074         * DumpRenderTree/win/release.vsprops: Ditto.
13075         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
13076         never have a _debug suffix on WebKit.dll.
13077         * WebKitInitializer/WebKitInitializer.cpp:
13078         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
13079         specified.
13080         * WebKitInitializer/debug_internal.vsprops: Added
13081         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
13083 2007-10-16  Darin Adler  <darin@apple.com>
13085         Reviewed by Adele.
13087         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
13088         Remove now-unneeded control/alt key hack; the tests have been updated.
13090 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
13092         - Updated leaks list because our internal bot upgraded it's version of leopard and
13093         one of the leaks was fixed between that revision and the bot's previous version of
13094         leopard.
13096         * Scripts/run-webkit-tests:
13098 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
13100         Reviewed by Tim.
13102         - I encapsulated out the server connecton functionality because it is a specific part
13103         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
13104         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
13105         Windows.  So the majority of this patch is moving preexisting functionality.
13107         - Also I removed the prefix header and changed to use config.h because it is more
13108         standard on how we use config.h in windows and it didn't make much sense to keep
13109         the prefix header and the config.h
13111         * Drosera/DebuggerDocument.cpp:
13112         (DebuggerDocument::DebuggerDocument):
13113         * Drosera/DebuggerDocument.h:
13114         * Drosera/config.h:
13115         * Drosera/mac/DebuggerApplication.mm:
13116         (-[DebuggerApplication attach:]):
13117         * Drosera/mac/DebuggerClient.h:
13118         * Drosera/mac/DebuggerClient.mm:
13119         (-[DebuggerClient initWithServerConnection:]):
13120         (-[DebuggerClient dealloc]):
13121         (-[DebuggerClient windowDidLoad]):
13122         (-[DebuggerClient windowWillClose:]):
13123         (-[DebuggerClient webView:didFinishLoadForFrame:]):
13124         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
13125         * Drosera/mac/DebuggerDocumentPlatform.mm:
13126         (DebuggerDocument::platformPause):
13127         (DebuggerDocument::platformResume):
13128         (DebuggerDocument::platformStepInto):
13129         (DebuggerDocument::platformEvaluateScript):
13130         (DebuggerDocument::getPlatformCurrentFunctionStack):
13131         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
13132         (DebuggerDocument::platformValueForScopeVariableNamed):
13133         (DebuggerDocument::platformLog):
13134         * Drosera/mac/Drosera.pch: Removed.
13135         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
13136         * Drosera/mac/ServerConnection.h: Added.
13137         * Drosera/mac/ServerConnection.mm: Added.
13138         (-[ServerConnection initWithServerName:]):
13139         (-[ServerConnection dealloc]):
13140         (-[ServerConnection setGlobalContext:]):
13141         (-[ServerConnection pause]):
13142         (-[ServerConnection resume]):
13143         (-[ServerConnection stepInto]):
13144         (-[ServerConnection switchToServerNamed:]):
13145         (-[ServerConnection applicationTerminating:]):
13146         (-[ServerConnection serverConnectionDidDie:]):
13147         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
13148         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
13149         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
13150         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
13151         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
13152         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
13153         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
13154         (-[ServerConnection currentFrame]):
13155         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
13156         (-[ServerConnection knownServers]):
13158 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
13160         Reviewed by Eric.
13162         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
13163           Script to automatically search nightly builds for regressions (bisect-builds)
13165         * Scripts/bisect-builds: Added.
13167 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
13169         Reviewed by Darin Adler.
13171         - New JavaScript benchmark
13172         http://bugs.webkit.org/show_bug.cgi?id=15515
13174         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
13175         current development or release build of JavaScriptCore.
13177 2007-10-15  Mark Rowe  <mrowe@apple.com>
13179         Reviewed by Sam.
13181         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
13183         * Scripts/webkitdirs.pm:
13184         - Change checkArgv to remove the options from @ARGV to prevent
13185         them from interfering with further option processing.
13186         - Fix logic error in determineIsQt that would prevent it from bailing out early.
13187         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
13188         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
13189         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
13191 2007-10-15  Darin Adler  <darin@apple.com>
13193         Reviewed by Sam.
13195         - added logging of window.prompt and window.confirm
13197         * DumpRenderTree/mac/UIDelegate.mm:
13198         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
13199         Implement the recommended delegate rather than the deprecated one.
13200         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
13201         Added.
13202         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
13203         Added.
13205         * DumpRenderTree/win/UIDelegate.h:
13206         * DumpRenderTree/win/UIDelegate.cpp:
13207         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
13208         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
13209         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
13210         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
13212 2007-10-15  Alice Liu  <alice.liu@apple.com>
13214         Reviewed by Sam Weinig.
13216         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
13218         * DumpRenderTree/win/DumpRenderTree.cpp:
13219         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
13220         (main): allocate the global policy delegate for DRT's custom use
13221         * DumpRenderTree/win/DumpRenderTree.vcproj:
13222         Adding files to project
13223         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
13224         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
13225         (LayoutTestController::setCustomPolicyDelegate):
13226         set the webview's policy delegate to DRT's custom one if the test requests it.
13227         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
13228         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
13229         (PolicyDelegate::PolicyDelegate):
13230         (PolicyDelegate::QueryInterface):
13231         (PolicyDelegate::AddRef):
13232         (PolicyDelegate::Release):
13233         (PolicyDelegate::decidePolicyForNavigationAction):
13234         * DumpRenderTree/win/PolicyDelegate.h: Added.
13235         (PolicyDelegate::decidePolicyForNewWindowAction):
13236         (PolicyDelegate::decidePolicyForMIMEType):
13237         (PolicyDelegate::unableToImplementPolicyWithError):
13239 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
13241         Reviewed by Mark.
13243         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
13244         when querying for QMAKE_MKSPECS.
13246 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
13248         Reviewed by Adam Roben.
13250         Fix run-webkit-tests is too greedy calculating platform hierarchy
13251         http://bugs.webkit.org/show_bug.cgi?id=15465
13253         Fix run-webkit-tests being too greedy in trying to split the platform name up
13254         causing it to try and find tests in every directory above the first "-" in the
13255         path to the LayoutTests
13257         * Scripts/run-webkit-tests:
13259 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
13261         Reviewed by Darin Adler.
13263         http://bugs.webkit.org/show_bug.cgi?id=15006
13264         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
13265         to reduce code duplication.
13267         * Scripts/build-webkit:
13268         * Scripts/webkitdirs.pm:
13269         buildQMakeProject() renamed to buildQMakeQtProject().
13270         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
13271         unused $colorize has been removed.
13273 === Start merge of feature-branch 2007-10-12 ===
13275 2007-10-08  Eric Seidel  <eric@webkit.org>
13277         Reviewed by Mark Rowe.
13279         * Scripts/build-webkit: add --help, remove unused --color
13281 2007-10-07  Eric Seidel  <eric@webkit.org>
13283         Reviewed by darin.
13285         * Drosera/mac/DebuggerDocumentPlatform.mm:
13286         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
13288 2007-10-03  Rob Buis  <buis@kde.org>
13290         Reviewed by Olliej.
13292         Adapt to changed location of Ahem font.
13294         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13296 2007-10-02  Eric Seidel  <eric@webkit.org>
13298         Reviewed by Adam Roben.
13300         Make pixel tests more useful!
13301         Finally fix the image diff 0.00% mystery problem
13302         Highlight any image differences in the image diff.
13303         Add a link from image diffs back to original test file.
13305         * DumpRenderTree/mac/ImageDiff.m:
13306         (compareImages): highlight any differences
13307         (computePercentageDifferent): round to two decimal places
13308         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
13310 2007-10-02  Eric Seidel  <eric@webkit.org>
13312         Reviewed by Alexey Proskuryakov.
13314         * Scripts/run-webkit-tests: print the % image difference on main results page
13316 2007-10-02  Mark Rowe  <mrowe@apple.com>
13318         Reviewed by Oliver.
13320         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
13322         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
13323         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
13325 2007-10-01  Mark Rowe  <mrowe@apple.com>
13327         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
13329 2007-09-25  Eric Seidel  <eric@webkit.org>
13331         Reviewed by Mark Rowe.
13333         DerivedSources.make was finding "ENABLE_SVG" in the string
13334         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
13335         quite correctly.
13337         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
13339 2007-09-25  Mark Rowe  <mrowe@apple.com>
13341         Rubber-stamped by Eric.
13343         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
13344         This makes it possible to automate nightly builds for the feature-branch.
13346 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
13348         Rubber stamped by Mark.
13350         Enable svg experimental features as default here in feature-branch.
13352         * Scripts/build-webkit:
13354 2007-06-29  Antti Koivisto  <antti@apple.com>
13356         Reviewed by Weinig.
13358         Add VIDEO flag for timed media features
13360         * Scripts/build-webkit
13362 === End merge of feature-branch 2007-10-12 ===
13364 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
13366         Reviewed by Darin Adler.
13368         - Updated rational for the leaks list to be more clear.
13370         * Scripts/run-webkit-tests:
13372 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
13374         Rubber Stamp by Sam.
13376         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
13377         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
13379         * Scripts/run-webkit-tests:
13381 2007-10-10  Simon Hausmann  <hausmann@kde.org>
13383         Reviewed by Lars.
13385         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
13386         includes are needed for INT_MAX, std::auto_ptr and the like.
13388         * DumpRenderTree/qt/main.cpp:
13390 2007-10-09  Lars Knoll  <lars@trolltech.com>
13392         Reviewed by Simon.
13394         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
13396         * DumpRenderTree/qt/jsobjects.cpp:
13397         (LayoutTestController::encodeHostName):
13398         (LayoutTestController::decodeHostName):
13399         * DumpRenderTree/qt/jsobjects.h:
13401 2007-10-09  Lars Knoll  <lars@trolltech.com>
13403         Reviewed by Simon.
13405         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.
13407         * DumpRenderTree/qt/DumpRenderTree.cpp:
13408         (WebCore::WebPage::createFrame):
13409         (WebCore::DumpRenderTree::DumpRenderTree):
13410         (WebCore::DumpRenderTree::titleChanged):
13411         * DumpRenderTree/qt/DumpRenderTree.h:
13412         * DumpRenderTree/qt/jsobjects.cpp:
13413         (LayoutTestController::reset):
13414         * DumpRenderTree/qt/jsobjects.h:
13416 2007-10-09  Lars Knoll  <lars@trolltech.com>
13418         Reviewed by Simon.
13420         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
13422         * DumpRenderTree/qt/DumpRenderTree.h:
13423         * DumpRenderTree/qt/jsobjects.cpp:
13424         (LayoutTestController::clearBackForwardList):
13425         * DumpRenderTree/qt/jsobjects.h:
13427 2007-10-09  Lars Knoll  <lars@trolltech.com>
13429         Reviewed by Simon.
13431         make --git-reviewer work again.
13433         * Scripts/prepare-ChangeLog:
13435 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
13437         Rubber stamped by Eric.
13439         Connect to the "hovering-over-link" signal emitted by WebKitPage and
13440         show the current link inside the statusbar.
13441         This shows how to make use of this signal and allows to easily test
13442         http://bugs.webkit.org/show_bug.cgi?id=15299.
13444         * GtkLauncher/main.cpp:
13445         (hoveringOverLink):
13446         (main):
13448 2007-10-05  Lars Knoll  <lars@trolltech.com>
13450         add proper error messages to the FrameLoaderClient.
13451         Implement ChromeClientQt::closeWindowSoon and
13452         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
13453         Some fixes in DRT to make it work correctly with multiple windows.
13455         Reviewed by Maciej.
13457         * DumpRenderTree/qt/DumpRenderTree.cpp:
13458         (WebCore::DumpRenderTree::DumpRenderTree):
13459         (WebCore::DumpRenderTree::createWindow):
13460         (WebCore::DumpRenderTree::windowCount):
13461         * DumpRenderTree/qt/DumpRenderTree.h:
13462         * DumpRenderTree/qt/jsobjects.cpp:
13463         (LayoutTestController::maybeDump):
13464         (LayoutTestController::windowCount):
13465         * DumpRenderTree/qt/jsobjects.h:
13467 2007-10-05  Lars Knoll  <lars@trolltech.com>
13469         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
13470         Add support for layoutTextController.setCanOpenWindows() to DRT
13471         fixing another 2 test cases in fast/dom/Window.
13473         Reviewed by Maciej.
13475         * DumpRenderTree/qt/DumpRenderTree.cpp:
13476         (WebCore::WebPage::WebPage):
13477         (WebCore::WebPage::createWindow):
13478         (WebCore::DumpRenderTree::resetJSObjects):
13479         (WebCore::DumpRenderTree::createWindow):
13480         * DumpRenderTree/qt/DumpRenderTree.h:
13481         * DumpRenderTree/qt/DumpRenderTree.pro:
13482         * DumpRenderTree/qt/jsobjects.cpp:
13483         (LayoutTestController::LayoutTestController):
13484         (LayoutTestController::reset):
13485         * DumpRenderTree/qt/jsobjects.h:
13486         * DumpRenderTree/qt/main.cpp:
13487         * DumpRenderTree/qt/testplugin.cpp: Added.
13488         * DumpRenderTree/qt/testplugin.h: Added.
13490 2007-10-04  Sam Weinig  <sam@webkit.org>
13492         Rubber stamped by Adam.
13494         Remove empty directories.
13496         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
13497         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
13499 2007-10-03  Darin Adler  <darin@apple.com>
13501         Reviewed by Adam.
13503         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
13504         we find the internal libraries in the libraries directory. This
13505         is helpful for Safari team engineers at Apple.
13507 2007-10-03  Adam Roben  <aroben@apple.com>
13509         Update the location of AHEM___.TTF after r25968
13511         Reviewed by Sam.
13513         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13515 2007-10-03  Alp Toker  <alp@atoker.com>
13517         Reviewed by Adam.
13519         http://bugs.webkit.org/show_bug.cgi?id=14726
13520         [gtk] API design. Mapping the WebView delegates to signals.
13522         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
13524         * GtkLauncher/main.cpp:
13525         (goToURLBarText):
13526         (titleChanged):
13527         (progressChanged):
13528         (menuMainBackCallback):
13529         (menuMainForwardCallback):
13530         (main):
13532 2007-10-03  Lars Knoll  <lars@trolltech.com>
13534         Reviewed by Rob.
13536         This fixes --strict mode in run-webkit-tests again after
13537         the platform dependent test results have been moved.
13539         * Scripts/run-webkit-tests:
13541 2007-10-03  Lars Knoll  <lars@trolltech.com>
13543         Reviewed by bdash.
13545         remove the hack in run-webkit-tests that forced text only test
13546         to be taken from the platform independent dir. It was only left
13547         there from early days.
13549         Remove platform dependent results for tests that are text only nowadays,
13550         and add one platform dependent result for a text only test that requires it.
13552         * Scripts/run-webkit-tests:
13554 2007-10-03  Lars Knoll  <lars@trolltech.com>
13556         Reviewed by olliej.
13558         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
13560         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
13561         (WebCore::WebFrame::WebFrame):
13562         (WebCore::WebPage::WebPage):
13563         (WebCore::WebPage::createFrame):
13564         (WebCore::WebPage::javaScriptAlert):
13565         (WebCore::WebPage::javaScriptConsoleMessage):
13566         (WebCore::DumpRenderTree::DumpRenderTree):
13567         (WebCore::DumpRenderTree::~DumpRenderTree):
13568         (WebCore::DumpRenderTree::open):
13569         (WebCore::DumpRenderTree::readStdin):
13570         (WebCore::DumpRenderTree::resetJSObjects):
13571         (WebCore::DumpRenderTree::initJSObjects):
13572         (WebCore::DumpRenderTree::dumpFramesAsText):
13573         (WebCore::DumpRenderTree::dump):
13574         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
13575         (WebCore::DumpRenderTree::layoutTestController):
13576         (WebCore::DumpRenderTree::eventSender):
13577         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
13578         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
13579         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
13580         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
13581         (HackWebFrame::mousePressEvent):
13582         (HackWebFrame::mouseReleaseEvent):
13583         (HackWebFrame::mouseMoveEvent):
13584         (HackWebFrame::HackWebFrame):
13585         (HackWebFrame::~HackWebFrame):
13586         (LayoutTestController::LayoutTestController):
13587         (LayoutTestController::reset):
13588         (LayoutTestController::maybeDump):
13589         (LayoutTestController::waitUntilDone):
13590         (LayoutTestController::notifyDone):
13591         (LayoutTestController::dumpEditingCallbacks):
13592         (LayoutTestController::queueReload):
13593         (LayoutTestController::provisionalLoad):
13594         (LayoutTestController::timerEvent):
13595         (EventSender::EventSender):
13596         (EventSender::mouseDown):
13597         (EventSender::mouseUp):
13598         (EventSender::mouseMoveTo):
13599         (EventSender::leapForward):
13600         (EventSender::keyDown):
13601         (EventSender::frameUnderMouse):
13602         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
13603         (LayoutTestController::isLoading):
13604         (LayoutTestController::setLoading):
13605         (LayoutTestController::shouldDumpAsText):
13606         (LayoutTestController::shouldDumpChildrenAsText):
13607         (LayoutTestController::shouldWaitUntilDone):
13608         (LayoutTestController::dumpAsText):
13609         (LayoutTestController::dumpChildFramesAsText):
13610         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
13611         (messageHandler):
13612         (crashHandler):
13613         (main):
13614         * Scripts/run-webkit-tests:
13616 2007-10-03  Mark Rowe  <mrowe@apple.com>
13618         Reviewed by Alp Toker.
13620         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
13621         should take precedence over QTDIR when determining which port we are working with.
13623         * Scripts/webkitdirs.pm:
13625 2007-10-02  Adam Roben  <aroben@apple.com>
13627         Add keychain to the list of default packages to install
13629         Rubberstamped by Sam.
13631         * CygwinDownloader/cygwin-downloader.py:
13632         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
13634 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
13636         Reviewed by Adam.
13638         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
13639         Also makes WebCore regression test case logic work when using git.
13641         * Scripts/prepare-ChangeLog:
13642         (reviewerAndDescriptionForGitCommit): Added.
13644 2007-10-02  Lars Knoll  <lars@trolltech.com>
13646         Reviewed by bdash.
13648         Add API to retrieve the frame name from QWebFrame.
13649         Implement support for DRT::dumpChildrenAsText.
13651         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13652         (WebCore::DumpRenderTree::dumpFramesAsText):
13653         (WebCore::DumpRenderTree::dump):
13654         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13655         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13656         (LayoutTestController::LayoutTestController):
13657         (LayoutTestController::reset):
13658         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
13660 2007-10-02  Lars Knoll  <lars@trolltech.com>
13662         Reviewed by bdash.
13664         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
13666         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13667         (WebCore::DumpRenderTree::readStdin):
13669 2007-10-02  Mark Rowe  <mrowe@apple.com>
13671         Reviewed by Oliver.
13673         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
13675         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
13676         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
13678 2007-10-02  Mark Rowe  <mrowe@apple.com>
13680         Rubber-stamped by Maciej.
13682         Configuration changes from build.webkit.org.  The major change is refactoring to work
13683         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
13684         last few weeks.
13686         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
13687         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
13688         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
13689         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
13690         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
13691         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
13692         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
13693         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
13695 2007-10-02  Lars Knoll  <lars@trolltech.com>
13697         Reviewed by Maciej.
13699         Add support for eventSender.mouseMove to DRT.
13700         Fixes fast/css/hover-affects-child.html
13702         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13703         (EventSender::mouseMoveTo):
13705 2007-10-01  Mark Rowe  <mrowe@apple.com>
13707         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
13709 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
13711         Reviewed by Hyatt.
13713         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
13715         * Scripts/svn-apply:
13716         (gitdiff2svndiff): Ignore lines beginning with "new file".
13717         * Scripts/svn-unapply:
13718         (gitdiff2svndiff): Ditto.
13720 2007-09-30  George Staikos  <staikos@kde.org>
13722         Qt build fix (Mac OS X specific)
13724         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
13726 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
13728         Reviewed by Mark.
13730         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
13731         Remove Bakefiles from svn.
13733         * GtkLauncher/Bakefiles.bkgen: Removed.
13734         * GtkLauncher/ENV: Removed.
13735         * GtkLauncher/gdklauncher.bkl: Removed.
13736         * GtkLauncher/mk: Removed.
13737         * Scripts/regenerate-makefiles: Removed.
13739 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
13741         Reviewed by John.
13743         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
13745         * Scripts/run-webkit-tests:
13747 2007-09-26  Adam Roben  <aroben@apple.com>
13749         Make not finding an installed WebKit non-fatal
13751         What really matters is that we are able to load WebKit and its
13752         dependencies, not whether we think we've found an installed WebKit.
13754         Reviewed by Sam.
13756         * WebKitInitializer/WebKitInitializer.cpp:
13757         (getWebViewCLSID): Use new LOG_WARNING macro.
13758         (getInstalledWebKitDirectory): Ditto.
13759         (initializeWebKit): Don't die if we didn't find an installed WebKit,
13760         and use new macros.
13761         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
13763 2007-09-26  Adam Roben  <aroben@apple.com>
13765         Committed this file before saving it
13767         * WebKitInitializer/debug_internal.vsprops:
13769 2007-09-26  Adam Roben  <aroben@apple.com>
13771         Load WebKit and its dependencies manually so they come from DllDirectory
13773         I had to change WebKitInitializer to use malloc/free instead of
13774         new/delete to avoid pulling in WebKit (and its dependencies) early
13775         through use of fastMalloc.
13777         Reviewed by Oliver.
13779         * WebKitInitializer/WebKitInitializer.cpp:
13780         (getStringValue): Changed to use malloc/free.
13781         (getInstalledWebKitDirectory): Ditto.
13782         (initializeWebKit): Call SetDllDirectory first, then load all of
13783         WebKit's dependencies manually, finally followed by WebKit itself.
13784         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
13785         configuration to match our other projects.
13786         * WebKitInitializer/debug_internal.vsprops: Added.
13788 2007-09-25  Adam Roben  <aroben@apple.com>
13790         Actually define DEBUG/NDEBUG so that we load WebKit correctly
13792         Rubberstamped by Sam.
13794         * WebKitInitializer/WebKitInitializer.vcproj:
13796 2007-09-25  Adam Roben  <aroben@apple.com>
13798         Make DumpRenderTree delay-load its dependencies
13800         This lets WebKitInitializer re-route the dependencies to be loaded out
13801         of the Safari installation directory.
13803         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
13804         same thing), since we can't import the kCFAllocatorDefault symbol when
13805         delay-loading CoreFoundation.dll.
13807         Rubberstamped by Sam.
13809         * DumpRenderTree/win/DumpRenderTree.cpp:
13810         (runTest):
13811         (javaScriptThreads):
13812         * DumpRenderTree/win/DumpRenderTree.vcproj:
13813         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
13814         (LayoutTestController::setWaitToDump):
13816 2007-09-25  Adam Roben  <aroben@apple.com>
13818         Pull ole32.lib into WebKitInitializer
13820         Rubberstamped by Sam.
13822         * WebKitInitializer/WebKitInitializer.vcproj:
13824 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
13826         Reviewed by Adam.
13828         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
13829           LGPL'ed files contain incorrect FSF address
13831         * Drosera/config.h:
13833 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
13835         Reviewed by Adam.
13837         Make svn-apply and svn-unapply work with git-diff formatted patches.
13839         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
13840         (gitdiff2svndiff): Added.
13841         * Scripts/svn-unapply: Ditto.
13842         (gitdiff2svndiff): Added.
13844 2007-09-25  Adam Roben  <aroben@apple.com>
13846         Pull advapi32.lib into WebKitInitializer
13848         This is needed to get the registry functions we use.
13850         Rubberstamped by Sam.
13852         * WebKitInitializer/WebKitInitializer.vcproj:
13854 2007-09-25  Adam Roben  <aroben@apple.com>
13856         Add python and rsync to cygwin-downloader
13858         Our build slaves need this, and it can't hurt for everyone else to
13859         have it, too.
13861         Reviewed by Sam.
13863         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
13864         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
13866 2007-09-25  Adam Roben  <aroben@apple.com>
13868         Add WebKitInitializer and use it in DumpRenderTree
13870         WebKitInitializer is a static library that has one function,
13871         initializeWebKit(). This registers WebKit and sets up the DLL search
13872         path so that WebKit's dependencies that are installed with Safari can
13873         be found.
13875         Reviewed by Sam.
13877         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
13878         DumpRenderTree depend on it.
13879         * DumpRenderTree/win/DumpRenderTree.cpp:
13880         (initialize): Call initializeWebKit.
13881         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
13882         WebKitInitializer.lib.
13883         * WebKitInitializer/WebKitInitializer.cpp: Added.
13884         (getStringValue):
13885         (getWebViewCLSID):
13886         (getInstalledWebKitDirectory):
13887         (initializeWebKit):
13888         * WebKitInitializer/WebKitInitializer.h: Added.
13889         * WebKitInitializer/WebKitInitializer.vcproj: Added.
13890         * WebKitInitializer/debug.vsprops: Added.
13891         * WebKitInitializer/release.vsprops: Added.
13893 2007-09-25  Adam Roben  <aroben@apple.com>
13895         Make run-webkit-tests respect set-webkit-configuration
13897         Reviewed by Sam.
13899         * Scripts/run-webkit-tests: Initialize $configuration to whatever
13900         set-webkit-configuration was last set to.
13902 2007-09-25  Mark Rowe  <mrowe@apple.com>
13904         Rubber-stamped by Eric.
13906         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
13907         This makes it possible to automate nightly builds for the feature-branch.
13909 2007-09-25  Adam Roben  <aroben@apple.com>
13911         A couple of fixes/enhancements to update-webkit-*-libs
13913         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
13914         to tell update-webkit-support-libraries where it should find the
13915         WebKitSupportLibrary.zip file you downloaded.
13917         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
13918         Windows-style path.
13920         Reviewed by Sam.
13922         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
13923         to $auxiliaryLibsURL and removed an irrelevant comment.
13924         * Scripts/update-webkit-support-libs:
13926 2007-09-25  Adam Treat  <treat@kde.org>
13928         Reviewed by Simon and Lars.
13930         Refactors and cleans up Qt DRT member variable names, member variable
13931         initialization, style fixes and general code cleanup.
13933         Adds queueReload slot to LayoutTestController that some tests require.
13935         Subclasses QWebFrame to make sure that all frames have an associated
13936         LayoutTestController JS window object.
13938         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
13939         aren't dumped twice.
13941         EOF fixes.
13943         Together, this patch fixes some 20+ layout tests in QtWebKit.
13945         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13946         (WebCore::WebFrame::WebFrame):
13947         (WebCore::WebPage::WebPage):
13948         (WebCore::WebPage::createFrame):
13949         (WebCore::DumpRenderTree::DumpRenderTree):
13950         (WebCore::DumpRenderTree::open):
13951         (WebCore::DumpRenderTree::readStdin):
13952         (WebCore::DumpRenderTree::initJSObjects):
13953         (WebCore::DumpRenderTree::dump):
13954         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13955         (WebCore::DumpRenderTree::layoutTestController):
13956         (WebCore::DumpRenderTree::eventSender):
13957         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13958         (LayoutTestController::LayoutTestController):
13959         (LayoutTestController::reset):
13960         (LayoutTestController::maybeDump):
13961         (LayoutTestController::waitUntilDone):
13962         (LayoutTestController::notifyDone):
13963         (LayoutTestController::queueReload):
13964         (LayoutTestController::provisionalLoad):
13965         (EventSender::EventSender):
13966         (EventSender::mouseDown):
13967         (EventSender::mouseUp):
13968         (EventSender::mouseMoveTo):
13969         (EventSender::frameUnderMouse):
13970         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
13971         (LayoutTestController::isLoading):
13972         (LayoutTestController::setLoading):
13973         (LayoutTestController::dumpAsText):
13974         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13975         (main):
13977 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
13980         - Reverted an accidentally checked in file.
13982         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
13984 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
13985         Reviewed by Sam.
13987         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
13989         * DumpRenderTree/win/DumpRenderTree.vcproj:
13990         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
13992 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
13994         Rubber stamped by Adam.
13996         * GdkLauncher: Removed.
13997         * GdkLauncher/Bakefiles.bkgen: Removed.
13998         * GdkLauncher/ENV: Removed.
13999         * GdkLauncher/GdkLauncher.pro: Removed.
14000         * GdkLauncher/gdklauncher.bkl: Removed.
14001         * GdkLauncher/main.cpp: Removed.
14002         * GdkLauncher/mk: Removed.
14003         * GdkLauncher/simple.svg: Removed.
14004         * GdkLauncher/text.html: Removed.
14005         * GtkLauncher: Added.
14006         * GtkLauncher/GdkLauncher.pro: Removed.
14007         * GtkLauncher/GtkLauncher.pro: Added.
14008         * GtkLauncher/main.cpp:
14009         (updateWindowTitle):
14010         (main):
14011         * Scripts/build-webkit:
14012         * Scripts/regenerate-makefiles:
14013         * Scripts/run-javascriptcore-tests:
14014         * Scripts/run-launcher:
14015         * Scripts/run-webkit-tests:
14016         * Scripts/webkitdirs.pm:
14018 2007-09-21  Timothy Hatcher  <timothy@apple.com>
14020         Reviewed by Darin Adler.
14022         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
14024         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
14025         This is tested by plugins/root-object-premature-delete-crash.html.
14027         * DumpRenderTree/mac/ObjCController.m:
14028         (-[ObjCController accessStoredWebScriptObject]):
14030 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
14032         Reviewed by Oliver.
14034         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
14036         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
14037         (FrameLoadDelegate::FrameLoadDelegate):
14039 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
14041         Reviewed by Adam.
14043         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
14044         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
14046         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
14047         Now isQt() and isGdk() use global variables that are only set once.
14049         An array of all the parameters is now given to build-dumprender which includes
14050         the platform on linux.
14052         * Scripts/build-dumprendertree:
14053         * Scripts/run-webkit-tests:
14054         * Scripts/webkitdirs.pm:
14056 2007-09-19  Adam Roben  <aroben@apple.com>
14058         Rubberstamped by Hyatt.
14060         * Spinneret: Removed.
14062 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
14064         Reviewed by David Kilzer.
14066         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
14068 2007-09-18  Sam Weinig  <sam@webkit.org>
14070         Add JSRetainPtr.h #include to fix some builds.
14072         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
14074 2007-09-18  Mike Hommey  <glandium@debian.org>
14076         Reviewed by Adam.
14078         * Scripts/prepare-ChangeLog:
14079         - Properly parse GECOS field.
14080         - Use git configuration for user name and email when appropriate.
14082 2007-09-17  Sam Weinig  <sam@webkit.org>
14084         Build fix.
14086         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14088 2007-09-17  Sam Weinig  <sam@webkit.org>
14090         Reviewed by Adam Roben.
14092         Share more code between mac and windows DRT.
14093             - GCController is now shared.
14094             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
14096         * DumpRenderTree/GCController.cpp:
14097         * DumpRenderTree/win/DumpRenderTree.cpp:
14098         * DumpRenderTree/win/DumpRenderTree.vcproj:
14099         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
14100         (FrameLoadDelegate::FrameLoadDelegate):
14101         (FrameLoadDelegate::~FrameLoadDelegate):
14102         (FrameLoadDelegate::windowScriptObjectAvailable):
14103         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
14104         * DumpRenderTree/win/GCController.cpp: Removed.
14105         * DumpRenderTree/win/GCController.h: Removed.
14106         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
14107         (GCController::collect):
14108         (GCController::collectOnAlternateThread):
14109         (GCController::getJSObjectCount):
14110         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
14111         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
14113 2007-09-17  Sam Weinig  <sam@webkit.org>
14115         Reviewed by Adam Roben.
14117         Begin sharing code between mac and windows DRT.
14118             - both now share LayoutTestController.h/cpp and implement platform dependant
14119               operations in LayoutTestControllerMac/Win.
14120             - DumpRenderTree.h is now shared.
14121             - WorkQueue and WorkQueueItem are also shared.
14123         * DumpRenderTree/DumpRenderTree.h:
14124         * DumpRenderTree/LayoutTestController.cpp:
14125         * DumpRenderTree/win/DumpRenderTree.cpp:
14126         (displayWebView):
14127         (dumpFrameScrollPosition):
14128         (dumpFramesAsText):
14129         (dump):
14130         (runTest):
14131         * DumpRenderTree/win/DumpRenderTree.h: Removed.
14132         * DumpRenderTree/win/DumpRenderTree.vcproj:
14133         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
14134         * DumpRenderTree/win/EditingDelegate.cpp:
14135         (EditingDelegate::shouldBeginEditingInDOMRange):
14136         (EditingDelegate::shouldEndEditingInDOMRange):
14137         (EditingDelegate::shouldInsertNode):
14138         (EditingDelegate::shouldInsertText):
14139         (EditingDelegate::shouldDeleteDOMRange):
14140         (EditingDelegate::shouldChangeSelectedDOMRange):
14141         (EditingDelegate::shouldApplyStyle):
14142         (EditingDelegate::shouldChangeTypingStyle):
14143         (EditingDelegate::doPlatformCommand):
14144         (EditingDelegate::webViewDidBeginEditing):
14145         (EditingDelegate::webViewDidChange):
14146         (EditingDelegate::webViewDidEndEditing):
14147         (EditingDelegate::webViewDidChangeTypingStyle):
14148         (EditingDelegate::webViewDidChangeSelection):
14149         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
14150         * DumpRenderTree/win/LayoutTestController.h: Removed.
14151         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
14152         (LayoutTestController::addDisallowedURL):
14153         (LayoutTestController::clearBackForwardList):
14154         (LayoutTestController::copyDecodedHostName):
14155         (LayoutTestController::copyEncodedHostName):
14156         (LayoutTestController::display):
14157         (LayoutTestController::keepWebHistory):
14158         (LayoutTestController::notifyDone):
14159         (LayoutTestController::queueBackNavigation):
14160         (LayoutTestController::queueForwardNavigation):
14161         (jsStringRefToWString):
14162         (LayoutTestController::queueLoad):
14163         (LayoutTestController::queueReload):
14164         (LayoutTestController::queueScript):
14165         (LayoutTestController::setAcceptsEditing):
14166         (LayoutTestController::setCustomPolicyDelegate):
14167         (LayoutTestController::setMainFrameIsFirstResponder):
14168         (LayoutTestController::setTabKeyCyclesThroughElements):
14169         (LayoutTestController::setUseDashboardCompatibilityMode):
14170         (LayoutTestController::setUserStyleSheetEnabled):
14171         (LayoutTestController::setUserStyleSheetLocation):
14172         (LayoutTestController::setWindowIsKey):
14173         (waitUntilDoneWatchdogFired):
14174         (LayoutTestController::setWaitToDump):
14175         (LayoutTestController::windowCount):
14176         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
14177         (FrameLoadDelegate::didReceiveTitle):
14178         (FrameLoadDelegate::processWork):
14179         (FrameLoadDelegate::locationChangeDone):
14180         (FrameLoadDelegate::windowScriptObjectAvailable):
14181         * DumpRenderTree/win/WorkQueue.cpp: Removed.
14182         * DumpRenderTree/win/WorkQueue.h: Removed.
14183         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
14184         * DumpRenderTree/win/WorkQueueItem.h: Removed.
14185         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
14186         (jsStringRefToWString):
14187         (LoadItem::invoke):
14188         (ScriptItem::invoke):
14190 2007-09-17  Sam Weinig  <sam@webkit.org>
14192         Reviewed by Adam Roben.
14194         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
14196         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
14197         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
14198         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
14199         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
14200         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
14201         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
14202         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
14203         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
14204         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
14205         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
14206         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
14207         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
14208         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
14209         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
14210         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
14211         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
14212         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
14213         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
14214         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
14215         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
14216         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
14217         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
14218         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
14219         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
14220         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
14221         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
14222         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
14223         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
14224         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
14225         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
14226         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
14227         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
14228         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
14229         * DumpRenderTree/win: Added.
14230         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
14231         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
14232         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
14233         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
14234         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
14235         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
14236         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
14237         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
14238         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
14239         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
14240         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
14241         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
14242         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
14243         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
14244         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
14245         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
14246         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
14247         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
14248         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
14249         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
14250         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
14251         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
14252         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
14253         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
14254         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
14255         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
14257 2007-09-15  Mark Rowe  <mrowe@apple.com>
14259         Build fix for DumpRenderTree.
14261         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
14263 2007-09-14  Sam Weinig  <sam@webkit.org>
14265         Rubber stamped by Adam Roben.
14267         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
14268           - The UIDelegate was put into a new file while the FrameLoadDelegate was
14269             kept in the WaitUntilDoneDelegate file for the time being.
14271         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
14272         (main):
14273         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
14274         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
14275         (UIDelegate::QueryInterface):
14276         (UIDelegate::AddRef):
14277         (UIDelegate::Release):
14278         (UIDelegate::hasCustomMenuImplementation):
14279         (UIDelegate::setFrame):
14280         (UIDelegate::webViewFrame):
14281         (UIDelegate::runJavaScriptAlertPanelWithMessage):
14282         (UIDelegate::webViewAddMessageToConsole):
14283         (UIDelegate::doDragDrop):
14284         (UIDelegate::webViewGetDlgCode):
14285         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
14286         (UIDelegate::UIDelegate):
14287         (UIDelegate::createWebViewWithRequest):
14288         (UIDelegate::webViewShow):
14289         (UIDelegate::webViewClose):
14290         (UIDelegate::webViewFocus):
14291         (UIDelegate::webViewUnfocus):
14292         (UIDelegate::webViewFirstResponder):
14293         (UIDelegate::makeFirstResponder):
14294         (UIDelegate::setStatusText):
14295         (UIDelegate::webViewStatusText):
14296         (UIDelegate::webViewAreToolbarsVisible):
14297         (UIDelegate::setToolbarsVisible):
14298         (UIDelegate::webViewIsStatusBarVisible):
14299         (UIDelegate::setStatusBarVisible):
14300         (UIDelegate::webViewIsResizable):
14301         (UIDelegate::setResizable):
14302         (UIDelegate::setContentRect):
14303         (UIDelegate::webViewContentRect):
14304         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
14305         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
14306         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
14307         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
14308         (UIDelegate::mouseDidMoveOverElement):
14309         (UIDelegate::contextMenuItemsForElement):
14310         (UIDelegate::validateUserInterfaceItem):
14311         (UIDelegate::shouldPerformAction):
14312         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
14313         (UIDelegate::willPerformDragDestinationAction):
14314         (UIDelegate::dragSourceActionMaskForPoint):
14315         (UIDelegate::willPerformDragSourceAction):
14316         (UIDelegate::contextMenuItemSelected):
14317         (UIDelegate::trackCustomPopupMenu):
14318         (UIDelegate::measureCustomMenuItem):
14319         (UIDelegate::drawCustomMenuItem):
14320         (UIDelegate::addCustomMenuDrawingData):
14321         (UIDelegate::cleanUpCustomMenuDrawingData):
14322         (UIDelegate::canTakeFocus):
14323         (UIDelegate::takeFocus):
14324         (UIDelegate::registerUndoWithTarget):
14325         (UIDelegate::removeAllActionsWithTarget):
14326         (UIDelegate::setActionTitle):
14327         (UIDelegate::undo):
14328         (UIDelegate::redo):
14329         (UIDelegate::canUndo):
14330         (UIDelegate::canRedo):
14331         (UIDelegate::webViewResizerRect):
14332         (UIDelegate::webViewDrawResizer):
14333         (UIDelegate::webViewScrolled):
14334         (UIDelegate::webViewShouldInterruptJavaScript):
14335         (UIDelegate::webViewReceivedFocus):
14336         (UIDelegate::webViewLostFocus):
14337         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
14338         (FrameLoadDelegate::QueryInterface):
14339         (FrameLoadDelegate::AddRef):
14340         (FrameLoadDelegate::Release):
14341         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
14342         (FrameLoadDelegate::didCommitLoadForFrame):
14343         (FrameLoadDelegate::didReceiveTitle):
14344         (FrameLoadDelegate::processWork):
14345         (processWorkTimer):
14346         (FrameLoadDelegate::locationChangeDone):
14347         (FrameLoadDelegate::didFinishLoadForFrame):
14348         (FrameLoadDelegate::didFailLoadWithError):
14349         (FrameLoadDelegate::windowScriptObjectAvailable):
14350         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
14351         (FrameLoadDelegate::FrameLoadDelegate):
14353 2007-09-14  Sam Weinig  <sam@webkit.org>
14355         Reviewed by Kevin McCullough.
14357         Move mac specific globals in to mac/DumpRenderTreeMac.h
14359         * DumpRenderTree/DumpRenderTree.h:
14360         * DumpRenderTree/DumpRenderTree.mm: Removed.
14361         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14362         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
14363         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
14365 2007-09-14  Brady Eidson  <beidson@apple.com>
14367         Rubberstamped by Weinig
14369         You know, Sam, some of us use case-sensitve filesystems...
14371         * DumpRenderTree/DumpRenderTree.h:
14372         * DumpRenderTree/mac/UIDelegate.mm:
14374 2007-09-14  Sam Weinig  <sam@webkit.org>
14376         Rubber stamped by Adam Roben.
14378         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
14379         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
14381         * DumpRenderTree/AppleScriptController.h: Removed.
14382         * DumpRenderTree/AppleScriptController.m: Removed.
14383         * DumpRenderTree/DumpRenderTree.h:
14384         * DumpRenderTree/DumpRenderTree.mm:
14385         (startJavaScriptThreads):
14386         (stopJavaScriptThreads):
14387         (activateAhemFont):
14388         (setDefaultColorProfileToRGB):
14389         (makeLargeMallocFailSilently):
14390         (dumpFrameScrollPosition):
14391         (dumpFramesAsText):
14392         (dump):
14393         (runTest):
14394         (-[DumpRenderTreeWindow isKeyWindow]):
14395         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14396         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
14397         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
14398         * DumpRenderTree/EditingDelegate.h: Removed.
14399         * DumpRenderTree/EditingDelegate.m: Removed.
14400         * DumpRenderTree/EventSendingController.h: Removed.
14401         * DumpRenderTree/EventSendingController.m: Removed.
14402         * DumpRenderTree/FrameLoadDelegate.h: Removed.
14403         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
14404         * DumpRenderTree/GCController.mm: Removed.
14405         * DumpRenderTree/ImageDiff.m: Removed.
14406         * DumpRenderTree/LayoutTestController.cpp:
14407         (LayoutTestController::LayoutTestController):
14408         (dumpAsTextCallback):
14409         (dumpBackForwardListCallback):
14410         (dumpChildFramesAsTextCallback):
14411         (dumpChildFrameScrollPositionsCallback):
14412         (dumpDOMAsWebArchiveCallback):
14413         (dumpEditingCallbacksCallback):
14414         (dumpFrameLoadCallbacksCallback):
14415         (dumpResourceLoadCallbacksCallback):
14416         (dumpSelectionRectCallback):
14417         (dumpSourceAsWebArchiveCallback):
14418         (dumpTitleChangesCallback):
14419         (repaintSweepHorizontallyCallback):
14420         (setCallCloseOnWebViewsCallback):
14421         (setCanOpenWindowsCallback):
14422         (setCloseRemainingWindowsWhenCompleteCallback):
14423         (testRepaintCallback):
14424         (addFileToPasteboardOnDragCallback):
14425         (waitUntilDoneCallback):
14426         * DumpRenderTree/LayoutTestController.h:
14427         (LayoutTestController::dumpAsText):
14428         (LayoutTestController::setDumpAsText):
14429         (LayoutTestController::dumpBackForwardList):
14430         (LayoutTestController::setDumpBackForwardList):
14431         (LayoutTestController::dumpChildFrameScrollPositions):
14432         (LayoutTestController::setDumpChildFrameScrollPositions):
14433         (LayoutTestController::dumpChildFramesAsText):
14434         (LayoutTestController::setDumpChildFramesAsText):
14435         (LayoutTestController::dumpDOMAsWebArchive):
14436         (LayoutTestController::setDumpDOMAsWebArchive):
14437         (LayoutTestController::dumpSelectionRect):
14438         (LayoutTestController::setDumpSelectionRect):
14439         (LayoutTestController::dumpSourceAsWebArchive):
14440         (LayoutTestController::setDumpSourceAsWebArchive):
14441         (LayoutTestController::dumpTitleChanges):
14442         (LayoutTestController::setDumpTitleChanges):
14443         (LayoutTestController::dumpEditingCallbacks):
14444         (LayoutTestController::setDumpEditingCallbacks):
14445         (LayoutTestController::dumpResourceLoadCallbacks):
14446         (LayoutTestController::setDumpResourceLoadCallbacks):
14447         (LayoutTestController::dumpFrameLoadCallbacks):
14448         (LayoutTestController::setDumpFrameLoadCallbacks):
14449         (LayoutTestController::addFileToPasteboardOnDrag):
14450         (LayoutTestController::setAddFileToPasteboardOnDrag):
14451         (LayoutTestController::callCloseOnWebViews):
14452         (LayoutTestController::setCallCloseOnWebViews):
14453         (LayoutTestController::canOpenWindows):
14454         (LayoutTestController::setCanOpenWindows):
14455         (LayoutTestController::closeRemainingWindowsWhenComplete):
14456         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
14457         (LayoutTestController::testRepaint):
14458         (LayoutTestController::setTestRepaint):
14459         (LayoutTestController::testRepaintSweepHorizontally):
14460         (LayoutTestController::setTestRepaintSweepHorizontally):
14461         (LayoutTestController::waitToDump):
14462         (LayoutTestController::windowIsKey):
14463         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
14464         * DumpRenderTree/NavigationController.h: Removed.
14465         * DumpRenderTree/NavigationController.m: Removed.
14466         * DumpRenderTree/ObjCController.h: Removed.
14467         * DumpRenderTree/ObjCController.m: Removed.
14468         * DumpRenderTree/ObjCPlugin.h: Removed.
14469         * DumpRenderTree/ObjCPlugin.m: Removed.
14470         * DumpRenderTree/ObjCPluginFunction.h: Removed.
14471         * DumpRenderTree/ObjCPluginFunction.m: Removed.
14472         * DumpRenderTree/PolicyDelegate.h: Removed.
14473         * DumpRenderTree/PolicyDelegate.m: Removed.
14474         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
14475         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
14476         * DumpRenderTree/TextInputController.h: Removed.
14477         * DumpRenderTree/TextInputController.m: Removed.
14478         * DumpRenderTree/UIDelegate.h: Removed.
14479         * DumpRenderTree/UIDelegate.mm: Removed.
14480         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
14481         * DumpRenderTree/mac: Added.
14482         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
14483         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
14484         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
14485         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
14486         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
14487         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
14488         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
14489         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
14490         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
14491         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
14492         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
14493         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
14494         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
14495         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
14496         (-[EditingDelegate webViewDidBeginEditing:]):
14497         (-[EditingDelegate webViewDidChange:]):
14498         (-[EditingDelegate webViewDidEndEditing:]):
14499         (-[EditingDelegate webViewDidChangeTypingStyle:]):
14500         (-[EditingDelegate webViewDidChangeSelection:]):
14501         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
14502         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
14503         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
14504         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
14505         (-[FrameLoadDelegate init]):
14506         (-[FrameLoadDelegate dealloc]):
14507         (-[FrameLoadDelegate processWork:]):
14508         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
14509         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
14510         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
14511         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
14512         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
14513         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
14514         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
14515         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
14516         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
14517         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
14518         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
14519         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
14520         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
14521         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
14522         (-[FrameLoadDelegate webView:willCloseFrame:]):
14523         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
14524         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
14525         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
14526         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
14527         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
14528         (LayoutTestController::notifyDone):
14529         (LayoutTestController::setWindowIsKey):
14530         (LayoutTestController::setWaitToDump):
14531         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
14532         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
14533         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
14534         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
14535         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
14536         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
14537         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
14538         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
14539         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
14540         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
14541         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
14542         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
14543         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
14544         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
14545         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
14546         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
14547         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
14548         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
14549         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
14550         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
14551         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
14552         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
14553         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
14554         (-[UIDelegate webViewFocus:]):
14555         (-[UIDelegate webView:createWebViewWithRequest:]):
14556         (-[UIDelegate webViewClose:]):
14557         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
14559 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
14561         Reviewed by Adam.
14563         - Changing Win version of Drosera work with recent changes.
14565         * Drosera/DebuggerDocument.cpp:
14566         * Drosera/DebuggerDocument.h:
14567         * Drosera/mac/DebuggerDocumentPlatform.mm:
14568         (NSStringCreateWithJSStringRef):
14569         (JSValueRefCreateWithNSString):
14570         * Drosera/win/DebuggerClient.cpp:
14571         (DebuggerClient::stepInto):
14572         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
14574 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
14576         Reviewed by Tim.
14578         - Moved isPaused into the JS for efficiency and simplicity.
14580         * Drosera/DebuggerDocument.cpp:
14581         (DebuggerDocument::DebuggerDocument):
14582         (DebuggerDocument::pauseCallback):
14583         (DebuggerDocument::resumeCallback):
14584         (DebuggerDocument::isPaused):
14585         (DebuggerDocument::staticFunctions):
14586         * Drosera/DebuggerDocument.h:
14587         * Drosera/console.js:
14588         * Drosera/debugger.js:
14589         * Drosera/mac/DebuggerClient.mm:
14590         (-[DebuggerClient validateUserInterfaceItem:]):
14592 2007-09-13  Sam Weinig  <sam@webkit.org>
14594         Rubber stamped by Darin Adler.
14596         Make DumpRenderTree more cross platform ready.
14597         - Convert GCController to use the JSCore API instead of the WebScriptObject.
14598         - Use CF types instead of NS objects.
14599         - General cleanup.
14601         * DumpRenderTree/DumpRenderTree.h:
14602         * DumpRenderTree/DumpRenderTree.mm:
14603         (dumpRenderTree):
14604         (dump):
14605         (runTest):
14606         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14607         * DumpRenderTree/EditingDelegate.m:
14608         * DumpRenderTree/FrameLoadDelegate.h:
14609         * DumpRenderTree/FrameLoadDelegate.mm:
14610         (-[FrameLoadDelegate init]):
14611         (-[FrameLoadDelegate dealloc]):
14612         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
14613         * DumpRenderTree/GCController.cpp: Added.
14614         (GCController::GCController):
14615         (GCController::~GCController):
14616         (collectCallback):
14617         (collectOnAlternateThreadCallback):
14618         (getJSObjectCountCallback):
14619         (GCController::makeWindowObject):
14620         (GCController::getJSClass):
14621         (GCController::staticFunctions):
14622         * DumpRenderTree/GCController.h:
14623         * DumpRenderTree/GCController.mm:
14624         (GCController::collect):
14625         (GCController::collectOnAlternateThread):
14626         (GCController::getJSObjectCount):
14627         * DumpRenderTree/LayoutTestController.cpp:
14628         (LayoutTestController::makeWindowObject):
14629         (LayoutTestController::getJSClass):
14630         * DumpRenderTree/LayoutTestController.h:
14631         * DumpRenderTree/LayoutTestControllerMac.mm:
14632         (LayoutTestController::addDisallowedURL):
14633         (waitUntilDoneWatchdogFired):
14634         (LayoutTestController::waitUntilDone):
14635         * DumpRenderTree/ResourceLoadDelegate.m:
14636         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
14638 2007-09-12  Sam Weinig  <sam@webkit.org>
14640         Reviewed by Stephanie.
14642         Fix leaks in mac DumpRenderTree.
14644         * DumpRenderTree/FrameLoadDelegate.mm:
14645         (-[FrameLoadDelegate init]): Initalize in the correct order.
14646         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
14647         * DumpRenderTree/LayoutTestController.cpp:
14648         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
14649         (encodeHostNameCallback): ditto.
14650         * DumpRenderTree/LayoutTestController.h:
14651         * DumpRenderTree/LayoutTestControllerMac.mm:
14652         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
14653         (LayoutTestController::copyEncodedHostName): ditto
14654         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
14656 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
14658         Reviewed by Geof.
14660         - 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.
14662         * Scripts/run-webkit-tests:
14664 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
14666         Reviewed by Darin Adler.
14668         - Simplified code paths and extracted out functions to increase encapsulation.
14670         * Drosera/DebuggerDocument.cpp:
14671         (DebuggerDocument::breakpointEditorHTMLCallback):
14672         (DebuggerDocument::isPausedCallback):
14673         (DebuggerDocument::pauseCallback):
14674         (DebuggerDocument::resumeCallback):
14675         (DebuggerDocument::stepIntoCallback):
14676         (DebuggerDocument::evaluateScriptCallback):
14677         (DebuggerDocument::currentFunctionStackCallback):
14678         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
14679         (DebuggerDocument::valueForScopeVariableNamedCallback):
14680         (DebuggerDocument::logCallback):
14681         * Drosera/DebuggerDocument.h:
14682         (DebuggerDocument::getPaused):
14683         * Drosera/mac/DebuggerClient.mm:
14684         (-[DebuggerClient pause:]):
14685         (-[DebuggerClient resume:]):
14686         (-[DebuggerClient stepInto:]):
14687         (-[DebuggerClient stepOver:]):
14688         (-[DebuggerClient stepOut:]):
14689         (-[DebuggerClient showConsole:]):
14690         (-[DebuggerClient closeCurrentFile:]):
14691         (-[DebuggerClient validateUserInterfaceItem:]):
14692         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
14693         (+[NSString stringOrNilFromWebScriptResult:]):
14694         (DebuggerDocument::platformPause):
14695         (DebuggerDocument::platformResume):
14696         (DebuggerDocument::platformStepInto):
14697         (DebuggerDocument::platformEvaluateScript):
14698         (DebuggerDocument::getPlatformCurrentFunctionStack):
14699         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
14700         (DebuggerDocument::platformValueForScopeVariableNamed):
14701         (DebuggerDocument::platformLog):
14702         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
14704 2007-09-12  Sam Weinig  <sam@webkit.org>
14706         Build fix for Buildbot.
14708         * DumpRenderTree/DumpRenderTree.mm:
14709         (dump):
14711 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
14713         Reviewed by Geoff.
14715         - Updated the leaks list for leopard to help identify regressions.
14717         * Scripts/run-webkit-tests:
14719 2007-09-12  Sam Weinig  <sam@webkit.org>
14721         Rubber stamped by Darin Adler.
14723         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
14725         * DumpRenderTree/DumpRenderTree.h: Re-order variables.
14726         * DumpRenderTree/DumpRenderTree.m: Removed.
14727         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
14728         (stopJavaScriptThreads): Fix initialization.
14729         (setDefaultColorProfileToRGB): Add explicit cast from void*.
14730         (dumpRenderTree): Ditto.
14731         (runTest):
14732         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
14734         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14735         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
14736         * DumpRenderTree/FrameLoadDelegate.m: Removed.
14737         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
14738         (-[FrameLoadDelegate init]):
14739         (-[FrameLoadDelegate dealloc]):
14740         (-[FrameLoadDelegate processWork:]):
14741         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
14742         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
14743         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
14745         * DumpRenderTree/LayoutTestController.cpp: Added.
14746         (LayoutTestController::LayoutTestController):
14747         (LayoutTestController::~LayoutTestController):
14748         (dumpAsTextCallback):
14749         (dumpBackForwardListCallback):
14750         (dumpChildFramesAsTextCallback):
14751         (dumpChildFrameScrollPositionsCallback):
14752         (dumpDOMAsWebArchiveCallback):
14753         (dumpEditingCallbacksCallback):
14754         (dumpFrameLoadCallbacksCallback):
14755         (dumpResourceLoadCallbacksCallback):
14756         (dumpSelectionRectCallback):
14757         (dumpSourceAsWebArchiveCallback):
14758         (dumpTitleChangesCallback):
14759         (repaintSweepHorizontallyCallback):
14760         (setCallCloseOnWebViewsCallback):
14761         (setCanOpenWindowsCallback):
14762         (setCloseRemainingWindowsWhenCompleteCallback):
14763         (testRepaintCallback):
14764         (addFileToPasteboardOnDragCallback):
14765         (addDisallowedURLCallback):
14766         (clearBackForwardListCallback):
14767         (decodeHostNameCallback):
14768         (displayCallback):
14769         (encodeHostNameCallback):
14770         (keepWebHistoryCallback):
14771         (notifyDoneCallback):
14772         (queueBackNavigationCallback):
14773         (queueForwardNavigationCallback):
14774         (queueLoadCallback):
14775         (queueReloadCallback):
14776         (queueScriptCallback):
14777         (setAcceptsEditingCallback):
14778         (setCustomPolicyDelegateCallback):
14779         (setMainFrameIsFirstResponderCallback):
14780         (setTabKeyCyclesThroughElementsCallback):
14781         (setUseDashboardCompatibilityModeCallback):
14782         (setUserStyleSheetEnabledCallback):
14783         (setUserStyleSheetLocationCallback):
14784         (setWindowIsKeyCallback):
14785         (waitUntilDoneCallback):
14786         (windowCountCallback):
14787         (LayoutTestController::makeWindowObject):
14788         (LayoutTestController::getLayoutTestControllerJSClass):
14789         (LayoutTestController::staticFunctions):
14790         * DumpRenderTree/LayoutTestController.h: Replaced.
14791         * DumpRenderTree/LayoutTestController.m: Removed.
14792         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
14793         (LayoutTestController::dumpAsText):
14794         (LayoutTestController::dumpBackForwardList):
14795         (LayoutTestController::dumpChildFramesAsText):
14796         (LayoutTestController::dumpChildFrameScrollPositions):
14797         (LayoutTestController::dumpDOMAsWebArchive):
14798         (LayoutTestController::dumpEditingCallbacks):
14799         (LayoutTestController::dumpFrameLoadCallbacks):
14800         (LayoutTestController::dumpResourceLoadCallbacks):
14801         (LayoutTestController::dumpSelectionRect):
14802         (LayoutTestController::dumpSourceAsWebArchive):
14803         (LayoutTestController::dumpTitleChanges):
14804         (LayoutTestController::repaintSweepHorizontally):
14805         (LayoutTestController::setCallCloseOnWebViews):
14806         (LayoutTestController::setCanOpenWindows):
14807         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
14808         (LayoutTestController::testRepaint):
14809         (LayoutTestController::addFileToPasteboardOnDrag):
14810         (LayoutTestController::addDisallowedURL):
14811         (LayoutTestController::clearBackForwardList):
14812         (LayoutTestController::decodeHostName):
14813         (LayoutTestController::encodeHostName):
14814         (LayoutTestController::display):
14815         (LayoutTestController::keepWebHistory):
14816         (LayoutTestController::notifyDone):
14817         (LayoutTestController::queueBackNavigation):
14818         (LayoutTestController::queueForwardNavigation):
14819         (LayoutTestController::queueLoad):
14820         (LayoutTestController::queueReload):
14821         (LayoutTestController::queueScript):
14822         (LayoutTestController::setAcceptsEditing):
14823         (LayoutTestController::setCustomPolicyDelegate):
14824         (LayoutTestController::setMainFrameIsFirstResponder):
14825         (LayoutTestController::setTabKeyCyclesThroughElements):
14826         (LayoutTestController::setUseDashboardCompatibilityMode):
14827         (LayoutTestController::setUserStyleSheetEnabled):
14828         (LayoutTestController::setUserStyleSheetLocation):
14829         (LayoutTestController::setWindowIsKey):
14830         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
14831         (LayoutTestController::waitUntilDone):
14832         (LayoutTestController::windowCount):
14833         Use the JSCore API to implement the LayoutTestController.
14835         * DumpRenderTree/ObjCController.h:
14836         * DumpRenderTree/ObjCController.m:
14837         (+[ObjCController isSelectorExcludedFromWebScript:]):
14838         (+[ObjCController webScriptNameForSelector:]):
14839         (-[ObjCController accessStoredWebScriptObject]):
14840         (-[ObjCController storeWebScriptObject:]):
14841         (-[ObjCController dealloc]):
14842         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
14843         Move WebScriptObject tests to ObjCController.
14845         * DumpRenderTree/UIDelegate.m: Removed.
14846         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
14848         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
14849         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
14850         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
14851         (WorkQueueItem::~WorkQueueItem):
14852         (LoadItem::LoadItem):
14853         (LoadItem::url):
14854         (LoadItem::target):
14855         (ScriptItem::ScriptItem):
14856         (ScriptItem::script):
14857         * DumpRenderTree/WorkQueueItemMac.mm: Added.
14858         (LoadItem::invoke):
14859         (ReloadItem::invoke):
14860         (ScriptItem::invoke):
14861         (BackForwardItem::invoke):
14862         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
14863         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
14864         sharing code.
14866 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
14868         Reviewed by Maciej.
14870         - Updated Win side to take advantage of the platform separating changes.
14872         * Drosera/DebuggerDocument.cpp:
14873         (DebuggerDocument::localScopeVariableNamesForCallFrame):
14874         * Drosera/DebuggerDocument.h:
14875         * Drosera/win/DebuggerClient.cpp:
14876         (DebuggerClient::pause):
14877         (DebuggerClient::resume):
14878         (DebuggerClient::stepInto):
14879         (DebuggerDocument::platformPause):
14880         (DebuggerDocument::platformResume):
14881         (DebuggerDocument::platformStepInto):
14882         (DebuggerDocument::platformEvaluateScript):
14883         (DebuggerDocument::getPlatformCurrentFunctionStack):
14884         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
14885         (DebuggerDocument::platformValueForScopeVariableNamed):
14886         (DebuggerDocument::platformLog):
14887         * Drosera/win/DebuggerClient.h:
14888         * Drosera/win/Drosera.cpp:
14889         (Drosera::Drosera):
14890         (Drosera::windowScriptObjectAvailable):
14891         (Drosera::initWithServerName):
14892         (Drosera::switchToServerNamed):
14893         * Drosera/win/Drosera.h:
14894         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
14896 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
14898         Reviewed by Adam.
14900         - Just doing the moves in a separate patch so the changes are easier to see.
14902         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
14903         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
14904         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
14905         * Drosera/win/DebuggerDocumentWin.h: Removed.
14906         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
14908 2007-09-11  Sven Herzberg  <sven@imendio.com>
14910         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
14911         http://bugs.webkit.org/show_bug.cgi?id=15176
14913         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
14914         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
14915         other paths eg. from jhbuild)
14917 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
14919         Reviewed by Adam.
14921         - Made an order-of-deletion mistake.
14923         * Drosera/DebuggerDocument.h:
14924         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
14925         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
14926         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
14927         * Drosera/mac/DebuggerClient.mm:
14928         (DebuggerDocument::platformPause):
14929         (DebuggerDocument::platformResume):
14930         (DebuggerDocument::platformStepInto):
14931         (DebuggerDocument::platformEvaluateScript):
14932         (DebuggerDocument::getPlatformCurrentFunctionStack):
14933         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
14934         (DebuggerDocument::platformValueForScopeVariableNamed):
14935         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
14937 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
14939         Reviewed by Darin Adler.
14941         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
14943         * Drosera/DebuggerDocument.cpp:
14944         (DebuggerDocument::DebuggerDocument):
14945         * Drosera/DebuggerDocument.h:
14946         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
14947         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
14948         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
14949         * Drosera/mac/DebuggerApplication.mm:
14950         (-[DebuggerApplication attach:]):
14951         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
14952         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
14953         (DebuggerDocument::platformPause):
14954         (DebuggerDocument::platformResume):
14955         (DebuggerDocument::platformStepInto):
14956         (DebuggerDocument::platformEvaluateScript):
14957         (DebuggerDocument::getPlatformCurrentFunctionStack):
14958         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
14959         (DebuggerDocument::platformValueForScopeVariableNamed):
14960         (DebuggerDocument::platformLog):
14961         * Drosera/mac/DebuggerDocumentMac.h: Removed.
14962         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
14963         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
14965 2007-09-09  Sam Weinig  <sam@webkit.org>
14967         Reviewed by Mark Rowe.
14969         Remove 'objC' prefix from methods now in the ObjCController.
14971         * DumpRenderTree/ObjCController.m:
14972         (+[ObjCController isSelectorExcludedFromWebScript:]):
14973         (+[ObjCController webScriptNameForSelector:]):
14974         (-[ObjCController classNameOf:]):
14975         (-[ObjCController objectOfClass:]):
14976         (-[ObjCController identityIsEqual::]):
14977         (-[ObjCController longLongRoundTrip:]):
14978         (-[ObjCController unsignedLongLongRoundTrip:]):
14980 2007-09-09  Sam Weinig  <sam@webkit.org>
14982         Reviewed by Oliver.
14984         Initial refactor of DumpRenderTree in preparation of making it more platform independent.
14985         - Move LayoutTestController into its own file.
14986         - Move Objective-C only functions on LayoutTestController into a new controller called the
14987           ObjCController.
14989         * DumpRenderTree/DumpRenderTree.h:
14990         * DumpRenderTree/DumpRenderTree.m:
14991         (displayWebView):
14992         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14993         * DumpRenderTree/FrameLoadDelegate.m:
14994         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
14995         * DumpRenderTree/LayoutTestController.h: Added.
14996         * DumpRenderTree/LayoutTestController.m: Added.
14997         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14998         (+[LayoutTestController webScriptNameForSelector:]):
14999         (-[LayoutTestController clearBackForwardList]):
15000         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
15001         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
15002         (-[LayoutTestController setCustomPolicyDelegate:]):
15003         (-[LayoutTestController keepWebHistory]):
15004         (-[LayoutTestController setCallCloseOnWebViews:]):
15005         (-[LayoutTestController setCanOpenWindows]):
15006         (-[LayoutTestController waitUntilDone]):
15007         (-[LayoutTestController waitUntilDoneWatchdogFired]):
15008         (-[LayoutTestController notifyDone]):
15009         (-[LayoutTestController dumpAsText]):
15010         (-[LayoutTestController addFileToPasteboardOnDrag]):
15011         (-[LayoutTestController addDisallowedURL:]):
15012         (-[LayoutTestController setUserStyleSheetLocation:]):
15013         (-[LayoutTestController setUserStyleSheetEnabled:]):
15014         (-[LayoutTestController dumpDOMAsWebArchive]):
15015         (-[LayoutTestController dumpSourceAsWebArchive]):
15016         (-[LayoutTestController dumpSelectionRect]):
15017         (-[LayoutTestController dumpTitleChanges]):
15018         (-[LayoutTestController dumpBackForwardList]):
15019         (-[LayoutTestController windowCount]):
15020         (-[LayoutTestController dumpChildFrameScrollPositions]):
15021         (-[LayoutTestController dumpChildFramesAsText]):
15022         (-[LayoutTestController dumpEditingCallbacks]):
15023         (-[LayoutTestController dumpResourceLoadCallbacks]):
15024         (-[LayoutTestController dumpFrameLoadCallbacks]):
15025         (-[LayoutTestController setWindowIsKey:]):
15026         (-[LayoutTestController setMainFrameIsFirstResponder:]):
15027         (-[LayoutTestController display]):
15028         (-[LayoutTestController testRepaint]):
15029         (-[LayoutTestController repaintSweepHorizontally]):
15030         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
15031         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
15032         (-[LayoutTestController _doLoad:target:]):
15033         (-[LayoutTestController _doBackOrForwardNavigation:]):
15034         (-[LayoutTestController queueBackNavigation:]):
15035         (-[LayoutTestController queueForwardNavigation:]):
15036         (-[LayoutTestController queueReload]):
15037         (-[LayoutTestController queueScript:]):
15038         (-[LayoutTestController queueLoad:target:]):
15039         (-[LayoutTestController setAcceptsEditing:]):
15040         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
15041         (-[LayoutTestController storeWebScriptObject:]):
15042         (-[LayoutTestController accessStoredWebScriptObject]):
15043         (-[LayoutTestController dealloc]):
15044         (-[LayoutTestController decodeHostName:]):
15045         (-[LayoutTestController encodeHostName:]):
15046         * DumpRenderTree/ObjCController.h: Added.
15047         * DumpRenderTree/ObjCController.m: Added.
15048         (+[ObjCController isSelectorExcludedFromWebScript:]):
15049         (+[ObjCController webScriptNameForSelector:]):
15050         (-[ObjCController objCClassNameOf:]):
15051         (-[ObjCController objCObjectOfClass:]):
15052         (-[ObjCController objCIdentityIsEqual::]):
15053         (-[ObjCController objCLongLongRoundTrip:]):
15054         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
15055         (-[ObjCController testWrapperRoundTripping:]):
15057 2007-09-07  Sam Weinig  <sam@webkit.org>
15059         Reviewed by Alice.
15061         Strip trailing and leading space/newline characters from skiplist file names.
15063         * Scripts/run-webkit-tests:
15065 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
15067         Reviewed by Maciej.
15069         - Changed Drosera to take advantage of the JSRetainPtr changes.
15071         * Drosera/DebuggerDocument.cpp:
15072         (DebuggerDocument::breakpointEditorHTML):
15073         (DebuggerDocument::evaluateScript):
15074         (DebuggerDocument::valueForScopeVariableNamed):
15075         (DebuggerDocument::log):
15076         (DebuggerDocument::windowScriptObjectAvailable):
15077         (DebuggerDocument::toJSArray):
15078         (DebuggerDocument::callFunctionOnObject):
15079         (DebuggerDocument::logException):
15080         * Drosera/mac/DebuggerDocumentMac.mm:
15081         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
15082         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
15083         (DebuggerDocument::platformEvaluateScript):
15084         (DebuggerDocument::getPlatformCurrentFunctionStack):
15085         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
15086         (DebuggerDocument::platformValueForScopeVariableNamed):
15088 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
15090         Reviewed by Adam, Sam, Darin.
15092         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
15094         * Drosera/Debugger.h: Added.
15095         * Drosera/DebuggerDocument.cpp:
15096         (DebuggerDocument::breakpointEditorHTMLCallback):
15097         (DebuggerDocument::isPausedCallback):
15098         (DebuggerDocument::pauseCallback):
15099         (DebuggerDocument::resumeCallback):
15100         (DebuggerDocument::stepIntoCallback):
15101         (DebuggerDocument::evaluateScriptCallback):
15102         (DebuggerDocument::currentFunctionStackCallback):
15103         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
15104         (DebuggerDocument::valueForScopeVariableNamedCallback):
15105         (DebuggerDocument::logCallback):
15106         (DebuggerDocument::breakpointEditorHTML):
15107         (DebuggerDocument::isPaused):
15108         (DebuggerDocument::pause):
15109         (DebuggerDocument::resume):
15110         (DebuggerDocument::stepInto):
15111         (DebuggerDocument::evaluateScript):
15112         (DebuggerDocument::currentFunctionStack):
15113         (DebuggerDocument::localScopeVariableNamesForCallFrame):
15114         (DebuggerDocument::valueForScopeVariableNamed):
15115         (DebuggerDocument::log):
15116         (DebuggerDocument::toolbarPause):
15117         (DebuggerDocument::toolbarResume):
15118         (DebuggerDocument::toolbarStepInto):
15119         (DebuggerDocument::toolbarStepOver):
15120         (DebuggerDocument::toolbarStepOut):
15121         (DebuggerDocument::toolbarShowConsole):
15122         (DebuggerDocument::toolbarCloseCurrentFile):
15123         (DebuggerDocument::updateFileSource):
15124         (DebuggerDocument::didParseScript):
15125         (DebuggerDocument::willExecuteStatement):
15126         (DebuggerDocument::didEnterCallFrame):
15127         (DebuggerDocument::willLeaveCallFrame):
15128         (DebuggerDocument::exceptionWasRaised):
15129         (DebuggerDocument::windowScriptObjectAvailable):
15130         (DebuggerDocument::toJSArray):
15131         (DebuggerDocument::callGlobalFunction):
15132         (DebuggerDocument::callFunctionOnObject):
15133         (DebuggerDocument::getDroseraJSClass):
15134         (DebuggerDocument::staticFunctions):
15135         (DebuggerDocument::logException):
15136         * Drosera/DebuggerDocument.h:
15137         (DebuggerDocument::DebuggerDocument):
15138         * Drosera/ForwardingHeaders: Added.
15139         * Drosera/ForwardingHeaders/wtf: Added.
15140         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
15141         * Drosera/config.h:
15142         * Drosera/console.html:
15143         * Drosera/console.js:
15144         * Drosera/debugger.js:
15145         * Drosera/mac/DebuggerApplication.mm:
15146         (-[DebuggerApplication attach:]):
15147         * Drosera/mac/DebuggerDocumentMac.h:
15148         * Drosera/mac/DebuggerDocumentMac.mm:
15149         (+[NSString stringOrNilFromWebScriptResult:]):
15150         (+[DebuggerClientMac log:]):
15151         (-[DebuggerClientMac initWithServerName:]):
15152         (-[DebuggerClientMac dealloc]):
15153         (-[DebuggerClientMac pause]):
15154         (-[DebuggerClientMac resume]):
15155         (-[DebuggerClientMac pause:]):
15156         (-[DebuggerClientMac resume:]):
15157         (-[DebuggerClientMac stepInto:]):
15158         (-[DebuggerClientMac stepOver:]):
15159         (-[DebuggerClientMac stepOut:]):
15160         (-[DebuggerClientMac showConsole:]):
15161         (-[DebuggerClientMac closeCurrentFile:]):
15162         (-[DebuggerClientMac validateUserInterfaceItem:]):
15163         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
15164         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
15165         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
15166         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
15167         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
15168         (DebuggerDocument::platformPause):
15169         (DebuggerDocument::platformResume):
15170         (DebuggerDocument::platformStepInto):
15171         (DebuggerDocument::platformEvaluateScript):
15172         (DebuggerDocument::platformCurrentFunctionStack):
15173         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
15174         (DebuggerDocument::platformValueForScopeVariableNamed):
15175         (DebuggerDocument::platformLog):
15176         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
15178 2007-09-06  Sam Weinig  <sam@webkit.org>
15180         Reviewed by Adam Roben.
15182         Register the WebKit DLL on initialization of the DumpRenderTree.
15184         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
15185         (initialize):
15187 2007-09-05  Sam Weinig  <sam@webkit.org>
15189         Reviewed by Oliver.
15191         Fix many layout test failures caused by r25364.
15192         Set text size to standand size at the begining of each test matching the mac.
15194         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
15195         (runTest):
15197 2007-09-04  Sam Weinig  <sam@webkit.org>
15199         Reviewed by Adam.
15201         Fix for <rdar://problem/5382277>
15202         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
15204         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
15205         (textZoomInCallback):
15206         (textZoomOutCallback):
15208 2007-08-29  David Kilzer  <ddkilzer@apple.com>
15210         Reviewed by Adam.
15212         Added case-insensitivity to checks for adding regression tests.
15214         * Scripts/prepare-ChangeLog:
15215         (generateFileList):
15217 2007-08-28  David Kilzer  <ddkilzer@apple.com>
15219         Reviewed by Maciej.
15221         Ignore files in /resources/ subdirectories when creating a list of added tests.
15223         * Scripts/prepare-ChangeLog:
15224         (generateFileList):
15226 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
15228         Reviewed by John.
15230         - Removed Leopard leaks list since all of those radars were fixed.
15232         * Scripts/run-webkit-tests:
15234 2007-08-27  Adam Roben  <aroben@apple.com>
15236         Rubberstamped by Mark.
15238         * Scripts/pdevenv: Pass arguments along to devenv.com.
15240 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
15242         Reviewed by Mark Rowe.
15244         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
15246         * Scripts/prepare-ChangeLog:
15247         (changeLogDate): Added.
15249 2007-08-24  Sam Weinig  <sam@webkit.org>
15251         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
15253 2007-08-24  Sam Weinig  <sam@webkit.org>
15255         Rubber-stamped by Adam Roben.
15257         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
15259         Rename COM DOM bindings to use Deprecated prefix.
15261         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
15262         (dumpFramesAsText):
15263         (dump):
15264         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
15265         (dumpPath):
15266         (dump):
15267         (EditingDelegate::shouldBeginEditingInDOMRange):
15268         (EditingDelegate::shouldEndEditingInDOMRange):
15269         (EditingDelegate::shouldInsertNode):
15270         (EditingDelegate::shouldInsertText):
15271         (EditingDelegate::shouldDeleteDOMRange):
15272         (EditingDelegate::shouldChangeSelectedDOMRange):
15273         (EditingDelegate::shouldApplyStyle):
15274         (EditingDelegate::shouldChangeTypingStyle):
15275         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
15277 2007-08-24  Oliver Hunt  <oliver@apple.com>
15279         Reviewed by John H.
15281         WebDataSource::response can legitimately have a null response, so we
15282         must check that case.
15284         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
15285         (queueLoadCallback):
15287 2007-08-23  Mitz Pettel  <mitz@webkit.org>
15289         Reviewed by Darin and Adam.
15291         - DumpRenderTree changes to allow testing for
15292           http://bugs.webkit.org/show_bug.cgi?id=11756
15293           REGRESSION: link targeting a frame in another window does not work
15294           <rdar://problem/5286420>
15296         Use a frame group name for all WebViews created by DumpRenderTree to
15297         allow testing of cross-page frame lookup.
15299         * DumpRenderTree/DumpRenderTree.m:
15300         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
15301         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
15302         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
15304 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
15306         Reviewed by Adam.
15308         Quote the $sslCertificate path in case it contains a space.
15310         * Scripts/run-webkit-httpd:
15311         * Scripts/run-webkit-tests:
15313 2007-08-22  Oliver Hunt  <oliver@apple.com>
15315         Reviewed by John and Adam.
15317         WebDataSource::response can legitimately have a null response, so we
15318         must check that case.
15320         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
15321         (dump):
15323 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
15325         Reviewed by Geof.
15327         - Changing the usage to be more clear.
15329         * Scripts/run-testkjs:
15331 2007-08-20  John Sullivan  <sullivan@apple.com>
15333         Reviewed by Adam Roben
15335         * DumpRenderTree/DumpRenderTree.m:
15336         (runTest):
15337         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
15338         in layout tests on Tiger and Leopard
15340 2007-08-20  Adam Roben  <aroben@apple.com>
15342         Put LayoutTests after all other ChangeLogs in commit logs
15344         We use "~" to sort LayoutTests after all the other ChangeLogs because
15345         "~" is the last ASCII character (other than "DEL").
15347         Reviewed by Sam.
15349         * Scripts/commit-log-editor:
15351 2007-08-20  Adam Roben  <aroben@apple.com>
15353         Detect that DRT crashed even if a crash dialog is running
15355         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
15356         process is still running at this point, so run-webkit-tests wouldn't
15357         detect that DRT had crashed. We now record the crash in our SIGPIPE
15358         handler so that we know if DRT crashed even if the crash dialog is up.
15360         Reviewed by Sam.
15362         * Scripts/run-webkit-tests:
15363         (sub catch_pipe): Set the crashed bit.
15364         (sub openDumpTool): Reset the crashed bit.
15365         (sub dumpToolDidCrash): Check the crashed bit.
15367 2007-08-20  Adam Roben  <aroben@apple.com>
15369         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
15371         http://bugs.webkit.org/show_bug.cgi?id=15026
15373         Reviewed by David Kilzer and Darin Adler.
15375         * Scripts/prepare-ChangeLog:
15376         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
15377         (sub isAddedStatus): Ditto.
15378         (sub testListForChangeLog): Added.
15380 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
15382         Reviewed by Mark.
15384         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
15386         * Scripts/webkitdirs.pm:
15387         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
15389 2007-08-17  Darin Adler  <darin@apple.com>
15391         Reviewed by Oliver Hunt.
15393         - don't look for Apple-style localizable strings in the GTK version of WebKit
15395         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
15396         name of subdirectories to skip.
15397         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
15398         to skip.
15400 2007-08-17  Anders Carlsson  <andersca@apple.com>
15402         Build fix.
15404         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15405         (NPP_SetWindow):
15407 2007-08-17  Anders Carlsson  <andersca@apple.com>
15409         Reviewed by Dave Hyatt.
15411         <rdar://problem/5379040>
15412         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
15414         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
15416         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15417         (pluginAllocate):
15418         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15419         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15420         (NPP_New):
15421         (NPP_SetWindow):
15423 2007-08-16  Alice Liu  <alice.liu@apple.com>
15425         Reviewed by Maciej.
15427         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
15429         * DumpRenderTree/DumpRenderTree.m:
15430         (createWebView):
15431         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
15432         (dumpRenderTree):
15433         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
15435 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
15437         Reviewed by Adam.
15439         - 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.
15441         * Scripts/run-webkit-tests:
15443 2007-08-15  Timothy Hatcher  <timothy@apple.com>
15445         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
15446         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
15448         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
15449         this prevents making "build" directories in each project folder.
15451         * Scripts/webkitdirs.pm:
15453 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
15455         Reviewed by Kevin Mccullough.
15457         Removed special case that didn't belong. (It would allow a global
15458         initializer to sneak into production builds, which would cause a
15459         system-wide performance regression on Mac OS X.)
15461         * Scripts/check-for-global-initializers:
15463 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
15465         Reviewed by Tim.
15467         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
15469         * DumpRenderTree/EditingDelegate.m:
15470         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
15471         only for elements with the class needsDeletionUI.
15473 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
15475         Reviewed by Darin Adler.
15477         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
15478           svn-create-patch uses deprecated tail switch
15480         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
15482 2007-08-13  Sam Weinig  <sam@webkit.org>
15484         Reviewed by Adam Roben.
15486         Use the cygwin specific Apache config file under cygwin.
15488         * Scripts/run-webkit-httpd:
15490 2007-08-12  Adam Roben  <aroben@apple.com>
15492         Generate results for new tests in a more logical location
15494         New platform-specific tests always have their results generated right
15495         next to the test. New cross-platform tests will have their results
15496         generated a) in the cross-platform directory, if they are text-only,
15497         or b) in the least-specific platform directory, if they are render
15498         tree dumps.
15500         Reviewed by Lars.
15502         * Scripts/run-webkit-tests:
15504 2007-08-12  Adam Roben  <aroben@apple.com>
15506         Print the actual directory where new results are generated.
15508         Before, we were printing an unpredictable, context-specific substring
15509         of the directory.
15511         Reviewed by Lars.
15513         * Scripts/run-webkit-tests:
15515 2007-08-12  Adam Roben  <aroben@apple.com>
15517         Factor some common code into a stripExtension() subroutine.
15519         Reviewed by Lars.
15521         * Scripts/run-webkit-tests: Also removed some debugging output.
15523 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
15525         Reviewed over and over and over by Adam Roben.
15527         Bug 14740: Hierarchical layout tests and platform organization
15528         http://bugs.webkit.org/show_bug.cgi?id=14740
15530         Add support for platform-specific layout tests and results.
15532         * Scripts/run-webkit-tests:
15534 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
15536         Reviewed by Adam.
15538         Refactored svn-create-path to use a hash-of-hashes data structure to keep
15539         track of changed files.  In the top level hash, keys are paths to files and
15540         values are 'fileData' hashes with the following keys and values:
15542         - isBinary: boolean value (set to true for non-text files like images, etc.)
15543         - isTestFile: boolean value (set to true if file exists within a known test
15544           directory)
15545         - modificationType: string equal to one of 'addition', 'additionWithHistory',
15546           'modification' or 'deletion'
15547         - path: string equal to the path to the file (this may seem redundant, but it
15548           is required to use the second-level 'fileData' hash independent of the
15549           top-level hash)
15550         - sourceFile: [optional] string equal to the path of the original file that was
15551           copied or moved
15552         - sourceRevision: [optional] string equal to the revision of the original file
15553           that was copied or moved
15555         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
15556         that saves the return value in $result, then checks it before printing help.
15557         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
15558         and eliminated two for() loops.
15559         (binarycmp): Added.  Used with sort() to order non-binary files before binary
15560         files.
15561         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
15562         (findMimeType): Added optional second argument that takes a revision number.
15563         (generateDiff): Updated to take one fileData argument instead of three ($file,
15564         $modificationType, $isBinary).
15565         (generateFileList): Updated to take one hash ref argument (%diffFiles)
15566         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
15567         %diffFiles using paths for keys and fileData hashes for values.
15568         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
15569         argument.
15570         (pathcmp): Updated to take two fileData arguments instead of two strings.
15571         (testfilecmp): Added.  Used with sort() to order non-test files before test
15572         files.
15574 2007-08-11  Darin Adler  <darin@apple.com>
15576         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
15578 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
15580         Reviewed by David Kilzer.
15582         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
15583         http://bugs.webkit.org/show_bug.cgi?id=14745
15585         * Scripts/run-launcher:
15586         Scrub the "--gdk" out of the command line args, if given, so that
15587         GdkLauncher doesn't try to interpret it as a URL.
15589 2007-08-03  Adam Roben  <aroben@apple.com>
15591         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
15593         Reviewed by Sam.
15595         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
15597 2007-08-03  Sam Weinig  <sam@webkit.org>
15599         Reviewed by Darin Adler.
15601         Recursively dump all frames as text using new
15602         layoutTestController.dumpChildFramesAsText() function.
15604         * DumpRenderTree/DumpRenderTree.m:
15605         (dumpFramesAsText):
15606         (dump):
15607         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15608         (-[LayoutTestController dumpChildFramesAsText]):
15609         (runTest):
15610         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
15611         (dumpFramesAsText):
15612         (dump):
15613         (runTest):
15614         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
15615         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
15616         (dumpChildFramesAsTextCallback):
15617         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15619 2007-08-02  Adam Roben  <aroben@apple.com>
15621         Fix fast/dom/Window/alert-undefined.html
15623         Reviewed by Sam.
15625         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
15626         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
15627         Windows translate a null BSTR into "(null)"
15629 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
15631         Reviewed by Tim.
15633         - It would help if I actually called the right function.
15635         * Drosera/DebuggerDocument.cpp:
15636         (DebuggerDocument::showConsole):
15638 2007-08-02  Adam Roben  <aroben@apple.com>
15640         Don't delete the stderr file right after creating it
15642         * Scripts/run-webkit-tests:
15644 2007-08-01  Adam Roben  <aroben@apple.com>
15646         When DRT crashes, record stderr and restart DRT
15648         This prevents a DRT crash from causing the next few hundred tests to
15649         "fail" because DRT is no longer running.
15651         I also changed the terminology that run-webkit-tests uses in its
15652         output a bit, so that crashing tests are referred to as "crashes"
15653         instead of "failures".
15655         Reviewed by Mark.
15657         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
15658         failure.
15659         (sub openDumpTool): Use open3 so that we can access stderr.
15660         (sub dumpToolCrashed): Added.
15661         (sub printFailureMessageForTest): Added.
15662         (sub htmlForExpectedAndActualResults): Added.
15663         (sub deleteExpectedAndActualResults): Added.
15664         (sub recordActualResultsAndDiff): Added.
15666 2007-07-30  Darin Adler  <darin@apple.com>
15668         Reviewed by Tim Hatcher.
15670         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
15671         characters. This turned out not to be needed for the test case that motivated me to
15672         do it, but it's nice to have this for the future.
15674 2007-07-30  Simon Hausmann  <hausmann@kde.org>
15676         Reviewed by Lars.
15678         Link QtLauncher into $$OUTPUT_DIR/bin
15680         * Scripts/run-launcher:
15682 2007-07-27  David Kilzer  <ddkilzer@apple.com>
15684         Reviewed by Geoff and Darin.
15686         Use a subroutine for validating the --skipped switch.
15688         * Scripts/run-webkit-tests:
15690 2007-07-27  Darin Adler  <darin@apple.com>
15692         Reviewed by Sam.
15694         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
15696 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
15698         Reviewed by Mark.
15700         Correct the path of GdkLauncher and make checkFrameworks work on OSX
15701         when building the Qt or Gtk+ port.
15703         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
15704         * Scripts/run-launcher:
15705         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
15707 2007-07-27  Simon Hausmann  <hausmann@kde.org>
15709         Done with and reviewed by Lars and Zack.
15711         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.
15713         * Scripts/webkitdirs.pm:
15715 2007-07-27  Simon Hausmann  <hausmann@kde.org>
15717         Done with and reviewed by Lars and Zack.
15719         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.
15721         * Scripts/webkitdirs.pm:
15723 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
15725         Reviewed by Darin, Geoff, Sam.
15727         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
15729         - 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.
15731         * DumpRenderTree/UIDelegate.h:
15732         * DumpRenderTree/UIDelegate.m:
15733         (-[UIDelegate webView:setFrame:]):
15734         (-[UIDelegate webViewFrame:]):
15736 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
15738         Reviewed by Adam.
15740         - Lars wanted this check for Qt but it breaks platform specific layout tests.
15742         * Scripts/run-webkit-tests:
15744 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
15746         Reviewed by Tim, Darin, Oliver.
15748         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
15749         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
15751         * ChangeLog:
15752         * DumpRenderTree/DumpRenderTree.m:
15753         (createWebView):
15754         (dumpRenderTree):
15755         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15756         (+[LayoutTestController webScriptNameForSelector:]):
15757         (-[LayoutTestController setCustomPolicyDelegate:]):
15758         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15759         * DumpRenderTree/FrameLoadDelegate.h:
15760         * DumpRenderTree/PolicyDelegate.h: Added.
15761         * DumpRenderTree/PolicyDelegate.m: Added.
15762         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
15763         * DumpRenderTree/ResourceLoadDelegate.h:
15765 2007-07-25  Adam Treat  <treat@kde.org>
15767         Reviewed by Niko.
15769         Fix build for some reported systems.
15771         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
15773 2007-07-23  Adam Treat  <treat@kde.org>
15775         Reviewed by Nikolas.
15777         Fix qt DRT to suppress js popup alerts and log instead.
15779         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15780         (WebCore::WebPage::javaScriptAlert):
15782 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
15784         Reviewed by Adam.
15786         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
15787         honor --qmakearg for the Gdk/Gtk build as well.
15789         * GdkLauncher/main.cpp: Switch to the new API
15790         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
15792 2007-07-22  Darin Adler  <darin@apple.com>
15794         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
15795         Fix a leak by releasing the array used here.
15797 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
15799         Reviewed by Darin Adler.
15801         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
15802           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
15804         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
15805         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
15807         * Scripts/update-iexploder-cssproperties: Added.
15808         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
15809         Added new CSS3 property section and Moved box-sizing property to it.
15811 2007-07-22  Oliver Hunt  <oliver@apple.com>
15813         Reviewed by Darin Adler.
15815         http://bugs.webkit.org/show_bug.cgi?id=14710
15817         Add preliminary support for testing Input Method/WebKit behaviour and interaction
15818         in DRT.  This provides the NSTextInput API which is most of what should be necessary
15819         to mimic the event sequences Input Methods trigger.
15821         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15822         * DumpRenderTree/TextInputController.h:
15823         * DumpRenderTree/TextInputController.m:
15824         (-[WebHTMLView interpretKeyEvents:]):
15825         (+[TextInputController isSelectorExcludedFromWebScript:]):
15826         (+[TextInputController webScriptNameForSelector:]):
15827         (-[TextInputController initWithWebView:]):
15828         (-[TextInputController dealloc]):
15829         (-[TextInputController textInput]):
15830         (-[TextInputController setInputMethodHandler:]):
15831         (-[TextInputController interpretKeyEvents:withSender:]):
15833 2007-07-20  Adam Roben  <aroben@apple.com>
15835         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
15836         message not count as an existing log.
15838 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
15840         Reviewed by Darin Adler.
15842         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
15843         value behavior of stringByEvaluatingJavaScriptFromString
15845         * DumpRenderTree/DumpRenderTree.m:
15846         (testStringByEvaluatingJavaScriptFromString):
15847         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15849 2007-07-19  Adam Roben  <aroben@apple.com>
15851         Make commit-log-editor work with git
15853         Reviewed by Sam.
15855         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
15856         commit message template. Also removed the unused $breakPoint variable.
15858 2007-07-19  Adam Roben  <aroben@apple.com>
15860         Move generally-useful VCS code into a new VCSUtils.pm module
15862         This is in preparation for making commit-log-editor git-friendly.
15864         Reviewed by Sam.
15866         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
15867         * Scripts/prepare-ChangeLog: Use VCSUtils.
15869 2007-07-19  Lars Knoll <lars@trolltech.com>
15871         Fix a crash on exit when running DRT against a current
15872         Qt 4.4 snapshot.
15874         Reviewed by Zack
15876         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15877         (main):
15879 2007-07-18  Adam Roben  <aroben@apple.com>
15881         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
15883         Reviewed by Mark.
15885         * Scripts/run-webkit-httpd:
15886         * Scripts/run-webkit-tests:
15888 2007-07-18  Adam Roben  <aroben@apple.com>
15890         More git friendliness for prepare-ChangeLog
15892         The overall change is to remove the use of git-status and replace it
15893         with git-diff --name-status (which we were already using in the
15894         --git-commit case).
15896         This lets us respect directories specified on the command line when
15897         using git, just as we do for Subversion. It also speeds things up a
15898         bit, especially in the subdirectory case, as git-status is pretty slow.
15900         I also fixed some issues where we wouldn't detect copied files and
15901         would reverse the new filename and the original filename for renamed files.
15903         Reviewed by Mark.
15905         * Scripts/prepare-ChangeLog:
15906         (sub diffFromToString): Added.
15907         (sub diffCommand): Don't append the paths in the --git-commit case, as
15908         we should be operating on the entire commit.
15909         (sub statusCommand): Always use git-diff --name-status, and added an
15910         extra -C option to git-diff to make it find a few more copied files.
15911         (sub createPatchCommand): Collapsed the two git cases a bit, and added
15912         the extra -C option as above.
15913         (sub generateFileList): Remove the git-status codepath, and recognize
15914         file copies in the --name-status output.
15915         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
15916         dictionary.
15917         (sub isConflictStatus): Updated the git dictionary.
15918         (sub statusDescription): Updated the git dictionary.
15920 2007-07-18  Timothy Hatcher  <timothy@apple.com>
15922         * Scripts/build-drosera: Update where we look for the Xcode project.
15924 2007-07-18  Adam Treat <treat@kde.org>
15926         Reviewed by bdash.
15928         Use the old wording for Safari.
15930         * Scripts/build-webkit:
15931         * Scripts/webkitdirs.pm:
15933 2007-07-18  Adam Treat <treat@kde.org>
15935         Reviewed by bdash.
15937         Add convenience script for launching test apps for Qt and Gdk ports.
15938         Change the build-webkit script accordingly.
15940         * Scripts/build-webkit:
15941         * Scripts/run-launcher: Added.
15942         * Scripts/webkitdirs.pm:
15944 2007-07-18  Timothy Hatcher  <timothy@apple.com>
15946         Reviewed by Adam.
15948         Make the Page with the now required InspectorClient.
15950         * GdkLauncher/main.cpp:
15951         (main):
15953 2007-07-18  Timothy Hatcher  <timothy@apple.com>
15955         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
15956         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
15958         * Drosera/Makefile: Added.
15959         * Drosera/mac/Makefile:
15960         * DumpRenderTree/Makefile:
15961         * Makefile:
15962         * Makefile.Drosera: Removed.
15963         * Makefile.shared: Removed.
15965 2007-07-18  Timothy Hatcher  <timothy@apple.com>
15967         The console log was 20px down from the top for no reason, move it up.
15969         * Drosera/console.css:
15971 2007-07-18  Timothy Hatcher  <timothy@apple.com>
15973         Use contentDocument to get the source view's iframe document.
15974         Also adds a null/undefined check for localVariableNames.
15976         * Drosera/debugger.js:
15978 2007-07-18  Lars Knoll <lars@trolltech.com>
15980         We really don't want to compare non text only tests to the
15981         Mac results if we don't have a result for Qt, as this would
15982         give a failure and not a notification that the test is new.
15984         Reviewed by Zack
15986         * Scripts/run-webkit-tests:
15988 2007-07-18  Lars Knoll <lars@trolltech.com>
15990         Reviewed by Zack & Simon
15992         Adjust to changed API in QWebFrame
15994         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15995         (WebCore::DumpRenderTree::DumpRenderTree):
15997 2007-07-18  Mark Rowe  <mrowe@apple.com>
15999         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
16001         * BuildSlaveSupport/build-launcher-app:
16003 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
16005         Reviewed by Antti Koivisto.
16007         Added watchdog timer to waitUntilDone to prevent a run-away test from
16008         hanging the test harness.
16010         * DumpRenderTree/DumpRenderTree.m:
16011         (dump):
16012         (-[LayoutTestController waitUntilDone]):
16013         (-[LayoutTestController waitUntilDoneWatchdogFired]):
16014         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16016 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
16018         Reviewed by Adam.
16020         - Implemented cross-platform code for functions calling into the JavaScript.
16022         * Drosera/DebuggerDocument.cpp:
16023         (DebuggerDocument::callAsFunction):
16024         (DebuggerDocument::pauseJS):
16025         (DebuggerDocument::resumeJS):
16026         (DebuggerDocument::stepIntoJS):
16027         (DebuggerDocument::stepOverJS):
16028         (DebuggerDocument::stepOutJS):
16029         (DebuggerDocument::showConsoleJS):
16030         (DebuggerDocument::closeCurrentFileJS):
16031         (DebuggerDocument::updateFileSource):
16032         (DebuggerDocument::didParseScript):
16033         (DebuggerDocument::willExecuteStatement):
16034         (DebuggerDocument::didEnterCallFrame):
16035         (DebuggerDocument::willLeaveCallFrame):
16036         (DebuggerDocument::exceptionWasRaised):
16037         * Drosera/DebuggerDocument.h:
16038         * Drosera/mac/DebuggerDocumentMac.mm:
16039         (-[DebuggerDocumentMac pause:]):
16040         (-[DebuggerDocumentMac resume:]):
16041         (-[DebuggerDocumentMac stepInto:]):
16042         (-[DebuggerDocumentMac stepOver:]):
16043         (-[DebuggerDocumentMac stepOut:]):
16044         (-[DebuggerDocumentMac showConsole:]):
16045         (-[DebuggerDocumentMac closeCurrentFile:]):
16046         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
16047         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
16048         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
16049         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
16050         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
16051         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
16053 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
16055         Reviewed by Darin Adler.
16057         - Continued x-platform modifications.
16059         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
16060         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
16061         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
16062         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
16063         * Drosera/win/Drosera.cpp:
16064         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
16065         * Drosera/win/stdafx.cpp: Removed.
16066         * Drosera/win/stdafx.h: Removed.
16068 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
16070         Reviewed by Sam.
16072         - Modified files to use cross-platform code.
16074         * Drosera/DebuggerDocument.cpp: Added.
16075         (DebuggerDocument::breakpointEditorHTML):
16076         (DebuggerDocument::isPaused):
16077         (DebuggerDocument::pause):
16078         (DebuggerDocument::resume):
16079         (DebuggerDocument::stepInto):
16080         (DebuggerDocument::evaluateScript):
16081         (DebuggerDocument::currentFunctionStack):
16082         (DebuggerDocument::localScopeVariableNamesForCallFrame):
16083         (DebuggerDocument::valueForScopeVariableNamed):
16084         * Drosera/DebuggerDocument.h: Added.
16085         (DebuggerDocument::DebuggerDocument):
16086         * Drosera/config.h: Added.
16087         * Drosera/mac/DebuggerApplication.mm:
16088         (-[DebuggerApplication attach:]):
16089         * Drosera/mac/DebuggerDocument.h: Removed.
16090         * Drosera/mac/DebuggerDocument.mm: Removed.
16091         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
16092         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
16093         (-[DebuggerDocumentMac initWithServerName:]):
16094         (-[DebuggerDocumentMac dealloc]):
16095         (-[DebuggerDocumentMac breakpointEditorHTML]):
16096         (-[DebuggerDocumentMac isPaused]):
16097         (-[DebuggerDocumentMac pause]):
16098         (-[DebuggerDocumentMac resume]):
16099         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
16100         * Drosera/win/DebuggerApplication.cpp:
16101         * Drosera/win/DebuggerObjectCallbacks.cpp:
16102         (breakpointEditorHTMLCallback):
16103         (currentFunctionStackCallback):
16104         (evaluateScript_inCallFrame_Callback):
16105         (isPausedCallback):
16106         (localScopeVariableNamesForCallFrame_Callback):
16107         (pauseCallback):
16108         (resumeCallback):
16109         (stepIntoCallback):
16110         (valueForScopeVariableNamed_inCallFrame_Callback):
16111         (staticFunctions):
16112         * Drosera/win/Drosera.cpp:
16113         * Drosera/win/DroseraPrefix.cpp: Added.
16114         * Drosera/win/DroseraPrefix.h: Added.
16116 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
16118         Reviewed by Adam, Sam and Tim.
16120         - Moving files to prepare for cross-platform architecture.
16122         * Drosera/DebuggerApplication.h: Removed.
16123         * Drosera/DebuggerApplication.m: Removed.
16124         * Drosera/DebuggerDocument.h: Removed.
16125         * Drosera/DebuggerDocument.m: Removed.
16126         * Drosera/Drosera.pch: Removed.
16127         * Drosera/Drosera.xcodeproj: Removed.
16128         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
16129         * Drosera/Info.plist: Removed.
16130         * Drosera/LauncherInfo.plist: Removed.
16131         * Drosera/Makefile: Removed.
16132         * Drosera/launcher.m: Removed.
16133         * Drosera/mac: Added.
16134         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
16135         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
16136         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
16137         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
16138         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
16139         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
16140         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
16141         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
16142         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
16143         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
16144         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
16145         * Drosera/mac/main.m: Copied from Drosera/main.m.
16146         * Drosera/main.m: Removed.
16147         * Makefile:
16148         * Makefile.Drosera: Added.
16150 2007-07-15  Mark Rowe  <mrowe@apple.com>
16152         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
16154 2007-07-13  Sam Weinig  <sam@webkit.org>
16156         Reviewed by Geoff Garen.
16158         Add support for running SSL tests over HTTPS.
16160         * DumpRenderTree/DumpRenderTree.m:
16161         (runTest):
16162         * DumpRenderTree/FrameLoadDelegate.m:
16163         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
16164         * Scripts/run-webkit-httpd:
16165         * Scripts/run-webkit-tests:
16167 2007-07-13  David Kilzer  <ddkilzer@apple.com>
16169         Reviewed by Darin Adler.
16171         Added support for -h|--help argument and verify that all command line arguments parse
16172         correctly.
16174         * Scripts/run-webkit-httpd:
16176 2007-07-12  Mark Rowe  <mrowe@apple.com>
16178         Reviewed by Ada.
16180         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
16182         * Scripts/run-webkit-tests:
16184 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
16186         Reviewed by Oliver Hunt.
16188         Made the leaks tests pass on Leopard.
16190         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
16191         * Scripts/run-leaks: Updated parser for slight change in text output.
16193 2007-07-11  David Kilzer  <ddkilzer@apple.com>
16195         Reviewed by Maciej.
16197         Update the iExploder list of CSS properties after box-sizing was renamed to
16198         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
16200         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
16201         -moz-box-sizing remain.
16203 2007-07-10  Darin Adler  <darin@apple.com>
16205         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
16206         Foundation's multipart/mixed-replace support -- I already verified that
16207         the bug has been fixed.
16209 2007-07-10  Alice Liu  <alice.liu@apple.com>
16211         rubber stamped by Maciej.
16213         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
16215         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16216         (initializePreferences):
16217         set editable link behavior to match Mac DRT.
16219 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
16221         Reviewed by Tim Hatcher.
16223         Ignore Page.o in debug builds because it now has a static PageCounter
16224         object.
16226         * Scripts/check-for-global-initializers:
16228 2007-07-09  Darin Adler  <darin@apple.com>
16230         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
16232 2007-07-09  Alice Liu  <alice.liu@apple.com>
16234         Reviewed by Adam Roben.
16236         setting DOM Paste Allowed Pref
16238         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
16239         (initializePreferences):
16241 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
16243         Reviewed by Adam, Sam, and Ada.
16245         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
16247         * Drosera/Images/Drosera.ico: Added.
16248         * Drosera/Images/small.ico: Added.
16249         * Drosera/win: Added.
16250         * Drosera/win/BaseDelegate.h: Added.
16251         (BaseDelegate::QueryInterface):
16252         (BaseDelegate::didFinishLoadForFrame):
16253         (BaseDelegate::windowScriptObjectAvailable):
16254         (BaseDelegate::didStartProvisionalLoadForFrame):
16255         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
16256         (BaseDelegate::didFailProvisionalLoadWithError):
16257         (BaseDelegate::didCommitLoadForFrame):
16258         (BaseDelegate::didReceiveTitle):
16259         (BaseDelegate::didReceiveIcon):
16260         (BaseDelegate::didFailLoadWithError):
16261         (BaseDelegate::didChangeLocationWithinPageForFrame):
16262         (BaseDelegate::willPerformClientRedirectToURL):
16263         (BaseDelegate::didCancelClientRedirectForFrame):
16264         (BaseDelegate::willCloseFrame):
16265         (BaseDelegate::createWebViewWithRequest):
16266         (BaseDelegate::webViewShow):
16267         (BaseDelegate::webViewClose):
16268         (BaseDelegate::webViewFocus):
16269         (BaseDelegate::webViewUnfocus):
16270         (BaseDelegate::webViewFirstResponder):
16271         (BaseDelegate::makeFirstResponder):
16272         (BaseDelegate::setStatusText):
16273         (BaseDelegate::webViewStatusText):
16274         (BaseDelegate::webViewAreToolbarsVisible):
16275         (BaseDelegate::setToolbarsVisible):
16276         (BaseDelegate::webViewIsStatusBarVisible):
16277         (BaseDelegate::setStatusBarVisible):
16278         (BaseDelegate::webViewIsResizable):
16279         (BaseDelegate::setResizable):
16280         (BaseDelegate::setFrame):
16281         (BaseDelegate::webViewFrame):
16282         (BaseDelegate::setContentRect):
16283         (BaseDelegate::webViewContentRect):
16284         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
16285         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
16286         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
16287         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
16288         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
16289         (BaseDelegate::mouseDidMoveOverElement):
16290         (BaseDelegate::contextMenuItemsForElement):
16291         (BaseDelegate::validateUserInterfaceItem):
16292         (BaseDelegate::shouldPerformAction):
16293         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
16294         (BaseDelegate::willPerformDragDestinationAction):
16295         (BaseDelegate::dragSourceActionMaskForPoint):
16296         (BaseDelegate::willPerformDragSourceAction):
16297         (BaseDelegate::contextMenuItemSelected):
16298         (BaseDelegate::hasCustomMenuImplementation):
16299         (BaseDelegate::trackCustomPopupMenu):
16300         (BaseDelegate::measureCustomMenuItem):
16301         (BaseDelegate::drawCustomMenuItem):
16302         (BaseDelegate::addCustomMenuDrawingData):
16303         (BaseDelegate::cleanUpCustomMenuDrawingData):
16304         (BaseDelegate::canTakeFocus):
16305         (BaseDelegate::takeFocus):
16306         (BaseDelegate::registerUndoWithTarget):
16307         (BaseDelegate::removeAllActionsWithTarget):
16308         (BaseDelegate::setActionTitle):
16309         (BaseDelegate::undo):
16310         (BaseDelegate::redo):
16311         (BaseDelegate::canUndo):
16312         (BaseDelegate::canRedo):
16313         * Drosera/win/DebuggerApplication.cpp: Added.
16314         (DebuggerApplication::serverLoaded):
16315         (DebuggerApplication::serverUnloaded):
16316         (DebuggerApplication::attach):
16317         (DebuggerApplication::numberOfRowsInTableView):
16318         (DebuggerApplication::tableView):
16319         * Drosera/win/DebuggerApplication.h: Added.
16320         (DebuggerApplication::DebuggerApplication):
16321         (DebuggerApplication::knownServers):
16322         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
16323         (breakpointEditorHTMLCallback):
16324         (currentFunctionStackCallback):
16325         (doubleClickMillisecondsCallback):
16326         (evaluateScript_inCallFrame_Callback):
16327         (isPausedCallback):
16328         (localScopeVariableNamesForCallFrame_Callback):
16329         (pauseCallback):
16330         (resumeCallback):
16331         (stepIntoCallback):
16332         (valueForScopeVariableNamed_inCallFrame_Callback):
16333         (staticFunctions):
16334         * Drosera/win/DebuggerObjectCallbacks.h: Added.
16335         * Drosera/win/Drosera.cpp: Added.
16336         (_tWinMain):
16337         (RegisterDroseraClass):
16338         (DroseraWndProc):
16339         (About):
16340         (Attach):
16341         (Drosera::Drosera):
16342         (Drosera::initUI):
16343         (Drosera::QueryInterface):
16344         (Drosera::AddRef):
16345         (Drosera::Release):
16346         (Drosera::didFinishLoadForFrame):
16347         (getDroseraJSClass):
16348         (Drosera::windowScriptObjectAvailable):
16349         (Drosera::webViewClose):
16350         (Drosera::validateUserInterfaceItem):
16351         (Drosera::runJavaScriptAlertPanelWithMessage):
16352         (Drosera::onSize):
16353         * Drosera/win/Drosera.h: Added.
16354         (Drosera::webViewLoaded):
16355         * Drosera/win/Drosera.vcproj: Added.
16356         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
16357         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
16358         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
16359         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
16360         * Drosera/win/HelperFunctions.h: Added.
16361         (CFStringToBSTR):
16362         * Drosera/win/Info.plist: Added.
16363         * Drosera/win/resource.h: Added.
16364         * Drosera/win/stdafx.cpp: Added.
16365         * Drosera/win/stdafx.h: Added.
16367 2007-07-09  Adam Treat  <adam@staikos.net>
16369         Reviewed by George Staikos.
16371         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
16372         traces of widgets.
16374         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16375         (WebCore::DumpRenderTree::DumpRenderTree):
16377 2007-07-09  Anders Carlsson  <andersca@apple.com>
16379         Reviewed by Oliver.
16381         <rdar://problem/4954319>
16382         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
16383         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
16385         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
16386         return an error from NPP_NewStream.
16388         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16389         (pluginAllocate):
16390         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
16391         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
16392         (NPP_New):
16393         (NPP_NewStream):
16395 2007-07-08  Mark Rowe  <mrowe@apple.com>
16397         Change name from WebKit/Qt to WebKit.
16399         * CodeCoverage/regenerate-coverage-display:
16401 2007-07-08  Rob Buis  <buis@kde.org>
16403         Reviewed by Mitz.
16405         http://bugs.webkit.org/show_bug.cgi?id=14209
16406         DRT should be able to deal with text zoom
16408         Allow increasing/decreasing text zoom using eventSender.
16410         * DumpRenderTree/DumpRenderTree.m:
16411         (runTest):
16412         * DumpRenderTree/EventSendingController.m:
16413         (+[EventSendingController initialize]):
16414         (+[EventSendingController isSelectorExcludedFromWebScript:]):
16415         (-[EventSendingController textZoomIn]):
16416         (-[EventSendingController textZoomOut]):
16418 2007-07-07  Mark Rowe  <mrowe@apple.com>
16420         Reviewed by Oliver.
16422         * DumpRenderTree/DumpRenderTree.m:
16423         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
16425 2007-07-06  Anders Carlsson  <andersca@apple.com>
16427         Reviewed by David Kilzer.
16429         <rdar://problem/5313502>
16430         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
16432         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
16433         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
16435         * DumpRenderTree/DumpRenderTree.m:
16436         (convertMIMEType):
16437         (convertWebResourceDataToString):
16438         (convertWebResourceResponseToDictionary):
16439         (serializeWebArchiveToXML):
16441 2007-07-06  Timothy Hatcher  <timothy@apple.com>
16443         Reviewed by Oliver.
16445         Initialize the NSMutableAttributedString directly instead of creating
16446         a NSAttributedString first.
16448         * DumpRenderTree/TextInputController.m:
16449         (-[TextInputController attributedStringWithString:]):
16451 2007-07-06  Anders Carlsson  <andersca@apple.com>
16453         Reviewed by David Kilzer.
16455         Replace "Apple Computer" with "Apple" in the DTD declaration.
16457         * DumpRenderTree/DumpRenderTree.m:
16458         (serializeWebArchiveToXML):
16460 2007-07-06  Adam Treat  <adam@staikos.net>
16462         Reviewed by George Staikos.
16464         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
16466         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16467         (WebCore::DumpRenderTree::DumpRenderTree):
16469 2007-07-06  George Staikos  <staikos@kde.org>
16471         Reviewed by Anders.
16473         Allow passing of additional arguments to qmake with --qmakearg=
16475         * Scripts/webkitdirs.pm:
16477 2007-07-05  George Staikos  <staikos@kde.org>
16479         Reviewed by Maciej.
16481         Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
16482         give a path to a specific qmake binary.  Both are optional.
16484         * Scripts/webkitdirs.pm:
16486 2007-07-05  Adam Roben  <aroben@apple.com>
16488         Warn about tests in the Skipped file that succeeded
16490         * Scripts/run-webkit-tests:
16492 2007-07-05  Adam Roben  <aroben@apple.com>
16494         Removed unused install-win-extras script
16496         Rubberstamped by Mark.
16498         * Scripts/install-win-extras: Removed.
16500 2007-07-05  Adam Roben  <aroben@apple.com>
16502         Show the test's extension in the results page
16504         * Scripts/run-webkit-tests:
16506 2007-07-05  Adam Roben  <aroben@apple.com>
16508         Add more options for controlling the interpretation of the Skipped file
16510         Reviewed by Mark.
16512         * Scripts/run-webkit-tests:
16514 2007-07-04  Adam Roben  <aroben@apple.com>
16516         Add --skipped-only option to run-webkit-tests
16518         When this option is specified, only those tests listed in the Skipped
16519         file are run.
16521         Reviewed by Mark.
16523         * Scripts/run-webkit-tests:
16525 2007-07-04  Adam Roben  <aroben@apple.com>
16527         Clean up/alphabetize the run-webkit-tests help message
16529         * Scripts/run-webkit-tests:
16531 2007-07-04  Adam Roben  <aroben@apple.com>
16533         Enable a Leopard-specific Skipped list.
16535         Reviewed by Mark.
16537         * Scripts/run-webkit-tests: Check for Leopard.
16538         * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
16540 2007-07-03  Adam Roben  <aroben@apple.com>
16542         Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
16544         Got rid of extract-webkit-localizable-strings because it was trying to
16545         do update-webkit-localizable-strings' job.
16547         Rubberstamped by Darin Adler.
16549         * Scripts/extract-webkit-localizable-strings: Removed.
16550         * Scripts/update-webkit-localizable-strings: Renamed from
16551         extract-localizable-strings.
16553 2007-07-03  Adam Roben  <aroben@apple.com>
16555         Modify scripts to keep Mac/Windows localized strings in sync
16557         extract-webkit-localizable-strings now handles extracting strings from
16558         both the Mac and Windows WebKit ports and updating their respective
16559         Localizable.strings files. extract-localizable-strings is now really a
16560         piece of plumbing rather than a top-level tool.
16562         Reviewed by Darin and Anders.
16564         * Scripts/extract-localizable-strings: Changed to handle multiple
16565         directories.
16566         * Scripts/extract-webkit-localizable-strings: Added.
16568 2007-07-03  Adele Peterson  <adele@apple.com>
16570         Reviewed by Darin Adler.
16572         Extended DumpRenderTree to test encoding and decoding host names.
16574         * DumpRenderTree/DumpRenderTree.m:
16575         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
16576         (+[LayoutTestController webScriptNameForSelector:]): ditto.
16577         (-[LayoutTestController decodeHostName:]): Added.
16578         (-[LayoutTestController encodeHostName:]): Added.
16580 2007-07-03  Sam Weinig  <sam@webkit.org>
16582         Reviewed by Darin Adler.
16584         Eleventh round of fixes for implicit 64-32 bit conversion errors.
16585         <rdar://problem/5292262>
16587         Add functions to test long long and unsigned long long.
16589         * DumpRenderTree/DumpRenderTree.m:
16590         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16591         (+[LayoutTestController webScriptNameForSelector:]):
16592         (-[LayoutTestController objCLongLongRoundTrip:]):
16593         (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
16595 2007-07-01  Adam Roben  <aroben@apple.com>
16597         Fix some paths to make http tests work again on Windows
16599         Rubberstamped by Sam.
16601         * Scripts/run-webkit-tests:
16603 2007-06-28  Stephanie  <slewis@apple.com>
16605         Reviewed by Adam,
16607         Allow tests to use pre-built roots instead of building the tests.
16609         * Scripts/run-javascriptcore-tests: added --root option
16610         * Scripts/run-webkit-tests: added --root option
16611         * Scripts/webkitdirs.pm: added support for using a root
16613 2007-06-25  Adam Roben  <aroben@apple.com>
16615         Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
16616         http://bugs.webkit.org/show_bug.cgi?id=14405
16618         Reviewed by Anders.
16620         * Scripts/run-webkit-tests:
16622 2007-06-25  Adam Roben  <aroben@apple.com>
16624         Enable running the regression tests on Windows.
16626         These changes were developed alongside the Windows WebKit port and
16627         have been well tested.
16629         Rubberstamped by Sam.
16631         * Scripts/run-webkit-tests:
16633 2007-06-25  Adam Roben  <aroben@apple.com>
16635         Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
16636         http://bugs.webkit.org/show_bug.cgi?id=14403
16638         Reviewed by Mark Rowe.
16640         * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
16641         (sub createPatchCommand): Generate a correct diff in the $gitCommit
16642         case.
16644 2007-06-25  Adam Roben  <aroben@apple.com>
16646         Land pdevenv and supporting scripts/programs
16648         pdevenv is a script that will open an instance of Visual Studio that
16649         can compile multiple files in parallel, similar to make -jN. It uses
16650         the following scripts/programs to accomplish this:
16652         CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
16654         parallelcl: Actually performs the parallel compilation by forking
16655         multiple instances of the Microsoft-supplied cl.exe.
16657         MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
16658         Microsoft-supplied midl.exe. This avoids having to invoke perl for
16659         every invocation of midl.exe, which would be quite slow.
16661         Rubberstamped by Sam.
16663         * CLWrapper/CLWrapper.cpp: Added.
16664         (wmain):
16665         * CLWrapper/CLWrapper.sln: Added.
16666         * CLWrapper/CLWrapper.vcproj: Added.
16667         * MIDLWrapper/MIDLWrapper.cpp: Added.
16668         (wmain):
16669         * MIDLWrapper/MIDLWrapper.sln: Added.
16670         * MIDLWrapper/MIDLWrapper.vcproj: Added.
16671         * Scripts/parallelcl: Added.
16672         * Scripts/pdevenv: Added.
16673         * vcbin/cl.exe: Added.
16674         * vcbin/midl.exe: Added.
16676 2007-06-23  Adam Roben  <aroben@apple.com>
16678         Land num-cpus for the Windows build.
16680         Reviewed by Mark Rowe.
16682         * Scripts/num-cpus: Added.
16684 2007-06-22  Simon Hausmann  <hausmann@kde.org>
16686         Reviewed by Adam Roben.
16688         Added support for populating ChangeLog entries from given git commits
16689         using --git-commit=<commitish> and --git-reviewer=<name>.
16691         * Scripts/prepare-ChangeLog:
16693 2007-06-22  Timothy Hatcher  <timothy@apple.com>
16695         Reviewed by Anders.
16697         <rdar://problem/5228168> Leopard regression test failures: fast/applescript
16699         There were some changes in Leopard that made our test output inconsistent with Tiger.
16701         NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
16702         on Leopard, so output our own readable string for typeType descriptors.
16704         NSArray's description also changed on Leopard to output more whitespace, so
16705         make our own string representation for typeAEList descriptors. This requires
16706         a special case typeUnicodeText too, so the output is a quoted string.
16708         * DumpRenderTree/AppleScriptController.m:
16709         (convertAEDescToObject):
16711 2007-06-21  Anders Carlsson  <andersca@apple.com>
16713         Reviewed by Geoff.
16715         Don't dump didFirstLayout callbacks, they happen intermittently.
16717         * DumpRenderTree/FrameLoadDelegate.m:
16719 2007-06-21  Lars Knoll  <lars@trolltech.com>
16721         Reviewed by Simon.
16723         look for the Qt library in the installed location
16725         * Scripts/webkitdirs.pm:
16727 2007-06-20  Geoffrey Garen  <ggaren@apple.com>
16729         Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
16731         Added tests for stringByEvaluatingJavaScriptFromString.
16733         * DumpRenderTree/DumpRenderTree.m:
16734         (testStringByEvaluatingJavaScriptFromString):
16735         (dumpRenderTree):
16737 2007-06-19  Andrew Wellington  <proton@wiretapped.net>
16739         Reviewed by Mark Rowe.
16741         Support applications with spaces or special characters in their names
16743         * Scripts/run-webkit-app:
16745 2007-06-18  Anders Carlsson  <andersca@apple.com>
16747         Reviewed by John Sullivan.
16749         Assert that the frame has a dataSource.
16751         * DumpRenderTree/FrameLoadDelegate.m:
16752         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
16754 2007-06-18  Adam Treat <adam@staikos.net>
16756         Reviewed by George.
16758         Reflect the library name change.
16760         * Scripts/webkitdirs.pm:
16762 2007-06-18  Jake Helfert  <jake@jakeonthenet.com>
16764         Reviewed by Adam.
16766         - fix http://bugs.webkit.org/show_bug.cgi?id=14154
16767           Spinneret doesn't build against the new Win32 port.
16769         * Spinneret/Spinneret/Spinneret.cpp:
16770         (_tWinMain):
16771             -Changed IWebViewExt to IWebViewPrivate
16772             -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
16773              the WIN32 function RegisterDragDrop which requires the Ole* calls.
16774         * Spinneret/Spinneret/Spinneret.h:
16775         (SpinneretWebHost::didReceiveIcon): Updated method signature.
16776         (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
16777         (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
16779 2007-06-14  Sam Weinig  <sam@webkit.org>
16781         Reviewed by Brady.
16783         Update set of files to download for cygwin to include
16784         diffutils and regenerate the zip file.  This should fix
16785         an issue on vista where svn-create-patch doesn't work.
16787         * CygwinDownloader/cygwin-downloader.py:
16788         * CygwinDownloader/cygwin-downloader.zip:
16790 2007-06-14  Mark Rowe  <mrowe@apple.com>
16792         Update script to match new nightly.webkit.org infrastructure.
16794         * BuildSlaveSupport/build-launcher-dmg:  Upload to the live web server, not the caching proxy.  Let the server know it's a Mac build.
16796 2007-06-12  Adam Roben  <aroben@apple.com>
16798         Land CygwinDownloader.
16800         Rubberstamped by Hyatt.
16802         * CygwinDownloader/cygwin-downloader.py: Added.
16803         * CygwinDownloader/cygwin-downloader.zip: Added.
16804         * CygwinDownloader/make-zip.sh: Added.
16805         * CygwinDownloader/setup.py: Added.
16807 2007-06-06  Vladimir Olexa  <vladimir.olexa@gmail.com>
16809         Reviewed by Mark Rowe.
16811         Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
16812         [Drosera] Items in the file list don't get un-highlighted when
16813         files are selected from the file drop-down
16815         * Drosera/debugger.js: currentFile was getting modified before file in the file
16816         browser got un-highlighted. Changed the order in which the functions execute.
16818 2007-06-06  Mark Rowe  <mrowe@apple.com>
16820         Reviewed by Maciej.
16822         http://bugs.webkit.org/show_bug.cgi?id=13988
16823         Bug 13988: Colon in file path crashes WebKit Nightly
16825         The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
16826         the bundled WebKit framework.  Both of these variables are interpreted as containing a
16827         colon-delimited list of paths.  There is no escaping mechanism defined, so if we detect
16828         a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
16829         when we execute Safari.
16831         * WebKitLauncher/main.m:
16832         (main):
16834 2007-06-05  Mark Rowe  <mrowe@apple.com>
16836         Reviewed by Anders.
16838         * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
16840 2007-05-30  Alp Toker  <alp.toker@collabora.co.uk>
16842         Reviewed by Brady.
16844         Enable logging in the Gdk port.
16845         http://bugs.webkit.org/show_bug.cgi?id=13936
16847         * GdkLauncher/main.cpp:
16848         (main):
16850 2007-05-29  Holger Freyther  <zecke@selfish.org>
16852         Reviewed by Anders.
16854         Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
16855         to provide ScrollBars for the FrameView.
16857         * GdkLauncher/main.cpp:
16858         (registerRenderingAreaEvents):
16859         (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
16860         (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
16861         (main):
16863 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
16865         Reviewed by Darin Adler.
16867         - fix http://bugs.webkit.org/show_bug.cgi?id=13901
16868           run-pageloadtest does not obey testName on command-line
16870         * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
16871         otherwise default to "svg".  Added dummy check to make sure $testName.pltsuite
16872         exists.
16874 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
16876         Reviewed by Darin Adler.
16878         - fix http://bugs.webkit.org/show_bug.cgi?id=13900
16879           svnStatus($) subroutine in svn-[un]apply does not work properly with directories
16881         This patch also fixes an instance of the "broken pipe" warning that happened when
16882         a directory contained modified files that were not part of an applied or unapplied
16883         patch.
16885         * Scripts/svn-apply:
16886         (svnStatus($)): If we're trying to get status on a directory (instead of a file),
16887         make sure we actually get the directory's status (if it has one), not the first
16888         file's status reported within the directory.  Fix "broken pipe" warnings by
16889         reading all of the output from the SVN filehandle before closing it.
16890         * Scripts/svn-unapply:
16891         (svnStatus($)): Ditto.
16893 2007-05-28  David Kilzer  <ddkilzer@webkit.org>
16895         Reviewed by Darin Adler.
16897         - fix http://bugs.webkit.org/show_bug.cgi?id=10342
16898           prepare-ChangeLog only shows removed files but not added files when files are moved
16899         - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
16900           prepare-ChangeLog and svn-create-patch don't show replaced files
16902         Switched method used to find list of changed files from "diff" to "status".  This
16903         makes added and replaced files with history appear in the changed file list for svn.
16904         Added check for "+" in output from the svn status command to detect file history, and
16905         handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
16907         * Scripts/prepare-ChangeLog:
16908         (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
16909         (statusCommand(@)): Switched argument from array ref to array.  Necessary to use
16910         the output of "keys $paths" without creating a temporary array variable.
16911         (findOriginalFileFromSvn($)): Added.  Based on findSourceFileAndRevision($)
16912         subroutine in svn-create-patch.
16913         (generateFileList(\@\@\%)): Added.  Extracted from main body of script.  Runs status
16914         command using command-line arguments instead of list of changed files from the diff
16915         command.  Changed svn regex to only accept file statuses that we know how to handle.
16916         Identify original file when an added/replaced status with history is present.
16917         (statusDescription($$)): Handled added/replaced statuses with history.  Added
16918         fall-through return statement.
16920 2007-05-28  Holger Freyther  <zecke@selfish.org>
16922         Reviewed by Mark Rowe.
16924         Add scripts and data to generate a coverage data for WebKit.
16926         * CodeCoverage/README: Added.
16927         * CodeCoverage/amber.png: Added.
16928         * CodeCoverage/cov.py: Added.
16929         * CodeCoverage/emerald.png: Added.
16930         * CodeCoverage/gcov.css: Added.
16931         * CodeCoverage/glass.png: Added.
16932         * CodeCoverage/regenerate-coverage-display: Added.
16933         * CodeCoverage/ruby.png: Added.
16934         * CodeCoverage/run-generate-coverage-data: Added.
16935         * CodeCoverage/snow.png: Added.
16936         * Scripts/build-webkit: Add --coverage by Niko
16937         * Scripts/check-for-global-initializers: Skip the check on coverage builds
16938         * Scripts/generate-coverage-data: Added.
16939         * Scripts/run-javascriptcore-tests: Add --coverage by Niko
16941 2007-05-29  Mark Rowe  <mrowe@apple.com>
16943         Build fix after r21745.
16945         * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
16947 2007-05-25  Anders Carlsson  <andersca@apple.com>
16949         Fix build.
16951         * DumpRenderTree/DumpRenderTree.m:
16952         * DumpRenderTree/FrameLoadDelegate.m:
16954 2007-05-25  Simon Hausmann  <hausmann@kde.org>
16956         Reviewed by Zack.
16958         For the keyDown binding use QStringList instead of QList<QString>. The former is a default
16959         registered metatype. Also print out critical messages in dumprendertree's qt message handler.
16961         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16962         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
16963         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
16965 2007-05-20  David Kilzer  <ddkilzer@webkit.org>
16967         Reviewed by Adam Roben.
16969         - fix http://bugs.webkit.org/show_bug.cgi?id=13565
16970           Change svn-create-patch to put LayoutTests in the end
16972         In addition to reordering test files under the LayoutTests directory so that they
16973         appear after source code files, this patch fixes an issue with prepare-ChangeLog
16974         if the first argument passed to it is a file name instead of a directory name.
16976         * Scripts/prepare-ChangeLog:
16977         (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
16978         (isSVN()): Ditto.
16979         * Scripts/svn-create-patch:
16980         (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
16981         source code files.
16983 2007-05-18  Mark Rowe  <mrowe@apple.com>
16985         Reviewed by Oliver.
16987         Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
16989         * Scripts/svn-create-patch:
16990         * Scripts/webkitdirs.pm:
16992 2007-05-18  Holger Freyther  <zecke@selfish.org>
16994         Reviewed by Maciej.
16996         * GdkLauncher/main.cpp: Call setGtkWidget
16997         (main):
16999 2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>
17001         Reviewed by Mark Rowe.
17003         * GdkLauncher/main.cpp:
17004         (main): Call Frame::init to catch up with Maciej's changes.
17005         * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
17006         passed to the helper scripts.
17008 2007-05-16  Brady Eidson  <beidson@apple.com>
17010         Build fix for some dev configurations
17012         * DumpRenderTree/DumpRenderTree.m:
17014 2007-05-16  Maciej Stachowiak  <mjs@apple.com>
17016         Reviewed by Justin.
17018         - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
17020         The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
17021         that happen before the load commits.
17023         Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
17024         optional logging for every FrameLoadDelegate callback, including SPI callbacks.
17026         * DumpRenderTree/DumpRenderTree.h:
17027         * DumpRenderTree/DumpRenderTree.m:
17028         (createWebView):
17029         (dumpRenderTree):
17030         (dump):
17031         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17032         (-[LayoutTestController clearBackForwardList]):
17033         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
17034         (-[LayoutTestController dumpFrameLoadCallbacks]):
17035         (-[LayoutTestController setWindowIsKey:]):
17036         (-[LayoutTestController setMainFrameIsFirstResponder:]):
17037         (-[LayoutTestController _doLoad:target:]):
17038         (-[LayoutTestController _doBackOrForwardNavigation:]):
17039         (-[LayoutTestController queueReload]):
17040         (-[LayoutTestController queueScript:]):
17041         (-[LayoutTestController queueLoad:target:]):
17042         (-[LayoutTestController setAcceptsEditing:]):
17043         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
17044         (shouldLogFrameLoadDelegates):
17045         (runTest):
17046         (displayWebView):
17047         (+[DumpRenderTreeEvent mouseLocation]):
17048         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17049         * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
17050         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
17051         * DumpRenderTree/EventSendingController.m:
17052         (-[EventSendingController mouseDown]):
17053         (-[EventSendingController mouseUp]):
17054         (-[EventSendingController mouseMoveToX:Y:]):
17055         (-[EventSendingController contextClick]):
17056         * DumpRenderTree/FrameLoadDelegate.h: Added.
17057         * DumpRenderTree/FrameLoadDelegate.m: Added.
17058         (-[WebFrame _drt_descriptionSuitableForTestResult]):
17059         (-[FrameLoadDelegate processWork:]):
17060         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
17061         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
17062         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
17063         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
17064         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
17065         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
17066         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
17067         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
17068         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
17069         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
17070         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
17071         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
17072         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
17073         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
17074         (-[FrameLoadDelegate webView:willCloseFrame:]):
17075         (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
17076         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
17077         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
17078         * DumpRenderTree/ResourceLoadDelegate.m:
17079         (-[NSURL _drt_descriptionSuitableForTestResult]):
17080         * DumpRenderTree/UIDelegate.m:
17081         (-[UIDelegate webViewFocus:]):
17083 2007-05-16  Kevin McCullough  <kmccullough@apple.com>
17085         Reviewed by Darin and Geoff.
17087         - rdar://problem/4981886
17088         - Now windows opened by the DOM can be closed by JS.
17090         * DumpRenderTree/DumpRenderTree.m:
17091         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17092         (-[LayoutTestController windowCount]):
17094 2007-05-15  Adam Roben  <aroben@apple.com>
17096         Reviewed by David Kilzer.
17098         http://bugs.webkit.org/show_bug.cgi?id=13732
17099         prepare-ChangeLog should work with git
17101         * Scripts/prepare-ChangeLog: Added support for Git.
17103 2007-05-15  Lars Knoll <lars@trolltech.com>
17105         Reviewed by Zack
17107         Add the EventSender object to DRT. Currently it implements
17108         mouseDown, mouseUp and mouseMoveTo.
17110         Make run-webkit-tests --strict work somewhat better for form elements.
17112         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17113         (WebCore::DumpRenderTree::DumpRenderTree):
17114         (WebCore::DumpRenderTree::initJSObjects):
17115         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
17116         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
17117         (HackWebFrame::mousePressEvent):
17118         (HackWebFrame::mouseReleaseEvent):
17119         (EventSender::EventSender):
17120         (EventSender::mouseDown):
17121         (EventSender::mouseUp):
17122         (EventSender::mouseMoveTo):
17123         (EventSender::leapForward):
17124         (EventSender::keyDown):
17125         (EventSender::frameUnderMouse):
17126         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
17127         * Scripts/run-webkit-tests:
17129 2007-05-12  Oliver Hunt  <oliver@apple.com>
17131         Reviewed by Hyatt.
17133         Add new api to DRT to allow us to test a file being dragged
17134         onto <input type="file">
17136         * DumpRenderTree/DumpRenderTree.h:
17137         * DumpRenderTree/DumpRenderTree.m:
17138         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17139         (-[LayoutTestController addFileToPasteboardOnDrag]):
17140         (runTest):
17141         * DumpRenderTree/UIDelegate.m:
17142         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
17144 2007-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
17146         Reviewed by Maciej.
17148         Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
17149         http://bugs.webkit.org/show_bug.cgi?id=13656
17151         * GdkLauncher/main.cpp: Handle resizing the drawing area
17152         (frameResizeCallback):
17153         (main):
17155 2007-05-11  Geoffrey Garen  <ggaren@apple.com>
17157         Reviewed by Darin Adler.
17159         Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
17160         is gone.
17162         * DumpRenderTree/DumpRenderTree.m:
17163         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
17164         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17165         (+[LayoutTestController webScriptNameForSelector:]):
17166         (-[LayoutTestController testWrapperRoundTripping:]):
17168 2007-05-08  Maciej Stachowiak  <mjs@apple.com>
17170         Reviewed by Oliver.
17172         - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
17173         since destroying a subframe can make one go away
17175         (Discovered while fixing:
17177         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
17178         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
17180         * DumpRenderTree/DumpRenderTree.m:
17181         (runTest): explicitly clear saved events after every page load
17182         * DumpRenderTree/EventSendingController.h:
17183         * DumpRenderTree/EventSendingController.m:
17184         (-[EventSendingController dealloc]): don't clear saved events here...
17185         (+[EventSendingController clearSavedEvents]): do it here
17186         * Scripts/check-for-global-initializers:
17188 2007-05-10  Mark Rowe  <mrowe@apple.com>
17190         Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
17192         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17194 2007-05-09  Geoffrey Garen  <ggaren@apple.com>
17196         Reviewed by Maciej Stachowiak.
17198         Added support for testing ObjC/JS type bridging.
17200         Added ASSERT that -JSObject returns nil when the underlying JSObject
17201         is no longer GC protected.
17203         * DumpRenderTree/DumpRenderTree.m:
17204         (returnThisCallback):
17205         (returnThisClass):
17206         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
17207         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17208         (+[LayoutTestController webScriptNameForSelector:]):
17209         (-[LayoutTestController accessStoredWebScriptObject]):
17210         (-[LayoutTestController testWrapperRoundTripping]):
17211         (-[LayoutTestController objCClassNameOf:]):
17212         (-[LayoutTestController objCObjectOfClass:]):
17213         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17215 2007-05-10  Lars Knoll <lars@trolltech.com>
17217         Reviewed by Simon
17219         Move setting of the DPI value a few lines up. Should fix
17220         the last two remaining failures in the layout tests.
17222         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17223         (main):
17225 2007-05-09  Holger Freyther <zecke@selfish.org>
17227         Reviewed by Mark Rowe.
17229         * GdkLauncher/main.cpp: Always include config.h.
17231 2007-05-08  Geoffrey Garen  <ggaren@apple.com>
17233         Reviewed by Darin Adler.
17235         Added support for testing ObjC object identity.
17237         Added ASSERT to verify that you can round-trip the object passed to you
17238         in -didClearWindowObject:forFrame:.
17240         * DumpRenderTree/DumpRenderTree.m:
17241         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
17242         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17243         (+[LayoutTestController webScriptNameForSelector:]):
17244         (-[LayoutTestController accessStoredWebScriptObject]):
17245         (-[LayoutTestController objCIdentityIsEqual::]):
17247 2007-05-07  Geoffrey Garen  <ggaren@apple.com>
17249         Reviewed by Maciej Stachowiak.
17251         Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
17252         and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
17253         forFrame:(WebFrame *)frame, in the form of ASSERTs.
17255         * DumpRenderTree/DumpRenderTree.m:
17256         (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
17257         to complain about.
17259         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
17260         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
17261         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17263 2007-05-08  Lars Knoll <lars@trolltech.com>
17265         Reviewed by Zack.
17267         Dump JavaScript console messages as well. Also requires a slight
17268         change in run-webkit-tests, so we still correctly differentiate
17269         between text only and rendertree tests.
17271         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17272         (WebCore::WebPage::WebPage):
17273         (WebCore::WebPage::javaScriptConsoleMessage):
17274         (WebCore::DumpRenderTree::DumpRenderTree):
17275         (WebCore::DumpRenderTree::dump):
17276         * Scripts/run-webkit-tests:
17278 2007-05-08  Lars Knoll <lars@trolltech.com>
17280         Reviewed by Zack
17282         Specify what the serif, sans-serif and monospace aliases
17283         should map to and explicitly select the Gui style of
17284         DRT to be plastique.
17286         Fixes most of the test failures still seen on the build bot.
17288         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
17289         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17290         (main):
17292 2007-05-07  Lars Knoll <lars@trolltech.com>
17294         Reviewed by Zack
17296         Fix the default font to 9pt Sans Serif.
17298         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17299         (main):
17301 2007-05-04  Lars Knoll <lars@trolltech.com>
17303         Reviewed by Zack
17305         Revert on line of the last commit. We still want to keep the RPATH
17306         support in the pro file.
17308         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17310 2007-05-04  Lars Knoll <lars@trolltech.com>
17312         Reviewed by Zack
17314         Remove the old bitmap fonts I tried using to get reliable results from
17315         DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
17316         ghostscript. I've added a mirror to simply check them out at
17317         svn://labs.trolltech.com/svn/webkit/testfonts.
17319         Fixed DumpRenderTree to make sure these fonts are the only ones we use
17320         on X11 and added a fonts.conf file to get a well defined fontconfig
17321         configuration.
17323         Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
17324         I use to find the fonts to DumpRenderTree.
17326         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17327         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
17328         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
17329         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
17330         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
17331         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
17332         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
17333         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
17334         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
17335         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
17336         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
17337         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
17338         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
17339         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
17340         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
17341         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
17342         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
17343         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17344         (main):
17345         * Scripts/run-webkit-tests:
17347 2007-05-03  Holger Freyther <freyther@kde.org>
17349         Reviewed by Zack, landed by Simon.
17350         This is bugzilla bug 13499.
17352         * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
17353         * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
17354         * Scripts/build-webkit: Add --gdk for the Gdk port
17355         * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
17357 2007-05-03  Geoffrey Garen  <ggaren@apple.com>
17359         Build fix: Add AllInOneFile.o to the ignore list, since it includes files
17360         in the ignore list.
17362         * Scripts/check-for-global-initializers:
17364 2007-05-02  Holger Freyther <freyther@kde.org>
17366         Reviewed by Mark Rowe.
17368         * Scripts/build-webkit: Remove the CMake call.
17369         * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
17370         buildsystem for the Qt port.
17372 2007-04-27  Kevin McCullough  <kmccullough@apple.com>
17374         - Removed debugging statements and took out the removal of the deletion
17375           of the symlink.  This is because multiple instances of run-webkit-tests
17376           can be running at the same time.
17377         * Scripts/run-webkit-tests:
17379 2007-04-27  Adam Roben <aroben@apple.com>
17381         Reviewed by Maciej.
17383         Cleaned up prepare-ChangeLog
17385         * Scripts/prepare-ChangeLog: No code changes, but style now matches
17386         the prevalent style of our perl scripts.
17388 2007-04-27  Nazar Kulyk  <schamane@myeburg.net>
17390         Reviewed by Mark Rowe.
17392         Basic auto-correction of user-entered URLs.
17394         * GdkLauncher/main.cpp:
17395         (autocorrectURL):
17396         (goToURLBarText):
17397         (main):
17399 2007-04-28  Mark Rowe  <mrowe@apple.com>
17401         Rubber-stamped by Anders.
17403         Rename some methods and variables to match the style guidelines.
17405         * GdkLauncher/main.cpp:
17406         (stringIsEmpty):
17407         (stringIsEqual):
17408         (goToURLBarText):
17409         (goButtonClickedCallback):
17410         (urlBarEnterCallback):
17411         (frameResizeCallback):
17412         (frameDestroyCallback):
17413         (menuMainBackCallback):
17414         (menuMainForwardCallback):
17415         (menuMainQuitCallback):
17416         (main):
17418 2007-04-27  Holger Freyther <freyther@kde.org>
17420         Reviewed by Maciej.
17422         Remove unmaintained CMake build system.
17424         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
17425         * Scripts/build-webkit: Remove references to CMake.
17426         * Scripts/webkitdirs.pm: Remove references to CMake.
17428 2007-04-26  Alp Toker  <alp@atoker.com>
17430         Reviewed by Mark Rowe.
17432         * GdkLauncher/main.cpp:
17433         (main): Avoid use of deprecated API.
17435 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
17437         - Changed debugging statements for more information.
17439         * Scripts/run-webkit-tests:
17441 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
17443         - Adding debugging statements to see why these tests fail.  These will be removed.
17445         * Scripts/run-webkit-tests:
17447 2007-04-25  Anders Carlsson  <andersca@apple.com>
17449         Reviewed by Mitz.
17451         Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
17452         the dashboard compatibility mode.
17454         * DumpRenderTree/DumpRenderTree.m:
17455         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17456         (+[LayoutTestController webScriptNameForSelector:]):
17457         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
17458         (runTest):
17459         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17461 2007-04-24  Timothy Hatcher  <timothy@apple.com>
17463         Setting the valid architectures to 32-bit only, so these projects
17464         will ignore requests to build them 64-bit. Once they can be built 64-bit,
17465         the valid architectures can be updated.
17467         * Drosera/Drosera.xcodeproj/project.pbxproj:
17468         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17470 2007-04-23  Adam Roben  <aroben@apple.com>
17472         Reviewed by Mark Rowe and David Kilzer.
17474         * Scripts/build-webkit: Print the path to the run-safari script when
17475         finished building so that users can copy-and-paste the command to
17476         execute it.
17478 2007-04-23  Darin Adler  <darin@apple.com>
17480         Reviewed by Hyatt.
17482         - rename box-sizing to -webkit-box-sizing
17484         * Drosera/console.css: Here.
17485         * Drosera/debugger.css: And here.
17486         * Drosera/viewer.css: And here.
17488 2007-04-21  Mitz Pettel  <mitz@webkit.org>
17490         Reviewed by Darin Adler.
17492         - http://bugs.webkit.org/show_bug.cgi?id=13350
17493           Build Ahem into DumpRenderTree
17495         * DumpRenderTree/DumpRenderTree.m:
17496         (activateAhemFont): Added. Activates the copy of Ahem included in the
17497         DumpRenderTree binary.
17498         (dumpRenderTree): Replaced the check that Ahem is available with a call
17499         to activateAhemFont().
17500         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17501           Added linker options to include Ahem in the data section of the
17502           DumpRenderTree binary.
17504 2007-04-20  Adam Roben  <aroben@apple.com>
17506         Reviewed by Darin Adler.
17508         http://bugs.webkit.org/show_bug.cgi?id=13421
17509         Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
17511         * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
17513 2007-04-18  Brady Eidson  <beidson@apple.com>
17515         Reviewed by Tim
17517         <rdar://problem/5008925>
17518         Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
17520         * DumpRenderTree/ResourceLoadDelegate.m:
17521         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
17522           Add the willCacheResponse delegate call
17524 2007-04-18  Adam Roben  <aroben@apple.com>
17526         Reviewed by David Kilzer.
17528         * Scripts/webkitdirs.pm:
17529         (sub setConfiguration): Added an optional argument to set the
17530         configuration instead of parsing it from ARGV.
17532 2007-04-17  Adam Roben  <aroben@apple.com>
17534         * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
17535         files as well.
17537 2007-04-17  Adam Roben  <aroben@apple.com>
17539         Added a simple shell script to find all the headers from a specified
17540         framework or frameworks that are included by files beneath the working
17541         directory.
17543         * Scripts/find-included-framework-headers: Added.
17545 2007-04-16  Timothy Hatcher  <timothy@apple.com>
17547         * Drosera/debugger.css: hide the borders for iframes
17549 2007-04-13  Adam Roben  <aroben@apple.com>
17551         Rubberstamped by Anders.
17553         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
17554         stdio.h so that snprintf is defined.
17556 2007-04-13  Brady Eidson  <beidson@apple.com>
17558         Reviewed by Anders
17560         Add the ability to dump the back/forward history of all windows open at the end of a test
17562         * DumpRenderTree/DumpRenderTree.m:
17563         (dumpBackForwardListForWebView): Dump B/F list for the given WebView
17564         (dump): Call dumpBackForwardListForWebView for each WebView open after the test
17566 2007-04-13  Anders Carlsson  <andersca@apple.com>
17568         Reviewed by Brady.
17570         By default, close any windows that have been opened during a test. This can be overridden by
17571         calling setCloseRemainingWindowsWhenComplete(false).
17573         Change the windows set to an array so we can gurantee the enumeration order.
17575         * DumpRenderTree/DumpRenderTree.m:
17576         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17577         (+[LayoutTestController webScriptNameForSelector:]):
17578         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
17579         (runTest):
17580         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
17581         (-[DumpRenderTreeWindow dealloc]):
17583 2007-04-13  Geoffrey Garen  <ggaren@apple.com>
17585         Build fix.
17587         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17588         (handleCallback): Explicitly cast the void* returned by malloc.
17590 2007-04-12  Deneb Meketa  <dmeketa@adobe.com>
17592         Reviewed by Darin Adler.
17594         http://bugs.webkit.org/show_bug.cgi?id=13029
17595         rdar://problem/4994849
17596         Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
17597         Changes in WebKitTools are only for the NPAPI test plugin.
17599         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
17600         (pluginInvoke): support null window argument for NPStream creation.
17601         (pluginAllocate): initialization.
17602         (pluginDeallocate): cleanup.
17603         (handleCallback): add second JS callback arg: header dump.
17604         (notifyStream): added; hook from NPP_NewStream to record headers.
17605         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
17606         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
17607         (NPP_NewStream): call new header hook.
17609 2007-04-09  Geoffrey Garen  <ggaren@apple.com>
17611         Reviewed by Maciej Stachowiak.
17613         Fixed fast/forms/textarea-paste-newline.html.
17615         This failure was pretty funny. run-webkit-tests kills and respawns
17616         DumpRenderTree once every 1000 runs. Adding a few tests caused
17617         textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
17618         lifetime, before any render tree dumps had occurred. However, WebCore
17619         used a render tree dump as the hook that set a global flag to allow
17620         pasting through the DOM API, so running before any render tree dumps had
17621         occurred caused this test to fail.
17623         * DumpRenderTree/DumpRenderTree.m:
17624         (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
17625         API, instead of hoping it will read the tea leaves.
17627 2007-04-07  Mark Rowe  <mrowe@apple.com>
17629         Not reviewed.  Update to match some configuration changes that have been active on build.webkit.org.
17631         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
17633 2007-04-05  Anders Carlsson  <andersca@apple.com>
17635         Reviewed by Adam.
17637         Add support for opening new windows in DumpRenderTree.
17639         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17640         (+[LayoutTestController webScriptNameForSelector:]):
17641         (-[LayoutTestController setCallCloseOnWebViews:]):
17642         (-[LayoutTestController setCanOpenWindows]):
17643         Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
17644         can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
17645         web views that are about to be closed.
17647         (runTest):
17648         Make sure that only the main window is around when a test has finished running.
17650         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
17651         (-[DumpRenderTreeWindow dealloc]):
17652         Manage the set of windows.
17654         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17655         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
17656         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
17657         (NPP_Destroy):
17658         Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
17660         * DumpRenderTree/UIDelegate.m:
17661         (-[UIDelegate webView:createWebViewWithRequest:]):
17662         Create new windows.
17664         (-[UIDelegate webViewClose:]):
17665         Close windows.
17667 2007-04-05  Anders Carlsson  <andersca@apple.com>
17669         Reviewed by Maciej.
17671         Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
17672         windows in DRT.
17674         * DumpRenderTree/DumpRenderTree.m:
17675         (createWebView):
17676         (dumpRenderTree):
17678 2007-04-03  Anders Carlsson  <andersca@apple.com>
17680         Reviewed by Darin Adler.
17682         Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
17684         * DumpRenderTree/DumpRenderTree.h:
17685         * DumpRenderTree/DumpRenderTree.m:
17686         (dumpRenderTree):
17687         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17688         (+[LayoutTestController webScriptNameForSelector:]):
17689         (-[LayoutTestController addDisallowedURL:]):
17690         (runTest):
17691         * DumpRenderTree/ResourceLoadDelegate.m:
17692         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
17694 2007-04-03  Mark Rowe  <mrowe@apple.com>
17696         Reviewed by Antti.
17698         * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
17700 2007-04-02  Anders Carlsson  <andersca@apple.com>
17702         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
17703         Don't use #import in a header included by C files.
17705 2007-03-31  Mark Rowe  <mrowe@apple.com>
17707         Reviewed by Mitz.
17709         Fix http://bugs.webkit.org/show_bug.cgi?id=13239
17710         Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
17712         Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
17713         rather than -[WebScriptObject count].
17715         * Drosera/DebuggerDocument.m:
17716         (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
17718 2007-03-30  Anders Carlsson  <andersca@apple.com>
17720         Reviewed by Geoff.
17722         Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
17724         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
17725         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
17726         (NPP_New):
17727         Look for the onstreamload attribute.
17729         (NPP_Destroy):
17730         Free the onstreamload attribute.
17732         (NPP_NewStream):
17733         Call the onstreamload handler.
17735 2007-03-30  Geoffrey Garen  <ggaren@apple.com>
17737         Removing an assertion I just added because it's crashing the Leopard
17738         buildbot. The related layout test will still report a failure, so we
17739         don't really need this assertion.
17741         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17742         (pluginInvoke):
17744 2007-03-30  Anders Carlsson  <andersca@apple.com>
17746         Reviewed by Geoff.
17748         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
17749         (testAllocate):
17750         (testEnumerate):
17751         Add casts.
17753         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
17754         Don't use #import, use #include.
17756 2007-03-30  Anders Carlsson  <andersca@apple.com>
17758         Reviewed by Alexey.
17760         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17761         (pluginInvoke):
17762         Free the identifier string.
17764 2007-03-30  Anders Carlsson  <andersca@apple.com>
17766         Reviewed by Geoff.
17768         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17769         Add TestObject.c and TestObject.h
17771         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17772         (pluginGetProperty):
17773         Implement the testObject property.
17775         (pluginInvoke):
17776         Implement testEnumerate which takes an object and an array and enumerates
17777         the properties of the object and adds them to the array.
17779         (pluginAllocate):
17780         Allocate the test object.
17782         (pluginDeallocate):
17783         Free the test object.
17785         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
17786         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
17787         Add a test object with two enumerable properties.
17789 2007-03-29  Geoffrey Garen  <ggaren@apple.com>
17791         Reviewed by Beth Dakin.
17793         Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
17794         -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
17795         navigating away from page with DivX movie plug-in (13203)
17797         Added hasStream property and destroyStream function, used by layout test.
17799         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17800         (pluginGetProperty):
17801         (pluginInvoke):
17802         (pluginAllocate):
17803         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
17804         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
17805         (NPP_NewStream):
17807 2007-03-27  Anders Carlsson  <acarlsson@apple.com>
17809         Reviewed by Geoff.
17811         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17812         (pluginInvoke):
17813         Add new function which takes a function and calls it using NPN_InvokeDefault.
17815 2007-03-27  Adele Peterson  <adele@apple.com>
17817         Adding comment.
17819         * DumpRenderTree/DumpRenderTree.m:
17820         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
17822 2007-03-27  Adele Peterson  <adele@apple.com>
17824         Fix svg tests by calling displayIfNeeded.
17826         * DumpRenderTree/DumpRenderTree.m:
17827         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
17829 2007-03-26  Mark Rowe  <mrowe@apple.com>
17831         Reviewed by Sam Weinig.
17833         Upload crash logs from DumpRenderTree as part of the test results to ease debugging
17834         of hard-to-reproduce crashes.
17836         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
17838 2007-03-23  Adam Treat  <adam@staikos.net>
17840         Reviewed and committed by George.
17842         Patch by Adam Treat.  Removes hardcoded path to .pro file.
17844 2007-03-22  Adam Roben  <aroben@apple.com>
17846         Reviewed by Geoff.
17848         Removed eventSender.mouseClick because it was only useful for AppKit
17849         controls, which we don't use anymore.
17851         * DumpRenderTree/EventSendingController.m:
17852         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
17853         mouseClick.
17855 2007-03-22  Adam Roben  <aroben@apple.com>
17857         Reviewed by Ada.
17859         Make eventSender.mouseClick actually send a mouse up event.
17861         * DumpRenderTree/EventSendingController.m:
17862         (-[EventSendingController mouseClick]):
17864 2007-03-19  David Hyatt  <hyatt@apple.com>
17866         Update the minimum font size pref to match the actual default setting in Safari.  It should have been 1
17867         all this time and not 9.
17869         Reviewed by aroben
17871         * DumpRenderTree/DumpRenderTree.m:
17872         (dumpRenderTree):
17874 2007-03-18  Dan Waylonis  <waylonis@mac.com>
17876         Reviewed by Tim Hatcher.
17878         DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
17879         Bug 13005: WebScriptObject +throwException needs NULL check.
17881         Add tests to ensure that a plugin can safely throw an exception in dealloc.
17883         * DumpRenderTree/ObjCPlugin.h:
17884         * DumpRenderTree/ObjCPlugin.m:
17885         (+[ObjCPlugin webScriptNameForKey:]):
17886         (+[ObjCPlugin isKeyExcludedFromWebScript:]):
17887         (-[ObjCPlugin dealloc]):
17889 2007-03-13  Mark Rowe  <mrowe@apple.com>
17891         Reviewed by Maciej.
17893         Have the nightly launcher prefer Safari found in /Applications or ~/Applications
17894         if present, otherwise fall back on using LaunchServices to locate it elsewhere
17895         on the system.  The motivation for this is to make the behaviour of the nightly
17896         builds more predictable on machines with multiple copies of Safari present.
17898         * WebKitLauncher/main.m:
17899         (locateSafariBundle):
17900         (main):
17902 2007-03-12  Darin Adler  <darin@apple.com>
17904         Reviewed by Tim Hatcher.
17906         - add a DumpRenderTree feature where you can get the Objective-C
17907           class name of a JavaScript object
17909         * DumpRenderTree/DumpRenderTree.m:
17910         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
17911         objCClassNameOf: selector.
17912         (+[LayoutTestController webScriptNameForSelector:]): Add the
17913         objCClassNameOf: selector, with the name "objCClassName".
17914         (-[LayoutTestController objCClassNameOf:]): Added.
17916 2007-03-11  Geoffrey Garen  <ggaren@apple.com>
17918         Reviewed by Oliver Hunt.
17920         Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
17921         crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
17922         trying to install iLife 06 using Rosetta on an Intel Machine
17924         --threaded mode now runs a bunch of different JavaScript threads, randomly
17925         killing and respawning them. This was sufficient for reproducing the
17926         bug on my MacBook Pro.
17928         * DumpRenderTree/DumpRenderTree.m:
17929         (javaScriptThreads):
17930         (runJavaScriptThread):
17931         (startJavaScriptThreads):
17932         (stopJavaScriptThreads):
17933         (dumpRenderTree):
17935 2007-03-11  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
17937         Reviewed by Brady Eidson.
17939         Add forward/backward/quit menus for easier testing.
17941         * GdkLauncher/main.cpp:
17942         (menuMainBackCb):
17943         (menuMainForwardCb):
17944         (menuMainQuitCb):
17945         (main):
17947 2007-03-09  Andrew Wellington  <proton@wiretapped.net>
17949         Reviewed by Darin Adler.
17951         - fix http://bugs.webkit.org/show_bug.cgi?id=13007
17952           svn-create-patch doesn't handle UTF files with BOMs as text
17954         Force diff to treat files that svn-create-patch thinks are text as text.
17956         * Scripts/svn-create-patch: Added -a switch to diff command.
17958 2007-03-09  Mark Rowe  <mrowe@apple.com>
17960         Unreviewed.  Use the new SVN URL on the buildbot.
17962         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
17964 2007-03-08  Mark Rowe  <mrowe@apple.com>
17966         Reviewed by Antti.
17968         Fix compiler warnings when building Drosera as 64-bit.
17970         * Drosera/DebuggerDocument.m:
17971         (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
17972         (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
17973         (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
17975 2007-03-07  Mark Rowe  <mrowe@apple.com>
17977         Reviewed by Maciej.
17979         Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
17981         * Scripts/check-for-global-initializers:
17983 2007-03-07  Anders Carlsson  <acarlsson@apple.com>
17985         Reviewed by Adam.
17987         Add some assertions.
17989         * DumpRenderTree/DumpRenderTree.m:
17990         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
17991         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
17992         (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
17993         (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
17995 2007-03-07  David Kilzer  <ddkilzer@webkit.org>
17997         Reviewed by Darin Adler.
17999         - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
18000           WebArchiver - attempt to insert nil exception when archive empty iframe
18002         The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
18003         a webarchive while the dumpSourceAsWebArchive() test method uses the original
18004         dataSource (page source) to create a webarchive.  Most tests currently use
18005         dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
18006         webarchive.
18008         * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
18009         Added dumpSourceAsWebArchive.
18010         (dump):
18011         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18012         (-[LayoutTestController dumpDOMAsWebArchive]):
18013         (-[LayoutTestController dumpSourceAsWebArchive]):
18014         (runTest):
18016 2007-03-05  Kevin McCullough  <kmccullough@apple.com>
18018         Reviewed by Mark and Dave H.
18020         - rdar://problem/4922454
18021         - This fixes a security issue by making remote referrers not able to access local
18022         resources, unless they register their schemes to be treated as local. The result is
18023         that those schemes can access local resources and cannot be accessed by remote
18024         referrers.
18025         Because this behavior is new a link-on-or-after check is made to determine if the
18026         app should use the older, less safe, behavior.
18028         * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
18029         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18030         (+[LayoutTestController webScriptNameForSelector:]):
18031         (-[LayoutTestController setUserStyleSheetLocation:]):
18032         (-[LayoutTestController setUserStyleSheetEnabled:]):
18034 2007-03-05  Anders Carlsson  <acarlsson@apple.com>
18036         Reviewed by Adam, Darin.
18038         <rdar://problem/5025212>
18039         In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
18041         Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
18042         to be run when the URL has finished (or failed) loading.
18044         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18045         (pluginInvoke):
18046         (handleCallback):
18047         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
18048         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
18049         (NPP_URLNotify):
18051 2007-03-04  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18053         Reviewed by Nikolas Zimmermann.
18055         Load a url given on a command line in a way that also
18056         works for local (file://) urls.
18058         * GdkLauncher/main.cpp:
18059         (main):
18061 2007-03-02  Geoffrey Garen  <ggaren@apple.com>
18063         Tweaked parse-malloc-history to work with new malloc_history output format.
18065         * Scripts/parse-malloc-history:
18067 2007-02-28  Vladimir Olexa  <vladimir.olexa@gmail.com>
18069         Reviewed by Tim H.
18071         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
18072         Bug#12887: [Drosera] Add ability to close loaded files
18074         * Drosera/DebuggerDocument.h:
18075         * Drosera/DebuggerDocument.m:
18076         (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
18077         * Drosera/Drosera.xcodeproj/project.pbxproj:
18078         * Drosera/English.lproj/MainMenu.nib/classes.nib:
18079         * Drosera/English.lproj/MainMenu.nib/info.nib:
18080         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
18081         * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
18082         * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
18084 2007-02-28  Nikolas Zimmermann  <zimmermann@kde.org>
18086         Reviewed by Maciej.
18088         Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
18090         * Scripts/build-webkit:
18092 2007-02-27  Geoffrey Garen  <ggaren@apple.com>
18094         Small tweak to run-webkit-tests.
18096         * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
18097         1000 MallocStackLogging tests at a time.
18099 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
18101         Reviewed by Lars.
18103         - set ENABLE_XSLT even when compiling without SVG support, since that is no
18104         longer hardcoded into config.h.
18106         * Scripts/build-webkit:
18108 2007-02-26  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18110         Reviewed by Adam Roben.
18112         Rename *_SUPPORT defines to ENABLE_*.
18114         * GdkLauncher/gdklauncher.bkl:
18116 2007-02-24  Geoffrey Garen  <ggaren@apple.com>
18118         Reviewed by Darin Adler.
18120         * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
18121         fixed.
18123 2007-02-24  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18125         Reviewed by Adam Roben.
18127         Improve gdklauncher: add text field for entering url.
18129         * GdkLauncher/gdklauncher.bkl:
18130         * GdkLauncher/main.cpp:
18131         (strEmpty):
18132         (strEq):
18133         (handleGdkEvent):
18134         (goToUrlBarText):
18135         (goButtonClickedCb):
18136         (urlBarEnterCb):
18137         (registerRenderingAreaEvents):
18138         (frameResizeCb):
18139         (frameDestroyCb):
18140         (main):
18142 2007-02-22  Vladimir Olexa  <vladimir.olexa@gmail.com>
18144         Reviewed by Tim H.
18146         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
18147         Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
18148         * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
18150 2007-02-22  Adele Peterson  <adele@apple.com>
18152         Reviewed by Darin Adler.
18154         Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
18155         can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
18157         * DumpRenderTree/DumpRenderTree.m:
18158         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18159         (+[LayoutTestController webScriptNameForSelector:]):
18160         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
18162 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
18164         Used svn merge -r19786:19785 to roll out previous hack to work around
18165         SVG painting issue in DRT.
18167         Implemented new work-around, which makes --paint paint *after* dumping
18168         the render tree instead of before, so that painting doesn't influence
18169         the SVG render tree.
18171         This should fix the ~400 new pixel failures introduced in r19786.
18173         * DumpRenderTree/DumpRenderTree.m:
18174         (dump):
18175         * Scripts/run-webkit-tests:
18177 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
18179         Resetting --leaks mode default to run 1000 tests at a time because setting it
18180         to 750 didn't stop the stack logging related crashes, and running more tests
18181         at a time is faster. The crashes seem to be a real bug in stack logging,
18182         not an out of memory condition.
18184         * Scripts/run-webkit-tests:
18186 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
18188         Reviewed by Adam Roben.
18190         Added hack to force painting when running an SVG test. This is a work-around
18191         for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
18192         paint time instead of style resolution time.
18194         We need this so that --leaks mode, which always paints, doesn't appear to
18195         fail SVG tests. We also need this if we ever want to test style application
18196         in SVG, since many SVGs don't apply style to their renderers until they paint.
18198         * Scripts/run-webkit-tests:
18200 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
18202         Reduced --leaks mode to running only 750 tests at a time, in the hopes
18203         of fixing intermittent crasher that may be caused by out of memory
18204         conditions.
18206         * Scripts/run-webkit-tests:
18208 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
18210         Reviewed by Darin Adler.
18212         Made DRT paint when running run-webkit-tests in --leaks mode, to check
18213         for painting leaks.
18215         * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
18216         that's the default for statics.
18217         (dumpRenderTree): Added --paint command line option, which specifies that
18218         DRT should paint at the end of every test.
18219         (displayWebView): New function, called by dump() and -[LayoutTestController display].
18220         * Scripts/run-webkit-tests: Use the --paint command line option when checking
18221         for leaks.
18223         * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
18224         Removed stale comment about THRD leaks -- we now ignore them reliably.
18226 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
18228         Tools tweak. No review necessary.
18230         * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
18231         arguments. Changed command line argument variables from special implicit
18232         no-op values to specific empty values that we test explicitly.
18234 2007-02-21  Vladimir Olexa  <vladimir.olexa@gmail.com>
18236         Reviewed by Tim H.
18238         Bug 12834: Drosera should remember scroll position of open files like Xcode
18239         http://bugs.webkit.org/show_bug.cgi?id=12834
18241         * Drosera/debugger.js: Implemented scrolling memory
18243 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
18245         Tools tweak. No review necessary.
18247         Made parse-malloc-history executable. (Oops!)
18249         Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
18250         output.
18252         Added the ability to merge callstacks by regexp, not just depth, so you
18253         can ask questions like, "How many of these allocations were due to that one
18254         call to ...?"
18256         * Scripts/parse-malloc-history:
18258 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
18260         * Scripts/parse-malloc-history: Added copyright info.
18262 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
18264         Reviewed by Darin Adler.
18266         New script to parse the output from malloc_history, so we can determine
18267         what's using memory in WebKit.
18269         * Scripts/parse-malloc-history: Added.
18271 2007-02-20  Graham Dennis  <graham.dennis@gmail.com>
18273         Reviewed by Darin Adler.
18275         Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
18276         WebKit.framework is built with SVG_SUPPORT for No-SVG build
18278         * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
18280 2007-02-19  Geoffrey Garen  <ggaren@apple.com>
18282         Build fix.
18284         * Scripts/check-for-global-initializers: Ignore the global counter I added
18285         for SubresourceLoaders.
18287 2007-02-19  Darin Adler  <darin@apple.com>
18289         Reviewed by Tim Hatcher.
18291         * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
18292         Without this, you only see the global initializer error once, which makes it very easy
18293         to miss them.
18295 2007-02-16  Mark Rowe  <mrowe@apple.com>
18297         Not reviewed.
18299         <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
18301         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
18303 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
18305         Reviewed by Beth Dakin.
18307         * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
18308         leaks anymore, either, since r19486 fixed them, too.
18309         (shouldIgnoreWebCoreNodeLeaks):
18311 2007-02-15  Darin Adler  <darin@apple.com>
18313         * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
18314         fixed by change 19486.
18316 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
18318         Reviewed by Beth Dakin.
18320         Ignore another leak, seen recently on the buildbot.
18322         * Scripts/run-webkit-tests:
18324 2007-02-14  Geoffrey Garen  <ggaren@apple.com>
18326         Reviewed by Beth Dakin.
18328         Ignore another leak, seen recently on the buildbot.
18330         * Scripts/run-webkit-tests:
18332 2007-02-13  Darin Adler  <darin@apple.com>
18334         * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
18335         giant line.
18337 2007-02-11  Maciej Stachowiak  <mjs@apple.com>
18339         Reviewed by Mitz.
18341         - add contextClick() operation to eventSender to be able to test this
18343         * DumpRenderTree/EventSendingController.m:
18344         (+[EventSendingController isSelectorExcludedFromWebScript:]):
18345         (-[EventSendingController contextClick]):
18347 2007-02-11  Darin Adler  <darin@apple.com>
18349         * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
18350         so it doesn't give a perl exception (happens in clean builds, for example).
18352 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
18354         Reviewed by Adam.
18356         * Scripts/svn-create-patch:
18357         (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
18358         a relative path to the copied file.
18360 2007-02-10  Timothy Hatcher  <timothy@apple.com>
18362         Reviewed by Sam Weinig.
18364         * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
18366 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
18368         Reviewed by Timothy.
18370         * Scripts/svn-apply:
18371         (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
18372         encoded text.
18374 2007-02-10  Brady Eidson <beidson@apple.com>
18376         Reviewed by Maciej
18378         <rdar://problem/4965133> WebKit sends file:// url referrers
18380         * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
18381           on local files, but have an httpd for remote resources
18383 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
18385         Reviewed by Beth Dakin.
18387         Ignore another false leak report.
18389         * Scripts/run-webkit-tests:
18391 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
18393         Reviewed by Kevin McCullough.
18395         * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
18396         already exists, to avoid confusing error message.
18398         Also, remove /tmp/LayoutTests after running so unsupecting fools don't
18399         try to rm -rf it, only later to discover that they have completely hosed
18400         their machines.
18402 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18404         Reviewed by Adam Roben.
18406         Linux/gdk build fixes.
18408         * GdkLauncher/main.cpp: Add -exit-after-loading and
18409         -dump-render-tree as debugging aid.
18410         (strEq):
18411         (main):
18413 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
18415         Minor fixup based on Maciej's review last night.
18417         * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
18418         and do a little math to make it work.
18420 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18422         Reviewed by Adam Roben.
18424         Linux/gdk build fixes.
18426         * GdkLauncher/gdklauncher.bkl:
18428 2007-02-08  Kevin McCullough  <KMcCullough@apple.com>
18430         - Fix layout test failures.
18432         * Scripts/run-webkit-tests:
18434 2007-02-08  Darin Adler  <darin@apple.com>
18436         Reviewed by Anders.
18438         * Scripts/check-for-global-initializers: For speed, only check files that
18439         have been modified since the last time we linked. For tidiness, capture
18440         stderr from nm, and prevent "nm: no name list" messages from going out.
18442 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
18444         Reviewed by Maciej Stachowiak, Adam Roben.
18446         Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
18447         arbitrary number n.
18449         Plus some renames:
18450             - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
18451             - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
18452             - tool => dumpTool (to match abstraction elsewhere)
18453             - httpdOpen => isHttpdOpen (to match style guidelines)
18455         Plus a few logic fixups:
18456             - Don't check isDumpToolOpen when we know we've called openDumpTool().
18457             - Use a single code path to decide when to shut down dumpTool and
18458               when to check for leaks, since the operations are coincidental.
18459             - Use a single code path for running the leaks tool, since the only
18460               thing that varies between configurations is the output file name.
18461             - Increment $count after each test finishes, instead of at the end
18462               of the loop, to help with comparing to the length of the array
18463               and %-ing by n.
18464             - Use a more robust test inside the loop to determine if we need to
18465               close dumpTool, instead of copying the closing code outside the loop.
18467         Layout tests pass.
18469         * Scripts/run-webkit-tests:
18471 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
18473         Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
18475         Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
18476         catch all reports of them, not just those inside pthread_create.
18478         Also, use "\\" instead of "\" because we need the actual \ to get into the
18479         regexp string if it's going to do any escaping. (Oops!)
18481         * Scripts/run-webkit-tests:
18483 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
18485         Reviewed by Bethany P. Dakin.
18487         The 's' is optional when the leaks tool reports 'leaks'.
18489         * Scripts/run-leaks:
18491 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
18493         Reviewed by Bethany P. Dakin.
18495         Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
18497         * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
18499 2007-02-06  David Smith  <catfish.man@gmail.com>
18501         Reviewed by Darin Adler.
18503         Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
18504         [Drosera] Console history fixups
18506         * Drosera/console.js: assorted cleanups and fixes
18508 2007-02-05  Geoffrey Garen  <ggaren@apple.com>
18510         Reviewed by Darin Adler.
18512         New script that allows you to ignore leaks by regular expression.
18514         * Scripts/run-leaks: Added.
18516 2007-02-03  Sam Weinig  <sam@webkit.org>
18518         Reviewed by Mark.
18520         Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
18521         Drosera doesn't handle CR ( carriage returns ) well
18523         - Normalize all the line endings.
18525         * Drosera/debugger.js:
18527 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
18529         Reviewed by Darin Adler.
18531         Added some more known leaks to the leaks ignore list.
18533         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
18534         hate itself so much?
18535         * Scripts/run-webkit-tests:
18537 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
18539         Even better build fix than the last.
18541         * ChangeLog:
18542         * DumpRenderTree/DumpRenderTree.m:
18543         (shouldIgnoreWebCoreNodeLeaks):
18545 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
18547         Fixed build. Added work-around for GCC bug.
18549         * DumpRenderTree/DumpRenderTree.m:
18550         (shouldIgnoreWebCoreNodeLeaks):
18552 2007-02-01  Geoffrey Garen  <ggaren@apple.com>
18554         Reviewed by Maciej Stachowiak.
18556         Added support for selectively ignoring WebCore::Node leaks during layout
18557         tests, so that we can ignore known leaks in other components.
18559         * DumpRenderTree/DumpRenderTree.m:
18560         (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
18561         WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
18562         confuse anyone else?
18563         (runTest):
18565 2007-02-01  Anders Carlsson  <acarlsson@apple.com>
18567         Reviewed by Darin Adler.
18569         * DumpRenderTree/UIDelegate.m:
18570         (-[UIDelegate webView:addMessageToConsole:]):
18571         Dump console messages.
18573 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
18575         * DumpRenderTree/ResourceLoadDelegate.m:
18576         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
18577         Use an NSString here so we can guarantee that -description always returns the same value.
18579 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
18581         Reviewed by Darin Adler.
18583         Added Selection::toRange to the leaks -exclude list, since it comes up
18584         as a false positive (Radar 4967949).
18586         Also added RangeCounter to the global initializer exclude list. I added
18587         a RangeCounter since leaks won't detect all Range leaks anymore.
18589         * Scripts/check-for-global-initializers:
18590         * Scripts/run-webkit-tests:
18592 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
18594         * DumpRenderTree/ResourceLoadDelegate.m:
18595         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
18596         Don't try to create an identifier if resource loads shouldn't be dumped.
18598 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
18600         Reviewed by Geoff.
18602         Add dumping of resource loads. This isn't completely tweaked yet since the test results would
18603         rely on resources being delivered in the same order which might not always be true. However, it works good
18604         enough for the simple webarchive tests I want to do right now.
18606         * DumpRenderTree/DumpRenderTree.h:
18607         * DumpRenderTree/DumpRenderTree.m:
18608         (dumpRenderTree):
18609         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18610         (-[LayoutTestController dumpResourceLoadCallbacks]):
18611         (runTest):
18613         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18614         * DumpRenderTree/ResourceLoadDelegate.h: Added.
18615         * DumpRenderTree/ResourceLoadDelegate.m: Added.
18616         Add new resource load delegate.
18618 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
18620         Backing out the CFRunLoopRunSpecific exclude command because it was overly
18621         broad. We'll either need to work around this leak in DRT, or do some
18622         custom grep-based leak ignoring.
18624         * Scripts/run-webkit-tests:
18626 2007-01-30  Geoffrey Garen  <ggaren@apple.com>
18628         Reviewed by Beth Dakin.
18630         Filed some more Radars in other components, added some more leaks to the
18631         exclusion list.
18633         * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
18634         CFRunLoopRunSpecific, and NSSpellChecker.
18636 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
18638         Reviewed by Darin Adler.
18640         http://bugs.webkit.org/show_bug.cgi?id=11882
18641         Need a way to regression test .webarchive output files
18643         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
18644         Alters WebResourceResponse and WebResourceURL properties within WebArchive format
18645         to normalize URLs to remove path where WebKit was checked out.  Also converts
18646         WebDataResource properties from data to string if the corresponding
18647         WebResourceMIMEType property starts with "text/" or equals
18648         "application/x-javascript".
18650         * DumpRenderTree/DumpRenderTree.m:
18651         (convertWebResourceDataToString): Added.
18652         (normalizeWebResourceURL): Added.
18653         (normalizeWebResourceResponse): Added.
18654         (serializeWebArchiveToXML): Added.
18655         (dump):
18656         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18657         (-[LayoutTestController dumpAsWebArchive]): Added.
18658         (runTest):
18660 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
18662         Reviewed by Mark Rowe.
18664         http://bugs.webkit.org/show_bug.cgi?id=12470
18665         svn-create-patch creates duplicate patches for files within an added/modified directory
18667         * Scripts/svn-create-patch:
18668         (sub generateFileList($\%\%)): Ignore directories when generating the file list.
18670 2007-01-29  Geoffrey Garen  <ggaren@apple.com>
18672         Reviewed by Maciej Stachowiak.
18674         Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
18676         No more mollycoddling for you, FastMalloc.o!
18678         * Scripts/check-for-global-initializers:
18680 2007-01-29  Graham Dennis  <graham.dennis@gmail.com>
18682         Reviewed by Maciej.
18684         Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
18685         Image data in from RTFD clipboard data thrown away
18687         - This method is needed because NSArrays are bridged to JS Arrays,
18688           which in turn are bridged back to WebScriptObjects when passed from
18689           JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
18691         * DumpRenderTree/DumpRenderTree.m:
18692         (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
18694 2007-01-25  Geoffrey Garen  <ggaren@apple.com>
18696         Reviewed by Maciej Stachowiak.
18698         Added support for test for <rdar://problem/4608404> WebScriptObject's
18699         _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
18701         * DumpRenderTree/DumpRenderTree.m:
18702         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18703         (+[LayoutTestController webScriptNameForSelector:]):
18704         (-[LayoutTestController storeWebScriptObject:]):
18705         (-[LayoutTestController accessStoredWebScriptObject]):
18706         (-[LayoutTestController dealloc]):
18708 2007-01-26  Lars Knoll <lars@trolltech.com>
18710         Reviewed by Zack
18712         Small hack to ensure that our top level frame actually has the
18713         correct size. Unfortunately this means I'll have to regenerate
18714         all test cases :/
18716         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18717         (WebCore::DumpRenderTree::DumpRenderTree):
18719 2007-01-25  Lars Knoll <lars@trolltech.com>
18721         Reviewed by Darin and Zack
18723         Move the test results for Qt into a directory of it's own
18724         (WebKit/LayoutTestResults/qt). Leave the Mac results where
18725         they are for now and share the text only results between
18726         Mac and Qt.
18728         Add support for a LayoutTestResults/platform/Skipped file
18729         to run-webkit-tests to be able to ignore certain tests
18731         Remove the old tests-skipped.txt from Qts DumpRenderTree
18732         implementation.
18734         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18735         (WebCore::DumpRenderTree::DumpRenderTree):
18736         (WebCore::DumpRenderTree::open):
18737         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18738         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
18739         * Scripts/run-webkit-tests:
18741 2007-01-24  Darin Adler  <darin@apple.com>
18743         Reviewed by Oliver.
18745         - fix crash seen in layout tests
18747         * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
18748         Add back the line of code that sets savedMouseEvents to nil. I thought it was
18749         a field of the EventSendingController, but it's actually a global.
18751 2007-01-24  Darin Adler  <darin@apple.com>
18753         Reviewed by Maciej.
18755         - changed dragMode to be a property instead of a function
18757         * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
18758         * DumpRenderTree/EventSendingController.m:
18759         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
18760         (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
18761         (-[EventSendingController init]): Updated for name change.
18762         (-[EventSendingController leapForward:]): Ditto.
18763         (-[EventSendingController mouseUp]): Ditto.
18764         (-[EventSendingController mouseMoveToX:Y:]): Ditto.
18766 2007-01-24  Darin Adler  <darin@apple.com>
18768         Reviewed by Maciej.
18770         - made the deferral of mouse events until drag completes conditional
18771           it's needed for drag testing, and harmful for selection testing
18773         * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
18774         * DumpRenderTree/EventSendingController.m:
18775         (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
18776         (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
18777         and remove unneeded clearKillRing name.
18778         (-[EventSendingController init]): Initialize inDragMode to true.
18779         (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
18780         not be asserting things that are dependent on the test content!
18781         (-[EventSendingController leapForward:]): Only queue events in drag mode.
18782         (-[EventSendingController setDragMode:]): Added.
18783         (-[EventSendingController mouseDown]): Removed overzealous assertion.
18784         (-[EventSendingController mouseUp]): Removed overzealous assertions.
18785         Only queue events in drag mode.
18786         (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
18788 2007-01-24  Lars Knoll <lars@trolltech.com>
18790         Reviewed by Zack
18792         Add a signal handler, always dump immediately if we get an
18793         error during a page load and raise the timeout to 5 seconds
18794         (as we get a lot less such failures now)
18796         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18797         (WebCore::DumpRenderTree::DumpRenderTree):
18798         (WebCore::DumpRenderTree::maybeDump):
18799         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18800         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
18801         (LayoutTestController::waitUntilDone):
18802         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
18803         (crashHandler):
18804         (main):
18805         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
18807 2007-01-22  Darin Adler  <darin@apple.com>
18809         Reviewed by Mitz.
18811         - a couple tiny tweaks to make --reset-results work better
18813         * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
18814         Don't make a separate "new" entry while generating results when --reset-results
18815         is specified since new results are the norm in that case.
18817 2007-01-21  Sanjay Madhav  <sanjay12@gmail.com>
18819         Reviewed by Darin Adler.
18821         Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
18823         This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
18825         * DumpRenderTree/GCController.h:
18826         * DumpRenderTree/GCController.mm:
18827         (+[GCController isSelectorExcludedFromWebScript:]):
18828         (-[GCController getJSObjectCount]):
18830 2007-01-20  Mark Rowe  <mrowe@apple.com>
18832         Reviewed by Maciej.
18834         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
18835         catch single regressions, and don't generate tests results for new tests.
18837 2007-01-20  Adam Roben  <aroben@apple.com>
18839         Rubberstamped by Maciej.
18841         * Scripts/run-webkit-tests: Change the default behavior back to
18842         generating results for new tests (this can be disabled with
18843         --no-new-test-results)
18845 2007-01-19  Lars Knoll <lars@trolltech.com>
18847         Reviewed by Adam Roben.
18849         run-webkit-tests does now not generate new results by default anymore.
18850         You'll have to pass the --new-tests flag to it to force it to do so.
18852         This is required to make it possible to have tests running on multiple
18853         platforms peacefully together.
18855         * Scripts/run-webkit-tests:
18857 2007-01-18  Darin Adler  <darin@apple.com>
18859         Reviewed by John Sullivan.
18861         * Scripts/run-webkit-tests: Fix handling of configuration so it
18862         does the right thing when no explicit configuration is passed in.
18863         The old code assumed that the result of setConfiguration() was the
18864         configuration, but it's undefined when no configuration is
18865         explicitly passed in. The correct function to use is
18866         configuration(), and I also streamlined the code.
18868 2007-01-17  Lars Knoll <lars@trolltech.com>
18870         Fix my last commit to actually work in all cases.
18872         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18873         (WebCore::DumpRenderTree::readStdin):
18875 2007-01-17  Lars Knoll <lars@trolltech.com>
18877         Reviewed by Maciej
18879         Make sure DumpRenderTree exits when run-webkit-tests
18880         is done.
18882         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18883         (WebCore::DumpRenderTree::readStdin):
18885 2007-01-17  Lars Knoll <lars@trolltech.com>
18887         Reviewed by Zack
18889         Small fixes in DumpRenderTree, so we don't by
18890         accident dump twice for the same test.
18892         Exclude one more test as it currently causes DumpRenderTree to
18893         hang forever.
18895         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18896         (WebCore::DumpRenderTree::readStdin):
18897         (WebCore::DumpRenderTree::dump):
18898         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
18899         (LayoutTestController::notifyDone):
18900         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
18902 2007-01-17  Lars Knoll <lars@trolltech.com>
18904         Reviewed by Zack
18906         Add a message handler to DumpRenderTree that will
18907         suppress all debug output coming from qDebug() statements.
18908         Like this we can get rid of all the noise coming
18909         from the notImplemented() macro when running the
18910         layout tests. You can get it back by adding -v to
18911         DumpRenderTree's command line.
18913         Changed run-webkit-tests slightly, so we by default
18914         don't fail anymore when our output differs from what
18915         is generated on the Mac. Added a --strict option, so
18916         that we can still see this cases and fix them one by one.
18918         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
18919         (messageHandler):
18920         (main):
18921         * Scripts/run-webkit-tests:
18923 2007-01-16  Lars Knoll <lars@trolltech.com>
18925         Reviewed by Zack
18927         Use the new public API for the Qt build, and don't rely on
18928         WebKit internals anymore.
18930         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18931         (WebCore::DumpRenderTree::DumpRenderTree):
18932         (WebCore::DumpRenderTree::~DumpRenderTree):
18933         (WebCore::DumpRenderTree::open):
18934         (WebCore::DumpRenderTree::readStdin):
18935         (WebCore::DumpRenderTree::initJSObjects):
18936         (WebCore::DumpRenderTree::dump):
18937         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18938         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
18939         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
18940         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
18941         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
18942         (LayoutTestController::notifyDone):
18943         (LayoutTestController::timerEvent):
18944         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
18945         (main):
18946         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
18948 2007-01-15  Justin Garcia  <justin.garcia@apple.com>
18950         Reviewed by mjs
18952         <rdar://problem/4810960>
18953         Gmail Editor: window.focus() called on keyDown (9640)
18955         * DumpRenderTree/EventSendingController.m: Send the keyDown event
18956         to the firstResponder, not the event's locationInWindow.  A
18957         key press's locationInWindow is meaningless and just a dummy
18958         coordinate.
18960 2007-01-15  Eric Seidel  <eric@webkit.org>
18962         Reviewed by bdash.
18964         Add a script to keep our header guards squeaky clean.
18966         * Scripts/clean-header-guards: Added.
18968 2007-01-15  Lars Knoll <lars@trolltech.com>
18970         Reviewed by Zack
18972         Fix a few smaller issues in here, and update
18973         our list of skipped tests.
18975         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18976         (WebCore::DumpRenderTree::DumpRenderTree):
18977         (WebCore::DumpRenderTree::readStdin):
18978         (WebCore::DumpRenderTree::dump):
18979         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18980         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
18981         (LayoutTestController::LayoutTestController):
18982         (LayoutTestController::reset):
18983         (LayoutTestController::waitUntilDone):
18984         (LayoutTestController::notifyDone):
18985         (LayoutTestController::dumpEditingCallbacks):
18986         (LayoutTestController::timerEvent):
18987         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
18988         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
18990 2007-01-14  Mark Rowe  <mrowe@apple.com>
18992         Reviewed by Adam.
18994         <rdar://problem/4908909> Need to create Leopard nightly build
18996         * 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.
18997         * WebKitLauncher/WebKitNightlyEnabler.m:
18998         (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables.  The smaller timeframe where the
18999         CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
19000         (enableWebKitNightlyBehaviour):
19001         * WebKitLauncher/main.m:
19002         (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
19003         * Drosera/launcher.m:
19004         (main): Ditto
19006 2007-01-12  Lars Knoll <lars@trolltech.com>
19008         Reviewed by Zack
19010         Get DumpRenderTree to work again for the Qt build.
19012         Make run-webkit-tests a little less verbose when testing
19013         Qt, and add an option to run DumpRenderTree inside valgrind
19014         (useful for debugging)
19016         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19017         (WebCore::DumpRenderTree::DumpRenderTree):
19018         (WebCore::DumpRenderTree::~DumpRenderTree):
19019         (WebCore::DumpRenderTree::open):
19020         (WebCore::DumpRenderTree::dump):
19021         (WebCore::DumpRenderTree::maybeDump):
19022         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
19023         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
19024         (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
19025         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
19026         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
19027         * Scripts/run-webkit-tests:
19029 2007-01-12  Zack Rusin  <zack@kde.org>
19031         Add WEBKIT_FULLBUILD env variable to get the
19032         build do a make clean before make to cleanout the
19033         stale depenendencies (for buildbot mainly).
19035         * Scripts/webkitdirs.pm:
19037 2007-01-11  Mitz Pettel  <mitz@webkit.org>
19039         Reviewed by Hyatt.
19041         - http://bugs.webkit.org/show_bug.cgi?id=10249
19042           Temporarily disable tests that are causing kernel panics
19044         Changed the ImageDiff tool not to use CoreImage filters.
19046         * DumpRenderTree/ImageDiff.m:
19047         (main):
19048         (createImageFromStdin):
19049         (compareImages):
19050         (getDifferenceBitmap):
19052 2007-01-11  Lars Knoll <lars@trolltech.com>
19054         Fix compilation
19056         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
19058 2007-01-11  Lars Knoll <lars@trolltech.com>
19060         Reviewed by Darin Adler.
19062         Adjust to loader changes.
19064         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19065         (WebCore::DumpRenderTree::DumpRenderTree):
19067 2007-01-06  George Staikos  <staikos@kde.org>
19069         This doesn't build on all unix platforms!
19071         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
19073 2007-01-05  Zack Rusin  <zack@kde.org>
19075         Reviewed by Simon.
19077         Fix the undefined warnings and try to detect
19078         the DISPLAY properly.
19080         * Scripts/run-webkit-tests:
19082 2007-01-05  David Kilzer  <ddkilzer@webkit.org>
19084         Reviewed by Mark Rowe.
19086         Speed up svn-create-patch for copied and moved files.
19088         * Scripts/svn-create-patch:
19089         (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
19090         so svn pulls original from local disk.
19092 2007-01-04  Lars Knoll <lars@trolltech.com>
19094         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
19095               Link with RPATH to (hopefully) get the automatic tests working.
19097 2007-01-03  Mark Rowe  <bdash@webkit.org>
19099         Reviewed by Anders.
19101         * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
19103 2007-01-02  Zack Rusin  <zack@kde.org>
19105         Make it work after javascriptcore/bindings changes.
19107         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19108         (WebCore::DumpRenderTree::initJSObjects):
19109         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
19111 2007-01-01  David Kilzer  <ddkilzer@webkit.org>
19113         Reviewed by Darin Adler.
19115         http://bugs.webkit.org/show_bug.cgi?id=12023
19116         svn-create-patch and friends should handle moved/copied files
19118         * Scripts/svn-apply: Identify copied files and handle those before all other patches.
19119         * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
19120         (findMimeType($)): Added.
19121         (findModificationTime($)): Added.
19122         (findSourceFileAndRevision($)): Added.
19123         (generateDiff($$$)): Changed to use svn stat instead of svn diff.
19124         (isBinaryMimeType($)): Added.
19125         (manufacturePatchForAdditionWithHistory($$)): Added.
19126         * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
19128 2006-12-29  Eric Seidel  <eric@webkit.org>
19130         Reviewed by olliej.
19132         Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
19134         * DumpRenderTree/DumpRenderTree.m:
19135         (dumpRenderTree): clear WebCore cache before exiting
19137 2006-12-29  David Kilzer  <ddkilzer@webkit.org>
19139         Reverted last commit until WebResourceData issue is fixed.
19141         http://bugs.webkit.org/show_bug.cgi?id=11882
19142         Need a way to regression test .webarchive output files
19144         * DumpRenderTree/DumpRenderTree.m:
19145         (serializeWebArchiveToXML): Removed.
19146         (dump):
19147         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19148         (-[LayoutTestController dumpAsWebArchive]): Removed.
19149         (runTest):
19151 2006-12-28  David Kilzer  <ddkilzer@webkit.org>
19153         Reviewed by Darin Adler.
19155         http://bugs.webkit.org/show_bug.cgi?id=11882
19156         Need a way to regression test .webarchive output files
19158         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
19159         Saves WebArchive plist in xml format, then alters file:// URLs to remove path
19160         where WebKit was checked out.
19162         * DumpRenderTree/DumpRenderTree.m:
19163         (serializeWebArchiveToXML): Added.
19164         (dump):
19165         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19166         (-[LayoutTestController dumpAsWebArchive]): Added.
19167         (runTest):
19169 2006-12-28  George Staikos  <staikos@kde.org>
19171         Reviewed by Olliej.
19173         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
19175 2006-12-27  Geoffrey Garen  <ggaren@apple.com>
19177         Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
19179         Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
19181         No behavior change. Layout tests pass.
19183         * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
19184         doneLoading() accessor function. This matches the rest of DRT's exports and
19185         makes it easier to search for clients who check (!done).
19187         * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
19188         it would cover both code paths for calling runTest().
19190         (dumpRenderTree): "doneLoading()" => "done"
19191         (dump): ditto
19192         * DumpRenderTree/EditingDelegate.m: ditto
19193         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
19194         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
19195         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
19196         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
19197         (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
19198         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
19199         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
19200         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
19201         (-[EditingDelegate webViewDidBeginEditing:]): ditto
19202         (-[EditingDelegate webViewDidChange:]): ditto
19203         (-[EditingDelegate webViewDidEndEditing:]): ditto
19204         (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
19205         (-[EditingDelegate webViewDidChangeSelection:]): ditto
19206         * DumpRenderTree/UIDelegate.m: ditto
19207         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
19209 2006-12-26  Eric Seidel  <eric@webkit.org>
19211         Reviewed by bradee-oh.
19213         Add very simple run-pageloadtest script for running SVG page load test.
19215         * Scripts/run-pageloadtest: Added.
19217 2006-12-26  Geoffrey Garen  <ggaren@apple.com>
19219         Reviewed by Eric Seidel.
19221         Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
19222         crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
19224         (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
19226 2006-12-23  Geoffrey Garen  <ggaren@apple.com>
19228         Reviewed by Maciej Stachowiak.
19230         Added --threaded support to run-webkit-tests and DumpRenderTree.
19232         In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
19233         stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
19234         interface. This is useful for tracking down bugs you might see on a system
19235         configured to use a PAC file.
19237         Ironically, I can proudly state that very few layout tests pass.
19239         * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
19240         for starting and stopping it.
19241         (runJavaScriptThread): helper function
19242         (startJavaScriptThread): helper function
19243         (stopJavaScriptThread): helper function
19245         (dumpRenderTree): Added --threaded command line argument.
19246         * Scripts/run-webkit-tests: ditto
19248 2006-12-22  Mark Rowe  <bdash@webkit.org>
19250         Reviewed by Brady.
19252         Fix for <rdar://problem/4265976>
19253         prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
19255         * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
19257 2006-12-21  Mark Rowe  <bdash@webkit.org>
19259         Reviewed by Tim Hatcher.
19261         http://bugs.webkit.org/show_bug.cgi?id=11922
19262         Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
19264         * Drosera/DebuggerDocument.m:
19265         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
19266         ensure that the properties are being retrieved from the correct scope object.
19268 2006-12-21  Lars Knoll <lars@trolltech.com>
19270         Reviewed by Zack
19272         Add support for the layoutTestController JavaScript object
19273         to be able to get textOnly dumps.
19274         Added a Qt specific hack to always get the same fonts (the ones
19275         added in this submit) and the same dpi when running the layout tests.
19276         Modified the run-webkit-tests script to also do a comparison to the
19277         Mac generated outputs (by stripping out positioning information).
19279         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19280         (WebCore::DumpRenderTree::DumpRenderTree):
19281         (WebCore::DumpRenderTree::open):
19282         (WebCore::DumpRenderTree::resetJSObjects):
19283         (WebCore::DumpRenderTree::initJSObjects):
19284         (WebCore::DumpRenderTree::dump):
19285         (WebCore::DumpRenderTree::checkLoaded):
19286         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
19287         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
19288         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
19289         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
19290         (WebCore::DumpRenderTreeClient::partClearedInBegin):
19291         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
19292         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
19293         (QX11Info::appDpiY):
19294         (QX11Info::appDpiX):
19295         (qt_x11ft_convert_pattern):
19296         (LayoutTestController::LayoutTestController):
19297         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
19298         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
19299         (LayoutTestController::shouldDumpAsText):
19300         (LayoutTestController::shouldWaitUntilDone):
19301         (LayoutTestController::reset):
19302         (LayoutTestController::dumpAsText):
19303         (LayoutTestController::waitUntilDone):
19304         (LayoutTestController::notifyDone):
19305         * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
19306         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
19307         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
19308         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
19309         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
19310         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
19311         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
19312         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
19313         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
19314         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
19315         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
19316         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
19317         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
19318         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
19319         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
19320         * Scripts/run-webkit-tests:
19322 2006-12-21  Mark Rowe  <bdash@webkit.org>
19324         Reviewed by Geoff.
19326         http://bugs.webkit.org/show_bug.cgi?id=11888
19327         Bug 11888: REGRESSION (r18320): Web Inspector panes broken
19329         * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
19331 2006-12-18  Geoffrey Garen  <ggaren@apple.com>
19333         Reviewed by Beth Dakin.
19335         Updated EventSender to be able to send mouse up events outside the WebView.
19336         This is a minor tweak to a hackish implementation. The real solution
19337         should be to use NSApplication's event sending model instead of rolling
19338         our own, but I don't have time for that right now.
19340         * DumpRenderTree/EventSendingController.m:
19341         (-[EventSendingController mouseUp]):
19343 2006-12-15  Marvin Decker  <marv.decker@gmail.com>
19345         Reviewed by Darin and Alexey.
19347         Fix the Windows build, move various Client implementations out of
19348         WebCore and into WebKit.
19350         * Spinneret/Spinneret.sln:
19352 2006-12-14  Timothy Hatcher  <timothy@apple.com>
19354         Reviewed by Brady.
19356         * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
19358 2006-12-13  Zack Rusin  <zack@kde.org>
19360         Reviewed by rwlbuis
19362         Use the qmake build by default with Qt - it's the one that works
19363         currently.
19365         * Scripts/build-webkit:
19366         * Scripts/webkitdirs.pm:
19368 2006-12-10  Lars Knoll <lars@trolltech.com>
19370         Reviewed by Zack
19372         Some more fixes to the dumprendertree application.
19373         Fix the run-webkit-tests script for Qt.
19375         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19376         (WebCore::DumpRenderTree::open):
19377         (WebCore::DumpRenderTree::readStdin):
19378         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
19379         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
19380         * Scripts/run-webkit-tests:
19381         * Scripts/webkitdirs.pm:
19383 2006-12-10  Rob Buis  <buis@kde.org>
19385         Reviewed by Darin Adler.
19387         * DumpRenderTree/DumpRenderTree.m:
19388         (dump):
19390 2006-12-10  Lars Knoll <lars@trolltech.com>
19392         Reviewed by Zack
19394         Get the DumpRenderTree app to compile again
19396         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19397         (WebCore::DumpRenderTree::DumpRenderTree):
19398         (WebCore::DumpRenderTree::open):
19399         (WebCore::DumpRenderTree::readStdin):
19400         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
19401         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
19402         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
19403         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
19404         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
19405         (main):
19407 2006-12-09  George Staikos  <staikos@kde.org>
19409         Reviewed by Zack.
19411         Repair QMake build on OS X.
19413         * Scripts/build-webkit:
19415 2006-12-09  Zack Rusin  <zack@kde.org>
19417         Fixing small mistakes in the build scripts for
19418         the qmake builds.
19420         * Scripts/build-webkit:
19421         * Scripts/webkitdirs.pm:
19423 2006-12-09  Simon Hausmann  <hausmann@kde.org>
19425         Reviewed by hyatt.
19427         Add support for a QMake build using build-webkit --qmake
19429         * Scripts/build-webkit:
19430         * Scripts/webkitdirs.pm:
19432 2006-12-09  George Staikos  <staikos@kde.org>
19434         Reviewed by Zack.
19436         Remove reference to Unity.
19438         * Scripts/webkitdirs.pm:
19440 2006-12-08  Zack Rusin  <zack@kde.org>
19442         Reviewed by Maciej.
19444         Fix the compile after recent API changes.
19446         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19447         (WebCore::DumpRenderTree::DumpRenderTree):
19448         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
19449         (main):
19451 2006-12-08  George Staikos  <staikos@kde.org>
19453         Reviewed by Maciej.
19455         Build Qt webkit on non-linux, and prefer it if $QTDIR is set
19457         * Scripts/build-webkit:
19458         * Scripts/webkitdirs.pm:
19460 2006-12-06  Steve Falkenburg  <sfalken@apple.com>
19462         Support C strings for localization
19464         * Scripts/extract-localizable-strings:
19466 2006-12-04  Steve Falkenburg  <sfalken@apple.com>
19468         Reviewed by Darin Adler.
19470         Make extract-localizable-strings compatible with cpp file extensions.
19472         * Scripts/extract-localizable-strings:
19474 2006-11-21  Darin Adler  <darin@apple.com>
19476         Reviewed by Maciej.
19478         - a couple changes to reduce the chance of false positives on the leakbot
19480         * DumpRenderTree/DumpRenderTree.m:
19481         (dumpRenderTree): Move the main function into a separate function so we can run
19482         a final garbage collect afterward without any stray values on the stack. Replaced
19483         the old way of closing down a WebView (setting the delegates to nil) with the new
19484         way (calling the close method), which does a more complete job of shutting
19485         everything down without waiting for the WebView object to be deallocated.
19486         (main): Put auto-release pool here and added an explicit call to garbage collect.
19487         With a separate function, we greatly reduce the chance that a stray address on the
19488         stack will keep an object alive.
19490         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
19491         because I don't have what it takes to fight the power.
19493 2006-11-17  Zack Rusin  <zack@kde.org>
19495         Reviewed by Mitz. Landed by Niko.
19497         Fixing compilation.
19499         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19500         (WebCore::DumpRenderTree::DumpRenderTree): Adding
19501         ContextMenuClient to the constructor
19503 2006-11-12  Mark Rowe  <bdash@webkit.org>
19505         Reviewed by Mitz.
19507         Clean up of GdkLauncher bakefile.
19509         * GdkLauncher/gdklauncher.bkl:
19511 2006-11-11  Nikolas Zimmermann  <zimmermann@kde.org>
19513         Reviewed and landed by Anders.
19515         Make DRT work again on Qt/Linux.
19517         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19518         (WebCore::DumpRenderTree::DumpRenderTree):
19520 2006-11-10  Zack Rusin  <zack@kde.org>
19522         Reviewed and landed by Anders.
19524         Adjusting to the recent loader changes, making it compile
19525         and work.
19527         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19528         (WebCore::DumpRenderTree::DumpRenderTree):
19529         (WebCore::DumpRenderTree::checkLoaded):
19530         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
19532 2006-11-10  Zack Rusin  <zack@kde.org>
19534         Reviewed by Anders.
19536         Making the Qt code work after refactorings in WebCore.
19538         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19539         (WebCore::DumpRenderTree::DumpRenderTree):
19540         (WebCore::DumpRenderTree::checkLoaded):
19541         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
19543 2006-11-08  Darin Adler  <darin@apple.com>
19545         Reviewed by Anders.
19547         - same change as below, only tested this time
19549         * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
19550         mode off. I think we need to do this because WebPreferences saves things
19551         for us automatically. It would be good to turn that off for DumpRenderTree,
19552         but for now lets handle this like the other preferences (set it explicitly
19553         each time).
19555 2006-11-08  Darin Adler  <darin@apple.com>
19557         Reviewed by Anders.
19559         * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
19560         "tab to links" mode. No current tests depend on this, and there's a new
19561         test I want to land that depends on the default setting.
19563 2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
19565         Reviewed by Maciej.
19567         Linux\gdk build fixes.
19569         * GdkLauncher/main.cpp:
19570         (LauncherFrameGdk::LauncherFrameGdk):
19571         (main):
19573 2006-11-06  Alexey Proskuryakov  <ap@nypop.com>
19575         Build fix, approved in principle by Tim H.
19577         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19578         Disable deprecated warnings for main.c (TestNetscapePlugin),
19579         as it now uses QuickDraw to convert mouse event coordinates.
19581 2006-11-05  Timothy Hatcher  <timothy@apple.com>
19583         Reviewed by Maciej.
19585         Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
19586         http://bugs.webkit.org/show_bug.cgi?id=11525
19588         * Drosera/debugger.js: imporved the function name code
19590 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
19592         Reviewed by Maciej.
19594         Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
19595         being attributed to the next test.
19597         * DumpRenderTree/EditingDelegate.m:
19598         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
19599         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
19600         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
19601         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
19602         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
19603         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
19604         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
19605         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
19606         (-[EditingDelegate webViewDidBeginEditing:]):
19607         (-[EditingDelegate webViewDidChange:]):
19608         (-[EditingDelegate webViewDidEndEditing:]):
19609         (-[EditingDelegate webViewDidChangeTypingStyle:]):
19610         (-[EditingDelegate webViewDidChangeSelection:]):
19611         * DumpRenderTree/UIDelegate.m:
19612         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
19614 2006-11-06  Mark Rowe  <bdash@webkit.org>
19616         Reviewed by Alexey.
19618         Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
19620         * Scripts/run-webkit-tests: import the POSIX module.
19622 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
19624         Reviewed by Maciej.
19626         Test for http://bugs.webkit.org/show_bug.cgi?id=11517
19627         REGRESSION: Flash clicks/interactivity not working properly
19629         Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
19631         <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
19632         <script>
19633             plg.eventLoggingEnabled = true;
19634             // use eventSender to simulate events...
19635         </script>
19637         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
19638         (pluginGetProperty):
19639         (pluginSetProperty):
19640         (pluginAllocate):
19641         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
19642         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
19643         (NPP_HandleEvent):
19645 2006-11-04  David Smith  <catfish.man@gmail.com>
19647         Reviewed by Tim H.
19649         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
19650         Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
19652         * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
19654 2006-11-04  David Smith  <catfish.man@gmail.com>
19656         Reviewed by Tim H.
19658         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
19659         Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
19661         * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
19663 2006-11-04  David Smith  <catfish.man@gmail.com>
19665         Reviewed by Tim H.
19667         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
19668         Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
19670         * Drosera/debugger.js: blur() the function popup when we're done with it.
19672 2006-11-04  Mark Rowe  <bdash@webkit.org>
19674         Reviewed by Darin Adler.
19676         Fix use of uninitialized value in pattern match.
19678         * Scripts/webkitdirs.pm:
19680 2006-11-04  Darin Adler  <darin@apple.com>
19682         Reviewed by Tim Hatcher.
19684         * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
19686 2006-11-03  David Smith  <catfish.man@gmail.com>
19688         Reviewed by Tim H.
19690         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
19691         Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
19693         * Drosera/DebuggerApplication.m:
19694         (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
19696 2006-11-03  Vladimir Olexa  <vladimir.olexa@gmail.com>
19698         Reviewed by Tim H.
19700         Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
19701         Bug 9596: [Drosera] add a function popup to the source pane
19703         * Drosera/debugger.css: Added styles for function popup
19704         * Drosera/debugger.html: Added function popup button and select
19705         * Drosera/debugger.js: Added function popup functionality
19707 2006-11-03  Michael Emmel  <mike.emmel@gmail.com>
19709         Reviewed by Maciej.
19711         http://bugs.webkit.org/show_bug.cgi?id=9671
19713         * Scripts/wkstyle:
19714         Adds astyle sed script formats according to most of the style guidelines.
19716 2006-11-03  Alexey Proskuryakov  <ap@nypop.com>
19718         Reviewed by Adele.
19720         http://bugs.webkit.org/show_bug.cgi?id=7323
19721         REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
19723         When dragging, do not send EventSendingController's events immediately. Dragging
19724         is supposed to be modal, so we need to perform it from within the delegate, without
19725         returning to JS to make the next mouse movement.
19727         When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
19729         * DumpRenderTree/EventSendingController.h:
19730         * DumpRenderTree/EventSendingController.m:
19731         (-[EventSendingController dealloc]):
19732         (-[EventSendingController leapForward:]):
19733         (-[EventSendingController mouseDown]):
19734         (-[EventSendingController mouseUp]):
19735         (-[EventSendingController mouseMoveToX:Y:]):
19736         (+[EventSendingController saveEvent:]):
19737         (+[EventSendingController replaySavedEvents]):
19738         * DumpRenderTree/UIDelegate.m:
19739         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
19741 2006-11-02  Geoffrey Garen  <ggaren@apple.com>
19743         Reviewed by Justin Garcia.
19745         Made dumping of editing callbacks opt-in, so that editing spew doesn't
19746         cloud non-editing tests.
19748         * DumpRenderTree/DumpRenderTree.m:
19749         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19750         (-[LayoutTestController shouldDumpEditingCallbacks]):
19751         (runTest):
19752         * DumpRenderTree/EditingDelegate.m:
19753         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
19754         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
19755         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
19756         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
19757         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
19758         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
19759         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
19760         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
19761         (-[EditingDelegate webViewDidBeginEditing:]):
19762         (-[EditingDelegate webViewDidChange:]):
19763         (-[EditingDelegate webViewDidEndEditing:]):
19764         (-[EditingDelegate webViewDidChangeTypingStyle:]):
19765         (-[EditingDelegate webViewDidChangeSelection:]):
19767 2006-11-02  Alexey Proskuryakov  <ap@nypop.com>
19769         Reviewed by Maciej, landed by Anders.
19771         - http://bugs.webkit.org/show_bug.cgi?id=7802
19772           devenv.com not available in VC++ Express installations
19774         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
19775         * Scripts/install-win-extras: Make setx.exe actually run.
19777 2006-11-01  Stephanie Lewis  <slewis@apple.com>
19779         Reviewed by Kevin.
19781         Fixed bug where additional arguments got fed to xcode and jsdriver.pl
19782         Since testkjs is being built before the tests are run, we don't need
19783         to build it with webkit.
19785         Fixes bugs
19786         http://bugs.webkit.org/show_bug.cgi?id=11462
19787         http://bugs.webkit.org/show_bug.cgi?id=6168
19789         * Scripts/build-webkit:
19790         * Scripts/run-javascriptcore-tests:
19792 2006-11-01  Brady Eidson  <beidson@apple.com>
19794         Reviewed by Tim Hatcher
19796         Added accessor to get the source directory for use in client scripts
19798         * Scripts/webkitdirs.pm:
19800 2006-11-01  Mark Rowe  <bdash@webkit.org>
19802         Reviewed by Mitz.
19804         Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
19806         * Spinneret/Spinneret/Spinneret.cpp:
19807         (_tWinMain):
19808         * WebKitLauncher/WebKitNightlyEnabler.m:
19809         (cleanUpAfterOurselves):
19811 2006-10-31  Mark Rowe  <bdash@webkit.org>
19813         Reviewed by Stephanie.
19815         Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
19817         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
19818         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
19820 2006-10-31  Darin Adler  <darin@apple.com>
19822         * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
19823         pasteboard, allocate any number of local pasteboards.
19824         (main): Allocate the dictionary of pasteboards.
19825         (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
19826         given a name.
19827         (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
19828         explicitly elsewhere.
19829         (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
19830         to the selector rather than calling unconditionally.
19832 2006-10-30  Darin Adler  <darin@apple.com>
19834         - fixed build
19836         * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
19837         Don't use CFPasteboard.
19839 2006-10-30  Vladimir Olexa  <vladimir.olexa@gmail.com>
19841         Reviewed by Tim H.
19843         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
19845         * Drosera/debugger.js: ParsedURL() object now recognizes local files
19847 2006-10-30  Darin Adler  <darin@apple.com>
19849         Reviewed by Tim Hatcher.
19851         * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
19852         This should make our buildbot tests no longer need a pasteboard server.
19854 2006-10-30  Geoffrey Garen  <ggaren@apple.com>
19856         Reviewed by Beth.
19858         Reorganized project file into Delegates and Controllers groups, and split
19859         UIDelegate stuff into a UIDelegate class.
19861         A little birdy told me that I might end up adding some UIDelegate methods
19862         to DRT soon.
19864         * DumpRenderTree/DumpRenderTree.m:
19865         (main):
19866         (runTest):
19867         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19869 2006-10-31  Nikolas Zimmermann  <zimmermann@kde.org>
19871         Reviewed by Oliver.
19873         Add new platform/graphics include directory.
19875         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
19877 2006-10-30  Timothy Hatcher  <timothy@apple.com>
19879         Reviewed by Stephanie.
19881         Add a special case for the Internal makefiles, so it can find the OepnSource.
19883         * Scripts/webkitdirs.pm:
19885 2006-10-30  Stephanie Lewis  <slewis@apple.com>
19887         Reviewed by Darin Adler.
19889         Change Makefiles to return non-zero when module make fails.
19890         Fix bug where if xcode options are not set, modules can build in the
19891         wrong directory.
19893         * Makefile:
19894         * Scripts/webkitdirs.pm:
19896 2006-10-30  Matt Lilek  <pewtermoose@gmail.com>
19898         Reviewed by Tim H.
19900         Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
19901         [Drosera] The Console toolbar button should bring the console window to the front.
19903         The console now gets focus when its activated but already open.  Command + L also
19904         now activates/focuses the console.
19906         * Drosera/English.lproj/MainMenu.nib/classes.nib:
19907         * Drosera/English.lproj/MainMenu.nib/info.nib:
19908         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
19909         * Drosera/debugger.js:
19911 2006-10-29  Darin Adler  <darin@apple.com>
19913         * Scripts/do-file-rename: Renames done, ready for the next round.
19914         * Scripts/do-webcore-rename: Ditto.
19916 2006-10-29  Darin Adler  <darin@apple.com>
19918         * Scripts/do-file-rename: And again.
19920 2006-10-29  Darin Adler  <darin@apple.com>
19922         * Scripts/do-webcore-rename: Tweaked plans for renaming again.
19924 2006-10-29  Darin Adler  <darin@apple.com>
19926         Reviewed by Mitz.
19928         * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
19929         Added. Does nothing, which prevents a beep.
19931         * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
19933 2006-10-27  Brady Eidson  <beidson@apple.com>
19935         Rubber stamped by Tim Hatcher
19937         Added "make universal" to build universal binaries
19939         * Makefile:
19940         * Makefile.shared:
19942 2006-10-26  Sam Weinig  <sam.weinig@gmail.com>
19944         Reviewed by Geoff.
19946         Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
19947         REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
19948         ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
19950         * DumpRenderTree/EventSendingController.m:
19951         (-[EventSendingController mouseMoveToX:Y:]):
19953 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
19955         Reviewed by Darin Adler.
19957         Fix Qt/Linux build.
19959         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
19960         (WebCore::DumpRenderTree::open):
19962 2006-10-24  Stephanie Lewis  <slewis@apple.com>
19964         Reviewed by Maciej.
19966         - Changed run-javascriptcore tests to build testkjs before running.
19968         * Scripts/run-javascriptcore-tests:
19970 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
19972         Reviewed by Maciej.
19974         Fix Qt/Linux build.
19976         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
19977         - Fix CMakeLists.txt to include platform/network.
19979         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
19981 2006-10-24  David Smith  <catfish.man@gmail.com>
19983         Reviewed by Tim H.
19985         Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
19986         http://bugs.webkit.org/show_bug.cgi?id=11382
19988         * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
19990 2006-10-21  Darin Adler  <darin@apple.com>
19992         * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
19993         This was still using "symroots" so it almost never worked!
19995 2006-10-21  Darin Adler  <darin@apple.com>
19997         * Makefile: Build DumpRenderTree too.
19998         * Scripts/do-webcore-rename: Removed bogus comment.
20000 2006-10-20  David Smith  <catfish.man@gmail.com>
20002         Reviewed by Tim H.
20004         Bug 11367: Inline Breakpoint Editor Improvements: Act III
20005         http://bugs.webkit.org/show_bug.cgi?id=11367
20007         Major breakpoint editor changes:
20008         * Breakpoints can now either pause or log to console
20009         * Code cleanup through use of XPath and converting breakpoints to objects
20010         * Breakpoints now track how many times they've been reached
20011         * UI tweaks
20012         * The breakpoint editor now saves changes as they're entered
20013         * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
20014         * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
20016         * Drosera/DebuggerDocument.m:
20017         (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
20018         * Drosera/Drosera.xcodeproj/project.pbxproj:
20019         * Drosera/Images/close.tif: Added.
20020         * Drosera/Images/close_active.tif: Added.
20021         * Drosera/Images/close_hover.tif: Added.
20022         * Drosera/breakpointEditor.html: Added.
20023         * Drosera/console.js: Added a way to append messages from outside the console window.
20024         * Drosera/debugger.js:
20025         * Drosera/viewer.css:
20026         * Drosera/viewer.html:
20028 2006-10-18  David Smith  <catfish.man@gmail.com>
20030         Reviewed by Tim H.
20032         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.
20034         * Drosera/DebuggerDocument.m:
20035         (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
20036         * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
20037         * Drosera/debugger.js:
20039 2006-10-18  Timothy Hatcher  <timothy@apple.com>
20041         Reviewed by Anders.
20043         Bug 10851: Crash with Drosera
20044         http://bugs.webkit.org/show_bug.cgi?id=10851
20046         This crash results in an assert in debug builds.
20048         assert(implementsCall());
20050         The __drosera_introspection propery was not callable. Now we just assign
20051         this.__drosera_introspection in the evaluateWebScript call.
20052         This change also removes one DO message.
20054         * Drosera/DebuggerDocument.m:
20055         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
20057 2006-10-18  Mark Rowe  <bdash@webkit.org>
20059         Reviewed by Tim H.
20061         http://bugs.webkit.org/show_bug.cgi?id=11304
20062         Bug 11304: Drosera fails to link as universal binary on PowerPC machine
20064         * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
20065         when they are not part of the WebKit umbrella framework.
20067 2006-10-18  Adam Roben  <aroben@apple.com>
20069         fixo el buildo II: Release's Pride.
20071         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20073 2006-10-18  Geoffrey Garen  <ggaren@apple.com>
20075         fixo el buildo.
20077         Work around #import of <PDFKit/PDFView.h>.
20079         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20081 2006-10-18  David Smith  <catfish.man@gmail.com>
20083         Reviewed by Tim H.
20085         Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
20087         * Drosera/Drosera.xcodeproj/project.pbxproj:
20088         * Drosera/Images/breakpointeditor.png: Added.
20089         * Drosera/breakpointEditor.css: Removed.
20090         * Drosera/breakpointEditor.html: Removed.
20091         * Drosera/breakpointEditor.js: Removed.
20092         * Drosera/debugger.js:
20093         * Drosera/viewer.css:
20095 2006-10-18  David Harrison  <harrison@apple.com>
20097         Reviewed by Tim H.
20099         Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
20100         http://bugs.webkit.org/show_bug.cgi?id=11341
20102         Link editing behavior became a preference. DumpRenderTree needs to specify the
20103         non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
20105         * DumpRenderTree/DumpRenderTree.m:
20106         (main):
20108 2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
20110         Reviewed by Anders.
20112         Make compiler not complain about unused gk. SpinneretWebHost was not setting
20113         initial refcount upon creation, so it is completely bogus.
20115         * GdkLauncher/main.cpp:
20116         (main):
20117         * Spinneret/Spinneret/Spinneret.h:
20118         (SpinneretWebHost::SpinneretWebHost):
20120 2006-10-15  Nikolas Zimmermann  <zimmermann@kde.org>
20122         Reviewed by Oliver.
20124         Add another hanging test, to the "to be skipped" list.
20126         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
20128 2006-10-14  Nikolas Zimmermann  <zimmermann@kde.org>
20130         Reviewed by Anders.
20132         Some fixes to get the Qt BuildSlave to run the LayoutTests.
20134         * Scripts/build-dumprendertree: No need to call cmake again.
20135         * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
20137 2006-10-13  Nikolas Zimmermann  <zimmermann@kde.org>
20139         Reviewed by Eric.
20141         Force --no-http on Qt/Linux.
20143         * Scripts/run-webkit-tests:
20145 2006-10-13  Kevin McCullough  <KMcCullough@apple.com>
20147         Reviewed by Adam.
20149         Gets JavaScripCore tests running on windows.
20151         * Scripts/run-javascriptcore-tests:
20152         * Scripts/webkitdirs.pm:
20154 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
20156         Reviewed by Maciej.
20158         Exclude some tests which crash or hang from Qt/Linux DRT.
20159         These are known to fail, and will be fixed at some point :-)
20161         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
20162         (WebCore::DumpRenderTree::DumpRenderTree):
20163         (WebCore::DumpRenderTree::open):
20164         (WebCore::DumpRenderTree::readStdin):
20165         (WebCore::DumpRenderTree::readSkipFile):
20166         (WebCore::DumpRenderTree::checkLoaded):
20167         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
20168         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
20170 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
20172         Reviewed by Maciej.
20174         Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
20176         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
20177         (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
20178         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
20180 2006-10-12  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
20182         Reviewed by Maciej.
20184         Also regenerate GdkLauncher makefiles, since not doing that might
20185         lead to mismatch between WebCore and GdkLauncher compiler settings.
20187         * Scripts/regenerate-makefiles:
20189 2006-10-10  David Smith  <catfish.man@gmail.com>
20191         Reviewed by Tim H.
20193         Bug 11246: Minor Drosera code cleanup
20194         http://bugs.webkit.org/show_bug.cgi?id=11246
20196         * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
20198 2006-10-10  Vladimir Olexa  <vladimir.olexa@gmail.com>
20200         Reviewed by Tim H.
20202         Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
20204         * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
20205         * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
20206         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
20207         * Drosera/Images/SourceArrowOpen.png: Added.
20208         * Drosera/Images/fileIcon.jpg: Added.
20209         * Drosera/Images/siteCollapsed.tif: Added.
20210         * Drosera/Images/siteExpanded.tif: Added.
20211         * Drosera/Images/siteIcon.tif: Added.
20212         * Drosera/debugger.css: Added File Browser styles
20213         * Drosera/debugger.html: Added File Browser UI
20214         * Drosera/debugger.js: Added File Browser functionality
20216 2006-10-10  Darin Adler  <darin@apple.com>
20218         * Scripts/do-file-rename: Added.
20220 2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
20222         Reviewed by Geoff.
20224         Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
20225         a page. This allows automatic testing via e.g. valgrind.
20227         * GdkLauncher/gdklauncher.bkl:
20228         * GdkLauncher/main.cpp:
20229         (LauncherFrameGdk::LauncherFrameGdk):
20230         (LauncherFrameGdk::setExitAfterLoading):
20231         (LauncherFrameGdk::handledOnloadEvents):
20232         (handle_event):
20233         (main):
20235 2006-10-06  David Smith  <catfish.man@gmail.com>
20237         Reviewed by Timothy.
20239         Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
20241         * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
20242         * Drosera/breakpointEditor.css: Added.
20243         * Drosera/breakpointEditor.html: Added.
20244         * Drosera/breakpointEditor.js: Added.
20245         * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
20247 2006-10-06  Nikolas Zimmermann  <zimmermann@kde.org>
20249         Reviewed by Tim H.
20251         Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
20253         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
20254         (WebCore::DumpRenderTree::DumpRenderTree):
20256 2006-10-05  Oliver Hunt  <ohunt@apple.com>
20258         Reviewed by Anders.
20260         * Scripts/run-webkit-tests:
20261         Fix pixel tests.
20263 2006-10-04  Anders Carlsson  <acarlsson@apple.com>
20265         Reviewed by Darin Adler.
20267         * Scripts/run-webkit-tests:
20268         Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
20269         results should be.
20271 2006-10-05  Nikolas Zimmermann  <zimmermann@kde.org>
20273         Reviewed and landed by ap.
20275         Cmake: make it possible to install the libraries after having built using 'build-webkit'.
20276         Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
20278         * Scripts/webkitdirs.pm:
20280 2006-10-04  Mark Rowe  <bdash@webkit.org>
20282         Reviewed by Stephanie.
20284         Switch the Qt buildbot to the standard set of build steps.
20285         Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
20286         see if any regressions were spotted, and fail the test if so.
20288         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
20289         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
20290         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
20292 2006-10-04  Timothy Hatcher  <timothy@apple.com>
20294         Reviewed by Mitz Pettel!
20296         Bug 10708: [Drosera] Make the console input plaintext-only
20297         http://bugs.webkit.org/show_bug.cgi?id=10708
20299         Change the console input -webkit-user-modify property to
20300         read-write-plaintext-only.
20302         * Drosera/console.css:
20304 2006-10-04  David Smith  <catfish.man@gmail.com>
20306         Reviewed by Tim H.
20308         Bug 10473: [Drosera] Overlapping text in JavaScript Console
20309         http://bugs.webkit.org/show_bug.cgi?id=10473
20311         Using min-height instead of height to avoid overlapping text.
20313         * Drosera/console.css:
20315 2006-10-04  David Smith  <catfish.man@gmail.com>
20317         Reviewed by Tim H.
20319         Added a bash-style command history.
20321         * Drosera/console.js:
20323 2006-10-03  Anders Carlsson  <acarlsson@apple.com>
20325         Reviewed by Adam and Brady.
20327         * DumpRenderTree/DumpRenderTree.m:
20328         (main):
20329         Update URL to Ahem.ttf
20331 2006-10-03  Darin Adler  <darin@apple.com>
20333         * Scripts/commit-log-editor: Added missing "close" call. Oops!
20335 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
20337         Reviewed by eseidel.  Landed by eseidel.
20339         Offer a way for BuildBot to not colorize the cmake output, when building
20340         with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
20342         Default is colorize output, though only Qt platform handles this for now.
20344         * Scripts/build-dumprendertree:
20345         * Scripts/build-webkit:
20346         * Scripts/webkitdirs.pm:
20348 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
20350         Reviewed by eseidel.  Landed by eseidel.
20352         Make all important scripts work with Qt/Linux.
20354         You can safely use this now:
20355         set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
20357         * Scripts/build-dumprendertree:
20358         * Scripts/run-javascriptcore-tests:
20359         * Scripts/run-webkit-tests:
20360         * Scripts/webkitdirs.pm:
20362 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
20364         Reviewed by Eric.
20366         build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
20368         * Scripts/webkitdirs.pm:
20370 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
20372         Reviewed/landed by Adam.
20374         Proper build-webkit support for Qt/Linux.
20376         Compilation process is similar to OSX now, aka.
20377         the build directory is RootCheckoutDir/WebKitBuild now.
20379         * Scripts/build-webkit: Recognize Qt.
20380         * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
20382 2006-10-01  Mark Rowe  <opendarwin.org@bdash.net.nz>
20384         Reviewed by Maciej.
20386         Add QT build slave to Buildbot.
20388         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
20389         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
20390         * 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.
20391         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
20393 2006-09-28  David Harrison  <harrison@apple.com>
20395         Suggested by Darin Adler.
20397         Moved an extern declaration from inside a method to the top of the file.
20399         * DumpRenderTree/EventSendingController.m:
20400         (-[EventSendingController clearKillRing]):
20402 2006-09-28  David Harrison  <harrison@apple.com>
20404         Reviewed by Justin.
20406         Add clearKillRing so we can test emacs support with empty kill ring.
20408         * DumpRenderTree/EventSendingController.m:
20409         (+[EventSendingController isSelectorExcludedFromWebScript:]):
20410         (+[EventSendingController webScriptNameForSelector:]):
20411         (-[EventSendingController clearKillRing]):
20413 2006-09-27  MorganL  <morganl.webkit@yahoo.com>
20415         Reviewed by Maciej, landed by Brady
20417         Fix URL bar updating.
20419         * Spinneret/Spinneret/Spinneret.h:
20420         (SpinneretWebHost::didStartProvisionalLoadForFrame):
20421         (SpinneretWebHost::didCommitLoadForFrame):
20422         (SpinneretWebHost::didFinishLoadForFrame):
20424 2006-09-23  Sam Weinig  <sam.weinig@gmail.com>
20426         Reviewed by Eric.
20428         Build Fix.
20430         * DumpRenderTree/EventSendingController.m:
20431         (-[EventSendingController enableDOMUIEventLogging:]):
20433 2006-09-22  Justin Garcia  <justin.garcia@apple.com>
20435         Reviewed by darin
20437         * Scripts/do-webcore-rename:
20439 2006-09-21  Timothy Hatcher  <timothy@apple.com>
20441         Reviewed by Adam.
20443         Bug 10923: Frame scroll layout test failures on the buildbot
20444         http://bugs.webkit.org/show_bug.cgi?id=10923
20446         Added a new method that will toggle on the recursive dump of
20447         child frame scroll positions.
20449         * DumpRenderTree/DumpRenderTree.m:
20450         (dumpFrameScrollPosition):
20451         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
20452         (-[LayoutTestController dumpChildFrameScrollPositions]):
20454 2006-09-19  Krzysztof Kowalczyk <kkowalczyk@gmail.com>
20456         Reviewed by eseidel.  Landed by eseidel.
20458         Detect that close button was pressed and exit cleanly.
20460         * GdkLauncher/main.cpp:
20461         (handle_event):
20462         (main):
20464 2006-09-17  Adam Roben  <aroben@apple.com>
20466         Reviewed by hyatt, sfalken.
20468         Get DumpRenderTree compiling and limping along on Windows.
20470         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
20471         (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
20472         (main): Add NULL argument to Page constructor.
20473         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
20474         * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
20476 2006-09-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
20478         Reviewed by Brady.
20480         http://bugs.webkit.org/show_bug.cgi?id=10635
20481         Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
20483         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
20484         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
20485         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot.  Always do clean SVG builds.
20487 2006-09-09  Sam Weinig  <sam.weinig@gmail.com>
20489         Reviewed by Eric.
20491         Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
20492         Even More Objective-C DOM auto-generation cleanup
20494         - Change to use new, more Objectice-C'ish version of
20495           DOMKeyboardEvent's initKeyboardEvent.  Fixes an error with
20496           regression test for fast/events/dblclick-addEventListener.html.
20498         * DumpRenderTree/EventSendingController.m:
20499         (-[EventSendingController fireKeyboardEventsToElement:]):
20501 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
20503         Reviewed by Tim H.
20505         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
20506         Move QtLauncher down to WebKitQt.
20508         * QtLauncher/CMakeLists.txt: Removed.
20509         * QtLauncher/main.cpp: Removed.
20511 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
20513         Reviewed by Darin Adler.
20515         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
20516         Adjust DumpRenderTree to the FrameQtClient changes.
20518         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
20519         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
20520         (WebCore::DumpRenderTree::DumpRenderTree):
20521         (WebCore::DumpRenderTree::~DumpRenderTree):
20522         (WebCore::DumpRenderTree::frame):
20523         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
20524         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
20525         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
20526         (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
20527         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
20529 2006-09-03  Darin Adler  <darin@apple.com>
20531         * Scripts/do-webcore-rename: More renaming plans.
20533 2006-09-03  Alexey Proskuryakov  <ap@nypop.com>
20535         Reviewed by Tim H.
20537         http://bugs.webkit.org/show_bug.cgi?id=10693
20538         Convert JavaScript arrays to AppleScript lists
20540         * DumpRenderTree/AppleScriptController.m:
20541         (convertAEDescToObject):
20542         (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
20544 2006-08-31  Darin Adler  <darin@apple.com>
20546         * Scripts/do-webcore-rename: Prepare for another round of renaming.
20548 2006-08-29  Dan Waylonis  <waylonis@google.com>
20550         Reviewed by ggaren.
20552         - Verification of exceptions thrown in a plugin.  Test for bug 10114.
20553         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20554         * DumpRenderTree/ObjCPlugin.m:
20555         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
20556         (+[ObjCPlugin webScriptNameForSelector:]):
20557         (-[ObjCPlugin throwIfArgumentIsNotHello:]):
20559 2006-08-30  Nikolas Zimmermann  <zimmermann@kde.org>
20561         Reviewed by Tim H.
20563         Commit KDE related tweaks, to be able to
20564         differentiate between a Qt-only or a KDE build.
20566         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
20567         * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
20569 2006-08-29  Darin Adler  <darin@apple.com>
20571         Reviewed by Tim Hatcher.
20573         * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
20574         to work around what seems to be a bug in some versions of gdb.
20576 2006-08-16  Tim Omernick  <timo@apple.com>
20578         Reviewed by John Sullivan.
20580         Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
20581         <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
20582         in Firefox
20584         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
20585         (NPP_GetValue):
20586         WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox.  NPObject return values
20587         are expected to be retained by the plug-in, and released by the caller.
20589 2006-08-28  Nikolas Zimmermann  <zimmermann@kde.org>
20591         Reviewed by Tim Hatcher.
20593         Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
20595         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
20596         (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
20597         Qt's DumpRenderTree.
20599       * Scripts/run-webkit-tests:
20600         Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
20602 2006-08-28  Darin Adler  <darin@apple.com>
20604         Reviewed by Tim Hatcher.
20606         * Scripts/build-drosera: Fix behavior when there are multiple options.
20608 2006-08-27  Timothy Hatcher  <timothy@apple.com>
20610         Reviewed by Anders.
20612         Drosera will be built when you type make.
20614         * Drosera/Makefile: Added.
20615         * Makefile: Added.
20616         * Makefile.shared: Added.
20618 2006-08-27  Anders Carlsson  <acarlsson@apple.com>
20620         Forgot to add these.
20622         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
20623         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
20624         (WebCore::DumpRenderTree::DumpRenderTree):
20625         (WebCore::DumpRenderTree::~DumpRenderTree):
20626         (WebCore::DumpRenderTree::open):
20627         (WebCore::DumpRenderTree::readStdin):
20628         (WebCore::DumpRenderTree::checkLoaded):
20629         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
20630         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
20631         (main):
20633 2006-08-27  Nikolas Zimmermann  <zimmermann@kde.org>
20635         Reviewed by Eric, landed by Anders.
20637         Add DumpRenderTree support for Qt/Linux.
20639         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
20640         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
20641         (WebCore::DumpRenderTree::DumpRenderTree):
20642         (WebCore::DumpRenderTree::~DumpRenderTree):
20643         (WebCore::DumpRenderTree::open):
20644         (WebCore::DumpRenderTree::readStdin):
20645         (WebCore::DumpRenderTree::checkLoaded):
20646         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
20647         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
20648         (main):
20649         * Scripts/build-dumprendertree:
20650         * Scripts/run-webkit-tests:
20651         * Scripts/webkitdirs.pm:
20653 2006-08-24  Nikolas Zimmermann  <zimmermann@kde.org>
20655         Reviewed by Eric. Landed by rwlbuis.
20657         Add QtLauncher (was testunity before), which provides a
20658         standalone "browser" to test the Qt platform stuff.
20660         * QtLauncher/CMakeLists.txt: Added.
20661         * QtLauncher/main.cpp: Added.
20662         (main):
20664 2006-08-22  Trey Matteson  <trey@usa.net>
20666         Reviewed by ggaren.
20668         Added support for a new set of browser navigation tests.  The main feature
20669         is the ability for a test to queue up a set of future actions that will
20670         happen after that first page is loaded.  This is used to simulate a sequence
20671         of user actions such as filling out forms, loading additional pages or
20672         going back.  In addition we can now dump out the state of the back/forward
20673         list, and the scroll position is dumped if not at 0,0.
20675         * DumpRenderTree/DumpRenderTree.m:
20676         (main):  Init new state
20677         (compareHistoryItems):  New utility to support sorting.
20678         (dumpHistoryItem):  Write out a WebHistoryItem and kids.
20679         (dumpFrameScrollPosition):  Write out the scroll position.
20680         (dump):  Optionally write b/f list or scroll position.
20681         (-[WaitUntilDoneDelegate processWork:]):  Perform queued work.
20682         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
20683         Kick off any queued actions.  Fixed for the case of loads started in
20684         a subframe instead of the root frame.
20685         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
20686         Grab the topmost frame that is being loaded.  Do this as early as possible,
20687         instead of in didCommitLoadForFrame.
20688         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
20689         Noting a load has started now happens in previous method.
20690         (+[LayoutTestController isSelectorExcludedFromWebScript:]):  Boilerplate
20691         (+[LayoutTestController webScriptNameForSelector:]):  Boilerplate
20692         (-[LayoutTestController notifyDone]):  readyToDump var is subsumed by
20693         topFrameLoading
20694         (-[LayoutTestController dumpBackForwardList]):  New impl, just set a bit.
20695         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
20696         Add new work to the queue.
20697         (-[LayoutTestController _doLoad:target:]):  Do a queued load.
20698         (-[LayoutTestController _doBackOrForwardNav:]):  Do a queued back/forward.
20699         (-[LayoutTestController scheduleBackNav:]):  Ways for scripts to queue actions
20700         (-[LayoutTestController scheduleForwardNav:]):
20701         (-[LayoutTestController scheduleReload]):
20702         (-[LayoutTestController scheduleScript:]):
20703         (-[LayoutTestController scheduleLoad:target:]):
20704         (runTest):  Clear new state for each test.  Renamed from "dumpRenderTree"
20705         since it's not one of the functions that does any dumping.
20707 2006-08-15  Jonas Witt <jonas.witt@gmail.com>
20709         Reviewed by Darin Adler.
20711         - added a function to create a few DOMKeyboardEvents and dispatch
20712           them to a specified HTML element
20713           http://bugs.webkit.org/show_bug.cgi?id=9736
20715         * DumpRenderTree/EventSendingController.m:
20716         (+[EventSendingController isSelectorExcludedFromWebScript:]):
20717         (+[EventSendingController webScriptNameForSelector:]):
20718         (-[EventSendingController fireKeyboardEventsToElement:]):
20720 2006-08-15  Duncan Wilcox  <duncan@mclink.it>
20722         Reviewed and tweaked by Darin Adler.
20724         - added DumpRenderTree support so editing delegate can be made to refuse edits
20725           to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
20727         * DumpRenderTree/DumpRenderTree.m:
20728         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
20729         to the list of methods.
20730         (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
20731         without the colon, for the JavaScript name.
20732         (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
20733         delegate.
20734         (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
20736         * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
20737         setter methods to the class.
20738         * DumpRenderTree/EditingDelegate.m:
20739         (-[EditingDelegate init]): Initialize acceptsEditing to YES.
20740         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
20741         return the value of acceptsEditing.
20742         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
20743         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
20744         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
20745         (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
20746         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
20747         Ditto.
20748         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
20749         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
20750         (-[EditingDelegate setAcceptsEditing:]): Added.
20752 2006-08-03  Mark Rowe  <opendarwin.org@bdash.net.nz>
20754         Reviewed by Darin Adler.
20756         Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
20757         http://bugs.webkit.org/show_bug.cgi?id=10224
20759         * Drosera/Drosera.xcodeproj/project.pbxproj:
20760         * Drosera/LauncherInfo.plist:
20762 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
20764         - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
20765           when a test performs an unsuccessful drag and drop operation.
20767         * DumpRenderTree/EventSendingController.m:
20768         (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
20769         drag operation for the mouse release is NSDragOperationNone.
20771 2006-08-02  Timothy Hatcher  <timothy@apple.com>
20773         Reviewed by Darin Adler.
20775         Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
20776         http://bugs.webkit.org/show_bug.cgi?id=9632
20778         Do not change the file source when normalizing the line endings.
20779         We use this file source to compare against new versions of the source
20780         as it comes in, so we can skip re-syntax highlighting if they are the same.
20781         The problem is apparent on yahoo.com since they have mixed line endings and
20782         once we normalize them the source will always be different. This was
20783         compounded by the fact that yahoo has around 40 inline scripts. Each
20784         inline script causes us to check if the main document has more loaded,
20785         that is when we compare the source strings. Since they are always different
20786         we would syntax highlight yahoo.com 40 times! We do check source length before
20787         doing a more expensive string comparison, but the lengths were the same.
20789         * Drosera/debugger.js:
20791 2006-08-02  Niels Leenheer  <niels.leenheer@gmail.com>
20793         Reviewed by Timothy.
20795         Bug 9931: [Drosera] Needs a cool icon
20796         http://bugs.webkit.org/show_bug.cgi?id=9931
20798         * Drosera/Drosera.icns: Added.
20799         * Drosera/Drosera.xcodeproj/project.pbxproj:
20800         * Drosera/Info.plist:
20802 2006-08-01  Darin Adler  <darin@apple.com>
20804         - fix a bug in my recent change where the mouse position at the end of
20805           the last test would affect the results of the next test
20807         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
20809 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
20811         Reviewed by Maciej.
20813         http://bugs.webkit.org/show_bug.cgi?id=10182
20814         Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
20816         * Drosera/console.js: String.indexOf returns -1 when the string is not found.
20817         Correct the logic to not reload local variable list unless an '=' character is in the expression.
20819 2006-07-31  Darin Adler  <darin@apple.com>
20821         Reviewed by Maciej.
20823         - fix http://bugs.webkit.org/show_bug.cgi?id=10171
20824           REGRESSION: failing layout test: fast/events/objc-event-api.html
20826         * DumpRenderTree/DumpRenderTree.m:
20827         (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
20828         location in flipped coordinates, since those are the coordinates that we use.
20829         (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
20830         inside WebHTMLView.
20832         * DumpRenderTree/EventSendingController.m:
20833         (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
20834         (-[EventSendingController init]): Removed, since the whole thing was a no-op.
20835         (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
20836         probably worked OK, but this is needed to be correct.
20837         (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
20838         code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
20839         position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
20840         dump the screenY as-is.
20842 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
20844         Reviewed by Darin Adler.
20846         http://bugs.webkit.org/show_bug.cgi?id=10178
20847         Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
20849         * Drosera/debugger.js:  Keep a stack that contains the source file and line number references for outer
20850         frames.  Use this stack to determine which file and line to highlight when a stack frame is selected.
20852 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
20854         Reviewed by Darin Adler.
20856         http://bugs.webkit.org/show_bug.cgi?id=10175
20857         Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
20859         * Drosera/DebuggerDocument.m:
20860         (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
20862 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
20864         Reviewed by Darin Adler.
20866         http://bugs.webkit.org/show_bug.cgi?id=10167
20867         Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
20869         * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
20870         in keyDown handler.
20872 2006-07-30  Mark Rowe  <opendarwin.org@bdash.net.nz>
20874         Reviewed by Maciej.
20876         Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
20877         http://bugs.webkit.org/show_bug.cgi?id=9686
20879         * Drosera/DebuggerDocument.m:
20880         (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
20881         ensure that the server does not try and notify us of events related to the resumption.
20882         (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
20883         call through to JavaScript.
20884         * Drosera/debugger.js: Pause debugger when exception is raised.
20886 2006-07-29  Mike Emmel  <mike.emmel@gmail.com>
20888         Reviewed by Darin Adler.
20890         - fixes for Linux build
20892         * GdkLauncher/mk: Added call to bakefile_gen before calling make.
20893         * GdkLauncher/gdklauncher.bkl: Tweak comment.
20895 2006-07-24  Dan Waylonis  <waylonis@google.com>
20897         Reviewed and tweaked a bit by Darin Adler.
20899         * DumpRenderTree/ObjCPlugin.m:
20900         (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
20901         (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
20902         "echo:" so it's nice to call from JavaScript.
20903         (-[ObjCPlugin echo:]): Just returns the same object -- can be used
20904         to test a round trip through Objective-C types.
20906 2006-07-24  Alexey Proskuryakov  <ap@nypop.com>
20908         Reviewed by Darin Adler.
20910         Fix http://bugs.webkit.org/show_bug.cgi?id=10060
20911         Improve iExploder results parsing
20913         * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
20914         in random mode, too.
20916 2006-07-18  David Kilzer  <ddkilzer@kilzer.net>
20918         Reviewed by Timothy.
20920         - fix http://bugs.webkit.org/show_bug.cgi?id=9964
20921           Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
20923         * Scripts/prepare-ChangeLog: Added --[no-]update switch.
20925 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
20927         Reviewed by Darin Adler.
20929         * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
20930         Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
20931         * GdkLauncher/mk:
20932         Removed "Property changes" that snuck in as part of the "apply patch" process.
20934 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
20936         Reviewed by Darin Adler.
20938         - fix http://bugs.webkit.org/show_bug.cgi?id=9875
20939           Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
20941         * Scripts/svn-apply:
20942         (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
20943         (checksum): Added.
20944         (patch): Use patch(1) for non-binary additions and deletions.
20945         * Scripts/svn-unapply:
20946         (checksum): Added.
20947         (patch): Use patch(1) for reverting non-binary additions and deletions.
20948         (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
20950 2006-07-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
20952         Reviewed by Timothy.
20954         Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
20955         http://bugs.webkit.org/show_bug.cgi?id=9889
20957         * Drosera/debugger.js:  Track whether we paused during the execution of willLeaveFrame.  If
20958         so, have stepOut pause on the next call to willExecuteStatement rather than second.
20960 2006-07-12  David Kilzer  <ddkilzer@kilzer.net>
20962         Reviewed by Darin Adler.
20964         - fix http://bugs.webkit.org/show_bug.cgi?id=9848
20965           Teach svn-create-patch and friends to fix ChangeLog patches
20967         * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
20968         * Scripts/svn-create-patch: Ditto.
20969         * Scripts/svn-unapply: Ditto.
20971 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
20973         Reviewed by ggaren.
20975         Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
20976         http://bugs.webkit.org/show_bug.cgi?id=9869
20978         * Drosera/DebuggerDocument.m:
20979         (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
20981 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
20983         Reviewed by ggaren.
20985         Bug 9863: Drosera needs to show something at launch
20986         http://bugs.webkit.org/show_bug.cgi?id=9863
20988         * Drosera/DebuggerApplication.m:
20989         (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
20991 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
20993         Reviewed by Timothy.
20995         Lets Drosera build universal for the nightlies. Right now it is not
20996         possible to build a universal binary on a PPC machine because of a
20997         conflict with the universal SDK.
20999         * BuildSlaveSupport/build-launcher-app:
21000         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
21002 2006-07-11  Alexey Proskuryakov  <ap@nypop.com>
21004         Reviewed by Tim O.
21006         - test for http://bugs.webkit.org/show_bug.cgi?id=7808
21007         Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
21009         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
21010         (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
21011         should open a new stream and deliver the data to the current instance.
21013 2006-07-11  Timothy Hatcher  <timothy@apple.com>
21015         Reviewed by Darin Adler.
21017         Bug 9598: [Drosera] add a JavaScript evaluator console
21018         http://bugs.webkit.org/show_bug.cgi?id=9598
21020         * Drosera/DebuggerApplication.h:
21021         * Drosera/DebuggerApplication.m:
21022         (-[DebuggerApplication knownServers]):
21023         * Drosera/DebuggerDocument.h:
21024         * Drosera/DebuggerDocument.m:
21025         (-[WebScriptObject evaluateScript:inCallFrame:]):
21026         (-[WebScriptObject showConsole:]):
21027         (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
21028         (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
21029         (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
21030         (-[WebScriptObject webView:createWebViewWithRequest:]):
21031         (-[WebScriptObject webViewShow:]):
21032         (-[WebScriptObject webViewAreToolbarsVisible:]):
21033         (-[WebScriptObject webView:setToolbarsVisible:]):
21034         (-[WebScriptObject webView:setResizable:]):
21035         (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
21036         (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
21037         (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
21038         (-[WebScriptObject webView:windowScriptObjectAvailable:]):
21039         (-[WebScriptObject webView:didFinishLoadForFrame:]):
21040         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
21041         * Drosera/Drosera.xcodeproj/project.pbxproj:
21042         * Drosera/Images/console.png: Added.
21043         * Drosera/console.css: Added.
21044         * Drosera/console.html: Added.
21045         * Drosera/console.js: Added.
21047 2006-07-11  Timothy Hatcher  <timothy@apple.com>
21049         Reviewed by a tired Geoff.
21051         Bug 9597: [Drosera] hook up the variables table to show stack variables
21052         http://bugs.webkit.org/show_bug.cgi?id=9597
21054         * Drosera/DebuggerDocument.m:
21055         (-[WebScriptObject isSelectorExcludedFromWebScript:]):
21056         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
21057         (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
21058         (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
21059         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
21060         (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
21061         (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
21062         (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
21063         (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
21064         (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
21065         * Drosera/debugger.css:
21066         * Drosera/debugger.html:
21067         * Drosera/debugger.js:
21069 2006-07-10  Tim Omernick  <timo@apple.com>
21071         Reviewed by Beth Dakin.
21073         <http://bugs.webkit.org/show_bug.cgi?id=9844>:
21074         Add DOM access test to DumpRenderTree's Netscape plug-in
21076         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
21077         (testDOMAccess):
21078         (pluginInvoke):
21080 2006-07-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
21082         Reviewed by Darin Adler.
21084         - http://bugs.webkit.org/show_bug.cgi?id=9839
21085           Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
21087         Now track three states: initializing, running, and closed.  If we are launched and the previous
21088         state was initializing then we likely just experienced a crash on launch.
21090         * WebKitLauncher/WebKitNightlyEnabler.m:
21091         (myApplicationWillFinishLaunching): Improve wording of dialog.  Update to set new running state.
21092         (myApplicationWillTerminate): Update to use new states.
21093         (cleanUpAfterOurselves): Display alert if previous state was initializing.  Set state as
21094         initializing as early as practical.
21095         (symbol_lookup): Bring code up to speed with formatting guidelines.
21096         (GDSymbolLookup): Ditto.
21098 2006-07-10  Darin Adler  <darin@apple.com>
21100         - try to fix Windows build
21102         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
21103         Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
21105 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
21107         Build fix.
21109         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
21110           devenv.com not available in VC++ Express installations
21112         * Scripts/webkitdirs.pm: Backed out previous change.
21114 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
21116         Reviewed by Darin Adler.
21118         - http://bugs.webkit.org/show_bug.cgi?id=9693
21119           svn-apply should set ChangeLog date correctly when applying patches
21121         * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
21122         before applying the patch.
21123         * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
21125 2006-07-09  Darin Adler  <darin@apple.com>
21127         * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
21129 2006-07-09  Darin Adler  <darin@apple.com>
21131         * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
21133 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
21135         - http://bugs.webkit.org/show_bug.cgi?id=7802
21136           devenv.com not available in VC++ Express installations
21138         * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
21139         work again.  Add VC++ Express check as the fallback.
21141 2006-07-09  Bjoern Graf  <bjoern.graf@gmail.com>
21143         Reviewed by Timothy Hatcher.
21145         - http://bugs.webkit.org/show_bug.cgi?id=7802
21146           devenv.com not available in VC++ Express installations
21148         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
21150 2006-07-09  Joost de Valk  <jdevalk@opendarwin.org>
21152         Reviewed by Eric.
21154         Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
21155         Patch by coldwinter@katamail.com.
21157         In the congratulations message, "capatibilies" should be "capabilities".
21159         * Scripts/build-webkit:
21161 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
21163         Reviewed by Timothy Hatcher.
21165         - http://bugs.webkit.org/show_bug.cgi?id=9794
21166           Teach run-webkit-tests how to ignore tests with performance improvements
21168         * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
21169         feature, and minor clean up.
21171 2006-07-08  Darin Adler  <darin@apple.com>
21173         Reviewed by Geoff (well, half of it at least).
21175         - http://bugs.webkit.org/show_bug.cgi?id=9788
21176           storage leaks in Objective-C tests
21178         * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
21179         * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
21180         Add a release to fix a storage leak.
21182 2006-07-08  Darin Adler  <darin@apple.com>
21184         * Scripts/do-webcore-rename: A few more.
21186 2006-07-08  Darin Adler  <darin@apple.com>
21188         * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
21190 2006-07-04  Maciej Stachowiak  <mjs@apple.com>
21192         Reviewed by Darin Adler.
21194         http://bugs.webkit.org/show_bug.cgi?id=9734
21195         - add support for dumping non-HTML as text - in this case use textContent
21196         instead of innerText
21198         * DumpRenderTree/DumpRenderTree.m:
21199         (dump):
21201 2006-07-02  Timothy Hatcher  <timothy@apple.com>
21203         Reviewed by Eric.
21205         Bug 9631: [Drosera] Add "Step Over" and "Step Out"
21206         http://bugs.webkit.org/show_bug.cgi?id=9631
21208         Adds step over and step out. Along with a little code cleanup
21209         that was minor enough to piggyback on this fix.
21211         * Drosera/DebuggerDocument.h:
21212         * Drosera/DebuggerDocument.m:
21213         (-[DebuggerDocument stepOver:]):
21214         (-[DebuggerDocument stepOut:]):
21215         (-[DebuggerDocument windowDidLoad]):
21216         (-[DebuggerDocument windowWillClose:]):
21217         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
21218         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
21219         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
21220         (-[DebuggerDocument validateUserInterfaceItem:]):
21221         * Drosera/Drosera.xcodeproj/project.pbxproj:
21222         * Drosera/debugger.html:
21223         * Drosera/debugger.js:
21224         * Drosera/viewer.css:
21226 2006-07-02  Timothy Hatcher  <timothy@apple.com>
21228         Reviewed by Eric.
21230         Bug 9628: [Drosera] Split Views acting oddly
21231         http://bugs.webkit.org/show_bug.cgi?id=9628
21233         Only update the last X or Y coordinate if the new
21234         size was not constrained. Also adds the resize cursor to
21235         the body during the drag incase there is a constrained
21236         over drag off of the resizer element.
21238         * Drosera/debugger.js:
21240 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
21242         Reviewed by Alexey Proskuryakov.
21244         Bug 9692: Warning about Safari extensions on every launch is obnoxious
21245         http://bugs.webkit.org/show_bug.cgi?id=9692
21247         * WebKitLauncher/WebKitNightlyEnabler.m:
21248         (myApplicationWillTerminate): Note that we are exiting cleanly.
21249         (cleanUpAfterOurselves): Install bundle load tracking only if we failed
21250          to exit cleanly on our last invocation.  This doesn't play nicely with
21251          multiple concurrent instances of WebKit.app so it can be disabled via
21252          defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
21254 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
21256         Reviewed by Alexey Proskuryakov.
21258         Bug 9654: Refresh Loop when accessing feed URLs
21259         http://bugs.webkit.org/show_bug.cgi?id=9654
21261         * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
21263 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
21265         Reviewed by Timothy Hatcher.
21267         Bug 9689: Nightly builds should warn a user about potential problems when using
21268         "Safari extensions"
21269         http://bugs.webkit.org/show_bug.cgi?id=9689
21271         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
21272         * WebKitLauncher/WebKitNightlyEnabler.m:
21273         (myBundleDidLoad): Keep track of if any bundles that are loaded.
21274         (myApplicationWillFinishLaunching):  Notify user if any bundles are loaded.
21275         (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
21276         NSApplicationWillFinishLaunchingNotification notifications so that we can
21277         track bundle loads and notify the user at launch completion.
21279 2006-06-30  Mike Emmel  <mike.emmel@gmail.com>
21281         Reviewed by Darin Adler.
21283         - first check-in of a Gdk shell for testing WebKit
21285         * GdkLauncher: Added.
21287 2006-06-29  Timothy Hatcher  <timothy@apple.com>
21289         Reviewed by Darin Adler.
21291         Need to call window close so WebView tears-down completly.
21293         * DumpRenderTree/DumpRenderTree.m:
21294         (main): call [window close]
21296 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
21298         Reviewed by Darin Adler.
21300         Bug 9615: Buildbot configuration should be in SVN repository
21301         http://bugs.webkit.org/show_bug.cgi?id=9615
21303         Import BuildBot configuration files as used by build.webkit.org.
21304         auth.py has been stubbed out so that slave passwords are not disclosed.
21306         * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
21307         * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
21308         * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
21309         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
21310         * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
21311         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
21312         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
21313         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
21314         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
21315         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
21316         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
21317         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
21319 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
21321         Reviewed by Darin Adler.
21323         Bug 9614: Nightly builds should notify user if a newer build is available
21324         http://bugs.webkit.org/show_bug.cgi?id=9614
21326         * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
21327         * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
21328         script so it can keep track of the latest revision.
21329         * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
21330         * WebKitLauncher/VERSION: Added.  Placeholder for SVN revision number
21331         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
21332         * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
21333         the nightly start page.
21335 2006-06-26  Jonas Witt  <jonas.witt@gmail.com>
21337         Reviewed by Darin Adler.
21339         Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
21340         http://bugs.webkit.org/show_bug.cgi?id=9579
21342         Report screenY values as (height of zero screen - screenY)
21344         * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
21346 2006-06-25  Timothy Hatcher  <timothy@apple.com>
21348         Reviewed by Geoff.
21350         Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
21351         http://bugs.webkit.org/show_bug.cgi?id=9591
21353         Makes breakpoints dragable. If dragged off the gutter they are deleted.
21355         * Drosera/debugger.js:
21356         * Drosera/viewer.css:
21358 2006-06-25  Timothy Hatcher  <timothy@apple.com>
21360         Reviewed by Darin Adler.
21362         Bug 9568: assertion failure in Safari after quitting Drosera
21363         http://bugs.webkit.org/show_bug.cgi?id=9568
21365         Call switchToServerNamed:nil and not removeLister to make sure
21366         the server object is set to nil to prevent further removeListener calls.
21368         * Drosera/DebuggerDocument.m:
21369         (-[DebuggerDocument applicationTerminating:]):
21371 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
21373         Reviewed by Darin Adler.
21375         * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
21376         that the directory is not empty instead of reading in every single file and directory first,
21377         then checking the count.  Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
21378         defined.
21380 2006-06-25  Darin Adler  <darin@apple.com>
21382         * Scripts/svn-apply: Tweak comments.
21383         * Scripts/svn-create-patch: Ditto.
21384         * Scripts/svn-unapply: Ditto.
21386 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
21388         Formatting fix per Bug 9571 Comment #2.
21390         http://bugs.webkit.org/show_bug.cgi?id=9571#c2
21392         * Scripts/svn-apply: Formatting fix.
21394 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
21396         Reviewed by Darin Adler.
21398         http://bugs.webkit.org/show_bug.cgi?id=9571
21399         Teach svn-apply and svn-unapply to handle directory adds and removes better
21401         * Scripts/svn-apply: Handle directory adds more intelligently.  Handle directory removes.
21402         * Scripts/svn-unapply: Handle undoing both directory adds and removes.
21404 2006-06-25  Timothy Hatcher  <timothy@apple.com>
21406         Reviewed by Darin Adler.
21408         Bug 9574: Drosera should show inline scripts within the original HTML
21409         http://bugs.webkit.org/show_bug.cgi?id=9574
21411         Refactor the JavaScript code to have a distinction between files
21412         and scripts. Show the script in the context of the HTML file if
21413         it's URL is the same as the frame's main resource. At the time of
21414         the disParseScript callback the main resource might not be completely
21415         loaded, but Drosera needs to show whatever we have at the time. Once
21416         the main resource is finished, update the file source and reload the file.
21418         * Drosera/DebuggerDocument.m:
21419         (-[DebuggerDocument pause]):
21420         (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
21421         (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
21422         (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
21423         * Drosera/debugger.css:
21424         * Drosera/debugger.js:
21426 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
21428         Reviewed by Darin Adler.
21430         http://bugs.webkit.org/show_bug.cgi?id=9570
21431         Teach prepare-ChangeLog to operate on a list of files or directories
21433         * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
21434         * Scripts/svn-create-patch: Code refactoring.
21436 2006-06-24  James G. Speth  <speth@end.com>
21438         Reviewed by Darin Adler.
21440         - http://bugs.webkit.org/show_bug.cgi?id=8843
21441           add a way to build Objective-C test cases in HTML
21443         Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
21444         allowing more extensive testing of the Obj-C API.  (and by more extensive, I mean this lets scripts do
21445         pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
21446         objects, etc... )
21448         * DumpRenderTree/ObjCPlugin.h:
21449         * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
21450         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
21451         (+[ObjCPlugin webScriptNameForSelector:]):
21452         (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
21453         (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
21454         (+[NSObject allowsScriptsFullAccess]):
21455         (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
21456         (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
21457         (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
21458         (+[JSObjC webScriptNameForSelector:]):
21459         (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
21460         (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
21461         (-[JSObjC log:]): access to NSLog function
21462         (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
21463         (-[JSObjC classOfObject:]):
21464         (-[JSObjC classNameOfObject:]):
21466 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
21468         Reviewed by Timothy.
21470         * DrawTest/Info.plist: Added copyright statement.
21471         * Drosera/Info.plist: Ditto.
21472         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
21473         * WebKitLauncher/Info.plist: Ditto.
21475 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
21477         Build fix.
21479         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
21480           devenv.com not available in VC++ Express installations
21482         * Scripts/webkitdirs.pm: Backed out previous change.
21484 2006-06-24  Bjoern Graf  <bjoern.graf@gmail.com>
21486         Reviewed by Maciej.
21488         - http://bugs.webkit.org/show_bug.cgi?id=7802
21489           devenv.com not available in VC++ Express installations
21491         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
21493 2006-06-24  Alexey Proskuryakov  <ap@nypop.com>
21495         Reviewed by Darin Adler.
21497         - http://bugs.webkit.org/show_bug.cgi?id=9564
21498           A bunch of fixes to run-webkit-httpd
21500         - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
21501           127.0.0.1. Useful for testing with WinIE running on another machine;
21502         - don't call checkFrameworks() - we do not need a built WebKit here;
21503         - changed tabs to spaces;
21504         - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
21505           interactive mode, they were a hassle when testing with several browsers, as one
21506           had to wait for connection to expire);
21507         - remove httpd.pid when done, so that Apache doesn't complain next time.
21509         * Scripts/run-webkit-httpd:
21511 2006-06-24  Jonas Witt <jonas.witt@gmail.com>
21513         Reviewed by ggaren, landed by ap.
21515         - http://bugs.webkit.org/show_bug.cgi?id=9181
21516           Complete DOMUIEvent Obj-C API to reflect UIEvent
21518         Add function to enable logging of all events of one DOM node to stdout.
21520         * DumpRenderTree/EventSendingController.h:
21521         * DumpRenderTree/EventSendingController.m:
21522         (+[EventSendingController initialize]):
21523         (+[EventSendingController isSelectorExcludedFromWebScript:]):
21524         (+[EventSendingController webScriptNameForSelector:]):
21525         (-[EventSendingController enableDOMUIEventLogging:]):
21526         (-[EventSendingController handleEvent:]):
21528 2006-06-23  Kevin Decker         <kdecker@apple.com>
21530         Reviewed by Tim Hatcher.
21532         - Made column headers in Drosera resizable.
21534 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
21536         Reviewed by ggaren.
21538         - see http://bugs.webkit.org/show_bug.cgi?id=9539
21539         Another case error preventing build
21541         * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
21543 2006-06-22  Timothy Hatcher  <timothy@apple.com>
21545         Reviewed by Eric.
21547         Adds a native toolbar to Drosera to be a good citizen.
21548         Adds a Debug menu with key-commands for Continue, Pause and Step Into.
21549         Fixes a dragging bug from an earlier fix to the divider code.
21550         Fixes some poor indenting in debugger.js.
21552         * Drosera/DebuggerDocument.h:
21553         * Drosera/DebuggerDocument.m:
21554         (-[DebuggerDocument stepInto]):
21555         (-[DebuggerDocument pause:]):
21556         (-[DebuggerDocument resume:]):
21557         (-[DebuggerDocument stepInto:]):
21558         (-[DebuggerDocument windowDidLoad]):
21559         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
21560         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
21561         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
21562         (-[DebuggerDocument validateUserInterfaceItem:]):
21563         * Drosera/English.lproj/MainMenu.nib/classes.nib:
21564         * Drosera/English.lproj/MainMenu.nib/info.nib:
21565         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
21566         * Drosera/debugger.css:
21567         * Drosera/debugger.html:
21568         * Drosera/debugger.js:
21569         * Drosera/viewer.html:
21571 2006-06-22  Kevin Decker         <kdecker@apple.com>
21573         Reviewed by Anders.
21575         - Added pressed column header image.
21576         - Made column headers behave more like Xcode.
21578 2006-06-22  Timothy Hatcher  <timothy@apple.com>
21580         Reviewed by Kevin Decker.
21582         Code clean up. Adds the stackframe and makes only the body
21583         of the tables scrollable keeping the header visible.
21584         Shows the current function stack when paused or stepping.
21586         * Drosera/DebuggerApplication.m:
21587         (-[DebuggerApplication awakeFromNib]):
21588         (-[DebuggerApplication numberOfRowsInTableView:]):
21589         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
21590         * Drosera/DebuggerDocument.h:
21591         * Drosera/DebuggerDocument.m:
21592         (-[DebuggerDocument dealloc]):
21593         (-[DebuggerDocument currentFrame]):
21594         (-[DebuggerDocument currentFrameFunctionName]):
21595         (-[DebuggerDocument currentFunctionStack]):
21596         (-[DebuggerDocument log:]):
21597         (-[DebuggerDocument windowWillClose:]):
21598         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
21599         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
21600         * Drosera/Drosera.xcodeproj/project.pbxproj:
21601         * Drosera/debugger.css:
21602         * Drosera/debugger.html:
21603         * Drosera/debugger.js:
21605 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
21607         Reviewed by Anders.
21609         Teach run-webkit-httpd to properly look for webkitdirs.pm.
21611         * Scripts/run-webkit-httpd:
21613 2006-06-22  Kevin Decker         <kdecker@apple.com>
21615         Reviewed by Tim Hatcher.
21617         - More progress toward Javascript Debugger.
21618         - Added some new images to the project.
21620 2006-06-21  Alexey Proskuryakov  <ap@nypop.com>
21622         Reviewed by Anders.
21624         - http://bugs.webkit.org/show_bug.cgi?id=9516
21625           Would like a script to run a httpd server with the same configuration as run-webkit-tests http
21627         * Scripts/run-webkit-httpd: Added.
21629 2006-06-20  Timothy Hatcher  <timothy@apple.com>
21631         Reviewed by Eric.
21633         Builds Drosera and a launcher to include with the nightly.
21635         * BuildSlaveSupport/build-launcher-app:
21636         * BuildSlaveSupport/build-launcher-dmg:
21637         * Drosera/Drosera.xcodeproj/project.pbxproj:
21638         * Drosera/Info.plist:
21639         * Drosera/LauncherInfo.plist: Added.
21640         * Drosera/launcher.m: Added.
21641         (displayErrorAndQuit):
21642         (checkMacOSXVersion):
21643         (myExecve):
21644         (main):
21645         * Scripts/build-drosera
21646         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
21647         * WebKitLauncher/main.m:
21648         (main):
21650 2006-06-20  Timothy Hatcher  <timothy@apple.com>
21652         Reviewed by Darin Adler.
21654         Adds a JavaScript debugger, called Drosera. Named after
21655         a genus of bug eating plants.
21657         * Drosera/DebuggerApplication.h: Added.
21658         * Drosera/DebuggerApplication.m: Added.
21659         (-[DebuggerApplication applicationDidFinishLaunching:]):
21660         (-[DebuggerApplication serverLoaded:]):
21661         (-[DebuggerApplication serverUnloaded:]):
21662         (-[DebuggerApplication awakeFromNib]):
21663         (-[DebuggerApplication showAttachPanel:]):
21664         (-[DebuggerApplication attach:]):
21665         (-[DebuggerApplication numberOfRowsInTableView:]):
21666         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
21667         (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
21668         (-[DebuggerApplication tableViewSelectionDidChange:]):
21669         * Drosera/DebuggerDocument.h: Added.
21670         * Drosera/DebuggerDocument.m: Added.
21671         (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
21672         (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
21673         (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
21674         (+[DebuggerDocument isKeyExcludedFromWebScript:]):
21675         (-[DebuggerDocument initWithServerName:]):
21676         (-[DebuggerDocument windowWillClose:]):
21677         (-[DebuggerDocument dealloc]):
21678         (-[DebuggerDocument isPaused]):
21679         (-[DebuggerDocument pause]):
21680         (-[DebuggerDocument resume]):
21681         (-[DebuggerDocument step]):
21682         (-[DebuggerDocument windowNibName]):
21683         (-[DebuggerDocument windowDidLoad]):
21684         (-[DebuggerDocument switchToServerNamed:]):
21685         (-[DebuggerDocument applicationTerminating:]):
21686         (-[DebuggerDocument serverConnectionDidDie:]):
21687         (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
21688         (-[DebuggerDocument webView:didFinishLoadForFrame:]):
21689         (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
21690         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
21691         (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
21692         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
21693         * Drosera/Drosera.pch: Added.
21694         * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
21695         * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
21696         * Drosera/English.lproj/Debugger.nib/info.nib: Added.
21697         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
21698         * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
21699         * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
21700         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
21701         * Drosera/Images/breakPoint.tif: Added.
21702         * Drosera/Images/breakPointDisabled.tif: Added.
21703         * Drosera/Images/continue.tif: Added.
21704         * Drosera/Images/finishFunction.tif: Added.
21705         * Drosera/Images/glossyFooterFill.tif: Added.
21706         * Drosera/Images/glossyHeader.png: Added.
21707         * Drosera/Images/gradientBackground.png: Added.
21708         * Drosera/Images/gutter.png: Added.
21709         * Drosera/Images/navLeftDisabled.png: Added.
21710         * Drosera/Images/navLeftNormal.png: Added.
21711         * Drosera/Images/navLeftPressed.png: Added.
21712         * Drosera/Images/navRightDisabled.png: Added.
21713         * Drosera/Images/navRightNormal.png: Added.
21714         * Drosera/Images/navRightPressed.png: Added.
21715         * Drosera/Images/pause.tif: Added.
21716         * Drosera/Images/popUpArrows.png: Added.
21717         * Drosera/Images/programCounter.tif: Added.
21718         * Drosera/Images/programCounterBreakPoint.tif: Added.
21719         * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
21720         * Drosera/Images/run.tif: Added.
21721         * Drosera/Images/splitterBar.tif: Added.
21722         * Drosera/Images/splitterDimple.tif: Added.
21723         * Drosera/Images/step.tif: Added.
21724         * Drosera/Images/stepOver.tif: Added.
21725         * Drosera/Images/stop.tif: Added.
21726         * Drosera/Images/toolbarBackground.png: Added.
21727         * Drosera/Info.plist: Added.
21728         * Drosera/debugger.css: Added.
21729         * Drosera/debugger.html: Added.
21730         * Drosera/debugger.js: Added.
21731         * Drosera/main.m: Added.
21732         (main):
21733         * Drosera/viewer.css: Added.
21734         * Drosera/viewer.html: Added.
21736 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
21738         Reviewed by darin.
21740         http://bugs.webkit.org/show_bug.cgi?id=9485
21741         Teach svn-apply and svn-unapply to use full path names
21743         * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
21744         * Scripts/svn-unapply: Ditto.
21746 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
21748         Reviewed by ggaren.
21750         - http://bugs.webkit.org/show_bug.cgi?id=9150
21751           DumpRenderTree should be able to keep URL history during runs
21753         Test: LayoutTests/fast/history/clicked-link-is-visited.html
21755         * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
21756         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
21757         (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
21758         it is currently nil since keepWebHistory() might be called more than once incidentally
21759         for the same test.
21760         (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
21761         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
21763 2006-06-11  David Kilzer  <ddkilzer@kilzer.net>
21765         Reviewed by darin.
21767         http://bugs.webkit.org/show_bug.cgi?id=9395
21768         Make prepare-ChangeLog faster
21770         * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
21771         then save the diff output for reuse.  Keep a status variable if changes are made to
21772         LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
21773         WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
21774         for no changed files closer to the beginning of the program.
21776 2006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
21778         Reviewed and landed by ap.
21780         - make DumpRenderTree build
21782         * DumpRenderTree/DumpRenderTree.m:
21783         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
21784         (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
21785         (-[LayoutTestController setWindowIsKey:]): Ditto.
21786         (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
21788 2006-06-09  David Kilzer  <ddkilzer@kilzer.net>
21790         Reviewed by Darin, landed by Geoff.
21792         http://bugs.webkit.org/show_bug.cgi?id=9350
21793         Use pathcmp() when sorting paths in svn-create-patch
21795         * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
21796         * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
21797         Changed sort() functions to use pathcmp().  Added subroutine prototypes.  Added -h command-line
21798         switch and printUsage() subroutine.
21800 2006-06-06  David Kilzer  <ddkilzer@kilzer.net>
21802         Reviewed by darin.
21804         http://bugs.webkit.org/show_bug.cgi?id=9322
21805         Teach svn-create-patch to sort its output
21807         * Scripts/svn-create-patch: Clean up perl code.  Sort patch output alphabetically
21808         by text files first, then by binary files.
21810 2006-06-04  David Kilzer  <ddkilzer@kilzer.net>
21812         Reviewed by darin.
21814         http://bugs.webkit.org/show_bug.cgi?id=9299
21815         Teach svn-create-patch and friends to work with binary files
21817         * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
21818         * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
21819         * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
21821 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
21823         Reviewed by Maciej.
21825         http://bugs.webkit.org/show_bug.cgi?id=9296
21826         Performance improvement for svn-create-patch
21828         * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
21830 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
21832         Reviewed by darin.
21834         http://bugs.webkit.org/show_bug.cgi?id=9290
21835         Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
21837         * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
21838         * Scripts/svn-unapply: Ditto.  Also simplified reversing a deletion.
21840 2006-06-03  Steve Falkenburg  <sfalken@apple.com>
21842         Reviewed by hyatt.
21844         Switch Spinneret to new hosting mechanism
21846         * Spinneret/Spinneret.sln:
21847         * Spinneret/Spinneret/Spinneret.cpp:
21848         (SpinneretWebHost::updateAddressBar):
21849         (SpinneretWebHost::QueryInterface):
21850         (SpinneretWebHost::AddRef):
21851         (SpinneretWebHost::Release):
21852         (resizeSubViews):
21853         (_tWinMain):
21854         (WndProc):
21855         (MyEditProc):
21856         (About):
21857         (loadURL):
21858         * Spinneret/Spinneret/Spinneret.h:
21859         (SpinneretWebHost::didStartProvisionalLoadForFrame):
21860         (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
21861         (SpinneretWebHost::didFailProvisionalLoadWithError):
21862         (SpinneretWebHost::didCommitLoadForFrame):
21863         (SpinneretWebHost::didReceiveTitle):
21864         (SpinneretWebHost::didReceiveIcon):
21865         (SpinneretWebHost::didFinishLoadForFrame):
21866         (SpinneretWebHost::didFailLoadWithError):
21867         (SpinneretWebHost::didChangeLocationWithinPageForFrame):
21868         (SpinneretWebHost::willPerformClientRedirectToURL):
21869         (SpinneretWebHost::didCancelClientRedirectForFrame):
21870         (SpinneretWebHost::willCloseFrame):
21871         (SpinneretWebHost::windowScriptObjectAvailable):
21872         * Spinneret/Spinneret/Spinneret.vcproj:
21874 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
21876         Reviewed by darin.
21878         Updated build script
21880         * Scripts/build-webkit:
21882 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
21884         Reviewed by Darin Adler.
21886         * DumpRenderTree/DumpRenderTree.m:
21887         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
21888         (-[LayoutTestController clearBackForwardList]):
21889         Add clearBackForwardList function to layoutTestController
21891 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
21893         Reviewed by Darin Adler.
21895         http://bugs.webkit.org/show_bug.cgi?id=8996
21896         slow-utf8-text layout test case failing (no longer deterministic?)
21898         * DumpRenderTree/DumpRenderTree.m:
21899         (dump):
21900         Dump as text when the response MIME type is text/plain
21902 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
21904         Build fixes/tweaks
21906         * Spinneret/Spinneret.sln:
21907         * Spinneret/Spinneret/Spinneret.vcproj:
21909 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
21911         Reviewed by mjs.
21913         Added 'GCController' to DRT to support garbage collection layout tests.
21915         GCController.collect() and GCController.collectOnAlternateThread() do
21916         what you would expect. The latter takes a boolean argument sepcifying
21917         whether to wait for garbage collection to finish before continuing to
21918         execute script.
21920         * DumpRenderTree/DumpRenderTree.m:
21921         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
21922         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21923         * DumpRenderTree/GCController.h: Added.
21924         * DumpRenderTree/GCController.mm: Added.
21925         (+[GCController isSelectorExcludedFromWebScript:]):
21926         (+[GCController webScriptNameForSelector:]):
21927         (-[GCController collect]):
21928         (-[GCController collectOnAlternateThread:]):
21930 2006-05-23  John Sullivan  <sullivan@apple.com>
21932         Reviewed by Maciej.
21934         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21935         Newer Xcode removed some obsolete cruft
21937         * DumpRenderTree/TextInputController.m:
21938         (-[TextInputController textInput]):
21939         added (id) cast to make newer compiler happy
21941 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
21943         Reviewed by adele.
21945         Fix build.
21947         * Spinneret/Spinneret.sln:
21949 2006-05-18  Darin Adler  <darin@apple.com>
21951         - try to fix no-SVG, no-XPATH build, again
21953         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
21955 2006-05-18  Darin Adler  <darin@apple.com>
21957         - try to fix no-SVG, no-XPATH build
21959         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
21960         since the former is what's used in the WebCore project now.
21962 2006-05-17  Darin Adler  <darin@apple.com>
21964         * Scripts/do-webcore-rename: Some more future renames.
21966 2006-05-16  Adele Peterson  <adele@apple.com>
21968         Reviewed by Hyatt.
21970         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
21971         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
21973 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>
21975         * Scripts/install-unix-extras: Changed to be executable and removed
21976         text in the file generated by "svn diff".
21977         * Scripts/regenerate-makefiles: Ditto.
21979 2006-05-13  Kevin M. Ollivier  <kevino@theolliviers.com>
21981         Reviewed by Darin, landed by ap.
21983         - http://bugs.webkit.org/show_bug.cgi?id=8528
21984           Bakefiles (and generated Makefiles) for wx and gdk ports
21986         * Scripts/install-unix-extras: Added.
21987         * Scripts/regenerate-makefiles: Added.
21989 2006-05-10  Steve Falkenburg  <sfalken@apple.com>
21991         Reviewed by Maciej.
21993         Fix registry usage from perl script.  Turns out libwin32's
21994         SetRegValueEx, even for REG_DWORD, always takes its value as a string!
21996         * Scripts/install-win-extras:
21998 2006-05-09  Steve Falkenburg  <sfalken@apple.com>
22000         Fix Windows build.
22001         Add load ended callback.
22003         Reviewed by kevin.
22005         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
22006         * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
22007         * Spinneret/Spinneret/Spinneret.cpp:
22008         (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
22009         (_tWinMain): Load built-in test content here instead of in lower-level code.
22010         * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
22012 2006-05-08  Maciej Stachowiak  <mjs@apple.com>
22014         Reviewed by Anders.
22016         * Scripts/extract-localizable-strings: Update for correct names of log macros.
22018 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
22020         Reviewed by Maciej.
22022         * Scripts/check-dom-results:
22023         Add XPath to the list of results.
22025 2006-05-08  Darin Adler  <darin@apple.com>
22027         * Scripts/do-webcore-rename: Add another rename.
22029 2006-05-01  Steve Falkenburg  <sfalken@apple.com>
22031         Reviewed by eric.
22033         Spinneret now links against the new separate lib.
22035         * Spinneret/Spinneret.sln:
22036         * Spinneret/Spinneret/Spinneret.cpp:
22037         (SpinneretWebHost::updateLocationBar):
22038         (_tWinMain):
22039         * Spinneret/Spinneret/Spinneret.h:
22040         * Spinneret/Spinneret/Spinneret.vcproj:
22041         * Spinneret/Spinneret/WebFrame.cpp: Removed.
22042         * Spinneret/Spinneret/WebFrame.h: Removed.
22043         * Spinneret/Spinneret/WebView.cpp: Removed.
22044         * Spinneret/Spinneret/WebView.h: Removed.
22046 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
22048         Reviewed by kdecker
22050         Modify error reporting registry keys to disable Dr. Watson.
22051         This allows Javascript test cases to complete without blocking UI.
22053         * Scripts/install-win-extras:
22054          - Use Perl Win32 registry functions to disable blocking UI
22057 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
22059         Reviewed by eric.
22061         Turned off C++ exceptions, fixed memory leaks
22063         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
22064         * Spinneret/Spinneret.sln:
22065         * Spinneret/Spinneret/Spinneret.cpp:
22066         (_tWinMain):
22067         * Spinneret/Spinneret/Spinneret.vcproj:
22068         * Spinneret/Spinneret/WebFrame.cpp:
22069         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
22070         (WebKit::WebFrame::WebFrame):
22071         (WebKit::WebFrame::~WebFrame):
22072         (WebKit::WebFrame::impl):
22073         * Spinneret/Spinneret/WebFrame.h:
22074         * Spinneret/Spinneret/WebView.cpp:
22075         * Spinneret/Spinneret/stdafx.h:
22077 2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
22079         Reviewed by Darin Adler.
22081         - http://bugs.webkit.org/show_bug.cgi?id=8633
22082           DumpRenderTree should reset the URL cache
22084         * DumpRenderTree/DumpRenderTree.m:
22085         (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
22087 2006-04-28  Eric Seidel  <eseidel@apple.com>
22089         Reviewed by andersca.
22091         * Scripts/do-webcore-rename: rename KCanvasContainer too
22092         * Scripts/run-webkit-tests: output total time
22094 2006-04-26  Mitz Pettel  <opendarwin.org@mitzpettel.com>
22096         Reviewed by hyatt.  Landed by eseidel.
22098         - http://bugs.webkit.org/show_bug.cgi?id=8549
22099           Enable detection of excessive repainting with DumpRenderTree
22101         * DumpRenderTree/DumpRenderTree.m:
22102         (-[LayoutTestController display]):
22104 2006-04-23  Mitz Pettel  <opendarwin.org@mitzpettel.com>
22106         Reviewed by Darin Adler.
22108         - http://bugs.webkit.org/show_bug.cgi?id=6905
22109           DumpRenderTree needs a way to force painting (to allow invalidation tests)
22111         * DumpRenderTree/DumpRenderTree.m:
22112         (dump): If display() has been called during the test, grab the pixels from
22113         the view, after letting it repaint invalidated rects.
22114         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
22115         (-[LayoutTestController display]): Added. Calls -display on the view
22116         and changes the subsequent behavior of dump().
22117         (dumpRenderTree):
22119 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
22121         Reviewed by Maciej.
22123         - http://bugs.webkit.org/show_bug.cgi?id=8532
22124           Update iExploder to 1.3.2
22126         Test case numbers are not compatible with iExploder 1.2.
22128         * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
22130         * iExploder/CHANGELOG.txt: Added.
22131         * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
22132         * iExploder/README.txt: Added some performance hints.
22134         * iExploder/htdocs/config.rb: Added.
22135         * iExploder/htdocs/cssproperties.in:
22136         * iExploder/htdocs/cssvalues.in:
22137         * iExploder/htdocs/htmlattrs.in:
22138         * iExploder/htdocs/htmltags.in:
22139         * iExploder/htdocs/iexploder.cgi:
22140          - Updated to support the latest HTML & CSS tags, properties, and values from both
22141            the WebKit and Mozilla CVS tree
22142          - cssproperties.in cleanup
22143          - Modularized the code a little bit.
22144          - Fix subtest bug that was causing last 5 tags to be missed
22145          - new subtest algorithm to deal better with larger tag counts
22146          - default HTML_MAX_TAGS increased from 32 to 96
22148         * iExploder/htdocs/index.html: Updated version to 1.3.2.
22149         * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
22150         alternative to our run-iexploder-tests.
22151         * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
22152         * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
22153         * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
22155 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
22157         - commit Scripts/run-mangleme-tests (missed it the previous time).
22159 2006-04-18  Darin Adler  <darin@apple.com>
22161         - attempt to fix Windows buildbot
22163         * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
22164         We need a better long-term solution for this.
22166 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
22168         Reviewed by Darin Adler.
22170         - http://bugs.webkit.org/show_bug.cgi?id=8444
22171           Integrate mangleme test script.
22173         Works in a similar way to run-iexploder-tests.
22175         * Scripts/run-mangleme-tests: Added.
22176         * mangleme: Added.
22177         * mangleme/Makefile: Added.
22178         * mangleme/README: Added.
22179         * mangleme/mangle.cgi.c: Added.
22180         * mangleme/remangle.cgi.c: Added.
22181         * mangleme/tags.h: Added.
22183 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
22185         Reviewed by Darin Adler.
22187         - http://bugs.webkit.org/show_bug.cgi?id=8443
22188           An easier way to save iExploder tests.
22190         * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
22192 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
22194         Reviewed by Darin Adler.
22196         - http://bugs.webkit.org/show_bug.cgi?id=8421
22197           Integrate iExploder test script.
22199         This script generates artificially mangled HTML documents, to test that the browser
22200         doesn't crash when handling ill-formed code.
22202         How to use:
22203          run-iexploder-tests             Open an interactive test page in Safari+ToT.
22204          run-iexploder-tests nnnnn       Open test #nnnnn.
22206         Command line options:
22207          --guard-malloc (-g)              Use Guard Malloc.
22208          --port=nnnn                      Run Apache on port nnnn (default is 8000).
22210         To save a crashing test, you can use curl while the crash reporter dialog is on the screen
22211         (thus, Apache is still running), e.g.:
22212          curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
22214         Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
22216         * Scripts/run-iexploder-tests: Added.
22217         * iExploder: Added.
22218         * iExploder/LICENSE.txt: Added.
22219         * iExploder/README.txt: Added.
22220         * iExploder/htdocs: Added.
22221         * iExploder/htdocs/cssproperties.in: Added.
22222         * iExploder/htdocs/cssvalues.in: Added.
22223         * iExploder/htdocs/htmlattrs.in: Added.
22224         * iExploder/htdocs/htmltags.in: Added.
22225         * iExploder/htdocs/htmlvalues.in: Added.
22226         * iExploder/htdocs/iexploder.cgi: Added.
22227         * iExploder/htdocs/index.html: Added.
22228         * iExploder/tools: Added.
22229         * iExploder/tools/lasthit.rb: Added.
22230         * iExploder/tools/osx_last_crash.rb: Added.
22232 2006-04-16  Alexey Proskuryakov  <ap@nypop.com>
22234         Reviewed by Darin Adler.
22236         - fix http://bugs.webkit.org/show_bug.cgi?id=8412
22237           Restore color profile after a crash
22239         * DumpRenderTree/DumpRenderTree.m:
22240         (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
22241         from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
22242         I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
22243         and this code may change significantly.
22245         (main): Install crashHandler.
22247         (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
22248         (CFStringGetCStringPtr should NEVER EVER be used!).
22250 2006-04-15  Darin Adler  <darin@apple.com>
22252         Reviewed by Eric.
22254         * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
22255         Seems xmlsoft.org's HTTP no longer has what we need.
22257 2006-04-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
22259         Rubber-stamped by Darin Adler.
22261         - fix http://bugs.webkit.org/show_bug.cgi?id=8348
22262           upload-disk-image stage on buildslaves fail with "No space left on device"
22264         * BuildSlaveSupport/build-launcher-dmg:  Use the -srcfolder option to
22265           'hdiutil create'.   This creates the initial disk image based on the size of
22266           the source folder, and copies the contents to the new disk image.  The file
22267           extension on the temporary uncompressed disk image has also been altered from
22268           ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
22269           the extension is not ".dmg".
22271 2006-04-12  Eric Seidel  <eseidel@apple.com>
22273         Reviewed by Tim H.
22275         * Scripts/update-webkit: Make this return non-zero when svn fails.
22277 2006-04-10  Alexey Proskuryakov  <ap@nypop.com>
22279         Reviewed by Darin Adler.
22281         - fix http://bugs.webkit.org/show_bug.cgi?id=8157
22282           Make HTTP tests using Perl use .pl extension
22284         * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
22285           removed support for .text. Reduced the number of places that explicitly list supported
22286           extensions. Some of the changes come from bug 8121, the patch for which got landed only
22287           partially.
22289 2006-04-06  Darin Adler  <darin@apple.com>
22291         Changes requested by Mark Rowe.
22293         * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
22294         trash at the end of the file.
22295         * BuildSlaveSupport/build-launcher-dmg: Ditto.
22297         * WebKitLauncher/main.m: Removed trash at end of file.
22299         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
22300         to make name match.
22302 2006-04-06  Mark Rowe  <opendarwin.org@bdash.net.nz>
22304         Reviewed by Darin, landed by Maciej.
22306         * BuildSlaveSupport/build-launcher-app: Added.  Builds WebKit.app from WebKitLauncher
22307           and bundles the WebKit frameworks inside it.
22308         * BuildSlaveSupport/build-launcher-dmg: Added.  Builds, and optionally uploads, a disk image
22309           containing WebKit.app.
22310         * BuildSlaveSupport/run-performance-tests:  Use currentSVNRevision.
22311         * Scripts/webkitdirs.pm:  Add currentSVNRevision to retrieve the revision
22312           number of the SVN working copy.
22313         * WebKitLauncher: Added.
22314         * WebKitLauncher/Info.plist: Added.
22315         * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
22316         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
22317         * WebKitLauncher/WebKitNightlyEnabler.m: Added.  This makes
22318           up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
22319           to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
22320           the nightly launcher.
22321         * WebKitLauncher/main.m: Added.  The WebKit.app launcher.
22322           It sets up the environment to have Safari use the bundled frameworks
22323           and load the WebKitNightlyEnabler dylib before exec'ing Safari
22324         * WebKitLauncher/start.html: Added.
22325         * WebKitLauncher/webkit.icns: Added.
22327 2006-04-05  Darin Adler  <darin@apple.com>
22329         Reviewed by Maciej.
22331         * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
22332         are allowed to have global initializers.
22334 2006-04-05  Geoffrey Garen  <ggaren@apple.com>
22336         Reviewed by OMG BETH
22338         * Scripts/run-testkjs:
22339         - pipe STDERR to /dev/null by default; new --verbose option overrides
22340         this behavior
22341         - set DYLD_FRAMEWORK_PATH to the webkit-configured path
22342         - output run command in a format that can be copied and pasted into the
22343         terminal to run manually
22345 2006-04-03  Justin Garcia  <justin.garcia@apple.com>
22347         Reviewed by harrison
22349         <http://bugs.webkit.org/show_bug.cgi?id=7567>
22350         A drag and drop in DumpRenderTree copies the source, instead of cutting it
22352         Tell the source that the drag is over after the drag is performed, not before.
22354         * DumpRenderTree/EventSendingController.m:
22355         (-[EventSendingController mouseUp]):
22357 2006-04-01  Darin Adler  <darin@apple.com>
22359         Reviewed by Justin.
22361         * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
22362         Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
22363         elements in that array are not strings.
22365 2006-03-31  Darin Adler  <darin@apple.com>
22367         Reviewed by John Sullivan.
22369         - added a "--reset-results" option to run-webkit-tests so you can reset
22370           the results without first deleting expected results
22371         - <rdar://problem/4185878> add scroll position to dumpRenderTree
22373         * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
22374         more logical. Moved all the subroutines to the end of the file. Added a
22375         "--force" option.
22377         * DumpRenderTree/DumpRenderTree.m:
22378         (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
22379         to generate new output for all tests it runs.
22380         (dump): Dump the scroll position if it's non-zero. Always dump the image when
22381         the --dump-all-pixels option is passed. Also tightened up the image dumping
22382         code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
22383         with code to save and restore the context.
22385         * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
22386         * DumpRenderTree/EventSendingController.m: Added now-needed include.
22388 2006-03-30  Tim Omernick  <timo@apple.com>
22390         * DumpRenderTree/ObjCPlugin.h:
22391         Fixed copyright.
22392         * DumpRenderTree/ObjCPlugin.m: ditto
22393         * DumpRenderTree/ObjCPluginFunction.h: ditto
22394         * DumpRenderTree/ObjCPluginFunction.m: ditto
22396 2006-03-30  Tim Omernick  <timo@apple.com>
22398         Reviewed by Geoff.
22400         * DumpRenderTree/DumpRenderTree.m:
22401         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
22402         Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
22403         an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
22404         exposed to JS as a callable object.
22406         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22407         Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
22409         * DumpRenderTree/ObjCPlugin.h: Added.
22410         * DumpRenderTree/ObjCPlugin.m: Added.
22411         * DumpRenderTree/ObjCPluginFunction.h: Added.
22412         * DumpRenderTree/ObjCPluginFunction.m: Added.
22414         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
22415         Added a new method, "removeDefaultMethod", which removes the default method from the
22416         plugin object's class.  The effect is that the plugin object is mutated from a callable
22417         function to a simple object.
22418         (pluginInvoke):
22419         Handle "removeDefaultMethod".
22420         (pluginInvokeDefault):
22421         Made the default method actually do something (return 1).
22423 2006-03-30  Eric Seidel  <eseidel@apple.com>
22425         Reviewed by ggaren.
22427         Remove WebFrame::viewImpl(), setMainFrame on page.
22429         * Spinneret/Spinneret/WebFrame.cpp:
22430         (WebKit::WebFrame::WebFrame):
22431         * Spinneret/Spinneret/WebFrame.h:
22432         * Spinneret/Spinneret/WebView.cpp:
22433         (WebKit::WebView::mouseMoved):
22434         (WebKit::WebView::mouseDown):
22435         (WebKit::WebView::mouseUp):
22436         (WebKit::WebView::mouseDoubleClick):
22437         (WebKit::WebViewWndProc):
22439 2006-03-30  Eric Seidel  <eseidel@apple.com>
22441         Reviewed by hyatt.
22443         Fix html editing input & basic form submission.
22445         * Spinneret/Spinneret/WebFrame.cpp:
22446         (WebKit::WebFrame::submitForm):
22447         (WebKit::WebFrame::loadURL):
22448         * Spinneret/Spinneret/WebFrame.h:
22449         * Spinneret/Spinneret/WebView.cpp:
22450         (WebKit::WebView::keyPress):
22451         (WebKit::WebViewWndProc):
22453 2006-03-28  Justin Garcia  <justin.garcia@apple.com>
22455         Reviewed by darin
22457         <rdar://problem/4402375>
22458         REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
22460         Added an option to draw the selectionRect.
22462         * DumpRenderTree/DumpRenderTree.m:
22463         (dump):
22464         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
22465         (-[LayoutTestController dumpSelectionRect]):
22466         (dumpRenderTree):
22468 2006-03-29  Darin Adler  <darin@apple.com>
22470         Reviewed by Tim Hatcher.
22472         - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
22474         * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
22476 2006-03-28  Eric Seidel  <eseidel@apple.com>
22478         Reviewed by darin.
22480         * Scripts/check-for-global-initializers: remove svg exceptions.
22482 2006-03-28  Timothy Hatcher  <timothy@apple.com>
22484         Reviewed by Darin Adler.
22486         Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
22488         * Scripts/check-for-global-initializers:
22490 2006-03-28  Timothy Hatcher  <timothy@apple.com>
22492         Build fix. Turn off uninitialized warnings for the first block of code.
22494         * Scripts/check-for-global-initializers:
22496 2006-03-28  Darin Adler  <darin@apple.com>
22498         Reviewed by Geoff.
22500         * Scripts/check-for-global-initializers: Added.
22502 2006-03-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
22504         Reviewed by darin.  Landed by eseidel.
22506         - http://bugs.webkit.org/show_bug.cgi?id=7947
22507           Add repaint testing support to run-webkit-tests
22509         * DumpRenderTree/DumpRenderTree.m:
22510         (main): Added --repaint and --horizontal-sweep options.
22511         (dump): Repaint line-by-line or column-by-column when the appropriate option
22512         is selected.
22513         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
22514         and repaintSweepHorizontally() methods to layoutTestController.
22515         (-[LayoutTestController testRepaint]):
22516         (-[LayoutTestController repaintSweepHorizontally]):
22517         (dumpRenderTree):
22518         * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
22519         to force these settings on tests that do not ask for them.
22521 2006-03-24  Eric Seidel  <eseidel@apple.com>
22523         Reviewed by mjs.
22525         Build fix.
22527         * Spinneret/Spinneret/WebFrame.cpp:
22528         (WebKit::WebFrame::openURL): replace QString with DeprecatedString
22530 2006-03-21  Beth Dakin  <bdakin@apple.com>
22532         Reviewed by Maciej
22534         Add support for keyDown() to DumpRenderTree.
22536         * DumpRenderTree/DumpRenderTree.m:
22537         (main): Set the preference for tabbing to links.
22538         * DumpRenderTree/EventSendingController.m:
22539         (+[EventSendingController isSelectorExcludedFromWebScript:]):
22540         (+[EventSendingController webScriptNameForSelector:]):
22541         (-[EventSendingController keyDown:withModifiers:]):
22543 2006-03-20  Eric Seidel  <eseidel@apple.com>
22545         Reviewed by hyatt.
22547         Fix win32 build.
22549         * Spinneret/Spinneret/Spinneret.vcproj:
22550         * Spinneret/Spinneret/WebFrame.h:
22551         * Spinneret/Spinneret/WebView.cpp:
22552         (WebKit::WebView::mouseMoved):
22553         (WebKit::WebView::mouseDown):
22554         (WebKit::WebView::mouseUp):
22555         (WebKit::WebView::mouseDoubleClick):
22556         (WebKit::WebView::keyPress):
22557         (WebKit::WebViewWndProc):
22559 2006-03-19  Darin Adler  <darin@apple.com>
22561         Reviewed by Anders.
22563         * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
22564         we can test it in layout tests. We don't really need tests that run with
22565         pop-up blocking off at the moment. If we do some day, we can add some
22566         API for turning it off in the layout test controller.
22568         * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
22569         don't ignore the leak; it should no longer show up.
22571 2006-03-17  Anders Carlsson  <andersca@mac.com>
22573         Reviewed by Eric.
22575         * Scripts/install-win-extras:
22576         Fetch "Program Files" location from the environment.
22578 2006-03-17  Eric Seidel  <eseidel@apple.com>
22580         Reviewed by ggaren.
22582         Fix Spinneret to pass Events as const & not as pointers.
22584         * Spinneret/Spinneret/WebView.cpp:
22585         (WebKit::WebView::mouseMoved):
22586         (WebKit::WebView::mouseDown):
22587         (WebKit::WebView::mouseUp):
22588         (WebKit::WebView::mouseDoubleClick):
22589         (WebKit::WebView::keyPress):
22591 2006-03-17  Eric Seidel  <eseidel@apple.com>
22593         Reviewed by justing.
22595         Add support for basic HTML editing.
22597         * Spinneret/Spinneret/WebView.cpp:
22598         (WebKit::WebView::WebView):
22599         (WebKit::WebView::keyPress):
22601 2006-03-17  Eric Seidel  <eseidel@apple.com>
22603         Rubber-stamped by ggaren.
22605         Break DumpRenderTree.m up into several files to make the code more readable.
22607         * DumpRenderTree/DumpRenderTree.h: Added.
22608         * DumpRenderTree/DumpRenderTree.m:
22609         (doneLoading): new accessor function for "done" global.
22610         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22611         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
22612         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
22613         * DumpRenderTree/EditingDelegate.h: Added.
22614         * DumpRenderTree/EditingDelegate.m: Added.
22615         (-[EditingDelegate webViewDidChangeSelection:]):
22616         * DumpRenderTree/EventSendingController.h: Added.
22617         * DumpRenderTree/EventSendingController.m: Added.
22619 2006-03-16  Eric Seidel  <eseidel@apple.com>
22621         Reviewed by darin.
22623         Add resize, scroll event support.
22625         * Spinneret/Spinneret/WebView.cpp:
22626         (WebKit::WebView::mouseMoved):
22627         (WebKit::WebView::mouseDown):
22628         (WebKit::WebView::mouseUp):
22629         (WebKit::WebView::mouseDoubleClick):
22630         (WebKit::WebView::keyPress):
22631         (WebKit::WebViewWndProc):
22632         * Spinneret/Spinneret/WebView.h:
22634 2006-03-16  Eric Seidel  <eseidel@apple.com>
22636         Reviewed by darin.
22638         Make build-webkit print correctly to stdout on windows.
22640         * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
22642 2006-03-15  Eric Seidel  <eseidel@apple.com>
22644         Reviewed by mjs.
22646         Fix eventSender.mouseClick() to update lastClick timestamp.
22648         * DumpRenderTree/DumpRenderTree.m:
22649         (-[EventSendingController mouseClick]):
22651 2006-03-15  Darin Adler  <darin@apple.com>
22653         Reviewed by Maciej.
22655         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
22656         that had a lowercase "i" in it so this builds on case-sensitive
22657         file systems.
22659 2006-03-15  Geoffrey Garen  <ggaren@apple.com>
22661         Reviewed by Eric.
22663         Added run-testkjs and compare-timing-files scripts, to support super
22664         accurate JS iBench.
22666         * Scripts/compare-timing-files: Added.
22667         * Scripts/run-testkjs: Added.
22669 2006-03-14  Eric Seidel  <eseidel@apple.com>
22671         Reviewed by mjs.
22673         Make the URL bar relinquish focus on page load.
22675         * Spinneret/Spinneret/Spinneret.cpp:
22676         (MyEditProc):
22678 2006-03-14  Eric Seidel  <eseidel@apple.com>
22680         Reviewed by mjs.
22682         Fix WebView to allow KeyFocus.
22683         Add handling of space and shift-space for scrolling.
22685         * Spinneret/Spinneret/WebView.cpp:
22686         (WebKit::scrollMessageForKey):
22687         (WebKit::WebViewWndProc):
22689 2006-03-10  Eric Seidel  <eseidel@apple.com>
22691         Reviewed by hyatt.
22693         Add scrolling support into Spinneret.
22695         * Spinneret/Spinneret/WebFrame.cpp:
22696         (WebKit::WebFrame::paint):
22697         * Spinneret/Spinneret/WebView.cpp:
22698         (WebKit::WebView::createWebView):
22699         (WebKit::calculateScrollDelta):
22700         (WebKit::scrollMessageForKey):
22701         (WebKit::WebViewWndProc):
22703 2006-03-13  Eric Seidel  <eseidel@apple.com>
22705         Reviewed by mjs.
22707         Fix checksum generation on Intel machines.
22708         Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
22709         give a small speed boost now that it uses a shared buffer.
22711         * DumpRenderTree/DumpRenderTree.m:
22712         (main):
22713         (dump):
22714         (md5HashStringForBitmap):
22715         * DumpRenderTree/ImageDiff.m:
22716         (computePercentageDifferent):
22718 2006-03-13  Darin Adler  <darin@apple.com>
22720         Reviewed by Tim Hatcher.
22722         * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
22723         have it named httpd-1.3 instead.
22725 2006-03-13  Alexey Proskuryakov  <ap@nypop.com>
22727         Fix proposed by Mitz Pettel, reviewed by Darin Adler.
22729         - fix http://bugs.webkit.org/show_bug.cgi?id=7718
22730           run-webkit-tests fast/dom/HTMLObjectElement/ hangs
22732         * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
22733         (sequences of slashes are equivalent to a single slash in POSIX paths, but not
22734         in URLs).
22736 2006-03-09  Darin Adler  <darin@apple.com>
22738         Reviewed by John Sullivan.
22740         - fix http://bugs.webkit.org/show_bug.cgi?id=7681
22741           memory leak in the plug-in tests
22743         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
22744         (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
22745         (NPP_SetWindow): Remove unneeded code to store the window pointer.
22747         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
22748         Moved the browser global in here since it's declared in this file's header.
22749         Changed the code to set up the pluginClass structure to not use function
22750         pointer casts. Those are dangerous because they can hide many types of mismatch.
22751         And indeed when I did this I discovered that many functions were missing their
22752         boolean return values or had parameter declarations with the wrong types.
22753         (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
22754         clarity. Added boolean return value: return true when successful and false when not.
22755         (pluginSetProperty): Added boolean return value, return false since we have no
22756         properties we can set.
22757         (pluginInvoke): Added boolean return value. Return true when successful and false
22758         when not. Use NPVARIANT macros where appropriate. Added a missing release for the
22759         return value from calling the browser. Changed code to put the strings in malloc
22760         buffers instead of relying on GCC's extension that allows variable-sized arrays
22761         on the stack.
22762         (pluginInvokeDefault): Added boolean return value, return false since we have no
22763         default function to call.
22764         (pluginInvalidate): Added missing parameter. Removed comment.
22765         (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
22766         to cast the result of malloc.
22767         (pluginDeallocate): Removed uneeded cast.
22769         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
22770         includes. Changed our PluginObject to use NPObject instead of re-declaring fields
22771         that match NPObject's fields. Removed unused NPWindow pointer.
22773 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
22775         Test: fast/events/event-sender-mouse-click.html
22777         Reviewed by Darin Adler.
22779         - fix http://bugs.webkit.org/show_bug.cgi?id=7583
22780           DRT hangs when doing eventSender.mouseDown on native widgets
22782         * DumpRenderTree/DumpRenderTree.m:
22783         (+[EventSendingController isSelectorExcludedFromWebScript:]):
22784         (-[EventSendingController mouseClick]): Simulates a click in a native
22785         widget by queueing a mouseUp before sending the mouseDown, so that
22786         the widget's mouse tracking event loop doesn't hang indefinitely.
22788 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
22790         Reviewed by Eric.
22792         - make link clicks work by handling link click requests
22793         from WebCore
22795         * Spinneret/Spinneret/Spinneret.cpp:
22796         (updateLocationBar):
22797         * Spinneret/Spinneret/Spinneret.h:
22798         * Spinneret/Spinneret/WebFrame.cpp:
22799         (WebKit::WebFrame::WebFrame):
22800         (WebKit::WebFrame::openURL):
22801         (WebKit::WebFrame::loadURL):
22802         * Spinneret/Spinneret/WebFrame.h:
22804 2006-03-08  Eric Seidel  <eseidel@apple.com>
22806         Reviewed by mjs.
22808         Focus URL bar on Spinneret launch, remove border from WebView.
22809         Stop WebFrame from deleting the job (prevent crash).
22811         * Spinneret/Spinneret/Spinneret.cpp:
22812         (_tWinMain):
22813         * Spinneret/Spinneret/WebFrame.cpp:
22814         (WebKit::WebFrame::receivedAllData):
22815         (WebKit::WebFrame::paint):
22816         * Spinneret/Spinneret/WebView.cpp:
22817         (WebKit::WebView::createWebView):
22819 2006-03-09  Alexey Proskuryakov  <ap@nypop.com>
22821         Reviewed by Darin Adler.
22823         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
22824         (pluginInvoke): Added a method to test getURL.
22826 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
22828         Reviewed by Eric.
22830         - load URLs, not file paths, in Spinneret
22832         * Spinneret/Spinneret/Spinneret.cpp:
22833         (MyEditProc):
22834         * Spinneret/Spinneret/Spinneret.vcproj:
22835         * Spinneret/Spinneret/WebFrame.cpp:
22836         (WebKit::WebFrame::loadURL):
22837         (WebKit::WebFrame::receivedData):
22838         (WebKit::WebFrame::receivedAllData):
22839         * Spinneret/Spinneret/WebFrame.h:
22840         * Spinneret/Spinneret/WebView.cpp:
22841         (WebKit::WebView::WebView):
22843 2006-03-08  Darin Adler  <darin@apple.com>
22845         Reviewed by Eric.
22847         - fixed AppleScript layout test results to not be endian-dependent
22848           (Hyatt complained to me about this one)
22850         * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
22851         Added specific code for dumping LongDateTime, instead of dumping the raw bytes
22852         (which are endian-dependent).
22854 2006-03-07  Darin Adler  <darin@apple.com>
22856         Reviewed by Anders.
22858         - fix http://bugs.webkit.org/show_bug.cgi?id=7655
22859           unwanted output while running layout tests
22861         * DumpRenderTree/DumpRenderTree.m:
22862         (checkedMalloc): Added.
22863         (checkedRealloc): Added.
22864         (makeLargeMallocFailSilently): Added.
22865         (main): Call makeLargeMallocFailSilently.
22867 2006-03-06  Darin Adler  <darin@apple.com>
22869         * Scripts/do-webcore-rename: Add some more planned renaming.
22871 2006-03-06  Eric Seidel  <eseidel@apple.com>
22873         Reviewed by hyatt.
22875         * Spinneret/Spinneret/WebFrame.cpp:
22876         (WebKit::WebFrame::paint): force layout before painting
22878 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
22880         Reviewed by darin
22882         Sent the windowNumber when sending events.
22883         Added leapForward so that we don't have to spend time waiting
22884         in layout tests that do mouse operations that require delays.
22886         * DumpRenderTree/DumpRenderTree.m:
22887         (+[EventSendingController isSelectorExcludedFromWebScript:]):
22888         (+[EventSendingController webScriptNameForSelector:]):
22889         (-[EventSendingController currentEventTime]):
22890         (-[EventSendingController leapForward:]):
22891         (-[EventSendingController mouseDown]):
22892         (-[EventSendingController mouseUp]):
22893         (-[EventSendingController mouseMoveToX:Y:]):
22895 2006-03-05  Darin Adler  <darin@apple.com>
22897         * Scripts/do-webcore-rename: Fix a couple of things found while testing.
22898         Script now works (after landing my two pending patches).
22900 2006-03-05  Darin Adler  <darin@apple.com>
22902         - check in a script to do a "big" rename in WebCore
22903           (can be run whenever we're ready to do it)
22905         * Scripts/do-webcore-rename: Added.
22907 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
22909         Reviewed by Eric.
22911         * Spinneret/Spinneret/WebFrame.cpp:
22912         (WebKit::WebFrame::loadFilePath): Close file when done.
22914 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
22916         Reviewed by Darin, landed by ap.
22918         - fix http://bugs.webkit.org/show_bug.cgi?id=7589
22919           Mouse moved events do not work in DumpRenderTree
22921         Test: fast/events/event-sender-mouse-moved.html
22923         * DumpRenderTree/DumpRenderTree.m:
22924         (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
22926 2006-03-04  Eric Seidel  <eseidel@apple.com>
22928         Reviewed by hyatt.
22930         Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
22931         Disable background erase to avoid tearing.
22932         Fix potential memory smasher from extra long urls.
22934         * Spinneret/Spinneret/Spinneret.cpp:
22935         (MyRegisterClass):
22936         * Spinneret/Spinneret/Spinneret.vcproj:
22937         * Spinneret/Spinneret/WebFrame.cpp:
22938         (WebKit::WebFrame::loadFilePath):
22939         (WebKit::WebFrame::paint):
22940         * Spinneret/Spinneret/WebView.cpp:
22941         (WebKit::registerWebViewWithInstance):
22943 2006-03-04  Eric Seidel  <eseidel@apple.com>
22945         Reviewed by ggaren.
22947         Hang WebView pointer off of HWND (gets rid of global hack).
22948         Remove MessageBox displayed on url change.
22950         * Spinneret/Spinneret/Spinneret.cpp:
22951         (WndProc):
22952         (MyEditProc):
22953         * Spinneret/Spinneret/WebView.cpp:
22954         (WebKit::registerWebViewWithInstance):
22955         (WebKit::WebView::createWebView):
22956         (WebKit::WebViewWndProc):
22958 2006-03-04  Alexey Proskuryakov  <ap@nypop.com>
22960         Reviewed by Eric.
22962         Automatically kill httpd if it appears to be already running.
22964         * Scripts/run-webkit-tests:
22966 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
22968         Reviewed by Eric.
22970         * Spinneret/Spinneret/WebFrame.cpp:
22971         (WebKit::WebFrame::loadFilePath): Improved local file loading.
22973 2006-03-03  Eric Seidel  <eseidel@apple.com>
22975         Reviewed by hyatt.
22977         A few more fixes to make run-webkit-tests really work on win32.
22979         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
22980         (localFileTest):
22981         * Scripts/run-webkit-tests:
22983 2006-03-03  Eric Seidel  <eseidel@apple.com>
22985         Reviewed by darin.
22987         Make run-webkit-tests work on win32.
22989         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
22990         (localFileTest):
22991         (dumpRenderTreeMain):
22992         (dumpRenderTreeToStdOut):
22993         (serializeToStdOut):
22994         (main):
22995         * Scripts/run-webkit-tests:
22996         * Scripts/webkitdirs.pm:
22997         * Spinneret/Spinneret/WebView.cpp:
22998         (WebKit::WebView::WebView):
23000 2006-03-03  Eric Seidel  <eseidel@apple.com>
23002         Reviewed by mjs.
23004         Add WebFrame class (to hold Frame and FrameView).
23005         Add Location bar support to Spinneret.
23007         * Spinneret/Spinneret/Spinneret.cpp:
23008         (resizeSubViews):
23009         (_tWinMain):
23010         (WndProc):
23011         (MyEditProc):
23012         * Spinneret/Spinneret/Spinneret.vcproj:
23013         * Spinneret/Spinneret/WebFrame.cpp: Added.
23014         (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
23015         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
23016         (WebKit::WebFrame::WebFrame):
23017         (WebKit::WebFrame::loadFilePath):
23018         (WebKit::WebFrame::loadHTMLString):
23019         (WebKit::WebFrame::paint):
23020         (WebKit::WebFrame::impl):
23021         (WebKit::WebFrame::viewImpl):
23022         * Spinneret/Spinneret/WebFrame.h: Added.
23023         * Spinneret/Spinneret/WebView.cpp:
23024         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
23025         (WebKit::WebView::WebView):
23026         (WebKit::WebView::windowHandle):
23027         (WebKit::WebView::mainFrame):
23028         (WebKit::WebView::mouseMoved):
23029         (WebKit::WebView::mouseDown):
23030         (WebKit::WebView::mouseUp):
23031         (WebKit::WebView::mouseDoubleClick):
23032         (WebKit::WebViewWndProc):
23033         * Spinneret/Spinneret/WebView.h:
23035 2006-03-02  Eric Seidel  <eseidel@apple.com>
23037         Reviewed by ggaren.
23039         * Spinneret/Spinneret/WebView.cpp:
23040         (WebKit::registerWebViewWithInstance):
23041         (WebKit::WebView::WebView):
23042         (WebKit::WebView::mouseMoved):
23043         (WebKit::WebView::mouseDown):
23044         (WebKit::WebView::mouseUp):
23045         (WebKit::WebView::mouseDoubleClick):
23046         (WebKit::WebViewWndProc):
23047         * Spinneret/Spinneret/WebView.h:
23049 2006-03-01  Eric Seidel  <eseidel@apple.com>
23051         Reviewed by andersca.
23053         Make spinneret take advantage of the new GraphicsContextCairo.
23055         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
23056         (main): updated to match style guidelines.
23057         * Spinneret/Spinneret/Spinneret.cpp:
23058         (_tWinMain):
23059         * Spinneret/Spinneret/WebView.cpp:
23060         (WebKit::registerWebViewWithInstance):
23061         (WebKit::WebView::WebView):
23062         (WebKit::WebView::~WebView):
23063         (WebKit::WebView::drawRect):
23064         (WebKit::WndProc):
23065         * Spinneret/Spinneret/WebView.h:
23067 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
23069         Reviewed by darin
23071         Give the events that eventSender sends a unique eventNumber
23073         * DumpRenderTree/DumpRenderTree.m:
23074         (-[EventSendingController mouseDown]):
23075         (-[EventSendingController mouseUp]):
23076         (-[EventSendingController mouseMoveToX:Y:]):
23078 2006-03-01  Eric Seidel  <eseidel@apple.com>
23080         Reviewed by hyatt.
23082         Add a stub win32 application to test WebCore drawing on windows.
23084         * Spinneret: Added.
23085         * Spinneret/Spinneret: Added.
23086         * Spinneret/Spinneret.sln: Added.
23087         * Spinneret/Spinneret/Resource.h: Added.
23088         * Spinneret/Spinneret/Spinneret.cpp: Added.
23089         (_tWinMain):
23090         (MyRegisterClass):
23091         (InitInstance):
23092         (WndProc):
23093         (About):
23094         * Spinneret/Spinneret/Spinneret.h: Added.
23095         * Spinneret/Spinneret/Spinneret.ico: Added.
23096         * Spinneret/Spinneret/Spinneret.rc: Added.
23097         * Spinneret/Spinneret/Spinneret.vcproj: Added.
23098         * Spinneret/Spinneret/WebView.cpp: Added.
23099         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
23100         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
23101         (WebKit::registerWebViewWithInstance):
23102         (WebKit::WebView::createWebView):
23103         (WebKit::WebView::WebView):
23104         (WebKit::WebView::~WebView):
23105         (WebKit::WebView::drawRect):
23106         (WebKit::WebView::windowHandle):
23107         (WebKit::WndProc):
23108         * Spinneret/Spinneret/WebView.h: Added.
23109         * Spinneret/Spinneret/small.ico: Added.
23110         * Spinneret/Spinneret/stdafx.cpp: Added.
23111         * Spinneret/Spinneret/stdafx.h: Added.
23113 2006-02-28  Eric Seidel  <eseidel@apple.com>
23115         Reviewed by mjs.
23117         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
23118         (main): add ability to dump render tree and read from a local file.
23120 2006-02-27  Eric Seidel  <eseidel@apple.com>
23122         Reviewed by darin.
23124         * Scripts/install-win-extras: fix dll permissions & download zlib too.
23126 2006-02-27  Eric Seidel  <eseidel@apple.com>
23128         Reviewed by ggaren.
23130         Test new KConfig -> PlugInInfoStore change.
23131         http://bugs.webkit.org/show_bug.cgi?id=7498
23133         * DumpRenderTree/DumpRenderTree.m:
23134         (main): load test netscape plugin
23135         * Scripts/run-webkit-tests: style update
23137 2006-02-24  Eric Seidel  <eseidel@apple.com>
23139         Reviewed by mjs.
23141         Make DumpRenderTree link against icu.
23143         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
23145 2006-02-24  Eric Seidel  <eseidel@apple.com>
23147         Reviewed by mjs.
23149         Make DumpRenderTree link against libxml, etc.
23151         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
23153 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
23155         Reviewed and landed by Anders.
23157         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
23158         getting called from the run loop, making the view render each test and thus slowing
23159         down the tests.
23161         * DumpRenderTree/DumpRenderTree.m:
23162         (main): Set the offscreen window to not autodisplay.
23164 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
23166         Reviewed by Darin Adler.
23168         - Turn http tests back on by default.
23169         - Wait for Apache to actually start serving requests.
23170         - Get user id from a built-in variable rather than an external command;
23171         don't pass the group.
23173         * Scripts/run-webkit-tests:
23175 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
23177         Suggested by Mitz Pettel, reviewed by Darin Adler.
23179         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
23180         can run CGIs even if the permissions are 700 or 600.
23182 2006-02-23  Darin Adler  <darin@apple.com>
23184         Collaborating with Alexey.
23186         - turn off http tests by default until we figure out how to get them
23187           to run even when permissions on CGI files are 700 instead of 755
23189         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
23191 2006-02-23  Eric Seidel  <eseidel@apple.com>
23193         Add *.user to ignore list.
23195 2006-02-23  Eric Seidel  <eseidel@apple.com>
23197         Remove binary file which shouldn't have been commited (and add to ignore list).
23199         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
23200         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
23202 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
23204         Reviewed by Eric.
23206         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
23208 2006-02-22  Eric Seidel  <eseidel@apple.com>
23210         Reviewed by Tim Hatcher.
23212         Fix install-win-extras to not try to re-install setx if installed.
23214         * Scripts/install-win-extras:
23216 2006-02-22  Eric Seidel  <eseidel@apple.com>
23218         One more file possibly missing from previous commit?
23220         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
23221         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
23223 2006-02-22  Eric Seidel  <eseidel@apple.com>
23225         Reviewed by justing.
23227         Files missing from previous commit.
23229         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
23230         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
23232 2006-02-22  Eric Seidel  <eseidel@apple.com>
23234         Rubber-stamped by justing.
23236         Corrected path for DumpRenderTree.intermediate files
23238         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
23240 2006-02-22  Eric Seidel  <eseidel@apple.com>
23242         Reviewed by justing.
23244         Fixed build-dumprendertree to exit with correct error codes.
23246         * Scripts/build-dumprendertree:
23248 2006-02-22  Eric Seidel  <eseidel@apple.com>
23250         Reviewed by justing.
23252         Update build scripts to generalize building on Win32, and allow
23253         building of DumpRenderTree on Win32 from build-dumprendertree.
23255         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
23256         (main):
23257         * Scripts/build-dumprendertree:
23258         * Scripts/build-webkit:
23259         * Scripts/webkitdirs.pm:
23261 2006-02-22  Eric Seidel  <eseidel@apple.com>
23263         Reviewed by hyatt.
23265         * DumpRenderTree/DumpRenderTree.vcproj: Added.
23266         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
23267         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
23268         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
23269         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
23270         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
23271         (_tmain):
23272         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
23273         * Scripts/build-webkit: make build-webkit cleanup after itself
23275 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
23277         Reviewed by Darin Adler.
23279         - http://bugs.webkit.org/show_bug.cgi?id=7409
23280           Some minor fixes to http tests.
23282         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
23284 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
23286         Reviewed by Darin Adler.
23288         - http://bugs.webkit.org/show_bug.cgi?id=6197
23289           Would like to use locally installed Apache for testing.
23291         Added two run-webkit-tests options:
23292           --http (--nohttp)  - whether to launch Apache (defaults to yes);
23293           --port - which port to listen on (defaults to 8000).
23295         Tests in LayoutTests/http are not run directly, and Apache is used instead.
23296         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
23297         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
23299         Also added support for .shtml and .text files. Text files give an empty
23300         *-expected.txt, but a correct image.
23302         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
23304         * Scripts/run-webkit-tests:
23306 2006-02-21  Darin Adler  <darin@apple.com>
23308         Suggested by Mark Rowe.
23310         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
23311         reporting leak counts.
23313 2006-02-18  Maciej Stachowiak <mjs@apple.com>
23315         Reviewed by Darin Adler.
23317         - Added install-win-extras script which installs some extra
23318         programs and libraries, and does Windows first-time setup.
23320         * Scripts/build-webkit: Add a newline between build results.
23321         * Scripts/install-win-extras: Added.
23323 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
23325         Reviewed by Darin Adler.
23327         - http://bugs.webkit.org/show_bug.cgi?id=7308
23328           DumpRenderTree should be able to load files via HTTP
23330         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
23331         Handle tests starting with "http://" as real URLs, not file system paths.
23333 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
23335         Reviewed by Maciej.
23337         - fix http://bugs.webkit.org/show_bug.cgi?id=7357
23338           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
23340         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
23342 2006-02-18  Darin Adler  <darin@apple.com>
23344         * Scripts/commit-log-editor: Added.
23346 2006-02-17  Eric Seidel  <eseidel@apple.com>
23348         Reviewed by hyatt.
23350         Make Win32 have the same default "WebKitBuild" directory behavior.
23352         * Scripts/build-webkit:
23353         * Scripts/webkitdirs.pm:
23355 2006-02-17  Eric Seidel  <eseidel@apple.com>
23357         Reviewed by Beth.
23359         * Scripts/build-webkit: make win32 actually report errors
23361 2006-02-17  Eric Seidel  <eseidel@apple.com>
23363         Reviewed by adele.
23365         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
23367 2006-02-17  Eric Seidel  <eseidel@apple.com>
23369         Reviewed by adele.
23371         * Scripts/run-webkit-tests: Ignore flash leaks
23373 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
23375         Reviewed by darin
23377         <http://bugs.webkit.org/show_bug.cgi?id=7148>
23378         Add drag and drop support to DumpRenderTree
23380         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
23381         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
23383         * DumpRenderTree/DumpRenderTree.m:
23384         (main):
23385         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
23386         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
23387         (-[WaitUntilDoneDelegate webViewFocus:]):
23388         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
23389         (+[LayoutTestController webScriptNameForSelector:]):
23390         (-[LayoutTestController setWindowIsKey:]):
23391         (-[LayoutTestController setMainFrameIsFirstResponder:]):
23392         (-[EventSendingController init]):
23393         (-[EventSendingController mouseDown]):
23394         (-[EventSendingController mouseUp]):
23395         (-[EventSendingController mouseMoveToX:Y:]):
23396         (dumpRenderTree):
23397         (-[DumpRenderTreeWindow isKeyWindow]):
23398         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
23399         (-[DumpRenderTreeDraggingInfo dealloc]):
23400         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
23401         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
23402         (-[DumpRenderTreeDraggingInfo draggingLocation]):
23403         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
23404         (-[DumpRenderTreeDraggingInfo draggedImage]):
23405         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
23406         (-[DumpRenderTreeDraggingInfo draggingSource]):
23407         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
23408         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
23409         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
23410         * DumpRenderTree/TextInputController.m:
23411         (-[TextInputController firstRectForCharactersFrom:length:]):
23412         (-[TextInputController characterIndexForPointX:Y:]):
23414 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
23416         Reviewed by Eric.
23418         * DumpRenderTree/DumpRenderTree.m:
23419         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
23420         Added a dummy method for the sake of LayoutTests/plugins/
23421         undefined-property-crash.html. (It tests a crash due to fallback
23422         object use. WebCore won't create a fallback object if the method is
23423         not defined.)
23425 2006-02-14  Eric Seidel  <eseidel@apple.com>
23427         Reviewed by adele.
23429         * Scripts/run-webkit-tests: added --results-directory (-o) option
23431 2006-02-09  Eric Seidel  <eseidel@apple.com>
23433         Rubber-stamped by mjs.
23435         Renamed split-class to split-file-by-class.
23437         * Scripts/build-webkit: Updated copyright.
23438         * Scripts/split-class: Removed.
23439         * Scripts/split-file-by-class: Added.
23441 2006-02-08  Eric Seidel  <eseidel@apple.com>
23443         Rubber-stamped by mjs.
23445         Adding new script for splitting multi-class files.
23446         Also adding supporting perl module with space removing heuristics.
23448         * Scripts/SpacingHeuristics.pm: Added.
23449         * Scripts/build-drawtest: updated copyright header
23450         * Scripts/split-class: Added.
23452 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
23454         Reviewed by thatcher
23456         Changes to test fix for:
23457         <http://bugs.webkit.org/show_bug.cgi?id=3982>
23458         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
23460         * DumpRenderTree/DumpRenderTree.m:
23461         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
23462         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
23463         (+[LayoutTestController webScriptNameForSelector:]):
23464         (-[LayoutTestController setWindowHasFocus:]):
23465         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
23467 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
23469         Reviewed by Timothy.
23471         Support automated testing of AppleScript "do JavaScript" command
23472         http://bugs.webkit.org/show_bug.cgi?id=7012
23474         * DumpRenderTree/AppleScriptController.h: Added.
23475         * DumpRenderTree/AppleScriptController.m: Added.
23476         * DumpRenderTree/DumpRenderTree.m:
23477         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
23478         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
23480 2006-02-06  Eric Seidel  <eseidel@apple.com>
23482         Reviewed by hyatt.
23484         Fix build-webkit for use on win32 (unblocks buildbot usage).
23485         http://bugs.webkit.org/show_bug.cgi?id=7122
23487         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
23488         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
23490 2006-02-06  Eric Seidel  <eseidel@apple.com>
23492         Rubber-stamped by darin & mjs.
23494         Added new support directory for build slave scripts.
23495         Committing the first script, for use by the PLT's build slave.
23496         This script is used to kick of the PLT (Page Load Test) slave.
23498         * BuildSlaveSupport: Added.
23499         * BuildSlaveSupport/run-performance-tests: Added.
23501 2006-02-06  Eric Seidel  <eseidel@apple.com>
23503         Rubber-stamped by darin.
23505         Adding setSourceDir for scripts stored in non-standard locations.
23507         * Scripts/webkitdirs.pm:
23509 2006-02-04  Darin Adler  <darin@apple.com>
23511         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
23512         Configuration files that say Development or Deployment in them.
23514 2006-02-04  Darin Adler  <darin@apple.com>
23516         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
23517         wrapper already in the directory.
23518         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
23519         these haven't been working at all.
23520         * Scripts/svn-unapply: Ditto.
23522 2006-02-03  Timothy Hatcher  <timothy@apple.com>
23524         Reviewed by Justin.
23526         Renamed configuration names to Debug, Release and Production.
23528         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
23529         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
23530         * Scripts/set-webkit-configuration:
23531         * Scripts/webkitdirs.pm:
23533 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
23535         Reviewed by thatcher
23537         Enabled spell checking for layout tests.
23539         * DumpRenderTree/DumpRenderTree.m:
23540         (main):
23542 2006-01-29  Darin Adler  <darin@apple.com>
23544         * Scripts/svn-apply: Added comments about things we should do to improve.
23545         * Scripts/svn-create-patch: Ditto.
23546         * Scripts/svn-unapply: Ditto.
23548 2006-01-28  Darin Adler  <darin@apple.com>
23550         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
23551         already there, even if the checksum is correct.
23553 2006-01-27  Eric Seidel  <eseidel@apple.com>
23555         Reviewed by adele.
23557         * Scripts/run-webkit-tests: make new tests use absolute urls
23559 2006-01-27  Eric Seidel  <eseidel@apple.com>
23561         Reviewed by mjs.
23563         make run-webkit-tests output total leaks count
23565         * Scripts/run-webkit-tests:
23567 2006-01-27  Eric Seidel  <eseidel@apple.com>
23569         Reviewed by mjs.
23571         run-webkit-test --leaks crashes (malloc logging runs out of memory)
23572         http://bugs.webkit.org/show_bug.cgi?id=6869
23574         * Scripts/run-webkit-tests: fix --leaks to not crash
23576 2006-01-26  Eric Seidel  <eseidel@apple.com>
23578         Reviewed by darin.
23580         run-webkit-tests should produce a self-contained results directory
23581         http://bugs.webkit.org/show_bug.cgi?id=6864
23583         * Scripts/run-webkit-tests: copy failing items to results dir.
23585 2006-01-23  Darin Adler  <darin@apple.com>
23587          - fix http://bugs.webkit.org/show_bug.cgi?id=3608
23588            need script to update localizable strings file in WebKit
23590         * Scripts/update-webkit-localizable-strings: Added.
23592 2006-01-23  Darin Adler  <darin@apple.com>
23594         - added a couple of scripts -- more about these two soon
23596         * Scripts/extract-localizable-strings: Added.
23597         * Scripts/merge-changelog: Added.
23599 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
23601         Reviewed by Anders.
23603         Build fix.  build-webkit dies with "invalid build action: (empty string)"
23605         * Scripts/build-webkit:
23606         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
23608 2006-01-22  Eric Seidel  <eseidel@apple.com>
23610         Reviewed by anders.
23612         Fix --no-svg option to use XCode flags instead of gcc flags.
23614         * Scripts/build-webkit:
23616 2006-01-22  Eric Seidel  <eseidel@apple.com>
23618         Reviewed by anders.
23620         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
23622         * Scripts/build-webkit:
23624 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
23626         Reviewed by eseidel.
23628         - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
23629         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
23631         * Scripts/build-drawtest: Changed bareword 'true' to 1.
23632         * Scripts/run-drawtest: Changed bareword 'true' to 1.
23634 2006-01-19  Darin Adler  <darin@apple.com>
23636         * Scripts/report-include-statistics: Added a new script.
23638 2006-01-19  Timothy Hatcher  <timothy@apple.com>
23640         * Scripts/build-webkit: include JavaScriptGlue in the build
23642 2006-01-19  Darin Adler  <darin@apple.com>
23644         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
23645         spaces in it by using the form of open that treats each argument as a string
23646         rather than backtick syntax for reading the output of the nm tool.
23648 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
23650         Reviewed by Darin Adler.
23652         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
23653         detect if there are any new tests
23655         * Scripts/prepare-ChangeLog:
23657 2006-01-12  Darin Adler  <darin@apple.com>
23659         - removed some of the cvs-specific scripts -- not needed for this project any more
23661         * Scripts/cvs-abandon: Removed.
23662         * Scripts/cvs-apply: Removed.
23663         * Scripts/cvs-create-patch: Removed.
23664         * Scripts/cvs-unapply: Removed.
23666 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
23668         Reviewed by eseidel.  Committed by eseidel.
23670         - run-webkit-tests always launches Safari when tests fail
23671         http://bugs.webkit.org/show_bug.cgi?id=6456
23673         * Scripts/run-webkit-tests:
23674         Add a command-line flag to prevent Safari being launched to display failed
23675         tests.  Always exit with non-zero status when tests have failed.
23677 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
23679         Reviewed by eseidel.  Committed by eseidel.
23681         - build-webkit should exit with non-zero status when build fails
23682         http://bugs.webkit.org/show_bug.cgi?id=6459
23684         * Scripts/build-webkit:
23685         Use correct bits of subprocess exit code when passing back through
23686         as build-webkit's exit code.
23688 2006-01-10  Eric Seidel  <eseidel@apple.com>
23690         Restored corrupted nibs from TOT CVS.
23692         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
23693         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
23694         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
23695         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
23696         * DrawTest/English.lproj/Inspector.nib: Replaced.
23697         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
23698         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
23699         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
23700         * DrawTest/English.lproj/MainMenu.nib: Replaced.
23701         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
23702         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
23703         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
23704         * DrawTest/English.lproj/TestViewer.nib: Replaced.
23705         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
23706         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
23707         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
23709 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
23711         Reviewed by eseidel.  Committed by eseidel.
23713         DrawTestView now subclasses WebView instead of DrawView.
23715         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
23716         * DrawTest/DrawTestDocument.h:
23717         * DrawTest/DrawTestDocument.m:
23718         (-[DrawTestDocument dealloc]):
23719         (-[DrawTestDocument readFromFile:ofType:]):
23720         (-[DrawTestDocument windowControllerDidLoadNib:]):
23721         (-[DrawTestDocument dumpSVGToConsole:]):
23722         (-[DrawTestDocument openSourceForSelection:]):
23723         (-[DrawTestDocument dataRepresentationOfType:]):
23724         * DrawTest/DrawTestToolbarController.h:
23725         * DrawTest/DrawTestToolbarController.m:
23726         (-[DrawTestToolbarController initWithDrawView:]):
23727         (-[DrawTestToolbarController clickedToolbarItem:]):
23728         (-[DrawTestToolbarController validateToolbarItem:]):
23729         * DrawTest/DrawTestView.h:
23730         * DrawTest/DrawTestView.m:
23731         (-[DrawTestView initWithFrame:]):
23732         (-[DrawTestView setDocument:]):
23733         * DrawTest/SVGTest.h:
23734         * DrawTest/SVGTest.m:
23735         (+[SVGTest sharedDrawView]):
23736         (-[SVGTest generateCompositeIfNecessary]):
23737         * DrawTest/TestController.h:
23738         * DrawTest/TestController.m:
23739         (-[TestController awakeFromNib]):
23740         (-[TestController setSelectedTest:]):
23741         (-[TestController openTestViewerForSelection:]):
23742         (-[TestController toggleViewersScaleRule:]):
23743         * DrawTest/TestViewerSplitView.m:
23744         (-[TestViewerSplitView drawRect:]):
23746 2006-01-10  Anders Carlsson  <andersca@mac.com>
23748         Reviewed by Timothy.
23750         * DumpRenderTree/DumpRenderTree.m:
23751         (main): Set the default language to "en", so language tests will work.
23753 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
23755         Reviewed by Eric.
23757         - script to generate HTML wrappers for JS tests
23758         http://bugs.webkit.org/show_bug.cgi?id=6441
23760         * Scripts/make-js-test-wrappers: Added.
23762 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
23764         Reviewed by Eric.
23766         * Scripts/svn-create-patch: Fix to work when passed directory names.
23768 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
23770         Reviewed by Eric.
23772         - Added back/forward navigation support to DumpRenderTree. Hopefully we
23773         can start writing automated loader tests now. I have one in the works.
23775         * DumpRenderTree/DumpRenderTree.m:
23776         (main): Construct global navigationController on entry, destroy on exit.
23777         Set frame to nil on exit too, to match all the other global objects.
23778         (Probably academic, since the process is exiting, anyway.)
23779         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
23780         navigationController, in case it wants to kick off a load.
23781         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
23782         the navigationController to scripting.
23784         New class, should be straightforward:
23786         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
23787         * DumpRenderTree/NavigationController.h: Added.
23788         * DumpRenderTree/NavigationController.m: Added.
23790         (+[NavigationController isSelectorExcludedFromWebScript:]):
23791         (+[NavigationController webScriptNameForSelector:]):
23792         (-[NavigationController setPendingScript:]):
23793         (-[NavigationController setPendingRequest:]):
23794         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
23795         (-[NavigationController webView:didFinishLoadForFrame:]):
23796         (-[NavigationController dealloc]):
23798 2006-01-08  Timothy Hatcher  <timothy@apple.com>
23800         Removed this script, no longer needs with the Subversion switch.
23802         * checkout: Removed.
23804 2006-01-08  Timothy Hatcher  <timothy@apple.com>
23806         Removes some stray tabs.
23808         * Scripts/update-webkit:
23810 2005-01-07  Eric Seidel  <eseidel@apple.com>
23812         Reviewed by darin.
23814         build-webkit should pass on build arguments from command line
23815         http://bugs.webkit.org/show_bug.cgi?id=5854
23817         * Scripts/build-webkit:
23819 2006-01-07  Eric Seidel  <eseidel@apple.com>
23821         Reviewed by mjs & xenon.
23823         * Scripts/update-webkit: support Internal updates as well
23825 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
23827         Temporarily rolling out plugin support from DumpRenderTree because it
23828         caused lots of layout test regressions.
23830         * DumpRenderTree/DumpRenderTree.m:
23831         (main): Remove invisible window added to support plugins.
23833 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
23835         Reviewed by darin.
23837         - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
23838         Add plugin support to DumpRenderTree
23840         Also wrote first test plugin.
23842         * DumpRenderTree/DumpRenderTree.m:
23843         (main):
23844         (1) Put the WebView in an invisible window, because PlugIns are
23845         optimized not to load if there's no parent window.
23846         (2) Tell WebKit to load any PlugIns in the directory from which we
23847         loaded. This means we can build nasty PlugIns alongside DumpRenderTree
23848         and they'll load automagically during layout testing, but they won't be
23849         added to the user's system, hosing apps like Safari.
23851         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
23852         test PlugIn to project.
23854         PlugIn added to project:
23856         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
23857         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
23858         (getPluginClass):
23859         (initializeIdentifiers):
23860         (pluginHasProperty):
23861         (pluginHasMethod):
23862         (pluginGetProperty):
23863         (pluginSetProperty):
23864         (pluginInvoke):
23865         (pluginInvokeDefault):
23866         (pluginInvalidate):
23867         (pluginAllocate):
23868         (pluginDeallocate):
23869         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
23870         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
23871         (NP_Initialize):
23872         (NP_GetEntryPoints):
23873         (NP_Shutdown):
23874         (NPP_New):
23875         (NPP_Destroy):
23876         (NPP_SetWindow):
23877         (NPP_NewStream):
23878         (NPP_DestroyStream):
23879         (NPP_WriteReady):
23880         (NPP_Write):
23881         (NPP_StreamAsFile):
23882         (NPP_Print):
23883         (NPP_HandleEvent):
23884         (NPP_URLNotify):
23885         (NPP_GetValue):
23886         (NPP_SetValue):
23888 2006-01-04  Timothy Hatcher  <timothy@apple.com>
23890         Reviewed by Darin Adler.
23891         Created by Eric.
23892         Tweaked and tested by me.
23894         New scripts to work with Subversion when the switch happens.
23895         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
23897         * Scripts/svn-apply: Added.
23898         * Scripts/svn-create-patch: Added.
23899         * Scripts/svn-unapply: Added.
23901 2005-12-30  Eric Seidel  <eseidel@apple.com>
23903         Reviewed by mjs.
23905         Move WebView width/height logic into DumpRenderTree to support
23906         running the W3C SVG 1.1 tests along side other tests.  The W3C
23907         SVG 1.1 tests require a 480x360 view.
23909         * DumpRenderTree/DumpRenderTree.m:
23910         (main): don't accept width/height
23911         (dump): override width/height for SVG/W3C
23912         * Scripts/run-webkit-tests: don't pass width/height
23914 2005-12-30  Eric Seidel  <eseidel@apple.com>
23916         No review, only removing dead code.
23918         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
23919         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
23921 2005-12-30  Eric Seidel  <eseidel@apple.com>
23923         Reviewed by darin.
23925         DumpRenderTree should set a consistent color profile while running
23926         http://bugs.webkit.org/show_bug.cgi?id=6155
23928         Creates consistent colormatched renderings on every test machine
23929         using the only way possible with Tiger APIs: by setting the
23930         system color profile on the test machine for the duration of the
23931         tests.  This will (unfortunately) cause colors to change while
23932         running DumpRenderTree.  This can also cause "permanent" color
23933         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
23934         This is far from ideal, but it's be best way we've found to deal
23935         with the issue for now.
23937         * DumpRenderTree/DumpRenderTree.m:
23938         (restoreColorSpace):
23939         (setDefaultColorProfileToRGB):
23940         (main):
23942 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
23944         Reviewed by Darin Adler.
23946         - fix http://bugs.webkit.org/show_bug.cgi?id=5846
23947           cvs-create-patch --include produces incorrect paths
23949         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
23951 2005-12-19  Eric Seidel  <eseidel@apple.com>
23953         Reviewed by darin.
23955         * Scripts/run-webkit-tests: stop /etc/catalog warnings
23957 2005-12-19  Darin Adler  <darin@apple.com>
23959         Reviewed by Eric Seidel.
23961         - fix http://bugs.webkit.org/show_bug.cgi?id=4990
23962           WebKit needs to use a local pasteboard during testing
23964         * DumpRenderTree/DumpRenderTree.m:
23965         (main): Call poseAs to substitute our NSPasteboard class for the default one.
23966         Create a local pasteboard (really a global one with a unique name) and release
23967         it when exiting from the function so we don't leave it in the pasteboard server.
23968         (dumpRenderTree): Added an autorelease pool around one small bit of code that
23969         ddn't have one. Fixed a leak in an unlikely error case.
23970         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
23971         of this method to return our local pasteboard.
23973 2005-12-15  Eric Seidel  <eseidel@apple.com>
23975         Reviewed by Tim Hatcher.
23977         * Scripts/build-webkit: --svg is now default!
23979 2005-12-15  Eric Seidel  <eseidel@apple.com>
23981         Reviewed by mjs.
23983         Don't run svg test automatically if +SVG is built (yet).
23985         * Scripts/run-webkit-tests:
23987 2005-12-15  Darin Adler  <darin@apple.com>
23989         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
23990         support is not compiled in. Report the 10 slowest tests if "--slowest" is
23991         passed on the command line.
23993 2005-12-06  John Sullivan  <sullivan@apple.com>
23995         Reviewed by Darin Adler.
23997         * Scripts/prepare-ChangeLog:
23998         Remove special-case handling for nib files. This avoided trouble with cvs diff
23999         when we were using wrappers for nib files. Now that we aren't using wrappers,
24000         there's no reason to avoid adding the modified nib files to the file list that
24001         gets diffed.
24003 2005-12-05  Eric Seidel  <eseidel@apple.com>
24005         Reviewed by mjs.
24007         Script updates for SVG files move (remove references to SVGSupport)
24009         * Scripts/build-webkit: remove SVGSupport
24010         * Scripts/run-webkit-tests: Resources -> resources for --svg
24011         * Scripts/update-webkit: remove SVGSupport
24013 2005-12-05  Eric Seidel  <eseidel@apple.com>
24015         Reviewed mjs.
24017         * checkout: remove --svg support, SVG is now checked out by default
24019 2005-11-29  Eric Seidel  <eseidel@apple.com>
24021         Reviewed by darin.
24023         Update scripts to run SVG tests automatically (w/o --svg) if
24024         WebCore is built with SVG support.
24026         * Scripts/build-drawtest: SVG support required
24027         * Scripts/build-dumpkcanvastree: Removed.
24028         * Scripts/run-drawtest: SVG support required to run
24029         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
24030         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
24032 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
24034         Reviewed by Darin Adler. Committed by Maciej.
24036         - fixed "DumpRenderTree should test for Ahem before doing anything else"
24037         (http://bugs.webkit.org/show_bug.cgi?id=5838)
24039         * DumpRenderTree/DumpRenderTree.m:
24040         (main):
24042 2005-11-28  Eric Seidel  <eseidel@apple.com>
24044         Reviewed by sullivan and GGAREN.
24046         Minor additions to make error messages more clear from cvs-apply.
24048         * Scripts/cvs-apply: make errors more clear
24050 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
24052         Reviewed and committed by Maciej.
24054         - fixed cvs-create-patch --include produces incorrect paths
24055         (http://bugs.webkit.org/show_bug.cgi?id=5846)
24057         * Scripts/cvs-create-patch: produce proper paths for new files.
24059 2005-11-21  Eric Seidel  <eseidel@apple.com>
24061         Reviewed by hyatt.
24063         Some simple fixes to the build/test scripts now that SVG uses the
24064         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
24065         or symlinks for KDOM.
24067         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
24068         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
24069         * Scripts/run-webkit-tests: now runs SVG tests using DRT
24070         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
24071         * checkout: no longer symlink kdom
24073 2005-11-10  Eric Seidel  <eseidel@apple.com>
24075         Reviewed by ggaren.
24077         * Scripts/build-webkit: Pass through options to xcodebuild
24079 2005-11-07  Darin Adler  <darin@apple.com>
24081         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
24083 2005-11-03  John Sullivan  <sullivan@apple.com>
24085         Reviewed by Darin Adler.
24087         * Scripts/run-safari:
24088         changed message to say "Starting Safari" instead of odd "Start Safari"
24089         * Scripts/run-webkit-tests:
24090         changed the way we pass the file parameter to use -NSOpen rather than relying on
24091         unlabeled arguments being treated as files. This was failing on some machines that
24092         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
24094 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
24096         Patch by Alexey Proskuryakov.
24098         Reviewed by Maciej.
24100         Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
24101         TextInputController should support attributed strings
24103         * DumpRenderTree/TextInputController.m:
24104         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
24105         (+[NSMutableAttributedString webScriptNameForSelector:]):
24106         (-[NSMutableAttributedString getLength]):
24107         (-[NSMutableAttributedString attributeNamesAtIndex:]):
24108         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
24109         (-[NSMutableAttributedString addAttribute:value:]):
24110         (-[NSMutableAttributedString addAttribute:value:from:length:]):
24111         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
24112         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
24113         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
24114         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
24115         (+[TextInputController isSelectorExcludedFromWebScript:]):
24116         (+[TextInputController webScriptNameForSelector:]):
24117         (-[TextInputController insertText:]):
24118         (-[TextInputController attributedSubstringFrom:length:]):
24119         (-[TextInputController attributedStringWithString:]):
24121 2005-10-11  Eric Seidel  <eseidel@apple.com>
24123         Reviewed by hyatt.
24125         Checks for leaks in ImageDiff too.
24127         * Scripts/run-webkit-tests:
24129 2005-10-09  Darin Adler  <darin@apple.com>
24131         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
24132         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
24133         * Scripts/cvs-unapply: Ditto.
24134         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
24136 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
24138         Reviewed, rearranged and landed by Darin Adler.
24140         - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
24141           Need a way to automatically test for regressions in NSTextInput implementation
24143         * DumpRenderTree/DumpRenderTree.m:
24144         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
24145         Create a text input controller and put it in a property of the window object.
24147         * DumpRenderTree/TextInputController.h: Added.
24148         * DumpRenderTree/TextInputController.m: Added.
24149         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
24151 2005-10-06  Darin Adler  <darin@apple.com>
24153         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
24154         are controlled by cvs, or when changes cross multiple repositories.
24155         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
24157 2005-10-03  Eric Seidel  <eseidel@apple.com>
24159         Reviewed by mjs.
24161         Make mouseDown and mouseUp force layout before acting.
24162         This is used by a new test case for 4233558.
24164         * DumpRenderTree/DumpRenderTree.m:
24165         (-[EventSendingController mouseDown]): force layout
24166         (-[EventSendingController mouseUp]): force layout
24168 2005-09-30  Eric Seidel  <eseidel@apple.com>
24170         Reviewed by xenon.
24172         Updated all the scripts for the move:
24173         WebCore/layout-tests -> LayoutTests
24175         * Scripts/check-dom-results:
24176         * Scripts/prepare-ChangeLog:
24177         * Scripts/run-webkit-tests:
24178         * Scripts/update-webkit: added --no-tests
24179         * checkout: added --no-tests
24181 2005-09-28  Darin Adler  <darin@apple.com>
24183         - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
24184           pixel test should run even if render trees differ
24186         * Scripts/run-webkit-tests: Don't check if the text dump matches.
24188 2005-09-27  Eric Seidel  <eseidel@apple.com>
24190         No review needed, SVG build fix only.
24192         * DumpKCanvasTree/DumpKCanvasTree.m:
24193         Missed one in my previous checkin.
24194         http://bugs.webkit.org/show_bug.cgi?id=5141
24196 2005-09-26  Eric Seidel  <eseidel@apple.com>
24198         No review needed, SVG build fix only.
24200         * DrawTest/DrawTestDocument.m:
24201         * DrawTest/DrawTestToolbarController.m:
24202         * DrawTest/DrawTestView.h:
24203         * DrawTest/DrawTestView.m:
24204         * DrawTest/SVGTest.m:
24205         * DrawTest/TestController.m:
24206         Updated for WebCore+SVG -> WebCore rename.
24207         http://bugs.webkit.org/show_bug.cgi?id=5141
24209 2005-09-26  Eric Seidel  <eseidel@apple.com>
24211         Reviewed by hyatt.
24213         * DumpRenderTree/DumpRenderTree.m:
24214         (dump): updated error message
24215         * Scripts/check-dom-results: now includes xhtml
24216         Tool updates for xhtml.
24217         http://bugs.webkit.org/show_bug.cgi?id=4907
24219 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
24221         Reviewed by Maciej.
24222         Landed by Darin Adler.
24224         - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
24225         "Would like to simulate human interaction with webview"
24227         * DumpRenderTree/DumpRenderTree.m:
24228         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
24229         (+[EventSendingController isSelectorExcludedFromWebScript:]):
24230         (+[EventSendingController webScriptNameForSelector:]):
24231         (-[EventSendingController init]):
24232         (-[EventSendingController mouseDown]):
24233         (-[EventSendingController mouseUp]):
24234         (-[EventSendingController mouseMoveToX:Y:]):
24235         Add eventSender javascript object, that sends fake mouse events to the webview.
24237         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
24238         link with Carbon.framework
24240 2005-09-22  Eric Seidel  <eseidel@apple.com>
24242         Reviewed by mjs.
24244         Update tools for WebCore+SVG -> WebCore rename.
24245         Also fold several SVG specific tools into their original
24246         WebCore counterparts.
24247         http://bugs.webkit.org/show_bug.cgi?id=5003
24249         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
24250         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
24251         * Scripts/build-drawtest:
24252         * Scripts/build-dumpkcanvastree:
24253         * Scripts/build-webcore-svg: Removed.
24254         * Scripts/build-webkit: added --svg option
24255         * Scripts/run-drawtest:
24256         * Scripts/run-webkit-tests:
24257         * Scripts/webkitdirs.pm: various additions.
24258         * checkout: added --svg option
24259         * checkout-svg: Removed.
24261 2005-09-19  Eric Seidel  <eseidel@apple.com>
24263         Reviewed by darin.
24265         * Scripts/run-webkit-tests: added --guard-malloc option
24266         http://bugs.webkit.org/show_bug.cgi?id=4613
24268 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
24270         Reviewed by geoff
24272         Removed a script that is only used by apple internal developers
24274         * Scripts/update-webkitsysteminterface: Removed.
24276 2005-09-16  Adele Peterson  <adele@apple.com>
24278         Reviewed by Maciej.
24280         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
24282 2005-09-14  Darin Adler  <darin@apple.com>
24284         - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
24285           dumpAsText doesn't work with XHTML documents
24287         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
24288         rather than of the body element. This works with typical XHTML documents. We can probably
24289         do something even better in the long run, but this fixes the immediate issue.
24291         - separate tweak
24293         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
24294         run-safari instead of just using "open", which often runs another copy of Safari instead.
24296 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
24298         Reviewed, tweaked, and landed by Darin Adler.
24300         - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
24301           .Mac prefpane crashes when Safari using CVS WebKit is running
24303         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
24304         * Scripts/run-webkit-app: Ditto.
24306 2005-09-11  Darin Adler  <darin@apple.com>
24308         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
24310 2005-09-11  Darin Adler  <darin@apple.com>
24312         Reviewed by Eric.
24314         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
24315         two ways: 1) puts all files in a directory before any files in a subdirectory, and
24316         2) sort file names with numeric digits in them in a logical way, so test-33 will come
24317         before test-3.
24319 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
24321         Reviewed by darin
24323         * Scripts/update-webkitsysteminterface: Added.
24324         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
24326 2005-09-01  John Sullivan  <sullivan@apple.com>
24328         * Scripts/run-webkit-tests:
24329         Excluded a known system leak to reduce noise; added comments about which leaks
24330         are being excluded.
24332 2005-09-01  Tim Omernick  <tomernick@apple.com>
24334         Change made by Darin, reviewed by John and myself.
24336         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
24338         * Scripts/prepare-ChangeLog:
24340 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
24342         Reviewed by Darin Adler.
24344         - set color variant and font settings to a consistent value.
24345         (http://bugs.webkit.org/show_bug.cgi?id=4769)
24347         * DumpRenderTree/DumpRenderTree.m:
24348         (main):
24350 2005-08-30  Eric Seidel  <eseidel@apple.com>
24352         Reviewed by mjs.
24354         * Scripts/build-svg2png: Removed.
24355         * svg2png/ImageDiff.h: Removed.
24356         * svg2png/ImageDiff.m: Removed.
24357         * svg2png/svg2png.m: Removed.
24358         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
24359         * svg2png/svg2png_Prefix.pch: Removed.
24360         svg2png is no longer needed.
24362 2005-08-30  Darin Adler  <darin@apple.com>
24364         * Scripts/check-dom-results: Special case 100% to say something nice.
24365         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
24366         applying the patch (need a better name).
24367         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
24369 2005-08-30  Darin Adler  <darin@apple.com>
24371         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
24373 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
24375         Reviewed by Darin Adler.
24377         - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
24378         (some pixel tests fail when AA settings are changed)
24380         * DumpRenderTree/DumpRenderTree.m:
24381         (main): set AA settings to the default values
24383 2005-08-29  Darin Adler  <darin@apple.com>
24385         Reviewed by John Sullivan.
24387         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
24388         executable -- much slower but can help pinpoint leaks. Changed formatting of some
24389         messages too.
24391 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
24393         Reviewed by Eric.
24395         - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
24396         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
24398         * DumpRenderTree/DumpRenderTree.m:
24399         (main): set scrollbar arrow setting to a consistent value
24401 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
24403         Reviewed and landed by Darin Adler.
24405         - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
24406           output of update-webkit is too verbose
24408         * Scripts/update-webkit:
24409         Added option --quiet (-q) to decrease the amount of output.
24411 2005-08-27  Darin Adler  <darin@apple.com>
24413         - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
24414           cvs-create-patch --include-unknowns should ignore hidden files
24416         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
24418 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
24420         Reviewed, tweaked, and landed by Darin Adler.
24422         - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
24423           update-webkit doesn't notice when you have SVGSupport and update properly
24425         * Scripts/update-webkit: Build SVGSupport directory if it's present.
24427 2005-08-25  Anders Carlsson  <andersca@mac.com>
24429         Reviewed and landed by Darin Adler.
24431         - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
24432           layout test machinery can't handle tests with applets that have code attributes
24434         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
24436 2005-08-24  Darin Adler  <darin@apple.com>
24438         Reviewed by Maciej.
24440         - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
24441           DumpRenderTree --pixel-tests crash
24442         - landed some other small changes I had sitting in my tree
24444         * DumpRenderTree/DumpRenderTree.m:
24445         (main): Don't bother saving and restoring the preferences. Not sure
24446         why this was ever done since the preferences are specific to DumpRenderTree.
24447         Clear delegates before releasing the WebView, because you can't count on the
24448         order of object deallocation.
24449         (dumpRenderTree): Fix code that releases a string before storing it in a
24450         global variable.
24452         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
24453         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
24455 2005-08-23  Eric Seidel  <eseidel@apple.com>
24457         Reviewed by mjs.
24459         * Scripts/run-webkit-tests:
24460         Made --leaks option more readable by printing to a file.
24461         http://bugs.webkit.org/show_bug.cgi?id=4590
24463 2005-08-22  Eric Seidel  <eseidel@apple.com>
24464         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
24466         Reviewed by darin.
24468         * Scripts/run-webkit-tests: hides "expected actual diffs" links
24469         when they are not needed (for pixel-only failures)
24470         http://bugs.webkit.org/show_bug.cgi?id=4584
24472 2005-08-22  Eric Seidel  <eseidel@apple.com>
24474         Reviewed by darin.
24476         * Scripts/run-webkit-tests: Added the ability to display more than
24477         just two images as part of the image-diff "slideshow".
24478         Added display of "-w3c.png" baseline images for SVG.
24479         http://bugs.webkit.org/show_bug.cgi?id=4581
24481 2005-08-20  Eric Seidel  <eseidel@apple.com>
24483         * Scripts/run-webkit-tests:
24484         "build" fix after committing incorrect version.
24486 2005-08-20  Eric Seidel  <eseidel@apple.com>
24488         Reviewed by darin.
24490         * DumpRenderTree/DumpRenderTree.m:
24491         (main): cleans up delegates
24492         (dumpRenderTree): closes CFString/CFURL leak
24493         * Scripts/run-webkit-tests:
24494         Adds --leaks option to run-webkit-tests
24495         http://bugs.webkit.org/show_bug.cgi?id=4542
24497 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
24499         Reviewed by Darin Adler.
24501         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
24502         new files to be included in the patch even without "cvs add".
24504 2005-08-19  Darin Adler  <darin@apple.com>
24506         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
24507         non-cvs-generated patches. Anders has been creating these, so it's bad that
24508         the script can't handle them.
24509         * Scripts/cvs-unapply: Ditto.
24511 2005-08-18  Darin Adler  <darin@apple.com>
24513         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
24514         "." in them -- based on complaint by someone here at Apple.
24516 2005-08-18  Eric Seidel  <eseidel@apple.com>
24518         Reviewed by mjs.
24520         * Scripts/run-webkit-tests:
24521         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
24523 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
24525         - add file that I forgot in the last checkin
24527         * DumpRenderTree/ImageDiff.m: Added.
24528         (main):
24529         (getImageFromStdin):
24530         (compareImages):
24531         (getDifferenceBitmap):
24532         (computePercentageDifferent):
24534 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
24536         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
24537         somewhat by me, and also tweaked by me a little bit.
24539         - better support for pixel-dumping
24540         - use checksums of the images so the tests are fast
24541         - change output format to make the tests run faster
24542         - don't dump pixel results for tests that dump as text
24544         * DumpKCanvasTree/DumpKCanvasTree.m:
24545         (main):
24546         (dumpRenderTree):
24547         (md5HashStringForBitmap):
24548         (dumpPixelTests):
24549         (constrainSizeToMaximum):
24550         (getBitmapImageRepForSVGDocument):
24551         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
24552         * DumpRenderTree/DumpRenderTree.m:
24553         (main):
24554         (dump):
24555         (dumpRenderTree):
24556         (md5HashStringForBitmap):
24557         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
24558         * Scripts/run-webkit-tests:
24560 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
24562         Reviewed by Darin Adler.
24564         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
24566         * DumpRenderTree/DumpRenderTree.m:
24567         (main):
24569 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
24571         Reviewed and landed by Darin Adler.
24573         - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
24574           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
24576         * Scripts/run-safari: Pass arguments through to Safari on command line.
24577         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
24579 2005-08-11  Eric Seidel  <eseidel@apple.com>
24580         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
24582         Reviewed by eseidel.
24584         * DrawTest/TestController.m:
24585         (-[TestController imagePathForSVGPath:]):
24586         Fixed support for using TextViewer with the layout-tests.
24587         http://bugs.webkit.org/show_bug.cgi?id=4385
24589 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
24591         At Least Roughly Glanced At by Anders.
24593         - fix change with totally breaks the layout tests.
24595         * DumpRenderTree/DumpRenderTree.m:
24596         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
24597         load, to avoid dumping twice accidentally.
24599 2005-08-10  Eric Seidel  <eseidel@apple.com>
24600         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
24602         Reviewed by darin.
24604         * DumpRenderTree/DumpRenderTree.m:
24605         Added support for rendering to a PNG file.
24606         http://bugs.webkit.org/show_bug.cgi?id=3840
24608 2005-08-07  Eric Seidel  <eseidel@apple.com>
24610         Reviewed by darin.
24612         * Scripts/run-webkit-tests: added --svg option
24613         * Scripts/run-webkit-tests-svg: Removed.
24614         http://bugs.webkit.org/show_bug.cgi?id=4300
24616 2005-08-07  Eric Seidel  <eseidel@apple.com>
24617         Changes by Ben La Monica <ben.lamonica@gmail.com>
24619         Reviewed by darin.
24621         * svg2png/ImageDiff.h: Added.
24622         * svg2png/ImageDiff.m: Added.
24623         (getDifferenceBitmap):
24624         (computePercentageDifferent):
24625         (saveAnimatedGIFToFile):
24626         * svg2png/svg2png.m:
24627         (usage): added several new options
24628         (getBitmapForSVG): added NSBitmapImageRep generation
24629         (main): various argument changes.
24630         * svg2png/svg2png.xcodeproj/project.pbxproj:
24631         Several additions to provide image differencing functionality.
24632         http://bugs.webkit.org/show_bug.cgi?id=4193
24634 2005-08-07  Eric Seidel  <eseidel@apple.com>
24636         Reviewed by darin.
24638         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
24639         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
24640         Adding the first SVG layout tests:
24641         http://bugs.webkit.org/show_bug.cgi?id=4303
24643 2005-08-07  Darin Adler  <darin@apple.com>
24645         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
24647 2005-08-06  Eric Seidel  <eseidel@apple.com>
24649         Reviewed by darin.
24651         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
24652         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
24653         * Scripts/build-dumpkcanvastree: Added.
24654         * Scripts/run-webkit-tests-svg: Added.
24655         Adds a DumpRenderTree-like tool for SVG which allows us to do
24656         text-based layout regression testing.  This (like most of the
24657         SVG specific stuff) is temporary and will be replaced by
24658         DumpRenderTree once the DOMs and RenderTrees merge.
24659         http://bugs.webkit.org/show_bug.cgi?id=3917
24661 2005-08-06  Eric Seidel  <eseidel@apple.com>
24663         Reviewed by darin.
24665         * DrawTest/DrawTestView.m:
24666         (-[DrawTestView toggleFilterSupport:]): missing negation.
24667         One half of fix for toggling filter support.
24668         http://bugs.webkit.org/show_bug.cgi?id=4252
24670 2005-08-04  Eric Seidel  <eseidel@apple.com>
24672         Reviewed by darin.
24674         * Scripts/build-drawtest:
24675         * Scripts/build-dumprendertree:
24676         * Scripts/build-svg2png:
24677         * Scripts/build-webcore-svg:
24678         * Scripts/build-webkit:
24679         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
24680         Added checkRequiredSystemConfig and made all the build-* scripts
24681         use it to print a pretty warning when trying to compile on an
24682         unsupported system (less than 10.4, Xcode 2.1).
24683         http://bugs.webkit.org/show_bug.cgi?id=4280
24685 2005-08-04  Darin Adler  <darin@apple.com>
24687         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
24688         the dead. It was removed by accident when someone was trying to work on the branch.
24690 2005-07-31  Darin Adler  <darin@apple.com>
24692         - a little tools cleanup
24694         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
24695         project as a whole. Removed unused Default configuration.
24697         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
24699 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
24701         Reviewed and landed by Darin Adler.
24703         Add logging of editing delegate calls for regression checking.
24705         * DumpRenderTree/DumpRenderTree.m:
24706         (main):
24707           setup editing delegate
24709         (-[DOMNode dumpPath]):
24710         (-[DOMRange dump]):
24711           utility for editing delegate logging
24713         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
24714         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
24715         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
24716         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
24717         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
24718         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
24719         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
24720         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
24721         (-[EditingDelegate webViewDidBeginEditing:]):
24722         (-[EditingDelegate webViewDidChange:]):
24723         (-[EditingDelegate webViewDidEndEditing:]):
24724         (-[EditingDelegate webViewDidChangeTypingStyle:]):
24725           log corresponding editing delegate methods
24727         (-[EditingDelegate webViewDidChangeSelection:]):
24728           log selection except when clearing selection after end of test (uses existing "done" flag)
24730         (dumpRenderTree):
24731           added clearing of selection after test
24733 2005-07-31  Eric Seidel  <eseidel@apple.com>
24735         Reviewed by hyatt.
24737         * Scripts/build-drawtest: Added.
24738         * Scripts/build-svg2png: Added.
24739         * Scripts/build-webcore-svg: Added.
24740         * Scripts/run-drawtest: Added.
24741         * Scripts/webkitdirs.pm: added checkSVGFrameworks
24742         Made it much easier to build WebCore+SVG.
24743         http://bugs.webkit.org/show_bug.cgi?id=4208
24745 2005-07-29  Eric Seidel  <eseidel@apple.com>
24747         Reviewed by vicki.
24749         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
24750         Build fix.  Removed bad path.
24752 2005-07-29  Eric Seidel  <eseidel@apple.com>
24754         Reviewed by sullivan.
24756         * DrawTest/AppDelegate.h: Added.
24757         * DrawTest/AppDelegate.m: Added.
24758         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
24759         * DrawTest/DrawTestDocument.h: Added.
24760         * DrawTest/DrawTestDocument.m: Added.
24761         * DrawTest/DrawTestInspectorController.h: Added.
24762         * DrawTest/DrawTestInspectorController.m: Added.
24763         * DrawTest/DrawTestToolbarController.h: Added.
24764         * DrawTest/DrawTestToolbarController.m: Added.
24765         * DrawTest/DrawTestView.h: Added.
24766         * DrawTest/DrawTestView.m: Added.
24767         * DrawTest/DrawTest_Prefix.pch: Added.
24768         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
24769         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
24770         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
24771         * DrawTest/English.lproj/InfoPlist.strings: Added.
24772         * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
24773         * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
24774         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
24775         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
24776         * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
24777         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
24778         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
24779         * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
24780         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
24781         * DrawTest/Info.plist: Added.
24782         * DrawTest/SVGTest.h: Added.
24783         * DrawTest/SVGTest.m: Added.
24784         * DrawTest/ScalingImageView.h: Added.
24785         * DrawTest/ScalingImageView.m: Added.
24786         * DrawTest/TestController.h: Added.
24787         * DrawTest/TestController.m: Added.
24788         * DrawTest/TestViewerSplitView.h: Added.
24789         * DrawTest/TestViewerSplitView.m: Added.
24790         * DrawTest/main.m: Added.
24791         Adding simple cocoa app for testing SVG rendering, interaction.
24792         http://bugs.webkit.org/show_bug.cgi?id=4157
24794 2005-07-28  Eric Seidel  <eseidel@apple.com>
24796         Reviewed by ggaren.
24798         * svg2png/svg2png.m: Added.
24799         * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
24800         * svg2png/svg2png_Prefix.pch: Added.
24801         Added a simple test tool which dumps a PNG from an SVG using
24802         WebCore+SVG's SVG rendering support.
24803         http://bugs.webkit.org/show_bug.cgi?id=4156
24805 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
24807         Reviewed by Darin Adler.
24809         - new script to review the DOM layout test results and see where we stand
24810         on actual success and failure
24812         * Scripts/check-dom-results: Added.
24814 2005-07-25  Darin Adler  <darin@apple.com>
24816         * Scripts/webkitdirs.pm: Check in missing line of code.
24818 2005-07-25  Darin Adler  <darin@apple.com>
24820         - fixed problem that was causing JavaScriptCore test to fail
24821           (except for people who had set DYLD_FRAMEWORK_PATH)
24823         * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
24824         Add code to parse configuration parameter so you can pass --deployment if you like.
24825         * Scripts/run-webkit-tests: Add code to parse configuration parameter.
24827         * Scripts/update-javascriptcore-test-results: Add license header.
24829         * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
24830         from @ARGV. This lets us use this option in commands that take other options and
24831         pass them along to a subsequent tool.
24833 2005-07-25  Darin Adler  <darin@apple.com>
24835         Reviewed by Geoff Garen.
24837         - Fixed run-safari and gdb-safari to use the Safari application in the build results
24838           directory, if any, falling back to the one in the Applications directory otherwise.
24839           Does no harm for open source contributors who don't build Safari, and helps out the
24840           Safari team, since we do build Safari.
24842         * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
24843         variable, and if that's not present, looks in either the build results directory or
24844         /Applications; factors code that was in both scripts before into a shared function.
24845         Also removed some Xcode 2.0 support which is no longer relevant since our projects are
24846         now in Xcode 2.1 format and incompatible with older versions of Xcode.
24848         * Scripts/gdb-safari: Use safariPath.
24849         * Scripts/run-safari: Use safariPath.
24851 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
24853         Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
24854         run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
24856         Moved Tools/Scripts/update-mozilla-js-test-results to
24857         WebKitTools/Scripts/update-javascriptcore-test-results.
24859         Reviewed by darin.
24861         * Scripts/run-javascriptcore-tests: Added.
24863 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
24865         Reviewed by Darin Adler.
24867         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
24869 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
24871         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
24873 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
24875         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
24877 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
24879         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
24881 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
24883         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
24885 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
24887         * Scripts/build-webkit:
24889 2005-07-12  Eric Seidel  <eseidel@apple.com>
24891         Reviewed by mjs.
24893         * checkout-svg: Fixed error with symlink creation.
24895 2005-07-12  Eric Seidel  <eseidel@apple.com>
24897         Reviewed by mjs.
24899         * checkout-svg: Added.
24900         Script to check out WebCore+SVG
24902 2005-06-30  Darin Adler  <darin@apple.com>
24904         Changes based on input from Michael Kahl.
24906         * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
24907         specify different style of "diff".
24908         * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
24909         determineConfigurationProductDir works in all cases.
24911 2005-06-29  Darin Adler  <darin@apple.com>
24913         - fixed bug which would result in multiple unwanted dumps in a single layout test
24915         * DumpRenderTree/DumpRenderTree.m:
24916         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
24917         "readyToDump" flag.
24918         (-[LayoutTestController waitUntilDone]): Update for name change.
24919         (-[LayoutTestController notifyDone]): Dump only if ready.
24920         (dumpRenderTree): Set up new boolean and update for name change.
24922 2005-06-29  Darin Adler  <darin@apple.com>
24924         Changes by Timothy Hatcher.
24925         Reviewed by me.
24927         * Scripts/run-webkit-app: Added script to open an arbritrary application with
24928         a CVS built WebKit. Example: ./run-webkit-app Colloquy
24930         * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
24931         a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
24932         * Scripts/run-safari: Ditto.
24934 2005-06-26  Darin Adler  <darin@apple.com>
24936         * Scripts/build-dumprendertree: Pass -project option so that having a second
24937         copy of the project (like the one Xcode 2.1 offers to make for you) that's
24938         out of date won't screw you up.
24939         * Scripts/build-webkit: Ditto.
24941 2005-06-23  Darin Adler  <darin@apple.com>
24943         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
24945 2005-06-23  Darin Adler  <darin@apple.com>
24947         Changes based on input from Michael Kahl.
24949         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
24950         directory passed in.
24952         * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
24953         getcwd() in the code to find the base product dir. Added code to handle unusual
24954         base product directory values that use SRCROOT.
24956 2005-06-22  Darin Adler  <darin@apple.com>
24958         Change by Anders Carlsson.
24960         - added support for dumping title changes
24962         * DumpRenderTree/DumpRenderTree.m:
24963         (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
24964         if requested by JavaScript.
24965         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
24966         (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
24967         (dumpRenderTree): Start flag as NO.
24969 2005-06-20  Darin Adler  <darin@apple.com>
24971         Reviewed by Justin Garcia.
24973         * Scripts/run-webkit-tests: Report number of tests when they succeed.
24975 2005-06-18  Darin Adler  <darin@apple.com>
24977         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
24978         in the hope of making the tool use less memory and run faster.
24980 2005-06-18  Darin Adler  <darin@apple.com>
24982         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
24983         * Scripts/cvs-unapply: Ditto.
24985 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
24987         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
24988         benefit of all WebKit hackerdom
24990         * Scripts/prepare-ChangeLog: Added.
24992 2005-06-16  Darin Adler  <darin@apple.com>
24994         - recent changes to XcodeOptions made it depend on the current directory
24995           The intent was to have the WebKitBuild directory be next to WebKitTools,
24996           not inside the various build directories. Workaround for now is to call
24997           XcodeOptions when the directory is set to the WebKit directory.
24999         * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
25000         at the start of the script.
25001         * Scripts/build-webkit: Ditto.
25003 2005-06-15  Darin Adler  <darin@apple.com>
25005         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
25007 2005-06-14  Darin Adler  <darin@apple.com>
25009         Changes by Anders Carlsson.
25010         Reviewed by me.
25012         - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
25013           Add gdb-safari script to launch Safari under gdb
25015         * Scripts/gdb-safari: Added.
25017 2005-06-12  Darin Adler  <darin@apple.com>
25019         Changes by Stuart Morgan.
25020         Reviewed by me.
25022         * Scripts/cvs-abandon: Use cwd instead of `pwd`.
25023         * Scripts/cvs-apply: Ditto.
25024         * Scripts/cvs-create-patch: Ditto.
25025         * Scripts/cvs-unapply: Ditto.
25026         * Scripts/run-webkit-tests: Ditto.
25027         * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
25029 2005-06-12  Darin Adler  <darin@apple.com>
25031         * Scripts/cvs-apply: Handle case of an empty patch better.
25032         * Scripts/cvs-unapply: Ditto.
25034 2005-06-12  Darin Adler  <darin@apple.com>
25036         Changes by Michael Gaiman.
25037         Reviewed by me.
25039         - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
25040           WebKit no longer builds after configuration supporting build changes
25042         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
25044 2005-06-12  Darin Adler  <darin@apple.com>
25046         * Scripts/update-webkit: Make this script work when called from any directory.
25048 2005-06-12  Darin Adler  <darin@apple.com>
25050         Reviewed by Maciej.
25051         Includes changes by Stuart Morgan as well as my own.
25053         * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
25054         symrootXcodeOptions to set the -buildstyle option.
25055         * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
25056         The new --development option does the same thing.
25057         * Scripts/run-safari: Ditto.
25058         * Scripts/run-webkit-tests: Ditto.
25059         * Scripts/update-webkit: Ditto.
25060         * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
25062         * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
25063         directory is when invoking a script. Add code to determine the Xcode version so we can do the right
25064         thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
25065         product directory. Read the default configuration from a file, overridable by a passed-in command-line
25066         option.
25068 2005-06-11  Darin Adler  <darin@apple.com>
25070         * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
25071         to execute the cvs diff commands.
25073 2005-06-11  Darin Adler  <darin@apple.com>
25075         - added first cuts at some cvs scripts
25077             cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
25078             cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
25079             cvs-apply is for applying patches; runs patch and cvs add and cvs rm
25080             cvs-unapply is for unapplying patches; does the opposite of cvs-apply
25082           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
25084         * Scripts/cvs-abandon: Added.
25085         * Scripts/cvs-apply: Added.
25086         * Scripts/cvs-create-patch: Added.
25087         * Scripts/cvs-unapply: Added.
25089 2005-06-09  Darin Adler  <darin@apple.com>
25091         Reviewed by Maciej.
25093         - fixed http://bugs.webkit.org/show_bug.cgi?id=3397
25094           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
25096         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
25097         for Foundation.framework. How was it ever wrong?
25099         - finally, I tested making the default build directory work; it works now
25101         * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
25102         that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
25103         * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
25104         * Scripts/build-dumprendertree: Ditto.
25106 2005-06-09  Darin Adler  <darin@apple.com>
25108         * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
25109         work. Someone should try building without setting the Xcode build product directory now,
25110         and let me know if it works.
25112 2005-06-08  Darin Adler  <darin@apple.com>
25114         - quick fix to try to get build scripts working again
25116         * Scripts/build-dumprendertree: Add FindBin.
25117         * Scripts/build-webkit: Ditto.
25118         * Scripts/run-safari: Ditto.
25119         * Scripts/run-webkit-tests: Ditto.
25120         * Scripts/update-webkit: Ditto.
25122 2005-06-08  Darin Adler  <darin@apple.com>
25124         Reviewed by Maciej.
25126         - some build script enhancements
25128         * Scripts/build-dumprendertree: Changed to use webkitdirs.
25129         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
25130         they are newer.
25131         * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
25132         before Deplyment in that case.
25133         * Scripts/run-webkit-tests: Changed to use webkitdirs.
25134         * Scripts/update-webkit: Changed to use webkitdirs.
25136         * Scripts/webkitdirs.pm: Added.
25138 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
25140         Code change by Toby Peterson <toby@opendarwin.org>
25141         Reviewed by me.
25143         * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
25144         get confused because build-webkit now makes even 2.0 build directories look
25145         like 2.1.
25147 2005-06-07  Darin Adler  <darin@apple.com>
25149         Reviewed by Adele Peterson.
25151         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
25152         * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
25153         so we can run tests with Xcode 2.1.
25155 2005-06-07  Darin Adler  <darin@apple.com>
25157         Reviewed by Adele Peterson.
25159         * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
25160         layout-tests directory to include additional sets of tests.
25162 2005-06-07  Darin Adler  <darin@apple.com>
25164         * checkout: Added license.
25165         * Scripts/build-dumprendertree: Ditto.
25166         * Scripts/run-webkit-tests: Ditto.
25167         * Scripts/update-webkit: Ditto.
25169 2005-06-07  Darin Adler  <darin@apple.com>
25171         Change by Toby Peterson <toby@opendarwin.org>.
25172         Reviewed by me.
25174         * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
25175         * Scripts/run-safari: Ditto.
25177 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
25179         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
25181 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
25183         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
25185 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
25187         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
25189 2005-06-05  Darin Adler  <darin@apple.com>
25191         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
25192         * Scripts/build-dumprendertree: Added.
25193         * Scripts/build-webkit: Build All in the JavaScriptCore directory.
25194         * Scripts/run-webkit-tests: Build DumpRenderTree before running.
25196 2005-06-05  Darin Adler  <darin@apple.com>
25198         * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
25200 2005-06-05  Darin Adler  <darin@apple.com>
25202         - add run-webkit-tests script; not working yet but the pieces are there
25204         * Scripts/run-webkit-tests: Added.
25206         * DumpRenderTree/DumpRenderTree.m: Added.
25207         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
25208         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
25209         * DumpRenderTree/DumpRenderTreePrefix.h: Added.
25211 2005-06-05  Darin Adler  <darin@apple.com>
25213         - created module, first cut at Web Kit Open Source Project scripts
25215         * ChangeLog: Added.
25216         * Scripts/build-webkit: Added.
25217         * Scripts/run-safari: Added.
25218         * Scripts/update-webkit: Added.
25219         * checkout: Added.
25221 === creation of WebKitTools module ===