1 2005-09-28 Darin Adler <darin@apple.com>
3 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
4 pixel test should run even if render trees differ
6 * Scripts/run-webkit-tests: Don't check if the text dump matches.
8 2005-09-27 Eric Seidel <eseidel@apple.com>
10 No review needed, SVG build fix only.
12 * DumpKCanvasTree/DumpKCanvasTree.m:
13 Missed one in my previous checkin.
14 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
16 2005-09-26 Eric Seidel <eseidel@apple.com>
18 No review needed, SVG build fix only.
20 * DrawTest/DrawTestDocument.m:
21 * DrawTest/DrawTestToolbarController.m:
22 * DrawTest/DrawTestView.h:
23 * DrawTest/DrawTestView.m:
25 * DrawTest/TestController.m:
26 Updated for WebCore+SVG -> WebCore rename.
27 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
29 2005-09-26 Eric Seidel <eseidel@apple.com>
33 * DumpRenderTree/DumpRenderTree.m:
34 (dump): updated error message
35 * Scripts/check-dom-results: now includes xhtml
36 Tool updates for xhtml.
37 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
39 2005-09-22 Duncan Wilcox <duncan@mclink.it>
44 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
45 "Would like to simulate human interaction with webview"
47 * DumpRenderTree/DumpRenderTree.m:
48 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
49 (+[EventSendingController isSelectorExcludedFromWebScript:]):
50 (+[EventSendingController webScriptNameForSelector:]):
51 (-[EventSendingController init]):
52 (-[EventSendingController mouseDown]):
53 (-[EventSendingController mouseUp]):
54 (-[EventSendingController mouseMoveToX:Y:]):
55 Add eventSender javascript object, that sends fake mouse events to the webview.
57 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
58 link with Carbon.framework
60 2005-09-22 Eric Seidel <eseidel@apple.com>
64 Update tools for WebCore+SVG -> WebCore rename.
65 Also fold several SVG specific tools into their original
67 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
69 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
70 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
71 * Scripts/build-drawtest:
72 * Scripts/build-dumpkcanvastree:
73 * Scripts/build-webcore-svg: Removed.
74 * Scripts/build-webkit: added --svg option
75 * Scripts/run-drawtest:
76 * Scripts/run-webkit-tests:
77 * Scripts/webkitdirs.pm: various additions.
78 * checkout: added --svg option
79 * checkout-svg: Removed.
81 2005-09-19 Eric Seidel <eseidel@apple.com>
85 * Scripts/run-webkit-tests: added --guard-malloc option
86 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
88 2005-09-16 Justin Garcia <justin.garcia@apple.com>
92 Removed a script that is only used by apple internal developers
94 * Scripts/update-webkitsysteminterface: Removed.
96 2005-09-16 Adele Peterson <adele@apple.com>
100 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
102 2005-09-14 Darin Adler <darin@apple.com>
104 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
105 dumpAsText doesn't work with XHTML documents
107 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
108 rather than of the body element. This works with typical XHTML documents. We can probably
109 do something even better in the long run, but this fixes the immediate issue.
113 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
114 run-safari instead of just using "open", which often runs another copy of Safari instead.
116 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
118 Reviewed, tweaked, and landed by Darin.
120 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
121 .Mac prefpane crashes when Safari using CVS WebKit is running
123 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
124 * Scripts/run-webkit-app: Ditto.
126 2005-09-11 Darin Adler <darin@apple.com>
128 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
130 2005-09-11 Darin Adler <darin@apple.com>
134 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
135 two ways: 1) puts all files in a directory before any files in a subdirectory, and
136 2) sort file names with numeric digits in them in a logical way, so test-33 will come
139 2005-09-08 Justin Garcia <justin.garcia@apple.com>
143 * Scripts/update-webkitsysteminterface: Added.
144 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
146 2005-09-01 John Sullivan <sullivan@apple.com>
148 * Scripts/run-webkit-tests:
149 Excluded a known system leak to reduce noise; added comments about which leaks
152 2005-09-01 Tim Omernick <tomernick@apple.com>
154 Change made by Darin, reviewed by John and myself.
156 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
158 * Scripts/prepare-ChangeLog:
160 2005-08-31 Maciej Stachowiak <mjs@apple.com>
164 - set color variant and font settings to a consistent value.
165 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
167 * DumpRenderTree/DumpRenderTree.m:
170 2005-08-30 Eric Seidel <eseidel@apple.com>
174 * Scripts/build-svg2png: Removed.
175 * svg2png/ImageDiff.h: Removed.
176 * svg2png/ImageDiff.m: Removed.
177 * svg2png/svg2png.m: Removed.
178 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
179 * svg2png/svg2png_Prefix.pch: Removed.
180 svg2png is no longer needed.
182 2005-08-30 Darin Adler <darin@apple.com>
184 * Scripts/check-dom-results: Special case 100% to say something nice.
185 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
186 applying the patch (need a better name).
187 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
189 2005-08-30 Darin Adler <darin@apple.com>
191 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
193 2005-08-29 Maciej Stachowiak <mjs@apple.com>
197 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
198 (some pixel tests fail when AA settings are changed)
200 * DumpRenderTree/DumpRenderTree.m:
201 (main): set AA settings to the default values
203 2005-08-29 Darin Adler <darin@apple.com>
205 Reviewed by John Sullivan.
207 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
208 executable -- much slower but can help pinpoint leaks. Changed formatting of some
211 2005-08-28 Maciej Stachowiak <mjs@apple.com>
215 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
216 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
218 * DumpRenderTree/DumpRenderTree.m:
219 (main): set scrollbar arrow setting to a consistent value
221 2005-08-27 Jussi Hagman <juhagman@abo.fi>
223 Reviewed and landed by Darin.
225 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
226 output of update-webkit is too verbose
228 * Scripts/update-webkit:
229 Added option --quiet (-q) to decrease the amount of output.
231 2005-08-27 Darin Adler <darin@apple.com>
233 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
234 cvs-create-patch --include-unknowns should ignore hidden files
236 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
238 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
240 Reviewed, tweaked, and landed by Darin.
242 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
243 update-webkit doesn't notice when you have SVGSupport and update properly
245 * Scripts/update-webkit: Build SVGSupport directory if it's present.
247 2005-08-25 Anders Carlsson <andersca@mac.com>
249 Reviewed and landed by Darin.
251 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
252 layout test machinery can't handle tests with applets that have code attributes
254 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
256 2005-08-24 Darin Adler <darin@apple.com>
260 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
261 DumpRenderTree --pixel-tests crash
262 - landed some other small changes I had sitting in my tree
264 * DumpRenderTree/DumpRenderTree.m:
265 (main): Don't bother saving and restoring the preferences. Not sure
266 why this was ever done since the preferences are specific to DumpRenderTree.
267 Clear delegates before releasing the WebView, because you can't count on the
268 order of object deallocation.
269 (dumpRenderTree): Fix code that releases a string before storing it in a
272 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
273 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
275 2005-08-23 Eric Seidel <eseidel@apple.com>
279 * Scripts/run-webkit-tests:
280 Made --leaks option more readable by printing to a file.
281 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
283 2005-08-22 Eric Seidel <eseidel@apple.com>
284 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
288 * Scripts/run-webkit-tests: hides "expected actual diffs" links
289 when they are not needed (for pixel-only failures)
290 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
292 2005-08-22 Eric Seidel <eseidel@apple.com>
296 * Scripts/run-webkit-tests: Added the ability to display more than
297 just two images as part of the image-diff "slideshow".
298 Added display of "-w3c.png" baseline images for SVG.
299 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
302 2005-08-20 Eric Seidel <eseidel@apple.com>
304 * Scripts/run-webkit-tests:
305 "build" fix after committing incorrect version.
307 2005-08-20 Eric Seidel <eseidel@apple.com>
311 * DumpRenderTree/DumpRenderTree.m:
312 (main): cleans up delegates
313 (dumpRenderTree): closes CFString/CFURL leak
314 * Scripts/run-webkit-tests:
315 Adds --leaks option to run-webkit-tests
316 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
318 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
322 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
323 new files to be included in the patch even without "cvs add".
325 2005-08-19 Darin Adler <darin@apple.com>
327 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
328 non-cvs-generated patches. Anders has been creating these, so it's bad that
329 the script can't handle them.
330 * Scripts/cvs-unapply: Ditto.
332 2005-08-18 Darin Adler <darin@apple.com>
334 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
335 "." in them -- based on complaint by someone here at Apple.
337 2005-08-18 Eric Seidel <eseidel@apple.com>
341 * Scripts/run-webkit-tests:
342 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
344 2005-08-17 Maciej Stachowiak <mjs@apple.com>
346 - add file that I forgot in the last checkin
348 * DumpRenderTree/ImageDiff.m: Added.
352 (getDifferenceBitmap):
353 (computePercentageDifferent):
355 2005-08-17 Maciej Stachowiak <mjs@apple.com>
357 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
358 somewhat by me, and also tweaked by me a little bit.
360 - better support for pixel-dumping
361 - use checksums of the images so the tests are fast
362 - change output format to make the tests run faster
363 - don't dump pixel results for tests that dump as text
365 * DumpKCanvasTree/DumpKCanvasTree.m:
368 (md5HashStringForBitmap):
370 (constrainSizeToMaximum):
371 (getBitmapImageRepForSVGDocument):
372 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
373 * DumpRenderTree/DumpRenderTree.m:
377 (md5HashStringForBitmap):
378 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
379 * Scripts/run-webkit-tests:
381 2005-08-17 Maciej Stachowiak <mjs@apple.com>
385 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
387 * DumpRenderTree/DumpRenderTree.m:
390 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
392 Reviewed and landed by Darin.
394 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
395 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
397 * Scripts/run-safari: Pass arguments through to Safari on command line.
398 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
400 2005-08-11 Eric Seidel <eseidel@apple.com>
401 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
405 * DrawTest/TestController.m:
406 (-[TestController imagePathForSVGPath:]):
407 Fixed support for using TextViewer with the layout-tests.
408 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
410 2005-08-11 Maciej Stachowiak <mjs@apple.com>
412 At Least Roughly Glanced At by Anders.
414 - fix change with totally breaks the layout tests.
416 * DumpRenderTree/DumpRenderTree.m:
417 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
418 load, to avoid dumping twice accidentally.
420 2005-08-10 Eric Seidel <eseidel@apple.com>
421 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
425 * DumpRenderTree/DumpRenderTree.m:
426 Added support for rendering to a PNG file.
427 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
429 2005-08-07 Eric Seidel <eseidel@apple.com>
433 * Scripts/run-webkit-tests: added --svg option
434 * Scripts/run-webkit-tests-svg: Removed.
435 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
437 2005-08-07 Eric Seidel <eseidel@apple.com>
438 Changes by Ben La Monica <ben.lamonica@gmail.com>
442 * svg2png/ImageDiff.h: Added.
443 * svg2png/ImageDiff.m: Added.
444 (getDifferenceBitmap):
445 (computePercentageDifferent):
446 (saveAnimatedGIFToFile):
448 (usage): added several new options
449 (getBitmapForSVG): added NSBitmapImageRep generation
450 (main): various argument changes.
451 * svg2png/svg2png.xcodeproj/project.pbxproj:
452 Several additions to provide image differencing functionality.
453 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
455 2005-08-07 Eric Seidel <eseidel@apple.com>
459 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
460 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
461 Adding the first SVG layout tests:
462 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
464 2005-08-07 Darin Adler <darin@apple.com>
466 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
468 2005-08-06 Eric Seidel <eseidel@apple.com>
472 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
473 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
474 * Scripts/build-dumpkcanvastree: Added.
475 * Scripts/run-webkit-tests-svg: Added.
476 Adds a DumpRenderTree-like tool for SVG which allows us to do
477 text-based layout regression testing. This (like most of the
478 SVG specific stuff) is temporary and will be replaced by
479 DumpRenderTree once the DOMs and RenderTrees merge.
480 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
482 2005-08-06 Eric Seidel <eseidel@apple.com>
486 * DrawTest/DrawTestView.m:
487 (-[DrawTestView toggleFilterSupport:]): missing negation.
488 One half of fix for toggling filter support.
489 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
491 2005-08-04 Eric Seidel <eseidel@apple.com>
495 * Scripts/build-drawtest:
496 * Scripts/build-dumprendertree:
497 * Scripts/build-svg2png:
498 * Scripts/build-webcore-svg:
499 * Scripts/build-webkit:
500 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
501 Added checkRequiredSystemConfig and made all the build-* scripts
502 use it to print a pretty warning when trying to compile on an
503 unsupported system (less than 10.4, Xcode 2.1).
504 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
506 2005-08-04 Darin Adler <darin@apple.com>
508 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
509 the dead. It was removed by accident when someone was trying to work on the branch.
511 2005-07-31 Darin Adler <darin@apple.com>
513 - a little tools cleanup
515 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
516 project as a whole. Removed unused Default configuration.
518 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
520 2005-07-31 Duncan Wilcox <duncan@mclink.it>
522 Reviewed and landed by Darin Adler.
524 Add logging of editing delegate calls for regression checking.
526 * DumpRenderTree/DumpRenderTree.m:
528 setup editing delegate
530 (-[DOMNode dumpPath]):
532 utility for editing delegate logging
534 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
535 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
536 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
537 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
538 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
539 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
540 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
541 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
542 (-[EditingDelegate webViewDidBeginEditing:]):
543 (-[EditingDelegate webViewDidChange:]):
544 (-[EditingDelegate webViewDidEndEditing:]):
545 (-[EditingDelegate webViewDidChangeTypingStyle:]):
546 log corresponding editing delegate methods
548 (-[EditingDelegate webViewDidChangeSelection:]):
549 log selection except when clearing selection after end of test (uses existing "done" flag)
552 added clearing of selection after test
554 2005-07-31 Eric Seidel <eseidel@apple.com>
558 * Scripts/build-drawtest: Added.
559 * Scripts/build-svg2png: Added.
560 * Scripts/build-webcore-svg: Added.
561 * Scripts/run-drawtest: Added.
562 * Scripts/webkitdirs.pm: added checkSVGFrameworks
563 Made it much easier to build WebCore+SVG.
564 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
566 2005-07-29 Eric Seidel <eseidel@apple.com>
570 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
571 Build fix. Removed bad path.
573 2005-07-29 Eric Seidel <eseidel@apple.com>
575 Reviewed by sullivan.
577 * DrawTest/AppDelegate.h: Added.
578 * DrawTest/AppDelegate.m: Added.
579 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
580 * DrawTest/DrawTestDocument.h: Added.
581 * DrawTest/DrawTestDocument.m: Added.
582 * DrawTest/DrawTestInspectorController.h: Added.
583 * DrawTest/DrawTestInspectorController.m: Added.
584 * DrawTest/DrawTestToolbarController.h: Added.
585 * DrawTest/DrawTestToolbarController.m: Added.
586 * DrawTest/DrawTestView.h: Added.
587 * DrawTest/DrawTestView.m: Added.
588 * DrawTest/DrawTest_Prefix.pch: Added.
589 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
590 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
591 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
592 * DrawTest/English.lproj/InfoPlist.strings: Added.
593 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
594 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
595 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
596 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
597 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
598 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
599 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
600 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
601 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
602 * DrawTest/Info.plist: Added.
603 * DrawTest/SVGTest.h: Added.
604 * DrawTest/SVGTest.m: Added.
605 * DrawTest/ScalingImageView.h: Added.
606 * DrawTest/ScalingImageView.m: Added.
607 * DrawTest/TestController.h: Added.
608 * DrawTest/TestController.m: Added.
609 * DrawTest/TestViewerSplitView.h: Added.
610 * DrawTest/TestViewerSplitView.m: Added.
611 * DrawTest/main.m: Added.
612 Adding simple cocoa app for testing SVG rendering, interaction.
613 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
615 2005-07-28 Eric Seidel <eseidel@apple.com>
619 * svg2png/svg2png.m: Added.
620 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
621 * svg2png/svg2png_Prefix.pch: Added.
622 Added a simple test tool which dumps a PNG from an SVG using
623 WebCore+SVG's SVG rendering support.
624 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
626 2005-07-26 Maciej Stachowiak <mjs@apple.com>
630 - new script to review the DOM layout test results and see where we stand
631 on actual success and failure
633 * Scripts/check-dom-results: Added.
635 2005-07-25 Darin Adler <darin@apple.com>
637 * Scripts/webkitdirs.pm: Check in missing line of code.
639 2005-07-25 Darin Adler <darin@apple.com>
641 - fixed problem that was causing JavaScriptCore test to fail
642 (except for people who had set DYLD_FRAMEWORK_PATH)
644 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
645 Add code to parse configuration parameter so you can pass --deployment if you like.
646 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
648 * Scripts/update-javascriptcore-test-results: Add license header.
650 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
651 from @ARGV. This lets us use this option in commands that take other options and
652 pass them along to a subsequent tool.
654 2005-07-25 Darin Adler <darin@apple.com>
656 Reviewed by Geoff Garen.
658 - Fixed run-safari and gdb-safari to use the Safari application in the build results
659 directory, if any, falling back to the one in the Applications directory otherwise.
660 Does no harm for open source contributors who don't build Safari, and helps out the
661 Safari team, since we do build Safari.
663 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
664 variable, and if that's not present, looks in either the build results directory or
665 /Applications; factors code that was in both scripts before into a shared function.
666 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
667 now in Xcode 2.1 format and incompatible with older versions of Xcode.
669 * Scripts/gdb-safari: Use safariPath.
670 * Scripts/run-safari: Use safariPath.
672 2005-07-22 Geoffrey Garen <ggaren@apple.com>
674 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
675 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
677 Moved Tools/Scripts/update-mozilla-js-test-results to
678 WebKitTools/Scripts/update-javascriptcore-test-results.
682 * Scripts/run-javascriptcore-tests: Added.
684 2005-07-21 Geoffrey Garen <ggaren@apple.com>
688 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
690 2005-07-21 Geoffrey Garen <ggaren@apple.com>
692 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
694 2005-07-21 Geoffrey Garen <ggaren@apple.com>
696 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
698 2005-07-21 Geoffrey Garen <ggaren@apple.com>
700 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
702 2005-07-21 Geoffrey Garen <ggaren@apple.com>
704 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
706 2005-07-21 Geoffrey Garen <ggaren@apple.com>
708 * Scripts/build-webkit:
710 2005-07-12 Eric Seidel <eseidel@apple.com>
714 * checkout-svg: Fixed error with symlink creation.
716 2005-07-12 Eric Seidel <eseidel@apple.com>
720 * checkout-svg: Added.
721 Script to check out WebCore+SVG
723 2005-06-30 Darin Adler <darin@apple.com>
725 Changes based on input from Michael Kahl.
727 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
728 specify different style of "diff".
729 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
730 determineConfigurationProductDir works in all cases.
732 2005-06-29 Darin Adler <darin@apple.com>
734 - fixed bug which would result in multiple unwanted dumps in a single layout test
736 * DumpRenderTree/DumpRenderTree.m:
737 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
739 (-[LayoutTestController waitUntilDone]): Update for name change.
740 (-[LayoutTestController notifyDone]): Dump only if ready.
741 (dumpRenderTree): Set up new boolean and update for name change.
743 2005-06-29 Darin Adler <darin@apple.com>
745 Changes by Timothy Hatcher.
748 * Scripts/run-webkit-app: Added script to open an arbritrary application with
749 a CVS built WebKit. Example: ./run-webkit-app Colloquy
751 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
752 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
753 * Scripts/run-safari: Ditto.
755 2005-06-26 Darin Adler <darin@apple.com>
757 * Scripts/build-dumprendertree: Pass -project option so that having a second
758 copy of the project (like the one Xcode 2.1 offers to make for you) that's
759 out of date won't screw you up.
760 * Scripts/build-webkit: Ditto.
762 2005-06-23 Darin Adler <darin@apple.com>
764 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
766 2005-06-23 Darin Adler <darin@apple.com>
768 Changes based on input from Michael Kahl.
770 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
773 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
774 getcwd() in the code to find the base product dir. Added code to handle unusual
775 base product directory values that use SRCROOT.
777 2005-06-22 Darin Adler <darin@apple.com>
779 Change by Anders Carlsson.
781 - added support for dumping title changes
783 * DumpRenderTree/DumpRenderTree.m:
784 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
785 if requested by JavaScript.
786 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
787 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
788 (dumpRenderTree): Start flag as NO.
790 2005-06-20 Darin Adler <darin@apple.com>
792 Reviewed by Justin Garcia.
794 * Scripts/run-webkit-tests: Report number of tests when they succeed.
796 2005-06-18 Darin Adler <darin@apple.com>
798 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
799 in the hope of making the tool use less memory and run faster.
801 2005-06-18 Darin Adler <darin@apple.com>
803 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
804 * Scripts/cvs-unapply: Ditto.
806 2005-06-17 Maciej Stachowiak <mjs@apple.com>
808 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
809 benefit of all WebKit hackerdom
811 * Scripts/prepare-ChangeLog: Added.
813 2005-06-16 Darin Adler <darin@apple.com>
815 - recent changes to XcodeOptions made it depend on the current directory
816 The intent was to have the WebKitBuild directory be next to WebKitTools,
817 not inside the various build directories. Workaround for now is to call
818 XcodeOptions when the directory is set to the WebKit directory.
820 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
821 at the start of the script.
822 * Scripts/build-webkit: Ditto.
824 2005-06-15 Darin Adler <darin@apple.com>
826 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
828 2005-06-14 Darin Adler <darin@apple.com>
830 Changes by Anders Carlsson.
833 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
834 Add gdb-safari script to launch Safari under gdb
836 * Scripts/gdb-safari: Added.
838 2005-06-12 Darin Adler <darin@apple.com>
840 Changes by Stuart Morgan.
843 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
844 * Scripts/cvs-apply: Ditto.
845 * Scripts/cvs-create-patch: Ditto.
846 * Scripts/cvs-unapply: Ditto.
847 * Scripts/run-webkit-tests: Ditto.
848 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
850 2005-06-12 Darin Adler <darin@apple.com>
852 * Scripts/cvs-apply: Handle case of an empty patch better.
853 * Scripts/cvs-unapply: Ditto.
855 2005-06-12 Darin Adler <darin@apple.com>
857 Changes by Michael Gaiman.
860 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
861 WebKit no longer builds after configuration supporting build changes
863 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
865 2005-06-12 Darin Adler <darin@apple.com>
867 * Scripts/update-webkit: Make this script work when called from any directory.
869 2005-06-12 Darin Adler <darin@apple.com>
872 Includes changes by Stuart Morgan as well as my own.
874 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
875 symrootXcodeOptions to set the -buildstyle option.
876 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
877 The new --development option does the same thing.
878 * Scripts/run-safari: Ditto.
879 * Scripts/run-webkit-tests: Ditto.
880 * Scripts/update-webkit: Ditto.
881 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
883 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
884 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
885 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
886 product directory. Read the default configuration from a file, overridable by a passed-in command-line
889 2005-06-11 Darin Adler <darin@apple.com>
891 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
892 to execute the cvs diff commands.
894 2005-06-11 Darin Adler <darin@apple.com>
896 - added first cuts at some cvs scripts
898 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
899 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
900 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
901 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
903 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
905 * Scripts/cvs-abandon: Added.
906 * Scripts/cvs-apply: Added.
907 * Scripts/cvs-create-patch: Added.
908 * Scripts/cvs-unapply: Added.
910 2005-06-09 Darin Adler <darin@apple.com>
914 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
915 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
917 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
918 for Foundation.framework. How was it ever wrong?
920 - finally, I tested making the default build directory work; it works now
922 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
923 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
924 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
925 * Scripts/build-dumprendertree: Ditto.
927 2005-06-09 Darin Adler <darin@apple.com>
929 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
930 work. Someone should try building without setting the Xcode build product directory now,
931 and let me know if it works.
933 2005-06-08 Darin Adler <darin@apple.com>
935 - quick fix to try to get build scripts working again
937 * Scripts/build-dumprendertree: Add FindBin.
938 * Scripts/build-webkit: Ditto.
939 * Scripts/run-safari: Ditto.
940 * Scripts/run-webkit-tests: Ditto.
941 * Scripts/update-webkit: Ditto.
943 2005-06-08 Darin Adler <darin@apple.com>
947 - some build script enhancements
949 * Scripts/build-dumprendertree: Changed to use webkitdirs.
950 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
952 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
953 before Deplyment in that case.
954 * Scripts/run-webkit-tests: Changed to use webkitdirs.
955 * Scripts/update-webkit: Changed to use webkitdirs.
957 * Scripts/webkitdirs.pm: Added.
959 2005-06-08 Maciej Stachowiak <mjs@apple.com>
961 Code change by Toby Peterson <toby@opendarwin.org>
964 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
965 get confused because build-webkit now makes even 2.0 build directories look
968 2005-06-07 Darin Adler <darin@apple.com>
970 Reviewed by Adele Peterson.
972 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
973 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
974 so we can run tests with Xcode 2.1.
976 2005-06-07 Darin Adler <darin@apple.com>
978 Reviewed by Adele Peterson.
980 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
981 layout-tests directory to include additional sets of tests.
983 2005-06-07 Darin Adler <darin@apple.com>
985 * checkout: Added license.
986 * Scripts/build-dumprendertree: Ditto.
987 * Scripts/run-webkit-tests: Ditto.
988 * Scripts/update-webkit: Ditto.
990 2005-06-07 Darin Adler <darin@apple.com>
992 Change by Toby Peterson <toby@opendarwin.org>.
995 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
996 * Scripts/run-safari: Ditto.
998 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1000 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
1002 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1004 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
1006 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1008 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
1010 2005-06-05 Darin Adler <darin@apple.com>
1012 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
1013 * Scripts/build-dumprendertree: Added.
1014 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
1015 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
1017 2005-06-05 Darin Adler <darin@apple.com>
1019 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
1021 2005-06-05 Darin Adler <darin@apple.com>
1023 - add run-webkit-tests script; not working yet but the pieces are there
1025 * Scripts/run-webkit-tests: Added.
1027 * DumpRenderTree/DumpRenderTree.m: Added.
1028 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
1029 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
1030 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
1032 2005-06-05 Darin Adler <darin@apple.com>
1034 - created module, first cut at Web Kit Open Source Project scripts
1037 * Scripts/build-webkit: Added.
1038 * Scripts/run-safari: Added.
1039 * Scripts/update-webkit: Added.
1042 === creation of WebKitTools module ===