1 2005-11-29 Eric Seidel <eseidel@apple.com>
5 Update scripts to run SVG tests automatically (w/o --svg) if
6 WebCore is built with SVG support.
8 * Scripts/build-drawtest: SVG support required
9 * Scripts/build-dumpkcanvastree: Removed.
10 * Scripts/run-drawtest: SVG support required to run
11 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
12 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
14 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
16 Reviewed by Darin. Committed by Maciej.
18 - fixed "DumpRenderTree should test for Ahem before doing anything else"
19 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
21 * DumpRenderTree/DumpRenderTree.m:
24 2005-11-28 Eric Seidel <eseidel@apple.com>
26 Reviewed by sullivan and GGAREN.
28 Minor additions to make error messages more clear from cvs-apply.
30 * Scripts/cvs-apply: make errors more clear
32 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
34 Reviewed and committed by Maciej.
36 - fixed cvs-create-patch --include produces incorrect paths
37 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
39 * Scripts/cvs-create-patch: produce proper paths for new files.
41 2005-11-21 Eric Seidel <eseidel@apple.com>
45 Some simple fixes to the build/test scripts now that SVG uses the
46 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
49 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
50 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
51 * Scripts/run-webkit-tests: now runs SVG tests using DRT
52 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
53 * checkout: no longer symlink kdom
55 2005-11-10 Eric Seidel <eseidel@apple.com>
59 * Scripts/build-webkit: Pass through options to xcodebuild
61 2005-11-07 Darin Adler <darin@apple.com>
63 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
65 2005-11-03 John Sullivan <sullivan@apple.com>
70 changed message to say "Starting Safari" instead of odd "Start Safari"
71 * Scripts/run-webkit-tests:
72 changed the way we pass the file parameter to use -NSOpen rather than relying on
73 unlabeled arguments being treated as files. This was failing on some machines that
74 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
76 2005-10-27 Geoffrey Garen <ggaren@apple.com>
78 Patch by Alexey Proskuryakov.
82 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
83 TextInputController should support attributed strings
85 * DumpRenderTree/TextInputController.m:
86 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
87 (+[NSMutableAttributedString webScriptNameForSelector:]):
88 (-[NSMutableAttributedString getLength]):
89 (-[NSMutableAttributedString attributeNamesAtIndex:]):
90 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
91 (-[NSMutableAttributedString addAttribute:value:]):
92 (-[NSMutableAttributedString addAttribute:value:from:length:]):
93 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
94 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
95 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
96 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
97 (+[TextInputController isSelectorExcludedFromWebScript:]):
98 (+[TextInputController webScriptNameForSelector:]):
99 (-[TextInputController insertText:]):
100 (-[TextInputController attributedSubstringFrom:length:]):
101 (-[TextInputController attributedStringWithString:]):
103 2005-10-11 Eric Seidel <eseidel@apple.com>
107 Checks for leaks in ImageDiff too.
109 * Scripts/run-webkit-tests:
111 2005-10-09 Darin Adler <darin@apple.com>
113 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
114 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
115 * Scripts/cvs-unapply: Ditto.
116 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
118 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
120 Reviewed, rearranged and landed by Darin.
122 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
123 Need a way to automatically test for regressions in NSTextInput implementation
125 * DumpRenderTree/DumpRenderTree.m:
126 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
127 Create a text input controller and put it in a property of the window object.
129 * DumpRenderTree/TextInputController.h: Added.
130 * DumpRenderTree/TextInputController.m: Added.
131 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
133 2005-10-06 Darin Adler <darin@apple.com>
135 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
136 are controlled by cvs, or when changes cross multiple repositories.
137 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
139 2005-10-03 Eric Seidel <eseidel@apple.com>
143 Make mouseDown and mouseUp force layout before acting.
144 This is used by a new test case for 4233558.
146 * DumpRenderTree/DumpRenderTree.m:
147 (-[EventSendingController mouseDown]): force layout
148 (-[EventSendingController mouseUp]): force layout
150 2005-09-30 Eric Seidel <eseidel@apple.com>
154 Updated all the scripts for the move:
155 WebCore/layout-tests -> LayoutTests
157 * Scripts/check-dom-results:
158 * Scripts/prepare-ChangeLog:
159 * Scripts/run-webkit-tests:
160 * Scripts/update-webkit: added --no-tests
161 * checkout: added --no-tests
163 2005-09-28 Darin Adler <darin@apple.com>
165 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
166 pixel test should run even if render trees differ
168 * Scripts/run-webkit-tests: Don't check if the text dump matches.
170 2005-09-27 Eric Seidel <eseidel@apple.com>
172 No review needed, SVG build fix only.
174 * DumpKCanvasTree/DumpKCanvasTree.m:
175 Missed one in my previous checkin.
176 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
178 2005-09-26 Eric Seidel <eseidel@apple.com>
180 No review needed, SVG build fix only.
182 * DrawTest/DrawTestDocument.m:
183 * DrawTest/DrawTestToolbarController.m:
184 * DrawTest/DrawTestView.h:
185 * DrawTest/DrawTestView.m:
186 * DrawTest/SVGTest.m:
187 * DrawTest/TestController.m:
188 Updated for WebCore+SVG -> WebCore rename.
189 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
191 2005-09-26 Eric Seidel <eseidel@apple.com>
195 * DumpRenderTree/DumpRenderTree.m:
196 (dump): updated error message
197 * Scripts/check-dom-results: now includes xhtml
198 Tool updates for xhtml.
199 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
201 2005-09-22 Duncan Wilcox <duncan@mclink.it>
206 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
207 "Would like to simulate human interaction with webview"
209 * DumpRenderTree/DumpRenderTree.m:
210 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
211 (+[EventSendingController isSelectorExcludedFromWebScript:]):
212 (+[EventSendingController webScriptNameForSelector:]):
213 (-[EventSendingController init]):
214 (-[EventSendingController mouseDown]):
215 (-[EventSendingController mouseUp]):
216 (-[EventSendingController mouseMoveToX:Y:]):
217 Add eventSender javascript object, that sends fake mouse events to the webview.
219 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
220 link with Carbon.framework
222 2005-09-22 Eric Seidel <eseidel@apple.com>
226 Update tools for WebCore+SVG -> WebCore rename.
227 Also fold several SVG specific tools into their original
228 WebCore counterparts.
229 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
231 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
232 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
233 * Scripts/build-drawtest:
234 * Scripts/build-dumpkcanvastree:
235 * Scripts/build-webcore-svg: Removed.
236 * Scripts/build-webkit: added --svg option
237 * Scripts/run-drawtest:
238 * Scripts/run-webkit-tests:
239 * Scripts/webkitdirs.pm: various additions.
240 * checkout: added --svg option
241 * checkout-svg: Removed.
243 2005-09-19 Eric Seidel <eseidel@apple.com>
247 * Scripts/run-webkit-tests: added --guard-malloc option
248 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
250 2005-09-16 Justin Garcia <justin.garcia@apple.com>
254 Removed a script that is only used by apple internal developers
256 * Scripts/update-webkitsysteminterface: Removed.
258 2005-09-16 Adele Peterson <adele@apple.com>
262 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
264 2005-09-14 Darin Adler <darin@apple.com>
266 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
267 dumpAsText doesn't work with XHTML documents
269 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
270 rather than of the body element. This works with typical XHTML documents. We can probably
271 do something even better in the long run, but this fixes the immediate issue.
275 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
276 run-safari instead of just using "open", which often runs another copy of Safari instead.
278 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
280 Reviewed, tweaked, and landed by Darin.
282 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
283 .Mac prefpane crashes when Safari using CVS WebKit is running
285 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
286 * Scripts/run-webkit-app: Ditto.
288 2005-09-11 Darin Adler <darin@apple.com>
290 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
292 2005-09-11 Darin Adler <darin@apple.com>
296 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
297 two ways: 1) puts all files in a directory before any files in a subdirectory, and
298 2) sort file names with numeric digits in them in a logical way, so test-33 will come
301 2005-09-08 Justin Garcia <justin.garcia@apple.com>
305 * Scripts/update-webkitsysteminterface: Added.
306 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
308 2005-09-01 John Sullivan <sullivan@apple.com>
310 * Scripts/run-webkit-tests:
311 Excluded a known system leak to reduce noise; added comments about which leaks
314 2005-09-01 Tim Omernick <tomernick@apple.com>
316 Change made by Darin, reviewed by John and myself.
318 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
320 * Scripts/prepare-ChangeLog:
322 2005-08-31 Maciej Stachowiak <mjs@apple.com>
326 - set color variant and font settings to a consistent value.
327 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
329 * DumpRenderTree/DumpRenderTree.m:
332 2005-08-30 Eric Seidel <eseidel@apple.com>
336 * Scripts/build-svg2png: Removed.
337 * svg2png/ImageDiff.h: Removed.
338 * svg2png/ImageDiff.m: Removed.
339 * svg2png/svg2png.m: Removed.
340 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
341 * svg2png/svg2png_Prefix.pch: Removed.
342 svg2png is no longer needed.
344 2005-08-30 Darin Adler <darin@apple.com>
346 * Scripts/check-dom-results: Special case 100% to say something nice.
347 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
348 applying the patch (need a better name).
349 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
351 2005-08-30 Darin Adler <darin@apple.com>
353 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
355 2005-08-29 Maciej Stachowiak <mjs@apple.com>
359 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
360 (some pixel tests fail when AA settings are changed)
362 * DumpRenderTree/DumpRenderTree.m:
363 (main): set AA settings to the default values
365 2005-08-29 Darin Adler <darin@apple.com>
367 Reviewed by John Sullivan.
369 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
370 executable -- much slower but can help pinpoint leaks. Changed formatting of some
373 2005-08-28 Maciej Stachowiak <mjs@apple.com>
377 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
378 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
380 * DumpRenderTree/DumpRenderTree.m:
381 (main): set scrollbar arrow setting to a consistent value
383 2005-08-27 Jussi Hagman <juhagman@abo.fi>
385 Reviewed and landed by Darin.
387 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
388 output of update-webkit is too verbose
390 * Scripts/update-webkit:
391 Added option --quiet (-q) to decrease the amount of output.
393 2005-08-27 Darin Adler <darin@apple.com>
395 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
396 cvs-create-patch --include-unknowns should ignore hidden files
398 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
400 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
402 Reviewed, tweaked, and landed by Darin.
404 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
405 update-webkit doesn't notice when you have SVGSupport and update properly
407 * Scripts/update-webkit: Build SVGSupport directory if it's present.
409 2005-08-25 Anders Carlsson <andersca@mac.com>
411 Reviewed and landed by Darin.
413 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
414 layout test machinery can't handle tests with applets that have code attributes
416 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
418 2005-08-24 Darin Adler <darin@apple.com>
422 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
423 DumpRenderTree --pixel-tests crash
424 - landed some other small changes I had sitting in my tree
426 * DumpRenderTree/DumpRenderTree.m:
427 (main): Don't bother saving and restoring the preferences. Not sure
428 why this was ever done since the preferences are specific to DumpRenderTree.
429 Clear delegates before releasing the WebView, because you can't count on the
430 order of object deallocation.
431 (dumpRenderTree): Fix code that releases a string before storing it in a
434 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
435 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
437 2005-08-23 Eric Seidel <eseidel@apple.com>
441 * Scripts/run-webkit-tests:
442 Made --leaks option more readable by printing to a file.
443 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
445 2005-08-22 Eric Seidel <eseidel@apple.com>
446 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
450 * Scripts/run-webkit-tests: hides "expected actual diffs" links
451 when they are not needed (for pixel-only failures)
452 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
454 2005-08-22 Eric Seidel <eseidel@apple.com>
458 * Scripts/run-webkit-tests: Added the ability to display more than
459 just two images as part of the image-diff "slideshow".
460 Added display of "-w3c.png" baseline images for SVG.
461 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
464 2005-08-20 Eric Seidel <eseidel@apple.com>
466 * Scripts/run-webkit-tests:
467 "build" fix after committing incorrect version.
469 2005-08-20 Eric Seidel <eseidel@apple.com>
473 * DumpRenderTree/DumpRenderTree.m:
474 (main): cleans up delegates
475 (dumpRenderTree): closes CFString/CFURL leak
476 * Scripts/run-webkit-tests:
477 Adds --leaks option to run-webkit-tests
478 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
480 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
484 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
485 new files to be included in the patch even without "cvs add".
487 2005-08-19 Darin Adler <darin@apple.com>
489 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
490 non-cvs-generated patches. Anders has been creating these, so it's bad that
491 the script can't handle them.
492 * Scripts/cvs-unapply: Ditto.
494 2005-08-18 Darin Adler <darin@apple.com>
496 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
497 "." in them -- based on complaint by someone here at Apple.
499 2005-08-18 Eric Seidel <eseidel@apple.com>
503 * Scripts/run-webkit-tests:
504 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
506 2005-08-17 Maciej Stachowiak <mjs@apple.com>
508 - add file that I forgot in the last checkin
510 * DumpRenderTree/ImageDiff.m: Added.
514 (getDifferenceBitmap):
515 (computePercentageDifferent):
517 2005-08-17 Maciej Stachowiak <mjs@apple.com>
519 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
520 somewhat by me, and also tweaked by me a little bit.
522 - better support for pixel-dumping
523 - use checksums of the images so the tests are fast
524 - change output format to make the tests run faster
525 - don't dump pixel results for tests that dump as text
527 * DumpKCanvasTree/DumpKCanvasTree.m:
530 (md5HashStringForBitmap):
532 (constrainSizeToMaximum):
533 (getBitmapImageRepForSVGDocument):
534 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
535 * DumpRenderTree/DumpRenderTree.m:
539 (md5HashStringForBitmap):
540 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
541 * Scripts/run-webkit-tests:
543 2005-08-17 Maciej Stachowiak <mjs@apple.com>
547 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
549 * DumpRenderTree/DumpRenderTree.m:
552 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
554 Reviewed and landed by Darin.
556 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
557 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
559 * Scripts/run-safari: Pass arguments through to Safari on command line.
560 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
562 2005-08-11 Eric Seidel <eseidel@apple.com>
563 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
567 * DrawTest/TestController.m:
568 (-[TestController imagePathForSVGPath:]):
569 Fixed support for using TextViewer with the layout-tests.
570 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
572 2005-08-11 Maciej Stachowiak <mjs@apple.com>
574 At Least Roughly Glanced At by Anders.
576 - fix change with totally breaks the layout tests.
578 * DumpRenderTree/DumpRenderTree.m:
579 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
580 load, to avoid dumping twice accidentally.
582 2005-08-10 Eric Seidel <eseidel@apple.com>
583 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
587 * DumpRenderTree/DumpRenderTree.m:
588 Added support for rendering to a PNG file.
589 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
591 2005-08-07 Eric Seidel <eseidel@apple.com>
595 * Scripts/run-webkit-tests: added --svg option
596 * Scripts/run-webkit-tests-svg: Removed.
597 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
599 2005-08-07 Eric Seidel <eseidel@apple.com>
600 Changes by Ben La Monica <ben.lamonica@gmail.com>
604 * svg2png/ImageDiff.h: Added.
605 * svg2png/ImageDiff.m: Added.
606 (getDifferenceBitmap):
607 (computePercentageDifferent):
608 (saveAnimatedGIFToFile):
610 (usage): added several new options
611 (getBitmapForSVG): added NSBitmapImageRep generation
612 (main): various argument changes.
613 * svg2png/svg2png.xcodeproj/project.pbxproj:
614 Several additions to provide image differencing functionality.
615 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
617 2005-08-07 Eric Seidel <eseidel@apple.com>
621 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
622 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
623 Adding the first SVG layout tests:
624 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
626 2005-08-07 Darin Adler <darin@apple.com>
628 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
630 2005-08-06 Eric Seidel <eseidel@apple.com>
634 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
635 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
636 * Scripts/build-dumpkcanvastree: Added.
637 * Scripts/run-webkit-tests-svg: Added.
638 Adds a DumpRenderTree-like tool for SVG which allows us to do
639 text-based layout regression testing. This (like most of the
640 SVG specific stuff) is temporary and will be replaced by
641 DumpRenderTree once the DOMs and RenderTrees merge.
642 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
644 2005-08-06 Eric Seidel <eseidel@apple.com>
648 * DrawTest/DrawTestView.m:
649 (-[DrawTestView toggleFilterSupport:]): missing negation.
650 One half of fix for toggling filter support.
651 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
653 2005-08-04 Eric Seidel <eseidel@apple.com>
657 * Scripts/build-drawtest:
658 * Scripts/build-dumprendertree:
659 * Scripts/build-svg2png:
660 * Scripts/build-webcore-svg:
661 * Scripts/build-webkit:
662 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
663 Added checkRequiredSystemConfig and made all the build-* scripts
664 use it to print a pretty warning when trying to compile on an
665 unsupported system (less than 10.4, Xcode 2.1).
666 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
668 2005-08-04 Darin Adler <darin@apple.com>
670 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
671 the dead. It was removed by accident when someone was trying to work on the branch.
673 2005-07-31 Darin Adler <darin@apple.com>
675 - a little tools cleanup
677 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
678 project as a whole. Removed unused Default configuration.
680 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
682 2005-07-31 Duncan Wilcox <duncan@mclink.it>
684 Reviewed and landed by Darin Adler.
686 Add logging of editing delegate calls for regression checking.
688 * DumpRenderTree/DumpRenderTree.m:
690 setup editing delegate
692 (-[DOMNode dumpPath]):
694 utility for editing delegate logging
696 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
697 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
698 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
699 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
700 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
701 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
702 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
703 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
704 (-[EditingDelegate webViewDidBeginEditing:]):
705 (-[EditingDelegate webViewDidChange:]):
706 (-[EditingDelegate webViewDidEndEditing:]):
707 (-[EditingDelegate webViewDidChangeTypingStyle:]):
708 log corresponding editing delegate methods
710 (-[EditingDelegate webViewDidChangeSelection:]):
711 log selection except when clearing selection after end of test (uses existing "done" flag)
714 added clearing of selection after test
716 2005-07-31 Eric Seidel <eseidel@apple.com>
720 * Scripts/build-drawtest: Added.
721 * Scripts/build-svg2png: Added.
722 * Scripts/build-webcore-svg: Added.
723 * Scripts/run-drawtest: Added.
724 * Scripts/webkitdirs.pm: added checkSVGFrameworks
725 Made it much easier to build WebCore+SVG.
726 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
728 2005-07-29 Eric Seidel <eseidel@apple.com>
732 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
733 Build fix. Removed bad path.
735 2005-07-29 Eric Seidel <eseidel@apple.com>
737 Reviewed by sullivan.
739 * DrawTest/AppDelegate.h: Added.
740 * DrawTest/AppDelegate.m: Added.
741 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
742 * DrawTest/DrawTestDocument.h: Added.
743 * DrawTest/DrawTestDocument.m: Added.
744 * DrawTest/DrawTestInspectorController.h: Added.
745 * DrawTest/DrawTestInspectorController.m: Added.
746 * DrawTest/DrawTestToolbarController.h: Added.
747 * DrawTest/DrawTestToolbarController.m: Added.
748 * DrawTest/DrawTestView.h: Added.
749 * DrawTest/DrawTestView.m: Added.
750 * DrawTest/DrawTest_Prefix.pch: Added.
751 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
752 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
753 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
754 * DrawTest/English.lproj/InfoPlist.strings: Added.
755 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
756 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
757 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
758 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
759 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
760 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
761 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
762 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
763 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
764 * DrawTest/Info.plist: Added.
765 * DrawTest/SVGTest.h: Added.
766 * DrawTest/SVGTest.m: Added.
767 * DrawTest/ScalingImageView.h: Added.
768 * DrawTest/ScalingImageView.m: Added.
769 * DrawTest/TestController.h: Added.
770 * DrawTest/TestController.m: Added.
771 * DrawTest/TestViewerSplitView.h: Added.
772 * DrawTest/TestViewerSplitView.m: Added.
773 * DrawTest/main.m: Added.
774 Adding simple cocoa app for testing SVG rendering, interaction.
775 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
777 2005-07-28 Eric Seidel <eseidel@apple.com>
781 * svg2png/svg2png.m: Added.
782 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
783 * svg2png/svg2png_Prefix.pch: Added.
784 Added a simple test tool which dumps a PNG from an SVG using
785 WebCore+SVG's SVG rendering support.
786 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
788 2005-07-26 Maciej Stachowiak <mjs@apple.com>
792 - new script to review the DOM layout test results and see where we stand
793 on actual success and failure
795 * Scripts/check-dom-results: Added.
797 2005-07-25 Darin Adler <darin@apple.com>
799 * Scripts/webkitdirs.pm: Check in missing line of code.
801 2005-07-25 Darin Adler <darin@apple.com>
803 - fixed problem that was causing JavaScriptCore test to fail
804 (except for people who had set DYLD_FRAMEWORK_PATH)
806 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
807 Add code to parse configuration parameter so you can pass --deployment if you like.
808 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
810 * Scripts/update-javascriptcore-test-results: Add license header.
812 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
813 from @ARGV. This lets us use this option in commands that take other options and
814 pass them along to a subsequent tool.
816 2005-07-25 Darin Adler <darin@apple.com>
818 Reviewed by Geoff Garen.
820 - Fixed run-safari and gdb-safari to use the Safari application in the build results
821 directory, if any, falling back to the one in the Applications directory otherwise.
822 Does no harm for open source contributors who don't build Safari, and helps out the
823 Safari team, since we do build Safari.
825 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
826 variable, and if that's not present, looks in either the build results directory or
827 /Applications; factors code that was in both scripts before into a shared function.
828 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
829 now in Xcode 2.1 format and incompatible with older versions of Xcode.
831 * Scripts/gdb-safari: Use safariPath.
832 * Scripts/run-safari: Use safariPath.
834 2005-07-22 Geoffrey Garen <ggaren@apple.com>
836 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
837 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
839 Moved Tools/Scripts/update-mozilla-js-test-results to
840 WebKitTools/Scripts/update-javascriptcore-test-results.
844 * Scripts/run-javascriptcore-tests: Added.
846 2005-07-21 Geoffrey Garen <ggaren@apple.com>
850 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
852 2005-07-21 Geoffrey Garen <ggaren@apple.com>
854 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
856 2005-07-21 Geoffrey Garen <ggaren@apple.com>
858 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
860 2005-07-21 Geoffrey Garen <ggaren@apple.com>
862 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
864 2005-07-21 Geoffrey Garen <ggaren@apple.com>
866 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
868 2005-07-21 Geoffrey Garen <ggaren@apple.com>
870 * Scripts/build-webkit:
872 2005-07-12 Eric Seidel <eseidel@apple.com>
876 * checkout-svg: Fixed error with symlink creation.
878 2005-07-12 Eric Seidel <eseidel@apple.com>
882 * checkout-svg: Added.
883 Script to check out WebCore+SVG
885 2005-06-30 Darin Adler <darin@apple.com>
887 Changes based on input from Michael Kahl.
889 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
890 specify different style of "diff".
891 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
892 determineConfigurationProductDir works in all cases.
894 2005-06-29 Darin Adler <darin@apple.com>
896 - fixed bug which would result in multiple unwanted dumps in a single layout test
898 * DumpRenderTree/DumpRenderTree.m:
899 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
901 (-[LayoutTestController waitUntilDone]): Update for name change.
902 (-[LayoutTestController notifyDone]): Dump only if ready.
903 (dumpRenderTree): Set up new boolean and update for name change.
905 2005-06-29 Darin Adler <darin@apple.com>
907 Changes by Timothy Hatcher.
910 * Scripts/run-webkit-app: Added script to open an arbritrary application with
911 a CVS built WebKit. Example: ./run-webkit-app Colloquy
913 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
914 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
915 * Scripts/run-safari: Ditto.
917 2005-06-26 Darin Adler <darin@apple.com>
919 * Scripts/build-dumprendertree: Pass -project option so that having a second
920 copy of the project (like the one Xcode 2.1 offers to make for you) that's
921 out of date won't screw you up.
922 * Scripts/build-webkit: Ditto.
924 2005-06-23 Darin Adler <darin@apple.com>
926 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
928 2005-06-23 Darin Adler <darin@apple.com>
930 Changes based on input from Michael Kahl.
932 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
935 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
936 getcwd() in the code to find the base product dir. Added code to handle unusual
937 base product directory values that use SRCROOT.
939 2005-06-22 Darin Adler <darin@apple.com>
941 Change by Anders Carlsson.
943 - added support for dumping title changes
945 * DumpRenderTree/DumpRenderTree.m:
946 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
947 if requested by JavaScript.
948 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
949 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
950 (dumpRenderTree): Start flag as NO.
952 2005-06-20 Darin Adler <darin@apple.com>
954 Reviewed by Justin Garcia.
956 * Scripts/run-webkit-tests: Report number of tests when they succeed.
958 2005-06-18 Darin Adler <darin@apple.com>
960 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
961 in the hope of making the tool use less memory and run faster.
963 2005-06-18 Darin Adler <darin@apple.com>
965 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
966 * Scripts/cvs-unapply: Ditto.
968 2005-06-17 Maciej Stachowiak <mjs@apple.com>
970 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
971 benefit of all WebKit hackerdom
973 * Scripts/prepare-ChangeLog: Added.
975 2005-06-16 Darin Adler <darin@apple.com>
977 - recent changes to XcodeOptions made it depend on the current directory
978 The intent was to have the WebKitBuild directory be next to WebKitTools,
979 not inside the various build directories. Workaround for now is to call
980 XcodeOptions when the directory is set to the WebKit directory.
982 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
983 at the start of the script.
984 * Scripts/build-webkit: Ditto.
986 2005-06-15 Darin Adler <darin@apple.com>
988 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
990 2005-06-14 Darin Adler <darin@apple.com>
992 Changes by Anders Carlsson.
995 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
996 Add gdb-safari script to launch Safari under gdb
998 * Scripts/gdb-safari: Added.
1000 2005-06-12 Darin Adler <darin@apple.com>
1002 Changes by Stuart Morgan.
1005 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
1006 * Scripts/cvs-apply: Ditto.
1007 * Scripts/cvs-create-patch: Ditto.
1008 * Scripts/cvs-unapply: Ditto.
1009 * Scripts/run-webkit-tests: Ditto.
1010 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
1012 2005-06-12 Darin Adler <darin@apple.com>
1014 * Scripts/cvs-apply: Handle case of an empty patch better.
1015 * Scripts/cvs-unapply: Ditto.
1017 2005-06-12 Darin Adler <darin@apple.com>
1019 Changes by Michael Gaiman.
1022 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
1023 WebKit no longer builds after configuration supporting build changes
1025 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
1027 2005-06-12 Darin Adler <darin@apple.com>
1029 * Scripts/update-webkit: Make this script work when called from any directory.
1031 2005-06-12 Darin Adler <darin@apple.com>
1034 Includes changes by Stuart Morgan as well as my own.
1036 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
1037 symrootXcodeOptions to set the -buildstyle option.
1038 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
1039 The new --development option does the same thing.
1040 * Scripts/run-safari: Ditto.
1041 * Scripts/run-webkit-tests: Ditto.
1042 * Scripts/update-webkit: Ditto.
1043 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
1045 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
1046 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
1047 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
1048 product directory. Read the default configuration from a file, overridable by a passed-in command-line
1051 2005-06-11 Darin Adler <darin@apple.com>
1053 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
1054 to execute the cvs diff commands.
1056 2005-06-11 Darin Adler <darin@apple.com>
1058 - added first cuts at some cvs scripts
1060 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
1061 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
1062 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
1063 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
1065 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
1067 * Scripts/cvs-abandon: Added.
1068 * Scripts/cvs-apply: Added.
1069 * Scripts/cvs-create-patch: Added.
1070 * Scripts/cvs-unapply: Added.
1072 2005-06-09 Darin Adler <darin@apple.com>
1076 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
1077 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
1079 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
1080 for Foundation.framework. How was it ever wrong?
1082 - finally, I tested making the default build directory work; it works now
1084 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
1085 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
1086 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
1087 * Scripts/build-dumprendertree: Ditto.
1089 2005-06-09 Darin Adler <darin@apple.com>
1091 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
1092 work. Someone should try building without setting the Xcode build product directory now,
1093 and let me know if it works.
1095 2005-06-08 Darin Adler <darin@apple.com>
1097 - quick fix to try to get build scripts working again
1099 * Scripts/build-dumprendertree: Add FindBin.
1100 * Scripts/build-webkit: Ditto.
1101 * Scripts/run-safari: Ditto.
1102 * Scripts/run-webkit-tests: Ditto.
1103 * Scripts/update-webkit: Ditto.
1105 2005-06-08 Darin Adler <darin@apple.com>
1109 - some build script enhancements
1111 * Scripts/build-dumprendertree: Changed to use webkitdirs.
1112 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
1114 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
1115 before Deplyment in that case.
1116 * Scripts/run-webkit-tests: Changed to use webkitdirs.
1117 * Scripts/update-webkit: Changed to use webkitdirs.
1119 * Scripts/webkitdirs.pm: Added.
1121 2005-06-08 Maciej Stachowiak <mjs@apple.com>
1123 Code change by Toby Peterson <toby@opendarwin.org>
1126 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
1127 get confused because build-webkit now makes even 2.0 build directories look
1130 2005-06-07 Darin Adler <darin@apple.com>
1132 Reviewed by Adele Peterson.
1134 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
1135 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
1136 so we can run tests with Xcode 2.1.
1138 2005-06-07 Darin Adler <darin@apple.com>
1140 Reviewed by Adele Peterson.
1142 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
1143 layout-tests directory to include additional sets of tests.
1145 2005-06-07 Darin Adler <darin@apple.com>
1147 * checkout: Added license.
1148 * Scripts/build-dumprendertree: Ditto.
1149 * Scripts/run-webkit-tests: Ditto.
1150 * Scripts/update-webkit: Ditto.
1152 2005-06-07 Darin Adler <darin@apple.com>
1154 Change by Toby Peterson <toby@opendarwin.org>.
1157 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
1158 * Scripts/run-safari: Ditto.
1160 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1162 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
1164 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1166 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
1168 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1170 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
1172 2005-06-05 Darin Adler <darin@apple.com>
1174 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
1175 * Scripts/build-dumprendertree: Added.
1176 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
1177 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
1179 2005-06-05 Darin Adler <darin@apple.com>
1181 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
1183 2005-06-05 Darin Adler <darin@apple.com>
1185 - add run-webkit-tests script; not working yet but the pieces are there
1187 * Scripts/run-webkit-tests: Added.
1189 * DumpRenderTree/DumpRenderTree.m: Added.
1190 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
1191 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
1192 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
1194 2005-06-05 Darin Adler <darin@apple.com>
1196 - created module, first cut at Web Kit Open Source Project scripts
1199 * Scripts/build-webkit: Added.
1200 * Scripts/run-safari: Added.
1201 * Scripts/update-webkit: Added.
1204 === creation of WebKitTools module ===