blob: 4cf557b437d2ab59fee9f9462e79c248437ad326 [file] [log] [blame]
2005-12-06 John Sullivan <sullivan@apple.com>
Reviewed by Darin Adler.
* Scripts/prepare-ChangeLog:
Remove special-case handling for nib files. This avoided trouble with cvs diff
when we were using wrappers for nib files. Now that we aren't using wrappers,
there's no reason to avoid adding the modified nib files to the file list that
gets diffed.
2005-12-05 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Script updates for SVG files move (remove references to SVGSupport)
* Scripts/build-webkit: remove SVGSupport
* Scripts/run-webkit-tests: Resources -> resources for --svg
* Scripts/update-webkit: remove SVGSupport
2005-12-05 Eric Seidel <eseidel@apple.com>
Reviewed mjs.
* checkout: remove --svg support, SVG is now checked out by default
2005-11-29 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Update scripts to run SVG tests automatically (w/o --svg) if
WebCore is built with SVG support.
* Scripts/build-drawtest: SVG support required
* Scripts/build-dumpkcanvastree: Removed.
* Scripts/run-drawtest: SVG support required to run
* Scripts/run-webkit-tests: pass *.svg files if WebCore has support
* Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2005-11-28 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin. Committed by Maciej.
- fixed "DumpRenderTree should test for Ahem before doing anything else"
(http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-11-28 Eric Seidel <eseidel@apple.com>
Reviewed by sullivan and GGAREN.
Minor additions to make error messages more clear from cvs-apply.
* Scripts/cvs-apply: make errors more clear
2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
Reviewed and committed by Maciej.
- fixed cvs-create-patch --include produces incorrect paths
(http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
* Scripts/cvs-create-patch: produce proper paths for new files.
2005-11-21 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Some simple fixes to the build/test scripts now that SVG uses the
WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
or symlinks for KDOM.
* Scripts/build-webkit: No longer builds JavaScriptCore+SVG
* Scripts/prepare-ChangeLog: handles missing LayoutTests directory
* Scripts/run-webkit-tests: now runs SVG tests using DRT
* Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
* checkout: no longer symlink kdom
2005-11-10 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* Scripts/build-webkit: Pass through options to xcodebuild
2005-11-07 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fix case where the patch has files at the top level.
2005-11-03 John Sullivan <sullivan@apple.com>
Reviewed by Darin.
* Scripts/run-safari:
changed message to say "Starting Safari" instead of odd "Start Safari"
* Scripts/run-webkit-tests:
changed the way we pass the file parameter to use -NSOpen rather than relying on
unlabeled arguments being treated as files. This was failing on some machines that
(mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2005-10-27 Geoffrey Garen <ggaren@apple.com>
Patch by Alexey Proskuryakov.
Reviewed by Maciej.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
TextInputController should support attributed strings
* DumpRenderTree/TextInputController.m:
(+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
(+[NSMutableAttributedString webScriptNameForSelector:]):
(-[NSMutableAttributedString getLength]):
(-[NSMutableAttributedString attributeNamesAtIndex:]):
(-[NSMutableAttributedString valueOfAttribute:atIndex:]):
(-[NSMutableAttributedString addAttribute:value:]):
(-[NSMutableAttributedString addAttribute:value:from:length:]):
(-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
(-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
(-[NSMutableAttributedString addFontAttribute:fontName:size:]):
(-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
(+[TextInputController isSelectorExcludedFromWebScript:]):
(+[TextInputController webScriptNameForSelector:]):
(-[TextInputController insertText:]):
(-[TextInputController attributedSubstringFrom:length:]):
(-[TextInputController attributedStringWithString:]):
2005-10-11 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Checks for leaks in ImageDiff too.
* Scripts/run-webkit-tests:
2005-10-09 Darin Adler <darin@apple.com>
* Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
* Scripts/cvs-apply: Handle added/deleted files in the current directory.
* Scripts/cvs-unapply: Ditto.
* Scripts/run-webkit-tests: Add a few more false-positive leaks.
2005-10-08 Alexey Proskuryakov <ap@nypop.com>
Reviewed, rearranged and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
Need a way to automatically test for regressions in NSTextInput implementation
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
Create a text input controller and put it in a property of the window object.
* DumpRenderTree/TextInputController.h: Added.
* DumpRenderTree/TextInputController.m: Added.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2005-10-06 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fixed merge option to work better when not all directories
are controlled by cvs, or when changes cross multiple repositories.
* Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2005-10-03 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make mouseDown and mouseUp force layout before acting.
This is used by a new test case for 4233558.
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseDown]): force layout
(-[EventSendingController mouseUp]): force layout
2005-09-30 Eric Seidel <eseidel@apple.com>
Reviewed by xenon.
Updated all the scripts for the move:
WebCore/layout-tests -> LayoutTests
* Scripts/check-dom-results:
* Scripts/prepare-ChangeLog:
* Scripts/run-webkit-tests:
* Scripts/update-webkit: added --no-tests
* checkout: added --no-tests
2005-09-28 Darin Adler <darin@apple.com>
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
pixel test should run even if render trees differ
* Scripts/run-webkit-tests: Don't check if the text dump matches.
2005-09-27 Eric Seidel <eseidel@apple.com>
No review needed, SVG build fix only.
* DumpKCanvasTree/DumpKCanvasTree.m:
Missed one in my previous checkin.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2005-09-26 Eric Seidel <eseidel@apple.com>
No review needed, SVG build fix only.
* DrawTest/DrawTestDocument.m:
* DrawTest/DrawTestToolbarController.m:
* DrawTest/DrawTestView.h:
* DrawTest/DrawTestView.m:
* DrawTest/SVGTest.m:
* DrawTest/TestController.m:
Updated for WebCore+SVG -> WebCore rename.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2005-09-26 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* DumpRenderTree/DumpRenderTree.m:
(dump): updated error message
* Scripts/check-dom-results: now includes xhtml
Tool updates for xhtml.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2005-09-22 Duncan Wilcox <duncan@mclink.it>
Reviewed by Maciej.
Landed by Darin.
- patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
"Would like to simulate human interaction with webview"
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController init]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
Add eventSender javascript object, that sends fake mouse events to the webview.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
link with Carbon.framework
2005-09-22 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Update tools for WebCore+SVG -> WebCore rename.
Also fold several SVG specific tools into their original
WebCore counterparts.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
* Scripts/build-drawtest:
* Scripts/build-dumpkcanvastree:
* Scripts/build-webcore-svg: Removed.
* Scripts/build-webkit: added --svg option
* Scripts/run-drawtest:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm: various additions.
* checkout: added --svg option
* checkout-svg: Removed.
2005-09-19 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: added --guard-malloc option
http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2005-09-16 Justin Garcia <justin.garcia@apple.com>
Reviewed by geoff
Removed a script that is only used by apple internal developers
* Scripts/update-webkitsysteminterface: Removed.
2005-09-16 Adele Peterson <adele@apple.com>
Reviewed by Maciej.
* Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2005-09-14 Darin Adler <darin@apple.com>
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
dumpAsText doesn't work with XHTML documents
* DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
rather than of the body element. This works with typical XHTML documents. We can probably
do something even better in the long run, but this fixes the immediate issue.
- separate tweak
* Scripts/run-webkit-tests: Show the results in the current built Safari by using
run-safari instead of just using "open", which often runs another copy of Safari instead.
2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed, tweaked, and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
.Mac prefpane crashes when Safari using CVS WebKit is running
* Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
* Scripts/run-webkit-app: Ditto.
2005-09-11 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2005-09-11 Darin Adler <darin@apple.com>
Reviewed by Eric.
* Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
two ways: 1) puts all files in a directory before any files in a subdirectory, and
2) sort file names with numeric digits in them in a logical way, so test-33 will come
before test-3.
2005-09-08 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
* Scripts/update-webkitsysteminterface: Added.
Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2005-09-01 John Sullivan <sullivan@apple.com>
* Scripts/run-webkit-tests:
Excluded a known system leak to reduce noise; added comments about which leaks
are being excluded.
2005-09-01 Tim Omernick <tomernick@apple.com>
Change made by Darin, reviewed by John and myself.
- Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
* Scripts/prepare-ChangeLog:
2005-08-31 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- set color variant and font settings to a consistent value.
(http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-08-30 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/build-svg2png: Removed.
* svg2png/ImageDiff.h: Removed.
* svg2png/ImageDiff.m: Removed.
* svg2png/svg2png.m: Removed.
* svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
* svg2png/svg2png_Prefix.pch: Removed.
svg2png is no longer needed.
2005-08-30 Darin Adler <darin@apple.com>
* Scripts/check-dom-results: Special case 100% to say something nice.
* Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
applying the patch (need a better name).
* Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2005-08-30 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2005-08-29 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
(some pixel tests fail when AA settings are changed)
* DumpRenderTree/DumpRenderTree.m:
(main): set AA settings to the default values
2005-08-29 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
* Scripts/run-webkit-tests: Added a mode where each test is run with a separate
executable -- much slower but can help pinpoint leaks. Changed formatting of some
messages too.
2005-08-28 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
(webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
* DumpRenderTree/DumpRenderTree.m:
(main): set scrollbar arrow setting to a consistent value
2005-08-27 Jussi Hagman <juhagman@abo.fi>
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
output of update-webkit is too verbose
* Scripts/update-webkit:
Added option --quiet (-q) to decrease the amount of output.
2005-08-27 Darin Adler <darin@apple.com>
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
cvs-create-patch --include-unknowns should ignore hidden files
* Scripts/cvs-create-patch: Add code to check for files starting with ".".
2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
Reviewed, tweaked, and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
update-webkit doesn't notice when you have SVGSupport and update properly
* Scripts/update-webkit: Build SVGSupport directory if it's present.
2005-08-25 Anders Carlsson <andersca@mac.com>
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
layout test machinery can't handle tests with applets that have code attributes
* DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2005-08-24 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
DumpRenderTree --pixel-tests crash
- landed some other small changes I had sitting in my tree
* DumpRenderTree/DumpRenderTree.m:
(main): Don't bother saving and restoring the preferences. Not sure
why this was ever done since the preferences are specific to DumpRenderTree.
Clear delegates before releasing the WebView, because you can't count on the
order of object deallocation.
(dumpRenderTree): Fix code that releases a string before storing it in a
global variable.
* Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2005-08-23 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/run-webkit-tests:
Made --leaks option more readable by printing to a file.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2005-08-22 Eric Seidel <eseidel@apple.com>
Fix by Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by darin.
* Scripts/run-webkit-tests: hides "expected actual diffs" links
when they are not needed (for pixel-only failures)
http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2005-08-22 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: Added the ability to display more than
just two images as part of the image-diff "slideshow".
Added display of "-w3c.png" baseline images for SVG.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
>>>>>>> 1.80
2005-08-20 Eric Seidel <eseidel@apple.com>
* Scripts/run-webkit-tests:
"build" fix after committing incorrect version.
2005-08-20 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DumpRenderTree/DumpRenderTree.m:
(main): cleans up delegates
(dumpRenderTree): closes CFString/CFURL leak
* Scripts/run-webkit-tests:
Adds --leaks option to run-webkit-tests
http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
Reviewed by Darin.
* Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
new files to be included in the patch even without "cvs add".
2005-08-19 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
non-cvs-generated patches. Anders has been creating these, so it's bad that
the script can't handle them.
* Scripts/cvs-unapply: Ditto.
2005-08-18 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
"." in them -- based on complaint by someone here at Apple.
2005-08-18 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/run-webkit-tests:
Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2005-08-17 Maciej Stachowiak <mjs@apple.com>
- add file that I forgot in the last checkin
* DumpRenderTree/ImageDiff.m: Added.
(main):
(getImageFromStdin):
(compareImages):
(getDifferenceBitmap):
(computePercentageDifferent):
2005-08-17 Maciej Stachowiak <mjs@apple.com>
Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
somewhat by me, and also tweaked by me a little bit.
- better support for pixel-dumping
- use checksums of the images so the tests are fast
- change output format to make the tests run faster
- don't dump pixel results for tests that dump as text
* DumpKCanvasTree/DumpKCanvasTree.m:
(main):
(dumpRenderTree):
(md5HashStringForBitmap):
(dumpPixelTests):
(constrainSizeToMaximum):
(getBitmapImageRepForSVGDocument):
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.m:
(main):
(dump):
(dumpRenderTree):
(md5HashStringForBitmap):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* Scripts/run-webkit-tests:
2005-08-17 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- hacked DumpRenderTree to make the scrollbars appear and disappear properly.
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
* Scripts/run-safari: Pass arguments through to Safari on command line.
* Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2005-08-11 Eric Seidel <eseidel@apple.com>
Fix by Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by eseidel.
* DrawTest/TestController.m:
(-[TestController imagePathForSVGPath:]):
Fixed support for using TextViewer with the layout-tests.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
2005-08-11 Maciej Stachowiak <mjs@apple.com>
At Least Roughly Glanced At by Anders.
- fix change with totally breaks the layout tests.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
load, to avoid dumping twice accidentally.
2005-08-10 Eric Seidel <eseidel@apple.com>
Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by darin.
* DumpRenderTree/DumpRenderTree.m:
Added support for rendering to a PNG file.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
2005-08-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: added --svg option
* Scripts/run-webkit-tests-svg: Removed.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
2005-08-07 Eric Seidel <eseidel@apple.com>
Changes by Ben La Monica <ben.lamonica@gmail.com>
Reviewed by darin.
* svg2png/ImageDiff.h: Added.
* svg2png/ImageDiff.m: Added.
(getDifferenceBitmap):
(computePercentageDifferent):
(saveAnimatedGIFToFile):
* svg2png/svg2png.m:
(usage): added several new options
(getBitmapForSVG): added NSBitmapImageRep generation
(main): various argument changes.
* svg2png/svg2png.xcodeproj/project.pbxproj:
Several additions to provide image differencing functionality.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
2005-08-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
* checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
Adding the first SVG layout tests:
http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
2005-08-07 Darin Adler <darin@apple.com>
* Scripts/cvs-create-patch: Do all the directories at once, for speed.
2005-08-06 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DumpKCanvasTree/DumpKCanvasTree.m: Added.
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
* Scripts/build-dumpkcanvastree: Added.
* Scripts/run-webkit-tests-svg: Added.
Adds a DumpRenderTree-like tool for SVG which allows us to do
text-based layout regression testing. This (like most of the
SVG specific stuff) is temporary and will be replaced by
DumpRenderTree once the DOMs and RenderTrees merge.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
2005-08-06 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DrawTest/DrawTestView.m:
(-[DrawTestView toggleFilterSupport:]): missing negation.
One half of fix for toggling filter support.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
2005-08-04 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/build-drawtest:
* Scripts/build-dumprendertree:
* Scripts/build-svg2png:
* Scripts/build-webcore-svg:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
Added checkRequiredSystemConfig and made all the build-* scripts
use it to print a pretty warning when trying to compile on an
unsupported system (less than 10.4, Xcode 2.1).
http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
2005-08-04 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
the dead. It was removed by accident when someone was trying to work on the branch.
2005-07-31 Darin Adler <darin@apple.com>
- a little tools cleanup
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
project as a whole. Removed unused Default configuration.
* Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2005-07-31 Duncan Wilcox <duncan@mclink.it>
Reviewed and landed by Darin Adler.
Add logging of editing delegate calls for regression checking.
* DumpRenderTree/DumpRenderTree.m:
(main):
setup editing delegate
(-[DOMNode dumpPath]):
(-[DOMRange dump]):
utility for editing delegate logging
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldDeleteDOMRange:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
log corresponding editing delegate methods
(-[EditingDelegate webViewDidChangeSelection:]):
log selection except when clearing selection after end of test (uses existing "done" flag)
(dumpRenderTree):
added clearing of selection after test
2005-07-31 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* Scripts/build-drawtest: Added.
* Scripts/build-svg2png: Added.
* Scripts/build-webcore-svg: Added.
* Scripts/run-drawtest: Added.
* Scripts/webkitdirs.pm: added checkSVGFrameworks
Made it much easier to build WebCore+SVG.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
2005-07-29 Eric Seidel <eseidel@apple.com>
Reviewed by vicki.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
Build fix. Removed bad path.
2005-07-29 Eric Seidel <eseidel@apple.com>
Reviewed by sullivan.
* DrawTest/AppDelegate.h: Added.
* DrawTest/AppDelegate.m: Added.
* DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
* DrawTest/DrawTestDocument.h: Added.
* DrawTest/DrawTestDocument.m: Added.
* DrawTest/DrawTestInspectorController.h: Added.
* DrawTest/DrawTestInspectorController.m: Added.
* DrawTest/DrawTestToolbarController.h: Added.
* DrawTest/DrawTestToolbarController.m: Added.
* DrawTest/DrawTestView.h: Added.
* DrawTest/DrawTestView.m: Added.
* DrawTest/DrawTest_Prefix.pch: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/InfoPlist.strings: Added.
* DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
* DrawTest/English.lproj/Inspector.nib/info.nib: Added.
* DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
* DrawTest/Info.plist: Added.
* DrawTest/SVGTest.h: Added.
* DrawTest/SVGTest.m: Added.
* DrawTest/ScalingImageView.h: Added.
* DrawTest/ScalingImageView.m: Added.
* DrawTest/TestController.h: Added.
* DrawTest/TestController.m: Added.
* DrawTest/TestViewerSplitView.h: Added.
* DrawTest/TestViewerSplitView.m: Added.
* DrawTest/main.m: Added.
Adding simple cocoa app for testing SVG rendering, interaction.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
2005-07-28 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* svg2png/svg2png.m: Added.
* svg2png/svg2png.xcodeproj/project.pbxproj: Added.
* svg2png/svg2png_Prefix.pch: Added.
Added a simple test tool which dumps a PNG from an SVG using
WebCore+SVG's SVG rendering support.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
2005-07-26 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- new script to review the DOM layout test results and see where we stand
on actual success and failure
* Scripts/check-dom-results: Added.
2005-07-25 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Check in missing line of code.
2005-07-25 Darin Adler <darin@apple.com>
- fixed problem that was causing JavaScriptCore test to fail
(except for people who had set DYLD_FRAMEWORK_PATH)
* Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
Add code to parse configuration parameter so you can pass --deployment if you like.
* Scripts/run-webkit-tests: Add code to parse configuration parameter.
* Scripts/update-javascriptcore-test-results: Add license header.
* Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
from @ARGV. This lets us use this option in commands that take other options and
pass them along to a subsequent tool.
2005-07-25 Darin Adler <darin@apple.com>
Reviewed by Geoff Garen.
- Fixed run-safari and gdb-safari to use the Safari application in the build results
directory, if any, falling back to the one in the Applications directory otherwise.
Does no harm for open source contributors who don't build Safari, and helps out the
Safari team, since we do build Safari.
* Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
variable, and if that's not present, looks in either the build results directory or
/Applications; factors code that was in both scripts before into a shared function.
Also removed some Xcode 2.0 support which is no longer relevant since our projects are
now in Xcode 2.1 format and incompatible with older versions of Xcode.
* Scripts/gdb-safari: Use safariPath.
* Scripts/run-safari: Use safariPath.
2005-07-22 Geoffrey Garen <ggaren@apple.com>
Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
Moved Tools/Scripts/update-mozilla-js-test-results to
WebKitTools/Scripts/update-javascriptcore-test-results.
Reviewed by darin.
* Scripts/run-javascriptcore-tests: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin.
* Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* Scripts/build-webkit:
2005-07-12 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* checkout-svg: Fixed error with symlink creation.
2005-07-12 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* checkout-svg: Added.
Script to check out WebCore+SVG
2005-06-30 Darin Adler <darin@apple.com>
Changes based on input from Michael Kahl.
* Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
specify different style of "diff".
* Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
determineConfigurationProductDir works in all cases.
2005-06-29 Darin Adler <darin@apple.com>
- fixed bug which would result in multiple unwanted dumps in a single layout test
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
"readyToDump" flag.
(-[LayoutTestController waitUntilDone]): Update for name change.
(-[LayoutTestController notifyDone]): Dump only if ready.
(dumpRenderTree): Set up new boolean and update for name change.
2005-06-29 Darin Adler <darin@apple.com>
Changes by Timothy Hatcher.
Reviewed by me.
* Scripts/run-webkit-app: Added script to open an arbritrary application with
a CVS built WebKit. Example: ./run-webkit-app Colloquy
* Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
* Scripts/run-safari: Ditto.
2005-06-26 Darin Adler <darin@apple.com>
* Scripts/build-dumprendertree: Pass -project option so that having a second
copy of the project (like the one Xcode 2.1 offers to make for you) that's
out of date won't screw you up.
* Scripts/build-webkit: Ditto.
2005-06-23 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2005-06-23 Darin Adler <darin@apple.com>
Changes based on input from Michael Kahl.
* Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
directory passed in.
* Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
getcwd() in the code to find the base product dir. Added code to handle unusual
base product directory values that use SRCROOT.
2005-06-22 Darin Adler <darin@apple.com>
Change by Anders Carlsson.
- added support for dumping title changes
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
if requested by JavaScript.
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
(-[LayoutTestController dumpTitleChanges]): Added, sets flag.
(dumpRenderTree): Start flag as NO.
2005-06-20 Darin Adler <darin@apple.com>
Reviewed by Justin Garcia.
* Scripts/run-webkit-tests: Report number of tests when they succeed.
2005-06-18 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
in the hope of making the tool use less memory and run faster.
2005-06-18 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Improve handling of patches with CR characters in them.
* Scripts/cvs-unapply: Ditto.
2005-06-17 Maciej Stachowiak <mjs@apple.com>
- added prepare-ChangeLog script which we use internally to make ChangeLogs, for
benefit of all WebKit hackerdom
* Scripts/prepare-ChangeLog: Added.
2005-06-16 Darin Adler <darin@apple.com>
- recent changes to XcodeOptions made it depend on the current directory
The intent was to have the WebKitBuild directory be next to WebKitTools,
not inside the various build directories. Workaround for now is to call
XcodeOptions when the directory is set to the WebKit directory.
* Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
at the start of the script.
* Scripts/build-webkit: Ditto.
2005-06-15 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
2005-06-14 Darin Adler <darin@apple.com>
Changes by Anders Carlsson.
Reviewed by me.
- fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
Add gdb-safari script to launch Safari under gdb
* Scripts/gdb-safari: Added.
2005-06-12 Darin Adler <darin@apple.com>
Changes by Stuart Morgan.
Reviewed by me.
* Scripts/cvs-abandon: Use cwd instead of `pwd`.
* Scripts/cvs-apply: Ditto.
* Scripts/cvs-create-patch: Ditto.
* Scripts/cvs-unapply: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
2005-06-12 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Handle case of an empty patch better.
* Scripts/cvs-unapply: Ditto.
2005-06-12 Darin Adler <darin@apple.com>
Changes by Michael Gaiman.
Reviewed by me.
- fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
WebKit no longer builds after configuration supporting build changes
* Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
2005-06-12 Darin Adler <darin@apple.com>
* Scripts/update-webkit: Make this script work when called from any directory.
2005-06-12 Darin Adler <darin@apple.com>
Reviewed by Maciej.
Includes changes by Stuart Morgan as well as my own.
* Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
symrootXcodeOptions to set the -buildstyle option.
* Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
The new --development option does the same thing.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
* Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
* Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
directory is when invoking a script. Add code to determine the Xcode version so we can do the right
thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
product directory. Read the default configuration from a file, overridable by a passed-in command-line
option.
2005-06-11 Darin Adler <darin@apple.com>
* Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
to execute the cvs diff commands.
2005-06-11 Darin Adler <darin@apple.com>
- added first cuts at some cvs scripts
cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
cvs-apply is for applying patches; runs patch and cvs add and cvs rm
cvs-unapply is for unapplying patches; does the opposite of cvs-apply
An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
* Scripts/cvs-abandon: Added.
* Scripts/cvs-apply: Added.
* Scripts/cvs-create-patch: Added.
* Scripts/cvs-unapply: Added.
2005-06-09 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
for Foundation.framework. How was it ever wrong?
- finally, I tested making the default build directory work; it works now
* Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
* Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
* Scripts/build-dumprendertree: Ditto.
2005-06-09 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
work. Someone should try building without setting the Xcode build product directory now,
and let me know if it works.
2005-06-08 Darin Adler <darin@apple.com>
- quick fix to try to get build scripts working again
* Scripts/build-dumprendertree: Add FindBin.
* Scripts/build-webkit: Ditto.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
2005-06-08 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- some build script enhancements
* Scripts/build-dumprendertree: Changed to use webkitdirs.
* Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
they are newer.
* Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
before Deplyment in that case.
* Scripts/run-webkit-tests: Changed to use webkitdirs.
* Scripts/update-webkit: Changed to use webkitdirs.
* Scripts/webkitdirs.pm: Added.
2005-06-08 Maciej Stachowiak <mjs@apple.com>
Code change by Toby Peterson <toby@opendarwin.org>
Reviewed by me.
* Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
get confused because build-webkit now makes even 2.0 build directories look
like 2.1.
2005-06-07 Darin Adler <darin@apple.com>
Reviewed by Adele Peterson.
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
* Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
so we can run tests with Xcode 2.1.
2005-06-07 Darin Adler <darin@apple.com>
Reviewed by Adele Peterson.
* Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
layout-tests directory to include additional sets of tests.
2005-06-07 Darin Adler <darin@apple.com>
* checkout: Added license.
* Scripts/build-dumprendertree: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
2005-06-07 Darin Adler <darin@apple.com>
Change by Toby Peterson <toby@opendarwin.org>.
Reviewed by me.
* Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
* Scripts/run-safari: Ditto.
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
2005-06-05 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
* Scripts/build-dumprendertree: Added.
* Scripts/build-webkit: Build All in the JavaScriptCore directory.
* Scripts/run-webkit-tests: Build DumpRenderTree before running.
2005-06-05 Darin Adler <darin@apple.com>
* Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
2005-06-05 Darin Adler <darin@apple.com>
- add run-webkit-tests script; not working yet but the pieces are there
* Scripts/run-webkit-tests: Added.
* DumpRenderTree/DumpRenderTree.m: Added.
* DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
* DumpRenderTree/DumpRenderTreePrefix.h: Added.
2005-06-05 Darin Adler <darin@apple.com>
- created module, first cut at Web Kit Open Source Project scripts
* ChangeLog: Added.
* Scripts/build-webkit: Added.
* Scripts/run-safari: Added.
* Scripts/update-webkit: Added.
* checkout: Added.
=== creation of WebKitTools module ===